1 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3 * text.C (cursorPar): deactivate the cursor cache
5 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
7 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
9 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
11 * text3.C (dispatch): adjust for new DisptchResult semantics.
13 * lyxfunc.C (dispatch): handle update when return from
14 Cursor::dispatch, adjust for new DispatchResult semantics.
16 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
17 DispatchResult(true) mean to not update. Add class functions for
18 setting dispatched and update, as well as reading.
20 * cursor.C (dispatch): don't handle update here
22 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
24 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
27 * paragraph_funcs.C (readParToken): exception safety
29 * lyxvc.h: store the vcs pointer in a scoped_ptr
32 * lyxsocket.C (serverCallback): exception safety
34 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
36 * ispell.C (clone): make it return a auto_ptr
38 * factory.C (createInset): exception safety
39 (readInset): exception safety
41 * bufferlist.C (newBuffer): exception safety
43 * Thesaurus.C (Thesaurus): use initialization for aik_
45 * MenuBackend.C (expandToc): exception safety.
47 2003-11-03 André Pönitz <poenitz@gmx.net>
51 * bufferview_funcs.C: remove getInsetFromId()
54 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
60 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
62 * PosIterator.C (distance, advance): new
63 * bufferview_funcs.[Ch] (put_selection_at): new
64 * iterators.[Ch] (lockPath): new
66 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
68 * iterators.[Ch] (asPosIterator): added
69 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
70 * PosIterator.[Ch]: added
72 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
76 * cursor.C (dispatch):
77 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
79 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
80 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
81 contructor, add a class function dispatched. Remove operator>=
83 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
85 * debug.C: only use the default constructor for debugstream
88 * main.C (main): include debug.h and setup the lyxerr streambuf
91 2003-10-31 José Matos <jamatos@lyx.org>
93 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
95 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
96 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
97 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
98 * paragraph_pimpl.C (simpleTeXSpecialC):
99 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
100 add LatexRunParams argument.
102 * exporter.C (Export): change call accordingly.
104 * latexrunparams.h: add new member to take care of the other backends.
105 2003-10-30 José Matos <jamatos@lyx.org>
107 * buffer.C (makeLinuxDocFile, makeDocBookFile):
108 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
109 factorise code for paragraph output.
111 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
114 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
116 * text3.C (dispatch):
117 * lyxfunc.C (dispatch):
118 * cursor.C (dispatch):
119 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
121 * dispatchresult.h: make the dispatch_result_t ctor explicit
123 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
126 * buffer.C: small refactoring of docbook stuff
128 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
130 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
133 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
135 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
136 operator dispatch_result_t, and operators for == != and >=
138 * cursor.C (dispatch): adjust for operator dispatch_result_t
139 removal. comment out call to update
141 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
143 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
151 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
154 * dispatchresult.h: new file, DispatchResult broken out of
157 * Makefile.am (lyx_SOURCES): add dispatchresult.h
159 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
161 * text.C (rowBreakPoint): put a hack inside #if 0
163 2003-10-28 André Pönitz <poenitz@gmx.net>
170 * text2.C: general cleanup (lots of small stuff)
172 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
174 * text2.C (cursorEnd): simple fix to the "end key goes to one
175 before the end on last row" bug
177 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
179 * text.C (backspace): fix the "zombie characters"
181 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
183 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
185 2003-10-27 André Pönitz <poenitz@gmx.net>
187 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
189 * factory.C: handle new InsetPagebreak, InsetLine
191 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
192 and move handling into new InsetPagebreak, InsetLine
194 * BufferView_pimpl.C:
196 * ParagraphParameters.C:
209 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
218 * text3.C: remove lastPos uses in favour of Row::endpos
220 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
222 * undo.C (performUndoOrRedo): fix two crashes by setting a
223 cursor by hand and reordering some calls. Use bv->lockInset instead
224 of inset->edit because the latter loses cursor information
226 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
228 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
230 (rowBreakPoint): fix width. change point to point + 1.
233 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
236 * lyxfunc.C: fix (at least partly) the problems
237 with the Nav menu and headers inside branch insets
240 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
242 * paragraph.C (getChar): add strong asserts
244 * lyxrow_funcs.C (lastPos): remove hideous hack
246 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
247 (fill): adjust to that (avoid an infinite loop)
249 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
251 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
253 2003-10-23 André Pönitz <poenitz@gmx.net>
255 * RowList_fwd.h: change list<> to vector<> to gain speed
256 after suggestion from Alfredo
258 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
260 * lyxtext.h: move the bidi stuff from here...
263 * Bidi.[Ch]: ... to here
265 2003-10-23 André Pönitz <poenitz@gmx.net>
268 * text.C (isLastRow, isFirstRow): new functions
270 * paragraph.h: new width cache member
272 * rowpainter.C: replace RowList::iterator with Row & where possible
274 * lyxfunc.C: replace several view()->text with a single call
276 * toc.C: fix 'unused' warning
278 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
280 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
281 when woring with stream::pos_type
282 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
284 2003-10-22 André Pönitz <poenitz@gmx.net>
287 * text.C: use Row & instead of RowList::iterator
289 * lyxrow.h: rename end() to endpos()
295 2003-10-22 Angus Leeming <leeming@lyx.org>
297 * buffer.[Ch] (fully_loaded): new member function, returning true
298 only when the file has been loaded fully.
299 Used to prevent the premature generation of previews and by the
300 citation inset to prevent computation of the natbib-style label.
302 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
303 templates are all set up.
305 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
307 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
309 * text.C: fixed an "oops" in the "is a bit silly"
312 2003-10-21 André Pönitz <poenitz@gmx.net>
314 * FuncStatus.[Ch]: small stuff, whitespace
316 * lyxfont.[Ch]: operator<<() for debug reasons
320 * lyxtext.h: whitespace, spelling
322 * paragraph.C: naming of variables
325 * text2.C: small stuff
328 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
330 * text.C: (1) finish off the inset display() work;
331 (2) fix the "is a bit silly" bug (accessing char
334 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
336 * text.C: re-introduce display() for insets, fixing the
337 various bugs (stretch of line above, math inset
340 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
342 * text.C (rightMargin): remove spurious semicolon
344 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
347 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
349 * text3.C: fix one crash due to wrong cursor def
351 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
353 * vc-backend.C (scanMaster): make the regex static
355 * LaTeX.C (scanAuxFile): make the regexs static
357 * text3.C (doInsertInset, dispatch, dispatch):
358 * text2.C (cursorUp, cursorDown):
359 * text.C (selectNextWordToSpellcheck):
360 * BufferView_pimpl.C (dispatch):
361 * lyxfunc.C (dispatch): localDispatch -> dispatch
363 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
365 * lyxsocket.C: include <cerrno>
367 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
369 * lyxfunc.C (dispatch): remove textcache stuff
371 * bufferlist.C (release): remove textcache stuff
374 * TextCache.C: delete file
375 * TextCache.h: delete file
377 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
379 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
380 delete of the bv_->text.
381 (resizeCurrentBuffer): remove texcache stuff
382 (workAreaResize): ditto
384 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
386 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
389 2003-10-16 André Pönitz <poenitz@gmx.net>
396 * text3.C: speed up by storing y positions per paragraph plus per-row
397 offset instead of having a 'full' y position in the row.
399 2003-10-15 André Pönitz <poenitz@gmx.net>
403 * undo.[Ch]: make undo aware of inner insets
405 2003-10-14 Angus Leeming <leeming@lyx.org>
407 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
408 static member functions LyX::ref() and LyX::cref.
409 (lastfiles): new accessor functions for the new lastfiles_ member var.
410 (addLyXView, views_): add a new LyXView to the list of views_.
411 (updateInset): loop over all LyXViews to call their own updateInset
412 member function, returning a pointer to the Buffer owning the inset.
414 * BufferView_pimpl.C (loadLyXFile):
415 * MenuBackend.C (expandLastfiles):
416 * bufferlist.C (MenuWrite, QuitLyX):
417 lastfiles is no longer a global variable.
418 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
420 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
421 static function. Access through LyX::cref().emergencyCleanup().
423 2003-10-14 André Pönitz <poenitz@gmx.net>
425 * iterators.[Ch]: new direct access to innermost LyXText and Inset
427 * undo.[Ch]: restoring part of 'undo in insets'
430 * undo_funcs.[Ch]: merge with undo.[Ch]
432 * tabular.C: small cleansing stuff
434 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
436 * paragraph_funcs.C (readParToken): report unknown insets as error
437 boxes. Use the outer paragraph as location (also for unknown
440 * factory.C (readInset): do not abort on reading an unknown inset.
443 2003-10-13 Angus Leeming <leeming@lyx.org>
445 * lyx_main.C (LyX): remove call to setDisplayTranslator().
447 * lyxrc.C: displayTranslator is now a function,
448 declared in GraphicsTypes.h.
450 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
452 * format.C: new placeholder $$a to pass the socket address.
454 * bufferlist.[Ch]: new function getBufferFromTmp.
456 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
457 files in the temporary dir.
459 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
461 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
463 * Makefile.am: add lyxsocket.[Ch].
465 * lyx_main.C (error_handler): handle SIGPIPE.
467 2003-10-13 André Pönitz <poenitz@gmx.net>
469 * BufferView_pimpl.C:
474 * undo_funcs.[Ch]: use paroffset_type instead of
475 ParagraphList::iterators to prevent multiple conversion
476 (and get a more robust interface)
478 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
480 * lyxfunc.C (dispatch): RESULT -> dispatch_result
482 * text3.C (dispatch): ditto
484 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
486 * LaTeX.C (handleFoundFile): move the static to smaller scope,
487 move the onlyfile, use onlyfile instead of foundfile in a couple
490 * DepTable.C (update): flush the error stream a bit more
492 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
494 * lyxserver.C (callback): adjust
496 * lyxfunc.C (getStatus): add a missing brace in commented code
497 (ensureBufferClean): reindent
498 (dispatch): delete version taking a string
500 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
502 * LaTeX.C (deplog): move found file handlig from here...
503 (handleFoundFile): .. to new function here.
504 (deplog): make sure to discover several files mentioned on the
507 2003-10-10 André Pönitz <poenitz@gmx.net>
514 * text3.C: fix some of the tabular crashes
516 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
518 * MenuBackend.C (binding): put debug message into Debug::KBMAP
520 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
522 2003-10-09 André Pönitz <poenitz@gmx.net>
524 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
527 * BufferView_pimpl.C:
528 * bufferview_funcs.C:
539 * undo_funcs.C: adjust
541 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
543 * text2.C (incrementItemDepth): new function, use a backtracking
544 algorithm to discover the correct item depth.
545 (resetEnumCounterIfNeeded): new function, use a backtracking
546 algorithm to discover if counter reset is needed.
547 (setCounter): use them. Simplify a bit. Add different labels for
548 different item depths for itemize.
550 * paragraph.C (Paragraph): remove initialization of enumdepth
553 * paragraph.h: get rid of enumdepth, and use itemdepth both for
554 enumerate and itemize. Change the type of itemdepth to signed char.
556 2003-10-08 André Pönitz <poenitz@gmx.net>
558 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
563 * tabular.[Ch]: fix crash after 'row-insert'
565 2003-10-08 Angus Leeming <leeming@lyx.org>
567 Fix doxygen warnings.
569 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
570 Remove CutAndPaste:: prefix from header file declaration.
572 * LColor.h (fill): remove LColor:: prefix from declaration.
574 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
575 use lyx::depth_type rather than Paragraph::depth_type so that
576 header file and .C file match.
578 * converter.h (intToFormat): remove Converters:: prefix from declaration.
580 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
581 * aspell.C: \file aspell_local.C -> \file aspell.C
582 * gettext.C: \file gettext.C -> \file src/gettext.C
583 * gettext.h: \file gettext.h -> \file src/gettext.h
584 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
585 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
586 * text.C: \file text.C -> \file src/text.C
588 * toc.C: move comment so that doxygen is not confused.
590 2003-10-07 Angus Leeming <leeming@lyx.org>
592 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
594 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
597 * aspell_local.h: add forgotten std::string's.
599 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
606 * text3.C: The Box patch. Fancybox support, minipage, parbox
608 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
614 * ParagraphParameters.h:
624 * lyxtextclasslist.h:
628 * textcursor.h: add <string> and other small fixes to make Lars'
629 std::string patch compile with STLport.
631 2003-10-06 Angus Leeming <leeming@lyx.org>
633 * LColor.h: Add missing #include <string>.
635 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
637 * All most all file in all subdirs: Make <string> be the prefered
638 way of getting to std::string, add using declarations.
640 2003-10-06 André Pönitz <poenitz@gmx.net>
642 * metricsinfo.C: initialize LyXFont before changing attribute.
643 (fixes the 'math in \emph is upright' bug)
645 2003-10-06 André Pönitz <poenitz@gmx.net>
647 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
649 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
652 * paragraph_pimpl.C: Small fixes to build using STLport
654 2003-10-02 André Pönitz <poenitz@gmx.net>
657 * text3.C: move handling of LFUN_DEPTH *; fix #1360
659 2003-10-01 André Pönitz <poenitz@gmx.net>
661 * factory.C: assert early
663 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
665 * lyx_main.C: remove the global debug object
667 * debug.h: adjust for new debugstream
669 * debug.C: adjust for new debugstream and keep the global debug
672 2003-09-22 Angus Leeming <leeming@lyx.org>
674 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
675 of g++ which otherwise complain that the scoped_ptr destructor can't delete
676 an incomplete class LyXFont.
678 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
680 * factory.C: bug fix in branches
682 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
684 * lyxfunc.C (processKeySym): adjust
686 (dispatch): change arg name from ev to func, adjust
687 (sendDispatchMessage): ditto
689 * lyx_main.C (defaultKeyBindings): adjust keybindings
690 (deadKeyBindings): ditto
692 * kbsequence.C (addkey): return a FuncRequest
694 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
696 * kbmap.C (bind): take a FuncRequest as arg, adjust
699 (defkey): change to take a FuncRequest as arg, adjust
700 (findbinding): take a FuncRequest as arg, adjust.
702 * funcrequest.h (operator=): added
704 * funcrequest.C (FuncRequest): default kb_action changed from
705 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
707 * buffer.C (dispatch): simplify
708 (dispatch): adjust to take a FuncRequest as arg, adjust
710 * boost.C (assertion_failed): change assertion message slightly
712 * ToolbarBackend.C (read): simplify
714 * MenuBackend.C (binding): adjust call to findbinding, add a
715 message if no binding is found.
717 (expandToc): correct by adding a empty FuncRequest
719 * LyXAction.C: include <boost/assert.hpp>
720 (isPseudoAction): delete function
721 (LookupFunc): change name to...
722 (lookupFunc): this. change return type to FuncRequest.
723 (getActionName): take kb_action as arg, simplify
724 (funcHasFlag): add an assert, simplify.
726 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
728 * toc.C (action): return a FuncRequest, simplify
730 * lyxfunc.C (processKeySym): adjust
731 (getStatus): delete version that takes an int.
733 (dispatch): delete version that takes action as int
735 (sendDispatchMessage): simplify and adjust
737 * funcrequest.C (getArg): take unsigned int as arg
739 * ToolbarBackend.C (read): adjust
740 (add): delete version that takes func as a string.
741 (getIton): take a FuncRequest as arg
743 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
746 * MenuBackend.C (MenuItem): add a new construct that only takes a
747 Kind, simplify the constructor use for submenus.
749 (expandLastfiles): adjust
750 (expandDocuments): adjust
751 (expandFormats): adjust
752 (expandFloatListInsert): adjust
753 (expandFloatInsert): adjust
754 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
756 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
757 Remove class variables lyx_pseudo_map and lyx_arg_map
759 * LyXAction.C (searchActionArg): delete function
760 (getPseudoAction): delete function
761 (retrieveActionArg): delete function
762 (LookupFunc): make it return kb_action, simplify.
763 (getActionName): simplify
765 * factory.C (createInset): fix new bug
767 2003-09-19 Angus Leeming <leeming@lyx.org>
769 * CutAndPaste.C (pasteSelection): remove fudge used to set the
770 masterFilename_ parameter in the include inset.
772 * factory.C (createInset): changes due to the changes to InsetInclude.
774 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
776 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
778 2003-09-18 Angus Leeming <leeming@lyx.org>
781 * BufferView.C: pass the buffer when calling Inset::getLabelList,
782 Inset::fillWithBibKeys.
783 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
785 2003-09-18 Angus Leeming <leeming@lyx.org>
787 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
789 (ctor): pass and store a 'Buffer const &'
790 (buffer): new member function.
792 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
793 '*this' to the LaTeXFeatures ctor.
795 2003-09-18 Angus Leeming <leeming@lyx.org>
801 * text.C: rename EnumLColor as LColor_color.
803 2003-09-18 Angus Leeming <leeming@lyx.org>
805 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
806 remove #include "insets/insetbase.h" from cursor.h.
808 2003-09-18 Angus Leeming <leeming@lyx.org>
810 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
811 InsetOld_code to remove #include "inset.h".
813 * iterators.C: add #include "insets/inset.h"
815 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
817 * BufferView.C: remove more locking stuff that apparently doesn't
818 do anything sensible.
820 2003-09-16 André Pönitz <poenitz@gmx.net>
823 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
826 2003-09-16 Angus Leeming <leeming@lyx.org>
828 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
830 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
833 * paragraph.h: remove #include "lyxfont.h". Forward declare
836 2003-09-16 Angus Leeming <leeming@lyx.org>
838 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
839 of support/textutils.h.
840 (isWord): move the contents of support/textutils.h's IsWordChar here.
846 * text2.C: add #include "paragraph.h".
849 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
851 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
857 * LaTeX.C: use namespace alias for lyx::support::os
859 2003-09-16 Angus Leeming <leeming@lyx.org>
862 * bufferview_funcs.C:
867 * text.C: add #include "LColor.h".
869 2003-09-16 Angus Leeming <leeming@lyx.org>
871 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
872 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
874 Store the FontBits::color variable as an int rather than as an
875 LColor::colorso that we can move LColor.h out of the lyxfont.h header
878 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
879 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
880 string calls together.
882 * lyxrc.C: add #include "LColor.h".
884 2003-09-15 Angus Leeming <leeming@lyx.org>
886 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
889 2003-09-15 Angus Leeming <leeming@lyx.org>
891 * LColor.h: add an EnumLColor wrapper for LColor::color.
893 * lyxfont.[Ch] (color, setColor, realColor):
894 * lyxtext.h, text.C (backgroundColor):
895 pass EnumLColor args to/from the functions, rather than LColor::color
899 * lyxtext.h: forward declare EnumLColor.
901 * lyx_main.C: add #include "LColor.h".
903 2003-09-15 Angus Leeming <leeming@lyx.org>
905 * .cvsignore: add lyx-gtk.
907 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
912 * ParagraphParameters.C
926 * vc-backend.C: remove usage of STRCONV
928 2003-09-15 Angus Leeming <leeming@lyx.org>
930 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
931 explicitly define the color passed to the painter.
933 2003-09-15 Angus Leeming <leeming@lyx.org>
935 * bufferparams.C (BufferParams): reorder member initializers to avoid
938 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
940 * CutAndPaste.C (pasteSelection): remove an outdated #warning
941 * text.C (updateRowPositions): remove an unusual nop
943 2003-09-12 André Pönitz <poenitz@gmx.net>
945 * BufferView_pimpl.C:
954 * Counters.[Ch]: finish the 'automatic counters' job
956 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
958 * aspell.C: include <boost/assert.cpp> (compile fix)
960 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
962 * boost.C (assertion_failed): use lyx::support::abort instead of
965 2003-09-10 Angus Leeming <leeming@lyx.org>
967 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
968 with their _fwd progeny.
970 2003-09-09 Angus Leeming <leeming@lyx.org>
972 134 files throughtout the source tree: replace 'using namespace abc;'
973 directives with the appropriate 'using abc::xyz;' declarations.
975 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
977 * boost.C (emergencyCleanup): moved here from LAssert.c
978 (assertion_failed): new function, called by BOOST_ASSERT
980 * several files: change Assert to BOOST_ASSERT
982 2003-09-09 Angus Leeming <leeming@lyx.org>
984 * buffer.[Ch]: Add an Impl class and move Buffer's member
985 variables into it. As a result move several header files out of
988 Add header files to lots of .C files all over the tree as a result.
990 2003-09-09 Angus Leeming <leeming@lyx.org>
992 * buffer.[Ch]: make Buffer's member variables private. Add
995 Lots of changes all over the tree as a result.
997 2003-09-08 Angus Leeming <leeming@lyx.org>
999 * graph.C: #include <config.h>.
1001 2003-09-08 Angus Leeming <leeming@lyx.org>
1005 * BufferView_pimpl.C:
1034 * toc.C: remove redundant using directives.
1036 2003-09-07 Angus Leeming <leeming@lyx.org>
1038 * LaTeXFeatures.h: remove #include "support/types.h".
1039 * ToolbarBackend.h: remove #include <algorithm>.
1040 * changes.h: remove #include <ctime>.
1041 * debug.h: remove #include <iosfwd>.
1042 * graph.h: remove #include "support/std_string.h".
1043 * lyx_main.h: remove #include <csignal>.
1044 * lyxlex_pimpl.h: remove #include <fstream>.
1045 * sgml.h: remove #include <algorithm>, <utility>.
1046 * toc.h: remove #include "support/std_ostream.h".
1047 Add #include <iosfwd>.
1049 2003-09-07 Angus Leeming <leeming@lyx.org>
1051 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1053 * converter.h: forward declare LatexRunParams.
1054 * encoding.h: remove #include "lyxrc.h".
1055 * lyxtext.h: remove #include "LColor.h".
1056 * lyxtextclass.h: remove #include "support/types.h".
1057 * trans.h: remove #include "tex-accent.h".
1058 * trans_mgr.h: remove #include "tex-accent.h".
1059 * insets/inset.h: remove #include "support/types.h", <vector>.
1060 * insets/insetcollapsable.h: remove #include "LColor.h".
1061 * insets/insetinclude.h: remove #include "dimension.h".
1062 * insets/insetlatexaccent.h: remove #include "dimension.h".
1063 * insets/insetoptarg.h:: remove #include "insettext.h".
1064 * insets/insettext.h: remove #include "dimension.h",
1065 <boost/shared_ptr.hpp>
1067 * insets/renderers.h: add #include "dimension.h".
1068 * insets/updatableinset.h: add #include "support/types.h".
1070 * many .C files: Associated changes.
1072 2003-09-06 Angus Leeming <leeming@lyx.org>
1074 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1075 one, inside testInvariant.
1077 * PrinterParams.C: new file.
1078 * PrinterParams.[Ch]: move the function bodies out of line.
1080 2003-09-06 Angus Leeming <leeming@lyx.org>
1082 * ParagraphParameters.h: forward declare ParameterStruct rather than
1083 including its header file.
1084 (depth): moved out-of-line.
1086 2003-09-06 Angus Leeming <leeming@lyx.org>
1088 * BufferView_pimpl.h:
1091 * lyxfunc.h: forward declare LyXKeySym rather than
1092 #include "frontends/LyXKeySym.h".
1094 * BufferView_pimpl.C:
1097 * lyxfunc.C: associated changes.
1099 2003-09-06 Angus Leeming <leeming@lyx.org>
1101 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1102 As a result, can remove the #include "insets/inset.h" from BufferView.h
1104 2003-09-06 Angus Leeming <leeming@lyx.org>
1106 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1107 As a result, can remove the #include "insets/inset.h" from BufferView.h
1109 2003-09-06 Angus Leeming <leeming@lyx.org>
1115 * bufferview_funcs.C:
1116 * BufferView_pimpl.C:
1121 * ParagraphParameters.C:
1126 * frontends/controllers/ControlDocument.C:
1127 * insets/insetcaption.C: rearrange the #includes into some sort of
1130 * buffer.h: remove #includes ErrorList.h, undo.h
1132 2003-09-06 Angus Leeming <leeming@lyx.org>
1134 * support/types.h: add a 'depth_type' typedef, used to store the
1135 nesting depth of a paragraph.
1138 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1139 defining explicitly.
1142 * paragraph_funcs.h:
1143 * ParagraphParameters.h:
1144 * sgml.h: use lyx::depth_type rather than Paragraph or
1145 ParameterStruct's depth_type.
1148 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1151 * BufferView_pimpl.C:
1153 * ParagraphParameters.C:
1156 * bufferview_funcs.C:
1163 * frontends/LyXView.C:
1164 * frontends/controllers/ControlDocument.C:
1165 * frontends/controllers/ControlErrorList.C:
1166 * insets/insetbibitem.C:
1167 * insets/insetbranch.C:
1168 * insets/insetcaption.C:
1169 * insets/insetcollapsable.C:
1170 * insets/insetenv.C:
1171 * insets/insetert.C:
1172 * insets/insetfloat.C:
1173 * insets/insetfoot.C:
1174 * insets/insetfootlike.C:
1175 * insets/insetnewline.C:
1176 * insets/insetquotes.C:
1177 * insets/insettabular.C:
1178 * insets/insettext.C:
1179 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1181 * frontends/controllers/ControlChanges.C: #include "changes.h".
1183 2003-09-06 Angus Leeming <leeming@lyx.org>
1185 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1186 than #including paragraph.h.
1189 * RowList.h: deleted. Superfluous.
1199 * insets/insettext.h: use ParagraphList_fwd.h rather than
1202 * paragraph.h: don't forward declare ParagraphList.
1205 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1206 rather than ParagraphList.h. paragraph.h is still needed for the
1207 Paragraph::depth_type parameters.
1209 * textcursor.h: enable it to compile stand-alone in light of the
1212 * bufferview_funcs.C:
1224 * frontends/controllers/ControlParagraph.C:
1225 * frontends/controllers/ControlTabular.C:
1226 * insets/insetmarginal.C:
1227 * insets/insetminipage.C:
1228 * insets/insetnote.C:
1229 * insets/insetoptarg.C: add header files needed to compile again.
1231 2003-09-06 Angus Leeming <leeming@lyx.org>
1233 * RowList_fwd.h: new file, forward-declaring Row rather than
1234 #including lyxrow.h.
1239 * insets/insettext.h: use it instead of RowList.h
1241 * bufferview_funcs.C:
1248 * text3.C: #include "RowList.h".
1250 2003-09-05 Angus Leeming <leeming@lyx.org>
1252 * factory.C (createInset):
1253 * vspace.C (c-tor): replace sscanf call with an istringstream.
1254 * ispell.C: re-add missing HP/UX headers.
1255 * lyxserver.C: re-add missing os2 headers.
1257 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1266 * text3.C: re-add missing system headers, needed for 2.95.2.
1268 2003-09-05 Angus Leeming <leeming@lyx.org>
1270 Changes most place everywhere due to the removal of using directives
1271 from support/std_sstream.h.
1273 2003-09-05 Angus Leeming <leeming@lyx.org>
1275 Replace LString.h with support/std_string.h,
1276 Lsstream.h with support/std_sstream.h,
1277 support/LIstream.h with support/std_istream.h,
1278 support/LOstream.h with support/std_ostream.h.
1280 Changes resulting throughout the tree.
1282 2003-09-05 Angus Leeming <leeming@lyx.org>
1284 * sgml.h: ensure that the header file can be compiled stand-alone.
1285 * *.C: strip out redundant #includes. (320 in total.)
1287 2003-09-04 Angus Leeming <leeming@lyx.org>
1289 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1290 here (from getPackages).
1292 * debug.[Ch]: add a new EXTERNAL tag.
1294 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1296 * text2.C (cursorEnd): simplify
1298 (getColumnNearX): adjust
1300 * text.C (computeBidiTables): adjust
1303 * rowpainter.C (paintChars): adjust
1304 (paintSelection): adjust
1305 (paintChangeBar): adjust
1308 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1310 (numberOfSeparators): adjust
1312 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1318 * text3.C: Restricts the mouse click functionality
1319 of insets like bibtex, include, toc and floatlist to the visible
1320 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1321 up the dialogs. Cursor has to be in front of the inset (i.e.
1322 start of row) for this to function.
1324 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1326 * bufferview_funcs.C (currentState): output row information
1328 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1330 * bufferview_funcs.C (currentState): output paragraph position
1332 2003-09-04 Angus Leeming <leeming@lyx.org>
1334 * FloatList.h: move out #include "Floating.h".
1335 * LaTeX.h: move out #include "DepTable.h".
1336 * LyXAction.h: move out #include "funcrequest.h".
1337 * buffer.h: move out #include "author.h", "iterators.h".
1338 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1339 * lyx_main.h: move out #include "errorlist.h".
1340 * lyxfunc.h: move out #include "FuncStatus.h".
1341 * lyxtext: move out #include "lyxcursor.h".
1342 * paragraph_pimpl.h: move out #include "counters.h".
1344 2003-09-03 Angus Leeming <leeming@lyx.org>
1346 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1347 preamble_snippets list, enabling us to add snippets to the preamble
1348 only if the snippet was not there already.
1350 2003-09-04 Angus Leeming <leeming@lyx.org>
1352 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1354 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1356 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1359 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1361 * BranchList.C: point fix, earlier forgotten
1363 2003-09-02 Angus Leeming <leeming@lyx.org>
1365 * box.C (contains): renamed from 'contained' after a fantastic
1368 2003-09-02 John Levon <levon@movementarian.org>
1374 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1376 2003-09-02 John Levon <levon@movementarian.org>
1378 * text2.C: simplification of cursorEnd(), including partial
1381 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1383 * buffer.C (readFile): add a space
1385 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1387 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1389 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1391 * buffer.C (readFile): new function, take a filename and a
1392 ParagraphList::iterator
1394 (readFile): adjust, make it private. don't use setStream, make
1395 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1396 always contain the filename.
1398 * BufferView.C (insertLyXFile): simplify and make it work for
1401 2003-08-30 John Levon <levon@movementarian.org>
1403 * Makefile.am: fix dist (from Kayvan)
1405 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1407 * most files: change to use const Buffer refs
1409 2003-08-27 André Pönitz <poenitz@gmx.net>
1411 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1412 on top of ownerPar().
1414 2003-08-27 John Levon <levon@movementarian.org>
1416 * funcrequest.C: properly initialise POD members
1418 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1420 * lyxtext.h (top_y): move top_y from here
1425 * BufferView_pimpl.[Ch]: to here
1426 * frontends/screen.C:
1427 * insets/insettabular.C:
1428 * insets/insettext.C: adjust
1429 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1431 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1434 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1436 2003-08-26 André Pönitz <poenitz@gmx.net>
1438 * paragraph_func.[Ch] (outerPar): new function
1441 * paragraph_funcs.C:
1442 * paragraph_funcs.h:
1443 * paragraph_pimpl.C:
1444 * text2.C: remove Inset::par_owner
1446 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1451 * text2.C: eliminates the needFullRow/display() stuff
1452 altogether, putting the logic in metrics/draw in the insets.
1454 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1456 * text2.C (redoParagraphInternal, redoParagraphs):
1457 * text.C (redoParagraph): add a call to updateRowPositions at the
1458 end of each 'metrics-like' call. Remove all others.
1459 (getRow): remove the 'y-computing' version.
1460 (getRowNearY): do not compute nor return the real y. Solve the
1461 'y < 0' problem and simplify.
1463 2003-08-22 Angus Leeming <leeming@lyx.org>
1465 * *.[Ch]: clean-up of licence and author blurbs.
1466 Also move config.h out of a few .h files and into a few .C files.
1468 2003-08-22 André Pönitz <poenitz@gmx.net>
1470 * lyxrow.[Ch]: add x_ and *fill_ members
1475 * text2.C: adjust/remove prepareToPrint() calls
1477 2003-08-22 André Pönitz <poenitz@gmx.net>
1479 * lyxrow.[Ch]: add end_ member
1481 * lyxrow_funcs.C: use LyXRow::end_
1483 * lyxtext.h (singleWidth): add LyXFont parameter
1486 * text2.C: adjust LyXText::singleWidth() calls
1488 * text.C (redoParagraph): simplify row breaking logic
1491 2003-08-19 André Pönitz <poenitz@gmx.net>
1493 * funcrequest.C: initialize button_ member
1496 * rowpainter.[Ch]: interface consolidation
1498 2003-08-18 André Pönitz <poenitz@gmx.net>
1501 * BufferView_pimpl.C:
1503 * paragraph_funcs.C:
1505 * text3.C: remove LyXScreen::draw() and fitCursor calls
1507 * BranchList.h: remove spurious semicolons
1509 * MenuBackend.C: fix branchlist related crash
1511 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1519 * bufferparams.[Ch]:
1523 * text3.C: implements the 'branch inset'
1524 idea. This allows the output of various versions of a document
1525 from a single source version, selectively outputing or suppressing
1526 output of parts of the text.
1527 This implementation contains a 'branch list editor' in a separate
1528 tab of the document settings dialog. Branches are user definable
1529 and have a "display colour" to distinguish them on-screen.
1531 ColorHandler was somewhat cleaned up.
1532 (1) make possible a dynamically growing LColor list by allowing
1533 the graphic context cache to grow along (vector);
1534 (2) eliminate an IMHO unnecessary step in colour allocation.
1536 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1538 * BufferView_pimpl.C: compile fix
1540 2003-08-15 André Pönitz <poenitz@gmx.net>
1542 * rowpainter.C: remove extra metrics calls
1544 * lyxtext.h: merge the two constructors into a single one,
1545 pass reference to owner's par list
1547 * BufferView_pimpl.C:
1551 2003-08-15 André Pönitz <poenitz@gmx.net>
1553 * lyxrow_funcs.[Ch]:
1556 * paragraph_funcs.C:
1561 * text_funcs.C: split LyXText::rowlist_ into individual
1562 Paragraph::rows_ chunks
1565 * BufferView_pimpl.[Ch]:
1568 * text3.C: remove toggleSelection()
1570 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1572 * bufferlist.C: beautify two alerts (shorter text of buttons)
1573 * buffer.C: Remove redundant ' ' from message
1575 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1576 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1577 rename VALIGN_CENTER to VALIGN_MIDDLE
1579 2003-08-11 André Pönitz <poenitz@gmx.net>
1581 * lyxtext.h (getPar):
1582 * text.C: new function
1584 2003-08-11 André Pönitz <poenitz@gmx.net>
1587 * tracer.[Ch]: remove unneeded files
1589 * InsetList.[Ch]: remove resizeInsetsLyXText()
1594 * text3.C: merge insertParagraphs() and appendParagraph()
1595 remove breakAgain(), update()
1597 * BufferView_pimpl.[Ch]:
1598 * bufferview_funcs.[Ch]:
1602 * tabular.C: adjust after text & InsetList changes.
1604 2003-08-08 André Pönitz <poenitz@gmx.net>
1606 * text.C (insertChar, backspace): replace rowlist fiddling
1607 with rebreak of full par
1610 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1611 checkParagraph, updateInset): removed
1613 2003-08-07 André Pönitz <poenitz@gmx.net>
1616 * text3.C: merge some LFUN handlers, remove dead code
1618 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1620 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1622 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1624 * text2.C (DEPM): fix part of bug 1255 and 1256
1626 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1628 * BufferView_pimpl.C (workAreaDispatch): change to use
1629 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1630 that are no mouse related.
1632 2003-08-05 André Pönitz <poenitz@gmx.net>
1635 * BufferView_pimpl.[Ch]:
1636 * bufferview_funcs.C:
1638 * text3.C: rip out "deep update"
1640 * textcursor.[Ch] (last_sel_cursor): remove unused member
1642 2003-08-04 André Pönitz <poenitz@gmx.net>
1645 * BufferView_pimpl.[Ch]:
1646 * ParagraphParameters.C:
1647 * bufferview_funcs.C:
1653 * text3.C: replace "complicated" BufferView::update(...) calls with
1656 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1658 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1660 * Makefile.am (lyx_SOURCES): add paper.h
1662 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1664 * Makefile.am: move things around so that both lyx-qt and
1665 lyx-xforms can be built (according to --with-frontend). Then lyx
1666 is a symbolic link to lyx-[firstfrontend]
1668 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1670 * Always use std::endl with lyxerr
1672 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1674 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1676 2003-08-01 André Pönitz <poenitz@gmx.net>
1679 * BufferView_pimpl.[Ch]:
1681 * text3.C: merge BufferView::repaint() and BufferView::update()
1683 2003-08-01 José Matos <jamatos@lyx.org>
1685 * buffer.[Ch]: file_format is no longer a buffer data element.
1687 2003-08-01 André Pönitz <poenitz@gmx.net>
1692 * text2.C: make redoParagraph more independent of current cursor
1694 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1696 * text2.C: remove unneeded members
1698 2003-07-30 André Pönitz <poenitz@gmx.net>
1700 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1702 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1703 create a single function...
1705 * paragraph_funcs.C (moveItem): ... here.
1708 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1710 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1712 * LColor.[Ch]: Add comment and greyedout logical colors.
1714 2003-07-30 André Pönitz <poenitz@gmx.net>
1716 * tabular.C: don't use Assert too heavily. This crashes where it
1719 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1721 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1722 is disabled (bug 1232)
1724 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1726 * factory.C: limited 'arg' scope
1728 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1730 * factory.C: fixed Note submenu issues
1732 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1734 * factory.C: submenu for Note/Comment/Greyedout
1736 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1739 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1741 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1744 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1745 greyedout. Patch provided by Jürgen Spitzmüller.
1747 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1749 * kbmap.C (read): fix error message when reading bind files
1751 2003-07-29 Angus Leeming <leeming@lyx.org>
1753 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1754 certainly does not do what it purports to do. I am doing it, and
1755 us, a favour by killing it.
1757 2003-07-28 José Matos <jamatos@lyx.org>
1759 * buffer.C (readBody, do_writeFile):
1760 * paragraph.C(readParagraph): \end_document replaces \the_end.
1762 2003-07-29 André Pönitz <poenitz@gmx.net>
1765 * BufferView_pimpl.[Ch]:
1769 * textcursor.[Ch]: remove toggleToggle & Co
1771 2003-07-28 José Matos <jamatos@fep.up.pt>
1773 * buffer.C (readParagraph):
1774 * params_func (readParToken, readParagraph):
1775 * paragraph.C (write): \layout -> \begin_layout.
1777 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1779 * lyxlex_pimpl.C (setFile): clean up slightly.
1781 * bufferparams.h: add compressed var
1783 * buffer_funcs.C (readFile): adjust for LyXLex change
1784 (newFile): ditto + simplify
1786 * buffer.C (writeFile): handle writing of compressed files
1788 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1789 Check if the file is compressed and set a bufferparm if so.
1791 * Makefile.am (lyx_LDADD): remove explicit -lz
1793 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1795 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1796 makeDocBookFile): put the real LyX version in the first line of
1800 * version.C.in: remove lyx_docversion
1802 * tabular.C (write_attribute): add a template-based version to
1803 write enums properly
1805 2003-07-28 André Pönitz <poenitz@gmx.net>
1810 * text3.C: use doubles again for x-coordinates. They are needed.
1812 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1814 * messages.C (getLocaleDir): use lyx_localedir()
1816 * lyxlex_pimpl.C (setFile): compress stuff
1818 * buffer.C (writeFile): add some compression stuff
1819 (do_writeFile): new func, dont call expliti close... will this
1822 * Makefile.am (lyx_LDADD): add -lz
1824 2003-07-28 José Matos <jamatos@fep.up.pt>
1826 * buffer.C: increment file format.
1827 * paragraph_funcs (readParagraph, readParToken):
1828 * paragraph.C (readParagraph): add \end_layout.
1830 2003-07-27 Angus Leeming <leeming@lyx.org>
1832 * Makefile.am: remove special casing for configure-time setting of
1833 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1835 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1836 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1838 2003-07-26 André Pönitz <poenitz@gmx.net>
1840 * paragraph_func.[Ch]:
1841 * paragraph.C (realizeFont): inline it whereever it is used
1846 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1849 2003-07-26 André Pönitz <poenitz@gmx.net>
1853 * text2.C: get rid of LyXText::need_break_row
1855 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1857 * toc.[Ch]: put namespace toc inside namespace lyx
1859 * MenuBackend.C (expandToc2): adjust for lyx::toc
1862 * lyxfunc.C (dispatch): adjust for lyx::find
1864 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1865 lyx::find instead. Reorganize a bit.
1866 (LyXReplace): rename to replace
1867 (LyXFind): rename to find
1869 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1872 2003-07-26 André Pönitz <poenitz@gmx.net>
1874 * text.C (setHeightOfRow): restrict scope of temporary variable
1876 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1877 code (never has been used?)
1879 2003-07-27 Asger Alstrup <alstrup@local>
1881 * text.C (fill): Optimise algorithm to exploit that we can reuse
1882 the LyXFont for many characters.
1883 (setHeightOfRow): Same thing.
1884 (rowBreakPoint): Same thing.
1886 2003-07-26 Asger Alstrup <alstrup@local>
1888 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1890 * text.C (singleWidth): Spurious font copying in hot-spot
1891 singleWidth avoided. Reorder tests for arabic for efficiency.
1893 * text.C (fill): handle empty paragraphs better.
1895 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1898 * encoding.h: add includes
1900 * lyxrc.C: remove reading of bind files
1902 * lyx_main.C (init): setup bindings and menus only if we have a
1905 * kbmap.C (read): new method. Do the actual reading of bind
1908 * converter.C (dvipdfm_options):
1911 (output): adapt PAPER_* enums.
1913 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1915 * bufferparams.h: remove paper-related enums from there
1917 * paper.h: New file. A trivial header file to hold paper-related
1918 enums. It should later expand to contain many paper-related
1921 * lyxrc.C: declare extern displayTranslator
1923 2003-07-27 José Matos <jamatos@fep.up.pt>
1925 * tabular.[Ch] (linuxdoc): add support for tables and figures
1928 2003-07-27 José Matos <jamatos@fep.up.pt>
1930 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1931 consistency in both functions.
1932 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1934 2003-07-26 Asger Alstrup <alstrup@local>
1936 * rowpainter.C (paintRows): Change algorithm to work directly on
1937 the insets rather than asking every character in the document
1938 whether its an inset.
1940 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1942 * buffer.C (openFileWrite): factorize some code
1944 2003-07-26 Angus Leeming <leeming@lyx.org>
1947 * lyx_main.[Ch]: replace occurances of system_tempdir with
1950 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1952 * rename Inset to InsetOld
1954 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1956 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1957 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1958 which I think is a bit clearer. EDIT is gone, since it was
1959 premature optimisation, and broken for mathed anyway.
1960 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1961 with cursor positioning in insets as well (math insets still do not
1962 work, but that's a different story anyway.) It mysteriously
1963 crashes sometimes with undo in the first paragraph, but I'm fairly
1964 confident that this is a compiler bug.
1966 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1968 * paragraph.C (Paragraph): adjust for new clone return type
1970 (copyIntoMinibuffer): ditto
1972 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1974 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1975 by not having a special case, and always doing a full rebreak of
1976 the document after undo.
1978 2003-07-23 Angus Leeming <leeming@lyx.org>
1980 * factory.C (createInset): InsetExternal::setParams now takes a
1983 2003-07-23 Angus Leeming <leeming@lyx.org>
1985 * factory.C (createInset): changed interface to the external and
1986 graphics mailers' string2params functions.
1988 2003-07-23 Angus Leeming <leeming@lyx.org>
1990 * factory.C (createInset): pass a
1991 Buffer const * parameter to InsetExternalMailer's string2params.
1993 2003-07-22 John Levon <levon@movementarian.org>
1995 * Thesaurus.h: include the right aiksaurus header
1997 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1999 * MenuBackend.C (expand): check menu shortcuts unconditionally
2001 2003-07-21 Angus Leeming <leeming@lyx.org>
2003 * factory.C (createInset): pass a
2004 buffer_path parameter to InsetGraphicsMailer's string2params.
2006 2003-07-21 Angus Leeming <leeming@lyx.org>
2008 * BufferView_pimpl.C (buffer):
2011 * lyxfunc.C (dispatch):
2012 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2013 rather than the grfx shortcut.
2015 2003-07-21 André Pönitz <poenitz@gmx.net>
2017 * rowpainter.C: remove unused variables
2020 * tabular_funcs.h: move to tabular.C
2021 * Makefile.am: adjust
2023 * tabular.[Ch]: basic optical cleaning
2025 * author.h: pass references, not values
2027 2003-07-18 André Pönitz <poenitz@gmx.net>
2035 * text3.C: two-phase drawing for InsetText and InsetTabular
2036 some float -> int changes.
2038 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2040 * lyx_main.C: fix the fix
2042 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2044 * lyx_main.C: fix a crash in batch mode if no files specified
2047 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2049 * format.[Ch] (papersize): moved to BufferParams
2050 * converter.[Ch] (dvips_options): moved to BufferParams
2051 (dvipdfm_options): moved to anon namespace
2052 * bufferparams.[Ch]: added above functions.
2054 2003-07-17 André Pönitz <poenitz@gmx.net>
2058 * text2.C: don't call inset->update() anymore
2060 * metricsinfo.[Ch]: add convenience constructor
2062 2003-07-16 André Pönitz <poenitz@gmx.net>
2067 * text2.C: replace the LyXCursor::irow_ member with
2068 on-demand computation of the value
2070 2003-07-16 John Levon <levon@movementarian.org>
2072 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2074 2003-07-15 André Pönitz <poenitz@gmx.net>
2077 * text2.C: remove no more needed refresh_row
2079 2003-07-15 André Pönitz <poenitz@gmx.net>
2084 * text3.C: refresh_status tristate -> need_update bool
2086 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2088 * lyxtext.h (init): remove reinit argument (act as if always true)
2089 * text2.C: adjust to that
2091 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2093 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2094 * text3.C: use it to delete selections in some cases
2095 (bugs 441, 673, 702, 954).
2097 2003-07-14 André Pönitz <poenitz@gmx.net>
2099 * rowpainter.[Ch]: reduce interface
2101 2003-07-14 André Pönitz <poenitz@gmx.net>
2103 * BufferView_pimpl.C:
2104 * text2.C: adjust after removing unused BufferView * argument
2106 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2108 * text2.C (init): fix a crash fired on resize
2110 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2112 * buffer.[Ch]: added new closing signal
2113 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2114 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2115 BufferView::Pimpl via the closing the signal
2117 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2119 * buffer.[Ch]: take out all bv-related from buffer
2121 * BufferView_pimpl.[Ch]: connect to new signals
2122 * CutAndPaste.C: removed useless asserts
2123 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2126 * lyxfunc.C: moved view-related funciontality from vc here
2127 * paragraph.C: removed outdated comments
2130 2003-07-10 André Pönitz <poenitz@gmx.net>
2132 * BufferView_pimpl.C:
2136 * text2.C: remove InsetText::InnerCache, clean up consequences
2138 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2140 * ispell.C: fix two typos in error messages
2142 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2144 * Extend Note inset to other forms of annotation like Comment
2145 and Greyedout. Right button click gives dialog.
2147 Files modified or added (+):
2151 * ControlNote.[Ch] +
2153 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2154 frontends/controllers
2158 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2160 * aspell.C: add missing namespace lyx::support
2162 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2164 * BufferView.[Ch] (newFile): Add
2165 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2166 * LaTeX.[Ch] (message): added this signal and use it
2167 * buffer.[Ch] (busy, message): added these signals and use them
2168 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2172 * importer.C: use buffer signals instead of direct bv calling
2173 * lyx_cb.[Ch] (ShowMessage): removed
2176 * paragraph_funcs.C:
2177 * text2.C: use buffer signals
2179 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2181 * introduce namespace lyx::graphics
2183 2003-07-02 André Pönitz <poenitz@gmx.net>
2185 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2187 2003-07-01 André Pönitz <poenitz@gmx.net>
2194 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2195 text*.C to text_func.C
2197 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2199 * introduce namespace lyx::support
2201 2003-06-30 André Pönitz <poenitz@gmx.net>
2206 * text.C: re-enable --with-included-string
2208 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2210 * textcursor.C: add <config.h>
2212 * text.C (getWord): remove const from word_location arg
2214 * lyxvc.C (getLogFile): fix const type order
2216 * lyxtext.h: remove const from word_location arg, add arg name
2218 * lyxlayout.h: currect type on labeltype.
2220 * importer.C: correct \file
2222 * converter.C (intToFormat): use std:: on ret val, ws changes
2224 * bufferlist.h: correct \file
2226 * buffer.C (makeLinuxDocFile): fix const type order
2227 (makeDocBookFile): ditto
2228 (fillWithBibKeys): use std:: on stdlib args.
2230 * CutAndPaste.C: fix authors.
2231 (availableSelections): use std:: on return vector
2233 2003-06-27 André Pönitz <poenitz@gmx.net>
2235 * BufferView_pimpl.C:
2236 * bufferview_funcs.C:
2244 * text3.C: remove LyXCursor::row_ member
2247 * text.C: rename fullRebreak() to partialRebreak() and implement
2248 a fullRebreak() that really bereks fully
2250 * textcursor.h: new struct for cursor-related data
2252 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2254 * lyx_main.C (LyX): get full path of document loaded on the
2257 2003-06-26 André Pönitz <poenitz@gmx.net>
2259 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2260 remove unused/broken operator>,<,>=.
2262 * text.C: remove only use of broken operator<= in an Assert().
2264 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2266 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2267 moved errorlist_.clear to showErrorList
2269 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2271 * converter.C (scanLog, runLaTeX):
2272 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2273 move the bv->showErrorList call to the callers
2274 * lyxfunc.C: i.e. here...
2276 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2277 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2278 namespace, the second to...
2279 * buffer_funcs (BufferFormat, parseErrors): added
2280 * errorlist.C (ErrorList(TeXErrors const &)): removed
2282 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2284 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2286 2003-06-24 "Garst R. Reese" <reese@isn.net>
2290 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2292 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2294 * version.C.in: change docversion to 1.4
2296 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2298 * buffer.C: fix a bug just introduced
2300 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2302 * buffer.[Ch]: added the parseError signal and use it, removed
2304 * BufferView.[Ch] (addError): moved to ...
2305 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2306 to the Buffer::parseError signal to catch (guess what) parse errors
2307 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2309 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2311 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2312 ability to create a buffer and to return an existing one from
2313 the list. Moved these functions to...
2314 * buffer_funcs.[Ch]: added
2315 * BufferView.[Ch] (loadLyXFile): added
2316 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2317 job removed from bufferlist::loadLyXFile.
2318 * buffer.C (setReadOnly): make it work without view
2319 (i.e added an if (users))
2321 2003-06-19 Angus Leeming <leeming@lyx.org>
2324 * LyXAction.C (init):
2325 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2326 with LFUN_DIALOG_SHOW <name> <data>.
2328 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2330 * CutAndPaste.C (availableSelections): small compilation fix for
2331 ancient (gcc 2.9x) compilers
2333 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2335 * text3.C (cursorNext): add tmp var
2337 * text2.C (updateCounters): for function calling out of for clause
2338 (replaceSelectionWithString): ditto
2339 (insertStringAsParagraphs): ditto
2340 (getColumnNearX): add tmp var
2341 (setCursorFromCoordinates): add tmp var
2342 (cursorDownParagraph): add tmp var
2343 (deleteEmptyParagraphMechanism): add tmp var
2345 * text.C (insertChar): add tmp var
2347 * rowpainter.C (paintDepthBar): add tmp var
2349 * CutAndPaste.C (availableSelections): potentially check all
2350 paragraphs in a cut to fill the shown strings.
2352 2003-06-18 André Pönitz <poenitz@gmx.net>
2354 * kbmap.[Ch]: use vector<> instead of list<>
2356 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2358 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2359 pasteSelection with index
2361 * text2.C (pasteSelection): modify, call pasteSelection with index
2363 * paragraph.C (asString): reimplement version with no interval to
2364 call the one with interval.
2366 * lyxtext.h: add index arg to pasteSelection
2368 * MenuBackend.C (MenuItem): handle PasteRecent
2369 (Menu::read::Menutags): add md_pasterecent
2371 (expandPasteRecent): new function
2374 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2376 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2378 (availableSelections): new function
2380 2003-06-17 Angus Leeming <leeming@lyx.org>
2382 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2384 2003-06-17 Angus Leeming <leeming@lyx.org>
2387 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2389 * lyxfunc.C (dispatch): invoke it.
2391 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2393 * iterators.C (operator++, ParPosition): reintroduce some
2394 const_cast for the benefit of older compilers.
2396 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2398 * text3.C (dispatch): do not modify clipboard when doing
2399 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2400 LFUN_DELETE_SKIP on a selection selection
2402 2003-06-16 André Pönitz <poenitz@gmx.net>
2408 * tabular.[Ch]: IU of clone() and getLabelList();
2410 2003-06-13 André Pönitz <poenitz@gmx.net>
2412 * tabular.h: compactification
2414 2003-06-12 André Pönitz <poenitz@gmx.net>
2418 * tabular_funcs.h: some renaming plus whitespace
2420 2003-06-12 André Pönitz <poenitz@gmx.net>
2423 * BufferView_pimpl.C:
2429 * toc.C: Return a Paragraph & for ParIterator::operator*()
2431 2003-06-11 John Levon <levon@movementarian.org>
2435 * ToolbarBackend.C: add "Toolbars" section and
2438 2003-06-10 Angus Leeming <leeming@lyx.org>
2441 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2443 * lyxfunc.C (dispatch): invoke it.
2445 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2447 * main.C: protect <ios> with HAVE_IOS
2448 (main): protect sync_with_stdio with HAVE_IOS
2450 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2452 * text2.C (cutSelection): adjust
2453 (pasteSelection): adjust
2455 * messages.C: handle get of empty string
2457 * main.C (main): use sync_with_stdio(false)
2459 * lyxfunc.C (dispatch): adjust
2461 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2462 (WriteAs): remove unneeded BufferView arg.
2464 * bufferparams.h: use correct types on papersize, papersize2 and
2467 * bufferparams.C (readToken): adjust for type
2468 (writeLaTeX): add missing cases to switch.
2470 * bufferlist.C (quitWriteBuffer): adjust
2473 * buffer.C (asciiParagraph): remove some commented code.
2475 * CutAndPaste.C: remove current_view extern variable.
2476 (cutSelection): add BufferParams arg.
2477 (eraseSelection): add BufferParams arg.
2478 (pasteSelection): add Buffer const & arg
2480 2003-06-07 John Levon <levon@movementarian.org>
2483 * paragraph_funcs.C:
2484 * paragraph_pimpl.C:
2488 * paragraph.C: allow InsetERT to freely space lines,
2489 and some consolidation of code
2491 2003-06-06 José Matos <jamatos@fep.up.pt>
2493 * buffer.C (makeDocBookFile): fix bug #821
2495 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2497 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2499 2003-06-04 Angus Leeming <leeming@lyx.org>
2501 * buffer.C: bump format to 224.
2503 2003-06-05 André Pönitz <poenitz@gmx.net>
2505 * text2.C (redoParagraphs): remove two const_cast<>
2507 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2509 * ParagraphList.h: remove last remnants of NO_STD_LIST
2511 2003-06-03 Angus Leeming <leeming@lyx.org>
2513 * factory.C (createInset): small change to the way InsetExternal's params
2516 2003-06-04 André Pönitz <poenitz@gmx.net>
2518 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2520 * paragraph_pimpl.h:
2521 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2523 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2525 * undo_funcs.C: make some simple cases of undo work again
2527 2003-06-03 John Levon <levon@movementarian.org>
2529 * ispell.C: HPUX doesn't have sys/select.h
2532 2003-06-03 John Levon <levon@movementarian.org>
2534 * CutAndPaste.C: update tabular and include inset
2539 * paragraph.C: remove owningBuffer(), don't pass Buffer
2542 * factory.C: insetGraphicsParams changed
2544 2003-06-02 John Levon <levon@movementarian.org>
2550 * text3.C: remove insetparent
2552 2003-06-02 John Levon <levon@movementarian.org>
2555 * buffer.C: fix inset_iterator.end(), move out of line
2558 2003-06-01 John Levon <levon@movementarian.org>
2560 * text3.C: use a proper cut/paste when doing inset
2561 insert (from Jürgen Spitzmüller)
2563 2003-06-01 John Levon <levon@movementarian.org>
2565 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2567 2003-05-30 André Pönitz <poenitz@gmx.net>
2569 * rowpainter.C: unify second drawing phase
2571 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2573 * trans_mgr.C: remove one case of current_view
2575 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2577 * paragraph_funcs.h: remove paragraph.h include
2579 * paragraph.h: delete NO_STD_LIST stuff
2581 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2583 * buffer.h: remove paragraph.h include
2585 * ParagraphList.C: delete file
2587 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2589 * toc.C (getTocList): adjust
2591 * paragraph_pimpl.C (validate): adjust
2593 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2595 * paragraph.C (Paragraph): adjust
2596 (getPositionOfInset): use const_iterator, adjust
2597 (bibitem): use const_iterator, adjust
2598 (setInsetOwner): adjust
2600 * iterators.C (operator++): adjust
2602 * InsetList.[Ch]: Replace selfmade iterator with standard
2603 vector::iterator also introduce const_iterator. Remove getPos,
2604 getInset and setInset from InsetTable. Adjust accordingly.
2606 * BufferView.C (lockInset): adjust
2607 (ChangeInsets): adjust
2609 * tabular.[Ch]: delete commented same_id functions
2611 2003-05-28 John Levon <levon@movementarian.org>
2613 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2615 2003-05-28 André Pönitz <poenitz@gmx.net>
2617 * metricsinfo.[Ch]: remove 'fullredraw' member
2619 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2621 * lyxtextclass.C (operator): remove caching.
2623 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2627 * text2.C (cursorBottom): adjust
2628 (setCounter): use ParagraphList::find, adjust
2630 * text.C (workWidth): use ParagraphList::find, adjust
2632 * lyxcursor.C (LyXCursor): adjust
2634 * buffer.C (inset_iterator): adjust
2636 * ParagraphList.h: make iterator(value_type) private, make
2637 ParagraphList a friend of iterator.
2639 * ParagraphList.C (find): new function
2641 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2643 2003-05-27 André Pönitz <poenitz@gmx.net>
2645 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2647 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2649 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2651 2003-05-26 John Levon <levon@movementarian.org>
2653 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2655 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2657 * remove same_id from function signatures, adjust.
2659 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2661 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2663 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2665 * paragraph.C (Paragraph): get rid of same_ids parameter
2667 * ParagraphList.C (insert): adjust
2670 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2672 * paragraph_funcs.C (breakParagraph): adjust
2673 (breakParagraphConservative): adjust
2675 * buffer.C (readParagraph): adjust
2677 * ParagraphList.C (insert): take a reference instead of a pointer
2680 * paragraph.[Ch] (id): new function
2682 * bufferlist.C (newFile): adjust
2684 * ParagraphList.C (ParagraphList): adjust
2686 (push_back): take a reference instead of a pointer.
2688 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2690 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2693 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2694 set else use old code.
2696 * ParagraphList.C: remove all NO_NEXT code and only compile this
2697 code of NO_STD_LIST is set.
2699 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2701 * BufferView_pimpl.C:
2711 * graphics/GraphicsConverter.C:
2712 * graphics/PreviewLoader.C: header adjustment
2714 2003-05-23 Angus Leeming <leeming@lyx.org>
2716 * LaTeXFeatures.[Ch] (useBabel): new method.
2717 * bufferparams.C (writeLaTeX): use it.
2719 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2721 * ParagraphList.h (set): remove unused function.
2723 2003-05-23 André Pönitz <poenitz@gmx.net>
2726 * BufferView_pimpl.C:
2730 * undo_funcs.C: setUndo reworked
2732 * iterators.[Ch]: add access to topmost ParagraphList
2734 * lyxtext.[Ch] (workWidth): add a const
2736 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2738 * texrow.[Ch] (increasePos): remove function
2739 * exporter.C (export): removed unused var and outdated comment
2741 2003-05-23 Angus Leeming <leeming@lyx.org>
2743 * latexrunparams.h: rename fragile as moving_arg.
2744 * paragraph.C (simpleTeXOnePar): ditto.
2745 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2747 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2749 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2751 (textUndoOrRedo): comment out a currently unused var.
2753 * paragraph.h (NO_NEXT): enable NO_NEXT
2755 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2757 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2759 * exporter.C (Export): adjust for removeAutoInsets removal.
2761 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2763 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2765 * BufferView.[Ch] (removeAutoInsets): delete function
2767 2003-05-22 Angus Leeming <leeming@lyx.org>
2769 * latexrunparams.h: add a free_spacing variable.
2771 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2772 to pass moving_arg, as the data is stored in runparams.fragile.
2774 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2775 to Inset::latexOptional or to simpleTeXOnePar.
2777 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2778 free_spacing arg to Inset::latexOptional.
2780 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2783 2003-05-22 Angus Leeming <leeming@lyx.org>
2785 * latexrunparams.h: add fragile and use_babel variables.
2787 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2788 * buffer.C (makeLaTeXFile): store this returned value in
2789 runparams.use_babel, thus passing it to the inset::latex methods.
2791 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2792 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2794 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2795 longer has a fragile arg, as it is stored in runparams.fragile.
2797 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2798 moving_arg parameter as the data is stored in runparams.fragile.
2800 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2801 a fragile parameter as the data is stored in runparams.fragile.
2803 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2805 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2807 2003-05-22 Angus Leeming <leeming@lyx.org>
2809 * latexrunparams.h: add a 'bool nice' which defaults to false.
2811 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2812 now encapsulated within runparams.
2814 * bufferlist.C (updateIncludedTeXfiles):
2815 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2817 2003-05-22 Angus Leeming <leeming@lyx.org>
2819 * latexrunparams.h: new file containing struct LatexRunParams.
2820 * Makefile.am: add new file.
2822 * LaTeX.[Ch] (c-tor, run):
2823 * buffer.[Ch] (makeLaTeXFile):
2824 * bufferlist.[Ch] (updateIncludedTeXfiles):
2825 * converter.C (convert, scanLog):
2826 * converter.[Ch] (runLaTeX):
2827 * exporter.C (Export):
2828 * paragraph.[Ch] (simpleTeXOnePar):
2829 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2830 * paragraph_funcs.[Ch] (latexParagraphs):
2831 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2832 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2833 pass around a LatexRunParams parameter.
2835 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2837 * paragraph.[Ch]: remove unused constructor
2839 * ParagraphList.C (erase): new function, taking two iterators
2841 2003-05-22 André Pönitz <poenitz@gmx.net>
2843 * undo_funcs.C: remove duplicated code
2845 * iterator.[Ch]: operator=
2847 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2849 * tabular.C (SetMultiColumn): ws changes
2851 * rowpainter.C (paintFirst): get rid of a ->previous
2853 * lyx_cb.C (getPossibleLabel): parlist simplification
2855 * BufferView.C (ChangeInsets): simplify slightly.
2857 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2859 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2860 * lfuns.h: new LFUN_SPACE
2861 * lyxfunc.C: protected space has a new lfun
2862 * paragraph_funcs.C: read new space insets
2864 * factory.C: handle new space insets
2866 2003-05-22 André Pönitz <poenitz@gmx.net>
2869 * BufferView_pimpl.C:
2872 * undo_funcs.C: return a ParIterator from getParFromID.
2874 * iterators.[Ch]: add two const's
2876 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2878 * toc.C (getTocList): adjust
2880 * iterators.[Ch]: rework for parlist
2882 * buffer.C (par_iterator_begin): adjust
2883 (par_iterator_end): adjust
2885 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2887 * BufferView.C (removeAutoInsets): adjust
2888 (ChangeInsets): adjust
2890 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2892 * text.C (top_y): fix bug 1110
2894 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2896 * errorlist.[Ch]: added
2899 * BufferView_pimpl.C:
2900 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2903 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2905 * Makefile.am: ensure that lyx is relinked upon changes to the
2906 various "convenience" libs.
2908 2003-05-20 Angus Leeming <leeming@lyx.org>
2910 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2911 files are compiled in alphabetical order again.
2913 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2915 2003-05-19 Angus Leeming <leeming@lyx.org>
2917 * gettext.[Ch]: remove "char const * _(char const *)".
2919 2003-05-19 André Pönitz <poenitz@gmx.net>
2921 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2930 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2932 2003-05-19 André Pönitz <poenitz@gmx.net>
2936 * lyxtextclass.[Ch]:
2938 * paragraph_funcs.[Ch]:
2940 * text3.C: more insetenv work
2942 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2944 * ParagraphParameters.C (params2string): small bug fixed
2946 2003-05-16 André Pönitz <poenitz@gmx.net>
2949 * bufferview_funcs.C: patch from Kornel Benko to prevent
2950 crash when _(...) is called twice in a statement
2952 2003-05-16 André Pönitz <poenitz@gmx.net>
2959 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2961 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2963 * lyx_main.C (init): remove spurious static_cast
2965 2003-05-14 André Pönitz <poenitz@gmx.net>
2967 * BufferView.C: fix format string
2969 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2971 * BufferView.[Ch] (insertErrors): removed
2972 * BufferView.[Ch] (showErrorList): added
2973 * buffer.C (runChkTeX):
2974 * converter.C (scanLog): call showErrorList instead of inserterrors
2976 2003-05-13 André Pönitz <poenitz@gmx.net>
2978 * BufferView_pimpl.C:
2980 * bufferview_func.C:
2987 * tabular_funcs.h: tostr() from its own header
2989 * ParagraphParameters.C:
2994 * text3.C: STRCONV()
2996 2003-05-12 André Pönitz <poenitz@gmx.net>
2999 * BufferView_pimpl.C:
3003 * ParagraphParameters.C:
3007 * bufferview_funcs.C:
3020 * paragraph_funcs.C:
3024 * text3.C: boost::format -> bformat all over the place
3027 2003-05-09 André Pönitz <poenitz@gmx.net>
3029 * LColor.[Ch]: Pimpl the #include <map> away
3031 2003-05-09 John Levon <levon@movementarian.org>
3033 * bufferlist.C: never remove emergency saves
3035 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3037 * Makefile.am: better lib building
3039 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3041 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3043 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3044 (simpleTeXSpecialChars): adjust
3045 (simpleTeXSpecialChars): adjust
3046 * paragraph.C (simpleTeXOnePar): adjust
3047 * buffer.C (makeLaTeXFile): adjust
3049 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3051 * text2.C (changeDepth): parlist cleanup
3052 (getColumnNearX): ditto
3054 * rowpainter.C (getLabelFont): parlist cleanup
3056 * bufferlist.C (newFile): parlist cleanup
3058 * CutAndPaste.C (eraseSelection): parlist cleanup
3060 * BufferView_pimpl.C (trackChanges): parlist cleanup
3063 * BufferView.C (lockInset): parlist cleanup.
3064 (ChangeInsets): ditto
3066 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3068 * CutAndPaste.h: Update file header.
3070 * CutAndPaste.C: Update file header.
3071 Store the parts cut out of the Document in a limited_stack.
3072 (copySelection): adjust
3073 (pasteSelection): new function, takes the index in the limited stack.
3074 (nrOfParagraphs): adjust
3075 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3076 simplify error inset insertion.
3077 (checkPastePossible): adjust
3079 2003-05-06 John Levon <levon@movementarian.org>
3081 * text2.C: don't cast wrap inset to float
3083 2003-05-05 André Pönitz <poenitz@gmx.net>
3086 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3088 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3089 few naked Paragraph *.
3091 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3093 * bufferparams.C: Output warning if a document with missing
3094 TeX document class is loaded
3095 * exporter.C: Disable TeX exports if the document class is missing
3098 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3099 isTeXClassAvailable()
3101 2003-05-03 John Levon <levon@movementarian.org>
3104 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3105 explicit cursor show/hide
3107 * BufferView_pimpl.h:
3108 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3109 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3111 * lyxfunc.C: hide cursor before dispatching.
3116 * text3.C: remove explicit cursor hides
3118 2003-05-02 André Pönitz <poenitz@gmx.net>
3120 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3123 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3126 * text2.C: tiny whitespace
3128 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3130 * undo_funcs.C: almost only ws changes.
3132 * ParagraphList.C (splice): just return if pl is empty.
3134 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3136 * ParagraphList.C (splice): new function.
3138 * CutAndPaste.C (pasteSelection): use it
3140 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3142 * CutAndPaste.C (pasteSelection): remove the last next and
3143 previous from this file.
3145 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3147 * CutAndPaste.C (pasteSelection): more clean up, user proper
3148 ParagraphList functions for pasteing.
3150 * ParagraphList.C (insert): new function, three arg insert
3152 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3154 * ParagraphList.C (insert): new function, three arg insert
3156 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3159 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3161 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3163 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3165 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3167 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3169 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3170 (copySelection): clean up a bit.
3171 (pasteSelection): use make_pair
3173 * ParagraphList.C (ParagraphList): implement copy constructor
3174 (operator=): implement, base on copy constructor.
3177 * paragraph.C (erase): return a bool
3179 * paragraph_pimpl.C (erasePos): remove function, move contents...
3180 (erase): ... here. Return a bool.
3181 (erase): call erase instead of erasePos.
3183 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3185 * ParagraphList.h: define PitPosPair
3186 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3187 ParagraphList, fix a bug on pasting multiple pars
3188 * text2.C: change interface to C&P
3190 2003-04-30 André Pönitz <poenitz@gmx.net>
3192 * undo_func.C: revert part of yesterday's patch 2
3194 2003-04-30 John Levon <levon@movementarian.org>
3196 * LColor.C: s/tabular/table/
3198 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3200 * text3.C (dispatch): do not convert iterator -> pointer
3201 * undo_funcs.C (setCursorParUndo): ditto
3202 * text_funcs.C (transposeChars): ditto
3204 * text2.C (setLayout): ws changes only
3206 * text.C (breakParagraph): do not convert iterator -> pointer
3208 (acceptChange): ditto
3209 (rejectChange): ditto
3214 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3217 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3219 * text3.C (gotoInset): YABG (yet another bad getChar)
3221 2003-04-29 André Pönitz <poenitz@gmx.net>
3223 * paragraph.h: make operator= private unimplemented as long as
3226 * ParagraphList.C: whitespace
3229 * paragraph_pimpl.[Ch]:
3230 * paragraph_funcs.C:
3232 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3235 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3237 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3239 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3240 * paragraph.[Ch] (erase):
3241 * paragraph_pimpl.[Ch] (erase): change return type and value
3242 * text2.C (cutSelection): some rework
3244 2003-04-28 John Levon <levon@movementarian.org>
3246 * bufferlist.C: changes for unsaved changes dialog
3248 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3250 * bufferlist.C (newFile): set language (messages_) for new
3253 * buffer.C (readFile): ws changes only.
3255 2003-04-28 André Pönitz <poenitz@gmx.net>
3260 * BufferView_pimpl.C:
3261 * BufferView.C: getParFromID related ParagraphList::iterator changes
3263 2003-04-28 André Pönitz <poenitz@gmx.net>
3265 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3268 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3270 * messages.C: remove one more localedir class variable.
3272 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3274 * messages.C (getLocaleDir): singleton generation function
3276 (Messages): add a default constructor.
3278 * main.C (main): do not setup localedir here, do not call
3281 * gettext.C (_): use it.
3282 (gettext_init): delete funciton
3284 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3286 * gettext.C (getLyXMessages): new singleton generating function.
3288 * buffer.C (updateDocLang): adjust
3290 * Makefile.am (messages.o): add target
3291 (main.o): remove target
3293 2003-04-27 John Levon <levon@movementarian.org>
3298 * lyxvc.C: specify cancel button in Alert::prompt
3300 2003-04-26 John Levon <levon@movementarian.org>
3305 * LyXAction.C: add LFUN_INSET_SETTINGS
3307 * lyxfunc.C: don't enable tabular-feature when there's
3308 just any locking inset
3310 2003-04-26 John Levon <levon@movementarian.org>
3312 * bufferlist.C: re-add Cancel to buffer close question
3314 * lyxfunc.C: fix import UI a bit
3316 2003-04-25 John Levon <levon@movementarian.org>
3318 * gettext.C: remove the broken asserts for now
3320 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3322 * messages.C: make case where setlocale cannot comply work better.
3324 * buffer.C (updateDocLang): new function
3325 (changeLanguage): use it
3328 * text2.C (setCounter): use B_ a bit.
3330 * lyxlayout.C (Read): be sure to trim the label strings.
3332 * messages.C (Messages): fix typo in comment
3334 * buffer.C (readFile): set message_ after file is loaded.
3335 (makeDocBookFile): remove double return
3336 (changeLanguage): reset message_ upon language change.
3337 (B_): new func, use this to get translated buffer strings.
3339 * main.C: add myself and Jean Marc as authors.
3341 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3343 * messages.[hC]: pimplify Messages, and three different pimpls to be
3344 used in different circumstances.
3346 * gettext.[Ch]: change for use with new message code.
3348 2003-04-24 André Pönitz <poenitz@gmx.net>
3350 * factory.C: support for eqref
3352 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3354 * messages.[Ch]: add missing char
3356 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3358 * messages.[Ch]: New files
3360 2003-04-18 John Levon <levon@movementarian.org>
3364 * BufferView_pimpl.C:
3368 * text2.C: remove layout-copy/paste (bug 778)
3370 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3372 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3374 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3376 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3377 if they succeed. Act accordingly.
3379 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3381 * text2.C (setCharFont): adjust
3382 (setCounter): adjust
3383 (insertStringAsLines): adjust
3385 * text.C (leftMargin): adjust
3386 (setHeightOfRow): adjust
3388 * rowpainter.C (paintFirst): adjust
3391 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3393 (isFirstInSequence): ditto
3394 (getEndLabel): ditto
3397 * paragraph.C (getParLanguage): comment out some hard stuff.
3399 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3401 (simpleDocBookOnePar): ditto
3402 (makeDocBookFile): use ParagraphList::iterator
3404 * CutAndPaste.C (pasteSelection): adjust
3406 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3408 * text2.C (getFont): adjust
3409 (getLayoutFont): adjust
3410 (getLabelFont): adjust
3412 * paragraph_funcs.C (TeXOnePar): adjust
3414 * buffer.C (simpleLinuxDocOnePar): adjust
3415 (simpleDocBookOnePar): adjust
3417 * CutAndPaste.C (pasteSelection): adjust
3419 * BufferView.C (getEncoding): adjust
3421 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3423 2003-04-16 John Levon <levon@movementarian.org>
3425 * lyxfind.C: use parlist stuff for search/changes
3427 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3429 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3431 * text2.C (deleteEmptyParagraphMechanism): adjust
3433 * text2.[Ch] (ownerParagraph): delete func (both of them
3435 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3437 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3439 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3441 * ParagraphList.C: prepare for NO_NEXT
3443 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3445 * text2.C (getFont): adjust
3446 (getLayoutFont): adjust
3447 (getLabelFont): adjust
3449 * paragraph.C (getFont): adjust
3450 (getLabelFont): adjust
3451 (getLayoutFont): adjust
3453 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3455 2003-04-15 John Levon <levon@movementarian.org>
3459 * lyx_main.C: handle Include in .ui files
3461 2003-04-15 John Levon <levon@movementarian.org>
3463 * MenuBackend.C: make the doc files length shorter
3466 * ToolbarBackend.C: handle toolbar placement flags,
3469 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3471 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3474 * paragraph_funcs.C (TeXOnePar): adjust
3476 * paragraph.C (getLabelFont): add outerfont arg, adjust
3477 (getLayoutFont): ditto
3478 (simpleTeXOnePar): adjust
3480 * paragraph_pimpl.C (realizeFont): delete func
3482 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3484 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3485 row argument, constify cur argument.
3487 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3489 * text2.C (getFont): adjust
3490 (getLayoutFont): adjust
3491 (getLabelFont): adjust
3493 * paragraph_funcs.C (TeXOnePar): adjust
3494 (outerFont): new func...
3495 (realizeFont): ...moved out from here, changed this to facilitate
3498 * paragraph.C (getFont): take outerfont as arg, adjust
3499 (simpleTeXOnePar): add outerfont arg, adjust
3501 * buffer.C (simpleLinuxDocOnePar): adjust
3502 (simpleDocBookOnePar): adjust
3504 * CutAndPaste.C (pasteSelection): adjust
3506 * BufferView.C (getEncoding): adjust
3508 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3510 * text2.C (setCharFont): adjust
3511 (setCounter): adjust
3513 * text.C (leftMargin): adjust
3514 (setHeightOfRow): adjust
3516 * rowpainter.C (paintFirst): adjust
3519 * paragraph_pimpl.C (realizeFont): adjust
3521 * paragraph.C (isFirstInSequence): move from here...
3522 * paragraph_funcs.C (isFirstInSequence): ...to here
3524 * paragraph.C (outerHook): move from here...
3525 * paragraph_funcs.C (outerHook): ...to here
3527 * paragraph.C (depthHook): move from here...
3528 * paragraph_funcs.C (depthHook): ...to here
3530 * paragraph.C (getEndLabel): move from here...
3531 * paragraph_funcs.C (getEndLabel): ...to here
3533 * text2.C (realizeFont): move from here...
3534 * paragraph_funcs.C (realizeFont): ...to here
3536 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3538 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3540 2003-04-14 Angus Leeming <leeming@lyx.org>
3542 * LColor.[Ch]: scrap LColor mathcursor.
3544 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3546 * lyxlex.[Ch] (text): delete function
3547 * trans.C (Load): adjust
3548 * paragraph_funcs.C (readParToken): adjust
3550 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3552 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3553 vector<char> instead of a char[].
3555 * lyxlex_pimpl.C (getString): adjust
3557 (lex): use getString
3561 * lyxlex.C (text): use pimpl_->getString()
3565 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3567 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3568 (makeFontEntriesLayoutSpecific): temp var for par.size()
3569 (setLayout): temp var for ownerParagraphs().end()
3570 (fullRebreak): temp var for rows().end()
3571 (selectionAsString): temp var for boost::next(startpit), realize
3572 that the while really is a regular for loop.
3573 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3574 setCursor in one place.
3575 (setParagraph): temp vr for ownerParagraphs().end()
3576 (updateCounters): make the while loop a for loop
3577 (cutSelection): temp var for ownerParagraphs().end()
3578 (updateInset): make the do {} while() a regular for loop
3579 (getCursorX): use temp vars
3580 (setCurrentFont): use temp vars
3581 (getColumnNearX): use temp vars
3583 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3585 * text.C (transformChar): use temp var for getChar
3586 (computeBidiTables): use temp var for row->par()
3587 (fill): move temp vars for row->par() and pit->layout() earlier in
3589 (labelFill): use temp var for row->par()
3590 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3591 asc and desc, realize that pit never changes and that firstpit is
3592 just a duplicate and not needed. Exchange rit->par() with pit in a
3594 (breakAgain): use a temp var for boost::next(rit)
3595 (breakAgainOneRow): ditto
3596 (breakParagraph): use a temp var for rows().begin()
3597 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3598 (cursorRightOneWord): use temp var for cursor.par() and
3599 cursor.pos(), remove usage of tmpcursor.
3600 (cursorLeftOneWord): use temp var for cursor.par() and
3601 cursor.pos() only set cur at end of function.
3603 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3605 * text.C, text2.C: exchange all usage of Paragraph::next with
3606 boost::next(ParagraphList::iterator)
3608 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3610 * text2.C (cursorTop): simplify implementation
3611 (cursorBottom): ditto
3612 (setParagraph): use ParagraphList::iterator
3613 (setCurrentFont): adjust
3614 (getColumnNearX): adjust
3615 (cursorRight): adjust
3616 (cursorLeft): remove usage of Paragraph::previous
3617 (cursorUpParagraph): ditto
3618 (deleteEmptyParagraphMechanism): slight cleanup
3620 * text.C (isBoundary): take a Paragraph const & instead of a
3622 (addressBreakPoint): ditto
3623 (leftMargin): remove usage of Paragraph::previous.
3624 (setHeightOfRow): ditto
3625 (cursorLeftOneWord): ditto
3626 (selectNextWordToSpellcheck): ditto
3629 (breakParagraph): remove one usage of Paragraph::next
3630 (redoParagraph): ditto
3631 (acceptChange): ditto
3632 (insertChar): adjust
3633 (rowBreakPoint): adjust
3635 * bufferview_funcs.C (toggleAndShow): adjust
3637 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3639 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3640 methods to access it.
3642 * text.C: Added updateRowPositions to compute all row positions.
3643 Make top_y and getRowNearY() to use the cached y position
3645 2003-04-11 John Levon <levon@movementarian.org>
3647 * text.C (rowBreakPoint): reintroduce the labelEnd
3648 checks, code copied from the row fill stuff. Deep voodoo.
3650 * text.C (fill): add a comment and debugging for the
3653 2003-04-11 John Levon <levon@movementarian.org>
3655 * text.C: make sure fullrow insets get wrapped to the next line,
3656 even when they're in a manual label
3658 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3660 * text2.C (insertParagraph): make it take ParagraphList::iterator
3662 (setLayout): make it return ParagraphList::iterator
3663 (redoParagraphs): ditto
3665 (checkParagraph): ditto
3667 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3669 * text2.C: adjust several funcs.
3670 (realizeFont): take a ParagraphList::iterator as arg.
3671 (getLayoutFont): ditto
3672 (getLabelFont): ditto
3673 (setCharFont): ditto
3675 * text.C: adjust several funcs.
3677 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3679 * text.C (selectNextWordToSpellcheck): don't accidentally
3682 2003-04-10 John Levon <levon@movementarian.org>
3684 * ToolbarBackend.C (getIcon): special handling for
3687 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3689 * text2.C (cursorRight): a getChar assert fixed
3691 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3693 * text2.C (getFont): change to take a ParagraphList::iterator
3694 instead of Paragraph*
3695 Adjust several functions.
3697 * text.C (transformChar): change to take a ParagraphList::iterator
3698 instead of Paragraph*
3699 (singleWidth): ditto
3700 Adjust several functions.
3702 * rowpainter.C: adjust several functions
3703 * rowpainter.h:store a ParagraphList::iterator and not a
3707 2003-04-09 John Levon <levon@movementarian.org>
3712 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3713 and the "help" bits as well
3715 2003-04-09 John Levon <levon@movementarian.org>
3718 * ToolbarBackend.C: allow multiple toolbars
3720 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3722 * undo_funcs.C (setCursorParUndo): adjust
3724 * text_funcs.C (transposeChars): adjust
3726 * text3.C (gotoNextInset): adjust
3729 * text2.C (setLayout): adjust
3730 (changeDepth): adjust
3732 (redoParagraphs): adjust
3733 (selectionAsString): adjust
3734 (setParagraph): adjust
3735 (insertInset): adjust
3736 (cutSelection): adjust
3737 (copySelection): adjust
3738 (pasteSelection): adjust
3739 (insertStringAsLines): adjust
3740 (updateInset): adjust
3741 (setCursor): change to take a ParagraphList::iterator parameter
3742 (setCursorIntern): change to take a ParagraphList::iterator parameter
3743 (setCurrentFont): adjust
3744 (cursorLeft): adjust
3745 (cursorRight): adjust
3746 (deleteEmptyParagraphMechanism): adjust
3748 * text.C (breakParagraph): adjust
3749 (insertChar): adjust
3750 (acceptChange): adjust
3751 (rejectChange): adjust
3752 (selectNextWordToSpellcheck): adjust
3753 (changeCase): adjust
3757 * lyxfind.C (SearchForward): adjust
3758 (SearchBackward): adjust
3759 (nextChange): adjust
3761 * lyxcursor.C (par): adjust
3763 * lyxcursor.h: store a ParagraphList::iterator instead of a
3766 * lyx_cb.C (getPossibleLabel): adjust
3768 * bufferview_funcs.C (toggleAndShow): adjust
3770 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3773 * BufferView.C (removeAutoInsets): adjust
3774 (lockedInsetStoreUndo): adjust
3776 2003-04-09 John Levon <levon@movementarian.org>
3778 * ToolbarBackend.C: try icon without argument
3779 if with argument fails
3781 2003-04-08 John Levon <levon@movementarian.org>
3784 * ToolbarBackend.C: add getIcon(), handle tooltip,
3785 and change from "Icon" to "Item".
3787 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3789 * BufferView.C (lockInset): another bad getchar crunched
3791 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3793 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3796 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3798 * lyxfind.C (searchForward, searchBackwards): bug 782
3800 2003-04-07 John Levon <levon@movementarian.org>
3802 * paragraph.C: remove dead comment
3804 * text.C: remove troublesome depth-fiddling code
3805 in leftMargin() and rightMargin() (bug 1017)
3807 * text.C: fix breaking of rows in nested lists
3810 * text2.C (updateCounters): fix up depth values
3813 2003-04-07 John Levon <levon@movementarian.org>
3815 * BufferView_pimpl.C: clear message when doc finishes resizing,
3816 and after a mouse event
3818 * lyxfunc.C: clear message after exiting inset
3820 2003-04-07 John Levon <levon@movementarian.org>
3822 * bufferview_funcs.C: show math status not outside
3823 status in the statusbar
3825 2003-04-07 John Levon <levon@movementarian.org>
3827 * lyxfunc.C: note status changed after a depth change
3829 2003-04-04 Angus Leeming <leeming@lyx.org>
3831 * LaTeX.h: move AuxInfo operator==, != out of line.
3832 Remove LaTeX virtual destructor; nothing derives from it.
3833 Move operator()() out of public area and rename it startscript().
3834 Change protected for private.
3836 2003-04-04 Angus Leeming <leeming@lyx.org>
3839 * text2.C: remove unneeded #includes.
3841 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3843 * text2.C (dEPM): fix the heigth of the next row
3845 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3847 * text.C: squashed an invalid getChar requester + some ws changes
3849 2003-04-03 John Levon <levon@movementarian.org>
3851 * bufferview_funcs.h:
3852 * bufferview_funcs.C:
3855 * text2.C: make getStatus work for the env depth lfuns
3857 2003-04-03 John Levon <levon@movementarian.org>
3859 * bufferview_funcs.h:
3860 * bufferview_funcs.C:
3863 * text2.C: parlistize decDepth(), by merging it with incDepth()
3865 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3867 * lyxrow.h: store a ParagraphList::iterator instead of a
3868 Paragraph* and adjust other class functions to suit.
3870 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3873 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3875 * text2.C (setCursor): do not anchor to cursor row for the time being
3877 2003-04-02 John Levon <levon@movementarian.org>
3884 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3886 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3888 * paragraph.h: make ParagraphList and ParagraphList::iterator
3889 friends of Paragraph.
3891 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3893 * ParagraphList.C: Use the private next_ and previous_ from
3896 2003-04-01 John Levon <levon@movementarian.org>
3900 * Makefile.am: rename, remove defaults gunk
3903 * MenuBackend.C: remove defaults gunk
3906 * Languages.C: remove defaults gunk
3909 * lyx_main.C: error out if files couldn't be found.
3911 2003-04-02 John Levon <levon@movementarian.org>
3913 * text2.C: make incDepth() use parlist
3915 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3917 * undo_funcs.C (firstUndoParagraph): adjust
3919 * text3.C (gotoInset): adjust
3920 (dispatch): adjust, and rewrite loop.
3922 * text2.C (init): adjust, and rewrite loop.
3923 (redoParagraphs): adjust
3924 (updateInset): adjust, and rewrite loop.
3925 (deleteEmptyParagraphMechanism): adjust
3927 * tabular.C (LyXTabular): adjust
3928 (SetMultiColumn): adjust
3931 * lyxtext.[Ch] (ownerParagraph): delete function
3932 (ownerParagraphs): new function returns a ParagraphList.
3934 * BufferView.C (removeAutoInsets): adjust
3935 (insertErrors): adjust
3936 (setCursorFromRow): adjust
3938 2003-04-01 Angus Leeming <leeming@lyx.org>
3940 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3943 2003-04-02 John Levon <levon@movementarian.org>
3949 * text_funcs.C: make transposeChars a free function
3951 * lyxrow_funcs.C: remove wrong comment
3953 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3956 * rowpainter.C: adjust
3961 * lyxrow_funcs. [Ch]: new files
3963 * lyxrow.[Ch]: remove next and previous pointers
3964 (next,previous): remove accessor functions
3965 (isParEnd): move to lyxrow_funcs
3966 (lastPos): move to lyxrow_funcs
3967 (nextRowIsAllInset): move to lyxrow_funcs
3968 (lastPrintablePos): move to lyxrow_funcs
3969 (numberOfSeparators): move to lyxrow_funcs
3970 (numberOfHfills): move to lyxrow_funcs
3971 (numberOfLabelHfills): move to lyxrow_funcs
3972 (hfillExpansion): move to lyxrow_funcs
3976 * bufferview_funcs.C (toggleAndShow): adjust
3978 * RowList.h: Remove class RowList from file leave just a
3981 * RowList.C: delete file
3983 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3986 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3988 * text3.C (cursorPrevious): adjust
3989 (cursorNext): adjust
3992 * text2.C (redoHeightOfParagraph): adjust
3993 (redoDrawingOfParagraph): adjust
3996 * text.C (breakParagraph): adjust
3997 (insertChar): adjust
4000 * rowpainter.C (RowPainter): adjust
4001 (leftMargin): simplify and adjust
4002 (most rowpainter functions): adjust.
4004 * rowpainter.h: store the row as RowList::iterator not as Row*
4006 * lyxcursor.C (row): taka RowList::iterator as arg
4009 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4012 2003-04-01 Angus Leeming <leeming@lyx.org>
4014 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4015 stuff like bool Bool.
4017 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4019 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4022 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4024 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4027 * lyxtext.h (rows): drop one version and leve a const variant that
4028 returns a RowList::iterator.
4030 2003-03-31 Angus Leeming <leeming@lyx.org>
4032 * text.C (fill): ensure that the signature is the same as that in the
4035 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4037 * text2.C (redoParagraphs): adjust
4038 (updateCounters): adjust
4039 (checkParagraph): adjust
4040 (getColumnNearX): adjust and reformat a bit.
4042 * text.C (top_y): adjust
4044 (leftMargin): adjust
4045 (prepareToPrint): adjust
4047 (getRowNearY): adjust
4049 * lyxtext.h: make rowlist_ mutable.
4051 * RowList.h: add const_iterator
4052 * RowList.C: adjust for RowList::const_iterator.
4054 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4057 2003-03-31 John Levon <levon@movementarian.org>
4060 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4062 * lyx_main.C: set default fonts from using lyx_gui funcs
4064 * exporter.C: pdf_mode moved from lyxrc
4067 * lyxfunc.C: changes from above
4069 2003-03-31 John Levon <levon@movementarian.org>
4071 * lyx_main.C: fix to the last fix
4073 2003-03-31 John Levon <levon@movementarian.org>
4075 * bufferlist.C: "Load original" -> "Load Original"
4081 * format.C: more Alert cleanups
4083 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4085 * text2.C (removeParagraph): make it take a RowList::iterator as
4087 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4088 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4090 * text.C (anchor_row): make it take a RowList::iterator as arg,
4092 (computeBidiTables): make it take a const reference to Row instead
4093 of Row pointer, adjust.
4094 (leftMargin): make it take a RowList::iterator as arg, adjust.
4095 (rowBreakPoint): adjust
4096 (breakAgainOneRow): make it take a RowList::iterator as arg,
4098 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4100 * bufferview_funcs.C (toggleAndShow): adjust
4102 2003-03-30 John Levon <levon@movementarian.org>
4106 * boost-inst.C: moved to support
4108 * several files: changes as a result
4110 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4112 * text2.C (LyXText): adjust.
4114 (removeRow): make it take a RowList::iterator as arg, adjust.
4115 (fullRebreak): adjust
4116 (deleteEmptyParagraphMechanism): adjust
4117 (clearPaint): adjust
4120 * text.C (top_y): adjust
4121 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4122 (breakAgain): make it take a RowList::iterator as arg, adjust.
4123 (breakParagraph): adjust
4124 (insertChar): adjust
4127 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4128 need_break_row, and refresh_row.
4130 * text3.C (dispatch): adjust
4132 * text2.C (checkParagraph): adjust
4134 (setCursorFromCoordinates): adjust
4136 * text.C (top_y): adjust
4138 (getRow): make it return a RowList::iterator, adjust
4139 (getRowNearY): make it return a RowList::iterator, adjust
4141 * text2.C (init): adjust
4142 (insertRow): remove function
4143 (insertParagraph): adjust
4144 (redoParagraphs): adjust
4145 (fullRebreak): adjust
4146 (updateCounters): adjust
4148 * text.C (top_y): rewrite to use RowList iterators.
4150 (setHeightOfRow): rewrite to sue RowList iterators.
4151 (appendParagraph): adjust
4152 (breakAgain): adjust
4153 (breakAgainOneRow): adjust
4154 (breakParagraph): adjust
4156 (getRowNearY): adjust, and remove commented code.
4158 * lyxtext.h (firstRow): delete function
4159 (lastRow): delete function
4160 (rows): new function (const and non-const versions.)
4161 (insertRow): delete function
4163 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4165 2003-03-29 John Levon <levon@movementarian.org>
4167 * BufferView_pimpl.C: always update scrollbar top
4168 because pasting text when we're anchored could mean we
4169 miss an update altogether
4171 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4173 * text2.C (init): use rowlist_.end() and not 0.
4174 (insertRow): change to take a RowList::iterator as arg, adjust
4176 (insertParagraph): change to take a RowList::iterator as arg,
4178 (redoParagraphs): remove some debug msgs.
4180 * text.C (appendParagraph): change to take a RowList::iterator
4181 arg, adjust for this.
4182 (breakAgain): add an assert
4183 (breakAgainOneRow): ditto
4185 2003-03-29 John Levon <levon@movementarian.org>
4187 * text2.C: do not clear selection after inc/decDepth
4190 2003-03-29 John Levon <levon@movementarian.org>
4193 * buffer.C: fix broken strerrors according to Lars
4195 2003-03-29 John Levon <levon@movementarian.org>
4197 * converters.C: more Alert cleanups
4199 2003-03-29 John Levon <levon@movementarian.org>
4201 * bufferview_funcs.C: remove pointless Alert
4203 * buffer.C: fix confusing error message when
4204 a template is chmoded 000
4206 2003-03-29 John Levon <levon@movementarian.org>
4210 * BufferView_pimpl.C: Alert fixes
4214 * tabular-old.C: remove unused table compat reading
4216 2003-03-29 John Levon <levon@movementarian.org>
4221 * lyx_cb.C: more Alert cleanups
4223 * lyxfunc.C: don't allow chktex if not latex document
4225 2003-03-29 John Levon <levon@movementarian.org>
4229 * buffer.C: warnings pushed down from support/,
4232 2003-03-29 John Levon <levon@movementarian.org>
4234 * lyxfunc.C: safety check for C-r (revert)
4236 2003-03-29 John Levon <levon@movementarian.org>
4239 * bufferlist.C: several UI fixes using Alert::prompt.
4240 Fix the pointless looping quit code. Fix stupid revert
4245 * lyx_cb.C: use Alert::prompt
4247 * lyx_main.C: remove a silly question
4249 * lyxfunc.C: remove a couple of silly questions,
4252 2003-03-28 John Levon <levon@movementarian.org>
4254 * text2.C: fix bug 974 (End on empty par)
4256 2003-03-28 John Levon <levon@movementarian.org>
4258 * BufferView_pimpl.C:
4260 * lfuns.h: remove do-nothing math greek lfuns
4262 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4264 * lyxgluelength.h (isValidGlueLength): add default arg on
4265 parameter 2. Remove default arg from friend in class.
4267 * lyxlength.h (isValidLength): add default arg on parameter 2.
4268 Remove default arg from friend in class.
4270 * text2.C (LyXText): adjust, initialize refresh_row.
4274 (insertParagraph): adjst
4275 (redoParagraphs): adjust
4276 (fullRebreak): adjust
4277 (updateCounters): adjust
4278 (deleteEmptyParagraphMechanism): first attempt at fixing a
4281 * text.C (top_y): adjust
4282 (setHeightOfRow): adjust
4284 (getRowNearY): adjust
4286 * lyxtext.h: include RowList.h
4287 (~LyXText): not needed anymore, deleted.
4288 (firstRow): modify for RowList
4289 (lastRow): new function
4290 Delete firstrow and lastrow class variables, add a Rowlist
4291 rowlist_ class variable.
4293 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4296 * RowList.C (insert): fix case where it == begin().
4298 2003-03-26 Angus Leeming <leeming@lyx.org>
4300 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4301 the thesaurus dialog.
4303 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4305 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4307 * RowList.[Ch]: new files
4309 * ParagraphList.C (erase): handle the case where it == begin
4312 2003-03-25 John Levon <levon@movementarian.org>
4316 * aspell.C: add new aspell support
4319 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4322 2003-03-25 Angus Leeming <leeming@lyx.org>
4325 * LyXAction.C (init): new LFUN_INSET_INSERT.
4327 * BufferView_pimpl.C (dispatch): split out part of the
4328 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4330 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4333 2003-03-25 Angus Leeming <leeming@lyx.org>
4335 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4337 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4340 * text3.C: remove useless row->height(0)
4342 2003-03-25 John Levon <levon@movementarian.org>
4346 * text3.C: rename the refreshing stuff to better names
4348 2003-03-24 John Levon <levon@movementarian.org>
4350 * BufferView_pimpl.h:
4351 * BufferView_pimpl.C: update layout choice on a mouse
4354 2003-03-23 John Levon <levon@movementarian.org>
4356 * Makefile.am: fix commandtags.h reference
4358 2003-03-22 John Levon <levon@movementarian.org>
4360 * BufferView_pimpl.C:
4365 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4367 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4370 * text.C: take the rtl methods out of line
4372 2003-03-21 André Pönitz <poenitz@gmx.net>
4374 * metricsinfo.[Ch]: new files containing structures to be passed around
4375 during the two-phase-drawing...
4377 2003-03-21 André Pönitz <poenitz@gmx.net>
4379 * lyxtextclass.C: read 'environment' tag.
4381 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4383 * text2.C (removeRow): fix bug 964
4385 2003-03-20 John Levon <levon@movementarian.org>
4389 * text2.C: paint cleanups. Inset::update() dropped font
4392 2003-03-19 John Levon <levon@movementarian.org>
4394 * lyxfunc.C: only fitcursor/markDirty if available()
4396 2003-03-19 John Levon <levon@movementarian.org>
4398 * commandtags.h: rename to ...
4400 * lfuns.h: ... this, and renumber / cleanup
4402 2003-03-19 John Levon <levon@movementarian.org>
4404 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4405 fit the cursor after an lfun
4409 * BufferView_pimpl.h:
4410 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4412 * LyXAction.C: layout-character should have ReadOnly
4414 * ParagraphParameters.C:
4416 * bufferview_funcs.C:
4423 * undo_funcs.C: changes from above
4425 2003-03-18 John Levon <levon@movementarian.org>
4427 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4428 remove it from update()
4430 * lyxfunc.C: update layout choice after an lfun
4432 * text3.C: remove extra updateLayoutChoice()s
4434 2003-03-18 John Levon <levon@movementarian.org>
4436 * text.C: top_y change means full repaint, fix
4437 a drawing bug with cursor movement
4439 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4443 * text2.C: anchor row on setCursor
4445 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4447 * lyxtext.h: remove almost all mutable keywords
4450 * text3.C: remove const keywords accordingly
4452 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4454 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4456 (TeXEnvironment): ditto
4459 2003-03-17 John Levon <levon@movementarian.org>
4461 * text.C (rowBreakPoint): remove attempt to fix displayed
4462 math insets inside a manual label
4464 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4466 * lyxtext.h: remove BufferView* as first arg from almost all class
4468 * other files: adjust.
4470 2003-03-17 John Levon <levon@movementarian.org>
4474 * text2.C: more paint cleanups
4476 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4479 * rowpainter.C: remove "smart" background painting code
4481 2003-03-16 John Levon <levon@movementarian.org>
4486 * text3.C: add helper functions for setting refresh_row/y
4488 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4490 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4491 newline inset which *can* get inserted in the pass_thru layouts.
4492 This is primarily for literate documents.
4494 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4496 * buffer.C: increment LYX_FORMAT to 223
4498 2003-03-14 André Pönitz <poenitz@gmx.net>
4500 * textclass.h: prepare for environment handling, ws changes
4501 * lyxlayout.C: read latexheader and latexfooter tags
4503 2003-03-14 John Levon <levon@movementarian.org>
4505 * text2.C: rewrite ::status() a bit
4507 2003-03-13 John Levon <levon@movementarian.org>
4509 * lyxtext.h: add some docs
4511 2003-03-13 John Levon <levon@movementarian.org>
4516 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4518 2003-03-13 John Levon <levon@movementarian.org>
4520 * text3.C: fix appendix redrawing
4522 2003-03-13 John Levon <levon@movementarian.org>
4524 * text.C (setHeightOfRow):
4526 * rowpainter.C: make appendix mark have the text
4527 "Appendix" so the user knows what it is
4530 * LColor.C: s/appendixline/appendix/ from above
4532 2003-03-13 John Levon <levon@movementarian.org>
4534 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4536 * text.C: fix a getChar(pos) bug properly
4538 2003-03-13 Angus Leeming <leeming@lyx.org>
4541 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4542 Probably only temporary. Let's see how things pan out.
4544 * BufferView.C (unlockInset):
4545 * BufferView_pimpl.C (fitCursor):
4546 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4548 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4549 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4551 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4552 new functions that convert ParagraphParameters to and from a string.
4554 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4555 BufferView::Pimpl's dispatch.
4556 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4558 2003-03-13 André Pönitz <poenitz@gmx.net>
4562 * factory.C: make it aware of InsetEnv
4564 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4566 * text2.C (setCursor): never ask for one past last
4567 (setCursor): add some debugging messages.
4569 * text.C (singleWidth): never ask for one past last
4570 (singleWidth): ditto
4572 (rightMargin): ditto
4573 (rowBreakPoint): ditto
4574 (setHeightOfRow): ditto
4575 (prepareToPrint): ditto
4577 * rowpainter.C (paintBackground): never ask for one past last
4578 (paintText): never ask for one past last
4580 * paragraph_pimpl.C (getChar): make the assert stricter, never
4581 allow the one past last pos to be taken
4583 * paragraph.C (getChar): ws changes only
4585 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4586 (numberOfSeparators): ditto
4587 (numberOfHfills): ditto
4589 2003-03-12 John Levon <levon@movementarian.org>
4595 * paragraph_funcs.C: fix per-buffer authorlists
4597 2003-03-12 John Levon <levon@movementarian.org>
4599 * text.C: fix newline in right address
4601 2003-03-12 Angus Leeming <leeming@lyx.org>
4603 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4604 duplicate those in LyXFunc::dispatch.
4608 * ToolbarDefaults.C:
4609 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4610 Add LFUN_FONTFREE_UPDATE.
4612 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4613 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4615 * bufferview_func.[Ch]: several new functions to facilliate
4616 transfer of data to and from the character dialog.
4618 2003-03-12 John Levon <levon@movementarian.org>
4623 * paragraph_funcs.C:
4624 * paragraph_pimpl.C:
4628 * text3.C: remove META_NEWLINE in favour of an inset
4631 * rowpainter.C: remove paintNewline (done by inset)
4633 2003-03-12 John Levon <levon@movementarian.org>
4635 * paragraph_pimpl.C: complain about bad getChar()s
4636 for a while at least
4638 2003-03-12 John Levon <levon@movementarian.org>
4641 * buffer.C: move paragraph read into a separate function,
4642 a little renaming to reflect that.
4645 * bufferparams.C: remove the author_ids map, not necessary now
4648 * factory.C: moved Buffer::readInset to here
4650 * paragraph_funcs.h:
4651 * paragraph_funcs.C: readParagraph free function moved from
4654 * tabular.C: name change
4656 2003-03-12 John Levon <levon@movementarian.org>
4659 * ParagraphParameters.C: move par params input to
4662 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4663 behave like a normal read from the stream wrt reading
4664 a line vs. a \\token
4666 2003-03-12 John Levon <levon@movementarian.org>
4669 * ParagraphParameters.h:
4670 * ParagraphParameters.C: move output code to a
4673 2003-03-12 John Levon <levon@movementarian.org>
4675 * BufferView.C (insertLyXFile):
4678 * tabular.C: use a parlist iterator for creating the
4681 2003-03-12 John Levon <levon@movementarian.org>
4683 * buffer.C: make current_change static local not
4686 2003-03-12 John Levon <levon@movementarian.org>
4688 * buffer.C: fix insertStringAsLines for change tracking
4690 2003-03-12 John Levon <levon@movementarian.org>
4697 * bufferparams.C: move author list into params. Rename some
4698 functions. Move the header reading into a separate token
4699 loop. Move the header token reading into BufferParams.
4701 2003-03-12 John Levon <levon@movementarian.org>
4703 * changes.C: put debug inside lyxerr.debugging() checks
4705 2003-03-11 André Pönitz <poenitz@gmx.net>
4707 * factory.C: make it aware of InsetHFill
4709 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4711 * buffer.C (latexParagraphs): move function from here...
4712 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4715 2003-03-10 Angus Leeming <leeming@lyx.org>
4717 * LyXAction.C (init): fix bug in poplating array with multiple entries
4718 with the same LFUN (spotted by JMarc).
4720 2003-03-10 John Levon <levon@movementarian.org>
4723 * text2.C: move getColumnNearX() near its
4726 2003-03-10 John Levon <levon@movementarian.org>
4728 * text.C: fix break before a minipage
4730 2003-03-10 John Levon <levon@movementarian.org>
4732 * text.C: fix the last commit
4734 2003-03-09 John Levon <levon@movementarian.org>
4738 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4739 bug 365 (don't break before insets unless needed). Don't
4740 return a value > last under any circumstances.
4742 2003-03-09 Angus Leeming <leeming@lyx.org>
4744 * BufferView_pimpl.C (trackChanges, dispatch): call
4745 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4747 2003-03-09 Angus Leeming <leeming@lyx.org>
4749 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4750 than Dialogs::showAboutlyx().
4752 2003-03-09 Angus Leeming <leeming@lyx.org>
4754 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4755 than Dialogs::showTabularCreate().
4757 2003-03-09 John Levon <levon@movementarian.org>
4761 * text2.C: 3rd arg to nextBreakPoint was always the same.
4764 2003-03-08 John Levon <levon@movementarian.org>
4771 * text2.C: Remove the "main" bit from the "main body"
4774 2003-03-08 John Levon <levon@movementarian.org>
4776 * text.C (leftMargin): The left margin of an empty
4777 manual label paragraph should not include the label width
4780 * text.C (prepareToPrint): don't attempt to measure hfills
4781 for empty manual label paragraphs - the answer should be 0
4783 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4785 * CutAndPaste.C: remove commented code and reindent.
4787 2003-03-08 John Levon <levon@movementarian.org>
4790 * lyxfunc.C: move reloadBuffer()
4793 * BufferView.C: to here
4795 * lyxvc.C: add comment
4798 * vc-backend.C: call bv->reload() to avoid
4799 getStatus() check on MENURELOAD
4801 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4803 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4804 to an old format .dep file.
4806 2003-03-07 Angus Leeming <leeming@lyx.org>
4808 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4809 when the LFUN_MOUSE_RELEASE should have been handled by
4810 inset->localDispatch.
4812 2003-03-07 Angus Leeming <leeming@lyx.org>
4814 * BufferView_pimpl.C (dispatch):
4815 * LyXAction.C (init):
4816 * ToolbarDefaults.C (init):
4818 * lyxfunc.C (getStatus):
4819 remove LFUN_INSET_GRAPHICS.
4821 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4823 2003-03-07 Angus Leeming <leeming@lyx.org>
4826 * LyXAction.C (init):
4827 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4829 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4832 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4834 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4835 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4837 2003-03-07 Angus Leeming <leeming@lyx.org>
4839 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4842 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4844 * ParagraphList.C (front): new function
4847 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4849 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4850 and top_row_offset_. removed var first_y.
4852 * text2.C (LyXText, removeRow):
4854 * BufferView_pimpl.C:
4855 use these methods instead of using first_y
4857 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4859 * text2.C (pasteSelection): adjust for checkPastePossible
4861 * CutAndPaste.C: remove Paragraph * buf and replace with
4862 ParagraphList paragraphs.
4863 (DeleteBuffer): delete
4864 (cutSelection): change the tc type to textclass_type
4865 (copySelection): change the tc type to textclass_type
4866 (copySelection): adjust for ParagraphList
4867 (pasteSelection): change the tc type to textclass_type
4868 (pasteSelection): adjust for Paragraphlist
4869 (nrOfParagraphs): simplify for ParagraphList
4870 (checkPastePossible): simplify for ParagraphList
4871 (checkPastePossible): remove unused arg
4873 * ParagraphList.C (insert): handle the case where there are no
4876 * CutAndPaste.h: make CutAndPaste a namespace.
4878 * text3.C (dispatch): adjust
4880 * text.C (breakParagraph): add a ParagraphList as arg
4882 * paragraph_funcs.C (breakParagraph): change to take a
4883 BufferParams and a ParagraphList as args.
4884 (breakParagraphConservative): ditto
4885 (mergeParagraph): ditto
4886 (TeXDeeper): add a ParagraphList arg
4887 (TeXEnvironment): ditto
4890 * buffer.C (readLyXformat2): adjust
4891 (insertStringAsLines): adjust
4892 (latexParagraphs): adjust
4894 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4895 (cutSelection): adjust
4896 (pasteSelection): adjust
4898 * BufferView_pimpl.C (insertInset): adjust
4900 2003-03-05 Angus Leeming <leeming@lyx.org>
4903 * LyXAction.C (init):
4904 * BufferView_pimpl.C (dispatch):
4905 * lyxfunc.C (getStatus):
4906 remove LFUN_CHILD_INSERT.
4908 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4910 2003-03-05 Angus Leeming <leeming@lyx.org>
4913 * LyXAction.C (init):
4914 * src/factory.C (createInset):
4915 * lyxfunc.C (getStatus):
4916 * text3.C (dispatch):
4917 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4919 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4921 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4923 * ParagraphList.C (insert): handle insert right before end()
4924 (erase): fix cases where it can be first or last paragraph.
4926 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4928 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4929 Paragraph::next and Paragraph::previous
4932 * text.C (breakParagraph): adjust
4934 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4935 BufferParams& as arg.
4936 (breakParagraph): use ParagraphList::insert
4937 (breakParagraphConservative): take a Buffer* instead of a
4938 BufferParams& as arg.
4939 (breakParagraphConservative): use ParagraphList::insert.
4941 * buffer.C (insertStringAsLines): un-const it
4942 (insertStringAsLines): adjust
4944 * ParagraphList.C (insert): new function
4946 * CutAndPaste.C (pasteSelection): adjust
4948 * text.C (backspace): adjust
4950 * tabular.C (SetMultiColumn): adjust
4952 * CutAndPaste.C (cutSelection): adjust
4953 (pasteSelection): adjust
4955 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4956 Buffer const * as arg
4958 * ParagraphList.C (erase): new function
4959 * paragraph_funcs.C (mergeParagraph): use it
4960 (mergeParagraph): make it take a Buffer* instead of a
4961 BufferParams* as arg
4963 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4965 (breakParagraphConservative): ditto
4967 * paragraph.h: remove the breakParagraph friend
4969 * paragraph.C (eraseIntern): new function
4970 (setChange): new function
4972 * paragraph_funcs.C (mergeParagraph): make it take a
4973 ParagraphList::iterator instead of a Paragraph *, adjust
4976 * paragraph.h: move an #endif so that the change tracking stuff
4977 also works in the NO_NEXT case.
4979 2003-03-04 Angus Leeming <leeming@lyx.org>
4982 * LyXAction.C: new LFUN_INSET_MODIFY.
4984 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4985 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4987 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4989 * several files: ws changes only
4991 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4992 (TeXEnvironment): ditto
4995 * buffer.C (makeLaTeXFile): adjust
4996 (latexParagraphs): make it take ParagraphList::iterator as args
4998 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5000 * buffer.C (latexParagraphs): adjust
5002 * paragraph.C (TeXOnePar): move function...
5003 (optArgInset): move function...
5004 (TeXEnvironment): move function...
5005 * paragraph_pimpl.C (TeXDeeper): move function...
5006 * paragraph_funcs.C: ...here
5008 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5010 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5012 * buffer.C (readInset): remove compability code for old Figure and
5015 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5017 * buffer.C: ws changes
5020 * BufferView_pimpl.C: ditto
5023 * bufferlist.h: ditto
5027 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5029 * converter.[Ch]: split into itself +
5032 * Makefile.am: += graph.[Ch] + format.[Ch]
5039 * lyxrc.C: added #include "format.h"
5041 2003-02-27 Angus Leeming <leeming@lyx.org>
5043 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5046 * factory.C (createInset): add "label" to the factory.
5048 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5049 string and do no more.
5051 2003-02-27 Angus Leeming <leeming@lyx.org>
5054 * LyXAction.C (init):
5055 * factory.C (createInset):
5056 * BufferView_pimpl.C (dispatch):
5057 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5059 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5061 * lyxfunc.C (dispatch):
5062 * text3.C (dispatch): pass name to params2string.
5064 2003-02-26 Angus Leeming <leeming@lyx.org>
5066 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5068 Rearrange the ~includes. Strip out the unnecessary ones.
5070 * factory.C (createInset): reformat.
5071 create new insets for the various LFUN_XYZ_APPLY lfuns.
5073 2003-02-26 John Levon <levon@movementarian.org>
5076 * lyxrow.C: add isParStart,isParEnd helpers
5078 * paragraph.h: make isInserted/DeletedText take refs
5080 * paragraph_funcs.h:
5081 * paragraph_funcs.C: remove #if 0'd code
5086 * text.C: use lyxrow helpers above.
5087 Move draw and paint routines to RowPainter.
5088 Make several methods use refs not pointers.
5089 Make backgroundColor() const.
5090 Add markChangeInDraw(), isInInset().
5091 Merge changeRegionCase into changeCase.
5092 Make workWidth() shouldn't-happen code into an Assert.
5095 * rowpainter.C: new class for painting a row.
5098 * vspace.C: make inPixels take a ref
5100 2003-02-26 Angus Leeming <leeming@lyx.org>
5102 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5105 2003-02-25 John Levon <levon@movementarian.org>
5107 * ispell.C: give the forked command a more accurate name
5109 2003-02-22 John Levon <levon@movementarian.org>
5112 * toc.C: make TocItem store an id not a Paragraph *
5115 2003-02-21 Angus Leeming <leeming@lyx.org>
5117 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5118 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5119 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5120 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5121 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5122 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5124 * BufferView_pimpl.C (dispatch):
5125 * LyXAction.C (init):
5126 * factory.C (createInset):
5127 * lyxfunc.C (getStatus, dispatch):
5128 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5130 2003-02-21 Angus Leeming <leeming@lyx.org>
5132 * BufferView_pimpl.C (MenuInsertLyXFile):
5133 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5134 * lyxfunc.C (menuNew, open, doImport):
5135 no longer pass a LyXView & to fileDlg.
5137 2003-02-21 Angus Leeming <leeming@lyx.org>
5139 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5140 * LyXAction.C: change, BIBKEY to BIBITEM.
5141 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5142 Change InsetBibKey to InsetBibitem.
5143 Change BIBKEY_CODE to BIBITEM_CODE.
5144 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5145 * factory.C: replace insetbib.h with insetbibitem.h.
5146 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5147 * paragraph.C: replace insetbib.h with insetbibitem.h.
5148 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5149 Change bibkey() to bibitem().
5150 * text.C: remove insetbib.h.
5151 * text2.C: replace insetbib.h with insetbibitem.h.
5152 change bibkey() to bibitem().
5153 * text3.C: remove insetbib.h.
5154 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5156 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5158 * lyxrc.C (output): enclose user email in quotes (in case there are
5161 2003-02-18 John Levon <levon@movementarian.org>
5163 * buffer.h: add std::
5165 2003-02-17 John Levon <levon@movementarian.org>
5171 * pspell.C: reworking. Especially in ispell, a large
5172 number of clean ups and bug fixes.
5174 * lyxfunc.C: fix revert to behave sensibly
5176 2003-02-17 André Pönitz <poenitz@gmx.net>
5179 * commandtags.h: new LFUN_INSERT_BIBKEY
5189 * paragraph_func.C: remove special bibkey handling
5191 2003-02-17 John Levon <levon@movementarian.org>
5193 * text.C (Delete): fix case where delete at the end of
5194 the very first paragraph would not merge the pars
5196 2003-02-17 John Levon <levon@movementarian.org>
5198 * lyxrow.C: fix lastPrintablePos()
5200 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5202 * bufferparams.C (writeLaTeX): add a std:here
5204 * buffer.C: and remove a using directive there
5206 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5208 * buffer.C (makeLaTeXFile): move the code that generates the
5211 * bufferparams.C (writeLaTeX): ... in this new method
5213 * LaTeXFeatures.C (getEncodingSet): make const
5214 (getLanguages): make const
5216 * MenuBackend.C (binding): returns the binding associated to this
5218 (add): sets the status of each item by calling getStatus. Adds
5220 (read): add support for OptSubMenu
5221 (expand): remove extra separator at the end of expanded menu
5223 2003-02-15 John Levon <levon@movementarian.org>
5226 * BufferView_pimpl.C:
5228 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5229 inset code that had no actual effect. Remove unneeded status
5232 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5234 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5237 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5239 * text.C (drawLengthMarker): also draw an arrow marker for
5240 symbolic lengths (medskip...)
5242 2003-02-14 John Levon <levon@movementarian.org>
5245 * tabular.C: better method names
5247 2003-02-14 John Levon <levon@movementarian.org>
5249 * BufferView_pimpl.C:
5254 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5255 it's a more accurate name. Remove some pointless uses.
5257 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5259 * text2.C (LyXText): change order of initilizers to shut off
5262 2003-02-14 John Levon <levon@movementarian.org>
5264 * buffer.C: use ParIterator for getParFromID()
5268 * paragraph_pimpl.h:
5269 * paragraph_pimpl.C: remove unused getParFromID()
5271 2003-02-14 John Levon <levon@movementarian.org>
5273 * buffer.C: remove some very old #if 0'd parse code
5275 2003-02-13 John Levon <levon@movementarian.org>
5279 * text2.C: move hfillExpansion(), numberOfSeparators(),
5280 rowLast(), rowLastPrintable(), numberofHfills(),
5281 numberOfLabelHfills() ...
5284 * lyxrow.C: ... to member functions here.
5289 * text.C: remove LyXText::beginningOfMainBody(), and call
5290 p->beginningOfMainBody() directly. Move the check for
5291 LABEL_MANUAL into the latter.
5298 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5304 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5305 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5307 2003-02-13 John Levon <levon@movementarian.org>
5309 * CutAndPaste.C: remove debug
5311 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5313 * paragraph.C (asString): remove two unused variables
5315 * lyxtextclass.C (readTitleType):
5317 (LyXTextClass): handle new members titletype_ and titlename_
5319 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5321 2003-02-09 John Levon <levon@movementarian.org>
5324 * buffer.C: replace hand-coded list with a map for the dep clean
5326 2003-02-08 John Levon <levon@movementarian.org>
5328 * LaTeX.C: consolidate code into showRunMessage() helper
5330 2003-02-08 John Levon <levon@movementarian.org>
5335 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5336 and pass the size in explicitly
5338 * BufferView_pimpl.h:
5339 * BufferView_pimpl.C:
5341 * BufferView.C: add getCurrentChange()
5343 * BufferView_pimpl.h:
5344 * BufferView_pimpl.C: handle change lfuns
5346 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5347 for changes. Mark pasted paragraphs as new.
5349 * support/lyxtime.h:
5350 * support/lyxtime.C:
5351 * DepTable.C: abstract time_t as lyx::time_type
5354 * LColor.C: add colours for new text, deleted text, changebars
5356 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5357 package use "usenames" option.
5361 * LyXAction.C: add change lfuns
5365 * author.C: author handling
5368 * buffer.C: add a per-buffer author list, with first entry as
5369 current author. Handle new .lyx tokens for change tracking. Output
5370 author list to .lyx file. Output dvipost stuff to .tex preamble.
5371 Bump lyx format to 222.
5374 * bufferlist.C: add setCurrentAuthor() to reset current author details
5378 * bufferparams.C: add param for tracking
5380 * bufferview_funcs.C: output change info in minibuffer
5384 * changes.C: add change-tracking structure
5387 * debug.C: add CHANGES debug flag
5390 * lyxfind.C: add code for finding the next change piece
5393 * lyxrc.C: add user_name and user_email
5396 * lyxrow.C: add a metric for the top of the text line
5399 * text.C: implement accept/rejectChange()
5402 * text.C: paint changebars. Paint new/deleted text in the chosen
5403 colours. Strike through deleted text.
5407 * paragraph_pimpl.h:
5408 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5409 in the current change to the insert functions. Rework erase to
5410 mark text as deleted, adding an eraseIntern() and a range-based
5411 erase(). Implement per-paragraph change lookup and
5414 * paragraph_funcs.C: Fixup paste for change tracking.
5416 * tabular.C: mark added row/columns as new.
5418 * text.C: fix rowLast() to never return -1. Don't allow
5419 spellchecking of deleted text. Track transpose changes. Don't
5420 allow paragraph break or merge where appropriate.
5422 * text2.C: leave cursor at end of selection after a cut.
5424 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5426 * text.C (getLengthMarkerHeight):
5427 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5428 visible on screen too.
5430 2003-02-07 John Levon <levon@movementarian.org>
5432 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5434 2003-02-05 Angus Leeming <leeming@lyx.org>
5436 * lyxserver.C (read_ready): revert my patch of 11 September last year
5437 as it sends PC cpu through the roof. Presumably this means that
5438 the lyxserver will no longer run on an Alpha...
5440 2003-01-30 Angus Leeming <leeming@lyx.org>
5442 * factory.C (createInset): create an InsetCommandParam of type "index"
5443 and use it to 'do the right thing'.
5445 * text2.C (getStringToIndex): ensure that cursor position is always
5446 reset to the reset_cursor position.
5448 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5450 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5453 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5457 * lyxfunc.C: Output messages with identical spelling, punctuation,
5460 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5462 * MenuBackend.C (expandFormats): List only viewable export formats
5465 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5468 * lyxfunc.C (getStatus): Make sure that formats other than
5469 "fax" can also be disabled
5471 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5473 * text3.C (dispatch): put the lfuns that insert insets in 3
5474 groups, and call doInsertInset with appropriate arguments.
5475 (doInsertInset): new function, that creates an inset and inserts
5476 it according to some boolean parameters.
5478 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5480 * buffer.C (readFile): remember to pass on 'par' when calling
5481 readFile recursively.
5483 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5485 * MenuBackend.C (expandFormats): add "..." to import formats.
5487 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5489 * paragraph.C (asString): Remove XForms RTL hacks.
5491 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5492 * buffer.C: fix typo
5494 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5496 * Makefile.am (LIBS): delete var
5497 (lyx_LDADD): add @LIBS@ here instead.
5499 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5501 * Clarify the meaning of "wheel mouse jump"
5503 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5505 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5508 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5510 * importer.C (Loaders): do not preallocate 3 elements in the
5511 vector, since one ends up with 6 elements otherwise
5513 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5515 * DepTable.C (write): write the file name as last element of the
5516 .dep file (because it may contain spaces)
5517 (read): read info in the right order
5519 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5521 * paragraph_pimpl.C (simpleTeXBlanks):
5522 (simpleTeXSpecialChars):
5523 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5525 * tabular.C (latex): add some missing case statements. Reindent.
5527 * MenuBackend.C (expandToc): remove unused variable.
5529 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5538 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5541 2003-01-05 John Levon <levon@movementarian.org>
5544 * BufferView.C: add getEncoding()
5547 * kbsequence.C: do not store last keypress
5550 * lyxfunc.C: store last keypress here instead. Pass encoding
5553 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5555 * lyx_main.C (init): remove annoying error message when following
5556 symbolic links (bug #780)
5558 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5560 * text.C (insertChar):
5561 * lyxrc.C (getDescription): remove extra spaces
5563 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5565 * lyxrc.C (getDescription): remove extra spaces
5567 2002-12-20 John Levon <levon@movementarian.org>
5569 * text3.C: hack fix for page up/down across tall rows
5571 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5573 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5576 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5578 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5579 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5580 thesaurus is not compiled in
5582 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5584 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5586 2002-12-16 Angus Leeming <leeming@lyx.org>
5589 * lyx_main.C (init): remove override_x_deadkeys stuff.
5591 2002-12-12 John Levon <levon@movementarian.org>
5593 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5594 insert. Only remove shift modifier under strict
5597 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5599 * MenuBackend.C (expandToc): fix crash.
5601 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5603 * MenuBackend.C (expandToc): gettext on float names.
5605 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5607 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5608 implement bool empty() [bug 490]
5610 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5612 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5614 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5616 * several files: ws changes
5618 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5620 * text2.C (setCounter): clean up a bit, use boost.format.
5621 (updateCounters): initialize par upon declaration.
5623 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5624 if the layout exists. We do not just store the layout any more.
5625 (SwitchLayoutsBetweenClasses): use boost.format
5627 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5629 * converter.C (convert): if from and to files are the same, use a
5630 temporary files as intermediary
5632 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5635 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5637 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5639 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5641 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5643 * tabular.C (asciiPrintCell): use string(size, char) instead of
5646 * sgml.C (openTag): fix order of arguments to string constructor
5649 * lyxfunc.C (dispatch): use boost.format
5651 * lots of files: change "c" -> 'c'
5653 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5655 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5657 2002-11-25 Angus Leeming <leeming@lyx.org>
5659 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5661 * lyx_main.C (init): compile fix.
5663 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5665 * lyx_cb.C (start): boost.formatify
5666 do not include <iostream>
5668 * lengthcommon.C: ws only
5670 * boost-inst.C,BoostFormat.h: add more explict instantations
5672 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5674 * lots of files: handle USE_BOOST_FORMAT
5676 2002-11-21 John Levon <levon@movementarian.org>
5678 * pspell.C: fix compile
5680 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5682 * lyxfunc.C (dispatch): use boost::format
5686 * lyxfont.C (stateText): use boost::format
5688 * lyx_main.C (LyX): use boost::format
5690 (queryUserLyXDir): ditto
5693 (typedef boost::function): use the recommened syntax.
5695 * importer.C (Import): use boost::format
5697 * debug.C (showLevel): use boost::format
5699 * converter.C (view): use boost::format
5704 * bufferview_funcs.C (currentState): use boost::format
5706 * bufferlist.C (emergencyWrite): use boost::format
5708 * buffer.C (readLyXformat2): use boost::format
5709 (parseSingleLyXformat2Token): ditto
5711 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5713 * LaTeX.C (run): use boost::format
5715 * Chktex.C (scanLogFile): use boost::format
5717 * BufferView_pimpl.C (savePosition): use boost::format
5718 (restorePosition): ditto
5719 (MenuInsertLyXFile): ditto
5721 * BoostFormat.h: help file for explicit instation.
5723 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5725 * tabular.C (latex): Support for block alignment in fixed width
5728 2002-11-17 John Levon <levon@movementarian.org>
5730 * BufferView_pimpl.C:
5732 * lyxfunc.C: split filedialog into open/save
5734 2002-11-08 Juergen Vigna <jug@sad.it>
5736 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5737 by my last patch (hopefully).
5739 2002-11-08 John Levon <levon@movementarian.org>
5748 * toc.C: ParConstIterator, and use it (from Lars)
5750 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5752 * lyxtextclass.[Ch]: revise and add doxygen comments
5754 2002-11-07 John Levon <levon@movementarian.org>
5756 * text.C: fix progress value for spellchecker
5758 * toc.C: fix navigate menu for insetwrap inside minipage
5760 * paragraph_funcs.C: added FIXME for suspect code
5762 2002-11-07 John Levon <levon@movementarian.org>
5764 * BufferView_pimpl.C: fix redrawing of insets
5767 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5769 * text2.C (updateCounters): fix bug 668
5771 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5773 * text3.C (dispatch): Do not make the buffer dirty when moving the
5776 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5778 * vc-backend.C: STRCONV
5781 * text2.C (setCounter): STRCONV
5783 * paragraph.C (asString): STRCONV
5785 * lyxlength.C (asString): STRCONV
5786 (asLatexString): ditto
5788 * lyxgluelength.C (asString): STRCONV
5789 (asLatexString): ditto
5791 * lyxfunc.C (dispatch): STRCONV
5794 * lyxfont.C (stateText): STRCONV
5796 * importer.C (Import): STRCONV
5798 * counters.C (labelItem): STRCONV
5799 (numberLabel): ditto
5800 (numberLabel): remove unused ostringstream o
5805 * bufferview_funcs.C (currentState): STRCONV
5807 * buffer.C (readFile): STRCONV
5808 (asciiParagraph): ditto
5809 (makeLaTeXFile): ditto
5811 * Spacing.C (writeEnvirBegin): STRCONV
5813 * LaTeXFeatures.C (getLanguages): STRCONV
5814 (getPackages): ditto
5816 (getBabelOptions): ditto
5817 (getTClassPreamble): ditto
5818 (getLyXSGMLEntities): ditto
5819 (getIncludedFiles): ditto
5823 (scanAuxFile): ditto
5826 * LString.h: add the STRCONV macros
5828 * BufferView_pimpl.C (savePosition): STRCONV
5829 (restorePosition): ditto
5830 (MenuInsertLyXFile): ditto
5832 * vc-backend.C (scanMaster): change from submatch[...] to
5835 * funcrequest.C: include config.h
5837 * factory.C: include config.h
5839 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5841 * box.C: include config.h
5843 * LaTeX.C (scanAuxFile): change from submatch[...] to
5847 2002-10-25 Angus Leeming <leeming@lyx.org>
5849 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5851 * ispell.[Ch] (setError): new method.
5852 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5853 Use setError() insetead of goto END.
5855 * lyx_cb.C (AutoSave): move out child process into new class
5858 2002-10-30 John Levon <levon@movementarian.org>
5860 * text3.C: make start appendix undoable
5862 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5864 * lyxlength.C (inPixels): Fix returned value.
5866 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5869 2002-10-24 Angus Leeming <leeming@lyx.org>
5871 * lyxgluelength.h: no need to forward declare BufferParams
5872 or BufferView, so don't.
5874 2002-10-21 John Levon <levon@movementarian.org>
5876 * BufferView.C: menuUndo ->undo, redo
5878 * BufferView.h: document, remove dead, make some methods private
5880 * paragraph_funcs.h:
5881 * paragraph_funcs.C:
5882 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5887 * sgml.C: move sgml open/close tag into sgml.C
5889 * bufferview_funcs.h: unused prototype
5892 * lyxfunc.C: remove unused
5895 * text.C: remove unused
5897 2002-10-21 John Levon <levon@movementarian.org>
5901 * BufferView_pimpl.h:
5902 * BufferView_pimpl.C: fix mouse wheel handling based on
5903 patch from Darren Freeman
5905 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5907 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5909 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5911 * lyxlength.C (inPixels): Fix hanfling of negative length.
5912 Fix LyXLength::MU case.
5914 2002-10-16 John Levon <levon@movementarian.org>
5916 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5918 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5920 * converter.C (view): add support for $$i (file name) and $$p
5921 (file path) for the viewer command. If $$i is not specified, then
5922 it is appended to the command (for compatibility with old syntax)
5924 2002-10-14 Juergen Vigna <jug@sad.it>
5926 * undo_funcs.C (textHandleUndo): alter the order in which the
5927 new undopar is added to the LyXText, as we have to set first
5928 the right prev/next and then add it as otherwise the rebuild of
5929 LyXText is not correct. Also reset the cursor to the right paragraph,
5930 with this IMO we could remove the hack in "redoParagraphs()".
5932 2002-10-09 Angus Leeming <leeming@lyx.org>
5934 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5935 to turn off an optimisation if a new inset is to be inserted.
5937 2002-10-11 André Pönitz <poenitz@gmx.net>
5939 * lyxtext.h: make some functions public to allow access
5940 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5942 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5944 * text3.C (dispatch): when changing layout, avoid an infinite loop
5947 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5949 * lyxrc.C (read): treat a viewer or converter command of "none" as
5952 * MenuBackend.C (expandFormats): for an update, also allow the
5953 formats that are not viewable
5955 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5956 script if it is newer than the lyxrc.defaults in user directory
5958 2002-10-07 André Pönitz <poenitz@gmx.net>
5960 * text.C: Vitaly Lipatov's small i18n fix
5962 2002-09-25 Angus Leeming <leeming@lyx.org>
5964 * ispell.h: doxygen fix.
5966 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5968 * buffer.h (readFile): Add a new argument to the method, to allow
5969 reading of old-format templates.
5971 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5973 * toc.C (getTocList): Get TOC from InsetWrap.
5975 2002-09-16 John Levon <levon@movementarian.org>
5977 * lyxfunc.C: check tabular for cut/copy too
5979 2002-09-12 John Levon <levon@movementarian.org>
5984 * factory.C: add header
5986 * paragraph_funcs.h:
5987 * paragraph_funcs.C: cleanup
5989 2002-09-11 John Levon <levon@movementarian.org>
5991 * PrinterParams.h: odd/even default to true
5993 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5995 * PrinterParams.h: update printer parameters for new xforms dialog
5997 2002-09-11 Angus Leeming <leeming@lyx.org>
5999 * lyxserver.C (read_ready): re-write to make it more transparent
6000 and to make it work in coherent fashion under Tru64 Unix.
6002 2002-09-11 André Pönitz <poenitz@gmx.net>
6006 * text3.C: implement LFUN_WORDSEL
6008 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6010 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6011 make floatlist_ a boost::shared_ptr<FloatList>
6013 * lyxtextclass.C: include FloatList.h
6014 (LyXTextClass): initialize floatlist_
6015 (TextClassTags): add TC_NOFLOAT
6016 (Read): match "nofloat" to TC_NOFLOAT and use it.
6017 (readFloat): modify call to floatlist_
6021 * FloatList.[Ch] (FloatList): remove commented out float
6023 (erase): new function
6025 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6027 * MenuBackend.C (expandToc): fix crash when there is no document
6030 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6032 * many files: Add insetwrap.
6034 2002-09-09 John Levon <levon@movementarian.org>
6036 * text2.C: remove confusing and awkward depth wraparound
6038 2002-09-09 John Levon <levon@movementarian.org>
6040 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6043 * buffer.C: remove getIncludeonlyList()
6046 * lyxfunc.C: remove headers
6048 2002-09-09 Juergen Vigna <jug@sad.it>
6050 * text.C (getColumnNearX): fix form Michael this is most
6051 probably a cut&paste bug.
6053 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6055 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6057 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6058 references, ws changes.
6060 * text2.C (init): update counters after init
6061 (insertParagraph): no need to set counter on idividual paragraphs.
6062 (setCounter): access the counters object in the textclass object
6063 on in the buffer object.
6064 (updateCounters): ditto
6066 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6067 shared_ptr<Counters> to avoid loading counters.h in all
6069 (LyXTextClass): initialize ctrs_
6070 (TextClassTags): add TC_COUNTER, and ...
6071 (Read): use it here.
6072 (CounterTags): new tags
6073 (readCounter): new function
6074 (counters): new funtion
6075 (defaultLayoutName): return a const reference
6077 * counters.C (Counters): remove contructor
6078 (newCounter): remove a couple of unneeded statements.
6079 (newCounter): simplify a bit.
6080 (numberLabel): some small formatting changes.
6082 * buffer.[Ch]: remove all traces of counters, move the Counters
6083 object to the LyXTextClass.
6085 2002-09-06 Alain Castera <castera@in2p3.fr>
6087 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6088 package to set the horizontal alignment on fixed width columns.
6091 * lyx_sty.h: added tabularnewline macro def.
6093 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6095 2002-09-06 John Levon <levon@movementarian.org>
6097 * LyXAction.C: tooltips for sub/superscript
6099 * MenuBackend.C: a bit more verbose
6101 * lyxfunc.C: tiny clean
6103 * undo_funcs.C: document undo_frozen
6105 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6107 * counters.C (Counters): add missing algorithm counter.
6109 * text2.C (setCounter): lookup the counter with layouts latexname
6110 instead of by section number.
6111 (setCounter): use a hackish way to lookup the correct enum
6113 a float name->type change
6114 reset enum couners with counter name directly instead of depth value.
6116 * counters.C (Counters): remove the push_backs, change to use the
6117 float type not the float name.
6118 (labelItem): remove unused string, float name->type change
6120 * counters.h: don't include vector, loose the enums and sects vectors
6122 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6124 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6125 (Read): add float->TC_FLOAT to textclassTags
6126 (Read): and handle it in the switch
6127 (readFloat): new function
6129 * FloatList.C (FloatList): comment out the hardcoded float
6132 * lyxlayout.h: ws change.
6134 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6136 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6138 2002-09-03 Angus Leeming <leeming@lyx.org>
6140 * BufferView_pimpl.h: qualified name is not allowed in member
6141 declaration: WorkArea & Pimpl::workarea() const;
6143 * factory.C: added using std::endl directive.
6145 * text3.C: added using std::find and std::vector directives.
6147 2002-08-29 André Pönitz <poenitz@gmx.net>
6150 * text2.C: remove unused member number_of_rows
6153 * BufferView2.C: remove file, move contents to...
6154 * BufferView.C: ... here
6156 * BufferView_pimpl.C:
6157 * factory.C: move more inset creation to factory
6159 * vspace.C: avoid direct usage of LyXText, ws changes
6162 don't provide direct access to WorkArea, use two simple
6163 acessors haveSelction() and workHeight() instead
6166 2002-08-29 John Levon <levon@movementarian.org>
6168 * BufferView_pimpl.C (dispatch): do not continue when
6171 2002-08-28 André Pönitz <poenitz@gmx.net>
6173 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6176 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6178 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6180 * buffer.C: increment LYX_FORMAT to 221
6182 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6183 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6185 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6187 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6189 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6191 * factory.C (createInset): use LyXTextClass::floats
6193 * MenuBackend.C (expandFloatListInsert):
6194 (expandFloatInsert):
6197 * text2.C (setCounter):
6199 * LaTeXFeatures.C (useFloat):
6200 (getFloatDefinitions):
6202 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6204 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6205 floatlist_, with accessor floats().
6207 * FloatList.h: remove global FloatList
6209 2002-08-26 André Pönitz <poenitz@gmx.net>
6211 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6215 * BufferView_pimpl.C:
6216 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6218 2002-08-25 John Levon <levon@movementarian.org>
6220 * LyXAction.C: fix margin note description
6222 2002-08-24 John Levon <levon@movementarian.org>
6226 * bufferview_funcs.C:
6228 * undo_funcs.C: cleanups
6230 * lyxfunc.C: disable CUT/COPY when no selection
6232 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6234 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6235 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6237 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6238 Add backward compatibility to "mono", "gray" and "no".
6240 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6242 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6243 (and file_format >= 200).
6245 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6247 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6249 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6251 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6253 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6255 * BufferView_pimpl.C:
6262 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6263 inset and code to make it work with the paragraph code. The inset
6264 can be anywhere in the paragraph, but will only do the expected
6265 thing in LaTeX if the layout file contains the parameter line
6267 (or more generally, a nonzero value) for that layout.
6269 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6271 * paragraph.h: remove the declaration of undefined counters class
6274 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6276 * text2.C (setCounter): fixed enumeration mis-count as reported by
6277 Dr. Richard Hawkins.
6279 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6281 * paragraph_funcs.h: remove some unneeded includes
6283 * text.C (backspace): pasteParagraph now in global scipe
6285 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6286 (pasteSelection): ditto
6288 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6289 * paragraph_funcs.C (pasteParagraph): ... here
6291 2002-08-20 André Pönitz <poenitz@gmx.net>
6293 * commandtags.h: new LFUNs for swapping/copying table row/colums
6296 * lyxfunc.C: support for new lfuns
6298 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6301 * buffer.[Ch]: remove NO_COMPABILITY stuff
6303 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6305 * boost.C (throw_exception): new file, with helper function for
6306 boost compiled without exceptions.
6311 * ParameterStruct.h:
6312 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6314 * bufferlist.C (emergencyWriteAll): use boost bind
6316 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6318 * text.C: include paragraph_funcs.h
6319 (breakParagraph): breakParagraph is now in global scope
6321 * paragraph_funcs.[Ch]: new files
6323 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6326 * buffer.C: include paragraph_funcs.h
6327 (insertStringAsLines): breakParagraph is now in global scope
6329 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6332 * CutAndPaste.C: include paragraph_funcs.h
6333 (cutSelection): breakParagraphConservative is now in global scope
6334 (pasteSelection): ditto
6336 * buffer.h: declare oprator== and operator!= for
6337 Buffer::inset_iterator
6339 * bufferlist.C (emergencyWrite): don't use fmt(...)
6341 * text3.C: add using std::endl
6343 * BufferView.C (moveCursorUpdate): remove default arg
6345 2002-08-20 André Pönitz <poenitz@gmx.net>
6347 * buffer.[Ch]: move inline functions to .C
6350 * BufferView_pimpl.C:
6352 * buffer.[Ch]: use improved inset_iterator
6355 * paragraph.[Ch]: write one paragraph at a time
6357 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6359 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6360 style if style is not specified.
6362 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6364 * text2.C (setCounter): when searching for right label for a
6365 caption, make sure to recurse to parent insets (so that a caption
6366 in a minipage in a figure float works) (bug #568)
6368 2002-08-20 André Pönitz <poenitz@gmx.net>
6370 * text3.C: new file for LyXText::dispatch() and helpers
6372 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6374 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6376 2002-08-19 André Pönitz <poenitz@gmx.net>
6379 * text.C: new LyXText::dispatch()
6381 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6383 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6385 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6387 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6390 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6392 * Makefile.am: use $(variables) instead of @substitutions@
6394 2002-08-15 André Pönitz <poenitz@gmx.net>
6397 * BufferView_pimpl.C: streamlining mathed <-> outer world
6401 * LyXAction.C: remove unused LFUN_MATH
6403 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6405 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6407 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6409 * paragraph.C (Paragraph): reformat a bit
6410 (cutIntoMinibuffer): use builtin InsetList function instad of
6414 * buffer.C: include boost/bind.hpp, add using std::for_each
6415 (writeFileAscii): use ParagraphList iterators
6416 (validate): use for_each for validate traversal of paragraphs
6417 (getBibkeyList): use ParagraphList iterators
6418 (resizeInsets): use for_each to resizeInsetsLyXText for all
6420 (getParFromID): use ParagraphList iterators
6422 * BufferView2.C (lockInset): use paragraph list and iterators
6424 2002-08-14 John Levon <levon@movementarian.org>
6426 * lyxserver.C: remove spurious xforms include
6428 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6430 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6432 2002-08-13 André Pönitz <poenitz@gmx.net>
6435 * lyxfunc.C: further cleaning
6437 2002-08-13 André Pönitz <poenitz@gmx.net>
6439 * funcrequest.h: new constructor
6441 * funcrequest.C: move stuff here from .h
6444 * BufferView_pimpl.C:
6447 * lyxfunc.C: subsequent changes
6449 * lyxfunc.h: new view() member function
6451 * lyxfunc.C: subsequent changes
6453 2002-08-13 Angus Leeming <leeming@lyx.org>
6456 * BufferView_pimpl.C:
6464 changes due to the changed LyXView interface that now returns references
6465 to member variables not pointers.
6467 2002-08-13 Angus Leeming <leeming@lyx.org>
6469 * WordLangTuple (word, lang_code): return references to strings,
6474 * lyxtext.h: forward-declare WordLangTuple.
6479 * text.C: #include "WordLangTuple.h".
6482 * text.C: (selectNextWordToSpellcheck): constify return type.
6484 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6490 * paragraph_pimpl.h:
6493 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6495 Made updateCounter always count from start of buffer, and removed
6496 second argument (par).
6497 Reverted floats number display to '#'. Perhaps I'll try again when the
6498 code base is sanitized a bit.
6500 2002-08-12 Angus Leeming <leeming@lyx.org>
6502 * buffer.[Ch] (getLabelList): constify.
6504 2002-08-07 André Pönitz <poenitz@gmx.net>
6506 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6508 * funcrequest.h: extension to keep mouse (x,y) position
6510 2002-08-12 Juergen Vigna <jug@sad.it>
6512 * BufferView2.C (insertErrors): forbid undo when inserting error
6515 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6517 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6519 * ParagraphList.[Ch]: new files
6521 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6523 * BufferView2.C (lockInset): ParagraphList changes
6526 * bufferlist.C: ditto
6530 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6532 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6533 unused class variable counter_,
6535 * paragraph.[Ch] (getFirstCounter): delete unused function
6537 * counters.C: include LAssert.h
6538 (reset): add a new function with no arg, change other version to
6539 not have def. arg and to not allow empty arg.
6541 * text2.C (setCounter): remove empty arg from call to Counters::reset
6543 2002-08-11 John Levon <levon@movementarian.org>
6545 * Makefile.am: add WordLangTuple.h
6547 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6549 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6550 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6552 * insets/insettext.C: InsetList changes
6554 * graphics/GraphicsSupport.C (operator()): InsetList changes
6556 * toc.C (getTocList): InsetList changes
6558 * paragraph_pimpl.[Ch]: InsetList changes
6560 * paragraph.[Ch]: InsetList changes
6562 * buffer.C (inset_iterator): InsetList changes
6563 (setParagraph): ditto
6564 * buffer.h (inset_iterator): ditto
6565 * iterators.C (operator++): ditto
6566 * iterators.h: ditto
6568 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6570 * InsetList.[Ch]: new files, most InsetList handling moved out of
6573 * BufferView2.C (removeAutoInsets): InsetList changes
6575 (ChangeInsets): ditto
6577 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6579 * paragraph_pimpl.h (empty): new function
6581 * paragraph.[Ch] (empty): new function
6583 * other files: use the new Paragraph::empty function
6585 2002-08-09 John Levon <levon@movementarian.org>
6587 * lyxtext.h: remove unused refresh_height
6589 2002-08-09 John Levon <levon@movementarian.org>
6596 * paragraph.C: move sgml char escaping out of paragraph
6599 * paragraph.C: remove id setter
6603 * paragraph_pimpl.C: remove dead tex_code_break_column
6605 * bufferview_funcs.C: small cleanup
6607 * lyxfunc.C: remove dead proto
6609 * lyxtext.h: make some stuff private. Remove some dead stuff.
6611 * lyxgluelength.C: make as[LyX]String() readable
6613 2002-08-08 John Levon <levon@movementarian.org>
6618 * ToolbarDefaults.C:
6621 * toc.C: lyxaction cleanup
6623 2002-08-08 John Levon <levon@movementarian.org>
6625 * BufferView2.C: small cleanup
6628 * lyxfind.C: move unnecessary header into the .C
6630 2002-08-08 John Levon <levon@movementarian.org>
6632 * funcrequest.h: just tedious nonsense
6635 * lyx_main.C: cleanups
6638 * vspace.C: remove dead header lyx_main.h
6640 2002-08-07 Angus Leeming <leeming@lyx.org>
6643 * paragraph_pimpl.h:
6644 Forward declare class Counters in paragraph.h by moving the ctrs member
6645 variable into Paragraph::Pimpl.
6646 (counters): new method, returning a reference to pimpl_->ctrs.
6648 * text2.C: ensuing changes.
6650 2002-08-07 John Levon <levon@movementarian.org>
6652 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6654 * BufferView_pimpl.C: announce X selection on double/triple
6657 * lyx_main.C: use correct bool in batch dispatch
6659 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6661 2002-08-07 André Pönitz <poenitz@gmx.net>
6663 * funcrequest.h: new class to wrap a kb_action and its argument
6666 * BufferView_pimpl[Ch]:
6670 * lyxrc.C: subsequent changes
6673 2002-08-07 John Levon <levon@movementarian.org>
6675 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6676 document options change.
6678 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6683 * makefile.am: move counters functionality over from
6684 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6686 2002-08-06 John Levon <levon@movementarian.org>
6688 * WordLangTuple.h: new file for word + language code tuple
6699 * BufferView2.C: use WordLangTuple
6702 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6704 2002-08-06 John Levon <levon@movementarian.org>
6706 * lyx_main.C: fix cmdline batch handling
6708 2002-08-06 André Pönitz <poenitz@gmx.net>
6710 * lyxrc.C: set default for show_banner to true
6712 2002-08-06 John Levon <levon@movementarian.org>
6714 * pspell.C: fix a crash, and allow new aspell to work
6716 2002-08-06 John Levon <levon@movementarian.org>
6719 * kbmap.C: small cleanup
6722 * vspace.C: add const
6724 2002-08-05 John Levon <levon@movementarian.org>
6726 * LyXAction.C: back to tabular-insert
6728 2002-08-04 John Levon <levon@movementarian.org>
6731 * BufferView.C: cosmetic change
6733 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6743 * BufferView2.C: purge all "Lyx" not "LyX" strings
6746 * lyxcursor.C: attempt to add some documentation
6751 * ToolbarDefaults.C:
6752 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6753 merge with LFUN_TABULAR_INSERT
6760 * pspell.C: split up i/pspell implementations into separate
6761 files, many cleanups
6763 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6765 * text2.C: some cleanup
6767 * lyxfunc.C: don't check for isp_command == "none" any more, it
6768 didn't make any sense
6770 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6775 * makefile.am: move counters functionality over
6776 from text2.C/paragraph.[Ch] to counters.[Ch], and
6778 2002-08-02 John Levon <levon@movementarian.org>
6780 * buffer.C: s/lyxconvert/lyx2lyx/
6782 2002-08-02 Angus Leeming <leeming@lyx.org>
6784 * lyxlex.C: revert John's change as it breaks reading of the user
6787 2002-08-02 Angus Leeming <leeming@lyx.org>
6789 * importer.C (Import):
6790 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6791 changes due to LyXView::view() now returning a boost::shared_ptr.
6793 2002-08-02 John Levon <levon@movementarian.org>
6795 * lyxlex.C: small cleanup
6797 2002-08-02 John Levon <levon@movementarian.org>
6799 * text2.C (status): small cleanup, no logic change
6801 2002-08-01 John Levon <levon@movementarian.org>
6804 * buffer.C (writeFile): don't output alerts, caller
6808 * lyx_cb.C: from above
6810 * lyxfunc.C: allow to open non-existent files
6812 2002-07-31 John Levon <levon@movementarian.org>
6814 * lyxserver.C: don't let incidental errors get
6817 2002-07-30 John Levon <levon@movementarian.org>
6819 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6821 2002-07-30 John Levon <levon@movementarian.org>
6824 * lyxserver.C: remove I/O callback too
6826 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6828 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6831 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6833 * many files: strip,frontStrip -> trim,ltrim,rtrim
6835 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6837 * PrinterParams.h: remove extern containsOnly, and include
6838 support/lstrings.h instead.
6840 * LaTeX.C (scanAuxFile): modify because of strip changes
6842 * buffer.C (makeLaTeXFile): ditto
6843 * bufferparams.C (writeFile): ditt
6844 * lyxfont.C (stateText): ditto
6845 * lyxserver.C (read_ready): ditto
6846 * vc-backend.C (scanMaster): ditto
6848 * BufferView_pimpl.h: ws changes
6850 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6852 2002-07-26 André Pönitz <poenitz@gmx.net>
6854 * kb_sequence.C: remove unnedred usings
6856 2002-07-26 Juergen Vigna <jug@sad.it>
6858 * lyxfind.C (LyXReplace): we have to check better if the returned
6859 text is not of theLockingInset()->getLockingInset().
6861 2002-07-25 Juergen Vigna <jug@sad.it>
6863 * lyxfind.C (LyXReplace): don't replace if we don't get the
6866 * undo_funcs.C (createUndo): remove debugging code.
6868 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6870 * buffer.C (parseSingleLyXformat2Token): Use default placement
6871 when reading old floats.
6873 * FloatList.C (FloatList): Change the default placement of figure
6874 and tables to "tbp".
6876 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6878 * MenuBackend.C: using std::max
6880 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6882 * MenuBackend.C (expandToc):
6883 (expandToc2): code moved from xforms menu frontend. It is now
6884 generic and TOCs are transparent to menu frontends.
6886 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6888 * toc.C (getTocList): protect against buf=0
6890 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6891 Menu as first parameter. Now, this calls itself recursively to
6892 expand a whole tree (this will be useful for TOC handling)
6893 (expandFloatInsert): remove 'wide' version of floats
6895 * MenuBackend.h (submenuname): returns the name of the submenu.
6896 (submenu): returns the submenu itself, provided it has been
6897 created by MenuBackend::expand
6899 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6901 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6902 insets which have noFontChange == true. (bug #172)
6904 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6906 * BufferView_pimpl.C: add connection objects and use them...
6909 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6911 * MenuBackend.C (expandLastfiles):
6914 (expandFloatListInsert):
6915 (expandFloatInsert):
6916 (expand): split expand in parts
6918 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6920 * lyx_gui.C: use lyx_gui::exit()
6922 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6924 * LyXAction.C: show the failing pseudo action
6926 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6928 * buffer.C (readFile): Run the lyxconvert script in order to read
6931 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6935 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6937 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6941 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6943 2002-07-22 Herbert Voss <voss@lyx.org>
6946 * lyxlength.[Ch]: add support for the vertical lengths
6948 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6950 * toc.[Ch]: std:: fixes
6952 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6954 * lyxrc.C: do not include lyx_main.h
6956 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6962 * BufferView2.C: include "lyxlex.h"
6965 * bufferparams.h: do not #include "lyxlex.h"
6967 * lyxtextclasslist.C (Add): remove method
6968 (classlist): renamed to classlist_
6970 * paragraph_pimpl.C:
6974 * bufferview_funcs.C:
6979 * toc.C (getTocList): use BufferParams::getLyXTextClass
6981 * toc.C (getTocList): use InsetFloat::addToToc
6983 * toc.[Ch]: new files, containing helper functions to handle table
6986 * lyxfunc.C (dispatch): no need to remove spaces around command
6988 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6989 first command of the sequence; it is not very clever, but I do not
6990 have a better idea, actually
6992 * LyXAction.C (LookupFunc): make sure to remove space at the
6993 beginning and end of the command
6995 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6997 * MenuBackend.C (getMenubar): new method: return the menubar of
6999 (read): treat differently reading of menu and menubar (in
7000 particular, the menubar has no name now)
7001 (Menu::menubar): remove
7003 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7006 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7008 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7009 a bibitem inset in a RTL paragraph.
7011 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7013 * paragraph_pimpl.C: constify
7015 * BufferView_pimpl.C:
7017 * lyxfunc.C: fix dispatch in a nicer way
7019 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7021 * lyxfunc.C (dispatch):
7022 * BufferView_pimpl.C:
7023 * BufferView_pimpl.h:
7025 * BufferView.h: rename Dispatch() to dispatch()
7027 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7029 * lyxlayout.C (Read): honor DependsOn tag
7031 * lyxlayout.[Ch] (depends_on): new method
7033 * version.C.in: update lyx_docversion
7035 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7037 * paragraph.C (validate): remove from here...
7038 * paragraph_pimpl.C (validate): ... and move here
7039 (isTextAt): make it const
7041 * buffer.C (getLists): ws cleanup
7043 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7045 * language.C (read): Use iso8859-1 encoding in latex_lang
7046 (this prevents LyX from crashing when using iso10646-1 encoding).
7048 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7050 * text2.C (toggleInset): if cursor is inside an inset, close the
7051 inset and leave cursor _after_ it
7053 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7055 * lyxfunc.C: move minibuffer completion handling out of here
7057 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7059 * BufferView_pimpl.C:
7060 * LaTeX.C: fix dispatch calls
7062 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7064 * text.C (drawChars): Fix Arabic text rendering.
7066 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7070 * lyxfunc.C: remove message-push/pop
7074 * lyxfunc.C: rationalise some code by removing verboseDispatch
7075 in favour of a bool argument to dispatch()
7077 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7079 * lyx_main.C (init): make sure to read symlinks as absolute paths
7081 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7084 * lyxfunc.C: no need for commandshortcut to be a member
7086 2002-07-15 André Pönitz <poenitz@gmx.net>
7088 * converter.C: add support for $$s (scripts from lib/scripts dir)
7089 * lyx_main.C: white space
7091 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7095 * lyxrc.C: remove second exit confirmation
7097 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7102 * BufferView_pimpl.h:
7103 * BufferView_pimpl.C:
7104 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7106 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7108 * MenuBackend.C (expand): add numeric shortcuts to document menu
7110 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7112 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7114 * lyxfont.C (setLyXFamily):
7121 * buffer.C (asciiParagraph): use ascii_lowercase
7123 2002-07-15 Mike Fabian <mfabian@suse.de>
7125 * lyxlex_pimpl.C (search_kw):
7126 * lyxlex.C (getLongString):
7127 * converter.h (operator<):
7128 * converter.C (operator<):
7129 * buffer.C (parseSingleLyXformat2Token):
7131 * ToolbarDefaults.C (read):
7132 * MenuBackend.C (checkShortcuts):
7134 * LColor.C (getFromGUIName):
7135 (getFromLyXName): use the compare_ascii_no_case instead of
7136 compare_no_case, because in turkish, 'i' is not the lowercase
7137 version of 'I', and thus turkish locale breaks parsing of tags.
7139 2002-07-16 Angus Leeming <leeming@lyx.org>
7141 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7142 now takes a Buffer const & argument.
7144 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7146 * BufferView.C (resize): check there's a buffer to resize
7148 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7150 * lyxfunc.C: remove dead code
7153 * lyxserver.C: use lyx_guii::set_read_callback
7155 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7157 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7158 an inset in a RTL paragraph.
7160 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7162 * lyxfunc.C: repaint after a font size update
7164 2002-07-15 André Pönitz <poenitz@gmx.net>
7166 * lyxlength.C: inBP should be able to return negative values
7168 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7170 * lyxfunc.C: use lyx_gui::update_fonts()
7172 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7174 * lyxfunc.C: use lyx_gui::update_color()
7176 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7182 * lyxrc.C: remove file->new asks for name option, and let
7183 buffer-new take an argument
7185 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7187 * BufferView_pimpl.C: remove unneeded extra repaint()
7189 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7191 * LyXAction.C: allow command-sequence with NoBuffer
7193 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7195 2002-07-10 Angus Leeming <leeming@lyx.org>
7197 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7199 2002-07-09 Angus Leeming <leeming@lyx.org>
7201 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7203 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7205 * lengthcommon.h: whitespace
7207 * lyxfunc.C: update scrollbar after goto paragraph
7209 * lyxtext.h: factor out page break drawing, and fix it so
7210 page break/added space paints as selected nicely
7212 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7214 * BufferView_pimpl.C: add FIXMEs, clean up a little
7216 2002-07-09 André Pönitz <poenitz@gmx.net>
7218 * lyxfont.[Ch]: support for wasy symbols
7220 2002-07-08 André Pönitz <poenitz@gmx.net>
7222 * BufferView_pimpl.C: apply John's patch for #93.
7224 2002-07-05 Angus Leeming <leeming@lyx.org>
7226 * BufferView_pimpl.C (buffer): generate previews if desired.
7228 * LColor.h: add "preview" to the color enum.
7230 * LColor.C (LColor): add a corresponding entry to the items array.
7232 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7235 2002-07-05 Angus Leeming <leeming@lyx.org>
7237 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7238 The body of the code is now in the method that is passed an ostream &
7239 rather than a file name.
7240 Pass an additional only_preamble parameter, useful for the forthcoming
7243 2002-07-03 André Pönitz <poenitz@gmx.net>
7245 * lyxfunc.C: simplify getStatus() a bit for math stuff
7247 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7249 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7251 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7253 * text.C (changeRegionCase): do not change case of all the
7254 document when region ends at paragraph end (bug #461)
7256 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7258 * paragraph.C (startTeXParParams):
7259 (endTeXParParams): add \protect when necessary
7261 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7263 * BufferView_pimpl.C (workAreaExpose): remove warning
7265 2002-06-27 Angus Leeming <leeming@lyx.org>
7267 * Makefile.am: add lyxlayout_ptr_fwd.h.
7269 2002-06-26 André Pönitz <poenitz@gmx.net>
7271 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7273 2002-06-25 Angus Leeming <leeming@lyx.org>
7275 * lyxfunc.C (dispatch): Comment out the call to
7276 grfx::GCache::changeDisplay. The method no longer exists now that the
7277 pixmap generation part of the graphics loader has been moved into
7280 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7282 * text2.C: layout as layout
7284 * text.C: layout as layout
7286 * tabular.C (OldFormatRead): layout as layout
7288 * paragraph_pimpl.C (TeXDeeper): layout as layout
7289 (realizeFont): layout as layout
7291 * paragraph.C (writeFile): layout as layout
7292 (validate): layout as layout
7293 (getFont): layout as layout
7294 (getLabelFont): layout as layout
7295 (getLayoutFont): layout as layout
7296 (breakParagraph): layout as layout
7297 (stripLeadingSpaces): layout as layout
7298 (getEndLabel): layout as layout
7299 (getMaxDepthAfter): layout as layout
7300 (applyLayout): layout as layout
7301 (TeXOnePar): layout as layout
7302 (simpleTeXOnePar): layout as layout
7303 (TeXEnvironment): layout as layout
7304 (layout): layout as layout
7305 (layout): layout as layout
7307 * lyxtextclass.C (compare_name): new functor to work with
7308 shared_ptr, layout as layout
7309 (Read): layout as layout
7310 (hasLayout): layout as layout
7311 (operator): layout as layout
7312 (delete_layout): layout as layout
7313 (defaultLayout): layout as layout
7315 * lyxlayout_ptr_fwd.h: new file
7317 * lyxlayout.C (Read): layout as layout
7319 * lyx_cb.C (MenuInsertLabel): layout as layout
7321 * bufferlist.C (newFile): layout as layout
7323 * buffer.C (readLyXformat2): layout as layout
7324 (parseSingleLyXformat2Token): layout as layout
7325 (insertStringAsLines): layout as layout
7326 (asciiParagraph): layout as layout
7327 (latexParagraphs): layout as layout
7328 (makeLinuxDocFile): layout as layout
7329 (simpleLinuxDocOnePar): layout as layout
7330 (makeDocBookFile): layout as layout
7331 (simpleDocBookOnePar): layout as layout
7332 (getLists): layout as layout
7334 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7336 * CutAndPaste.C (cutSelection): layout as layout
7337 (pasteSelection): layout as layout
7338 (SwitchLayoutsBetweenClasses): layout as layout
7340 * BufferView_pimpl.C (Dispatch): layout as layout
7341 (smartQuote): layout as layout
7343 * BufferView2.C (unlockInset): layout as layout
7345 2002-06-24 André Pönitz <poenitz@gmx.net>
7347 * lyxfunc.C: fix #487
7349 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7353 * lyxfunc.C: remove display_shortcuts, show_banner
7355 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7357 * Buffer_pimpl.C: oops, update on resize
7359 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7366 * BufferView.C: use repaint()
7368 * BufferView_pimpl.h:
7369 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7370 as it's a clearer description. Remove superfluous
7373 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7375 * text.C: fix bug 488. Not ideal, but getting
7376 getWord() to work properly for the insets that
7377 matter is more difficult ...
7379 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7381 * BufferView_pimpl.C:
7384 * lyxfunc.C: remove the six million index lyxfuncs to just
7385 one, and DTRT (bug 458)
7387 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7391 * BufferView_pimpl.h:
7392 * BufferView_pimpl.C: clean up resize() stuff,
7393 and unnecessary updateScreen()s
7395 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7399 * BufferView_pimpl.h:
7400 * BufferView_pimpl.C:
7403 * minibuffer.C: remove focus management of workarea,
7404 not needed. Use screen's greyOut()
7406 2002-06-17 Herbert Voss <voss@lyx.org>
7408 * converter.C: (convert) do not post a message, when converting
7409 fails, let the calling function decide what to do in this case
7411 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7413 * lyxfunc.C: tidy up a little
7415 2002-06-16 <alstrup@diku.dk>
7417 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7418 Got rid of FORMS_H_LOCATION include. Now we are
7421 2002-06-15 LyX Development team <lyx@rilke>
7423 * buffer.[Ch] (sgmlOpenTag):
7424 (sgmlCloseTag): Added support for avoiding pernicious mixed
7425 content. Return number of lines written.
7428 (makeDocBookFile): Fixed calls to sgml*Tag.
7429 Simple white space clean.
7431 (simpleDocBookOnePar): Simple white space clean.
7433 * tabular.[Ch] (docBook): Renamed to docbook and got another
7434 argument to related with the pernicious mixed content.
7436 (docbookRow): Fixed calls for docbook inset method.
7438 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7440 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7441 so it's X11 independent.
7445 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7447 2002-06-15 Lyx Development team <lyx@electronia>
7449 * intl.h: Renamed getTrans to getTransManager.
7451 2002-06-14 Angus Leeming <leeming@lyx.org>
7453 * Makefile.am: nuke forgotten stl_string_fwd.h.
7455 2002-06-12 Angus Leeming <leeming@lyx.org>
7457 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7459 2002-06-13 Angus Leeming <leeming@lyx.org>
7462 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7464 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7466 * kbmap.C (getiso): add support for cyrillic and greek
7468 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7472 * BufferView_pimpl.h:
7473 * BufferView_pimpl.C: move bogus scrolling logic
7476 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7479 * BufferView_pimpl.C: view->resize() change
7481 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7483 * BufferView_pimpl.C: topCursorVisible
7486 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7490 * lyx_gui.C: move to frontends/
7494 * lyx_main.C: changes from above
7496 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7503 * lyx_main.C: minor tidy
7505 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7507 * BufferView_pimpl.h:
7508 * BufferView_pimpl.C:
7510 * BufferView.C: make painter() const,
7513 * BufferView2.C: use screen() accessor
7516 * lyx_main.C: some minor cleanup
7518 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7520 * BufferView_pimpl.h:
7521 * BufferView_pimpl.C: remove enter/leaveView,
7524 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7529 * BufferView_pimpl.h:
7530 * BufferView_pimpl.C: only construct screen once,
7533 * lyxrc.C: remove pointless comment
7535 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7538 * BufferView.C: remove active() and belowMouse()
7540 * BufferView_pimpl.h:
7541 * BufferView_pimpl.C: use workarea() not workarea_,
7542 and make it use a scoped_ptr instead
7544 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7546 * lyx_gui.C: add debug message on BadWindow
7548 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7550 * sp_spell.C: fdopen is not part of the C++ standard.
7552 * paragraph.C (InsetIterator): use >= instead of ==
7554 2002-06-07 Angus Leeming <leeming@lyx.org>
7556 Fixes needed to compile with Compaq cxx 6.5.
7557 * BufferView_pimpl.C:
7564 * lyxtextclasslist.C:
7569 all c-library variables have been moved into namespace std. Wrap
7570 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7575 Add a using std::abs declaration.
7577 * kbmap.h (modifier_pair):
7578 * paragraph.h (InsetTable, InsetList):
7579 * lyxfont.h (FontBits):
7580 type definition made public.
7582 * bufferlist.C (emergencyWriteAll): the compiler complains that
7583 there is more than one possible lyx::class_fun template to choose from.
7584 I re-named the void specialisation as lyx::void_class_fun.
7586 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7588 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7589 the compiler is is unable to find tostr in write_attribute.
7591 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7593 * buffer.C (sgmlError): hide #warning
7595 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7597 * xtl/*: get rid of xtl, which is not in use anyway
7599 * LyXAction.C (init):
7600 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7601 were unimplemented xtl experimentation
7603 2002-06-04 André Pönitz <poenitz@gmx.net>
7605 * lyxfunc.C: disable array operation on simple formulae
7607 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7609 * converter.C: constify a bit
7611 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7613 * lyx_gui.C: check xforms version correctly
7615 2002-04-30 Herbert Voss <voss@lyx.org>
7617 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7620 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7622 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7623 attempt to register it with a VCS)
7625 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7627 * lyx_main.C (init): honor variables LYX_DIR_13x and
7630 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7634 * lyx_main.C: fix a crash on bad command line,
7635 and give a useful exit status on error
7637 * lyxfunc.C (doImport): allow -i lyx to work
7639 2002-03-30 André Pönitz <poenitz@gmx.net>
7641 * lyxfunc.C: mathed font changes
7643 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7658 * trans_mgr.h: srcdocs, and some minor cleanups
7660 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7662 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7663 call getFont all the time)
7665 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7667 * switch from SigC signals to boost::signals
7669 2002-05-29 André Pönitz <poenitz@gmx.net>
7671 * paragraph_pimpl.C (getChar): don't call size() too often...
7673 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7675 * paragraph_pimpl.C (insertChar): do not try to update tables when
7676 appending (pos == size())
7678 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7679 in order to reduce drastically the number of comparisons needed to
7680 parse a large document
7682 2002-05-29 André Pönitz <poenitz@gmx.net>
7688 * textclasslist.[Ch]:
7689 * sp_ispell.h: whitespace change
7691 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7693 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7694 lyxaction directly now.
7696 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7700 * lyxvc.C: remove unused headers
7702 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7709 * undo_funcs.C: some cleanups. Use shared_ptr
7710 and a template for the undo stacks.
7712 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7714 * BufferView_pimpl.h:
7715 * BufferView_pimpl.C:
7722 * text2.C: use key_state/mouse_state
7724 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7726 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7729 * chset.C: change include order
7730 (loadFile): use boost regex and get rid of LRegex and LSubstring
7732 * Makefile.am (BOOST_LIBS): new variable
7735 * LaTeX.C: change include order.
7736 (scanAuxFile): use boost regex and get rid of LRegex and
7740 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7745 * FontInfo.C: moved to frontends/xforms/
7748 * FontLoader.C: moved into frontends for GUIIzation
7753 * lyxfunc.C: changes from above
7755 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7757 * LColor.C: remove spurious X include
7759 * BufferView_pimpl.C:
7764 * text2.C: move font metrics to frontends/
7766 2002-05-24 Juergen Vigna <jug@sad.it>
7768 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7769 setting the undo_cursor.
7771 * ParagraphParameters.h: include local includes first.
7773 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7775 * BufferView_pimpl.C:
7776 * BufferView_pimpl.h:
7780 * screen.C: move WorkArea into frontends/
7786 * BufferView2.C: move LyXScreen into frontends/
7790 * lyx_gui.C: move lyxlookup into frontends/xforms/
7792 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7795 * BufferView_pimpl.C:
7805 * bufferview_funcs.C:
7818 * vc-backend.C: move LyX/XFormsView into frontends/
7820 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7832 * text2.C: move Painter to frontends/
7834 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7836 * buffer.C: comment out some some code that depend upon lyx_format
7839 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7840 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7842 * buffer.h (NO_COMPABILITY): turn off compability
7844 * ColorHandler.C: include scoped_array.hpp
7846 * font.C: Use more specific smart_ptr header.
7849 * ShareContainer.h: ditto
7853 * BufferView_pimpl.h: ditto
7854 * ColorHandler.h: ditto
7856 * kbmap.C (defkey): change call to shared_ptr::reset
7858 2002-05-21 Juergen Vigna <jug@sad.it>
7860 * buffer.C (insertErtContents): fix to insert ert asis if it is
7861 non empty. Skip it completely if it contains only whitespaces.
7863 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7865 * BufferView_pimpl.C:
7866 * BufferView2.C: clear selection on paste (bug 393)
7868 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7870 * DepTable.C: include ctime
7872 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7874 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7876 2002-05-14 Juergen Vigna <jug@sad.it>
7878 * text.C (breakParagraph): fixed function to honor the keepempty
7879 layout in the right maner and also to permit the right breaking
7880 algorithm on empty or non empyt keepempty paragraphs.
7882 * paragraph.C (breakParagraph): we have to check also if the par
7883 is really empty (!size()) for isempty otherwise we do the wrong
7886 2002-05-10 Juergen Vigna <jug@sad.it>
7888 * buffer.[Ch] : The following are only changes to the ert
7889 compatibility read reading old LaTeX layout and font stuff and
7890 convert it to ERTInsets.
7892 * buffer.h: added isErtInset().
7894 * buffer.C (struct ErtComp): add a fromlayout bool to check
7895 if we're inside a LaTeX layout.
7896 (isErtInset): new helper function.
7897 (insertErtContents): look for other ert insets before this one
7898 and insert the contents there, so that we don't have subsequent
7899 ERT insets with nothing between them. This way we create only one
7900 inset with multiple paragraphs. Also check if we don't insert only
7901 spaces ' ' as they are ignored anyway afterwards in the .tex file
7902 so if we have only spaces we will ignore this latex part in the
7904 (parseSingleLyXformat2Token \\layout): better compatibility when
7905 reading layout-latex stuff.
7906 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7908 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7909 stuff after reading the inset only get the information back from
7912 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7914 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7916 * LaTeXFeatures.C (getBabelOptions): New method.
7918 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7920 * BufferView_pimpl.C (Dispatch): work around missing argument for
7923 2002-05-08 Juergen Vigna <jug@sad.it>
7925 * text.C (leftMargin): handle paragraph leftindent.
7927 * paragraph.C (writeFile): write the new \\leftindent tag.
7928 (validate): handle leftindent code.
7929 (TeXEnvironment): handle paragraphleftindent code again.
7931 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7933 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7934 for paragrap_extra indent code and new token \\leftindent.
7935 (latexParagraphs): handle the leftindent as environment.
7937 * ParameterStruct.h: added leftindent support.
7939 * ParagraphParameters.C (leftIndent): added support functions for
7940 the paragraph left indent.
7942 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7945 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7947 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7950 * text.C (computeBidiTables): No bidi in insetERT.
7952 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7955 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7957 * version.C.in: pre 5
7959 2002-05-02 José Matos <jamatos@fep.up.pt>
7960 * buffer.C (makeDocBookFile): white space changes, add newline to
7962 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7964 * tabular.C (docBook): fix typo.
7966 2002-05-03 Juergen Vigna <jug@sad.it>
7968 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7969 change in LyXText as we can not be sure it was not freed.
7970 (drawOneRow): remove unused code.
7972 * text.C (drawInset): redo the calculation of the need_break_row as
7973 it could have a row which was already freed.
7974 (draw): look at the return value of drawInset and return false if
7975 it also returned false.
7976 (paintRowText): look at the return value of draw and return false if
7977 it also returned false.
7979 * lyxtext.h: added bool return type to drawInset() and draw() so that
7980 if we have a change in the row so that the rowbreak has to be redone
7981 we abort drawing as it will be called again.
7983 2002-05-02 Juergen Vigna <jug@sad.it>
7985 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7986 a change in the maintext also if we're inside an inset.
7987 (Dispatch): set the cursor again after a break line and after the
7988 screen has been updated as it could be we're in a different row.
7990 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7991 to set the cursor behind the pargraph with > size().
7992 (setCursor): check also for the same paragraph when checking where
7993 to put the cursor if we have a NFR inset.
7995 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7996 parts of layout read further up as it still was in the wrong
7999 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8001 * screen.C (drawFromTo): change sine fullRebreak always return
8004 * buffer.C (parseSingleLyXformat2Token): reindent some
8006 * BufferView_pimpl.C (update): change since fullRebreak always
8008 (Dispatch): git rid of the last hardcoded "Standard"s.
8010 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8012 * text2.[Ch] (fullRebreak): make it return void now that we always
8015 2002-04-30 Juergen Vigna <jug@sad.it>
8017 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8018 ert compatibility check for "latex" layout.
8020 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8022 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8023 minipages: use col% instead of p%, and also use the current font.
8024 (makeLaTeXFile): Fix use babel condition.
8025 (parseSingleLyXformat2Token): Correct font when reading old floats.
8027 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8029 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8030 inserting list of floats.
8032 2002-04-25 Herbert Voss <voss@lyx.org>
8034 * MenuBackend.C (expand): don't add the graphics extensions to the
8037 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8039 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8040 non-existing layout, do not complain if it was the default layout
8041 of the original class (bug #342)
8043 2002-04-24 Juergen Vigna <jug@sad.it>
8045 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8046 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8048 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8050 * buffer.C (getBibkeyList): If using \bibliography, return the
8051 option field with the reference itself. Enables us to provide natbib
8052 support when using \bibliography.
8054 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8056 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8058 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8059 natbib is provided by the LaTeX class.
8061 2002-04-23 Juergen Vigna <jug@sad.it>
8063 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8066 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8068 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8070 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8072 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8073 ensuremath around textordmasculine, textordfeminine and
8076 2002-04-19 Juergen Vigna <jug@sad.it>
8078 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8079 reinitializing the buffer otherwise row-dimensions may be wrong.
8080 (update): reset also the selection cursors if they do exits otherwise
8081 their x/y positions may be wrong.
8083 * text2.C (cursorDown): don't enter the inset if we came from a row
8084 above and are one row over the inset.
8086 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8087 really leaving an inset.
8089 2002-04-18 Juergen Vigna <jug@sad.it>
8091 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8092 of the selected paragraph does not have the selected layout also if
8095 * text2.C (setLayout): fixed bug which did not change last selected
8098 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8099 changed the read and substituted \\end_float with \\end_inset!
8101 * BufferView_pimpl.C (cursorPrevious):
8102 (cursorNext): fixed to make it work with rows heigher than the work
8103 area without moving the cursor only the draw of the row.
8104 (workAreaMotionNotify): fix jumping over high rows.
8106 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8108 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8111 2002-04-16 Juergen Vigna <jug@sad.it>
8113 * text2.C (setCursor): set also the irow().
8114 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8116 (cursorDown): support for locking an inset if the x_fix value goes
8117 inside it. That way I can transverse insets too with cursor up/down.
8119 * lyxrow.h: added irow helper function same as other (i) functions.
8121 * BufferView_pimpl.C (cursorPrevious):
8122 (cursorNext): fixed for insets!
8124 2002-04-15 Juergen Vigna <jug@sad.it>
8126 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8127 position otherwise it is wrong in some cases.
8129 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8130 inside the inset before the call.
8132 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8134 * buffer.[Ch] (getBibkeyList): make it const.
8136 2002-04-12 Juergen Vigna <jug@sad.it>
8138 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8140 * text2.C (getCursorX): new helper function
8141 (setCursor): compute also ix_
8142 (setCursorFromCoordinates): set also ix.
8144 * lyxcursor.h: added ix_ and helper functions.
8146 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8148 * buffer.C (insertStringAsLines): dont break paragraph if the this
8149 paragraph is inside an inset which does not permit it!
8151 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8152 also with no chars on this paragraph.
8153 (paintRowText): only paint stuff if it's inside the workarea!
8155 * paragraph.C (breakParagraph): honor keepempty flag and break the
8156 paragraph always below not above.
8158 * BufferView2.C (unlockInset): update the paragraph layout on inset
8159 unlock as we changed paragraph in such a case.
8161 * lyxfind.C (LyXFind): clear the former selection if not found!
8163 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8164 again called in insertChar().
8166 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8167 an inset which uses the whole row!
8168 (rightMargin): ditto.
8169 (insertChar): force a rebreak if we inserted an inset!
8171 2002-03-28 Herbert Voss <voss@lyx.org>
8173 * lyxlength.[Ch]: add inBP() to get the right PS-point
8174 units (BigPoint). With inPixels we have rounding errors
8176 2002-04-11 Juergen Vigna <jug@sad.it>
8178 * text2.C (setCursorFromCoordinates): set iy to the right value.
8179 (setCursor): add check if row->previous exists!
8181 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8182 an old float_type as this was the case in the old code!
8184 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8186 * BufferView2.C (showLockedInsetCursor): use iy
8187 (fitLockedInsetCursor): ditto
8189 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8190 locked insets as there we have the right value now.
8192 * lyxcursor.C: added iy_ variable and iy functions to set to the
8193 baseline of cursor-y of the locked inset.
8195 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8196 (setCursor): fixed for insets which need a full row.
8198 * text.C (rowLastPrintable): don't ignore the last space when before
8199 an inset which needs a full row.
8200 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8201 as last character of a row when before a inset which needs a full row.
8203 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8205 * version.C.in: update date
8207 * text2.C (fullRebreak): try to always return true and see what
8210 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8212 * MenuBackend.C (expand): use Floating::listName
8214 * FloatList.C (FloatList): add listName argument to the built-in
8217 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8218 text associated with the float.
8220 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8222 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8224 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8226 * ShareContainer.h: add a couple of missing typenames.
8228 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8230 * lyxrc.C (getDescription): use _() correctly rather than N_().
8232 2002-03-28 Herbert Voss <voss@lyx.org>
8234 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8235 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8237 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8239 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8240 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8242 2002-03-29 Juergen Vigna <jug@sad.it>
8244 * lyxfunc.C (dispatch): add a missing fitCursor call.
8246 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8247 it was scrolled by a cursor move, so return the bool status.
8249 * BufferView.C (fitCursor): return the bool flag also to the outside
8250 world as this is needed.
8252 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8254 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8255 call the edit() as it is not needed (and wrong) IMO.
8256 (workAreaButtonPress): set the screen_first variable before evt.
8257 unlock the inset as this may change screen_first and then we have
8258 a wrong y position for the click!
8260 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8262 * MenuBackend.C (expand): another translation that I missed
8264 2002-03-28 Juergen Vigna <jug@sad.it>
8266 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8268 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8270 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8272 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8274 * MenuBackend.C (expand): fix export/view/update when there is no
8277 2002-03-27 Herbert Voss <voss@lyx.org>
8279 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8282 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8284 * bufferview_funcs.C (currentState): only show paragraph number
8285 for is DEVEL_VERSION is set.
8287 * lyxfunc.C (dispatch): put warning in INFO channel
8289 * MenuBackend.C (expand): translate the name of floats
8291 * FloatList.C (FloatList): mark the float names for translation
8293 * converter.C (convert): use LibScriptSearch
8295 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8297 * MenuBackend.C (defaults): fix default menu (we might as well get
8300 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8302 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8305 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8307 * lyxvc.C: reorder includes.
8309 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8311 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8314 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8316 * CutAndPaste.C: change layouts earlier on paste
8317 to avoid crashing when calling getFont()
8319 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8321 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8324 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8326 * WorkArea.C: remove 'Pending' debug message.
8328 * most files: ws cleanup
8330 * buffer.[Ch]: ws changes
8332 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8334 2002-03-21 Juergen Vigna <jug@sad.it>
8336 * tabular.C (SetMultiColumn): collapse also the contents of the
8337 cells and set the last border right. Added a Buffer const * param.
8339 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8341 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8344 2002-03-19 Juergen Vigna <jug@sad.it>
8346 * text2.C (clearSelection): reset also xsel_cache.
8348 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8349 where it needs to be called (John tells us to do so too :)
8350 (selectionLost): reset sel_cache.
8352 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8354 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8356 * text2.C (setCursorIntern): put debuging code in INSETS channel
8358 2002-03-19 André Pönitz <poenitz@gmx.net>
8360 * lyxfunc.C: tiny whitespace change
8362 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8364 * ToolbarDefaults.C (init):
8365 * LyXAction.C (init):
8367 * BufferView_pimpl.C (Dispatch):
8368 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8370 2002-03-19 Allan Rae <rae@lyx.org>
8372 * exporter.C (Export): removeAutoInsets before doing anything else.
8373 While I've just introduced a dependency on BufferView this really is
8374 the best place to clean the buffer otherwise you need to cleanup in
8375 a dozen places before calling export or cleanup in a dozen functions
8378 * converter.C (runLaTeX):
8379 (scanLog): Better handling of removeAutoInsets and screen updates.
8381 * lyxfunc.C (dispatch): small whitespace changes
8383 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8385 * WorkArea.C (C_WorkAreaEvent): return a value.
8386 (event_cb): return 1 if we handled the event, 0 otherwise.
8388 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8390 2002-03-18 Juergen Vigna <jug@sad.it>
8392 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8393 (GetAdditionalWidth): ditto.
8397 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8398 inset if we're there actually (probably not used right now but this
8399 is the direction to go for unifying code).
8400 (paste): disable code to clear the selection.
8402 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8403 inside an InsetText and move the check further up as it is in the
8406 * text2.C (pasteSelection): set a selection over the pasted text.
8408 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8410 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8411 and libgraphics to build on Cygwin.
8413 2002-03-15 Juergen Vigna <jug@sad.it>
8415 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8416 inserting an Inset into the paragraph. I know this is not the best
8417 fix but we already use current_view in CutAndPaste so we will remove
8418 all of it's using at the same time.
8420 * buffer.C (sgmlError): deactivated function till it is rewritten in
8421 the right mode, now it can create problems.
8423 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8424 before accessing it.
8426 2002-03-14 Juergen Vigna <jug@sad.it>
8428 * undo_funcs.C (textHandleUndo): do the right thing when updating
8429 the inset after the undo/redo.
8431 * text2.C (setCursor): just some testcode for #44 not ready yet.
8433 * undo_funcs.C (textHandleUndo): set the next() and previous()
8434 pointers of the paragraph to 0 before deleting otherwise we have
8435 problems with the Paragraph::[destructor].
8437 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8438 on a paragraph insertion.
8440 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8442 * buffer.C (asciiParagraph): use += operator for char append to
8445 * paragraph.C (getFontSettings): compare >= not just >
8446 (highestFontInRange): ditto
8449 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8451 * paragraph.C: change several algorithm to be more appripriate for
8452 the problem domain. This is lookip in FontList and in the InsetList.
8454 2002-03-13 André Pönitz <poenitz@gmx.net>
8457 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8459 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8464 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8466 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8468 * Painter.C (display): anon helper function, adjust code for this
8470 (pixmap): remove function.
8472 * Painter.h: remove private display variable.
8474 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8476 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8478 * WorkArea.[Ch]: remove figinset_canvas cruft.
8480 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8482 * lyxtextclass.C (operator): add one item cache optimization.
8484 * bufferlist.h: doxy changes
8486 * bufferlist.C: ws changes
8488 * DepTable.[Ch] (ext_exist): place const in the right spot.
8490 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8492 (workAreaExpose): call resizeInsets when the with BufferView changes.
8493 (Dispatch): adjust for protectedBlank removal
8494 (specialChar): call updateInset if the insert went ok.
8496 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8497 specialChar instead.
8499 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8501 * BufferView.h: doxy change
8503 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8505 * lyxtextclass.C (operator[]): remove non-const version
8506 (defaultLayout): remove non-const version
8508 2002-03-12 Juergen Vigna <jug@sad.it>
8510 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8511 did resize the LyXText too.
8513 * buffer.C (readLyXformat2): set layout information on newly allocated
8516 * tabular.C (OldFormatRead): set layout information on the paragraph.
8518 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8520 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8522 2002-03-11 Juergen Vigna <jug@sad.it>
8524 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8526 (resizeCurrentBuffer): force also the insets to resize themselfes.
8527 (moveCursorUpdate): fixed up for InsetText.
8529 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8532 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8533 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8534 value of Dialogs::tooltipsEnabled().
8535 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8537 2002-03-08 Juergen Vigna <jug@sad.it>
8539 * BufferView_pimpl.C (updateInset): update inset inside inset also
8540 if it isn't inside theLockingInset().
8542 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8544 * buffer.C (asciiParagraph): redo some of the word and line length
8546 (getLists): look for Caption instead of caption.
8548 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8550 * buffer.C (Buffer): initialize niceFile to true
8553 (makeDocBookFile): make sure niceFile is true on exit
8555 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8557 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8559 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8561 * LyXSendto.C: remove.
8562 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8563 * lyx_gui.C: remove now-redundant comment.
8564 * ColorHandler.h: remove forward declaration of class WorkArea.
8565 * lyxfunc.C: remove #include "WorkArea.h".
8567 2002-03-07 Juergen Vigna <jug@sad.it>
8569 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8570 got moved away with the DEPM and also set the inset_owner always
8571 right which before could have been omitted.
8573 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8575 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8576 wanted layout is not found.
8578 2002-03-07 Juergen Vigna <jug@sad.it>
8580 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8582 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8584 * paragraph.C (breakParagraph): use default layout not layout of
8586 (Paragraph): clear ParagraphParameters.
8588 2002-03-06 Juergen Vigna <jug@sad.it>
8590 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8591 otherwise it would not be a valid lenght. Fixed a special case in
8592 the minipage compatibility read where we end the document with a
8595 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8596 was set as it could be 0 for InsetTexts first entry.
8598 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8600 * paragraph.C (writeFile): if layout is empty write out
8601 defaultLayoutName().
8603 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8604 file without named layout we set layout to defaultLayoutName().
8606 2002-03-06 Juergen Vigna <jug@sad.it>
8608 * CutAndPaste.C (copySelection): set layout for new paragraph.
8610 * text.C (prepareToPrint): leave ERT inset left aligned
8611 (leftMargin): don't indent paragraphs inside ERT insets
8613 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8615 * paragraph.C (breakParagraph): dont call clear do the work manually
8617 * paragraph.[Ch] (clear): remove function
8619 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8621 * paragraph.C (Paragraph): dont call clear, the work has already
8624 * lyxtextclass.C (operator): assert if n is empty
8626 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8627 work manually instead.
8629 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8631 * BufferView_pimpl.C: protect selectionLost against text == 0
8633 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8635 * text.C (breakParagraph): fix a setting layout to '0' problem.
8637 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8639 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8640 final location of file, for the included files, and graphics.
8642 2002-03-05 Juergen Vigna <jug@sad.it>
8644 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8646 2002-03-04 Juergen Vigna <jug@sad.it>
8648 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8650 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8651 last column of multicolumn cells.
8652 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8654 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8656 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8657 file if it doesn't go to a temporary file.
8659 * buffer.C (sgmlOpenTag):
8660 (sgmlCloseTag): remove extra newline insertion.
8662 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8664 * text.C (getRowNearY): comment out debug msg
8666 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8668 * text2.C: first -> first_y
8670 * text.C (getRowNearY): add some attemts at a possible
8671 optimization, not working.
8673 * tabular.[Ch]: add BufferParams to several function so that newly
8674 created paragraph can be initialized to he default layotu for the
8677 * tabular-old.C (ReadOld): add buf->params to call of Init
8679 * screen.C: rename text->first to text->first_y
8681 * paragraph.C (breakParagraph): always set layout in the broken
8684 * lyxtextclass.C (Read): remove lowercase
8687 (delete_layout): ditto
8689 * lyxtext.h: rename first -> first_y
8691 * lyxlayout.C (Read): remove lowercase
8694 (obsoleted_by): ditto
8696 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8698 * buffer.C (insertErtContents): add params are to InsetERT
8699 (parseSingleLyXformat2Token): add code to check if a paragraphs
8700 layout really exist.
8701 (parseSingleLyXformat2Token): add params to several inset
8703 (asciiParagraph): remove lowercase, do the layout comparisons with
8706 * BufferView_pimpl.C (cursorNext): first -> first_y
8707 (resizeCurrentBuffer): first -> first_y
8708 (updateScrollbar): first -> first_y
8709 (scrollCB): first -> first_y
8710 (workAreaMotionNotify): first -> first_y
8711 (workAreaButtonPress): first -> first_y
8712 (checkInsetHit): first -> first_y
8713 (cursorPrevious): first -> first_y
8714 (cursorNext): first -> first_y
8715 (Dispatch): add buffer_->params to severl inset contructors
8717 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8719 * lyxlayout.C (Read): remove some debug info that I forgot.
8721 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8722 clean up the code slightly.
8723 (makeLinuxDocFile): ditto
8724 (makeDocBookFile): ditto
8726 * text2.C: layout as string
8728 * text.C: layout as string
8730 * paragraph_pimpl.C: layout as string
8732 * paragraph.[Ch]: layout as string
8734 * lyxtextclasslist.[Ch]: layout as string
8736 * lyxtextclass.[Ch]: layout as string
8738 * lyxtext.h: layout as string
8740 * lyxlayout.[Ch]: layout as string
8742 * lyx_cb.C: layout as string
8744 * bufferview_funcs.C: layout as string
8746 * bufferparams.C: layout as string
8748 * buffer.C: layout as string
8750 * LyXView.[Ch]: layout as string
8752 * LaTeXFeatures.[Ch]: layout as string
8754 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8756 * BufferView_pimpl.C: change current_layout to string, remove
8761 (workAreaButtonRelease): layout as string
8763 * BufferView2.C (unlockInset): adjust
8765 * vspace.C (asLatexCommand): use an explict temp variable.
8767 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8769 * Makefile.am: use FRONTEND_*
8771 2002-03-01 Juergen Vigna <jug@sad.it>
8773 * tabular.C (SetWidthOfMulticolCell): changed to something better
8774 I hope but still work in progress.
8775 (recalculateMulticolumnsOfColumn): renamed function from
8776 recalculateMulticolCells as it is more appropriate now.
8777 (SetWidthOfCell): calculate multicols better.
8779 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8781 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8783 * lyxfunc.C (processKeySym): print sequence also if it is
8784 `deleted' (complete)
8786 * kbsequence.C (print): print sequence even if it is deleted
8787 (complete would be a better word, actually).
8789 * lyxfunc.C (dispatch): print complete options after a prefix key
8791 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8793 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8795 * text2.C (setCharFont): eliminate setCharFont code duplication.
8797 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8799 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8800 LFUN_TABULAR_FEATURE (bug #177)
8802 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8804 * Makefile.am: remove figure.h
8806 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8808 * Bufferview_pimpl.C:
8820 * text2.C: remove #include "lyx_gui_misc.h".
8822 * LaTeX.C: added #include <cstdio>
8824 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8826 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8827 that the paragraph following this one can have.
8829 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8831 * vspace.C (asLatexCommand): fix bogus gcc warning
8833 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8835 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8837 * text2.C (setLayout): get rid of redundant code
8839 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8841 * text2.C (incDepth): make sure depth cannot be increased beyond
8844 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8846 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8847 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8849 * PainterBase.h (image):
8850 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8853 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8857 * BufferView_pimpl.C:
8858 * BufferView_pimpl.h:
8878 * sp_spell.C: remove fig inset, and the crap house of
8879 cards that follows it
8881 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8887 * nt_defines.h: move .h into support/
8889 * vms_defines.h: remove
8891 * WorkArea.C: add space in debug output
8895 * buffer.C: add WITH_WARNINGS
8899 * bufferlist.C: s/retrive/retrieve/, add docs
8910 * lyxgui.C: add ID to X error handler
8912 * lyxtestclass.c: fix typo
8914 2002-02-26 Juergen Vigna <jug@sad.it>
8916 * tabular_funcs.C (write_attribute): changed so that some default
8917 attributes are not written at all.
8918 (getTokenValue): set default values before trying to read the
8919 value so we have the return value always set as default if we don't
8920 find the token we search for.
8922 * tabular.C (Write): write bools as bools not as strings!
8924 2002-02-22 Juergen Vigna <jug@sad.it>
8926 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8927 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8929 * text.C (leftMargin): don't add an indent for paragraphs inside
8930 tabular cells (fix #208).
8932 2002-02-21 José Matos <jamatos@fep.up.pt>
8934 * tabular.C (docBook): fixed support for long tables.
8936 2002-02-20 Juergen Vigna <jug@sad.it>
8938 * text2.C (getFont): get the drawing font of the Inset if this
8939 paragraph is inside an inset (only important for InsetERT for now).
8941 * buffer.C (insertErtContents): use new lanugage params in ERT
8944 * CutAndPaste.C: commenting out seemingly uneeded code.
8946 2002-02-19 Allan Rae <rae@lyx.org>
8948 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8949 Iterators might be simple to use but they also get invalidated.
8950 (removeAutoInsets): renamed saved cursor tracking variables and added
8951 some comments to clarify what everything does.
8953 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8960 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8961 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8964 * vc-backend.h: remove #include "support/syscall.h"
8968 * converter.C: rearrange #includes in Lars' approved fashion.
8970 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8971 forward declare class Timeout in the header file.
8973 * XFormsView.C: changes due to the above.
8975 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8978 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8979 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8981 2002-02-18 José Matos <jamatos@fep.up.pt>
8983 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8986 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8988 * a lot of small ws changes
8989 * add a lot of using std::XXX
8990 * use std construcs some places where approp.
8991 * use some exisint stuff from lyxfunctional where approp.
8992 * Make file changes to use partial linking (lets test this now...)
8994 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8998 remove #include "support/syscontr.h" as it's redundant. Always has been.
9006 change Systemcalls::System to Systemcalls::Wait and
9007 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9008 No change of functionality, just reflects the stripped down Systemcalls
9011 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9013 * debug.[Ch]: add a GRAPHICS type to the enum.
9015 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9017 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9019 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9022 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9024 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9025 match the changes below.
9027 * text2.C (toggleInset): if there is not editable inset at cursor
9028 position, try to see if cursor is _inside_ a collapsable inset
9031 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9033 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9034 document menu has a nice checkbox
9036 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9038 * lyxlength.C (asLatexString): change PW to output as percent of
9041 * lengthcommon.C: change '%' to 't%'
9043 * lyxfunc.C (dispatch): a few comments from Martin
9045 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9049 * BufferView_pimpl.h:
9050 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9053 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9055 * vspace.C (inPixels): fix compiler warning
9057 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9059 * lyxfunc.C (getStatus): fix status message for disabled commands.
9061 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9063 * BufferView_pimpl.C: fix crash on close buffer
9064 during selection (#227)
9066 2002-01-27 Herbert Voss <voss@lyx.org>
9068 * buffer.C: link old Figure to new graphic inset
9070 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9072 * FontLoader.C (getFontinfo): Change the latex font names in order
9073 to match the names of type1inst.
9075 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9077 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9079 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9082 (remove_files_with_extension): ditto
9083 (remove_file): ditto
9086 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9087 document is smaller than the work area height. Do not initialize
9088 static variables to 0.
9090 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9092 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9094 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9095 LFUN_LAYOUT_PARAGRAPHS.
9097 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9098 tabular. It is possible to provide a possible cell, which will
9099 typically be the actcell from the corresponding insettabular
9101 * lyxfunc.C (getStatus): small cleanup; disable
9102 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9105 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9107 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9109 * paragraph.C (startTeXParParams):
9110 (endTeXParParams): new methods. The LaTeX code to
9111 start/end paragraph formatting
9112 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9113 empty (fixes bug #200)
9115 * vspace.C (inPixels): adapt to the change below
9116 (inPixels): [later] more cleanups (remove unused variables)
9118 * lyxlength.C (inPixels): change to use a width and a height as
9121 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9123 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9124 Replaced with \paperwidth
9126 * DepTable.C (insert): add std:: qualifier
9128 2002-01-18 Allan Rae <rae@lyx.org>
9130 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9133 * text.C (drawInset): Turned out I didn't know enough about how
9134 rebreaking worked. This fixes most of the redraw problems. I see
9135 an occasional cursor trail when a line is broken now and the cursor
9136 placement can seem out by a few pixels also after a rebreak.
9138 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9140 * buffer.C (parseSingleLyXformat2Token): update because minipage
9141 width is now a LyXLength
9143 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9145 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9148 2002-01-17 Juergen Vigna <jug@sad.it>
9150 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9152 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9153 is set correctly and the inset is updated correctly.
9155 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9157 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9158 the beginning of the loop.
9160 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9162 * lyxrc.C: improve help for use_scalable_fonts
9164 2002-01-17 Allan Rae <rae@lyx.org>
9166 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9168 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9170 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9171 make sure to set their inset_owner to the right value (bug #171)
9173 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9176 * DepTable.C: Implement mtime checking to reduce time spent doing
9179 2002-01-16 Juergen Vigna <jug@sad.it>
9181 * tabular.C (GetAdditionalHeight): one of error fixed.
9183 * lyxrc.C (output): small fix in writing use_pspell.
9185 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9187 * sp_base.h: #include LString.h
9189 2002-01-16 Allan Rae <rae@lyx.org>
9191 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9192 Can someone check this please?
9194 * text.C (drawInset): It was possible that p.row would be removed by
9195 breakAgainOneRow upsetting a few other settings. There may be another
9196 small tweak possible by setting need_break_row = 0 when p.row has been
9197 removed but I don't know enough about the logic here.
9199 2002-01-15 Allan Rae <rae@lyx.org>
9201 * text.C (insertChar): removed conditional truism.
9203 * BufferView2.C (removeAutoInsets): More tweaks.
9204 cur_par_prev could be a stray pointer. Check for trailing empty line
9205 in case last line was cur_par and only had an error inset on it.
9207 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9209 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9212 * vc-backend.C (most methods):
9213 * exporter.C (Export):
9214 * converter.C (convert):
9216 * LyXSendto.C (SendtoApplyCB):
9217 * lyxfunc.C (dispatch):
9221 * lyx_cb.C (AutoSave):
9223 * BufferView_pimpl.C (MenuInsertLyXFile):
9224 * buffer.C (runChktex): use Buffer::filePath().
9226 * buffer.h: rename filename to filename_; rename filepath to
9227 filepath_ and make it private
9228 (filePath): new method
9230 * buffer.C (writeFile): use fileName()
9233 * lyx_main.C (init): fix starting of LyX when the binary is a
9234 link from so,ewhere else.
9236 * minibuffer.C: include <cctype> for isprint
9238 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9240 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9241 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9242 name clash with InsetCollapsable's width function.
9244 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9246 * lastfiles.C: include <iterator>
9248 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9250 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9253 * buffer.C (makeLaTeXFile): ditto.
9254 Also make loop operation more transparent.
9256 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9258 * ToolbarDefaults.C: remove trailing comma closing namespace.
9260 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9262 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9265 * trans.C (Load): comment out unused variable, allowed.
9267 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9269 * minibuffer.[Ch] (append_char): new method to recieve input from the
9270 drop-down completion browser. If a key was pressed, then recieve this
9271 char and append it to the existing string.
9272 (peek_event): modify the positioning data passed to the completion
9273 browser so that it can be placed above the minibuffer rather than below.
9274 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9276 * LyXAction.C (init): alloe error-next for readonly documents.
9278 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9281 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9283 * bufferlist.C (readFile): create the buffer _after_ checking that
9286 * lyxfunc.C (verboseDispatch): fix handling of arguments
9288 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9290 * lyxrc.C: use string::erase() instead of initializing to "".
9293 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9295 * BufferView_pimpl.h:
9296 * BufferView_pimpl.C:
9299 * text2.C: tell X when we have made a selection for copying
9301 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9303 * BufferView_pimpl.C (MenuInsertLyXFile):
9304 * lyxfunc.C (menuNew):
9306 (doImport): add shortcuts to directory buttons
9308 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9311 * lyxfunc.C (setStatusMessage):
9312 (getStatusMessage): new methods
9313 (getStatus):use setStatusMessage instead of setErrorMessage
9314 (dispatch): when function is disabled, set error message here
9315 [instead of in getStatus previously]
9317 * BufferView_pimpl.C (workAreaButtonRelease): update
9318 toolbar/menubar here too.
9320 2002-01-13 Allan Rae <rae@lyx.org>
9322 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9323 Now seems indestructible. Remaining task is to audit all other
9324 code affected by deleteEmptyParagraphMechanism. One small quirk
9325 left is that an empty document with an error in the preamble can
9326 be made to report an error but no error box appears. I don't know
9328 (removeAutoInsets): Improved comments.
9330 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9333 * Thesaurus.C: update for Aiksaurus 0.14
9335 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9337 * text2.C (firstParagraph): removed member function, all uses
9338 replaces with ownerParagraph
9339 (redoParagraphs): here
9341 (toggleAppendix): here
9342 * BufferView2.C (insertErrors): here
9343 (setCursorFromRow): here
9345 2002-01-13 Allan Rae <rae@lyx.org>
9347 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9348 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9349 There is still a way to segfault this although you may have to do this
9350 multiple times: Have an InsetERT with an unknown command in it.
9351 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9352 <down-arrow>, <Enter> again, View->DVI, BANG!
9354 * text2.C (setCursor):
9355 (deleteEmptyParagraphMechanism):
9356 * lyxtext.h (setCursor):
9357 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9358 Making use of the return value may help fix other bugs.
9360 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9362 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9364 * LyXView.C (updateMenubar): call MenuBar::update here
9365 (updateToolbar): but not here
9366 (showState): do not update toolbar/menubar
9368 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9369 should need to care about that.
9371 * lyxfunc.C (verboseDispatch): simplify a bit
9372 (getStatus): have a version which takes a pseudoaction, and
9373 another which requires a (kb_action,string).
9375 * LyXAction.C (retrieveActionArg): make it work also when action
9376 is not a pseudo-action.
9377 (getActionName): simplify a bit
9380 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9382 * lyxfunc.C (verboseDispatch): new families of methods with
9383 several ways to specify a command and a bool to indicate whether
9384 the command name and shortcut should be displayed in minibuffer
9385 (eventually, we could extend that to a finer bitmask like
9386 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9387 (dispatch): the pristine dispatch command which just, well,
9388 dispatchs! Note it still sets its result to minibuffer; I'm not
9391 * lyxfunc.h: remove setHintMessage
9393 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9395 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9397 * BufferView_pimpl.C (specialChar): delete new inset if we have
9398 not been able to insert it.
9400 * kbmap.C: revert to using int instead of kb_action, since all we
9401 are dealing with is pseudo-actions.
9403 * LyXAction.C (searchActionArg): change to return int instead of
9404 kb_action, since the result is a pseudoaction.
9406 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9408 * buffer.C (insertErtContents): Fix (partially) the font bug.
9410 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9412 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9413 as the other one is broken on my machine!
9415 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9418 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9420 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9422 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9423 reflect their actual use. Provide compatibility code for older lyxrc
9426 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9428 change names of popup font variables in line with the changes to lyxrc.C
9430 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9432 * buffer.C (asciiParagraph): avoid outputing a word twice after
9435 * lyxrc.C (getDescription): document that document_path and
9436 template_path can be empty.
9438 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9440 * LaTeXFeatures.C (getMacros):
9441 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9443 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9445 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9447 (getPackages): rename feature "floats" to "float". Use an array to
9448 iterate over 'simple' features (i.e. just a \usepackage). Add
9449 handling of "amsmath" (renamed from "amsstyle").
9451 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9453 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9456 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9458 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9459 FuncStaus::FuncStatus & FuncStaus::some_method().
9461 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9463 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9464 of the func_satus stuff. Edited and massaged in various ways by
9467 * lyxfunc.C (getStatus): use FuncStatus
9469 2002-01-08 Juergen Vigna <jug@sad.it>
9471 * text.C (nextBreakPoint): use function Inset::isChar().
9473 * paragraph.C (TeXOnePar): use function
9474 Inset::forceDefaultParagraphs.
9476 * buffer.C (latexParagraphs): use function
9477 Inset::forceDefaultParagraphs.
9479 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9481 * lyx_gui.C (init): set the style of the menu popups to
9482 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9484 2002-01-07 Juergen Vigna <jug@sad.it>
9486 * text.C (setHeightOfRow): small fix
9487 (prepareToPrint): don't look at alignment if we don't have the place
9490 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9492 * box.C: New file. Move the Box methods and functions out of box.h,
9493 following Lars' suggestion.
9495 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9497 * box.h: #include "support/LOstream.h", needed for inlined function.
9500 * lyxtextclasslist.C: added some using std declarations.
9502 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9504 * box.h: make signed dimensions to allow insets wider than
9505 the screen (bug #162)
9507 * BufferView_pimpl.C: add some insetHit debug
9509 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9511 * vc-backend.C: add FIXME
9513 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9515 * lyxfunc.C (getStatus): enable code for showing math font status
9518 2002-01-07 Juergen Vigna <jug@sad.it>
9520 * text.C (nextBreakPoint): removed debug output not needed anymore.
9522 2002-01-06 Juergen Vigna <jug@sad.it>
9524 * text.C (nextBreakPoint): fixed up this function we had this bug
9525 since ever but now hopefully we break row better.
9526 (insertChar): we have to check if an inset is the next char as it
9527 could now happen that a large inset is causing a break.
9529 2002-01-05 Juergen Vigna <jug@sad.it>
9531 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9532 if it doesn't like to be drawed.
9534 2002-01-04 Juergen Vigna <jug@sad.it>
9536 * BufferView2.C (lockInset): forgot to set a cursor.
9538 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9540 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9545 * form_maths_panel.C:
9546 * form_maths_panel.h:
9547 * form_maths_panel.fd: implemented sub- and super- buttons in math
9550 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9551 (or ^ space) to be used as in TeX (req'd by André).
9553 * lyxfunc.C: Allow ^ and _ again to be used both as
9554 super/subscript (mathed) and as themselves (in text).
9556 2002-01-03 Allan Rae <rae@lyx.org>
9558 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9559 "LyX" or the filename of the current buffer if it has one. This is a
9560 modified form of John Levon's patch.
9562 * XFormsView.C (setWindowTitle): also set icon title.
9564 * LyXView.h (setWindowTitle): signature changed.
9565 * XFormsView.h (setWindowTitle): ditto.
9567 2002-01-02 Juergen Vigna <jug@sad.it>
9569 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9571 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9573 * screen.C (topCursorVisible): introduce a temp var for
9574 text->cursor.row(), handle the case where this row is null. (kindo
9577 * text2.C (setCursor): add a couple of asserts.
9579 * paragraph.h (inset_iterator): add -> operator
9581 * paragraph.[Ch] (autoDeleteInsets): remove member function
9583 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9584 cursor pos correctly and handle inset deletion by itself.
9585 (insertErrors): move iterator declaration out of for expression
9587 * lyxtextclass.C: add <algorithm>
9589 * Makefile.am: added the new files to sources, removed layout.C
9591 * layout.C: removed file
9593 * layout.h: remove LYX_DUMMY_LAYOUT
9595 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9599 * lyxtextclass.[Ch]:
9600 * lyxtextclasslist.[Ch]: new files
9602 * include order changes to a lot of files, also changes because of
9605 2001-12-27 Juergen Vigna <jug@sad.it>
9607 * buffer.C (asciiParagraph): more fixes.
9609 * tabular.C (ascii): make ascii export support export of only the
9610 data separated by a column-delimiter.
9611 (ascii): better support for ascii export.
9613 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9615 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9617 * tabular_funcs.C: use a "using std::getline" instead of the
9618 previous fix from Angus (necessary for cxx + lyxstring)
9620 2001-12-24 Juergen Vigna <jug@sad.it>
9622 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9624 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9625 problems. First check a minipage also if we have some ert-contents
9626 (not only on par->size(), second set the right depth of the paragraph
9627 on the relink to the root-paragraph-list!
9629 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9630 which then did not anymore update the main paragraphs on undo/redo!
9632 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9634 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9635 code. Support all font-changing funcs (even those which are not in
9636 menu currently). Support for reporting font settings in
9637 mathed (disabled until Andre provides a function on mathed's side).
9639 * func_status.h (toggle): small helper function to set toggle
9642 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9644 * tabular_funcs.C: getline -> std::getline
9646 2001-12-21 Juergen Vigna <jug@sad.it>
9648 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9649 accessed and could be 0 (I couldn't generate this but it seems
9652 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9654 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9655 * tabular_funcs.h: here and include iosfwd
9657 2001-12-20 Juergen Vigna <jug@sad.it>
9659 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9660 inside inset but undo_par was.
9662 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9664 * Thesaurus.C: always include <config.h> in sources.
9668 * box.h: do not include <config.h> in header files
9670 * text.C (paintLastRow): remove unused variable
9672 * text.C (transformChar):
9674 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9677 * font.C (width): rewrite to use uppercase() instead of
9680 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9682 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9684 * lyxfind.C: clean up of find failure position change
9686 2001-12-20 Juergen Vigna <jug@sad.it>
9688 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9690 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9691 (TeXRow): added to LaTeX a single tabular row.
9692 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9693 (Latex): simplified and finally good LT-h/f support.
9694 (various_functions): just small adaptions for LT-h/f support.
9696 * tabular_funcs.[hC]: added and moved here all not classfunctions
9699 2001-12-19 Juergen Vigna <jug@sad.it>
9701 * tabular.[Ch]: better support for longtabular options (not finished
9704 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9706 * text.C (paintLastRow): use the label font instead of the font of
9707 the last character to compute the size of *_BOX. This makes more
9708 sense and avoids a crash with empty paragraphs.
9709 Use Painter::rectangle to draw EMPTY_BOX.
9711 2001-12-19 Juergen Vigna <jug@sad.it>
9713 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9714 the paragraphs if the replaced paragraph is not the first one!
9715 Tried to delete not used paragraphs but does not work yet so for
9716 now it's inside #ifdef's and by default off!
9718 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9720 * MenuBackend.C: include "lyx_main.h" instead of declaring
9721 lastfiles (actually was declared as LastFiles* instead of a
9724 2001-12-17 Juergen Vigna <jug@sad.it>
9726 * tabular.C (AppendColumn): applied John's fix
9728 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9732 * BufferView_pimpl.h:
9733 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9736 * box.h: new start of class for above
9738 * lyxfunc.C: ignore space-only minibuffer dispatches.
9739 Show the command name when it doesn't exist
9741 * minibuffer.C: don't add empty lines to the history
9743 * minibuffer.C: add a space on dropdown completion
9745 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9747 * text.C: fix line above/below drawing in insets
9749 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9751 * lyxlength.C (LyXLength): Initialize private variables.
9753 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9755 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9756 when inserting error insets.
9758 2001-12-13 Juergen Vigna <jug@sad.it>
9760 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9761 actually sometimes the before-paragraph.
9762 (setUndo): don't clear the redostack if we're not actually undoing!
9764 2001-12-06 Juergen Vigna <jug@sad.it>
9766 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9767 and fixed redoing of main paragraph, so we can use it now ;)
9769 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9771 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9773 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9776 2001-12-13 André Pönitz <poenitz@gmx.net>
9779 * undo_func.C: minor cleanup
9781 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9783 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9784 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9785 font in urw-fonts package which is marked as -urw-fontspecific and
9786 does not work (incidentally, changing the encoding in the
9787 fonts.dir of this package to -adobe-fontspecific fixes the
9790 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9791 is a crash when undoing first paragraph (Juergen, please take a
9792 look). THis does not mean the undo fix is wrong, just that it
9795 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9796 the (Paragraph*) version when needed instead of duplicating the
9799 * text.C (workWidth): use Inset::parOwner to find out where the
9800 inset has been inserted. This is a huge performance gain for large
9801 documents with lots of insets. If Inset::parOwner is not set, fall
9802 back on the brute force method
9804 * paragraph_pimpl.C (insertInset):
9805 * paragraph.C (Paragraph):
9806 (cutIntoMinibuffer): set parOwner of insets when
9807 inserting/removing them
9809 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9811 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9817 * mathed/formulabase.C:
9818 * mathed/math_cursor.[Ch]:
9819 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9822 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9824 * lyxlength.[Ch] (operator!=): new function
9826 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9828 * text.C (workWidth): use Inset::parOwner to find out where the
9829 inset has been inserted. This is a huge performance gain for large
9830 documents with lots of insets. If Inset::parOwner is not set, fall
9831 back on the brute force method
9833 * paragraph_pimpl.C (insertInset):
9834 * paragraph.C (Paragraph):
9835 (cutIntoMinibuffer): set parOwner of insets when
9836 inserting/removing them
9838 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9840 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9842 * tabular-old.C (getTokenValue):
9843 * tabular.C (getTokenValue):
9844 (write_attribute): new versions for LyXLength
9845 (everywhere): adjust the use of widths
9847 * tabular.h: change the type of widths from string to LyXLength
9849 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9851 * paragraph.C: fixed missing line number count when exporting
9852 Environments to LaTeX file
9854 * buffer.C: added informational message for checking line numbers.
9856 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9858 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9859 paragraph, do the 'double space' part, but not the 'empty
9862 * text.C (workWidth): small optimization
9863 (getLengthMarkerHeight): use minimal size for negative lengths.
9865 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9867 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9869 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9871 2001-12-11 André Pönitz <poenitz@gmx.net>
9874 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9876 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9878 * text2.C: keep selection on a setFont()
9880 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9882 * lyx_cb.C: another bv->text misuse, from insert label
9884 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9887 * kbsequence.C: re-instate nmodifier mask
9889 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9891 * lyx_main.h: make lyxGUI private.
9893 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9895 * lyxfind.C: place the cursor correctly on failed search
9897 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9899 * text.C (getLengthMarkerHeight): for small heights, the arrows
9900 are not always on top/bottom of the text
9901 (drawLengthMarker): smaller arrows; take the left margin in
9902 account; draw also vfills.
9904 (paintLastRow): remove special code for vfill and standard spaces,
9905 since everything is handled in drawLengthMarker now.
9907 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9909 * buffer.C (insertErtContents): try to handle font and language
9910 interaction a bit better.g
9912 * ColorHandler.C (updateColor): change the hash to cover the whole
9913 LColor enum, ws cleanup
9914 (getGCLinepars): ditto
9915 (getGCLinepars): only lookup in the linecache once.
9917 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9919 * iterators.C (operator++): Make the iterator more robust
9921 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9923 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9925 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9928 * text.C: better added space drawing
9930 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9933 * BufferView2.C: fix layout combo update on inset unlock
9935 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9937 * Makefile.am: don't compile unused files
9939 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9943 * LyXAction.C: remove old LFUN_LAYOUTNO
9945 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9947 * paragraph_pimpl.h:
9948 * paragraph_pimpl.C: isTextAt() doesn't need font param
9950 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9953 * lyxlex.C: little cleanup
9955 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9957 * BufferView_pimpl.C: fix insertAscii for insets
9959 2001-12-05 Juergen Vigna <jug@sad.it>
9961 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9962 set the right font on the "multi" paragraph paste!
9964 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9970 * lyxlength.C: remove out-commented code.
9986 * vc-backend.C: change "while(" to "while ("
9988 * lyxlength.[Ch]: add zero function to check if length is zero or
9990 * lyxgluelength.C: use it
9992 2001-12-05 Allan Rae <rae@lyx.org>
9994 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9995 Works for 2.95.3, from what I understand of Garst's reports this should
9996 work for other g++ versions. We're screwed if the abs(int) definition
9997 changed between bugfix releases of gcc.
9999 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10001 * text.C: fix chapter label offset !
10003 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10006 * text.C: fix hfill at end of line, clean up
10008 2001-12-04 Juergen Vigna <jug@sad.it>
10010 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10011 that we force an update of the inset and it's owners if neccessary.
10013 2001-12-03 Juergen Vigna <jug@sad.it>
10015 * text.C (rowLast): simplified code
10017 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10019 * lyxfunc.C: fix show options on timeout
10021 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10023 * screen.C (topCursorVisible): scroll half a page when the cursor
10024 reached top of bottom of screen
10026 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10028 * minibuffer.C: deactivate on loss of focus
10030 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10032 * vspace.[Ch] (operator!=): add operator.
10034 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10036 * BufferView_pimpl.C: refuse to open an inset when
10037 there's a selection.
10039 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10041 * BufferView_pimpl.C: allow to click on RHS of full row insets
10043 2001-11-30 Juergen Vigna <jug@sad.it>
10045 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10046 insets for undo reasons.
10048 2001-11-28 André Pönitz <poenitz@gmx.net>
10050 * vspace.[Ch]: cosmetical changes
10052 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10062 * kbsequence.C: part re-write of old kb code
10065 * WorkArea.C: remove Lgb_bug_find_hack
10067 2001-11-30 José Matos <jamatos@fep.up.pt>
10069 * buffer.C (makeDocBookFile): add a comment to point a hack.
10070 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10071 Fixed a double write of labels.
10073 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10076 * LaTeX.h Fixed bug in LaTeX class where it would not
10077 re-run latex if no depfiles were changed, but the .dvi was removed.
10079 2001-11-28 André Pönitz <poenitz@gmx.net>
10081 * all the files from the change on 2001/11/26:
10082 use lyx::layout_type instead of LyXTextClass::size_type
10083 use lyx::textclass_type instead of LyXTextClassList::size_type
10085 2001-11-29 Juergen Vigna <jug@sad.it>
10087 * text.C: added support for paragraph::isFreeSpacing()
10089 * buffer.C: same as above
10091 * paragraph.h: inserted isFreeSpacing() function to enable
10092 FreeSpacing inside InsetERT.
10094 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10095 of the paragraph's in the cut/copy buffer to 0!
10097 * text2.C (removeRow): remove the assert as it can!
10099 * lyxtext.h: added helper function firstRow returning firstrow and
10100 made firstrow private again.
10102 * BufferView2.C (lockInset): don't relock if we're already locked!
10104 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10105 the only paragraph.
10106 (removeRow): added Assert::(firstrow)
10108 * debug.C: forgot to add INSETTEXT here.
10110 2001-11-28 Juergen Vigna <jug@sad.it>
10112 * sp_spell.C (initialize): changed error text to more general
10113 spellchecker command use (not only ispell!)
10115 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10117 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10119 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10121 * vspace.C: initialise lyxgluelength on failure
10123 2001-11-28 Allan Rae <rae@lyx.org>
10125 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10126 declaration & definition that looks like a function declaration.
10128 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10130 * BufferView2.C (copy):
10131 (copyEnvironment): do not clear the selection when doing a copy.
10133 * text.C (paintFirstRow): compilation fix
10135 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10137 * tabular.C (Latex): correct line count when writing latex.
10139 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10141 * paragraph_pimpl.h:
10142 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10145 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10149 * LColor.C: change vfillline->added_space
10151 * text.C: add markers and text for added space
10153 * vspace.C: fix comment
10155 2001-11-28 André Pönitz <poenitz@gmx.net>
10157 * paragraph.C: whitespace changes
10158 * all the other files from the change on 2001/11/26:
10159 change *::pos_type into lyx::pos_type
10161 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10163 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10164 language of the document when inserting error insets.
10166 2001-11-26 André Pönitz <poenitz@gmx.net>
10168 * BufferView_pimpl.[Ch]:
10176 * paragraph_pimpl.[Ch]:
10179 * text2.C: reduce header dependencies, introduce type for positions
10181 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10183 * <various>: change to use Alert.h
10185 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10187 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10188 when encountering an unknown token.
10189 (readLyXformat2): Show an error message if there were unknown tokens.
10191 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10194 * BufferView_pimpl.C:
10198 * text2.C: use par->isInset()
10200 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10202 * paragraph_pimpl.h:
10203 * paragraph_pimpl.C: cleanup
10205 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10207 * text2.C (removeRow):
10208 * text.C (setHeightOfRow): remove useless (and costly) call to
10211 2001-11-20 Allan Rae <rae@lyx.org>
10213 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10214 Now need Inset*::checkInsertChar() to return true for appropriate
10215 cases so that the characters in the minibuffer will actually be
10218 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10220 * text.C: change the order of the includes.
10221 (workWidth): initialize it at once.
10222 (workWidth): make maxw unsigned
10223 (setHeightOfRow): remove unused variable (inset)
10224 (selectSelectedWord): remove unused variable (inset)
10225 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10227 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10229 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10230 server is not running.
10232 (closeConnection): add debug info when server is disabled.
10234 * ColorHandler.C (getGCForeground): send debug message to GUI
10237 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10239 * kbmap.C (bind): modify because return conventions of
10240 kb_sequence::parse have changed.
10242 * kbsequence.C (parse): only ignore spaces and not any stupid
10243 control character. This avoids tests like s[i] <= ' ', which are
10244 guaranteed to fail with 8bit characters and signed chars.
10245 Change return code to string::npos when there have been no error
10246 (0 was a bad idea when error is at first character)
10248 2001-11-14 José Matos <jamatos@fep.up.pt>
10251 * buffer.C (simpleDocBookOnePar): removed unused argument.
10253 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10255 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10256 insets which are part of a word. Paragraph::isLetter takes care of
10257 that now. Use Paragraph::isInset to identify insets.
10258 (selectSelectedWord): do not test for hyphenation break.
10260 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10261 that protected spaces are considered as spaces.
10263 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10266 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10269 * lyxserver.C: fix it. and small cleanup.
10271 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10273 * BufferView_pimpl.C: use inline helpers
10276 * LaTeXFeatures.C: fix typos
10279 * Spacing.C: move spacing_string into class
10281 * ToolbarDefaults.C: move stuff into namespace anon
10283 * layout.h: update enum
10285 * lyxfunc.C: use better debug
10287 * minibuffer.h: fix typo
10291 * WorkArea.C: add and use Debug::WORKAREA
10295 * text2.C: code re-organisation, inline helpers
10297 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10299 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10300 std::vector.empty().
10302 2001-11-09 Allan Rae <rae@lyx.org>
10304 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10305 '\n's after tables. Tabular and ERT inset work now makes this no
10308 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10311 * minibuffer.C: fix crash, improve drop-down completion
10313 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10316 * lyxserver.C: invalidate fd's when doing endPipe()
10318 2001-11-08 José Matos <jamatos@fep.up.pt>
10320 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10321 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10324 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10326 2001-11-07 José Matos <jamatos@fep.up.pt>
10329 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10332 * buffer.C (sgmlOpenTag):
10333 * buffer.C (sgmlCloseTag): removed debug info.
10335 * buffer.h (sgmlOpenTag):
10336 * buffer.h (sgmlCloseTag): made public.
10338 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10340 * buffer.C (saveParamsAsDefaults):
10341 * lyx_cb.C (MenuLayoutSave): remove
10343 * LyXAction.C (init):
10345 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10347 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10349 * buffer.C (setPaperStuff): removed from here...
10351 * bufferparams.C (setPaperStuff): ... and moved there.
10353 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10357 * XFormsView.C: add support for drop-down completion
10359 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10361 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10364 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10366 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10369 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10371 * lyx_main.C: change ref to known bugs
10373 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10375 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10376 to work around older babel problems.
10378 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10380 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10382 2001-10-24 Juergen Vigna <jug@sad.it>
10384 * tabular-old.C (ReadOld): below variable changes reflected.
10386 * tabular.[Ch]: added ltType struct for longtable header/footer
10387 defines and changed all instances where they are used. Added
10388 future support for double top/bottom rows.
10390 2001-10-24 José Matos <jamatos@fep.up.pt>
10392 * buffer.h (docbookHandleCaption):
10393 * buffer.C (docbookHandleCaption): removed unused function.
10394 (makeDocBookFile): moved docbook supported version to v4.1.
10396 2001-10-24 José Matos <jamatos@fep.up.pt>
10399 * tabular.C (docbookRow): new function to export docbook code of a row.
10400 (DocBook): now honors the longtable flags.
10402 2001-10-23 José Matos <jamatos@fep.up.pt>
10405 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10406 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10408 * buffer.C (makeLinuxDocFile):
10409 (makeDocBookFile): reworked the preamble, more clean, and with
10410 support for lyx defined entities. Changed the document declaration
10411 to be more XML friendly.
10413 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10414 if we need to output XML that should be done with a filter.
10416 2001-10-22 Juergen Vigna <jug@sad.it>
10418 * sp_pspell.h (class PSpell): add alive function needed in the
10419 controller to see if the spellchecker could be started.
10421 2001-10-22 Juergen Vigna <jug@sad.it>
10423 * buffer.C (insertStringAsLines): modify the font for inserting
10424 chars in certain conditions by calling checkInsertChar(font).
10426 2001-10-19 Juergen Vigna <jug@sad.it>
10428 * text.C (workWidth): use getRow instead of wrong algorithm.
10429 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10431 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10436 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10438 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10440 * text.C (workWidth): do not search for the exact row when
10441 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10442 optimization for big documents.
10444 2001-10-18 Juergen Vigna <jug@sad.it>
10446 * text.C (workWidth): new function with added Inset * parameter.
10448 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10450 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10452 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10453 change return type of getColumnNearX.
10456 * text.C (changeRegionCase): use uppercase/lowercase instead of
10459 (rightMargin): simplify code by factoring out the uses of
10464 (appendParagraph): use Paragraph::size_type
10466 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10468 * vspace.C (asLatexString): add a missing break
10470 2001-10-15 Herbert Voss <voss@perce.de>
10472 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10474 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10476 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10479 2001-10-10 André Pönitz <poenitz@gmx.net>
10481 * lyxfunc.C: removed greek_kb_flag.
10483 2001-10-10 Herbert Voss <voss@perce.de>
10485 * lyx_main.C: delete global string help_lyxdir.
10487 2001-10-09 Herbert Voss <voss@perce.de>
10489 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10491 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10493 * lyx_main.C: added global string help_lyxdir.
10495 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10497 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10499 * lyxrc.C (set_font_norm_type): support iso8859-4
10501 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10503 * LaTeX.C (deplog): add another regex for MikTeX
10505 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10507 * lyxrc.C (set_font_norm_type): support iso8859-3
10509 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10511 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10513 * LaTeXFeatures.C: remove special case of french and index
10515 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10516 before \begin{document}). This solves several incompatibilities.
10518 2001-10-03 Garst Reese <reese@isn.net>
10520 * lyx_cb.C: change CheckTex error msg.
10522 2001-10-03 José Matos <jamatos@fep.up.pt>
10524 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10526 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10528 * .cvsignore: update
10530 * lyx_main.C (commandLineVersionInfo): use new style version info.
10532 * buffer.C (writeFile):
10534 (makeLinuxDocFile):
10535 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10537 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10539 * version.h: update to use stuff in version.C
10541 * version.C.in: new file. Contains version information determined
10542 at compile time. This is a merging of version.h and
10545 2001-10-03 Juergen Vigna <jug@sad.it>
10547 * BufferView_pimpl.C (update): don't change "dirty" status in
10550 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10552 * WorkArea.C (c-tor): re-position version string slightly.
10554 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10556 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10557 revert to previous code.
10559 WorkArea.[Ch]: (show, destroySplash): methods removed.
10561 WorkArea.C: rework code so that it's an amalgam of the codes before and
10562 after the splash screen was moved to WorkArea.
10564 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10567 * vspace.C (inPixels):
10570 * buffer.C (insertStringAsLines):
10571 (asciiParagraph): fix types to be large enough
10573 * lyxlex_pimpl.h: change member status from short to int
10575 * layout.h: fix type of endlabeltype
10578 * kbsequence.C (parse): change return type to string::size_type
10580 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10583 * Bullet.C (bulletSize):
10584 (bulletEntry): do not use short ints as parameters
10586 * BufferView2.C (insertLyXFile): change a char to an int.
10588 * WorkArea.C (WorkArea): remove unneeded floats in computation
10590 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10592 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10594 * paragraph.C (asString): Do not ignore newline/hfill chars when
10595 copying to the clipboard.
10597 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10599 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10600 after a multi-line inset.
10602 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10604 * paragraph.C (validate): Set NeedLyXFootnoteCode
10606 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10608 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10609 and decrease-error to decrease.
10611 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10613 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10614 it more readable (should be equivalent)
10616 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10618 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10620 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10622 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10623 of a cursor (row, etc.) after a character has been deleted
10624 (deleteEmptyParagraphMechanism): call the method above on _all_
10625 cursors held by the LyXText when a double space has been
10628 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10630 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10632 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10634 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10635 background. Use greyOut() and the new show() methods to toggle between
10636 the foreground and background. Add code to remove the splash after
10637 its initial showing.
10639 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10640 (create_forms): no longer call Dialogs::showSplash.
10642 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10644 * .cvsignore: add version_info.h
10646 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10648 * version_info.h.in: new file
10650 * Makefile.am: add version_info.h.in
10652 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10653 version_info.h instead of VERSION_INFO
10655 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10657 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10658 The ERT inset now returns string().
10660 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10662 * lyxtext.h, text.C (selectNextWord): renamed as
10663 selectNextWordToSpellcheck.
10665 * text.C (selectNextWordToSpellcheck): Modified to not select
10666 words inside an ERT inset.
10668 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10670 * lyx_cb.C (MenuLayoutSave): change a bit the question
10672 * sp_base.h: include <sys/types.h>
10674 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10676 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10678 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10680 * several files: fix typos in user-visible strings
10682 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10684 * text2.C (pasteSelection): do not set the selection, since it
10685 will be cleared later. Actually, the intent was to fix the way the
10686 selection was set, but I figured rmoving the code was just as good.
10688 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10690 * FontLoader.C (available): Check if font is available without
10693 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10695 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10697 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10699 * lyxrc.[Ch]: added display_graphics variable and associated code.
10701 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10703 * bufferparams.C (hasClassDefaults): new method. Returns true if
10704 the buffer parameters correspond to known class defaults
10706 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10708 * XFormsView.C (show): set minimum size to the main window.
10710 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10712 * text2.C (copySelection):
10714 * lyxfind.C (LyXReplace):
10715 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10716 LyXText::selectionAsString.
10718 * paragraph.C (asString): add "label" argument to the second form
10720 * text2.C (selectionAsString): add "label" argument and pass it to
10721 Paragraph::asString.
10723 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10725 * lyx_main.C (commandLineHelp): remove version information
10727 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10729 * lyx_main.C: add -version commandline option
10731 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10733 * paragraph.h: make the optional constructor arg required instead.
10734 some modifications to other files because of this.
10736 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10738 * lyxserver.C (C_LyXComm_callback): make it static
10740 * lyx_main.C (error_handler): make it static
10742 * lyx_gui.C (LyX_XErrHandler): make it static
10744 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10746 * WorkArea.C: make the extern "C" methods static.
10748 * Makefile.am (lyx_LDADD): simplify
10750 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10752 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10753 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10755 * LyXAction.C (init):
10756 * lyxfunc.C (dispatch): associated code removal.
10758 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10760 * lyxfont.h (isSymbolFont): shut off warning
10762 * text.C (setHeightOfRow):
10763 (getVisibleRow): fix crash with empty paragraphs which have a
10766 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10768 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10771 2001-09-04 José Matos <jamatos@fep.up.pt>
10774 * tabular.C (docbook): rename docBook method to docbook.
10776 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10778 * Makefile.am: add dependencies to main.o.
10780 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10782 * FontLoader.C (available): Return false if !lyxrc.use_gui
10784 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10786 * FontInfo.C (query):
10787 * converter.C (view):
10788 * importer.C (Import):
10789 * exporter.C (Export): Can not -> cannot.
10791 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10793 * BufferView_pimpl.C: allow to create index inset even if
10796 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10798 * buffer.C (getLists): replace boost::tie code with an explicit pair
10799 as boost::tie can break some compilers.
10801 * iterators.h: Added a std:: declaration to the return type of
10804 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10806 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10809 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10811 * iterators.[Ch]: New files. Provide paragraph iterators.
10813 * buffer.C (changeLanguage): Use paragraph iterators.
10814 (isMultiLingual): ditto
10816 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10818 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10820 * FontLoader.C: Support for cmr font.
10822 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10824 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10825 (available): New method.
10827 * FontInfo.C (getFontname): Use scalable fonts even when
10828 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10831 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10833 * converter.C (Formats::view): reverted! Incorrect fix.
10835 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10837 * converter.C (Formats::view): only output the -paper option
10838 if the dvi viewer is xdvi, thereby fixing bug #233429.
10840 2001-08-23 Herbert Voss <voss@perce>
10842 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10844 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10846 * Spacing.h (Spacing): Set space to Default on in the default
10849 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10851 * vc-backend.h (RCS::versionString): add RCS to version
10852 (CVS::versionString): add CVS to version
10854 * vc-backend.C (scanMaster): do not add CVS to version.
10855 (scanMaster): do not add RCS to version
10857 * lyxvc.C (versionString): new method
10859 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10861 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10863 * Spacing.C (set): initialize fval
10865 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10867 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10870 2001-08-16 Juergen Vigna <jug@sad.it>
10872 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10874 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10876 * BufferView_pimpl.C:
10879 * text2.C: setParagraph takes linespacing now
10881 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10883 * LyxAction.C: add internal LFUN_CITATION_INSERT
10885 * LyXView.C: actually apply fix
10887 * bufferlist.C: fix open non-existent file
10889 * lyxfind.C: fix indentation
10891 * lyxfunc.C: remove unneeded assert, fix typo
10893 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10895 * MenuBackend.C: use "Floatname List"
10897 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10899 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10900 when converting LaTeX layout to insetERT.
10901 Generate a non-collapsed float when reading old float
10903 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10905 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10908 2001-08-13 Juergen Vigna <jug@sad.it>
10910 * text.C (fill): return 0 instead of 20 as this seems to be the more
10913 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10915 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10918 2001-08-13 Juergen Vigna <jug@sad.it>
10920 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10922 (SearchBackward): comment out the unlocking of the inset_owner this
10923 should not be needed!
10925 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10927 * Many files: Remove inherit_language, and add latex_language
10929 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10930 collapsible insets.
10932 2001-08-10 Juergen Vigna <jug@sad.it>
10934 * text.C (prepareToPrint): fixed hfill-width in draw!
10936 * BufferView2.C (selectLastWord): save the selection cursor as this
10937 now is cleared in the function LyXText::clearSelection!
10939 2001-08-08 Juergen Vigna <jug@sad.it>
10941 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10942 BACKSPACE type functions.
10944 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10945 is only cutted from the document but not put in the cut-buffer, where
10946 still the old stuff should be.
10948 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10950 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10952 * tabular.C (SetWidthOfCell): fixed special case where the width
10954 (LeftLine): handle '|' in align_special.
10956 (LeftAlreadyDrawed): ditto
10957 (SetWidthOfCell): ditto
10959 2001-08-07 Juergen Vigna <jug@sad.it>
10961 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10963 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10965 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10966 * lyxlex.[hC]: ditto
10968 2001-08-06 Juergen Vigna <jug@sad.it>
10970 * text.C (getVisibleRow): fix up row clearing a bit.
10972 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10974 * minibuffer.C: make sure the X server sees the changes in the input.
10976 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10978 * paragraph.C (getFont): split into...
10979 (getLabelFont): this
10980 (getLayoutFont): and this
10981 * paragraph_pimpl.C (realizeFont): calling this
10983 * text2.C (getFont): split into...
10984 (getLayoutFont): this
10985 (getLabelFont): and this
10986 (realizeFont): all three calling this
10988 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10991 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10993 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10995 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10997 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10998 layouts from the Quote inset insertion.
11000 2001-08-03 Juergen Vigna <jug@sad.it>
11002 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11004 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11005 only if status not is already CHANGED_IN_DRAW (second level).
11007 * text.C (draw): don't set the need_break_row when inside an
11010 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11012 * buffer.C (parseSingleLyXformat2Token): handle more latex
11015 * bufferview_funcs.[hC]: change function names to
11016 begin with small char, adjust other files.
11018 2001-08-02 André Pönitz <poenitz@gmx.net>
11021 BufferView_pimpl.C: remove broken special code for math-greek
11023 2001-08-02 Juergen Vigna <jug@sad.it>
11025 * BufferView_pimpl.C (update): redone this function so that we
11026 update the text again if there was a CHANGE_IN_DRAW.
11028 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11029 (drawFromTo): added a new internal bool which is used by draw() and
11031 (general): some cursor drawing problems fixed.
11033 2001-08-01 Juergen Vigna <jug@sad.it>
11035 * lyxfind.C (LyXFind): fixed
11036 (SearchForward): ditto
11037 (SearchBackward): ditto
11039 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11040 spurius drawing of the cursor in the main area.
11042 * text2.C (status): small fix which could lead to a segfault!
11043 (clearSelection): remove unneeded BufferView param.
11045 2001-08-01 André Pönitz <poenitz@gmx.net>
11047 * lyxfunc.C: small change due to changed mathed interface
11049 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11051 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11053 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11055 * lyxfunc.c: fail gracefully if file doesn't exist
11060 * BufferView_pimpl.C: IsDirWriteable() proto changed
11062 * LyXView.C: fix updateWindowTitle() to store the last title
11064 2001-07-31 Juergen Vigna <jug@sad.it>
11066 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11067 the font (wrong since using of Paragraph::highestFontInRange).
11069 * paragraph.C (highestFontInRange): added a default_size parameter.
11071 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11072 (setHeightOfRow): reformat
11074 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11076 * converter.[hC] + affected files: move to (inital-char)lowercase
11079 * ParagraphParameters.C (ParagraphParameters): remove commented code
11081 * PainterBase.[Ch]: remove commented code
11083 * LaTeXFeatures.h: add "bool floats" for float.sty
11085 * LaTeXFeatures.C (LaTeXFeatures): init floats
11086 (require): handle float
11087 (getPackages): do it with floats
11089 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11091 * BufferView_pimpl.C (Dispatch): improve handling of
11092 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11094 * commandtags.h: #include lyxfont.h here temporarily to avoid
11097 * bufferlist.h: include LString.h here.
11099 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11101 * text2.C (getStringToIndex): new method.
11103 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11105 * *: Reduced header file dependencies all over.
11107 2001-07-30 Baruch Even <baruch@lyx.org>
11109 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11111 2001-07-29 Baruch Even <baruch@lyx.org>
11113 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11115 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11117 * ParameterStruct.h (endif): add a default constructor to make
11118 sure that all variables is initialized.
11120 * ParagraphParameters.C (ParagraphParameters): adjust
11122 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11124 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11125 index; also, check that there is something to index, and that it
11126 does not span over several paragraphs.
11127 (doubleClick): use WHOLE_WORD_STRICT for double click.
11129 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11131 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11134 2001-07-26 Baruch Even <baruch@lyx.org>
11136 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11137 an InsetFig figure, backwards compatible reading of old figure code.
11139 2001-07-27 Juergen Vigna <jug@sad.it>
11141 * text2.C: font.realize function adaption.
11143 * text.C (draw): add a warnings lyxerr text if needed.
11145 * layout.C: font.realize function adaption.
11147 * language.C: add inherit_language and implement it's handlings
11149 * bufferview_funcs.C (StyleReset): remove language parameter from
11150 font creation (should be language_inherit now).
11152 * bufferparams.C (writeFile): handle ignore_language.
11154 * paragraph.C (getFontSettings): the language has to be resolved
11155 otherwise we have problems in LyXFont!
11157 * lyxfont.C (lyxWriteChanges): added document_language parameter
11158 (update): removed unneeded language parameter
11160 * paragraph.C (validate): fixed wrong output of color-package when
11161 using interface colors for certain fonts in certain environments,
11162 which should not seen as that on the final output.
11164 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11166 * BufferView_pimpl.C:
11171 * LyXAction.C: add thesaurus support
11174 * lyxfind.C: add "once" parameter, for thesaurus, to not
11175 move to the next match
11177 2001-07-26 Juergen Vigna <jug@sad.it>
11179 * lyxfont.C (realize): honor ignore_language too!
11182 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11184 * text.C (draw): one place more for ignore_language to not draw
11187 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11189 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11191 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11193 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11194 the minipage conversion problem.
11196 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11198 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11201 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11203 * BufferView.h: don't forward declare WorkArea
11205 * BufferView.C: don't include WorkArea.h
11207 2001-07-25 André Pönitz <poenitz@gmx.net>
11211 * lyxfunc.C: new LFUN 'math-space'
11213 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11215 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11217 * text2.C (toggleInset): call open/close
11219 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11221 * lyxfunc.C (dispatch): add debug for the disabled case
11223 * font.C (buttonText): make similar to rectText
11225 * buffer.C (readInset): comment out parsing of insetlist and
11228 * PainterBase.C (rectText): small correction
11230 * BufferView_pimpl.C: comment out insettheorem and insetlist
11231 * LyXAction.C: ditto
11232 * commandtags.h: ditto
11234 2001-07-24 Juergen Vigna <jug@sad.it>
11236 * text.C (draw): honor the ignore_language.
11238 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11240 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11242 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11245 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11247 * lyxtext.h: remove unused (and unimplemented) methods
11249 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11251 * text.C (getVisibleRow): honor background color
11254 * Painter.h: remove default color argument for fillRectangle
11256 * text.C (backgroundColor): new method
11258 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11260 * text.C (getVisibleRow): adjust
11262 * font.[Ch] (rectText): new method, metrics
11263 (buttonText): new method, metrics
11265 * PainterBase.[hC]: make rectText and buttonText always draw and take
11268 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11270 * ToolbarDefaults.C (read):
11271 * MenuBackend.C (read): allow escaping in all strings
11273 * BufferView_pimpl.C (insertAndEditInset): new method.
11274 (Dispatch): use insertAndEditInset whenever appropriate.
11276 * BufferView_pimpl.C (insertNote): removed
11278 * BufferView_pimpl.C (smartQuote): new method, moved from
11279 BufferView; if an insetquote cannot be inserted, insert a '"'
11282 * BufferView2.C: remove insertCorrectQuote();
11284 * lyxfunc.C (getStatus): Add support for all remaingin
11285 inset-insert lfuns.
11287 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11289 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11290 command (necessary to pass " as parameter of self-insert.
11292 * text.C (selectWordWhenUnderCursor):
11293 (selectWord): add word_location parameter
11294 (selectWordWhenUnderCursor): same + remove special code for word
11296 (selectNextWord): use kind() to guess type of insetspecialchar,
11299 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11300 (insertErtContents): create ert insets as collapsed.
11301 (readInset): better compatibility code for Info inset.
11303 2001-07-20 Juergen Vigna <jug@sad.it>
11305 * lyxfunc.C (dispatch): use always LyXFind now!
11307 * text2.C (init): add a reinit flag so that the LyXText can be
11308 reinited instead of deleted and reallocated (used in InsetText).
11310 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11316 2001-07-18 Juergen Vigna <jug@sad.it>
11318 * text.C (selectNextWord): handle insets inside inset by calling
11319 always the bv->text functions so that we can go up the_locking_inset!
11321 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11322 in strange locations when inside an inset!
11324 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11325 handling to include insets.
11327 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11329 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11331 * LyXAction.C (init):
11333 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11334 LIGATURE_BREAK, since the name is so stupid.
11336 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11338 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11341 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11343 * sp_form.[Ch]: remove.
11345 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11347 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11350 * src/buffer.C (readInset): ditto.
11352 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11354 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11355 menuSeparator(), endOfSentenceDot(), ldots() and
11356 hyphenationPoint(), which are therefore removed.
11357 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11359 * LyXAction.C (init):
11360 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11362 * paragraph.C (getWord): removed.
11364 * BufferView_pimpl.C (Dispatch): use last word or selection for
11365 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11367 * lyx_main.C (queryUserLyXDir): do not ask before creating
11368 user_dir, except if it has been named explicitely.
11370 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11372 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11373 a document of zero size.
11375 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11377 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11378 approriately in the c-tor and in require().
11379 (getPackages): output the appropriate LaTeX for natbib support.
11381 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11382 variables "use_natbib" and "use_numerical_citations" when reading the
11384 (readInset): read the various natbib cite commands.
11385 (validate): white-space change.
11387 * bufferparams.[Ch]: new variables "bool use_natbib" and
11388 "bool use_numerical_citations".
11389 (writeFile): output them in the LyX file.
11391 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11393 * lyxfunc.C (getStatus): add support for all the inset insertion
11396 * text2.C (insertInset):
11397 * paragraph.C (insetAllowed):
11398 * BufferView_pimpl.C (insertInset): update to take in account the
11399 renaming of insertInsetAllowed
11401 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11403 * text2.C (getInset): new method. returns inset at cursor position.
11405 * BufferView_pimpl.C (Dispatch): changes because of this.
11407 * LyXAction.C (init): rename open-stuff to inset-toggle.
11409 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11411 * text2.C (toggleInset): renamed from openStuff; use
11414 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11416 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11418 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11420 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11422 * buffer.C (readLyXformat2): Add filename to the error dialog
11424 2001-07-18 Juergen Vigna <jug@sad.it>
11426 * tabular.C (GetCellNumber): put an assert here instead of the check!
11428 2001-07-17 Juergen Vigna <jug@sad.it>
11430 * BufferView_pimpl.C (toggleSelection): adapted too.
11432 * text.C (selectNextWord): adapted for use with insets.
11433 (selectSelectedWord): ditto
11435 2001-07-17 Juergen Vigna <jug@sad.it>
11437 * sp_spell.C (PSpell): fix initialitation order.
11439 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11441 * paragraph.C: spacing
11443 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11445 * sp_spell.C: repair language selection for pspell
11447 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11449 * lyxfunc.h: change more methods to begin with lower char.
11451 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11453 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11454 for unknown layouts.
11456 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11458 * buffer.C (readLyXformat2): Generate an error dialog if there are
11461 2001-07-16 Juergen Vigna <jug@sad.it>
11463 * sp_spell.C: always compile ISpell part.
11465 * lyxrc.C: added use_pspell entry and it's handling.
11467 2001-07-13 Juergen Vigna <jug@sad.it>
11469 * sp_spell.C: removed double includes.
11471 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11473 Consistent use of Lsstream.h:
11474 * Lsstream.h: added using std::stringstream for consistencies sake.
11476 * buffer.C: removed using std::stringstream
11478 * lyxfont.C (stateText):
11479 * paragraph.C (asString):
11480 * text.C (selectNextWord, selectSelectedWord):
11481 * text2.C (setCounter):
11482 * vspace.C (asString, asLatexString):
11483 std::ostringstream -> ostringstream.
11485 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11487 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11488 * commandtags.h: add LFUN_HELP_ABOUTLYX
11489 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11491 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11493 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11495 * lyx_gui_misc.C: remove spellchecker
11496 * lyxfunc.C: showSpellchecker
11498 * sp_ispell.h: added
11499 * sp_pspell.h: added
11500 * sp_spell.C: added
11501 * sp_form.[Ch]: removed
11502 * spellchecker.[Ch]: removed
11504 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11506 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11508 (simpleTeXSpecialChars): Simply print the input character without
11509 any special translation if pass_thru is set.
11511 * layout.h: Added bool pass_thru to layout class for being able to
11512 implement pass through of a paragraph for Literate Programming.
11514 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11515 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11516 * layout.C (Read): add "passthru" to list of layout tags and add
11517 code to set the pass_thru boolean when it is read.
11519 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11521 * trans_decl.h: remove allowed from KmodInfo
11523 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11524 remove allowed code
11527 * paragraph_pimpl.C (erase): use boost::prior
11529 * Painter.C (text): use data() instead of c_str() when length is
11531 * WorkArea.C (putClipboard): ditto
11532 * font.h (width): ditto
11534 * BufferView2.C: use it-> instead of (*it). for iterators
11536 * paragraph_pimpl.C: ditto
11537 * paragraph.C: ditto
11538 * minibuffer.C: ditto
11539 * language.C: ditto
11541 * encoding.C: ditto
11542 * counters.C: ditto
11543 * converter.C: ditto
11545 * Variables.C: ditto
11546 * TextCache.C: ditto
11547 * MenuBackend.C: ditto
11548 * LyXAction.C: ditto
11550 * FloatList.C: ditto
11551 * DepTable.C: ditto
11552 * ColorHandler.C (LyXColorHandler): ditto
11554 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11556 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11558 * text2.C (openStuff): reintroduce this method (which had been
11559 nuked in NEW_INSETS frenzy).
11561 * lyxfunc.C (Dispatch): when an action has not been handled, use
11562 its name in the error message, not its number.
11564 * paragraph.C (inInset): change method name to begin with lowercase.
11567 * text2.C: updates because of this.
11569 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11571 * ToolbarDefaults.C (add): add spaces in error message
11573 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11575 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11576 (readLyXformat2): rename return_par to first_par, use lyxlex's
11577 pushToken and remove the manual push handling.
11578 (parseSingleLyXformat2Token): add another ert comp. variable:
11579 in_tabular, rename return_par to first_par. handle newlines better
11581 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11583 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11585 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11587 * text2.C (getParFromID): removed
11589 * buffer.C (getParFromID): new method moved form lyxtext.
11590 * BufferView2.C (insertErrors): adjust
11591 (setCursorFromRow): adjust
11592 * BufferView_pimpl.C (restorePosition): adjust
11593 * lyxfunc.C (Dispatch): adjust
11594 * undo_funcs.C (textUndo): adjust
11596 (textHandleUndo): adjust
11597 (textHandleUndo): adjust
11599 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11601 * buffer.C: up' the LYX_FORMAT
11603 * lyxfont.h: turn NO_LATEX on as default
11605 * buffer.C (insertErtContents): new methods of tex style compability.
11606 (parseSingleLyXformat2Token): use it several places.
11607 * tabular.C (OldFormatRead): and here
11609 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11611 * text2.C: remove some commented code.
11614 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11615 * trans.C: changes because of the above.
11617 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11619 * text2.C (setCounter): Fix counters bug with bibliography layout.
11621 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11623 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11624 own member functions
11625 (simpleTeXSpecialChars): ditto
11627 2001-07-06 Juergen Vigna <jug@sad.it>
11629 * a lot of files: changed the access to LyXText::status and the
11630 call of undo-functions.
11632 * undo.[Ch]: added a inset_id to the undo informations.
11634 * undo_funcs.[Ch]: added and moved here all undo functions.
11636 * lyxtext.h: give the status enum a weight, made status_ a private
11637 variable and made accessor functions for it, removed the whole bunch
11638 of undo-functions as they are now in their own file, make some
11639 functions publically available. Added function ownerParagraph with
11642 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11643 made InInset() a const function, added getParFromID() function.
11645 * buffer.[Ch]: added const version for inset_iterator functions,
11646 added getInsetFromID() function.
11648 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11649 changed undo functions for new version.
11651 2001-07-05 Juergen Vigna <jug@sad.it>
11653 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11654 unknow mechanism does not call the proper constructor but only this
11655 one also if I request the other!?
11657 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11659 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11661 * text2.C (LyXText): use initialization lists.
11663 * lyxtext.h (Selection): initialize set_ and mark_
11664 (init): remove method
11666 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11668 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11670 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11672 * screen.[Ch]: change method names to begin with lowercase
11674 * BufferView_pimpl.C (updateScrollbar): simplify further and
11675 hopefully make it a bit faster.
11677 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11679 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11680 calling directly xforms functions.
11682 * Painter.C (Painter):
11683 * lyx_cb.C (MenuWrite):
11684 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11687 * lyx_gui.C: remove bogus guiruntime extern declaration.
11689 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11691 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11693 (redoDrawingOfParagraph): ditto
11694 (redoParagraphs): ditto
11695 (cutSelection): don't create a object for CutAndPaste use the
11696 static method directly
11697 (pasteSelection): ditto
11699 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11702 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11704 * modifications to some other files because of this.
11706 * Makefile.am (lyx_SOURCES): add XFormsView
11708 * XFormsView.[Ch]: new files
11710 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11711 the main window. Move the gui dependent stuff to XFormsView
11713 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11715 * tabular.C (GetCellInset): update cur_cell also in the row/col
11716 version of this function.
11718 * lyxfunc.C: no need to include figure_form.h here.
11724 * lyxvc.C: no need to include forms.h here.
11726 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11728 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11730 * lyxfunc.C (Dispatch):
11732 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11733 constructor argument.
11735 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11737 * paragraph.C (Paragraph): dont't clear, and just set layout.
11738 (makeSameLayout): use params's copy contructor.
11740 * ParagraphParameters.[Ch] (makeSame): delete method
11742 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11744 * Variables.[Ch]: fix indentation, rename set to isSet
11746 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11748 * lyxfunc.C (Dispatch): fix typo
11750 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11752 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11755 * bufferlist.C: include assert.h for emergencyWrite().
11757 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11759 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11760 give up at last (bug #425202) !
11762 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11768 * spellchecker.C: strip spellchecker options and bring up
11769 preferences tab instead
11771 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11773 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11774 the istringstream constructor
11776 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11778 * paragraph.C (getLayout): fix return value
11780 * paragraph.h: do not declare getLayout as inline.
11782 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11784 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11786 * lyxcursor.h (operator<): new func
11787 (operator>): new func
11788 (operator>=): new func
11789 (operator<=): new func
11791 * text.C (changeCase): use selection.start and selection.end
11792 (changeRegionCase): require from to be <= to. Require par to be a
11795 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11797 2001-06-27 Juergen Vigna <jug@sad.it>
11799 * text.C (cursorLeftOneWord): changed to return the cursor and added
11800 overlay with BufferView * parameter which calls this one.
11802 (selectWord): use new getWord function.
11803 (changeCase): renamed from changeWordCase as and extended to work
11804 also on selections.
11806 * lyxtext.h: added enum word_location
11808 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11809 changeCase as this operates now also on selections.
11811 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11813 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11815 * many files: send debug output to Debug::INFO instead of
11818 * converter.C (View):
11820 (Move): send debug output to Debug::FILES instead of console.
11822 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11824 * lyxfunc.C (getStatus): use func_status
11826 * func_status.h: new header, describing the results of
11827 LyXFunc::getStatus;
11829 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11832 2001-06-25 The LyX Project <jug@sad.it>
11834 * buffer.C (sgmlOpenTag):
11836 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11838 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11840 * text2.C: remove some dead code
11842 * tabular.C (GetCellInset): store the last cell checked (gotten)
11844 * tabular.h: add the helper for the speedup
11846 * lyxtext.h: remove some dead code
11848 2001-06-26 The LyX Project <Asger>
11850 * paragraph.C: Change export to LaTeX of alignment to
11851 \begin{center} and family for better roundtrip work with reLyX.
11853 * Tune the math drawing a bit.
11855 2001-06-25 The LyX Project <Asger>
11857 * LColor.C (LColor): New color for math background. New color
11860 2001-06-25 The LyX Project <jug@sad.it>
11862 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11864 * lyxfunc.C (Open):
11865 * bufferlist.C (newFile): do not restrict to files ending with
11868 * BufferView_pimpl.C (MenuInsertLyXFile):
11870 2001-06-24 The LyX Project <jug@sad.it>
11872 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11875 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11877 * lyxtext.h: rename most methods to begin with a small char.
11878 Lots of changes because of this.
11880 * paragraph.C (Paragraph): do not call fitToSize
11881 (erase): call Pimpl::erase
11882 (insertChar): call Pimpl::insertChar
11883 (insertInset): call Pipl::insertInset
11884 (breakParagraph): do not call fitToSize
11885 (breakParagraphConservative): do not call fitToSize
11886 (fitToSize): remove method
11888 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11890 2001-06-24 The LyX Project <Asger>
11892 * Fix Qt compilation^2
11894 2001-06-24 The LyX Project <jug@sad.it>
11896 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11897 depthHook(getDepth()-1).
11900 * ParagraphParameters.h:
11901 * ParameterStruct.h: change type of depth to unsigned int ==
11902 depth_type. Many adaptations to other files before of that.
11904 2001-06-24 The LyX Project <Asger>
11906 * Fix Qt compilation.
11908 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11910 * paragraph.h: renamed several methods to begin with small letter.
11911 several changes to many parts of the code because of this.
11913 2001-06-23 The LyX Project <jug@sad.it>
11915 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11916 rewritten to discard all double spaces when KeepEmpty is off
11917 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11918 to only handle newlines but not fiddle with spaces and friends.
11920 * lyxfunc.C (MenuNew): when doing 'new from template', use
11921 template_path as default directory
11923 2001-06-23 The LyX Project <Asger>
11925 * Clean-up of header file includes all over
11926 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11928 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11930 * paragraph.h: renamed from lyxparagraph.h
11932 2001-06-23 Asger <lyx@violet.home.sad.it>
11934 * Buffer.h: Removed Buffer::resize
11935 * BufferList.h: Removed BufferList::resize
11936 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11937 the document lazily when we change the width, or the font settings.
11939 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11941 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11943 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11945 * buffer.h: remove out of date comment
11947 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11950 * screen.C: fix "theoretical" GC leak
11952 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11954 * LaTeX.C (scanAuxFile):
11955 (deplog): remove trailing \r when reading stream (useful under
11958 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11960 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11961 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11962 and BufferView::theLockingInset(Inset*), so should use them and not
11963 access bv_->text->the_locking_inset directly.
11965 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11967 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11970 * tex-defs.h: remove old unused file
11972 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11974 * BufferView_pimpl.C: fix typo, remove minibuffer message
11975 when buffer has loaded
11977 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11979 * lyxfunc.C (Dispatch): use stringstream
11980 (MenuNew): use stringstream
11981 (Open): use stringstream
11983 * importer.C (Import): use stringstream
11985 * bufferview_funcs.C (CurrentState): use stringstream
11987 * LaTeX.C (run): use stringstream
11989 * BufferView_pimpl.C (savePosition): use stringstream
11990 (restorePosition): use stringstream
11991 (MenuInsertLyXFile): use stringstream
11993 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12006 * vspace.C: removed // -*- C++ -*- as first line.
12009 * version.h: added // -*- C++ -*- as first line.
12011 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12013 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12015 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12018 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12020 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12023 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12025 * gettext.C: include LString.h even when --disable-nls is on.
12027 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12029 * converter.h (Get): changed argument type from int to
12030 FormatList::size_type to avoid unnecessary conversion.
12032 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12035 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12037 * gettext.h: include LString.h even when --disable-nls is on.
12039 2001-06-07 Juergen Vigna <jug@sad.it>
12041 * text.C (BreakAgain): subst spaces with tabs.
12043 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12044 (resizeInsetsLyXText): set force on resizeLyXText.
12046 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12048 * gettext.h (gettext_init):
12049 (locale_init): use a real definition instead of a macro
12051 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12053 * Bufferview_pimpl.C:
12055 * LColor.C: further lcolor tidies
12057 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12059 * BufferView_pimpl.C (updateScrollbar): simplify.
12061 * BufferView2.C: don't include insets/insetinfo.h, change
12062 prototype for insertInset and call the Pimpl version. let
12063 updateInset call Pimpl version.
12065 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12066 gotoInset to BufferView::Pimpl
12068 2001-06-01 Juergen Vigna <jug@sad.it>
12070 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12071 inside a LockingInset (is the update needed at all?).
12073 2001-05-31 Juergen Vigna <jug@sad.it>
12075 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12076 here not the old one otherwise how should we compare it afterwards
12079 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12084 * FontInfo.C: bring C functions into global namespace when
12087 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12089 * LString.h: make sure config.h has been loaded before LString.h.
12091 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12092 (one for each char read by EatLine!).
12094 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12097 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12099 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12100 to the same as the par we break from
12102 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12104 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12106 * MenuBackend.C (expand): also create menu entries for wide
12107 versions of the floats.
12109 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12111 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12113 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12114 frontends/Makefile.am
12120 * tabular.C (getTokenValue): add std::
12122 * tabular-old.C (getTokenValue): add std::
12123 (getTokenValue): ditto
12124 (getTokenValue): ditto
12126 * screen.C (ToggleSelection): adjust
12128 * lyxtext.h: put selection cursors inside a Selection struct.
12130 * lyxfunc.C (moveCursorUpdate): adjust
12132 * lyxfont.C (latexWriteStartChanges): add std::
12134 * lyxfind.C: adjust
12136 * font.h: delete with(char const *, LyXFont const &)
12138 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12140 * FontInfo.C (getFontname): add std::
12142 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12143 (workAreaButtonPress): adjust
12144 (tripleClick): adjust
12146 (moveCursorUpdate): adjust
12149 * BufferView2.C (gotoInset): adjust
12151 2001-05-30 Juergen Vigna <jug@sad.it>
12153 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12154 to check pspell I add this as default as I now have new pspell
12155 libraries and they seem to use this.
12157 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12159 * text2.C (CutSelection): make the cursor valid before the call to
12162 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12164 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12165 relied on 0 terminated strings and other horrors. Bug found due to
12166 the new assert in lyxstring!
12168 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12171 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12173 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12176 * lyxfunc.C (processKeySym): change method of getting to the
12179 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12180 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12181 * BufferView_pimpl.[Ch]: here as private methods.
12183 2001-05-28 Juergen Vigna <jug@sad.it>
12185 * text.C (SetHeightOfRow): added the update() call again as it is
12186 needed to initialize inset dimensions!
12188 2001-05-16 Juergen Vigna <jug@sad.it>
12190 * text2.C (SetCharFont): Add new function with BufferView * and
12191 bool toggleall parameters for setting insets internal fonts.
12192 (SetFont): Freeze the undo as we may change fonts in Insets and
12193 all this change should be inside only one Undo!
12195 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12196 setting font's in insets as for them we have the SetFont function!
12198 2001-05-15 Juergen Vigna <jug@sad.it>
12200 * text2.C (ClearSelection): to be sure we REALLY don't have any
12203 * tabular.C (TeXCellPreamble): fixed the left border problem for
12206 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12208 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12211 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12213 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12214 LFUN_BREAKPARAGRAPH.
12216 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12217 help test to "internal only", similar for LFUN_INSERT_URL
12219 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12220 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12221 auto_region_delete and deadkeys.
12223 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12226 * LColor.C: remove some dead entries, tidy a little
12228 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12230 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12232 (Dispatch): implement LFUN_ESCAPE
12234 * commandtags.h: add LFUN_ESCAPE
12236 * LyXAction.C (init): add entry for LFUN_ESCAPE
12238 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12239 Remove commented code.
12240 (insertNote): moved here
12241 (open_new_inset): moved here
12243 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12246 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12248 * kbmap.C (findbinding): clean it up and make it work correctly.
12250 * lyx_main.C (init): do not pass argc and argv as parameters
12252 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12254 * buffer.C: fix path for OS/2 & Win32
12258 * lyx_main.C: Added os:: class.
12260 * os2_defines.h: update
12262 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12264 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12265 better by trying again with reduced state.
12267 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12269 * lyxrc.C (read): print error about invalid key sequence only when
12270 debugging (because not all latinX keysyms are known to some X
12273 * kbsequence.C (getiso): add a few std:: qualifiers
12274 (getiso): comment out extra return statement.
12276 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12278 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12280 (Dispatch): enhance the accent inset a bit. (not perfect)
12282 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12284 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12286 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12288 * bufferlist.C (emergencyWrite): fix assert() call
12290 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12292 * text.C (InsertChar): Added trivial patch to only send the "you
12293 can not do multiple spaces this way" message once during a
12296 2001-05-08 Baruch Even <baruch@lyx.org>
12298 * Makefile.am: Changed order of libraries to get LyX to link properly
12299 with the gnome frontend.
12301 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12303 * LaTeXFeatures.h: add a std:: qualifier
12305 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12307 * paragraph.C (String): use stringstream
12309 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12311 * paragraph.C (writeFile): remove footflag arg
12313 * buffer.C (makeLaTeXFile): use stringstream
12314 (latexParagraphs): remove footnot gurba
12316 * LaTeXFeatures.C (getPackages): use stringstream
12317 (getMacros): likewise
12318 (getTClassPreamble): likewise
12319 (getFloatDefinitions): new method
12321 * paragraph.C (writeFile): reindent
12324 * WorkArea.h: revert the xpos + etc changes.
12326 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12328 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12330 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12331 (pasteSelection): likewise
12332 * text2.C (CreateUndo): likewise
12334 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12336 * minibuffer.C (peek_event): temporarily reduce the functionality
12337 of the minibuffer (to allow args on lfuns)
12339 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12340 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12342 * buffer.C (readInset): add compability reading of old float
12343 lists, add reading of new style float list.
12344 (readInset): avoid reevaluation of inscmd.getCmdName()
12345 (getLists): reindent
12347 * MenuBackend.C (MenuItem): implement parsing of
12348 md_floatlistinsert and md_floatinsert.
12349 (expand::LastFiles): move initalizaton of iterators out of loop,
12350 avoid reevaluation.
12351 (expand::Documents): introduce typdedef vector<string> Strings,
12353 (expand::ExportFormats): introduce typedef vector<Format const *>
12354 Formats, and use it.
12355 (expand): implement FloatListInsert and FloatInsert.
12357 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12358 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12359 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12361 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12363 (Dispatch::LFUN_FLOAT_LIST): implement
12365 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12367 * LaTeX.C (run): Fix problem with --export code.
12369 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12371 * BufferView.[Ch] (workarea): removed.
12372 (getClipboard) new method; wrapper for workarea()->getClipboard()
12374 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12377 * WorkArea.h (width, height, xpos, ypos): These methods all
12378 returned the dimensions of the work_area sub-area of WorkArea,
12379 resulting in a position error if the WorkArea were resized. Now
12380 return the dimensions of the entire WorkArea.
12382 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12384 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12386 * LaTeX.C (deplog): correct the syntax of regex reg1
12388 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12390 * undo.C: remove !NEW_INSETS cruft
12392 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12394 * text2.C: remove !NEW_INSETS cruft
12396 * text.C: remove !NEW_INSETS cruft
12398 * tabular.C: remove !NEW_INSETS cruft
12400 * spellchecker.C: remove !NEW_INSETS cruft
12402 * lyxtext.h: remove !NEW_INSETS cruft
12404 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12406 * lyxfunc.C: remove !NEW_INSETS cruft
12408 * lyxfind.C: remove !NEW_INSETS cruft
12410 * lyx_cb.C: remove !NEW_INSETS cruft
12412 * figureForm.C: remove !NEW_INSETS cruft
12414 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12416 * buffer.[Ch]: remove !NEW_INSETS cruft
12418 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12420 * CutAndPaste.C: remove !NEW_INSETS cruft
12422 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12424 * BufferView2.C: remove !NEW_INSETS cruft
12426 * BufferView.h: remove !NEW_INSETS cruft
12428 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12430 * Lsstream.h: include LString.h before the sstream headers to
12431 fix problem with gcc 2.95.3 and lyxstring
12433 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12435 * lyx_main.C: add using directives when needed for C functions
12436 declared in std:: namespace.
12438 2001-04-27 Juergen Vigna <jug@sad.it>
12440 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12441 (SetHeightOfRow): comment out the update call should not be needed!
12443 2001-04-13 Juergen Vigna <jug@sad.it>
12445 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12446 (LyXTabular): tried to minimize operator= operations (and realized
12447 hopfully Lars wish).
12449 2001-04-27 Juergen Vigna <jug@sad.it>
12451 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12453 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12455 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12457 * buffer.C (readInset): hack to make listof algorithm work
12459 * BufferView_pimpl.C: hack to make listof algorithm work
12461 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12463 * LyXAction.C: removed all !NEW_INSETS cruft
12464 (init): moved lfun_item in method
12466 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12468 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12470 * BufferView2.C (theLockingInset): white space.
12472 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12474 * minibuffer.C: include <iostream>
12476 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12478 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12480 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12482 * text.[Ch] (TransposeChars): new method
12484 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12486 * call message directly through LyXView instead of through LyXFunc
12487 * BufferView2.C: adjust
12488 * BufferView_pimpl.C: adjust
12489 * FontLoader.C: adjust
12491 * bufferview_funcs.C: adjust
12492 * converter.C: adjust
12493 * figureForm.C: adjust
12494 * importer.C: adjust
12496 * lyx_gui_misc.C: adjust
12497 * lyxfunc.C: adjust
12500 + more files in subdirs
12502 * lyxparagraph.h (size): move up int file
12505 * adjust all uses of Assert to lyx::Assert.
12507 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12508 lyxfunctional in namespace lyx
12509 * layout.C (hasLayout): ditto
12512 (delete_layout): ditto
12513 (NumberOfClass): ditto
12514 * converter.C (GetFormat): ditto
12519 * bufferlist.C (getFileNames): ditto
12520 (emergencyWriteAll): ditto
12523 * MenuBackend.C (hasSubmenu): ditto
12526 * BufferView_pimpl.C (getInsetByCode): ditto
12528 2001-04-18 Juergen Vigna <jug@sad.it>
12530 * vspace.C (asLatexString): fixed the 100% problem.
12532 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12534 * lyxfunc.C (Dispatch):
12536 * minibuffer.h: add a few std:: qualifiers
12538 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12540 * minibuffer.[Ch]: reimplement so that commands is initiated and
12541 run from lyxfunc, simplified som handling, and made the completion
12542 and history code for complete. wip.
12544 * lyxfunc.C (processKeySym): call message
12545 (miniDispatch): new temporary method
12546 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12547 (LFUN_MESSAGE): implement
12548 (LFUN_MESSAGE_PUSH): implement
12549 (LFUN_MESSAGE_POP): implement
12550 (initMiniBuffer): the initial/defualt minibuffer message.
12552 * lyxfont.[Ch]: inline some more getters
12554 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12556 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12558 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12559 (AutoSave): use LFUN_MESSAGE
12560 (Reconfigure): ditto
12562 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12564 * figureForm.C: use LFUN_MESSAGE
12566 * converter.C (runLaTeX): use LFUN_MESSAGE
12568 * bufferview_funcs.C: use LFUN_MESSAGE
12570 (changeDepth): ditto
12572 * bufferparams.h: use boost::
12574 * bufferlist.h: inherit privately from noncopyable
12576 * bufferlist.C (loadLyXFile): remove some commented code.
12578 * buffer.C (runChktex): use LFUN_MESSAGE
12580 * ShareContainer.h: inherit privately from noncopyable
12582 * ParagraphParameters.[hC] (depth): inline it.
12584 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12586 (message): new method
12587 (messagePush): ditto
12588 (messagePop): ditto
12589 (show): init minibuffer
12590 (showState): direct call
12592 * LaTeX.[Ch]: inherit privately from noncopyable
12593 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12594 instead of WriteStatus.
12596 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12598 * BufferView_pimpl.C (buffer): don't init minibuffer
12599 (workAreaButtonPress): use LFUN_MESSAGE
12600 (workAreaButtonRelease): ditto
12601 (savePosition): ditto
12602 (restorePosition): ditto
12603 (MenuInsertLyXFile): ditto
12604 (workAreaExpose): don't init minibuffer
12605 (update): remove commented code, simplify
12607 * BufferView2.C (openStuff): use LFUN_MESSAGE
12608 (toggleFloat): ditto
12611 (copyEnvironment): ditto
12612 (pasteEnvironment): ditto
12617 (updateInset): remove some commented code
12619 * lastfiles.h: inherit privately from noncopyable
12622 * lyx_main.h: ditto
12624 * lyxlex_pimpl.h: ditto
12626 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12627 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12628 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12630 * LyXAction.h: inherit privately from noncopyable, add methods
12631 func_begin, func_end, returning iterators to the func map.
12633 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12634 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12635 (func_begin): new method
12636 (func_end): new method
12638 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12640 (copySelection): ditto
12641 (pasteSelection): ditto
12643 * BufferView.C: whitespace change
12644 * BufferView.h: inherit privately from noncopyable
12646 2001-04-16 Allan Rae <rae@lyx.org>
12648 * tabular-old.C (l_getline):
12649 * spellchecker.C (sc_check_word):
12650 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12651 an unrecognised preprocessor directive. So ensure they're wrapped.
12653 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12655 * src/exporter.C (Export): Give an error message when path to file
12658 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12660 * LaTeX.C (deplog): Always check that foundfile exists.
12662 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12665 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12667 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12669 * tabular.[Ch] (getLabelList): implement new method
12671 * minibuffer.h: comment ouf setTiimer
12673 * minibuffer.C (ExecutingCB): constify res
12674 (peek_event): constify s
12675 (Set): constify ntext
12676 (Init): constify nicename
12678 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12680 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12681 (savePosition): use two params to Minibuffer::Set
12682 (restorePosition): ditto
12684 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12686 * lyx_main.C: include language.h
12688 * Makefile.am (lyx_main.o): add language.h
12690 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12696 * CutAndPaste.C: include gettext.h
12698 * lyxfont.h: remove old hack with ON and OFF.
12701 * lyxfont.h: do not include language.h...
12706 * bufferview_funcs.C:
12712 * paragraph.C: ... but do it here instead
12714 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12716 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12718 * tabular.C: small reformat
12720 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12723 (BreakParagraph): ditto
12724 (SetOnlyLayout): ditto
12727 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12730 * lastfiles.C: removed most using decl, add std:: where needed
12732 * buffer.C: ws changes
12734 * MenuBackend.C (class compare_format): put into anon namespace
12735 (expand): constify label, names, action, action2
12738 * text.C (SingleWidth): constify font
12739 (IsBoundary): constify rtl2
12740 (GetVisibleRow): constify ww
12742 * LaTeX.C (deplog): constify logfile
12744 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12746 (workAreaExpose): constify widthChange, heightChange
12748 * lyxrow.C (par): moved
12751 * lyxrow.h: as inlines here
12753 * lyxfont.h (shape): moved from lyxfont.C
12754 (emph): moved from lyxfont.C
12756 * lyxfont.C (LyXFont): use initialization list for all
12758 (shape): move to lyxfont.h as inline
12759 (emph): move to lyxfont.h as inline
12762 2001-04-04 Juergen Vigna <jug@sad.it>
12764 * vspace.C: had to include stdio.h for use of sscanf
12766 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12769 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12770 independent of xforms.
12772 2001-04-02 Juergen Vigna <jug@sad.it>
12774 * spellchecker.C: fixed namespace placing!
12776 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12778 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12779 the LyXParagraph * is 0.
12781 2001-03-29 Juergen Vigna <jug@sad.it>
12783 * vspace.C: added support for %, c%, p%, l%.
12784 (stringFromUnit): added helper function.
12785 (asLatexString): changed to give right results for the %-values.
12787 * buffer.C: convert the widthp in a width%.
12789 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12791 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12794 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12795 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12797 * lyx_cb.[Ch]: see above.
12799 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12803 * lyx.[Ch]: replaced by figure_form.[Ch].
12807 * lyxfunc.C: changed headers associated with above changes.
12809 2001-03-27 Juergen Vigna <jug@sad.it>
12811 * BufferView_pimpl.C: set the temporary cursor right!
12813 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12815 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12817 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12819 * LString.h: removed "using std::getline"!
12821 * BufferView_pimpl.C (Dispatch): changes due to changes in
12822 InsetInclude::Params.
12824 * buffer.C (tag_name): removed redundant break statements as they were
12825 producing lots of warnings with my compiler.
12827 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12829 * LString.h: add "using std::getline" when using the real <string>.
12831 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12833 * buffer.C: removed bitset usage.
12834 PAR_TAG moved to an anonymous name space.
12835 (tag_name): new funtion, also in the anonymous namespace.
12836 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12837 (makeDocBookFile): clean code. Completed transition from string arrays
12839 (SimpleDocBookOnePar): code clean.
12841 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12843 * tabular.C: add some comments.
12845 2001-03-22 Juergen Vigna <jug@sad.it>
12847 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12848 compatibility read a bit and fixed bug with minipage in different
12851 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12853 * buffer.C (pop_tag): removed.
12854 (push_tag): removed.
12855 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12856 array replaced with vector. Added support for CDATA sections.
12857 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12859 (makeDocBookFile): XML conformant declaration of CDATA section,
12860 fixed bug related to <emphasis> in the first paragraph char.
12861 (sgmlOpenTag): exclude empty tags.
12862 (sgmlCloseTag): ditto.
12864 * buffer.h (pop_tag): removed.
12865 (push_tag): removed.
12867 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12869 * language.h (Languages): added size_type and size().
12871 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12873 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12874 response on compability reading of minipages. One probliem is that
12875 the old usage of minipages was «flertydig»
12877 * several files here and in subdirs: don't use static at file
12878 scope use anon namespaces instead.
12880 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12882 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12883 LaTeX output. This is necessary for Literate document
12886 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12888 * buffer.C: insert hfill when needed.
12890 * tabular.C (l_getline): use string::erase, small whitespace change.
12892 * BufferView_pimpl.C: try the anon namespace.
12893 * WorkArea.C: ditto
12895 2001-03-16 Juergen Vigna <jug@sad.it>
12897 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12898 otherwise it won't open options-dialogs.
12900 * buffer.C: honor pextraWidth(p) on converting minipages.
12902 * tabular.C (l_getline): changed the functions to strip trailing \r.
12904 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12906 * BufferView_pimpl.C:
12907 * minibuffer..C: added "using SigC::slot" declaration.
12909 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12911 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12917 * paragraph.C: ditto
12919 * lyxtext.h: NO_PEXTRA
12921 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12923 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12924 * ParameterStruct.h: ditto
12925 * ParagraphParameters.h: ditto
12926 * lyxparagraph.h: ditto
12928 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12930 * buffer.C: add compability for minipage alignment.
12931 (latexParagraphs): remove unwanted pextra check.
12933 * several files: remove CXX_WORKING_NAMESPACES
12935 * buffer.C (pop_tag): tie is in namespace boost
12937 * BufferView.h: noncopyable is in namespace boost
12939 * lyx_main.h: ditto
12942 * lastfiles.h: ditto
12943 * bufferlist.h: ditto
12944 * ShareContainer.h: ditto
12946 * LyXAction.h: ditto
12949 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12951 * Merging changes from BRANCH_MVC back into HEAD.
12953 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12955 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12957 * BufferView_pimpl.C: change from intl.C
12961 * Makefile.am: move combox.*
12967 * intl.C: remove dialog (covered by prefs)
12969 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12971 * lyxfunc.C (Dispatch): removed redundant break statement.
12973 2001-03-14 Juergen Vigna <jug@sad.it>
12975 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12977 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12979 * buffer.C: add hack to fix compability reading of minipages.
12981 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12983 * buffer.C (getLists): Cleanup.
12985 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12987 * lyxfont.C (update): don't honor toggleall on font size.
12989 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12993 * Makefile.am: moved to frontends/xforms/
12997 * BufferView_pimpl.C: changes for moved mathpanel
12999 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13001 * gettext.h: fix gettext_init() in --disable-nls
13003 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13005 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13007 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13010 * lyx.h: strip external form
13012 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13014 * BufferView_pimpl.C: add comment, destroySplash()
13016 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13018 * BufferView_pimpl.C:
13022 * lyxfunc.C: use re-worked insetinclude
13024 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13026 * buffer.C: add using std::stringstream.
13028 * lyx_cb.C: readd using std::ios.
13030 * buffer.C: add using std::map.
13032 * BufferView_pimpl.C: add using std::vector.
13034 * ShareContainer.h: add std:: to swap.
13036 * buffer.h: add some typedefs
13037 * buffer.C (getLists): use them
13038 (getLists): renamed from getTocList.
13039 add a counter for the different float types and use it in the
13041 (getLists): use the same counter for the NEW_INSETS and the "non"
13044 * lyx_cb.h: remove unused items, includes, using etc.
13046 * ShareContainer.h: remove some commented code, add more comments
13047 and "documentation".
13049 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13051 * buffer.C (getTocList): make the list also when NEW_INSETS is
13054 * buffer.h: remove TocType
13056 * buffer.C (getTocList): change to return a map<string,
13057 vector<TocItem> >, implement for dynamic number of list.
13059 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13060 * text2.C (PasteSelection): adjust
13061 * CutAndPaste.C (pasteSelection): adjust
13063 * FloatList.C (FloatList): update from the new_insets branch.
13064 * Floating.[Ch]: ditto
13065 * LaTeXFeatures.C: ditto
13067 * lyxlex_pimpl.C: ditto
13069 * paragraph.C (Last): remove when NEW_INSETS is defined.
13071 * other file: changes because of the above.
13073 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13075 * lyxparagraph.h: rename next to next_, previous to previous_,
13076 make them private for NEW_INSETS. Rename Next() to next(),
13077 Previous() to previous().
13079 * other files: changes because of the above.
13081 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13084 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13087 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13089 * main.C (main): pass lyx_localedir to gettext_init().
13091 * gettext.h: remove locale_init and gettext_init macros
13093 * gettext.C (locale_init): new function
13094 (gettext_init): new function
13096 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13099 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13101 * Moved credits to frontends:
13102 * credits.[Ch]: removed
13103 * credits_form.[Ch]: removed
13104 * lyx_gui_misc.C: remove credits stuff
13107 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13109 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13111 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13112 unneeded destructor.
13114 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13115 a standalone pointer again.
13117 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13119 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13125 * ToolbarDefaults.C:
13134 * BufferView_pimpl.C: use new file dialog in GUII
13137 * lyx_cb.C: remove LayoutsCB to Toolbar
13139 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13141 * ShareContainer.h (get): add std:: qualifier
13143 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13145 * ShareContainer.h: define a proper ShareContainer::value_type
13146 type (and use typename to please compaq cxx)
13148 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13150 * lyxparagraph.h: move serveral local vars to
13151 ParameterStruct/ParagraphParameters., use ShareContainer in
13152 FontTable., make vars in FontTable private and add getter and
13155 * paragraph.C: changes because of the above.
13157 * lyxfont.h: remove copy constructor and copy assignment. (the
13158 default ones is ok), move number inside FontBits. move inlines to
13161 * lyxfont.C: add number to initializaton of statics, move several
13162 inlines here. constify several local vars. some whitespace
13163 cleanup. Dont hide outerscope variables.
13165 * Spacing.h: add two new constructors to match the set methods.
13167 * ShareContainer.h: new file, will perhaps be moved to support
13169 * ParameterStruct.h: new file
13171 * ParagraphParameters.h: new file
13173 * ParagraphParameters.C: new file
13175 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13176 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13178 * BufferView_pimpl.C: ParagraphParameter changes.
13179 * buffer.C: Likewise.
13180 * bufferview_funcs.C: Likewise.
13181 * text.C: Likewise.
13182 * text2.C: Likewise.
13184 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13186 * lyxfind.C (LyXReplace): do not redefine default argument in
13188 (IsStringInText): ditto
13189 (SearchForward): ditto
13190 (SearchBackward): ditto
13192 2001-03-06 Juergen Vigna <jug@sad.it>
13194 * lyxfind.C (IsStringInText): put parentes around expressions.
13196 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13198 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13200 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13202 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13204 * stl_string_fwd.h: add comment
13206 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13209 * tabular.C: remove unused DocBook methods
13215 killed DO_USE_DEFAULT_LANGUAGE
13217 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13219 * lyx_gui.C: do not include language.h.
13221 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13222 arguments in function implementation.
13224 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13226 * BufferView_pimpl.C: add <ctime>
13228 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13230 * BufferView_pimpl.C: add using std::find_if
13232 2001-02-27 José Matos <jamatos@fep.up.pt>
13234 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13237 2001-02-11 José Matos <jamatos@fep.up.pt>
13239 * buffer.C (makeDocBookFile): command styles now have a parameter as
13240 "title" by default.
13242 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13244 * layout_forms.[Ch]: removed
13245 * lyx_cb.[Ch]: out character
13246 * lyx_gui.C: out character
13247 * lyx_gui_misc.C: out character
13248 * bufferview_funcs.C: : out character,
13249 added toggleall as parameter in ToggleAndShow
13251 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13253 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13255 * text2.C (SetCurrentFont): Disable number property at boundary.
13257 2001-02-26 Juergen Vigna <jug@sad.it>
13259 * lyxfunc.C (getStatus): added a string argument override function so
13260 that this is correctly called from LyXFunc::Dispatch if it contains a
13261 do_not_use_argument which is used!
13262 (Dispatch): added check for "custom" export and call appropriate func.
13264 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13266 * lyxrc.C: Add language_command_local, language_use_babel and
13267 language_global_options.
13269 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13271 * buffer.C (makeLaTeXFile): Use language_use_babel and
13272 language_global_options.
13274 2001-02-23 Juergen Vigna <jug@sad.it>
13276 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13277 which works with LyXText and putted it inside BufferView. Here now we
13278 only call for that part the BufferView::Dispatch() function.
13280 * BufferView.C (Dispatch): added.
13282 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13283 functions which needs to use a LyXText over from LyXFunc.
13284 (MenuInsertLyXFile): added
13285 (getInsetByCode): added
13286 (moveCursorUpdate): added
13287 (static TEXT): added
13289 2001-02-22 Juergen Vigna <jug@sad.it>
13291 * BufferView_pimpl.C (update): call a status update to see if LyXText
13294 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13296 * vc-backend.C (revert): implement for CVS
13297 (getLog): implement for CVS
13299 2001-02-20 Juergen Vigna <jug@sad.it>
13301 * text2.C (ClearSelection): added BufferView param for inset_owner call
13303 * lyxfunc.C (TEXT): added this function and use it instead of
13304 directly owner->view()-text of getLyXText().
13306 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13308 * src/layout_forms.C: out preamble
13309 * src/layout_forms.h: out preamble
13310 * src/lyx_cb.C: out preamble
13311 * src/lyx_cb.h: out preamble
13312 * src/lyx_gui.C: out preamble
13313 * src/lyx_gui_misc.C: out preamble
13314 * src/lyxfunc.C: connect with guii preamble
13316 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13318 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13320 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13322 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13323 whether to run bibtex.
13325 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13327 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13329 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13331 * Makefile.am (lyx_SOURCES): removed bibforms.h
13333 * vspace.h: doxygen
13335 * text.C (GetVisibleRow): make several local vars const
13337 * tabular.C: small cleanup.
13339 * lyxserver.C (callback): use compare instead of strncmp
13341 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13342 inlines to after class or to paragraph.C
13344 * lyxfont.h: remove friend operator!=
13346 * converter.h: move friend bool operator< to non friend and after
13349 * combox.h: small cleanup
13351 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13352 to inlines after class def.
13354 * buffer.C (pop_tag): use string operations instead of strcmp
13356 * bmtable.c: doxygen, small cleanup
13358 * LaTeX.h: remove friend operator==
13360 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13372 * BufferView_pimpl.C:
13373 * BufferView.[Ch]: remove cruft
13375 2001-02-14 Juergen Vigna <jug@sad.it>
13377 * lyxfunc.C: removed #if 0 unused code
13379 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13381 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13383 * text2.C (SetSelection): added a BufferView * parameter
13385 2001-02-13 Juergen Vigna <jug@sad.it>
13387 * lyxfunc.C (Dispatch): fixed protected blank problem.
13388 * BufferView2.C (protectedBlank): added LyxText * parameter.
13390 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13391 (AppendColumn): same as above for column_info.
13393 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13394 (moveCursorUpdate): use a LyXText param for support of InsetText.
13396 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13397 (tripleClick): ditto
13399 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13401 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13403 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13405 * text2.C (SetSelection): set correct update status if inset_owner
13406 (ToggleFree): ditto
13408 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13410 * tabular.C: remove some commented code.
13412 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13414 * BufferView_pimpl.C: call hideSplash()
13416 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13419 * bibforms.h: remove
13422 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13423 add LFUN_CHILD_CREATE
13425 * counters.h: fix tiny typo
13430 * lyx.C: move splash to frontends/xforms/
13432 * lyx_gui_misc.C: move Include and Bibform to frontends
13434 * lyxvc.h: clarify comment
13436 * vspace.C: tiny housekeeping
13438 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13440 * text.C (PrepareToPrint): RTL Fix.
13442 * paragraph.C (GetUChar): New method.
13443 (String): Use GetUChar.
13445 * buffer.C (asciiParagraph): Use GetUChar.
13447 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13449 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13451 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13454 * buffer.C: rename to getLogName(), handle
13455 build log / latex log nicely
13457 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13460 * MenuBackend.h: remove support for reference menuitem type.
13462 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13464 * BufferView_pimpl.C: housekeeping
13465 * BufferView_pimpl.h:
13470 * minibuffer.h: move Timeout GUI-I
13472 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13474 * lyxrc.C (read): Update converters data-structures.
13476 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13478 * LaTeX.h (operator!=): add operator != for Aux_Info
13480 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13482 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13484 * LaTeXLog.C: deleted, useful code moved to Buffer
13487 * buffer.C: new function getLatexLogName()
13493 * lyxfunc.C: use frontends for LaTeX and VC logs
13495 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13497 * LaTeX.h: yet another std:: that Allan forgot.
13499 * Variables.C (set): renamed from isset(), because this clashes
13500 with some HP-UX macros (grr).
13502 2001-02-06 Allan Rae <rae@lyx.org>
13504 * LaTeX.h: Another bug fix. Missing std:: this time.
13506 2001-02-04 Allan Rae <rae@lyx.org>
13508 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13509 floats problem. I've left it commented out because it's not quite
13510 correct. It should also test that the current object is a table or
13511 figure inset. But I haven't gotten around to figuring out how to do
13512 that. I *think* it'll be something like: "table" == inset.type()
13514 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13517 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13519 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13520 all the citation/databases/styles in the auxilary file.
13521 (run): Rerun latex if there was a babel language error.
13523 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13525 * text.C (Backspace): Preserve the font when changing newline char
13527 (BreakParagraph): If the cursor is before a space, delete the space.
13529 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13531 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13533 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13534 new argument (code).
13535 (ChangeCitationsIfUnique): New method.
13537 * paragraph.C (GetPositionOfInset): Handle bibkey.
13539 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13541 * BufferView_pimpl.h: change type of Position::par_pos to
13542 LyXParagraph::size_type.
13544 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13546 * BufferView_pimpl.C (savePosition, restorePosition): Write
13547 messages to minibuffer.
13549 2001-01-28 José Matos <jamatos@fep.up.pt>
13551 * buffer.C (makeDocBookFile): adds support for document language.
13552 A silly restriction on the name of LatexCommand types where removed.
13553 Added support for CDATA sections, allows to chars unescaped, used
13554 among others in code, to avoid escape < and >.
13556 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13558 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13559 saved positions instrad of a stack. Furthermore, a position is
13560 stored using paragraph id/paragraph position.
13562 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13563 Remove LFUN_REF_BACK.
13565 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13567 * converter.C (dvipdfm_options): New method.
13569 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13571 * vspace.C (isValidLength): Fix for empty input string.
13573 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13575 * LyXAction.C (init): change description of LFUN_FIGURE to
13578 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13580 * LaTeX.C: add using directive
13582 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13584 * MenuBackend.C (expand): Fix the sorting of the formats.
13586 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13588 * lyx_main.C: tiny error message fix
13590 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13592 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13593 calling fl_initialize(). This fixes the problem with ',' as
13594 decimal separator in text files.
13596 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13598 * trans.C (process): Fix the keymap bug.
13600 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13602 * LaTeX.C (scanAuxFiles): New method. Provides support for
13603 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13604 (scanLogFile) Scan for "run BibTeX" messages.
13606 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13607 OT1 font encoding. Also, load the aecompl package if the ae
13610 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13612 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13614 * texrow.C (increasePos): turn two error messages into debug
13617 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13619 * LaTeX.C (scanAux): Handle the \@input macro.
13620 (runBibTeX): Use scanAux().
13622 * language.C (latex_options_): New field.
13624 * LaTeXFeatures.C (getMacros): Add language macros.
13626 * buffer.C (makeLaTeXFile): Small fix.
13628 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13630 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13632 * text2.C: add a using directive.
13634 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13639 * lyxfunc.C: kill LyXBell.
13641 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13643 * text.C (IsBoundary): Remove the error message
13645 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13647 * lyxrc.C (setDefaults): Correct initialization value for
13650 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13652 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13655 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13656 and GotoNextNote().
13658 * src/LyXAction.C: Added reference-next.
13660 * text.C (InsertChar): Use contains instead of strchr.
13662 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13664 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13666 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13667 alignment commands (when needed).
13669 * text.C (InsertChar): Add ':' to number separator chars.