1 2003-03-12 John Levon <levon@movementarian.org>
7 * paragraph_funcs.C: fix per-buffer authorlists
9 2003-03-12 John Levon <levon@movementarian.org>
11 * text.C: fix newline in right address
13 2003-03-12 Angus Leeming <leeming@lyx.org>
15 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
16 duplicate those in LyXFunc::dispatch.
21 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
22 Add LFUN_FONTFREE_UPDATE.
24 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
25 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
27 * bufferview_func.[Ch]: several new functions to facilliate
28 transfer of data to and from the character dialog.
30 2003-03-12 John Levon <levon@movementarian.org>
40 * text3.C: remove META_NEWLINE in favour of an inset
43 * rowpainter.C: remove paintNewline (done by inset)
45 2003-03-12 John Levon <levon@movementarian.org>
47 * paragraph_pimpl.C: complain about bad getChar()s
50 2003-03-12 John Levon <levon@movementarian.org>
53 * buffer.C: move paragraph read into a separate function,
54 a little renaming to reflect that.
57 * bufferparams.C: remove the author_ids map, not necessary now
60 * factory.C: moved Buffer::readInset to here
63 * paragraph_funcs.C: readParagraph free function moved from
66 * tabular.C: name change
68 2003-03-12 John Levon <levon@movementarian.org>
71 * ParagraphParameters.C: move par params input to
74 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
75 behave like a normal read from the stream wrt reading
78 2003-03-12 John Levon <levon@movementarian.org>
81 * ParagraphParameters.h:
82 * ParagraphParameters.C: move output code to a
85 2003-03-12 John Levon <levon@movementarian.org>
87 * BufferView.C (insertLyXFile):
90 * tabular.C: use a parlist iterator for creating the
93 2003-03-12 John Levon <levon@movementarian.org>
95 * buffer.C: make current_change static local not
98 2003-03-12 John Levon <levon@movementarian.org>
100 * buffer.C: fix insertStringAsLines for change tracking
102 2003-03-12 John Levon <levon@movementarian.org>
109 * bufferparams.C: move author list into params. Rename some
110 functions. Move the header reading into a separate token
111 loop. Move the header token reading into BufferParams.
113 2003-03-12 John Levon <levon@movementarian.org>
115 * changes.C: put debug inside lyxerr.debugging() checks
117 2003-03-11 André Pönitz <poenitz@gmx.net>
119 * factory.C: make it aware of InsetHFill (not active yet)
121 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
123 * buffer.C (latexParagraphs): move function from here...
124 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
127 2003-03-10 Angus Leeming <leeming@lyx.org>
129 * LyXAction.C (init): fix bug in poplating array with multiple entries
130 with the same LFUN (spotted by JMarc).
132 2003-03-10 John Levon <levon@movementarian.org>
135 * text2.C: move getColumnNearX() near its
138 2003-03-10 John Levon <levon@movementarian.org>
140 * text.C: fix break before a minipage
142 2003-03-10 John Levon <levon@movementarian.org>
144 * text.C: fix the last commit
146 2003-03-09 John Levon <levon@movementarian.org>
150 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
151 bug 365 (don't break before insets unless needed). Don't
152 return a value > last under any circumstances.
154 2003-03-09 Angus Leeming <leeming@lyx.org>
156 * BufferView_pimpl.C (trackChanges, dispatch): call
157 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
159 2003-03-09 Angus Leeming <leeming@lyx.org>
161 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
162 than Dialogs::showAboutlyx().
164 2003-03-09 Angus Leeming <leeming@lyx.org>
166 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
167 than Dialogs::showTabularCreate().
169 2003-03-09 John Levon <levon@movementarian.org>
173 * text2.C: 3rd arg to nextBreakPoint was always the same.
176 2003-03-08 John Levon <levon@movementarian.org>
183 * text2.C: Remove the "main" bit from the "main body"
186 2003-03-08 John Levon <levon@movementarian.org>
188 * text.C (leftMargin): The left margin of an empty
189 manual label paragraph should not include the label width
192 * text.C (prepareToPrint): don't attempt to measure hfills
193 for empty manual label paragraphs - the answer should be 0
195 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
197 * CutAndPaste.C: remove commented code and reindent.
199 2003-03-08 John Levon <levon@movementarian.org>
202 * lyxfunc.C: move reloadBuffer()
205 * BufferView.C: to here
207 * lyxvc.C: add comment
210 * vc-backend.C: call bv->reload() to avoid
211 getStatus() check on MENURELOAD
213 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
215 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
216 to an old format .dep file.
218 2003-03-07 Angus Leeming <leeming@lyx.org>
220 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
221 when the LFUN_MOUSE_RELEASE should have been handled by
222 inset->localDispatch.
224 2003-03-07 Angus Leeming <leeming@lyx.org>
226 * BufferView_pimpl.C (dispatch):
227 * LyXAction.C (init):
228 * ToolbarDefaults.C (init):
230 * lyxfunc.C (getStatus):
231 remove LFUN_INSET_GRAPHICS.
233 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
235 2003-03-07 Angus Leeming <leeming@lyx.org>
238 * LyXAction.C (init):
239 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
241 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
244 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
246 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
247 localDispatch method LFUN_INSET_DIALOG_UPDATE.
249 2003-03-07 Angus Leeming <leeming@lyx.org>
251 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
254 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
256 * ParagraphList.C (front): new function
259 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
261 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
262 and top_row_offset_. removed var first_y.
264 * text2.C (LyXText, removeRow):
266 * BufferView_pimpl.C:
267 use these methods instead of using first_y
269 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
271 * text2.C (pasteSelection): adjust for checkPastePossible
273 * CutAndPaste.C: remove Paragraph * buf and replace with
274 ParagraphList paragraphs.
275 (DeleteBuffer): delete
276 (cutSelection): change the tc type to textclass_type
277 (copySelection): change the tc type to textclass_type
278 (copySelection): adjust for ParagraphList
279 (pasteSelection): change the tc type to textclass_type
280 (pasteSelection): adjust for Paragraphlist
281 (nrOfParagraphs): simplify for ParagraphList
282 (checkPastePossible): simplify for ParagraphList
283 (checkPastePossible): remove unused arg
285 * ParagraphList.C (insert): handle the case where there are no
288 * CutAndPaste.h: make CutAndPaste a namespace.
290 * text3.C (dispatch): adjust
292 * text.C (breakParagraph): add a ParagraphList as arg
294 * paragraph_funcs.C (breakParagraph): change to take a
295 BufferParams and a ParagraphList as args.
296 (breakParagraphConservative): ditto
297 (mergeParagraph): ditto
298 (TeXDeeper): add a ParagraphList arg
299 (TeXEnvironment): ditto
302 * buffer.C (readLyXformat2): adjust
303 (insertStringAsLines): adjust
304 (latexParagraphs): adjust
306 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
307 (cutSelection): adjust
308 (pasteSelection): adjust
310 * BufferView_pimpl.C (insertInset): adjust
312 2003-03-05 Angus Leeming <leeming@lyx.org>
315 * LyXAction.C (init):
316 * BufferView_pimpl.C (dispatch):
317 * lyxfunc.C (getStatus):
318 remove LFUN_CHILD_INSERT.
320 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
322 2003-03-05 Angus Leeming <leeming@lyx.org>
325 * LyXAction.C (init):
326 * src/factory.C (createInset):
327 * lyxfunc.C (getStatus):
328 * text3.C (dispatch):
329 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
331 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
333 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
335 * ParagraphList.C (insert): handle insert right before end()
336 (erase): fix cases where it can be first or last paragraph.
338 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
340 * paragraph_funcs.C (TeXEnvironment): remove all usage of
341 Paragraph::next and Paragraph::previous
344 * text.C (breakParagraph): adjust
346 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
347 BufferParams& as arg.
348 (breakParagraph): use ParagraphList::insert
349 (breakParagraphConservative): take a Buffer* instead of a
350 BufferParams& as arg.
351 (breakParagraphConservative): use ParagraphList::insert.
353 * buffer.C (insertStringAsLines): un-const it
354 (insertStringAsLines): adjust
356 * ParagraphList.C (insert): new function
358 * CutAndPaste.C (pasteSelection): adjust
360 * text.C (backspace): adjust
362 * tabular.C (SetMultiColumn): adjust
364 * CutAndPaste.C (cutSelection): adjust
365 (pasteSelection): adjust
367 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
368 Buffer const * as arg
370 * ParagraphList.C (erase): new function
371 * paragraph_funcs.C (mergeParagraph): use it
372 (mergeParagraph): make it take a Buffer* instead of a
375 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
377 (breakParagraphConservative): ditto
379 * paragraph.h: remove the breakParagraph friend
381 * paragraph.C (eraseIntern): new function
382 (setChange): new function
384 * paragraph_funcs.C (mergeParagraph): make it take a
385 ParagraphList::iterator instead of a Paragraph *, adjust
388 * paragraph.h: move an #endif so that the change tracking stuff
389 also works in the NO_NEXT case.
391 2003-03-04 Angus Leeming <leeming@lyx.org>
394 * LyXAction.C: new LFUN_INSET_MODIFY.
396 * BufferView_pimpl.C (dispatch): if an inset is found to be open
397 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
399 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
401 * several files: ws changes only
403 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
404 (TeXEnvironment): ditto
407 * buffer.C (makeLaTeXFile): adjust
408 (latexParagraphs): make it take ParagraphList::iterator as args
410 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
412 * buffer.C (latexParagraphs): adjust
414 * paragraph.C (TeXOnePar): move function...
415 (optArgInset): move function...
416 (TeXEnvironment): move function...
417 * paragraph_pimpl.C (TeXDeeper): move function...
418 * paragraph_funcs.C: ...here
420 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
422 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
424 * buffer.C (readInset): remove compability code for old Figure and
427 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
429 * buffer.C: ws changes
432 * BufferView_pimpl.C: ditto
435 * bufferlist.h: ditto
439 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
441 * converter.[Ch]: split into itself +
444 * Makefile.am: += graph.[Ch] + format.[Ch]
451 * lyxrc.C: added #include "format.h"
453 2003-02-27 Angus Leeming <leeming@lyx.org>
455 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
458 * factory.C (createInset): add "label" to the factory.
460 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
461 string and do no more.
463 2003-02-27 Angus Leeming <leeming@lyx.org>
466 * LyXAction.C (init):
467 * factory.C (createInset):
468 * BufferView_pimpl.C (dispatch):
469 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
471 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
473 * lyxfunc.C (dispatch):
474 * text3.C (dispatch): pass name to params2string.
476 2003-02-26 Angus Leeming <leeming@lyx.org>
478 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
480 Rearrange the ~includes. Strip out the unnecessary ones.
482 * factory.C (createInset): reformat.
483 create new insets for the various LFUN_XYZ_APPLY lfuns.
485 2003-02-26 John Levon <levon@movementarian.org>
488 * lyxrow.C: add isParStart,isParEnd helpers
490 * paragraph.h: make isInserted/DeletedText take refs
493 * paragraph_funcs.C: remove #if 0'd code
498 * text.C: use lyxrow helpers above.
499 Move draw and paint routines to RowPainter.
500 Make several methods use refs not pointers.
501 Make backgroundColor() const.
502 Add markChangeInDraw(), isInInset().
503 Merge changeRegionCase into changeCase.
504 Make workWidth() shouldn't-happen code into an Assert.
507 * rowpainter.C: new class for painting a row.
510 * vspace.C: make inPixels take a ref
512 2003-02-26 Angus Leeming <leeming@lyx.org>
514 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
517 2003-02-25 John Levon <levon@movementarian.org>
519 * ispell.C: give the forked command a more accurate name
521 2003-02-22 John Levon <levon@movementarian.org>
524 * toc.C: make TocItem store an id not a Paragraph *
527 2003-02-21 Angus Leeming <leeming@lyx.org>
529 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
530 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
531 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
532 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
533 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
534 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
536 * BufferView_pimpl.C (dispatch):
537 * LyXAction.C (init):
538 * factory.C (createInset):
539 * lyxfunc.C (getStatus, dispatch):
540 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
542 2003-02-21 Angus Leeming <leeming@lyx.org>
544 * BufferView_pimpl.C (MenuInsertLyXFile):
545 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
546 * lyxfunc.C (menuNew, open, doImport):
547 no longer pass a LyXView & to fileDlg.
549 2003-02-21 Angus Leeming <leeming@lyx.org>
551 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
552 * LyXAction.C: change, BIBKEY to BIBITEM.
553 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
554 Change InsetBibKey to InsetBibitem.
555 Change BIBKEY_CODE to BIBITEM_CODE.
556 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
557 * factory.C: replace insetbib.h with insetbibitem.h.
558 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
559 * paragraph.C: replace insetbib.h with insetbibitem.h.
560 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
561 Change bibkey() to bibitem().
562 * text.C: remove insetbib.h.
563 * text2.C: replace insetbib.h with insetbibitem.h.
564 change bibkey() to bibitem().
565 * text3.C: remove insetbib.h.
566 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
568 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
570 * lyxrc.C (output): enclose user email in quotes (in case there are
573 2003-02-18 John Levon <levon@movementarian.org>
575 * buffer.h: add std::
577 2003-02-17 John Levon <levon@movementarian.org>
583 * pspell.C: reworking. Especially in ispell, a large
584 number of clean ups and bug fixes.
586 * lyxfunc.C: fix revert to behave sensibly
588 2003-02-17 André Pönitz <poenitz@gmx.net>
591 * commandtags.h: new LFUN_INSERT_BIBKEY
601 * paragraph_func.C: remove special bibkey handling
603 2003-02-17 John Levon <levon@movementarian.org>
605 * text.C (Delete): fix case where delete at the end of
606 the very first paragraph would not merge the pars
608 2003-02-17 John Levon <levon@movementarian.org>
610 * lyxrow.C: fix lastPrintablePos()
612 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
614 * bufferparams.C (writeLaTeX): add a std:here
616 * buffer.C: and remove a using directive there
618 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
620 * buffer.C (makeLaTeXFile): move the code that generates the
623 * bufferparams.C (writeLaTeX): ... in this new method
625 * LaTeXFeatures.C (getEncodingSet): make const
626 (getLanguages): make const
628 * MenuBackend.C (binding): returns the binding associated to this
630 (add): sets the status of each item by calling getStatus. Adds
632 (read): add support for OptSubMenu
633 (expand): remove extra separator at the end of expanded menu
635 2003-02-15 John Levon <levon@movementarian.org>
638 * BufferView_pimpl.C:
640 * bufferlist.C: remove pointless BufferStorage bloat. Remove
641 inset code that had no actual effect. Remove unneeded status
644 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
646 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
649 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
651 * text.C (drawLengthMarker): also draw an arrow marker for
652 symbolic lengths (medskip...)
654 2003-02-14 John Levon <levon@movementarian.org>
657 * tabular.C: better method names
659 2003-02-14 John Levon <levon@movementarian.org>
661 * BufferView_pimpl.C:
666 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
667 it's a more accurate name. Remove some pointless uses.
669 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
671 * text2.C (LyXText): change order of initilizers to shut off
674 2003-02-14 John Levon <levon@movementarian.org>
676 * buffer.C: use ParIterator for getParFromID()
681 * paragraph_pimpl.C: remove unused getParFromID()
683 2003-02-14 John Levon <levon@movementarian.org>
685 * buffer.C: remove some very old #if 0'd parse code
687 2003-02-13 John Levon <levon@movementarian.org>
691 * text2.C: move hfillExpansion(), numberOfSeparators(),
692 rowLast(), rowLastPrintable(), numberofHfills(),
693 numberOfLabelHfills() ...
696 * lyxrow.C: ... to member functions here.
701 * text.C: remove LyXText::beginningOfMainBody(), and call
702 p->beginningOfMainBody() directly. Move the check for
703 LABEL_MANUAL into the latter.
710 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
716 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
717 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
719 2003-02-13 John Levon <levon@movementarian.org>
721 * CutAndPaste.C: remove debug
723 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
725 * paragraph.C (asString): remove two unused variables
727 * lyxtextclass.C (readTitleType):
729 (LyXTextClass): handle new members titletype_ and titlename_
731 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
733 2003-02-09 John Levon <levon@movementarian.org>
736 * buffer.C: replace hand-coded list with a map for the dep clean
738 2003-02-08 John Levon <levon@movementarian.org>
740 * LaTeX.C: consolidate code into showRunMessage() helper
742 2003-02-08 John Levon <levon@movementarian.org>
747 * BufferView.C: change setSelectionOverString() to setSelectionRange()
748 and pass the size in explicitly
750 * BufferView_pimpl.h:
751 * BufferView_pimpl.C:
753 * BufferView.C: add getCurrentChange()
755 * BufferView_pimpl.h:
756 * BufferView_pimpl.C: handle change lfuns
758 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
759 for changes. Mark pasted paragraphs as new.
763 * DepTable.C: abstract time_t as lyx::time_type
766 * LColor.C: add colours for new text, deleted text, changebars
768 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
769 package use "usenames" option.
773 * LyXAction.C: add change lfuns
777 * author.C: author handling
780 * buffer.C: add a per-buffer author list, with first entry as
781 current author. Handle new .lyx tokens for change tracking. Output
782 author list to .lyx file. Output dvipost stuff to .tex preamble.
783 Bump lyx format to 222.
786 * bufferlist.C: add setCurrentAuthor() to reset current author details
790 * bufferparams.C: add param for tracking
792 * bufferview_funcs.C: output change info in minibuffer
796 * changes.C: add change-tracking structure
799 * debug.C: add CHANGES debug flag
802 * lyxfind.C: add code for finding the next change piece
805 * lyxrc.C: add user_name and user_email
808 * lyxrow.C: add a metric for the top of the text line
811 * text.C: implement accept/rejectChange()
814 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
815 Strike through deleted text.
820 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
821 to the insert functions. Rework erase to mark text as deleted, adding
822 an eraseIntern() and a range-based erase(). Implement
823 per-paragraph change lookup and accept/reject.
825 * paragraph_funcs.C: Fixup paste for change tracking.
827 * tabular.C: mark added row/columns as new.
829 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
830 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
832 * text2.C: leave cursor at end of selection after a cut.
834 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
836 * text.C (getLengthMarkerHeight):
837 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
838 visible on screen too.
840 2003-02-07 John Levon <levon@movementarian.org>
842 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
844 2003-02-05 Angus Leeming <leeming@lyx.org>
846 * lyxserver.C (read_ready): revert my patch of 11 September last year
847 as it sends PC cpu through the roof. Presumably this means that
848 the lyxserver will no longer run on an Alpha...
850 2003-01-30 Angus Leeming <leeming@lyx.org>
852 * factory.C (createInset): create an InsetCommandParam of type "index"
853 and use it to 'do the right thing'.
855 * text2.C (getStringToIndex): ensure that cursor position is always
856 reset to the reset_cursor position.
858 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
860 * lyxfunc.C (getStatus): "buffer-export custom" should never be
863 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
867 * lyxfunc.C: Output messages with identical spelling, punctuation,
870 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
872 * MenuBackend.C (expandFormats): List only viewable export formats
875 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
878 * lyxfunc.C (getStatus): Make sure that formats other than
879 "fax" can also be disabled
881 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
883 * text3.C (dispatch): put the lfuns that insert insets in 3
884 groups, and call doInsertInset with appropriate arguments.
885 (doInsertInset): new function, that creates an inset and inserts
886 it according to some boolean parameters.
888 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
890 * buffer.C (readFile): remember to pass on 'par' when calling
891 readFile recursively.
893 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
895 * MenuBackend.C (expandFormats): add "..." to import formats.
897 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
899 * paragraph.C (asString): Remove XForms RTL hacks.
901 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
904 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
906 * Makefile.am (LIBS): delete var
907 (lyx_LDADD): add @LIBS@ here instead.
909 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
911 * Clarify the meaning of "wheel mouse jump"
913 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
915 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
918 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
920 * importer.C (Loaders): do not preallocate 3 elements in the
921 vector, since one ends up with 6 elements otherwise
923 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
925 * DepTable.C (write): write the file name as last element of the
926 .dep file (because it may contain spaces)
927 (read): read info in the right order
929 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
931 * paragraph_pimpl.C (simpleTeXBlanks):
932 (simpleTeXSpecialChars):
933 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
935 * tabular.C (latex): add some missing case statements. Reindent.
937 * MenuBackend.C (expandToc): remove unused variable.
939 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
948 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
951 2003-01-05 John Levon <levon@movementarian.org>
954 * BufferView.C: add getEncoding()
957 * kbsequence.C: do not store last keypress
960 * lyxfunc.C: store last keypress here instead. Pass encoding
963 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
965 * lyx_main.C (init): remove annoying error message when following
966 symbolic links (bug #780)
968 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
970 * text.C (insertChar):
971 * lyxrc.C (getDescription): remove extra spaces
973 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
975 * lyxrc.C (getDescription): remove extra spaces
977 2002-12-20 John Levon <levon@movementarian.org>
979 * text3.C: hack fix for page up/down across tall rows
981 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
983 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
986 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
988 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
989 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
990 thesaurus is not compiled in
992 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
994 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
996 2002-12-16 Angus Leeming <leeming@lyx.org>
999 * lyx_main.C (init): remove override_x_deadkeys stuff.
1001 2002-12-12 John Levon <levon@movementarian.org>
1003 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1004 insert. Only remove shift modifier under strict
1007 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1009 * MenuBackend.C (expandToc): fix crash.
1011 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1013 * MenuBackend.C (expandToc): gettext on float names.
1015 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1017 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1018 implement bool empty() [bug 490]
1020 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1022 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1024 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1026 * several files: ws changes
1028 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1030 * text2.C (setCounter): clean up a bit, use boost.format.
1031 (updateCounters): initialize par upon declaration.
1033 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1034 if the layout exists. We do not just store the layout any more.
1035 (SwitchLayoutsBetweenClasses): use boost.format
1037 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1039 * converter.C (convert): if from and to files are the same, use a
1040 temporary files as intermediary
1042 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1045 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1047 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1049 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1051 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1053 * tabular.C (asciiPrintCell): use string(size, char) instead of
1056 * sgml.C (openTag): fix order of arguments to string constructor
1059 * lyxfunc.C (dispatch): use boost.format
1061 * lots of files: change "c" -> 'c'
1063 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1065 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1067 2002-11-25 Angus Leeming <leeming@lyx.org>
1069 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1071 * lyx_main.C (init): compile fix.
1073 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1075 * lyx_cb.C (start): boost.formatify
1076 do not include <iostream>
1078 * lengthcommon.C: ws only
1080 * boost-inst.C,BoostFormat.h: add more explict instantations
1082 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1084 * lots of files: handle USE_BOOST_FORMAT
1086 2002-11-21 John Levon <levon@movementarian.org>
1088 * pspell.C: fix compile
1090 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1092 * lyxfunc.C (dispatch): use boost::format
1096 * lyxfont.C (stateText): use boost::format
1098 * lyx_main.C (LyX): use boost::format
1100 (queryUserLyXDir): ditto
1103 (typedef boost::function): use the recommened syntax.
1105 * importer.C (Import): use boost::format
1107 * debug.C (showLevel): use boost::format
1109 * converter.C (view): use boost::format
1114 * bufferview_funcs.C (currentState): use boost::format
1116 * bufferlist.C (emergencyWrite): use boost::format
1118 * buffer.C (readLyXformat2): use boost::format
1119 (parseSingleLyXformat2Token): ditto
1121 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1123 * LaTeX.C (run): use boost::format
1125 * Chktex.C (scanLogFile): use boost::format
1127 * BufferView_pimpl.C (savePosition): use boost::format
1128 (restorePosition): ditto
1129 (MenuInsertLyXFile): ditto
1131 * BoostFormat.h: help file for explicit instation.
1133 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1135 * tabular.C (latex): Support for block alignment in fixed width
1138 2002-11-17 John Levon <levon@movementarian.org>
1140 * BufferView_pimpl.C:
1142 * lyxfunc.C: split filedialog into open/save
1144 2002-11-08 Juergen Vigna <jug@sad.it>
1146 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1147 by my last patch (hopefully).
1149 2002-11-08 John Levon <levon@movementarian.org>
1158 * toc.C: ParConstIterator, and use it (from Lars)
1160 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1162 * lyxtextclass.[Ch]: revise and add doxygen comments
1164 2002-11-07 John Levon <levon@movementarian.org>
1166 * text.C: fix progress value for spellchecker
1168 * toc.C: fix navigate menu for insetwrap inside minipage
1170 * paragraph_funcs.C: added FIXME for suspect code
1172 2002-11-07 John Levon <levon@movementarian.org>
1174 * BufferView_pimpl.C: fix redrawing of insets
1177 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1179 * text2.C (updateCounters): fix bug 668
1181 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1183 * text3.C (dispatch): Do not make the buffer dirty when moving the
1186 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1188 * vc-backend.C: STRCONV
1191 * text2.C (setCounter): STRCONV
1193 * paragraph.C (asString): STRCONV
1195 * lyxlength.C (asString): STRCONV
1196 (asLatexString): ditto
1198 * lyxgluelength.C (asString): STRCONV
1199 (asLatexString): ditto
1201 * lyxfunc.C (dispatch): STRCONV
1204 * lyxfont.C (stateText): STRCONV
1206 * importer.C (Import): STRCONV
1208 * counters.C (labelItem): STRCONV
1209 (numberLabel): ditto
1210 (numberLabel): remove unused ostringstream o
1215 * bufferview_funcs.C (currentState): STRCONV
1217 * buffer.C (readFile): STRCONV
1218 (asciiParagraph): ditto
1219 (makeLaTeXFile): ditto
1221 * Spacing.C (writeEnvirBegin): STRCONV
1223 * LaTeXFeatures.C (getLanguages): STRCONV
1224 (getPackages): ditto
1226 (getBabelOptions): ditto
1227 (getTClassPreamble): ditto
1228 (getLyXSGMLEntities): ditto
1229 (getIncludedFiles): ditto
1233 (scanAuxFile): ditto
1236 * LString.h: add the STRCONV macros
1238 * BufferView_pimpl.C (savePosition): STRCONV
1239 (restorePosition): ditto
1240 (MenuInsertLyXFile): ditto
1242 * vc-backend.C (scanMaster): change from submatch[...] to
1245 * funcrequest.C: include config.h
1247 * factory.C: include config.h
1249 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1251 * box.C: include config.h
1253 * LaTeX.C (scanAuxFile): change from submatch[...] to
1257 2002-10-25 Angus Leeming <leeming@lyx.org>
1259 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1261 * ispell.[Ch] (setError): new method.
1262 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1263 Use setError() insetead of goto END.
1265 * lyx_cb.C (AutoSave): move out child process into new class
1268 2002-10-30 John Levon <levon@movementarian.org>
1270 * text3.C: make start appendix undoable
1272 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1274 * lyxlength.C (inPixels): Fix returned value.
1276 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1279 2002-10-24 Angus Leeming <leeming@lyx.org>
1281 * lyxgluelength.h: no need to forward declare BufferParams
1282 or BufferView, so don't.
1284 2002-10-21 John Levon <levon@movementarian.org>
1286 * BufferView.C: menuUndo ->undo, redo
1288 * BufferView.h: document, remove dead, make some methods private
1290 * paragraph_funcs.h:
1291 * paragraph_funcs.C:
1292 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1297 * sgml.C: move sgml open/close tag into sgml.C
1299 * bufferview_funcs.h: unused prototype
1302 * lyxfunc.C: remove unused
1305 * text.C: remove unused
1307 2002-10-21 John Levon <levon@movementarian.org>
1311 * BufferView_pimpl.h:
1312 * BufferView_pimpl.C: fix mouse wheel handling based on
1313 patch from Darren Freeman
1315 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
1317 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1319 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
1321 * lyxlength.C (inPixels): Fix hanfling of negative length.
1322 Fix LyXLength::MU case.
1324 2002-10-16 John Levon <levon@movementarian.org>
1326 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1328 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1330 * converter.C (view): add support for $$i (file name) and $$p
1331 (file path) for the viewer command. If $$i is not specified, then
1332 it is appended to the command (for compatibility with old syntax)
1334 2002-10-14 Juergen Vigna <jug@sad.it>
1336 * undo_funcs.C (textHandleUndo): alter the order in which the
1337 new undopar is added to the LyXText, as we have to set first
1338 the right prev/next and then add it as otherwise the rebuild of
1339 LyXText is not correct. Also reset the cursor to the right paragraph,
1340 with this IMO we could remove the hack in "redoParagraphs()".
1342 2002-10-09 Angus Leeming <leeming@lyx.org>
1344 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1345 to turn off an optimisation if a new inset is to be inserted.
1347 2002-10-11 André Pönitz <poenitz@gmx.net>
1349 * lyxtext.h: make some functions public to allow access
1350 from inset/lyxtext for handling LFUN_PRIOR/NEXT
1352 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1354 * text3.C (dispatch): when changing layout, avoid an infinite loop
1357 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1359 * lyxrc.C (read): treat a viewer or converter command of "none" as
1362 * MenuBackend.C (expandFormats): for an update, also allow the
1363 formats that are not viewable
1365 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1366 script if it is newer than the lyxrc.defaults in user directory
1368 2002-10-07 André Pönitz <poenitz@gmx.net>
1370 * text.C: Vitaly Lipatov's small i18n fix
1372 2002-09-25 Angus Leeming <leeming@lyx.org>
1374 * ispell.h: doxygen fix.
1376 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
1378 * buffer.h (readFile): Add a new argument to the method, to allow
1379 reading of old-format templates.
1381 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1383 * toc.C (getTocList): Get TOC from InsetWrap.
1385 2002-09-16 John Levon <levon@movementarian.org>
1387 * lyxfunc.C: check tabular for cut/copy too
1389 2002-09-12 John Levon <levon@movementarian.org>
1394 * factory.C: add header
1396 * paragraph_funcs.h:
1397 * paragraph_funcs.C: cleanup
1399 2002-09-11 John Levon <levon@movementarian.org>
1401 * PrinterParams.h: odd/even default to true
1403 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1405 * PrinterParams.h: update printer parameters for new xforms dialog
1407 2002-09-11 Angus Leeming <leeming@lyx.org>
1409 * lyxserver.C (read_ready): re-write to make it more transparent
1410 and to make it work in coherent fashion under Tru64 Unix.
1412 2002-09-11 André Pönitz <poenitz@gmx.net>
1416 * text3.C: implement LFUN_WORDSEL
1418 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1420 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1421 make floatlist_ a boost::shared_ptr<FloatList>
1423 * lyxtextclass.C: include FloatList.h
1424 (LyXTextClass): initialize floatlist_
1425 (TextClassTags): add TC_NOFLOAT
1426 (Read): match "nofloat" to TC_NOFLOAT and use it.
1427 (readFloat): modify call to floatlist_
1431 * FloatList.[Ch] (FloatList): remove commented out float
1433 (erase): new function
1435 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1437 * MenuBackend.C (expandToc): fix crash when there is no document
1440 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
1442 * many files: Add insetwrap.
1444 2002-09-09 John Levon <levon@movementarian.org>
1446 * text2.C: remove confusing and awkward depth wraparound
1448 2002-09-09 John Levon <levon@movementarian.org>
1450 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1453 * buffer.C: remove getIncludeonlyList()
1456 * lyxfunc.C: remove headers
1458 2002-09-09 Juergen Vigna <jug@sad.it>
1460 * text.C (getColumnNearX): fix form Michael this is most
1461 probably a cut&paste bug.
1463 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1465 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1467 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1468 references, ws changes.
1470 * text2.C (init): update counters after init
1471 (insertParagraph): no need to set counter on idividual paragraphs.
1472 (setCounter): access the counters object in the textclass object
1473 on in the buffer object.
1474 (updateCounters): ditto
1476 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1477 shared_ptr<Counters> to avoid loading counters.h in all
1479 (LyXTextClass): initialize ctrs_
1480 (TextClassTags): add TC_COUNTER, and ...
1481 (Read): use it here.
1482 (CounterTags): new tags
1483 (readCounter): new function
1484 (counters): new funtion
1485 (defaultLayoutName): return a const reference
1487 * counters.C (Counters): remove contructor
1488 (newCounter): remove a couple of unneeded statements.
1489 (newCounter): simplify a bit.
1490 (numberLabel): some small formatting changes.
1492 * buffer.[Ch]: remove all traces of counters, move the Counters
1493 object to the LyXTextClass.
1495 2002-09-06 Alain Castera <castera@in2p3.fr>
1497 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1498 package to set the horizontal alignment on fixed width columns.
1501 * lyx_sty.h: added tabularnewline macro def.
1503 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1505 2002-09-06 John Levon <levon@movementarian.org>
1507 * LyXAction.C: tooltips for sub/superscript
1509 * MenuBackend.C: a bit more verbose
1511 * lyxfunc.C: tiny clean
1513 * undo_funcs.C: document undo_frozen
1515 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1517 * counters.C (Counters): add missing algorithm counter.
1519 * text2.C (setCounter): lookup the counter with layouts latexname
1520 instead of by section number.
1521 (setCounter): use a hackish way to lookup the correct enum
1523 a float name->type change
1524 reset enum couners with counter name directly instead of depth value.
1526 * counters.C (Counters): remove the push_backs, change to use the
1527 float type not the float name.
1528 (labelItem): remove unused string, float name->type change
1530 * counters.h: don't include vector, loose the enums and sects vectors
1532 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1534 * lyxtextclass.C (TextClassTags): add TC_FLOAT
1535 (Read): add float->TC_FLOAT to textclassTags
1536 (Read): and handle it in the switch
1537 (readFloat): new function
1539 * FloatList.C (FloatList): comment out the hardcoded float
1542 * lyxlayout.h: ws change.
1544 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
1546 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1548 2002-09-03 Angus Leeming <leeming@lyx.org>
1550 * BufferView_pimpl.h: qualified name is not allowed in member
1551 declaration: WorkArea & Pimpl::workarea() const;
1553 * factory.C: added using std::endl directive.
1555 * text3.C: added using std::find and std::vector directives.
1557 2002-08-29 André Pönitz <poenitz@gmx.net>
1560 * text2.C: remove unused member number_of_rows
1563 * BufferView2.C: remove file, move contents to...
1564 * BufferView.C: ... here
1566 * BufferView_pimpl.C:
1567 * factory.C: move more inset creation to factory
1569 * vspace.C: avoid direct usage of LyXText, ws changes
1572 don't provide direct access to WorkArea, use two simple
1573 acessors haveSelction() and workHeight() instead
1576 2002-08-29 John Levon <levon@movementarian.org>
1578 * BufferView_pimpl.C (dispatch): do not continue when
1581 2002-08-28 André Pönitz <poenitz@gmx.net>
1583 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
1586 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
1588 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1590 * buffer.C: increment LYX_FORMAT to 221
1592 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
1593 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
1595 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
1597 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
1599 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1601 * factory.C (createInset): use LyXTextClass::floats
1603 * MenuBackend.C (expandFloatListInsert):
1604 (expandFloatInsert):
1607 * text2.C (setCounter):
1609 * LaTeXFeatures.C (useFloat):
1610 (getFloatDefinitions):
1612 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
1614 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
1615 floatlist_, with accessor floats().
1617 * FloatList.h: remove global FloatList
1619 2002-08-26 André Pönitz <poenitz@gmx.net>
1621 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
1625 * BufferView_pimpl.C:
1626 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
1628 2002-08-25 John Levon <levon@movementarian.org>
1630 * LyXAction.C: fix margin note description
1632 2002-08-24 John Levon <levon@movementarian.org>
1636 * bufferview_funcs.C:
1638 * undo_funcs.C: cleanups
1640 * lyxfunc.C: disable CUT/COPY when no selection
1642 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1644 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
1645 in "enum UNIT"; e.g. PTW for Percent of TextWidth
1647 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
1648 Add backward compatibility to "mono", "gray" and "no".
1650 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
1652 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
1653 (and file_format >= 200).
1655 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1657 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
1659 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1661 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
1663 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
1665 * BufferView_pimpl.C:
1672 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
1673 inset and code to make it work with the paragraph code. The inset
1674 can be anywhere in the paragraph, but will only do the expected
1675 thing in LaTeX if the layout file contains the parameter line
1677 (or more generally, a nonzero value) for that layout.
1679 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1681 * paragraph.h: remove the declaration of undefined counters class
1684 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
1686 * text2.C (setCounter): fixed enumeration mis-count as reported by
1687 Dr. Richard Hawkins.
1689 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1691 * paragraph_funcs.h: remove some unneeded includes
1693 * text.C (backspace): pasteParagraph now in global scipe
1695 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
1696 (pasteSelection): ditto
1698 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
1699 * paragraph_funcs.C (pasteParagraph): ... here
1701 2002-08-20 André Pönitz <poenitz@gmx.net>
1703 * commandtags.h: new LFUNs for swapping/copying table row/colums
1706 * lyxfunc.C: support for new lfuns
1708 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1711 * buffer.[Ch]: remove NO_COMPABILITY stuff
1713 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
1715 * boost.C (throw_exception): new file, with helper function for
1716 boost compiled without exceptions.
1721 * ParameterStruct.h:
1722 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
1724 * bufferlist.C (emergencyWriteAll): use boost bind
1726 * BufferView_pimpl.C (moveCursorUpdate): remove inline
1728 * text.C: include paragraph_funcs.h
1729 (breakParagraph): breakParagraph is now in global scope
1731 * paragraph_funcs.[Ch]: new files
1733 * paragraph.C (breakParagraph,breakParagraphConservative): move to
1736 * buffer.C: include paragraph_funcs.h
1737 (insertStringAsLines): breakParagraph is now in global scope
1739 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
1742 * CutAndPaste.C: include paragraph_funcs.h
1743 (cutSelection): breakParagraphConservative is now in global scope
1744 (pasteSelection): ditto
1746 * buffer.h: declare oprator== and operator!= for
1747 Buffer::inset_iterator
1749 * bufferlist.C (emergencyWrite): don't use fmt(...)
1751 * text3.C: add using std::endl
1753 * BufferView.C (moveCursorUpdate): remove default arg
1755 2002-08-20 André Pönitz <poenitz@gmx.net>
1757 * buffer.[Ch]: move inline functions to .C
1760 * BufferView_pimpl.C:
1762 * buffer.[Ch]: use improved inset_iterator
1765 * paragraph.[Ch]: write one paragraph at a time
1767 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
1769 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
1770 style if style is not specified.
1772 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1774 * text2.C (setCounter): when searching for right label for a
1775 caption, make sure to recurse to parent insets (so that a caption
1776 in a minipage in a figure float works) (bug #568)
1778 2002-08-20 André Pönitz <poenitz@gmx.net>
1780 * text3.C: new file for LyXText::dispatch() and helpers
1782 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
1784 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
1786 2002-08-19 André Pönitz <poenitz@gmx.net>
1789 * text.C: new LyXText::dispatch()
1791 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
1793 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
1795 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
1797 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
1800 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1802 * Makefile.am: use $(variables) instead of @substitutions@
1804 2002-08-15 André Pönitz <poenitz@gmx.net>
1807 * BufferView_pimpl.C: streamlining mathed <-> outer world
1811 * LyXAction.C: remove unused LFUN_MATH
1813 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1815 * paragraph.[Ch]: add some NO_NEXT ifdefs.
1817 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1819 * paragraph.C (Paragraph): reformat a bit
1820 (cutIntoMinibuffer): use builtin InsetList function instad of
1824 * buffer.C: include boost/bind.hpp, add using std::for_each
1825 (writeFileAscii): use ParagraphList iterators
1826 (validate): use for_each for validate traversal of paragraphs
1827 (getBibkeyList): use ParagraphList iterators
1828 (resizeInsets): use for_each to resizeInsetsLyXText for all
1830 (getParFromID): use ParagraphList iterators
1832 * BufferView2.C (lockInset): use paragraph list and iterators
1834 2002-08-14 John Levon <levon@movementarian.org>
1836 * lyxserver.C: remove spurious xforms include
1838 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1840 * lyxfunc.C (getStatus): disable math-extern outside of math mode
1842 2002-08-13 André Pönitz <poenitz@gmx.net>
1845 * lyxfunc.C: further cleaning
1847 2002-08-13 André Pönitz <poenitz@gmx.net>
1849 * funcrequest.h: new constructor
1851 * funcrequest.C: move stuff here from .h
1854 * BufferView_pimpl.C:
1857 * lyxfunc.C: subsequent changes
1859 * lyxfunc.h: new view() member function
1861 * lyxfunc.C: subsequent changes
1863 2002-08-13 Angus Leeming <leeming@lyx.org>
1866 * BufferView_pimpl.C:
1874 changes due to the changed LyXView interface that now returns references
1875 to member variables not pointers.
1877 2002-08-13 Angus Leeming <leeming@lyx.org>
1879 * WordLangTuple (word, lang_code): return references to strings,
1884 * lyxtext.h: forward-declare WordLangTuple.
1889 * text.C: #include "WordLangTuple.h".
1892 * text.C: (selectNextWordToSpellcheck): constify return type.
1894 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
1900 * paragraph_pimpl.h:
1903 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
1905 Made updateCounter always count from start of buffer, and removed
1906 second argument (par).
1907 Reverted floats number display to '#'. Perhaps I'll try again when the
1908 code base is sanitized a bit.
1910 2002-08-12 Angus Leeming <leeming@lyx.org>
1912 * buffer.[Ch] (getLabelList): constify.
1914 2002-08-07 André Pönitz <poenitz@gmx.net>
1916 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
1918 * funcrequest.h: extension to keep mouse (x,y) position
1920 2002-08-12 Juergen Vigna <jug@sad.it>
1922 * BufferView2.C (insertErrors): forbid undo when inserting error
1925 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
1927 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1929 * ParagraphList.[Ch]: new files
1931 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
1933 * BufferView2.C (lockInset): ParagraphList changes
1936 * bufferlist.C: ditto
1940 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1942 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
1943 unused class variable counter_,
1945 * paragraph.[Ch] (getFirstCounter): delete unused function
1947 * counters.C: include LAssert.h
1948 (reset): add a new function with no arg, change other version to
1949 not have def. arg and to not allow empty arg.
1951 * text2.C (setCounter): remove empty arg from call to Counters::reset
1953 2002-08-11 John Levon <levon@movementarian.org>
1955 * Makefile.am: add WordLangTuple.h
1957 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1959 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
1960 lyxfunc.C lyxlex_pimpl.C: ws changes only.
1962 * insets/insettext.C: InsetList changes
1964 * graphics/GraphicsSupport.C (operator()): InsetList changes
1966 * toc.C (getTocList): InsetList changes
1968 * paragraph_pimpl.[Ch]: InsetList changes
1970 * paragraph.[Ch]: InsetList changes
1972 * buffer.C (inset_iterator): InsetList changes
1973 (setParagraph): ditto
1974 * buffer.h (inset_iterator): ditto
1975 * iterators.C (operator++): ditto
1976 * iterators.h: ditto
1978 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
1980 * InsetList.[Ch]: new files, most InsetList handling moved out of
1983 * BufferView2.C (removeAutoInsets): InsetList changes
1985 (ChangeInsets): ditto
1987 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1989 * paragraph_pimpl.h (empty): new function
1991 * paragraph.[Ch] (empty): new function
1993 * other files: use the new Paragraph::empty function
1995 2002-08-09 John Levon <levon@movementarian.org>
1997 * lyxtext.h: remove unused refresh_height
1999 2002-08-09 John Levon <levon@movementarian.org>
2006 * paragraph.C: move sgml char escaping out of paragraph
2009 * paragraph.C: remove id setter
2013 * paragraph_pimpl.C: remove dead tex_code_break_column
2015 * bufferview_funcs.C: small cleanup
2017 * lyxfunc.C: remove dead proto
2019 * lyxtext.h: make some stuff private. Remove some dead stuff.
2021 * lyxgluelength.C: make as[LyX]String() readable
2023 2002-08-08 John Levon <levon@movementarian.org>
2028 * ToolbarDefaults.C:
2031 * toc.C: lyxaction cleanup
2033 2002-08-08 John Levon <levon@movementarian.org>
2035 * BufferView2.C: small cleanup
2038 * lyxfind.C: move unnecessary header into the .C
2040 2002-08-08 John Levon <levon@movementarian.org>
2042 * funcrequest.h: just tedious nonsense
2045 * lyx_main.C: cleanups
2048 * vspace.C: remove dead header lyx_main.h
2050 2002-08-07 Angus Leeming <leeming@lyx.org>
2053 * paragraph_pimpl.h:
2054 Forward declare class Counters in paragraph.h by moving the ctrs member
2055 variable into Paragraph::Pimpl.
2056 (counters): new method, returning a reference to pimpl_->ctrs.
2058 * text2.C: ensuing changes.
2060 2002-08-07 John Levon <levon@movementarian.org>
2062 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2064 * BufferView_pimpl.C: announce X selection on double/triple
2067 * lyx_main.C: use correct bool in batch dispatch
2069 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2071 2002-08-07 André Pönitz <poenitz@gmx.net>
2073 * funcrequest.h: new class to wrap a kb_action and its argument
2076 * BufferView_pimpl[Ch]:
2080 * lyxrc.C: subsequent changes
2083 2002-08-07 John Levon <levon@movementarian.org>
2085 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2086 document options change.
2088 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2093 * makefile.am: move counters functionality over from
2094 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2096 2002-08-06 John Levon <levon@movementarian.org>
2098 * WordLangTuple.h: new file for word + language code tuple
2109 * BufferView2.C: use WordLangTuple
2112 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2114 2002-08-06 John Levon <levon@movementarian.org>
2116 * lyx_main.C: fix cmdline batch handling
2118 2002-08-06 André Pönitz <poenitz@gmx.net>
2120 * lyxrc.C: set default for show_banner to true
2122 2002-08-06 John Levon <levon@movementarian.org>
2124 * pspell.C: fix a crash, and allow new aspell to work
2126 2002-08-06 John Levon <levon@movementarian.org>
2129 * kbmap.C: small cleanup
2132 * vspace.C: add const
2134 2002-08-05 John Levon <levon@movementarian.org>
2136 * LyXAction.C: back to tabular-insert
2138 2002-08-04 John Levon <levon@movementarian.org>
2141 * BufferView.C: cosmetic change
2143 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2153 * BufferView2.C: purge all "Lyx" not "LyX" strings
2156 * lyxcursor.C: attempt to add some documentation
2161 * ToolbarDefaults.C:
2162 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2163 merge with LFUN_TABULAR_INSERT
2170 * pspell.C: split up i/pspell implementations into separate
2171 files, many cleanups
2173 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2175 * text2.C: some cleanup
2177 * lyxfunc.C: don't check for isp_command == "none" any more, it
2178 didn't make any sense
2180 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2185 * makefile.am: move counters functionality over
2186 from text2.C/paragraph.[Ch] to counters.[Ch], and
2188 2002-08-02 John Levon <levon@movementarian.org>
2190 * buffer.C: s/lyxconvert/lyx2lyx/
2192 2002-08-02 Angus Leeming <leeming@lyx.org>
2194 * lyxlex.C: revert John's change as it breaks reading of the user
2197 2002-08-02 Angus Leeming <leeming@lyx.org>
2199 * importer.C (Import):
2200 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2201 changes due to LyXView::view() now returning a boost::shared_ptr.
2203 2002-08-02 John Levon <levon@movementarian.org>
2205 * lyxlex.C: small cleanup
2207 2002-08-02 John Levon <levon@movementarian.org>
2209 * text2.C (status): small cleanup, no logic change
2211 2002-08-01 John Levon <levon@movementarian.org>
2214 * buffer.C (writeFile): don't output alerts, caller
2218 * lyx_cb.C: from above
2220 * lyxfunc.C: allow to open non-existent files
2222 2002-07-31 John Levon <levon@movementarian.org>
2224 * lyxserver.C: don't let incidental errors get
2227 2002-07-30 John Levon <levon@movementarian.org>
2229 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2231 2002-07-30 John Levon <levon@movementarian.org>
2234 * lyxserver.C: remove I/O callback too
2236 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2238 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2241 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2243 * many files: strip,frontStrip -> trim,ltrim,rtrim
2245 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2247 * PrinterParams.h: remove extern containsOnly, and include
2248 support/lstrings.h instead.
2250 * LaTeX.C (scanAuxFile): modify because of strip changes
2252 * buffer.C (makeLaTeXFile): ditto
2253 * bufferparams.C (writeFile): ditt
2254 * lyxfont.C (stateText): ditto
2255 * lyxserver.C (read_ready): ditto
2256 * vc-backend.C (scanMaster): ditto
2258 * BufferView_pimpl.h: ws changes
2260 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2262 2002-07-26 André Pönitz <poenitz@gmx.net>
2264 * kb_sequence.C: remove unnedred usings
2266 2002-07-26 Juergen Vigna <jug@sad.it>
2268 * lyxfind.C (LyXReplace): we have to check better if the returned
2269 text is not of theLockingInset()->getLockingInset().
2271 2002-07-25 Juergen Vigna <jug@sad.it>
2273 * lyxfind.C (LyXReplace): don't replace if we don't get the
2276 * undo_funcs.C (createUndo): remove debugging code.
2278 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2280 * buffer.C (parseSingleLyXformat2Token): Use default placement
2281 when reading old floats.
2283 * FloatList.C (FloatList): Change the default placement of figure
2284 and tables to "tbp".
2286 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2288 * MenuBackend.C: using std::max
2290 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2292 * MenuBackend.C (expandToc):
2293 (expandToc2): code moved from xforms menu frontend. It is now
2294 generic and TOCs are transparent to menu frontends.
2296 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2298 * toc.C (getTocList): protect against buf=0
2300 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2301 Menu as first parameter. Now, this calls itself recursively to
2302 expand a whole tree (this will be useful for TOC handling)
2303 (expandFloatInsert): remove 'wide' version of floats
2305 * MenuBackend.h (submenuname): returns the name of the submenu.
2306 (submenu): returns the submenu itself, provided it has been
2307 created by MenuBackend::expand
2309 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2311 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2312 insets which have noFontChange == true. (bug #172)
2314 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2316 * BufferView_pimpl.C: add connection objects and use them...
2319 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2321 * MenuBackend.C (expandLastfiles):
2324 (expandFloatListInsert):
2325 (expandFloatInsert):
2326 (expand): split expand in parts
2328 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2330 * lyx_gui.C: use lyx_gui::exit()
2332 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2334 * LyXAction.C: show the failing pseudo action
2336 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
2338 * buffer.C (readFile): Run the lyxconvert script in order to read
2341 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2345 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2347 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2351 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2353 2002-07-22 Herbert Voss <voss@lyx.org>
2356 * lyxlength.[Ch]: add support for the vertical lengths
2358 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
2360 * toc.[Ch]: std:: fixes
2362 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2364 * lyxrc.C: do not include lyx_main.h
2366 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2372 * BufferView2.C: include "lyxlex.h"
2375 * bufferparams.h: do not #include "lyxlex.h"
2377 * lyxtextclasslist.C (Add): remove method
2378 (classlist): renamed to classlist_
2380 * paragraph_pimpl.C:
2384 * bufferview_funcs.C:
2389 * toc.C (getTocList): use BufferParams::getLyXTextClass
2391 * toc.C (getTocList): use InsetFloat::addToToc
2393 * toc.[Ch]: new files, containing helper functions to handle table
2396 * lyxfunc.C (dispatch): no need to remove spaces around command
2398 (getStatus): handle LFUN_SEQUENCE by returning the status of the
2399 first command of the sequence; it is not very clever, but I do not
2400 have a better idea, actually
2402 * LyXAction.C (LookupFunc): make sure to remove space at the
2403 beginning and end of the command
2405 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2407 * MenuBackend.C (getMenubar): new method: return the menubar of
2409 (read): treat differently reading of menu and menubar (in
2410 particular, the menubar has no name now)
2411 (Menu::menubar): remove
2413 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2416 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2418 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2419 a bibitem inset in a RTL paragraph.
2421 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2423 * paragraph_pimpl.C: constify
2425 * BufferView_pimpl.C:
2427 * lyxfunc.C: fix dispatch in a nicer way
2429 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2431 * lyxfunc.C (dispatch):
2432 * BufferView_pimpl.C:
2433 * BufferView_pimpl.h:
2435 * BufferView.h: rename Dispatch() to dispatch()
2437 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2439 * lyxlayout.C (Read): honor DependsOn tag
2441 * lyxlayout.[Ch] (depends_on): new method
2443 * version.C.in: update lyx_docversion
2445 * LaTeXFeatures.C (getMacros): only define \LyX when needed
2447 * paragraph.C (validate): remove from here...
2448 * paragraph_pimpl.C (validate): ... and move here
2449 (isTextAt): make it const
2451 * buffer.C (getLists): ws cleanup
2453 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2455 * language.C (read): Use iso8859-1 encoding in latex_lang
2456 (this prevents LyX from crashing when using iso10646-1 encoding).
2458 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2460 * text2.C (toggleInset): if cursor is inside an inset, close the
2461 inset and leave cursor _after_ it
2463 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2465 * lyxfunc.C: move minibuffer completion handling out of here
2467 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2469 * BufferView_pimpl.C:
2470 * LaTeX.C: fix dispatch calls
2472 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2474 * text.C (drawChars): Fix Arabic text rendering.
2476 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2480 * lyxfunc.C: remove message-push/pop
2484 * lyxfunc.C: rationalise some code by removing verboseDispatch
2485 in favour of a bool argument to dispatch()
2487 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2489 * lyx_main.C (init): make sure to read symlinks as absolute paths
2491 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2494 * lyxfunc.C: no need for commandshortcut to be a member
2496 2002-07-15 André Pönitz <poenitz@gmx.net>
2498 * converter.C: add support for $$s (scripts from lib/scripts dir)
2499 * lyx_main.C: white space
2501 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2505 * lyxrc.C: remove second exit confirmation
2507 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2512 * BufferView_pimpl.h:
2513 * BufferView_pimpl.C:
2514 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2516 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2518 * MenuBackend.C (expand): add numeric shortcuts to document menu
2520 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2522 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2524 * lyxfont.C (setLyXFamily):
2531 * buffer.C (asciiParagraph): use ascii_lowercase
2533 2002-07-15 Mike Fabian <mfabian@suse.de>
2535 * lyxlex_pimpl.C (search_kw):
2536 * lyxlex.C (getLongString):
2537 * converter.h (operator<):
2538 * converter.C (operator<):
2539 * buffer.C (parseSingleLyXformat2Token):
2541 * ToolbarDefaults.C (read):
2542 * MenuBackend.C (checkShortcuts):
2544 * LColor.C (getFromGUIName):
2545 (getFromLyXName): use the compare_ascii_no_case instead of
2546 compare_no_case, because in turkish, 'i' is not the lowercase
2547 version of 'I', and thus turkish locale breaks parsing of tags.
2549 2002-07-16 Angus Leeming <leeming@lyx.org>
2551 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
2552 now takes a Buffer const & argument.
2554 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2556 * BufferView.C (resize): check there's a buffer to resize
2558 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
2560 * lyxfunc.C: remove dead code
2563 * lyxserver.C: use lyx_guii::set_read_callback
2565 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2567 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
2568 an inset in a RTL paragraph.
2570 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2572 * lyxfunc.C: repaint after a font size update
2574 2002-07-15 André Pönitz <poenitz@gmx.net>
2576 * lyxlength.C: inBP should be able to return negative values
2578 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2580 * lyxfunc.C: use lyx_gui::update_fonts()
2582 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2584 * lyxfunc.C: use lyx_gui::update_color()
2586 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2592 * lyxrc.C: remove file->new asks for name option, and let
2593 buffer-new take an argument
2595 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2597 * BufferView_pimpl.C: remove unneeded extra repaint()
2599 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
2601 * LyXAction.C: allow command-sequence with NoBuffer
2603 * lyxfunc.C: don't insist on trailing ';' for command-sequence
2605 2002-07-10 Angus Leeming <leeming@lyx.org>
2607 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
2609 2002-07-09 Angus Leeming <leeming@lyx.org>
2611 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
2613 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2615 * lengthcommon.h: whitespace
2617 * lyxfunc.C: update scrollbar after goto paragraph
2619 * lyxtext.h: factor out page break drawing, and fix it so
2620 page break/added space paints as selected nicely
2622 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2624 * BufferView_pimpl.C: add FIXMEs, clean up a little
2626 2002-07-09 André Pönitz <poenitz@gmx.net>
2628 * lyxfont.[Ch]: support for wasy symbols
2630 2002-07-08 André Pönitz <poenitz@gmx.net>
2632 * BufferView_pimpl.C: apply John's patch for #93.
2634 2002-07-05 Angus Leeming <leeming@lyx.org>
2636 * BufferView_pimpl.C (buffer): generate previews if desired.
2638 * LColor.h: add "preview" to the color enum.
2640 * LColor.C (LColor): add a corresponding entry to the items array.
2642 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
2645 2002-07-05 Angus Leeming <leeming@lyx.org>
2647 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
2648 The body of the code is now in the method that is passed an ostream &
2649 rather than a file name.
2650 Pass an additional only_preamble parameter, useful for the forthcoming
2653 2002-07-03 André Pönitz <poenitz@gmx.net>
2655 * lyxfunc.C: simplify getStatus() a bit for math stuff
2657 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2659 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
2661 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2663 * text.C (changeRegionCase): do not change case of all the
2664 document when region ends at paragraph end (bug #461)
2666 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2668 * paragraph.C (startTeXParParams):
2669 (endTeXParParams): add \protect when necessary
2671 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2673 * BufferView_pimpl.C (workAreaExpose): remove warning
2675 2002-06-27 Angus Leeming <leeming@lyx.org>
2677 * Makefile.am: add lyxlayout_ptr_fwd.h.
2679 2002-06-26 André Pönitz <poenitz@gmx.net>
2681 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
2683 2002-06-25 Angus Leeming <leeming@lyx.org>
2685 * lyxfunc.C (dispatch): Comment out the call to
2686 grfx::GCache::changeDisplay. The method no longer exists now that the
2687 pixmap generation part of the graphics loader has been moved into
2690 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2692 * text2.C: layout as layout
2694 * text.C: layout as layout
2696 * tabular.C (OldFormatRead): layout as layout
2698 * paragraph_pimpl.C (TeXDeeper): layout as layout
2699 (realizeFont): layout as layout
2701 * paragraph.C (writeFile): layout as layout
2702 (validate): layout as layout
2703 (getFont): layout as layout
2704 (getLabelFont): layout as layout
2705 (getLayoutFont): layout as layout
2706 (breakParagraph): layout as layout
2707 (stripLeadingSpaces): layout as layout
2708 (getEndLabel): layout as layout
2709 (getMaxDepthAfter): layout as layout
2710 (applyLayout): layout as layout
2711 (TeXOnePar): layout as layout
2712 (simpleTeXOnePar): layout as layout
2713 (TeXEnvironment): layout as layout
2714 (layout): layout as layout
2715 (layout): layout as layout
2717 * lyxtextclass.C (compare_name): new functor to work with
2718 shared_ptr, layout as layout
2719 (Read): layout as layout
2720 (hasLayout): layout as layout
2721 (operator): layout as layout
2722 (delete_layout): layout as layout
2723 (defaultLayout): layout as layout
2725 * lyxlayout_ptr_fwd.h: new file
2727 * lyxlayout.C (Read): layout as layout
2729 * lyx_cb.C (MenuInsertLabel): layout as layout
2731 * bufferlist.C (newFile): layout as layout
2733 * buffer.C (readLyXformat2): layout as layout
2734 (parseSingleLyXformat2Token): layout as layout
2735 (insertStringAsLines): layout as layout
2736 (asciiParagraph): layout as layout
2737 (latexParagraphs): layout as layout
2738 (makeLinuxDocFile): layout as layout
2739 (simpleLinuxDocOnePar): layout as layout
2740 (makeDocBookFile): layout as layout
2741 (simpleDocBookOnePar): layout as layout
2742 (getLists): layout as layout
2744 * LaTeXFeatures.C (getTClassPreamble): layout as layout
2746 * CutAndPaste.C (cutSelection): layout as layout
2747 (pasteSelection): layout as layout
2748 (SwitchLayoutsBetweenClasses): layout as layout
2750 * BufferView_pimpl.C (Dispatch): layout as layout
2751 (smartQuote): layout as layout
2753 * BufferView2.C (unlockInset): layout as layout
2755 2002-06-24 André Pönitz <poenitz@gmx.net>
2757 * lyxfunc.C: fix #487
2759 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2763 * lyxfunc.C: remove display_shortcuts, show_banner
2765 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2767 * Buffer_pimpl.C: oops, update on resize
2769 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2776 * BufferView.C: use repaint()
2778 * BufferView_pimpl.h:
2779 * BufferView_pimpl.C: s/updateScreen()/repaint()/
2780 as it's a clearer description. Remove superfluous
2783 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2785 * text.C: fix bug 488. Not ideal, but getting
2786 getWord() to work properly for the insets that
2787 matter is more difficult ...
2789 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2791 * BufferView_pimpl.C:
2794 * lyxfunc.C: remove the six million index lyxfuncs to just
2795 one, and DTRT (bug 458)
2797 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2801 * BufferView_pimpl.h:
2802 * BufferView_pimpl.C: clean up resize() stuff,
2803 and unnecessary updateScreen()s
2805 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2809 * BufferView_pimpl.h:
2810 * BufferView_pimpl.C:
2813 * minibuffer.C: remove focus management of workarea,
2814 not needed. Use screen's greyOut()
2816 2002-06-17 Herbert Voss <voss@lyx.org>
2818 * converter.C: (convert) do not post a message, when converting
2819 fails, let the calling function decide what to do in this case
2821 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
2823 * lyxfunc.C: tidy up a little
2825 2002-06-16 <alstrup@diku.dk>
2827 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
2828 Got rid of FORMS_H_LOCATION include. Now we are
2831 2002-06-15 LyX Development team <lyx@rilke>
2833 * buffer.[Ch] (sgmlOpenTag):
2834 (sgmlCloseTag): Added support for avoiding pernicious mixed
2835 content. Return number of lines written.
2838 (makeDocBookFile): Fixed calls to sgml*Tag.
2839 Simple white space clean.
2841 (simpleDocBookOnePar): Simple white space clean.
2843 * tabular.[Ch] (docBook): Renamed to docbook and got another
2844 argument to related with the pernicious mixed content.
2846 (docbookRow): Fixed calls for docbook inset method.
2848 2002-06-15 Lyx Development team <larsbj@birdstep.com>
2850 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
2851 so it's X11 independent.
2855 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
2857 2002-06-15 Lyx Development team <lyx@electronia>
2859 * intl.h: Renamed getTrans to getTransManager.
2861 2002-06-14 Angus Leeming <leeming@lyx.org>
2863 * Makefile.am: nuke forgotten stl_string_fwd.h.
2865 2002-06-12 Angus Leeming <leeming@lyx.org>
2867 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
2869 2002-06-13 Angus Leeming <leeming@lyx.org>
2872 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
2874 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
2876 * kbmap.C (getiso): add support for cyrillic and greek
2878 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2882 * BufferView_pimpl.h:
2883 * BufferView_pimpl.C: move bogus scrolling logic
2886 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2889 * BufferView_pimpl.C: view->resize() change
2891 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2893 * BufferView_pimpl.C: topCursorVisible
2896 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2900 * lyx_gui.C: move to frontends/
2904 * lyx_main.C: changes from above
2906 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2913 * lyx_main.C: minor tidy
2915 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2917 * BufferView_pimpl.h:
2918 * BufferView_pimpl.C:
2920 * BufferView.C: make painter() const,
2923 * BufferView2.C: use screen() accessor
2926 * lyx_main.C: some minor cleanup
2928 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2930 * BufferView_pimpl.h:
2931 * BufferView_pimpl.C: remove enter/leaveView,
2934 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2939 * BufferView_pimpl.h:
2940 * BufferView_pimpl.C: only construct screen once,
2943 * lyxrc.C: remove pointless comment
2945 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2948 * BufferView.C: remove active() and belowMouse()
2950 * BufferView_pimpl.h:
2951 * BufferView_pimpl.C: use workarea() not workarea_,
2952 and make it use a scoped_ptr instead
2954 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2956 * lyx_gui.C: add debug message on BadWindow
2958 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2960 * sp_spell.C: fdopen is not part of the C++ standard.
2962 * paragraph.C (InsetIterator): use >= instead of ==
2964 2002-06-07 Angus Leeming <leeming@lyx.org>
2966 Fixes needed to compile with Compaq cxx 6.5.
2967 * BufferView_pimpl.C:
2974 * lyxtextclasslist.C:
2979 all c-library variables have been moved into namespace std. Wrap
2980 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2985 Add a using std::abs declaration.
2987 * kbmap.h (modifier_pair):
2988 * paragraph.h (InsetTable, InsetList):
2989 * lyxfont.h (FontBits):
2990 type definition made public.
2992 * bufferlist.C (emergencyWriteAll): the compiler complains that
2993 there is more than one possible lyx::class_fun template to choose from.
2994 I re-named the void specialisation as lyx::void_class_fun.
2996 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
2998 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
2999 the compiler is is unable to find tostr in write_attribute.
3001 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3003 * buffer.C (sgmlError): hide #warning
3005 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3007 * xtl/*: get rid of xtl, which is not in use anyway
3009 * LyXAction.C (init):
3010 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3011 were unimplemented xtl experimentation
3013 2002-06-04 André Pönitz <poenitz@gmx.net>
3015 * lyxfunc.C: disable array operation on simple formulae
3017 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3019 * converter.C: constify a bit
3021 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3023 * lyx_gui.C: check xforms version correctly
3025 2002-04-30 Herbert Voss <voss@lyx.org>
3027 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3030 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3032 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3033 attempt to register it with a VCS)
3035 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3037 * lyx_main.C (init): honor variables LYX_DIR_13x and
3040 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3044 * lyx_main.C: fix a crash on bad command line,
3045 and give a useful exit status on error
3047 * lyxfunc.C (doImport): allow -i lyx to work
3049 2002-03-30 André Pönitz <poenitz@gmx.net>
3051 * lyxfunc.C: mathed font changes
3053 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3068 * trans_mgr.h: srcdocs, and some minor cleanups
3070 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3072 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3073 call getFont all the time)
3075 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3077 * switch from SigC signals to boost::signals
3079 2002-05-29 André Pönitz <poenitz@gmx.net>
3081 * paragraph_pimpl.C (getChar): don't call size() too often...
3083 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3085 * paragraph_pimpl.C (insertChar): do not try to update tables when
3086 appending (pos == size())
3088 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3089 in order to reduce drastically the number of comparisons needed to
3090 parse a large document
3092 2002-05-29 André Pönitz <poenitz@gmx.net>
3098 * textclasslist.[Ch]:
3099 * sp_ispell.h: whitespace change
3101 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3103 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3104 lyxaction directly now.
3106 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3110 * lyxvc.C: remove unused headers
3112 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3119 * undo_funcs.C: some cleanups. Use shared_ptr
3120 and a template for the undo stacks.
3122 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3124 * BufferView_pimpl.h:
3125 * BufferView_pimpl.C:
3132 * text2.C: use key_state/mouse_state
3134 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3136 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3139 * chset.C: change include order
3140 (loadFile): use boost regex and get rid of LRegex and LSubstring
3142 * Makefile.am (BOOST_LIBS): new variable
3145 * LaTeX.C: change include order.
3146 (scanAuxFile): use boost regex and get rid of LRegex and
3150 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3155 * FontInfo.C: moved to frontends/xforms/
3158 * FontLoader.C: moved into frontends for GUIIzation
3163 * lyxfunc.C: changes from above
3165 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3167 * LColor.C: remove spurious X include
3169 * BufferView_pimpl.C:
3174 * text2.C: move font metrics to frontends/
3176 2002-05-24 Juergen Vigna <jug@sad.it>
3178 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3179 setting the undo_cursor.
3181 * ParagraphParameters.h: include local includes first.
3183 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3185 * BufferView_pimpl.C:
3186 * BufferView_pimpl.h:
3190 * screen.C: move WorkArea into frontends/
3196 * BufferView2.C: move LyXScreen into frontends/
3200 * lyx_gui.C: move lyxlookup into frontends/xforms/
3202 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3205 * BufferView_pimpl.C:
3215 * bufferview_funcs.C:
3228 * vc-backend.C: move LyX/XFormsView into frontends/
3230 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3242 * text2.C: move Painter to frontends/
3244 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3246 * buffer.C: comment out some some code that depend upon lyx_format
3249 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3250 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3252 * buffer.h (NO_COMPABILITY): turn off compability
3254 * ColorHandler.C: include scoped_array.hpp
3256 * font.C: Use more specific smart_ptr header.
3259 * ShareContainer.h: ditto
3263 * BufferView_pimpl.h: ditto
3264 * ColorHandler.h: ditto
3266 * kbmap.C (defkey): change call to shared_ptr::reset
3268 2002-05-21 Juergen Vigna <jug@sad.it>
3270 * buffer.C (insertErtContents): fix to insert ert asis if it is
3271 non empty. Skip it completely if it contains only whitespaces.
3273 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3275 * BufferView_pimpl.C:
3276 * BufferView2.C: clear selection on paste (bug 393)
3278 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3280 * DepTable.C: include ctime
3282 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3284 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3286 2002-05-14 Juergen Vigna <jug@sad.it>
3288 * text.C (breakParagraph): fixed function to honor the keepempty
3289 layout in the right maner and also to permit the right breaking
3290 algorithm on empty or non empyt keepempty paragraphs.
3292 * paragraph.C (breakParagraph): we have to check also if the par
3293 is really empty (!size()) for isempty otherwise we do the wrong
3296 2002-05-10 Juergen Vigna <jug@sad.it>
3298 * buffer.[Ch] : The following are only changes to the ert
3299 compatibility read reading old LaTeX layout and font stuff and
3300 convert it to ERTInsets.
3302 * buffer.h: added isErtInset().
3304 * buffer.C (struct ErtComp): add a fromlayout bool to check
3305 if we're inside a LaTeX layout.
3306 (isErtInset): new helper function.
3307 (insertErtContents): look for other ert insets before this one
3308 and insert the contents there, so that we don't have subsequent
3309 ERT insets with nothing between them. This way we create only one
3310 inset with multiple paragraphs. Also check if we don't insert only
3311 spaces ' ' as they are ignored anyway afterwards in the .tex file
3312 so if we have only spaces we will ignore this latex part in the
3314 (parseSingleLyXformat2Token \\layout): better compatibility when
3315 reading layout-latex stuff.
3316 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3318 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3319 stuff after reading the inset only get the information back from
3322 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
3324 * buffer.C (makeLaTeXFile): Put language options after loading babel.
3326 * LaTeXFeatures.C (getBabelOptions): New method.
3328 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3330 * BufferView_pimpl.C (Dispatch): work around missing argument for
3333 2002-05-08 Juergen Vigna <jug@sad.it>
3335 * text.C (leftMargin): handle paragraph leftindent.
3337 * paragraph.C (writeFile): write the new \\leftindent tag.
3338 (validate): handle leftindent code.
3339 (TeXEnvironment): handle paragraphleftindent code again.
3341 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3343 * buffer.C (parseSingleLyXformat2Token): added compatibility code
3344 for paragrap_extra indent code and new token \\leftindent.
3345 (latexParagraphs): handle the leftindent as environment.
3347 * ParameterStruct.h: added leftindent support.
3349 * ParagraphParameters.C (leftIndent): added support functions for
3350 the paragraph left indent.
3352 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3355 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3357 * paragraph.C (isRightToLeftPar): Return false for a paragraph
3360 * text.C (computeBidiTables): No bidi in insetERT.
3362 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3365 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3367 * version.C.in: pre 5
3369 2002-05-02 José Matos <jamatos@fep.up.pt>
3370 * buffer.C (makeDocBookFile): white space changes, add newline to
3372 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3374 * tabular.C (docBook): fix typo.
3376 2002-05-03 Juergen Vigna <jug@sad.it>
3378 * screen.C (drawFromTo): recalculate the rowpointer if we had a
3379 change in LyXText as we can not be sure it was not freed.
3380 (drawOneRow): remove unused code.
3382 * text.C (drawInset): redo the calculation of the need_break_row as
3383 it could have a row which was already freed.
3384 (draw): look at the return value of drawInset and return false if
3385 it also returned false.
3386 (paintRowText): look at the return value of draw and return false if
3387 it also returned false.
3389 * lyxtext.h: added bool return type to drawInset() and draw() so that
3390 if we have a change in the row so that the rowbreak has to be redone
3391 we abort drawing as it will be called again.
3393 2002-05-02 Juergen Vigna <jug@sad.it>
3395 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3396 a change in the maintext also if we're inside an inset.
3397 (Dispatch): set the cursor again after a break line and after the
3398 screen has been updated as it could be we're in a different row.
3400 * text2.C (fixCursorAfterDelete): check to make sure we don't request
3401 to set the cursor behind the pargraph with > size().
3402 (setCursor): check also for the same paragraph when checking where
3403 to put the cursor if we have a NFR inset.
3405 * buffer.C (parseSingleLyXformat2Token): move the compatibility
3406 parts of layout read further up as it still was in the wrong
3409 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3411 * screen.C (drawFromTo): change sine fullRebreak always return
3414 * buffer.C (parseSingleLyXformat2Token): reindent some
3416 * BufferView_pimpl.C (update): change since fullRebreak always
3418 (Dispatch): git rid of the last hardcoded "Standard"s.
3420 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3422 * text2.[Ch] (fullRebreak): make it return void now that we always
3425 2002-04-30 Juergen Vigna <jug@sad.it>
3427 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3428 ert compatibility check for "latex" layout.
3430 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3432 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3433 minipages: use col% instead of p%, and also use the current font.
3434 (makeLaTeXFile): Fix use babel condition.
3435 (parseSingleLyXformat2Token): Correct font when reading old floats.
3437 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3439 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3440 inserting list of floats.
3442 2002-04-25 Herbert Voss <voss@lyx.org>
3444 * MenuBackend.C (expand): don't add the graphics extensions to the
3447 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3449 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3450 non-existing layout, do not complain if it was the default layout
3451 of the original class (bug #342)
3453 2002-04-24 Juergen Vigna <jug@sad.it>
3455 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3456 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3458 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3460 * buffer.C (getBibkeyList): If using \bibliography, return the
3461 option field with the reference itself. Enables us to provide natbib
3462 support when using \bibliography.
3464 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3466 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3468 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3469 natbib is provided by the LaTeX class.
3471 2002-04-23 Juergen Vigna <jug@sad.it>
3473 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3476 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3478 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3480 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3482 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3483 ensuremath around textordmasculine, textordfeminine and
3486 2002-04-19 Juergen Vigna <jug@sad.it>
3488 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3489 reinitializing the buffer otherwise row-dimensions may be wrong.
3490 (update): reset also the selection cursors if they do exits otherwise
3491 their x/y positions may be wrong.
3493 * text2.C (cursorDown): don't enter the inset if we came from a row
3494 above and are one row over the inset.
3496 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3497 really leaving an inset.
3499 2002-04-18 Juergen Vigna <jug@sad.it>
3501 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3502 of the selected paragraph does not have the selected layout also if
3505 * text2.C (setLayout): fixed bug which did not change last selected
3508 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3509 changed the read and substituted \\end_float with \\end_inset!
3511 * BufferView_pimpl.C (cursorPrevious):
3512 (cursorNext): fixed to make it work with rows heigher than the work
3513 area without moving the cursor only the draw of the row.
3514 (workAreaMotionNotify): fix jumping over high rows.
3516 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3518 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3521 2002-04-16 Juergen Vigna <jug@sad.it>
3523 * text2.C (setCursor): set also the irow().
3524 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3526 (cursorDown): support for locking an inset if the x_fix value goes
3527 inside it. That way I can transverse insets too with cursor up/down.
3529 * lyxrow.h: added irow helper function same as other (i) functions.
3531 * BufferView_pimpl.C (cursorPrevious):
3532 (cursorNext): fixed for insets!
3534 2002-04-15 Juergen Vigna <jug@sad.it>
3536 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3537 position otherwise it is wrong in some cases.
3539 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3540 inside the inset before the call.
3542 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3544 * buffer.[Ch] (getBibkeyList): make it const.
3546 2002-04-12 Juergen Vigna <jug@sad.it>
3548 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
3550 * text2.C (getCursorX): new helper function
3551 (setCursor): compute also ix_
3552 (setCursorFromCoordinates): set also ix.
3554 * lyxcursor.h: added ix_ and helper functions.
3556 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
3558 * buffer.C (insertStringAsLines): dont break paragraph if the this
3559 paragraph is inside an inset which does not permit it!
3561 * text.C (breakParagraph): honor keepempty flag and break the paragraph
3562 also with no chars on this paragraph.
3563 (paintRowText): only paint stuff if it's inside the workarea!
3565 * paragraph.C (breakParagraph): honor keepempty flag and break the
3566 paragraph always below not above.
3568 * BufferView2.C (unlockInset): update the paragraph layout on inset
3569 unlock as we changed paragraph in such a case.
3571 * lyxfind.C (LyXFind): clear the former selection if not found!
3573 * text2.C (insertInset): freeze Undo after setUndo so that it is not
3574 again called in insertChar().
3576 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
3577 an inset which uses the whole row!
3578 (rightMargin): ditto.
3579 (insertChar): force a rebreak if we inserted an inset!
3581 2002-03-28 Herbert Voss <voss@lyx.org>
3583 * lyxlength.[Ch]: add inBP() to get the right PS-point
3584 units (BigPoint). With inPixels we have rounding errors
3586 2002-04-11 Juergen Vigna <jug@sad.it>
3588 * text2.C (setCursorFromCoordinates): set iy to the right value.
3589 (setCursor): add check if row->previous exists!
3591 * buffer.C (parseSingleLyXformat2Token): reset font after read of
3592 an old float_type as this was the case in the old code!
3594 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
3596 * BufferView2.C (showLockedInsetCursor): use iy
3597 (fitLockedInsetCursor): ditto
3599 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
3600 locked insets as there we have the right value now.
3602 * lyxcursor.C: added iy_ variable and iy functions to set to the
3603 baseline of cursor-y of the locked inset.
3605 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
3606 (setCursor): fixed for insets which need a full row.
3608 * text.C (rowLastPrintable): don't ignore the last space when before
3609 an inset which needs a full row.
3610 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
3611 as last character of a row when before a inset which needs a full row.
3613 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3615 * version.C.in: update date
3617 * text2.C (fullRebreak): try to always return true and see what
3620 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3622 * MenuBackend.C (expand): use Floating::listName
3624 * FloatList.C (FloatList): add listName argument to the built-in
3627 * Floating.[Ch]: add listName member, which is the 'List of XXX'
3628 text associated with the float.
3630 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3632 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3634 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3636 * ShareContainer.h: add a couple of missing typenames.
3638 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
3640 * lyxrc.C (getDescription): use _() correctly rather than N_().
3642 2002-03-28 Herbert Voss <voss@lyx.org>
3644 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
3645 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
3647 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3649 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
3650 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
3652 2002-03-29 Juergen Vigna <jug@sad.it>
3654 * lyxfunc.C (dispatch): add a missing fitCursor call.
3656 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
3657 it was scrolled by a cursor move, so return the bool status.
3659 * BufferView.C (fitCursor): return the bool flag also to the outside
3660 world as this is needed.
3662 * screen.C (toggleToggle): don't subtract the offset if it's positive.
3664 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
3665 call the edit() as it is not needed (and wrong) IMO.
3666 (workAreaButtonPress): set the screen_first variable before evt.
3667 unlock the inset as this may change screen_first and then we have
3668 a wrong y position for the click!
3670 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3672 * MenuBackend.C (expand): another translation that I missed
3674 2002-03-28 Juergen Vigna <jug@sad.it>
3676 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
3678 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
3680 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3682 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
3684 * MenuBackend.C (expand): fix export/view/update when there is no
3687 2002-03-27 Herbert Voss <voss@lyx.org>
3689 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
3692 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3694 * bufferview_funcs.C (currentState): only show paragraph number
3695 for is DEVEL_VERSION is set.
3697 * lyxfunc.C (dispatch): put warning in INFO channel
3699 * MenuBackend.C (expand): translate the name of floats
3701 * FloatList.C (FloatList): mark the float names for translation
3703 * converter.C (convert): use LibScriptSearch
3705 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3707 * MenuBackend.C (defaults): fix default menu (we might as well get
3710 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3712 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
3715 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3717 * lyxvc.C: reorder includes.
3719 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
3721 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
3724 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
3726 * CutAndPaste.C: change layouts earlier on paste
3727 to avoid crashing when calling getFont()
3729 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3731 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
3734 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3736 * WorkArea.C: remove 'Pending' debug message.
3738 * most files: ws cleanup
3740 * buffer.[Ch]: ws changes
3742 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
3744 2002-03-21 Juergen Vigna <jug@sad.it>
3746 * tabular.C (SetMultiColumn): collapse also the contents of the
3747 cells and set the last border right. Added a Buffer const * param.
3749 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3751 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
3754 2002-03-19 Juergen Vigna <jug@sad.it>
3756 * text2.C (clearSelection): reset also xsel_cache.
3758 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
3759 where it needs to be called (John tells us to do so too :)
3760 (selectionLost): reset sel_cache.
3762 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
3764 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3766 * text2.C (setCursorIntern): put debuging code in INSETS channel
3768 2002-03-19 André Pönitz <poenitz@gmx.net>
3770 * lyxfunc.C: tiny whitespace change
3772 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3774 * ToolbarDefaults.C (init):
3775 * LyXAction.C (init):
3777 * BufferView_pimpl.C (Dispatch):
3778 * lyxfunc.C (dispatch): remove LFUN_DEPTH
3780 2002-03-19 Allan Rae <rae@lyx.org>
3782 * exporter.C (Export): removeAutoInsets before doing anything else.
3783 While I've just introduced a dependency on BufferView this really is
3784 the best place to clean the buffer otherwise you need to cleanup in
3785 a dozen places before calling export or cleanup in a dozen functions
3788 * converter.C (runLaTeX):
3789 (scanLog): Better handling of removeAutoInsets and screen updates.
3791 * lyxfunc.C (dispatch): small whitespace changes
3793 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3795 * WorkArea.C (C_WorkAreaEvent): return a value.
3796 (event_cb): return 1 if we handled the event, 0 otherwise.
3798 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
3800 2002-03-18 Juergen Vigna <jug@sad.it>
3802 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
3803 (GetAdditionalWidth): ditto.
3807 * BufferView2.C (copy): use getLyXText() so that we do it inside an
3808 inset if we're there actually (probably not used right now but this
3809 is the direction to go for unifying code).
3810 (paste): disable code to clear the selection.
3812 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
3813 inside an InsetText and move the check further up as it is in the
3816 * text2.C (pasteSelection): set a selection over the pasted text.
3818 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
3820 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
3821 and libgraphics to build on Cygwin.
3823 2002-03-15 Juergen Vigna <jug@sad.it>
3825 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
3826 inserting an Inset into the paragraph. I know this is not the best
3827 fix but we already use current_view in CutAndPaste so we will remove
3828 all of it's using at the same time.
3830 * buffer.C (sgmlError): deactivated function till it is rewritten in
3831 the right mode, now it can create problems.
3833 * paragraph.C (isLineSeparator): check if getInset returns != 0,
3834 before accessing it.
3836 2002-03-14 Juergen Vigna <jug@sad.it>
3838 * undo_funcs.C (textHandleUndo): do the right thing when updating
3839 the inset after the undo/redo.
3841 * text2.C (setCursor): just some testcode for #44 not ready yet.
3843 * undo_funcs.C (textHandleUndo): set the next() and previous()
3844 pointers of the paragraph to 0 before deleting otherwise we have
3845 problems with the Paragraph::[destructor].
3847 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
3848 on a paragraph insertion.
3850 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3852 * buffer.C (asciiParagraph): use += operator for char append to
3855 * paragraph.C (getFontSettings): compare >= not just >
3856 (highestFontInRange): ditto
3859 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3861 * paragraph.C: change several algorithm to be more appripriate for
3862 the problem domain. This is lookip in FontList and in the InsetList.
3864 2002-03-13 André Pönitz <poenitz@gmx.net>
3867 * LyXAction.C: remove unused LFUN_MATH_MACROARG
3869 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
3874 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
3876 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3878 * Painter.C (display): anon helper function, adjust code for this
3880 (pixmap): remove function.
3882 * Painter.h: remove private display variable.
3884 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
3886 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
3888 * WorkArea.[Ch]: remove figinset_canvas cruft.
3890 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3892 * lyxtextclass.C (operator): add one item cache optimization.
3894 * bufferlist.h: doxy changes
3896 * bufferlist.C: ws changes
3898 * DepTable.[Ch] (ext_exist): place const in the right spot.
3900 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
3902 (workAreaExpose): call resizeInsets when the with BufferView changes.
3903 (Dispatch): adjust for protectedBlank removal
3904 (specialChar): call updateInset if the insert went ok.
3906 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
3907 specialChar instead.
3909 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
3911 * BufferView.h: doxy change
3913 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
3915 * lyxtextclass.C (operator[]): remove non-const version
3916 (defaultLayout): remove non-const version
3918 2002-03-12 Juergen Vigna <jug@sad.it>
3920 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
3921 did resize the LyXText too.
3923 * buffer.C (readLyXformat2): set layout information on newly allocated
3926 * tabular.C (OldFormatRead): set layout information on the paragraph.
3928 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3930 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
3932 2002-03-11 Juergen Vigna <jug@sad.it>
3934 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
3936 (resizeCurrentBuffer): force also the insets to resize themselfes.
3937 (moveCursorUpdate): fixed up for InsetText.
3939 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
3942 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
3943 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
3944 value of Dialogs::tooltipsEnabled().
3945 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
3947 2002-03-08 Juergen Vigna <jug@sad.it>
3949 * BufferView_pimpl.C (updateInset): update inset inside inset also
3950 if it isn't inside theLockingInset().
3952 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3954 * buffer.C (asciiParagraph): redo some of the word and line length
3956 (getLists): look for Caption instead of caption.
3958 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3960 * buffer.C (Buffer): initialize niceFile to true
3963 (makeDocBookFile): make sure niceFile is true on exit
3965 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3967 * buffer.C (makeLaTeXFile): escape ~ in \input@path
3969 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3971 * LyXSendto.C: remove.
3972 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
3973 * lyx_gui.C: remove now-redundant comment.
3974 * ColorHandler.h: remove forward declaration of class WorkArea.
3975 * lyxfunc.C: remove #include "WorkArea.h".
3977 2002-03-07 Juergen Vigna <jug@sad.it>
3979 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
3980 got moved away with the DEPM and also set the inset_owner always
3981 right which before could have been omitted.
3983 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3985 * buffer.C (parseSingleLyXformat2Token): use default layout is the
3986 wanted layout is not found.
3988 2002-03-07 Juergen Vigna <jug@sad.it>
3990 * CutAndPaste.C (cutSelection): another layout settings forgotten.
3992 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3994 * paragraph.C (breakParagraph): use default layout not layout of
3996 (Paragraph): clear ParagraphParameters.
3998 2002-03-06 Juergen Vigna <jug@sad.it>
4000 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4001 otherwise it would not be a valid lenght. Fixed a special case in
4002 the minipage compatibility read where we end the document with a
4005 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4006 was set as it could be 0 for InsetTexts first entry.
4008 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4010 * paragraph.C (writeFile): if layout is empty write out
4011 defaultLayoutName().
4013 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4014 file without named layout we set layout to defaultLayoutName().
4016 2002-03-06 Juergen Vigna <jug@sad.it>
4018 * CutAndPaste.C (copySelection): set layout for new paragraph.
4020 * text.C (prepareToPrint): leave ERT inset left aligned
4021 (leftMargin): don't indent paragraphs inside ERT insets
4023 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4025 * paragraph.C (breakParagraph): dont call clear do the work manually
4027 * paragraph.[Ch] (clear): remove function
4029 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4031 * paragraph.C (Paragraph): dont call clear, the work has already
4034 * lyxtextclass.C (operator): assert if n is empty
4036 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4037 work manually instead.
4039 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4041 * BufferView_pimpl.C: protect selectionLost against text == 0
4043 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4045 * text.C (breakParagraph): fix a setting layout to '0' problem.
4047 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4049 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4050 final location of file, for the included files, and graphics.
4052 2002-03-05 Juergen Vigna <jug@sad.it>
4054 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4056 2002-03-04 Juergen Vigna <jug@sad.it>
4058 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4060 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4061 last column of multicolumn cells.
4062 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4064 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4066 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4067 file if it doesn't go to a temporary file.
4069 * buffer.C (sgmlOpenTag):
4070 (sgmlCloseTag): remove extra newline insertion.
4072 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4074 * text.C (getRowNearY): comment out debug msg
4076 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4078 * text2.C: first -> first_y
4080 * text.C (getRowNearY): add some attemts at a possible
4081 optimization, not working.
4083 * tabular.[Ch]: add BufferParams to several function so that newly
4084 created paragraph can be initialized to he default layotu for the
4087 * tabular-old.C (ReadOld): add buf->params to call of Init
4089 * screen.C: rename text->first to text->first_y
4091 * paragraph.C (breakParagraph): always set layout in the broken
4094 * lyxtextclass.C (Read): remove lowercase
4097 (delete_layout): ditto
4099 * lyxtext.h: rename first -> first_y
4101 * lyxlayout.C (Read): remove lowercase
4104 (obsoleted_by): ditto
4106 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4108 * buffer.C (insertErtContents): add params are to InsetERT
4109 (parseSingleLyXformat2Token): add code to check if a paragraphs
4110 layout really exist.
4111 (parseSingleLyXformat2Token): add params to several inset
4113 (asciiParagraph): remove lowercase, do the layout comparisons with
4116 * BufferView_pimpl.C (cursorNext): first -> first_y
4117 (resizeCurrentBuffer): first -> first_y
4118 (updateScrollbar): first -> first_y
4119 (scrollCB): first -> first_y
4120 (workAreaMotionNotify): first -> first_y
4121 (workAreaButtonPress): first -> first_y
4122 (checkInsetHit): first -> first_y
4123 (cursorPrevious): first -> first_y
4124 (cursorNext): first -> first_y
4125 (Dispatch): add buffer_->params to severl inset contructors
4127 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4129 * lyxlayout.C (Read): remove some debug info that I forgot.
4131 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4132 clean up the code slightly.
4133 (makeLinuxDocFile): ditto
4134 (makeDocBookFile): ditto
4136 * text2.C: layout as string
4138 * text.C: layout as string
4140 * paragraph_pimpl.C: layout as string
4142 * paragraph.[Ch]: layout as string
4144 * lyxtextclasslist.[Ch]: layout as string
4146 * lyxtextclass.[Ch]: layout as string
4148 * lyxtext.h: layout as string
4150 * lyxlayout.[Ch]: layout as string
4152 * lyx_cb.C: layout as string
4154 * bufferview_funcs.C: layout as string
4156 * bufferparams.C: layout as string
4158 * buffer.C: layout as string
4160 * LyXView.[Ch]: layout as string
4162 * LaTeXFeatures.[Ch]: layout as string
4164 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4166 * BufferView_pimpl.C: change current_layout to string, remove
4171 (workAreaButtonRelease): layout as string
4173 * BufferView2.C (unlockInset): adjust
4175 * vspace.C (asLatexCommand): use an explict temp variable.
4177 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4179 * Makefile.am: use FRONTEND_*
4181 2002-03-01 Juergen Vigna <jug@sad.it>
4183 * tabular.C (SetWidthOfMulticolCell): changed to something better
4184 I hope but still work in progress.
4185 (recalculateMulticolumnsOfColumn): renamed function from
4186 recalculateMulticolCells as it is more appropriate now.
4187 (SetWidthOfCell): calculate multicols better.
4189 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4191 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4193 * lyxfunc.C (processKeySym): print sequence also if it is
4194 `deleted' (complete)
4196 * kbsequence.C (print): print sequence even if it is deleted
4197 (complete would be a better word, actually).
4199 * lyxfunc.C (dispatch): print complete options after a prefix key
4201 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4203 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4205 * text2.C (setCharFont): eliminate setCharFont code duplication.
4207 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4209 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4210 LFUN_TABULAR_FEATURE (bug #177)
4212 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4214 * Makefile.am: remove figure.h
4216 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4218 * Bufferview_pimpl.C:
4230 * text2.C: remove #include "lyx_gui_misc.h".
4232 * LaTeX.C: added #include <cstdio>
4234 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4236 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4237 that the paragraph following this one can have.
4239 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4241 * vspace.C (asLatexCommand): fix bogus gcc warning
4243 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4245 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4247 * text2.C (setLayout): get rid of redundant code
4249 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4251 * text2.C (incDepth): make sure depth cannot be increased beyond
4254 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4256 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4257 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4259 * PainterBase.h (image):
4260 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4263 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4267 * BufferView_pimpl.C:
4268 * BufferView_pimpl.h:
4288 * sp_spell.C: remove fig inset, and the crap house of
4289 cards that follows it
4291 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4297 * nt_defines.h: move .h into support/
4299 * vms_defines.h: remove
4301 * WorkArea.C: add space in debug output
4305 * buffer.C: add WITH_WARNINGS
4309 * bufferlist.C: s/retrive/retrieve/, add docs
4320 * lyxgui.C: add ID to X error handler
4322 * lyxtestclass.c: fix typo
4324 2002-02-26 Juergen Vigna <jug@sad.it>
4326 * tabular_funcs.C (write_attribute): changed so that some default
4327 attributes are not written at all.
4328 (getTokenValue): set default values before trying to read the
4329 value so we have the return value always set as default if we don't
4330 find the token we search for.
4332 * tabular.C (Write): write bools as bools not as strings!
4334 2002-02-22 Juergen Vigna <jug@sad.it>
4336 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4337 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4339 * text.C (leftMargin): don't add an indent for paragraphs inside
4340 tabular cells (fix #208).
4342 2002-02-21 José Matos <jamatos@fep.up.pt>
4344 * tabular.C (docBook): fixed support for long tables.
4346 2002-02-20 Juergen Vigna <jug@sad.it>
4348 * text2.C (getFont): get the drawing font of the Inset if this
4349 paragraph is inside an inset (only important for InsetERT for now).
4351 * buffer.C (insertErtContents): use new lanugage params in ERT
4354 * CutAndPaste.C: commenting out seemingly uneeded code.
4356 2002-02-19 Allan Rae <rae@lyx.org>
4358 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4359 Iterators might be simple to use but they also get invalidated.
4360 (removeAutoInsets): renamed saved cursor tracking variables and added
4361 some comments to clarify what everything does.
4363 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4370 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4371 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4374 * vc-backend.h: remove #include "support/syscall.h"
4378 * converter.C: rearrange #includes in Lars' approved fashion.
4380 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4381 forward declare class Timeout in the header file.
4383 * XFormsView.C: changes due to the above.
4385 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4388 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4389 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4391 2002-02-18 José Matos <jamatos@fep.up.pt>
4393 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4396 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4398 * a lot of small ws changes
4399 * add a lot of using std::XXX
4400 * use std construcs some places where approp.
4401 * use some exisint stuff from lyxfunctional where approp.
4402 * Make file changes to use partial linking (lets test this now...)
4404 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4408 remove #include "support/syscontr.h" as it's redundant. Always has been.
4416 change Systemcalls::System to Systemcalls::Wait and
4417 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4418 No change of functionality, just reflects the stripped down Systemcalls
4421 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4423 * debug.[Ch]: add a GRAPHICS type to the enum.
4425 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4427 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4429 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4432 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4434 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4435 match the changes below.
4437 * text2.C (toggleInset): if there is not editable inset at cursor
4438 position, try to see if cursor is _inside_ a collapsable inset
4441 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4443 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4444 document menu has a nice checkbox
4446 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4448 * lyxlength.C (asLatexString): change PW to output as percent of
4451 * lengthcommon.C: change '%' to 't%'
4453 * lyxfunc.C (dispatch): a few comments from Martin
4455 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
4459 * BufferView_pimpl.h:
4460 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4463 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4465 * vspace.C (inPixels): fix compiler warning
4467 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4469 * lyxfunc.C (getStatus): fix status message for disabled commands.
4471 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4473 * BufferView_pimpl.C: fix crash on close buffer
4474 during selection (#227)
4476 2002-01-27 Herbert Voss <voss@lyx.org>
4478 * buffer.C: link old Figure to new graphic inset
4480 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4482 * FontLoader.C (getFontinfo): Change the latex font names in order
4483 to match the names of type1inst.
4485 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4487 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4489 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4492 (remove_files_with_extension): ditto
4493 (remove_file): ditto
4496 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4497 document is smaller than the work area height. Do not initialize
4498 static variables to 0.
4500 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4502 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4504 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4505 LFUN_LAYOUT_PARAGRAPHS.
4507 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4508 tabular. It is possible to provide a possible cell, which will
4509 typically be the actcell from the corresponding insettabular
4511 * lyxfunc.C (getStatus): small cleanup; disable
4512 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4515 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4517 * tabular.C (Validate): remove broken optimization (fixes bug #201)
4519 * paragraph.C (startTeXParParams):
4520 (endTeXParParams): new methods. The LaTeX code to
4521 start/end paragraph formatting
4522 (simpleTeXOnePar): call startTeXParParams also when paragraph is
4523 empty (fixes bug #200)
4525 * vspace.C (inPixels): adapt to the change below
4526 (inPixels): [later] more cleanups (remove unused variables)
4528 * lyxlength.C (inPixels): change to use a width and a height as
4531 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4533 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4534 Replaced with \paperwidth
4536 * DepTable.C (insert): add std:: qualifier
4538 2002-01-18 Allan Rae <rae@lyx.org>
4540 * text2.C (removeRow): add comment. Should other refresh_?? vars be
4543 * text.C (drawInset): Turned out I didn't know enough about how
4544 rebreaking worked. This fixes most of the redraw problems. I see
4545 an occasional cursor trail when a line is broken now and the cursor
4546 placement can seem out by a few pixels also after a rebreak.
4548 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4550 * buffer.C (parseSingleLyXformat2Token): update because minipage
4551 width is now a LyXLength
4553 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
4555 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
4558 2002-01-17 Juergen Vigna <jug@sad.it>
4560 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
4562 * BufferView2.C (lockInset): call edit() so that theLockingInset()
4563 is set correctly and the inset is updated correctly.
4565 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4567 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
4568 the beginning of the loop.
4570 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
4572 * lyxrc.C: improve help for use_scalable_fonts
4574 2002-01-17 Allan Rae <rae@lyx.org>
4576 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
4578 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4580 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4581 make sure to set their inset_owner to the right value (bug #171)
4583 2001-12-12 Ben Stanley <bds02@uow.edu.au>
4586 * DepTable.C: Implement mtime checking to reduce time spent doing
4589 2002-01-16 Juergen Vigna <jug@sad.it>
4591 * tabular.C (GetAdditionalHeight): one of error fixed.
4593 * lyxrc.C (output): small fix in writing use_pspell.
4595 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
4597 * sp_base.h: #include LString.h
4599 2002-01-16 Allan Rae <rae@lyx.org>
4601 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
4602 Can someone check this please?
4604 * text.C (drawInset): It was possible that p.row would be removed by
4605 breakAgainOneRow upsetting a few other settings. There may be another
4606 small tweak possible by setting need_break_row = 0 when p.row has been
4607 removed but I don't know enough about the logic here.
4609 2002-01-15 Allan Rae <rae@lyx.org>
4611 * text.C (insertChar): removed conditional truism.
4613 * BufferView2.C (removeAutoInsets): More tweaks.
4614 cur_par_prev could be a stray pointer. Check for trailing empty line
4615 in case last line was cur_par and only had an error inset on it.
4617 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4619 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
4622 * vc-backend.C (most methods):
4623 * exporter.C (Export):
4624 * converter.C (convert):
4626 * LyXSendto.C (SendtoApplyCB):
4627 * lyxfunc.C (dispatch):
4631 * lyx_cb.C (AutoSave):
4633 * BufferView_pimpl.C (MenuInsertLyXFile):
4634 * buffer.C (runChktex): use Buffer::filePath().
4636 * buffer.h: rename filename to filename_; rename filepath to
4637 filepath_ and make it private
4638 (filePath): new method
4640 * buffer.C (writeFile): use fileName()
4643 * lyx_main.C (init): fix starting of LyX when the binary is a
4644 link from so,ewhere else.
4646 * minibuffer.C: include <cctype> for isprint
4648 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4650 * buffer.C (parseSingleLyXformat2Token): changes associated with the
4651 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
4652 name clash with InsetCollapsable's width function.
4654 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4656 * lastfiles.C: include <iterator>
4658 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4660 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
4663 * buffer.C (makeLaTeXFile): ditto.
4664 Also make loop operation more transparent.
4666 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4668 * ToolbarDefaults.C: remove trailing comma closing namespace.
4670 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
4672 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
4675 * trans.C (Load): comment out unused variable, allowed.
4677 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4679 * minibuffer.[Ch] (append_char): new method to recieve input from the
4680 drop-down completion browser. If a key was pressed, then recieve this
4681 char and append it to the existing string.
4682 (peek_event): modify the positioning data passed to the completion
4683 browser so that it can be placed above the minibuffer rather than below.
4684 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4686 * LyXAction.C (init): alloe error-next for readonly documents.
4688 * BufferView2.C (ChangeRefsIfUnique): use standard version of
4691 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4693 * bufferlist.C (readFile): create the buffer _after_ checking that
4696 * lyxfunc.C (verboseDispatch): fix handling of arguments
4698 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
4700 * lyxrc.C: use string::erase() instead of initializing to "".
4703 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4705 * BufferView_pimpl.h:
4706 * BufferView_pimpl.C:
4709 * text2.C: tell X when we have made a selection for copying
4711 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4713 * BufferView_pimpl.C (MenuInsertLyXFile):
4714 * lyxfunc.C (menuNew):
4716 (doImport): add shortcuts to directory buttons
4718 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
4721 * lyxfunc.C (setStatusMessage):
4722 (getStatusMessage): new methods
4723 (getStatus):use setStatusMessage instead of setErrorMessage
4724 (dispatch): when function is disabled, set error message here
4725 [instead of in getStatus previously]
4727 * BufferView_pimpl.C (workAreaButtonRelease): update
4728 toolbar/menubar here too.
4730 2002-01-13 Allan Rae <rae@lyx.org>
4732 * BufferView2.C (removeAutoInsets): finished off earlier fix.
4733 Now seems indestructible. Remaining task is to audit all other
4734 code affected by deleteEmptyParagraphMechanism. One small quirk
4735 left is that an empty document with an error in the preamble can
4736 be made to report an error but no error box appears. I don't know
4738 (removeAutoInsets): Improved comments.
4740 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
4743 * Thesaurus.C: update for Aiksaurus 0.14
4745 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4747 * text2.C (firstParagraph): removed member function, all uses
4748 replaces with ownerParagraph
4749 (redoParagraphs): here
4751 (toggleAppendix): here
4752 * BufferView2.C (insertErrors): here
4753 (setCursorFromRow): here
4755 2002-01-13 Allan Rae <rae@lyx.org>
4757 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
4758 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
4759 There is still a way to segfault this although you may have to do this
4760 multiple times: Have an InsetERT with an unknown command in it.
4761 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
4762 <down-arrow>, <Enter> again, View->DVI, BANG!
4764 * text2.C (setCursor):
4765 (deleteEmptyParagraphMechanism):
4766 * lyxtext.h (setCursor):
4767 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
4768 Making use of the return value may help fix other bugs.
4770 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4772 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
4774 * LyXView.C (updateMenubar): call MenuBar::update here
4775 (updateToolbar): but not here
4776 (showState): do not update toolbar/menubar
4778 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
4779 should need to care about that.
4781 * lyxfunc.C (verboseDispatch): simplify a bit
4782 (getStatus): have a version which takes a pseudoaction, and
4783 another which requires a (kb_action,string).
4785 * LyXAction.C (retrieveActionArg): make it work also when action
4786 is not a pseudo-action.
4787 (getActionName): simplify a bit
4790 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4792 * lyxfunc.C (verboseDispatch): new families of methods with
4793 several ways to specify a command and a bool to indicate whether
4794 the command name and shortcut should be displayed in minibuffer
4795 (eventually, we could extend that to a finer bitmask like
4796 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
4797 (dispatch): the pristine dispatch command which just, well,
4798 dispatchs! Note it still sets its result to minibuffer; I'm not
4801 * lyxfunc.h: remove setHintMessage
4803 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
4805 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4807 * BufferView_pimpl.C (specialChar): delete new inset if we have
4808 not been able to insert it.
4810 * kbmap.C: revert to using int instead of kb_action, since all we
4811 are dealing with is pseudo-actions.
4813 * LyXAction.C (searchActionArg): change to return int instead of
4814 kb_action, since the result is a pseudoaction.
4816 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
4818 * buffer.C (insertErtContents): Fix (partially) the font bug.
4820 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4822 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
4823 as the other one is broken on my machine!
4825 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
4828 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
4830 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
4832 * lyxrc.[Ch]: change names and descriptions of popup font variables to
4833 reflect their actual use. Provide compatibility code for older lyxrc
4836 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
4838 change names of popup font variables in line with the changes to lyxrc.C
4840 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4842 * buffer.C (asciiParagraph): avoid outputing a word twice after
4845 * lyxrc.C (getDescription): document that document_path and
4846 template_path can be empty.
4848 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4850 * LaTeXFeatures.C (getMacros):
4851 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
4853 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
4855 * LaTeXFeatures.C (useFloat): require "float" here instead of in
4857 (getPackages): rename feature "floats" to "float". Use an array to
4858 iterate over 'simple' features (i.e. just a \usepackage). Add
4859 handling of "amsmath" (renamed from "amsstyle").
4861 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
4863 * LaTeXFeatures.C (require): Prevent duplicate entries in the
4866 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
4868 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
4869 FuncStaus::FuncStatus & FuncStaus::some_method().
4871 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4873 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
4874 of the func_satus stuff. Edited and massaged in various ways by
4877 * lyxfunc.C (getStatus): use FuncStatus
4879 2002-01-08 Juergen Vigna <jug@sad.it>
4881 * text.C (nextBreakPoint): use function Inset::isChar().
4883 * paragraph.C (TeXOnePar): use function
4884 Inset::forceDefaultParagraphs.
4886 * buffer.C (latexParagraphs): use function
4887 Inset::forceDefaultParagraphs.
4889 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4891 * lyx_gui.C (init): set the style of the menu popups to
4892 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
4894 2002-01-07 Juergen Vigna <jug@sad.it>
4896 * text.C (setHeightOfRow): small fix
4897 (prepareToPrint): don't look at alignment if we don't have the place
4900 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4902 * box.C: New file. Move the Box methods and functions out of box.h,
4903 following Lars' suggestion.
4905 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4907 * box.h: #include "support/LOstream.h", needed for inlined function.
4910 * lyxtextclasslist.C: added some using std declarations.
4912 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
4914 * box.h: make signed dimensions to allow insets wider than
4915 the screen (bug #162)
4917 * BufferView_pimpl.C: add some insetHit debug
4919 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4921 * vc-backend.C: add FIXME
4923 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4925 * lyxfunc.C (getStatus): enable code for showing math font status
4928 2002-01-07 Juergen Vigna <jug@sad.it>
4930 * text.C (nextBreakPoint): removed debug output not needed anymore.
4932 2002-01-06 Juergen Vigna <jug@sad.it>
4934 * text.C (nextBreakPoint): fixed up this function we had this bug
4935 since ever but now hopefully we break row better.
4936 (insertChar): we have to check if an inset is the next char as it
4937 could now happen that a large inset is causing a break.
4939 2002-01-05 Juergen Vigna <jug@sad.it>
4941 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
4942 if it doesn't like to be drawed.
4944 2002-01-04 Juergen Vigna <jug@sad.it>
4946 * BufferView2.C (lockInset): forgot to set a cursor.
4948 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
4950 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
4955 * form_maths_panel.C:
4956 * form_maths_panel.h:
4957 * form_maths_panel.fd: implemented sub- and super- buttons in math
4960 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
4961 (or ^ space) to be used as in TeX (req'd by André).
4963 * lyxfunc.C: Allow ^ and _ again to be used both as
4964 super/subscript (mathed) and as themselves (in text).
4966 2002-01-03 Allan Rae <rae@lyx.org>
4968 * LyXView.C (updateWindowTitle): Setup a short icon title of either
4969 "LyX" or the filename of the current buffer if it has one. This is a
4970 modified form of John Levon's patch.
4972 * XFormsView.C (setWindowTitle): also set icon title.
4974 * LyXView.h (setWindowTitle): signature changed.
4975 * XFormsView.h (setWindowTitle): ditto.
4977 2002-01-02 Juergen Vigna <jug@sad.it>
4979 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
4981 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4983 * screen.C (topCursorVisible): introduce a temp var for
4984 text->cursor.row(), handle the case where this row is null. (kindo
4987 * text2.C (setCursor): add a couple of asserts.
4989 * paragraph.h (inset_iterator): add -> operator
4991 * paragraph.[Ch] (autoDeleteInsets): remove member function
4993 * BufferView2.C (removeAutoInsets): rewrite to handle the old
4994 cursor pos correctly and handle inset deletion by itself.
4995 (insertErrors): move iterator declaration out of for expression
4997 * lyxtextclass.C: add <algorithm>
4999 * Makefile.am: added the new files to sources, removed layout.C
5001 * layout.C: removed file
5003 * layout.h: remove LYX_DUMMY_LAYOUT
5005 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5009 * lyxtextclass.[Ch]:
5010 * lyxtextclasslist.[Ch]: new files
5012 * include order changes to a lot of files, also changes because of
5015 2001-12-27 Juergen Vigna <jug@sad.it>
5017 * buffer.C (asciiParagraph): more fixes.
5019 * tabular.C (ascii): make ascii export support export of only the
5020 data separated by a column-delimiter.
5021 (ascii): better support for ascii export.
5023 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5025 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5027 * tabular_funcs.C: use a "using std::getline" instead of the
5028 previous fix from Angus (necessary for cxx + lyxstring)
5030 2001-12-24 Juergen Vigna <jug@sad.it>
5032 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5034 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5035 problems. First check a minipage also if we have some ert-contents
5036 (not only on par->size(), second set the right depth of the paragraph
5037 on the relink to the root-paragraph-list!
5039 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5040 which then did not anymore update the main paragraphs on undo/redo!
5042 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5044 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5045 code. Support all font-changing funcs (even those which are not in
5046 menu currently). Support for reporting font settings in
5047 mathed (disabled until Andre provides a function on mathed's side).
5049 * func_status.h (toggle): small helper function to set toggle
5052 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5054 * tabular_funcs.C: getline -> std::getline
5056 2001-12-21 Juergen Vigna <jug@sad.it>
5058 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5059 accessed and could be 0 (I couldn't generate this but it seems
5062 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5064 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5065 * tabular_funcs.h: here and include iosfwd
5067 2001-12-20 Juergen Vigna <jug@sad.it>
5069 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5070 inside inset but undo_par was.
5072 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5074 * Thesaurus.C: always include <config.h> in sources.
5078 * box.h: do not include <config.h> in header files
5080 * text.C (paintLastRow): remove unused variable
5082 * text.C (transformChar):
5084 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5087 * font.C (width): rewrite to use uppercase() instead of
5090 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5092 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5094 * lyxfind.C: clean up of find failure position change
5096 2001-12-20 Juergen Vigna <jug@sad.it>
5098 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5100 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5101 (TeXRow): added to LaTeX a single tabular row.
5102 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5103 (Latex): simplified and finally good LT-h/f support.
5104 (various_functions): just small adaptions for LT-h/f support.
5106 * tabular_funcs.[hC]: added and moved here all not classfunctions
5109 2001-12-19 Juergen Vigna <jug@sad.it>
5111 * tabular.[Ch]: better support for longtabular options (not finished
5114 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5116 * text.C (paintLastRow): use the label font instead of the font of
5117 the last character to compute the size of *_BOX. This makes more
5118 sense and avoids a crash with empty paragraphs.
5119 Use Painter::rectangle to draw EMPTY_BOX.
5121 2001-12-19 Juergen Vigna <jug@sad.it>
5123 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5124 the paragraphs if the replaced paragraph is not the first one!
5125 Tried to delete not used paragraphs but does not work yet so for
5126 now it's inside #ifdef's and by default off!
5128 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5130 * MenuBackend.C: include "lyx_main.h" instead of declaring
5131 lastfiles (actually was declared as LastFiles* instead of a
5134 2001-12-17 Juergen Vigna <jug@sad.it>
5136 * tabular.C (AppendColumn): applied John's fix
5138 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5142 * BufferView_pimpl.h:
5143 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5146 * box.h: new start of class for above
5148 * lyxfunc.C: ignore space-only minibuffer dispatches.
5149 Show the command name when it doesn't exist
5151 * minibuffer.C: don't add empty lines to the history
5153 * minibuffer.C: add a space on dropdown completion
5155 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5157 * text.C: fix line above/below drawing in insets
5159 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5161 * lyxlength.C (LyXLength): Initialize private variables.
5163 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5165 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5166 when inserting error insets.
5168 2001-12-13 Juergen Vigna <jug@sad.it>
5170 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5171 actually sometimes the before-paragraph.
5172 (setUndo): don't clear the redostack if we're not actually undoing!
5174 2001-12-06 Juergen Vigna <jug@sad.it>
5176 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5177 and fixed redoing of main paragraph, so we can use it now ;)
5179 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5181 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5183 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5186 2001-12-13 André Pönitz <poenitz@gmx.net>
5189 * undo_func.C: minor cleanup
5191 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5193 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5194 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5195 font in urw-fonts package which is marked as -urw-fontspecific and
5196 does not work (incidentally, changing the encoding in the
5197 fonts.dir of this package to -adobe-fontspecific fixes the
5200 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5201 is a crash when undoing first paragraph (Juergen, please take a
5202 look). THis does not mean the undo fix is wrong, just that it
5205 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5206 the (Paragraph*) version when needed instead of duplicating the
5209 * text.C (workWidth): use Inset::parOwner to find out where the
5210 inset has been inserted. This is a huge performance gain for large
5211 documents with lots of insets. If Inset::parOwner is not set, fall
5212 back on the brute force method
5214 * paragraph_pimpl.C (insertInset):
5215 * paragraph.C (Paragraph):
5216 (cutIntoMinibuffer): set parOwner of insets when
5217 inserting/removing them
5219 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5221 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5227 * mathed/formulabase.C:
5228 * mathed/math_cursor.[Ch]:
5229 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5232 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5234 * lyxlength.[Ch] (operator!=): new function
5236 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5238 * text.C (workWidth): use Inset::parOwner to find out where the
5239 inset has been inserted. This is a huge performance gain for large
5240 documents with lots of insets. If Inset::parOwner is not set, fall
5241 back on the brute force method
5243 * paragraph_pimpl.C (insertInset):
5244 * paragraph.C (Paragraph):
5245 (cutIntoMinibuffer): set parOwner of insets when
5246 inserting/removing them
5248 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5250 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5252 * tabular-old.C (getTokenValue):
5253 * tabular.C (getTokenValue):
5254 (write_attribute): new versions for LyXLength
5255 (everywhere): adjust the use of widths
5257 * tabular.h: change the type of widths from string to LyXLength
5259 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5261 * paragraph.C: fixed missing line number count when exporting
5262 Environments to LaTeX file
5264 * buffer.C: added informational message for checking line numbers.
5266 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5268 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5269 paragraph, do the 'double space' part, but not the 'empty
5272 * text.C (workWidth): small optimization
5273 (getLengthMarkerHeight): use minimal size for negative lengths.
5275 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5277 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5279 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5281 2001-12-11 André Pönitz <poenitz@gmx.net>
5284 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5286 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5288 * text2.C: keep selection on a setFont()
5290 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5292 * lyx_cb.C: another bv->text misuse, from insert label
5294 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5297 * kbsequence.C: re-instate nmodifier mask
5299 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5301 * lyx_main.h: make lyxGUI private.
5303 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5305 * lyxfind.C: place the cursor correctly on failed search
5307 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5309 * text.C (getLengthMarkerHeight): for small heights, the arrows
5310 are not always on top/bottom of the text
5311 (drawLengthMarker): smaller arrows; take the left margin in
5312 account; draw also vfills.
5314 (paintLastRow): remove special code for vfill and standard spaces,
5315 since everything is handled in drawLengthMarker now.
5317 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5319 * buffer.C (insertErtContents): try to handle font and language
5320 interaction a bit better.g
5322 * ColorHandler.C (updateColor): change the hash to cover the whole
5323 LColor enum, ws cleanup
5324 (getGCLinepars): ditto
5325 (getGCLinepars): only lookup in the linecache once.
5327 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
5329 * iterators.C (operator++): Make the iterator more robust
5331 * BufferView2.C (removeAutoInsets): Use paragraph iterators
5333 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5335 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5338 * text.C: better added space drawing
5340 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5343 * BufferView2.C: fix layout combo update on inset unlock
5345 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5347 * Makefile.am: don't compile unused files
5349 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5353 * LyXAction.C: remove old LFUN_LAYOUTNO
5355 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5357 * paragraph_pimpl.h:
5358 * paragraph_pimpl.C: isTextAt() doesn't need font param
5360 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5363 * lyxlex.C: little cleanup
5365 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5367 * BufferView_pimpl.C: fix insertAscii for insets
5369 2001-12-05 Juergen Vigna <jug@sad.it>
5371 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5372 set the right font on the "multi" paragraph paste!
5374 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5380 * lyxlength.C: remove out-commented code.
5396 * vc-backend.C: change "while(" to "while ("
5398 * lyxlength.[Ch]: add zero function to check if length is zero or
5400 * lyxgluelength.C: use it
5402 2001-12-05 Allan Rae <rae@lyx.org>
5404 * lyxlength.C: Attempted a fix for the abs(int) header selection.
5405 Works for 2.95.3, from what I understand of Garst's reports this should
5406 work for other g++ versions. We're screwed if the abs(int) definition
5407 changed between bugfix releases of gcc.
5409 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5411 * text.C: fix chapter label offset !
5413 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5416 * text.C: fix hfill at end of line, clean up
5418 2001-12-04 Juergen Vigna <jug@sad.it>
5420 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5421 that we force an update of the inset and it's owners if neccessary.
5423 2001-12-03 Juergen Vigna <jug@sad.it>
5425 * text.C (rowLast): simplified code
5427 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5429 * lyxfunc.C: fix show options on timeout
5431 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5433 * screen.C (topCursorVisible): scroll half a page when the cursor
5434 reached top of bottom of screen
5436 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5438 * minibuffer.C: deactivate on loss of focus
5440 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5442 * vspace.[Ch] (operator!=): add operator.
5444 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5446 * BufferView_pimpl.C: refuse to open an inset when
5447 there's a selection.
5449 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
5451 * BufferView_pimpl.C: allow to click on RHS of full row insets
5453 2001-11-30 Juergen Vigna <jug@sad.it>
5455 * tabular.C (LyXTabular): add a same_id to set the same id's in the
5456 insets for undo reasons.
5458 2001-11-28 André Pönitz <poenitz@gmx.net>
5460 * vspace.[Ch]: cosmetical changes
5462 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5472 * kbsequence.C: part re-write of old kb code
5475 * WorkArea.C: remove Lgb_bug_find_hack
5477 2001-11-30 José Matos <jamatos@fep.up.pt>
5479 * buffer.C (makeDocBookFile): add a comment to point a hack.
5480 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5481 Fixed a double write of labels.
5483 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5486 * LaTeX.h Fixed bug in LaTeX class where it would not
5487 re-run latex if no depfiles were changed, but the .dvi was removed.
5489 2001-11-28 André Pönitz <poenitz@gmx.net>
5491 * all the files from the change on 2001/11/26:
5492 use lyx::layout_type instead of LyXTextClass::size_type
5493 use lyx::textclass_type instead of LyXTextClassList::size_type
5495 2001-11-29 Juergen Vigna <jug@sad.it>
5497 * text.C: added support for paragraph::isFreeSpacing()
5499 * buffer.C: same as above
5501 * paragraph.h: inserted isFreeSpacing() function to enable
5502 FreeSpacing inside InsetERT.
5504 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5505 of the paragraph's in the cut/copy buffer to 0!
5507 * text2.C (removeRow): remove the assert as it can!
5509 * lyxtext.h: added helper function firstRow returning firstrow and
5510 made firstrow private again.
5512 * BufferView2.C (lockInset): don't relock if we're already locked!
5514 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5516 (removeRow): added Assert::(firstrow)
5518 * debug.C: forgot to add INSETTEXT here.
5520 2001-11-28 Juergen Vigna <jug@sad.it>
5522 * sp_spell.C (initialize): changed error text to more general
5523 spellchecker command use (not only ispell!)
5525 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5527 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5529 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5531 * vspace.C: initialise lyxgluelength on failure
5533 2001-11-28 Allan Rae <rae@lyx.org>
5535 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5536 declaration & definition that looks like a function declaration.
5538 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5540 * BufferView2.C (copy):
5541 (copyEnvironment): do not clear the selection when doing a copy.
5543 * text.C (paintFirstRow): compilation fix
5545 2001-11-27 Ben Stanley <bds02@uow.edu.au>
5547 * tabular.C (Latex): correct line count when writing latex.
5549 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
5551 * paragraph_pimpl.h:
5552 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
5555 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5559 * LColor.C: change vfillline->added_space
5561 * text.C: add markers and text for added space
5563 * vspace.C: fix comment
5565 2001-11-28 André Pönitz <poenitz@gmx.net>
5567 * paragraph.C: whitespace changes
5568 * all the other files from the change on 2001/11/26:
5569 change *::pos_type into lyx::pos_type
5571 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
5573 * buffer.C (parseSingleLyXformat2Token): Set the language to the
5574 language of the document when inserting error insets.
5576 2001-11-26 André Pönitz <poenitz@gmx.net>
5578 * BufferView_pimpl.[Ch]:
5586 * paragraph_pimpl.[Ch]:
5589 * text2.C: reduce header dependencies, introduce type for positions
5591 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5593 * <various>: change to use Alert.h
5595 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
5597 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
5598 when encountering an unknown token.
5599 (readLyXformat2): Show an error message if there were unknown tokens.
5601 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5604 * BufferView_pimpl.C:
5608 * text2.C: use par->isInset()
5610 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5612 * paragraph_pimpl.h:
5613 * paragraph_pimpl.C: cleanup
5615 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5617 * text2.C (removeRow):
5618 * text.C (setHeightOfRow): remove useless (and costly) call to
5621 2001-11-20 Allan Rae <rae@lyx.org>
5623 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
5624 Now need Inset*::checkInsertChar() to return true for appropriate
5625 cases so that the characters in the minibuffer will actually be
5628 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5630 * text.C: change the order of the includes.
5631 (workWidth): initialize it at once.
5632 (workWidth): make maxw unsigned
5633 (setHeightOfRow): remove unused variable (inset)
5634 (selectSelectedWord): remove unused variable (inset)
5635 (paintRowText): fix drawing of hfill characters, and clean up a bit.
5637 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5639 * lyxserver.C (emergencyCleanup): do not try to close pipes if
5640 server is not running.
5642 (closeConnection): add debug info when server is disabled.
5644 * ColorHandler.C (getGCForeground): send debug message to GUI
5647 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
5649 * kbmap.C (bind): modify because return conventions of
5650 kb_sequence::parse have changed.
5652 * kbsequence.C (parse): only ignore spaces and not any stupid
5653 control character. This avoids tests like s[i] <= ' ', which are
5654 guaranteed to fail with 8bit characters and signed chars.
5655 Change return code to string::npos when there have been no error
5656 (0 was a bad idea when error is at first character)
5658 2001-11-14 José Matos <jamatos@fep.up.pt>
5661 * buffer.C (simpleDocBookOnePar): removed unused argument.
5663 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5665 * text.C (selectNextWordToSpellcheck): do not test explicitely for
5666 insets which are part of a word. Paragraph::isLetter takes care of
5667 that now. Use Paragraph::isInset to identify insets.
5668 (selectSelectedWord): do not test for hyphenation break.
5670 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
5671 that protected spaces are considered as spaces.
5673 * paragraph.C (isLetter): cleanup the code for ispell extras; use
5676 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
5679 * lyxserver.C: fix it. and small cleanup.
5681 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5683 * BufferView_pimpl.C: use inline helpers
5686 * LaTeXFeatures.C: fix typos
5689 * Spacing.C: move spacing_string into class
5691 * ToolbarDefaults.C: move stuff into namespace anon
5693 * layout.h: update enum
5695 * lyxfunc.C: use better debug
5697 * minibuffer.h: fix typo
5701 * WorkArea.C: add and use Debug::WORKAREA
5705 * text2.C: code re-organisation, inline helpers
5707 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
5709 * Layout.C: replaced a few cases of std::vector.size() == 0 with
5710 std::vector.empty().
5712 2001-11-09 Allan Rae <rae@lyx.org>
5714 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
5715 '\n's after tables. Tabular and ERT inset work now makes this no
5718 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5721 * minibuffer.C: fix crash, improve drop-down completion
5723 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
5726 * lyxserver.C: invalidate fd's when doing endPipe()
5728 2001-11-08 José Matos <jamatos@fep.up.pt>
5730 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
5731 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
5734 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
5736 2001-11-07 José Matos <jamatos@fep.up.pt>
5739 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
5742 * buffer.C (sgmlOpenTag):
5743 * buffer.C (sgmlCloseTag): removed debug info.
5745 * buffer.h (sgmlOpenTag):
5746 * buffer.h (sgmlCloseTag): made public.
5748 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5750 * buffer.C (saveParamsAsDefaults):
5751 * lyx_cb.C (MenuLayoutSave): remove
5753 * LyXAction.C (init):
5755 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
5757 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5759 * buffer.C (setPaperStuff): removed from here...
5761 * bufferparams.C (setPaperStuff): ... and moved there.
5763 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
5767 * XFormsView.C: add support for drop-down completion
5769 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
5771 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
5774 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5776 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
5779 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5781 * lyx_main.C: change ref to known bugs
5783 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5785 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
5786 to work around older babel problems.
5788 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5790 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
5792 2001-10-24 Juergen Vigna <jug@sad.it>
5794 * tabular-old.C (ReadOld): below variable changes reflected.
5796 * tabular.[Ch]: added ltType struct for longtable header/footer
5797 defines and changed all instances where they are used. Added
5798 future support for double top/bottom rows.
5800 2001-10-24 José Matos <jamatos@fep.up.pt>
5802 * buffer.h (docbookHandleCaption):
5803 * buffer.C (docbookHandleCaption): removed unused function.
5804 (makeDocBookFile): moved docbook supported version to v4.1.
5806 2001-10-24 José Matos <jamatos@fep.up.pt>
5809 * tabular.C (docbookRow): new function to export docbook code of a row.
5810 (DocBook): now honors the longtable flags.
5812 2001-10-23 José Matos <jamatos@fep.up.pt>
5815 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
5816 of the lyx defined sgml entities used in a docbook/linuxdoc document.
5818 * buffer.C (makeLinuxDocFile):
5819 (makeDocBookFile): reworked the preamble, more clean, and with
5820 support for lyx defined entities. Changed the document declaration
5821 to be more XML friendly.
5823 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
5824 if we need to output XML that should be done with a filter.
5826 2001-10-22 Juergen Vigna <jug@sad.it>
5828 * sp_pspell.h (class PSpell): add alive function needed in the
5829 controller to see if the spellchecker could be started.
5831 2001-10-22 Juergen Vigna <jug@sad.it>
5833 * buffer.C (insertStringAsLines): modify the font for inserting
5834 chars in certain conditions by calling checkInsertChar(font).
5836 2001-10-19 Juergen Vigna <jug@sad.it>
5838 * text.C (workWidth): use getRow instead of wrong algorithm.
5839 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
5841 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
5846 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
5848 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5850 * text.C (workWidth): do not search for the exact row when
5851 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
5852 optimization for big documents.
5854 2001-10-18 Juergen Vigna <jug@sad.it>
5856 * text.C (workWidth): new function with added Inset * parameter.
5858 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5860 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
5862 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
5863 change return type of getColumnNearX.
5866 * text.C (changeRegionCase): use uppercase/lowercase instead of
5869 (rightMargin): simplify code by factoring out the uses of
5874 (appendParagraph): use Paragraph::size_type
5876 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5878 * vspace.C (asLatexString): add a missing break
5880 2001-10-15 Herbert Voss <voss@perce.de>
5882 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
5884 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5886 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
5889 2001-10-10 André Pönitz <poenitz@gmx.net>
5891 * lyxfunc.C: removed greek_kb_flag.
5893 2001-10-10 Herbert Voss <voss@perce.de>
5895 * lyx_main.C: delete global string help_lyxdir.
5897 2001-10-09 Herbert Voss <voss@perce.de>
5899 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
5901 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
5903 * lyx_main.C: added global string help_lyxdir.
5905 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
5907 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5909 * lyxrc.C (set_font_norm_type): support iso8859-4
5911 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
5913 * LaTeX.C (deplog): add another regex for MikTeX
5915 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
5917 * lyxrc.C (set_font_norm_type): support iso8859-3
5919 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5921 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
5923 * LaTeXFeatures.C: remove special case of french and index
5925 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
5926 before \begin{document}). This solves several incompatibilities.
5928 2001-10-03 Garst Reese <reese@isn.net>
5930 * lyx_cb.C: change CheckTex error msg.
5932 2001-10-03 José Matos <jamatos@fep.up.pt>
5934 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
5936 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5938 * .cvsignore: update
5940 * lyx_main.C (commandLineVersionInfo): use new style version info.
5942 * buffer.C (writeFile):
5945 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
5947 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
5949 * version.h: update to use stuff in version.C
5951 * version.C.in: new file. Contains version information determined
5952 at compile time. This is a merging of version.h and
5955 2001-10-03 Juergen Vigna <jug@sad.it>
5957 * BufferView_pimpl.C (update): don't change "dirty" status in
5960 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
5962 * WorkArea.C (c-tor): re-position version string slightly.
5964 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
5966 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
5967 revert to previous code.
5969 WorkArea.[Ch]: (show, destroySplash): methods removed.
5971 WorkArea.C: rework code so that it's an amalgam of the codes before and
5972 after the splash screen was moved to WorkArea.
5974 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5977 * vspace.C (inPixels):
5980 * buffer.C (insertStringAsLines):
5981 (asciiParagraph): fix types to be large enough
5983 * lyxlex_pimpl.h: change member status from short to int
5985 * layout.h: fix type of endlabeltype
5988 * kbsequence.C (parse): change return type to string::size_type
5990 * LaTeX.C (updateBibtexDependencies): comment out unneeded
5993 * Bullet.C (bulletSize):
5994 (bulletEntry): do not use short ints as parameters
5996 * BufferView2.C (insertLyXFile): change a char to an int.
5998 * WorkArea.C (WorkArea): remove unneeded floats in computation
6000 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6002 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6004 * paragraph.C (asString): Do not ignore newline/hfill chars when
6005 copying to the clipboard.
6007 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6009 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6010 after a multi-line inset.
6012 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6014 * paragraph.C (validate): Set NeedLyXFootnoteCode
6016 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6018 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6019 and decrease-error to decrease.
6021 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6023 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6024 it more readable (should be equivalent)
6026 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6028 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6030 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6032 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6033 of a cursor (row, etc.) after a character has been deleted
6034 (deleteEmptyParagraphMechanism): call the method above on _all_
6035 cursors held by the LyXText when a double space has been
6038 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6040 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6042 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6044 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6045 background. Use greyOut() and the new show() methods to toggle between
6046 the foreground and background. Add code to remove the splash after
6047 its initial showing.
6049 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6050 (create_forms): no longer call Dialogs::showSplash.
6052 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6054 * .cvsignore: add version_info.h
6056 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6058 * version_info.h.in: new file
6060 * Makefile.am: add version_info.h.in
6062 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6063 version_info.h instead of VERSION_INFO
6065 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6067 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6068 The ERT inset now returns string().
6070 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6072 * lyxtext.h, text.C (selectNextWord): renamed as
6073 selectNextWordToSpellcheck.
6075 * text.C (selectNextWordToSpellcheck): Modified to not select
6076 words inside an ERT inset.
6078 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6080 * lyx_cb.C (MenuLayoutSave): change a bit the question
6082 * sp_base.h: include <sys/types.h>
6084 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6086 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6088 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6090 * several files: fix typos in user-visible strings
6092 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6094 * text2.C (pasteSelection): do not set the selection, since it
6095 will be cleared later. Actually, the intent was to fix the way the
6096 selection was set, but I figured rmoving the code was just as good.
6098 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6100 * FontLoader.C (available): Check if font is available without
6103 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6105 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6107 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6109 * lyxrc.[Ch]: added display_graphics variable and associated code.
6111 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6113 * bufferparams.C (hasClassDefaults): new method. Returns true if
6114 the buffer parameters correspond to known class defaults
6116 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6118 * XFormsView.C (show): set minimum size to the main window.
6120 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6122 * text2.C (copySelection):
6124 * lyxfind.C (LyXReplace):
6125 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6126 LyXText::selectionAsString.
6128 * paragraph.C (asString): add "label" argument to the second form
6130 * text2.C (selectionAsString): add "label" argument and pass it to
6131 Paragraph::asString.
6133 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6135 * lyx_main.C (commandLineHelp): remove version information
6137 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6139 * lyx_main.C: add -version commandline option
6141 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6143 * paragraph.h: make the optional constructor arg required instead.
6144 some modifications to other files because of this.
6146 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6148 * lyxserver.C (C_LyXComm_callback): make it static
6150 * lyx_main.C (error_handler): make it static
6152 * lyx_gui.C (LyX_XErrHandler): make it static
6154 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6156 * WorkArea.C: make the extern "C" methods static.
6158 * Makefile.am (lyx_LDADD): simplify
6160 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6162 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6163 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6165 * LyXAction.C (init):
6166 * lyxfunc.C (dispatch): associated code removal.
6168 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6170 * lyxfont.h (isSymbolFont): shut off warning
6172 * text.C (setHeightOfRow):
6173 (getVisibleRow): fix crash with empty paragraphs which have a
6176 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6178 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6181 2001-09-04 José Matos <jamatos@fep.up.pt>
6184 * tabular.C (docbook): rename docBook method to docbook.
6186 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6188 * Makefile.am: add dependencies to main.o.
6190 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6192 * FontLoader.C (available): Return false if !lyxrc.use_gui
6194 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6196 * FontInfo.C (query):
6197 * converter.C (view):
6198 * importer.C (Import):
6199 * exporter.C (Export): Can not -> cannot.
6201 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6203 * BufferView_pimpl.C: allow to create index inset even if
6206 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6208 * buffer.C (getLists): replace boost::tie code with an explicit pair
6209 as boost::tie can break some compilers.
6211 * iterators.h: Added a std:: declaration to the return type of
6214 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6216 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6219 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6221 * iterators.[Ch]: New files. Provide paragraph iterators.
6223 * buffer.C (changeLanguage): Use paragraph iterators.
6224 (isMultiLingual): ditto
6226 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6228 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6230 * FontLoader.C: Support for cmr font.
6232 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6234 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6235 (available): New method.
6237 * FontInfo.C (getFontname): Use scalable fonts even when
6238 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6241 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6243 * converter.C (Formats::view): reverted! Incorrect fix.
6245 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6247 * converter.C (Formats::view): only output the -paper option
6248 if the dvi viewer is xdvi, thereby fixing bug #233429.
6250 2001-08-23 Herbert Voss <voss@perce>
6252 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6254 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6256 * Spacing.h (Spacing): Set space to Default on in the default
6259 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6261 * vc-backend.h (RCS::versionString): add RCS to version
6262 (CVS::versionString): add CVS to version
6264 * vc-backend.C (scanMaster): do not add CVS to version.
6265 (scanMaster): do not add RCS to version
6267 * lyxvc.C (versionString): new method
6269 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6271 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6273 * Spacing.C (set): initialize fval
6275 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6277 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6280 2001-08-16 Juergen Vigna <jug@sad.it>
6282 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6284 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6286 * BufferView_pimpl.C:
6289 * text2.C: setParagraph takes linespacing now
6291 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6293 * LyxAction.C: add internal LFUN_CITATION_INSERT
6295 * LyXView.C: actually apply fix
6297 * bufferlist.C: fix open non-existent file
6299 * lyxfind.C: fix indentation
6301 * lyxfunc.C: remove unneeded assert, fix typo
6303 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6305 * MenuBackend.C: use "Floatname List"
6307 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6309 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6310 when converting LaTeX layout to insetERT.
6311 Generate a non-collapsed float when reading old float
6313 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6315 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6318 2001-08-13 Juergen Vigna <jug@sad.it>
6320 * text.C (fill): return 0 instead of 20 as this seems to be the more
6323 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6325 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6328 2001-08-13 Juergen Vigna <jug@sad.it>
6330 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6332 (SearchBackward): comment out the unlocking of the inset_owner this
6333 should not be needed!
6335 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6337 * Many files: Remove inherit_language, and add latex_language
6339 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6342 2001-08-10 Juergen Vigna <jug@sad.it>
6344 * text.C (prepareToPrint): fixed hfill-width in draw!
6346 * BufferView2.C (selectLastWord): save the selection cursor as this
6347 now is cleared in the function LyXText::clearSelection!
6349 2001-08-08 Juergen Vigna <jug@sad.it>
6351 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6352 BACKSPACE type functions.
6354 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6355 is only cutted from the document but not put in the cut-buffer, where
6356 still the old stuff should be.
6358 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6360 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6362 * tabular.C (SetWidthOfCell): fixed special case where the width
6364 (LeftLine): handle '|' in align_special.
6366 (LeftAlreadyDrawed): ditto
6367 (SetWidthOfCell): ditto
6369 2001-08-07 Juergen Vigna <jug@sad.it>
6371 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6373 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6375 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6376 * lyxlex.[hC]: ditto
6378 2001-08-06 Juergen Vigna <jug@sad.it>
6380 * text.C (getVisibleRow): fix up row clearing a bit.
6382 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6384 * minibuffer.C: make sure the X server sees the changes in the input.
6386 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6388 * paragraph.C (getFont): split into...
6389 (getLabelFont): this
6390 (getLayoutFont): and this
6391 * paragraph_pimpl.C (realizeFont): calling this
6393 * text2.C (getFont): split into...
6394 (getLayoutFont): this
6395 (getLabelFont): and this
6396 (realizeFont): all three calling this
6398 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6401 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6403 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6405 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
6407 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6408 layouts from the Quote inset insertion.
6410 2001-08-03 Juergen Vigna <jug@sad.it>
6412 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6414 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6415 only if status not is already CHANGED_IN_DRAW (second level).
6417 * text.C (draw): don't set the need_break_row when inside an
6420 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6422 * buffer.C (parseSingleLyXformat2Token): handle more latex
6425 * bufferview_funcs.[hC]: change function names to
6426 begin with small char, adjust other files.
6428 2001-08-02 André Pönitz <poenitz@gmx.net>
6431 BufferView_pimpl.C: remove broken special code for math-greek
6433 2001-08-02 Juergen Vigna <jug@sad.it>
6435 * BufferView_pimpl.C (update): redone this function so that we
6436 update the text again if there was a CHANGE_IN_DRAW.
6438 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6439 (drawFromTo): added a new internal bool which is used by draw() and
6441 (general): some cursor drawing problems fixed.
6443 2001-08-01 Juergen Vigna <jug@sad.it>
6445 * lyxfind.C (LyXFind): fixed
6446 (SearchForward): ditto
6447 (SearchBackward): ditto
6449 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6450 spurius drawing of the cursor in the main area.
6452 * text2.C (status): small fix which could lead to a segfault!
6453 (clearSelection): remove unneeded BufferView param.
6455 2001-08-01 André Pönitz <poenitz@gmx.net>
6457 * lyxfunc.C: small change due to changed mathed interface
6459 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6461 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6463 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6465 * lyxfunc.c: fail gracefully if file doesn't exist
6470 * BufferView_pimpl.C: IsDirWriteable() proto changed
6472 * LyXView.C: fix updateWindowTitle() to store the last title
6474 2001-07-31 Juergen Vigna <jug@sad.it>
6476 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6477 the font (wrong since using of Paragraph::highestFontInRange).
6479 * paragraph.C (highestFontInRange): added a default_size parameter.
6481 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6482 (setHeightOfRow): reformat
6484 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6486 * converter.[hC] + affected files: move to (inital-char)lowercase
6489 * ParagraphParameters.C (ParagraphParameters): remove commented code
6491 * PainterBase.[Ch]: remove commented code
6493 * LaTeXFeatures.h: add "bool floats" for float.sty
6495 * LaTeXFeatures.C (LaTeXFeatures): init floats
6496 (require): handle float
6497 (getPackages): do it with floats
6499 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6501 * BufferView_pimpl.C (Dispatch): improve handling of
6502 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6504 * commandtags.h: #include lyxfont.h here temporarily to avoid
6507 * bufferlist.h: include LString.h here.
6509 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6511 * text2.C (getStringToIndex): new method.
6513 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
6515 * *: Reduced header file dependencies all over.
6517 2001-07-30 Baruch Even <baruch@lyx.org>
6519 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6521 2001-07-29 Baruch Even <baruch@lyx.org>
6523 * buffer.C (readInset): Changed GRAPHICS to Graphics.
6525 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6527 * ParameterStruct.h (endif): add a default constructor to make
6528 sure that all variables is initialized.
6530 * ParagraphParameters.C (ParagraphParameters): adjust
6532 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6534 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6535 index; also, check that there is something to index, and that it
6536 does not span over several paragraphs.
6537 (doubleClick): use WHOLE_WORD_STRICT for double click.
6539 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6541 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6544 2001-07-26 Baruch Even <baruch@lyx.org>
6546 * buffer.C (readInset): Changed to call up InsetGraphics when reading
6547 an InsetFig figure, backwards compatible reading of old figure code.
6549 2001-07-27 Juergen Vigna <jug@sad.it>
6551 * text2.C: font.realize function adaption.
6553 * text.C (draw): add a warnings lyxerr text if needed.
6555 * layout.C: font.realize function adaption.
6557 * language.C: add inherit_language and implement it's handlings
6559 * bufferview_funcs.C (StyleReset): remove language parameter from
6560 font creation (should be language_inherit now).
6562 * bufferparams.C (writeFile): handle ignore_language.
6564 * paragraph.C (getFontSettings): the language has to be resolved
6565 otherwise we have problems in LyXFont!
6567 * lyxfont.C (lyxWriteChanges): added document_language parameter
6568 (update): removed unneeded language parameter
6570 * paragraph.C (validate): fixed wrong output of color-package when
6571 using interface colors for certain fonts in certain environments,
6572 which should not seen as that on the final output.
6574 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
6576 * BufferView_pimpl.C:
6581 * LyXAction.C: add thesaurus support
6584 * lyxfind.C: add "once" parameter, for thesaurus, to not
6585 move to the next match
6587 2001-07-26 Juergen Vigna <jug@sad.it>
6589 * lyxfont.C (realize): honor ignore_language too!
6592 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
6594 * text.C (draw): one place more for ignore_language to not draw
6597 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
6599 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
6601 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6603 * buffer.C (parseSingleLyXformat2Token): a more general fix for
6604 the minipage conversion problem.
6606 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6608 * buffer.C (parseSingleLyXformat2Token): check minipage if we
6611 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6613 * BufferView.h: don't forward declare WorkArea
6615 * BufferView.C: don't include WorkArea.h
6617 2001-07-25 André Pönitz <poenitz@gmx.net>
6621 * lyxfunc.C: new LFUN 'math-space'
6623 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
6625 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6627 * text2.C (toggleInset): call open/close
6629 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6631 * lyxfunc.C (dispatch): add debug for the disabled case
6633 * font.C (buttonText): make similar to rectText
6635 * buffer.C (readInset): comment out parsing of insetlist and
6638 * PainterBase.C (rectText): small correction
6640 * BufferView_pimpl.C: comment out insettheorem and insetlist
6641 * LyXAction.C: ditto
6642 * commandtags.h: ditto
6644 2001-07-24 Juergen Vigna <jug@sad.it>
6646 * text.C (draw): honor the ignore_language.
6648 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
6650 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6652 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
6655 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6657 * lyxtext.h: remove unused (and unimplemented) methods
6659 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6661 * text.C (getVisibleRow): honor background color
6664 * Painter.h: remove default color argument for fillRectangle
6666 * text.C (backgroundColor): new method
6668 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6670 * text.C (getVisibleRow): adjust
6672 * font.[Ch] (rectText): new method, metrics
6673 (buttonText): new method, metrics
6675 * PainterBase.[hC]: make rectText and buttonText always draw and take
6678 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6680 * ToolbarDefaults.C (read):
6681 * MenuBackend.C (read): allow escaping in all strings
6683 * BufferView_pimpl.C (insertAndEditInset): new method.
6684 (Dispatch): use insertAndEditInset whenever appropriate.
6686 * BufferView_pimpl.C (insertNote): removed
6688 * BufferView_pimpl.C (smartQuote): new method, moved from
6689 BufferView; if an insetquote cannot be inserted, insert a '"'
6692 * BufferView2.C: remove insertCorrectQuote();
6694 * lyxfunc.C (getStatus): Add support for all remaingin
6697 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
6699 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
6700 command (necessary to pass " as parameter of self-insert.
6702 * text.C (selectWordWhenUnderCursor):
6703 (selectWord): add word_location parameter
6704 (selectWordWhenUnderCursor): same + remove special code for word
6706 (selectNextWord): use kind() to guess type of insetspecialchar,
6709 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
6710 (insertErtContents): create ert insets as collapsed.
6711 (readInset): better compatibility code for Info inset.
6713 2001-07-20 Juergen Vigna <jug@sad.it>
6715 * lyxfunc.C (dispatch): use always LyXFind now!
6717 * text2.C (init): add a reinit flag so that the LyXText can be
6718 reinited instead of deleted and reallocated (used in InsetText).
6720 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
6726 2001-07-18 Juergen Vigna <jug@sad.it>
6728 * text.C (selectNextWord): handle insets inside inset by calling
6729 always the bv->text functions so that we can go up the_locking_inset!
6731 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
6732 in strange locations when inside an inset!
6734 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
6735 handling to include insets.
6737 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
6739 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6741 * LyXAction.C (init):
6743 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
6744 LIGATURE_BREAK, since the name is so stupid.
6746 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6748 * buffer.C (readInset): enable reading of new InsetNotes as well as old
6751 * FontLoader.C: remove FORMS_H_LOCATION cruft.
6753 * sp_form.[Ch]: remove.
6755 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
6757 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
6760 * src/buffer.C (readInset): ditto.
6762 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6764 * BufferView_pimpl.C (specialChar): new method. Obsoletes
6765 menuSeparator(), endOfSentenceDot(), ldots() and
6766 hyphenationPoint(), which are therefore removed.
6767 (Dispatch): handle LFUN_HYPHENATION_BREAK.
6769 * LyXAction.C (init):
6770 * commandtags.h: add LFUN_HYPHENATION_BREAK.
6772 * paragraph.C (getWord): removed.
6774 * BufferView_pimpl.C (Dispatch): use last word or selection for
6775 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
6777 * lyx_main.C (queryUserLyXDir): do not ask before creating
6778 user_dir, except if it has been named explicitely.
6780 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6782 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
6783 a document of zero size.
6785 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6787 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
6788 approriately in the c-tor and in require().
6789 (getPackages): output the appropriate LaTeX for natbib support.
6791 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
6792 variables "use_natbib" and "use_numerical_citations" when reading the
6794 (readInset): read the various natbib cite commands.
6795 (validate): white-space change.
6797 * bufferparams.[Ch]: new variables "bool use_natbib" and
6798 "bool use_numerical_citations".
6799 (writeFile): output them in the LyX file.
6801 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6803 * lyxfunc.C (getStatus): add support for all the inset insertion
6806 * text2.C (insertInset):
6807 * paragraph.C (insetAllowed):
6808 * BufferView_pimpl.C (insertInset): update to take in account the
6809 renaming of insertInsetAllowed
6811 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
6813 * text2.C (getInset): new method. returns inset at cursor position.
6815 * BufferView_pimpl.C (Dispatch): changes because of this.
6817 * LyXAction.C (init): rename open-stuff to inset-toggle.
6819 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
6821 * text2.C (toggleInset): renamed from openStuff; use
6824 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6826 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
6828 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
6830 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
6832 * buffer.C (readLyXformat2): Add filename to the error dialog
6834 2001-07-18 Juergen Vigna <jug@sad.it>
6836 * tabular.C (GetCellNumber): put an assert here instead of the check!
6838 2001-07-17 Juergen Vigna <jug@sad.it>
6840 * BufferView_pimpl.C (toggleSelection): adapted too.
6842 * text.C (selectNextWord): adapted for use with insets.
6843 (selectSelectedWord): ditto
6845 2001-07-17 Juergen Vigna <jug@sad.it>
6847 * sp_spell.C (PSpell): fix initialitation order.
6849 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6851 * paragraph.C: spacing
6853 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
6855 * sp_spell.C: repair language selection for pspell
6857 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6859 * lyxfunc.h: change more methods to begin with lower char.
6861 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
6863 * buffer.C (parseSingleLyXformat2Token): Generate error insets
6864 for unknown layouts.
6866 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
6868 * buffer.C (readLyXformat2): Generate an error dialog if there are
6871 2001-07-16 Juergen Vigna <jug@sad.it>
6873 * sp_spell.C: always compile ISpell part.
6875 * lyxrc.C: added use_pspell entry and it's handling.
6877 2001-07-13 Juergen Vigna <jug@sad.it>
6879 * sp_spell.C: removed double includes.
6881 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6883 Consistent use of Lsstream.h:
6884 * Lsstream.h: added using std::stringstream for consistencies sake.
6886 * buffer.C: removed using std::stringstream
6888 * lyxfont.C (stateText):
6889 * paragraph.C (asString):
6890 * text.C (selectNextWord, selectSelectedWord):
6891 * text2.C (setCounter):
6892 * vspace.C (asString, asLatexString):
6893 std::ostringstream -> ostringstream.
6895 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6897 * LyXAction.C: add LFUN_HELP_ABOUTLYX
6898 * commandtags.h: add LFUN_HELP_ABOUTLYX
6899 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
6901 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6903 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
6905 * lyx_gui_misc.C: remove spellchecker
6906 * lyxfunc.C: showSpellchecker
6908 * sp_ispell.h: added
6909 * sp_pspell.h: added
6911 * sp_form.[Ch]: removed
6912 * spellchecker.[Ch]: removed
6914 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
6916 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
6918 (simpleTeXSpecialChars): Simply print the input character without
6919 any special translation if pass_thru is set.
6921 * layout.h: Added bool pass_thru to layout class for being able to
6922 implement pass through of a paragraph for Literate Programming.
6924 * layout.C: add LT_PASS_THRU to LayoutTags enum.
6925 * layout.C (LyXLayout): set pass_thru to flase in constructor.
6926 * layout.C (Read): add "passthru" to list of layout tags and add
6927 code to set the pass_thru boolean when it is read.
6929 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6931 * trans_decl.h: remove allowed from KmodInfo
6933 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
6937 * paragraph_pimpl.C (erase): use boost::prior
6939 * Painter.C (text): use data() instead of c_str() when length is
6941 * WorkArea.C (putClipboard): ditto
6942 * font.h (width): ditto
6944 * BufferView2.C: use it-> instead of (*it). for iterators
6946 * paragraph_pimpl.C: ditto
6947 * paragraph.C: ditto
6948 * minibuffer.C: ditto
6953 * converter.C: ditto
6955 * Variables.C: ditto
6956 * TextCache.C: ditto
6957 * MenuBackend.C: ditto
6958 * LyXAction.C: ditto
6960 * FloatList.C: ditto
6962 * ColorHandler.C (LyXColorHandler): ditto
6964 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6966 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
6968 * text2.C (openStuff): reintroduce this method (which had been
6969 nuked in NEW_INSETS frenzy).
6971 * lyxfunc.C (Dispatch): when an action has not been handled, use
6972 its name in the error message, not its number.
6974 * paragraph.C (inInset): change method name to begin with lowercase.
6977 * text2.C: updates because of this.
6979 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6981 * ToolbarDefaults.C (add): add spaces in error message
6983 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6985 * buffer.C (readLyXformat2): initialize the ert comp. variables.
6986 (readLyXformat2): rename return_par to first_par, use lyxlex's
6987 pushToken and remove the manual push handling.
6988 (parseSingleLyXformat2Token): add another ert comp. variable:
6989 in_tabular, rename return_par to first_par. handle newlines better
6991 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6993 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
6995 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6997 * text2.C (getParFromID): removed
6999 * buffer.C (getParFromID): new method moved form lyxtext.
7000 * BufferView2.C (insertErrors): adjust
7001 (setCursorFromRow): adjust
7002 * BufferView_pimpl.C (restorePosition): adjust
7003 * lyxfunc.C (Dispatch): adjust
7004 * undo_funcs.C (textUndo): adjust
7006 (textHandleUndo): adjust
7007 (textHandleUndo): adjust
7009 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7011 * buffer.C: up' the LYX_FORMAT
7013 * lyxfont.h: turn NO_LATEX on as default
7015 * buffer.C (insertErtContents): new methods of tex style compability.
7016 (parseSingleLyXformat2Token): use it several places.
7017 * tabular.C (OldFormatRead): and here
7019 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7021 * text2.C: remove some commented code.
7024 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7025 * trans.C: changes because of the above.
7027 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7029 * text2.C (setCounter): Fix counters bug with bibliography layout.
7031 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7033 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7034 own member functions
7035 (simpleTeXSpecialChars): ditto
7037 2001-07-06 Juergen Vigna <jug@sad.it>
7039 * a lot of files: changed the access to LyXText::status and the
7040 call of undo-functions.
7042 * undo.[Ch]: added a inset_id to the undo informations.
7044 * undo_funcs.[Ch]: added and moved here all undo functions.
7046 * lyxtext.h: give the status enum a weight, made status_ a private
7047 variable and made accessor functions for it, removed the whole bunch
7048 of undo-functions as they are now in their own file, make some
7049 functions publically available. Added function ownerParagraph with
7052 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7053 made InInset() a const function, added getParFromID() function.
7055 * buffer.[Ch]: added const version for inset_iterator functions,
7056 added getInsetFromID() function.
7058 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7059 changed undo functions for new version.
7061 2001-07-05 Juergen Vigna <jug@sad.it>
7063 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7064 unknow mechanism does not call the proper constructor but only this
7065 one also if I request the other!?
7067 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7069 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7071 * text2.C (LyXText): use initialization lists.
7073 * lyxtext.h (Selection): initialize set_ and mark_
7074 (init): remove method
7076 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7078 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7080 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7082 * screen.[Ch]: change method names to begin with lowercase
7084 * BufferView_pimpl.C (updateScrollbar): simplify further and
7085 hopefully make it a bit faster.
7087 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7089 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7090 calling directly xforms functions.
7092 * Painter.C (Painter):
7093 * lyx_cb.C (MenuWrite):
7094 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7097 * lyx_gui.C: remove bogus guiruntime extern declaration.
7099 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7101 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7103 (redoDrawingOfParagraph): ditto
7104 (redoParagraphs): ditto
7105 (cutSelection): don't create a object for CutAndPaste use the
7106 static method directly
7107 (pasteSelection): ditto
7109 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7112 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7114 * modifications to some other files because of this.
7116 * Makefile.am (lyx_SOURCES): add XFormsView
7118 * XFormsView.[Ch]: new files
7120 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7121 the main window. Move the gui dependent stuff to XFormsView
7123 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7125 * tabular.C (GetCellInset): update cur_cell also in the row/col
7126 version of this function.
7128 * lyxfunc.C: no need to include figure_form.h here.
7134 * lyxvc.C: no need to include forms.h here.
7136 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7138 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7140 * lyxfunc.C (Dispatch):
7142 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7143 constructor argument.
7145 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7147 * paragraph.C (Paragraph): dont't clear, and just set layout.
7148 (makeSameLayout): use params's copy contructor.
7150 * ParagraphParameters.[Ch] (makeSame): delete method
7152 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7154 * Variables.[Ch]: fix indentation, rename set to isSet
7156 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7158 * lyxfunc.C (Dispatch): fix typo
7160 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7162 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7165 * bufferlist.C: include assert.h for emergencyWrite().
7167 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7169 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7170 give up at last (bug #425202) !
7172 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7178 * spellchecker.C: strip spellchecker options and bring up
7179 preferences tab instead
7181 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7183 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7184 the istringstream constructor
7186 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7188 * paragraph.C (getLayout): fix return value
7190 * paragraph.h: do not declare getLayout as inline.
7192 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7194 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7196 * lyxcursor.h (operator<): new func
7197 (operator>): new func
7198 (operator>=): new func
7199 (operator<=): new func
7201 * text.C (changeCase): use selection.start and selection.end
7202 (changeRegionCase): require from to be <= to. Require par to be a
7205 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7207 2001-06-27 Juergen Vigna <jug@sad.it>
7209 * text.C (cursorLeftOneWord): changed to return the cursor and added
7210 overlay with BufferView * parameter which calls this one.
7212 (selectWord): use new getWord function.
7213 (changeCase): renamed from changeWordCase as and extended to work
7216 * lyxtext.h: added enum word_location
7218 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7219 changeCase as this operates now also on selections.
7221 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7223 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7225 * many files: send debug output to Debug::INFO instead of
7228 * converter.C (View):
7230 (Move): send debug output to Debug::FILES instead of console.
7232 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7234 * lyxfunc.C (getStatus): use func_status
7236 * func_status.h: new header, describing the results of
7239 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7242 2001-06-25 The LyX Project <jug@sad.it>
7244 * buffer.C (sgmlOpenTag):
7246 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7248 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7250 * text2.C: remove some dead code
7252 * tabular.C (GetCellInset): store the last cell checked (gotten)
7254 * tabular.h: add the helper for the speedup
7256 * lyxtext.h: remove some dead code
7258 2001-06-26 The LyX Project <Asger>
7260 * paragraph.C: Change export to LaTeX of alignment to
7261 \begin{center} and family for better roundtrip work with reLyX.
7263 * Tune the math drawing a bit.
7265 2001-06-25 The LyX Project <Asger>
7267 * LColor.C (LColor): New color for math background. New color
7270 2001-06-25 The LyX Project <jug@sad.it>
7272 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7275 * bufferlist.C (newFile): do not restrict to files ending with
7278 * BufferView_pimpl.C (MenuInsertLyXFile):
7280 2001-06-24 The LyX Project <jug@sad.it>
7282 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7285 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7287 * lyxtext.h: rename most methods to begin with a small char.
7288 Lots of changes because of this.
7290 * paragraph.C (Paragraph): do not call fitToSize
7291 (erase): call Pimpl::erase
7292 (insertChar): call Pimpl::insertChar
7293 (insertInset): call Pipl::insertInset
7294 (breakParagraph): do not call fitToSize
7295 (breakParagraphConservative): do not call fitToSize
7296 (fitToSize): remove method
7298 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7300 2001-06-24 The LyX Project <Asger>
7302 * Fix Qt compilation^2
7304 2001-06-24 The LyX Project <jug@sad.it>
7306 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7307 depthHook(getDepth()-1).
7310 * ParagraphParameters.h:
7311 * ParameterStruct.h: change type of depth to unsigned int ==
7312 depth_type. Many adaptations to other files before of that.
7314 2001-06-24 The LyX Project <Asger>
7316 * Fix Qt compilation.
7318 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7320 * paragraph.h: renamed several methods to begin with small letter.
7321 several changes to many parts of the code because of this.
7323 2001-06-23 The LyX Project <jug@sad.it>
7325 * text2.C (InsertStringAsLines): renamed from InsertStringA;
7326 rewritten to discard all double spaces when KeepEmpty is off
7327 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7328 to only handle newlines but not fiddle with spaces and friends.
7330 * lyxfunc.C (MenuNew): when doing 'new from template', use
7331 template_path as default directory
7333 2001-06-23 The LyX Project <Asger>
7335 * Clean-up of header file includes all over
7336 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7338 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7340 * paragraph.h: renamed from lyxparagraph.h
7342 2001-06-23 Asger <lyx@violet.home.sad.it>
7344 * Buffer.h: Removed Buffer::resize
7345 * BufferList.h: Removed BufferList::resize
7346 * LyXView.h: Added LyXView::resize. This way, we will only reflow
7347 the document lazily when we change the width, or the font settings.
7349 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7351 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7353 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7355 * buffer.h: remove out of date comment
7357 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7360 * screen.C: fix "theoretical" GC leak
7362 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7364 * LaTeX.C (scanAuxFile):
7365 (deplog): remove trailing \r when reading stream (useful under
7368 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
7370 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7371 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7372 and BufferView::theLockingInset(Inset*), so should use them and not
7373 access bv_->text->the_locking_inset directly.
7375 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7377 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7380 * tex-defs.h: remove old unused file
7382 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
7384 * BufferView_pimpl.C: fix typo, remove minibuffer message
7385 when buffer has loaded
7387 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7389 * lyxfunc.C (Dispatch): use stringstream
7390 (MenuNew): use stringstream
7391 (Open): use stringstream
7393 * importer.C (Import): use stringstream
7395 * bufferview_funcs.C (CurrentState): use stringstream
7397 * LaTeX.C (run): use stringstream
7399 * BufferView_pimpl.C (savePosition): use stringstream
7400 (restorePosition): use stringstream
7401 (MenuInsertLyXFile): use stringstream
7403 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7416 * vspace.C: removed // -*- C++ -*- as first line.
7419 * version.h: added // -*- C++ -*- as first line.
7421 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7423 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7425 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7428 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7430 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7433 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7435 * gettext.C: include LString.h even when --disable-nls is on.
7437 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7439 * converter.h (Get): changed argument type from int to
7440 FormatList::size_type to avoid unnecessary conversion.
7442 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7445 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7447 * gettext.h: include LString.h even when --disable-nls is on.
7449 2001-06-07 Juergen Vigna <jug@sad.it>
7451 * text.C (BreakAgain): subst spaces with tabs.
7453 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7454 (resizeInsetsLyXText): set force on resizeLyXText.
7456 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7458 * gettext.h (gettext_init):
7459 (locale_init): use a real definition instead of a macro
7461 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7463 * Bufferview_pimpl.C:
7465 * LColor.C: further lcolor tidies
7467 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7469 * BufferView_pimpl.C (updateScrollbar): simplify.
7471 * BufferView2.C: don't include insets/insetinfo.h, change
7472 prototype for insertInset and call the Pimpl version. let
7473 updateInset call Pimpl version.
7475 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7476 gotoInset to BufferView::Pimpl
7478 2001-06-01 Juergen Vigna <jug@sad.it>
7480 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7481 inside a LockingInset (is the update needed at all?).
7483 2001-05-31 Juergen Vigna <jug@sad.it>
7485 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7486 here not the old one otherwise how should we compare it afterwards
7489 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7494 * FontInfo.C: bring C functions into global namespace when
7497 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7499 * LString.h: make sure config.h has been loaded before LString.h.
7501 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7502 (one for each char read by EatLine!).
7504 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7507 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7509 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7510 to the same as the par we break from
7512 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7514 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7516 * MenuBackend.C (expand): also create menu entries for wide
7517 versions of the floats.
7519 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7521 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7523 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7524 frontends/Makefile.am
7530 * tabular.C (getTokenValue): add std::
7532 * tabular-old.C (getTokenValue): add std::
7533 (getTokenValue): ditto
7534 (getTokenValue): ditto
7536 * screen.C (ToggleSelection): adjust
7538 * lyxtext.h: put selection cursors inside a Selection struct.
7540 * lyxfunc.C (moveCursorUpdate): adjust
7542 * lyxfont.C (latexWriteStartChanges): add std::
7546 * font.h: delete with(char const *, LyXFont const &)
7548 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
7550 * FontInfo.C (getFontname): add std::
7552 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7553 (workAreaButtonPress): adjust
7554 (tripleClick): adjust
7556 (moveCursorUpdate): adjust
7559 * BufferView2.C (gotoInset): adjust
7561 2001-05-30 Juergen Vigna <jug@sad.it>
7563 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
7564 to check pspell I add this as default as I now have new pspell
7565 libraries and they seem to use this.
7567 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7569 * text2.C (CutSelection): make the cursor valid before the call to
7572 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7574 * kbsequence.C (parse): de-uglify a bit the parsing code, which
7575 relied on 0 terminated strings and other horrors. Bug found due to
7576 the new assert in lyxstring!
7578 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
7581 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7583 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
7586 * lyxfunc.C (processKeySym): change method of getting to the
7589 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
7590 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
7591 * BufferView_pimpl.[Ch]: here as private methods.
7593 2001-05-28 Juergen Vigna <jug@sad.it>
7595 * text.C (SetHeightOfRow): added the update() call again as it is
7596 needed to initialize inset dimensions!
7598 2001-05-16 Juergen Vigna <jug@sad.it>
7600 * text2.C (SetCharFont): Add new function with BufferView * and
7601 bool toggleall parameters for setting insets internal fonts.
7602 (SetFont): Freeze the undo as we may change fonts in Insets and
7603 all this change should be inside only one Undo!
7605 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
7606 setting font's in insets as for them we have the SetFont function!
7608 2001-05-15 Juergen Vigna <jug@sad.it>
7610 * text2.C (ClearSelection): to be sure we REALLY don't have any
7613 * tabular.C (TeXCellPreamble): fixed the left border problem for
7616 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7618 * LaTeX.C (deplog): Make sure that the main .tex file is in the
7621 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7623 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
7624 LFUN_BREAKPARAGRAPH.
7626 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7627 help test to "internal only", similar for LFUN_INSERT_URL
7629 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
7630 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
7631 auto_region_delete and deadkeys.
7633 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
7636 * LColor.C: remove some dead entries, tidy a little
7638 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7640 * lyxfunc.C (processKeySym): comment the Escape handling, remove
7642 (Dispatch): implement LFUN_ESCAPE
7644 * commandtags.h: add LFUN_ESCAPE
7646 * LyXAction.C (init): add entry for LFUN_ESCAPE
7648 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
7649 Remove commented code.
7650 (insertNote): moved here
7651 (open_new_inset): moved here
7653 * BufferView[2].[Ch]: move insertNote and open_new_inset to
7656 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7658 * kbmap.C (findbinding): clean it up and make it work correctly.
7660 * lyx_main.C (init): do not pass argc and argv as parameters
7662 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7664 * buffer.C: fix path for OS/2 & Win32
7668 * lyx_main.C: Added os:: class.
7670 * os2_defines.h: update
7672 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7674 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
7675 better by trying again with reduced state.
7677 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7679 * lyxrc.C (read): print error about invalid key sequence only when
7680 debugging (because not all latinX keysyms are known to some X
7683 * kbsequence.C (getiso): add a few std:: qualifiers
7684 (getiso): comment out extra return statement.
7686 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
7688 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
7690 (Dispatch): enhance the accent inset a bit. (not perfect)
7692 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7694 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
7696 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7698 * bufferlist.C (emergencyWrite): fix assert() call
7700 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
7702 * text.C (InsertChar): Added trivial patch to only send the "you
7703 can not do multiple spaces this way" message once during a
7706 2001-05-08 Baruch Even <baruch@lyx.org>
7708 * Makefile.am: Changed order of libraries to get LyX to link properly
7709 with the gnome frontend.
7711 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7713 * LaTeXFeatures.h: add a std:: qualifier
7715 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7717 * paragraph.C (String): use stringstream
7719 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7721 * paragraph.C (writeFile): remove footflag arg
7723 * buffer.C (makeLaTeXFile): use stringstream
7724 (latexParagraphs): remove footnot gurba
7726 * LaTeXFeatures.C (getPackages): use stringstream
7727 (getMacros): likewise
7728 (getTClassPreamble): likewise
7729 (getFloatDefinitions): new method
7731 * paragraph.C (writeFile): reindent
7734 * WorkArea.h: revert the xpos + etc changes.
7736 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
7738 * lyxparagraph.[Ch]: add copy constructor, remove Clone
7740 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
7741 (pasteSelection): likewise
7742 * text2.C (CreateUndo): likewise
7744 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7746 * minibuffer.C (peek_event): temporarily reduce the functionality
7747 of the minibuffer (to allow args on lfuns)
7749 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
7750 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
7752 * buffer.C (readInset): add compability reading of old float
7753 lists, add reading of new style float list.
7754 (readInset): avoid reevaluation of inscmd.getCmdName()
7755 (getLists): reindent
7757 * MenuBackend.C (MenuItem): implement parsing of
7758 md_floatlistinsert and md_floatinsert.
7759 (expand::LastFiles): move initalizaton of iterators out of loop,
7761 (expand::Documents): introduce typdedef vector<string> Strings,
7763 (expand::ExportFormats): introduce typedef vector<Format const *>
7764 Formats, and use it.
7765 (expand): implement FloatListInsert and FloatInsert.
7767 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
7768 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
7769 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
7771 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
7773 (Dispatch::LFUN_FLOAT_LIST): implement
7775 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7777 * LaTeX.C (run): Fix problem with --export code.
7779 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7781 * BufferView.[Ch] (workarea): removed.
7782 (getClipboard) new method; wrapper for workarea()->getClipboard()
7784 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
7787 * WorkArea.h (width, height, xpos, ypos): These methods all
7788 returned the dimensions of the work_area sub-area of WorkArea,
7789 resulting in a position error if the WorkArea were resized. Now
7790 return the dimensions of the entire WorkArea.
7792 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
7794 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7796 * LaTeX.C (deplog): correct the syntax of regex reg1
7798 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7800 * undo.C: remove !NEW_INSETS cruft
7802 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7804 * text2.C: remove !NEW_INSETS cruft
7806 * text.C: remove !NEW_INSETS cruft
7808 * tabular.C: remove !NEW_INSETS cruft
7810 * spellchecker.C: remove !NEW_INSETS cruft
7812 * lyxtext.h: remove !NEW_INSETS cruft
7814 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
7816 * lyxfunc.C: remove !NEW_INSETS cruft
7818 * lyxfind.C: remove !NEW_INSETS cruft
7820 * lyx_cb.C: remove !NEW_INSETS cruft
7822 * figureForm.C: remove !NEW_INSETS cruft
7824 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
7826 * buffer.[Ch]: remove !NEW_INSETS cruft
7828 * ToolbarDefaults.C: remove !NEW_INSETS cruft
7830 * CutAndPaste.C: remove !NEW_INSETS cruft
7832 * BufferView_pimpl.C: remove !NEW_INSETS cruft
7834 * BufferView2.C: remove !NEW_INSETS cruft
7836 * BufferView.h: remove !NEW_INSETS cruft
7838 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7840 * Lsstream.h: include LString.h before the sstream headers to
7841 fix problem with gcc 2.95.3 and lyxstring
7843 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7845 * lyx_main.C: add using directives when needed for C functions
7846 declared in std:: namespace.
7848 2001-04-27 Juergen Vigna <jug@sad.it>
7850 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
7851 (SetHeightOfRow): comment out the update call should not be needed!
7853 2001-04-13 Juergen Vigna <jug@sad.it>
7855 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
7856 (LyXTabular): tried to minimize operator= operations (and realized
7857 hopfully Lars wish).
7859 2001-04-27 Juergen Vigna <jug@sad.it>
7861 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
7863 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7865 * lyxfunc.C (Dispatch): hack to make listof algorithm work
7867 * buffer.C (readInset): hack to make listof algorithm work
7869 * BufferView_pimpl.C: hack to make listof algorithm work
7871 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7873 * LyXAction.C: removed all !NEW_INSETS cruft
7874 (init): moved lfun_item in method
7876 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
7878 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7880 * BufferView2.C (theLockingInset): white space.
7882 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7884 * minibuffer.C: include <iostream>
7886 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
7888 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
7890 * commandtags.h: add LFUN_TRANSPOSE_CHARS
7892 * text.[Ch] (TransposeChars): new method
7894 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7896 * call message directly through LyXView instead of through LyXFunc
7897 * BufferView2.C: adjust
7898 * BufferView_pimpl.C: adjust
7899 * FontLoader.C: adjust
7901 * bufferview_funcs.C: adjust
7902 * converter.C: adjust
7903 * figureForm.C: adjust
7904 * importer.C: adjust
7906 * lyx_gui_misc.C: adjust
7910 + more files in subdirs
7912 * lyxparagraph.h (size): move up int file
7915 * adjust all uses of Assert to lyx::Assert.
7917 * BufferView2.C (ChangeCitationsIfUnique): adjust for
7918 lyxfunctional in namespace lyx
7919 * layout.C (hasLayout): ditto
7922 (delete_layout): ditto
7923 (NumberOfClass): ditto
7924 * converter.C (GetFormat): ditto
7929 * bufferlist.C (getFileNames): ditto
7930 (emergencyWriteAll): ditto
7933 * MenuBackend.C (hasSubmenu): ditto
7936 * BufferView_pimpl.C (getInsetByCode): ditto
7938 2001-04-18 Juergen Vigna <jug@sad.it>
7940 * vspace.C (asLatexString): fixed the 100% problem.
7942 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7944 * lyxfunc.C (Dispatch):
7946 * minibuffer.h: add a few std:: qualifiers
7948 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7950 * minibuffer.[Ch]: reimplement so that commands is initiated and
7951 run from lyxfunc, simplified som handling, and made the completion
7952 and history code for complete. wip.
7954 * lyxfunc.C (processKeySym): call message
7955 (miniDispatch): new temporary method
7956 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
7957 (LFUN_MESSAGE): implement
7958 (LFUN_MESSAGE_PUSH): implement
7959 (LFUN_MESSAGE_POP): implement
7960 (initMiniBuffer): the initial/defualt minibuffer message.
7962 * lyxfont.[Ch]: inline some more getters
7964 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
7966 * lyx_gui_misc.[Ch] (WriteStatus): remove method
7968 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
7969 (AutoSave): use LFUN_MESSAGE
7970 (Reconfigure): ditto
7972 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
7974 * figureForm.C: use LFUN_MESSAGE
7976 * converter.C (runLaTeX): use LFUN_MESSAGE
7978 * bufferview_funcs.C: use LFUN_MESSAGE
7980 (changeDepth): ditto
7982 * bufferparams.h: use boost::
7984 * bufferlist.h: inherit privately from noncopyable
7986 * bufferlist.C (loadLyXFile): remove some commented code.
7988 * buffer.C (runChktex): use LFUN_MESSAGE
7990 * ShareContainer.h: inherit privately from noncopyable
7992 * ParagraphParameters.[hC] (depth): inline it.
7994 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
7996 (message): new method
7997 (messagePush): ditto
7999 (show): init minibuffer
8000 (showState): direct call
8002 * LaTeX.[Ch]: inherit privately from noncopyable
8003 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8004 instead of WriteStatus.
8006 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8008 * BufferView_pimpl.C (buffer): don't init minibuffer
8009 (workAreaButtonPress): use LFUN_MESSAGE
8010 (workAreaButtonRelease): ditto
8011 (savePosition): ditto
8012 (restorePosition): ditto
8013 (MenuInsertLyXFile): ditto
8014 (workAreaExpose): don't init minibuffer
8015 (update): remove commented code, simplify
8017 * BufferView2.C (openStuff): use LFUN_MESSAGE
8018 (toggleFloat): ditto
8021 (copyEnvironment): ditto
8022 (pasteEnvironment): ditto
8027 (updateInset): remove some commented code
8029 * lastfiles.h: inherit privately from noncopyable
8034 * lyxlex_pimpl.h: ditto
8036 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8037 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8038 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8040 * LyXAction.h: inherit privately from noncopyable, add methods
8041 func_begin, func_end, returning iterators to the func map.
8043 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8044 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8045 (func_begin): new method
8046 (func_end): new method
8048 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8050 (copySelection): ditto
8051 (pasteSelection): ditto
8053 * BufferView.C: whitespace change
8054 * BufferView.h: inherit privately from noncopyable
8056 2001-04-16 Allan Rae <rae@lyx.org>
8058 * tabular-old.C (l_getline):
8059 * spellchecker.C (sc_check_word):
8060 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8061 an unrecognised preprocessor directive. So ensure they're wrapped.
8063 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8065 * src/exporter.C (Export): Give an error message when path to file
8068 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8070 * LaTeX.C (deplog): Always check that foundfile exists.
8072 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8075 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8077 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8079 * tabular.[Ch] (getLabelList): implement new method
8081 * minibuffer.h: comment ouf setTiimer
8083 * minibuffer.C (ExecutingCB): constify res
8084 (peek_event): constify s
8085 (Set): constify ntext
8086 (Init): constify nicename
8088 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8090 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8091 (savePosition): use two params to Minibuffer::Set
8092 (restorePosition): ditto
8094 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8096 * lyx_main.C: include language.h
8098 * Makefile.am (lyx_main.o): add language.h
8100 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8106 * CutAndPaste.C: include gettext.h
8108 * lyxfont.h: remove old hack with ON and OFF.
8111 * lyxfont.h: do not include language.h...
8116 * bufferview_funcs.C:
8122 * paragraph.C: ... but do it here instead
8124 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8126 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8128 * tabular.C: small reformat
8130 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8133 (BreakParagraph): ditto
8134 (SetOnlyLayout): ditto
8137 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8140 * lastfiles.C: removed most using decl, add std:: where needed
8142 * buffer.C: ws changes
8144 * MenuBackend.C (class compare_format): put into anon namespace
8145 (expand): constify label, names, action, action2
8148 * text.C (SingleWidth): constify font
8149 (IsBoundary): constify rtl2
8150 (GetVisibleRow): constify ww
8152 * LaTeX.C (deplog): constify logfile
8154 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8156 (workAreaExpose): constify widthChange, heightChange
8158 * lyxrow.C (par): moved
8161 * lyxrow.h: as inlines here
8163 * lyxfont.h (shape): moved from lyxfont.C
8164 (emph): moved from lyxfont.C
8166 * lyxfont.C (LyXFont): use initialization list for all
8168 (shape): move to lyxfont.h as inline
8169 (emph): move to lyxfont.h as inline
8172 2001-04-04 Juergen Vigna <jug@sad.it>
8174 * vspace.C: had to include stdio.h for use of sscanf
8176 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8179 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8180 independent of xforms.
8182 2001-04-02 Juergen Vigna <jug@sad.it>
8184 * spellchecker.C: fixed namespace placing!
8186 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8188 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8189 the LyXParagraph * is 0.
8191 2001-03-29 Juergen Vigna <jug@sad.it>
8193 * vspace.C: added support for %, c%, p%, l%.
8194 (stringFromUnit): added helper function.
8195 (asLatexString): changed to give right results for the %-values.
8197 * buffer.C: convert the widthp in a width%.
8199 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8201 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8204 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8205 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8207 * lyx_cb.[Ch]: see above.
8209 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8213 * lyx.[Ch]: replaced by figure_form.[Ch].
8217 * lyxfunc.C: changed headers associated with above changes.
8219 2001-03-27 Juergen Vigna <jug@sad.it>
8221 * BufferView_pimpl.C: set the temporary cursor right!
8223 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8225 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8227 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8229 * LString.h: removed "using std::getline"!
8231 * BufferView_pimpl.C (Dispatch): changes due to changes in
8232 InsetInclude::Params.
8234 * buffer.C (tag_name): removed redundant break statements as they were
8235 producing lots of warnings with my compiler.
8237 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8239 * LString.h: add "using std::getline" when using the real <string>.
8241 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8243 * buffer.C: removed bitset usage.
8244 PAR_TAG moved to an anonymous name space.
8245 (tag_name): new funtion, also in the anonymous namespace.
8246 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8247 (makeDocBookFile): clean code. Completed transition from string arrays
8249 (SimpleDocBookOnePar): code clean.
8251 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8253 * tabular.C: add some comments.
8255 2001-03-22 Juergen Vigna <jug@sad.it>
8257 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8258 compatibility read a bit and fixed bug with minipage in different
8261 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8263 * buffer.C (pop_tag): removed.
8264 (push_tag): removed.
8265 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8266 array replaced with vector. Added support for CDATA sections.
8267 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8269 (makeDocBookFile): XML conformant declaration of CDATA section,
8270 fixed bug related to <emphasis> in the first paragraph char.
8271 (sgmlOpenTag): exclude empty tags.
8272 (sgmlCloseTag): ditto.
8274 * buffer.h (pop_tag): removed.
8275 (push_tag): removed.
8277 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8279 * language.h (Languages): added size_type and size().
8281 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8283 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8284 response on compability reading of minipages. One probliem is that
8285 the old usage of minipages was «flertydig»
8287 * several files here and in subdirs: don't use static at file
8288 scope use anon namespaces instead.
8290 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8292 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8293 LaTeX output. This is necessary for Literate document
8296 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8298 * buffer.C: insert hfill when needed.
8300 * tabular.C (l_getline): use string::erase, small whitespace change.
8302 * BufferView_pimpl.C: try the anon namespace.
8305 2001-03-16 Juergen Vigna <jug@sad.it>
8307 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8308 otherwise it won't open options-dialogs.
8310 * buffer.C: honor pextraWidth(p) on converting minipages.
8312 * tabular.C (l_getline): changed the functions to strip trailing \r.
8314 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
8316 * BufferView_pimpl.C:
8317 * minibuffer..C: added "using SigC::slot" declaration.
8319 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8321 * lyxlex_pimpl.h: noncopyable is in namespace boost.
8327 * paragraph.C: ditto
8329 * lyxtext.h: NO_PEXTRA
8331 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8333 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8334 * ParameterStruct.h: ditto
8335 * ParagraphParameters.h: ditto
8336 * lyxparagraph.h: ditto
8338 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8340 * buffer.C: add compability for minipage alignment.
8341 (latexParagraphs): remove unwanted pextra check.
8343 * several files: remove CXX_WORKING_NAMESPACES
8345 * buffer.C (pop_tag): tie is in namespace boost
8347 * BufferView.h: noncopyable is in namespace boost
8352 * lastfiles.h: ditto
8353 * bufferlist.h: ditto
8354 * ShareContainer.h: ditto
8356 * LyXAction.h: ditto
8359 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8361 * Merging changes from BRANCH_MVC back into HEAD.
8363 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8365 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
8367 * BufferView_pimpl.C: change from intl.C
8371 * Makefile.am: move combox.*
8377 * intl.C: remove dialog (covered by prefs)
8379 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8381 * lyxfunc.C (Dispatch): removed redundant break statement.
8383 2001-03-14 Juergen Vigna <jug@sad.it>
8385 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8387 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8389 * buffer.C: add hack to fix compability reading of minipages.
8391 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
8393 * buffer.C (getLists): Cleanup.
8395 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8397 * lyxfont.C (update): don't honor toggleall on font size.
8399 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
8403 * Makefile.am: moved to frontends/xforms/
8407 * BufferView_pimpl.C: changes for moved mathpanel
8409 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8411 * gettext.h: fix gettext_init() in --disable-nls
8413 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8415 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8417 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8420 * lyx.h: strip external form
8422 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8424 * BufferView_pimpl.C: add comment, destroySplash()
8426 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8428 * BufferView_pimpl.C:
8432 * lyxfunc.C: use re-worked insetinclude
8434 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8436 * buffer.C: add using std::stringstream.
8438 * lyx_cb.C: readd using std::ios.
8440 * buffer.C: add using std::map.
8442 * BufferView_pimpl.C: add using std::vector.
8444 * ShareContainer.h: add std:: to swap.
8446 * buffer.h: add some typedefs
8447 * buffer.C (getLists): use them
8448 (getLists): renamed from getTocList.
8449 add a counter for the different float types and use it in the
8451 (getLists): use the same counter for the NEW_INSETS and the "non"
8454 * lyx_cb.h: remove unused items, includes, using etc.
8456 * ShareContainer.h: remove some commented code, add more comments
8457 and "documentation".
8459 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8461 * buffer.C (getTocList): make the list also when NEW_INSETS is
8464 * buffer.h: remove TocType
8466 * buffer.C (getTocList): change to return a map<string,
8467 vector<TocItem> >, implement for dynamic number of list.
8469 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8470 * text2.C (PasteSelection): adjust
8471 * CutAndPaste.C (pasteSelection): adjust
8473 * FloatList.C (FloatList): update from the new_insets branch.
8474 * Floating.[Ch]: ditto
8475 * LaTeXFeatures.C: ditto
8477 * lyxlex_pimpl.C: ditto
8479 * paragraph.C (Last): remove when NEW_INSETS is defined.
8481 * other file: changes because of the above.
8483 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8485 * lyxparagraph.h: rename next to next_, previous to previous_,
8486 make them private for NEW_INSETS. Rename Next() to next(),
8487 Previous() to previous().
8489 * other files: changes because of the above.
8491 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8494 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8497 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8499 * main.C (main): pass lyx_localedir to gettext_init().
8501 * gettext.h: remove locale_init and gettext_init macros
8503 * gettext.C (locale_init): new function
8504 (gettext_init): new function
8506 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8509 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8511 * Moved credits to frontends:
8512 * credits.[Ch]: removed
8513 * credits_form.[Ch]: removed
8514 * lyx_gui_misc.C: remove credits stuff
8517 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8519 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8521 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8522 unneeded destructor.
8524 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8525 a standalone pointer again.
8527 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8529 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8535 * ToolbarDefaults.C:
8544 * BufferView_pimpl.C: use new file dialog in GUII
8547 * lyx_cb.C: remove LayoutsCB to Toolbar
8549 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8551 * ShareContainer.h (get): add std:: qualifier
8553 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8555 * ShareContainer.h: define a proper ShareContainer::value_type
8556 type (and use typename to please compaq cxx)
8558 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8560 * lyxparagraph.h: move serveral local vars to
8561 ParameterStruct/ParagraphParameters., use ShareContainer in
8562 FontTable., make vars in FontTable private and add getter and
8565 * paragraph.C: changes because of the above.
8567 * lyxfont.h: remove copy constructor and copy assignment. (the
8568 default ones is ok), move number inside FontBits. move inlines to
8571 * lyxfont.C: add number to initializaton of statics, move several
8572 inlines here. constify several local vars. some whitespace
8573 cleanup. Dont hide outerscope variables.
8575 * Spacing.h: add two new constructors to match the set methods.
8577 * ShareContainer.h: new file, will perhaps be moved to support
8579 * ParameterStruct.h: new file
8581 * ParagraphParameters.h: new file
8583 * ParagraphParameters.C: new file
8585 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
8586 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
8588 * BufferView_pimpl.C: ParagraphParameter changes.
8589 * buffer.C: Likewise.
8590 * bufferview_funcs.C: Likewise.
8592 * text2.C: Likewise.
8594 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8596 * lyxfind.C (LyXReplace): do not redefine default argument in
8598 (IsStringInText): ditto
8599 (SearchForward): ditto
8600 (SearchBackward): ditto
8602 2001-03-06 Juergen Vigna <jug@sad.it>
8604 * lyxfind.C (IsStringInText): put parentes around expressions.
8606 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
8608 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
8610 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
8612 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
8614 * stl_string_fwd.h: add comment
8616 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
8619 * tabular.C: remove unused DocBook methods
8625 killed DO_USE_DEFAULT_LANGUAGE
8627 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8629 * lyx_gui.C: do not include language.h.
8631 * bufferview_funcs.C (ToggleAndShow): do not provide optional
8632 arguments in function implementation.
8634 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8636 * BufferView_pimpl.C: add <ctime>
8638 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8640 * BufferView_pimpl.C: add using std::find_if
8642 2001-02-27 José Matos <jamatos@fep.up.pt>
8644 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
8647 2001-02-11 José Matos <jamatos@fep.up.pt>
8649 * buffer.C (makeDocBookFile): command styles now have a parameter as
8652 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
8654 * layout_forms.[Ch]: removed
8655 * lyx_cb.[Ch]: out character
8656 * lyx_gui.C: out character
8657 * lyx_gui_misc.C: out character
8658 * bufferview_funcs.C: : out character,
8659 added toggleall as parameter in ToggleAndShow
8661 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
8663 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
8665 * text2.C (SetCurrentFont): Disable number property at boundary.
8667 2001-02-26 Juergen Vigna <jug@sad.it>
8669 * lyxfunc.C (getStatus): added a string argument override function so
8670 that this is correctly called from LyXFunc::Dispatch if it contains a
8671 do_not_use_argument which is used!
8672 (Dispatch): added check for "custom" export and call appropriate func.
8674 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
8676 * lyxrc.C: Add language_command_local, language_use_babel and
8677 language_global_options.
8679 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
8681 * buffer.C (makeLaTeXFile): Use language_use_babel and
8682 language_global_options.
8684 2001-02-23 Juergen Vigna <jug@sad.it>
8686 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
8687 which works with LyXText and putted it inside BufferView. Here now we
8688 only call for that part the BufferView::Dispatch() function.
8690 * BufferView.C (Dispatch): added.
8692 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
8693 functions which needs to use a LyXText over from LyXFunc.
8694 (MenuInsertLyXFile): added
8695 (getInsetByCode): added
8696 (moveCursorUpdate): added
8697 (static TEXT): added
8699 2001-02-22 Juergen Vigna <jug@sad.it>
8701 * BufferView_pimpl.C (update): call a status update to see if LyXText
8704 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8706 * vc-backend.C (revert): implement for CVS
8707 (getLog): implement for CVS
8709 2001-02-20 Juergen Vigna <jug@sad.it>
8711 * text2.C (ClearSelection): added BufferView param for inset_owner call
8713 * lyxfunc.C (TEXT): added this function and use it instead of
8714 directly owner->view()-text of getLyXText().
8716 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
8718 * src/layout_forms.C: out preamble
8719 * src/layout_forms.h: out preamble
8720 * src/lyx_cb.C: out preamble
8721 * src/lyx_cb.h: out preamble
8722 * src/lyx_gui.C: out preamble
8723 * src/lyx_gui_misc.C: out preamble
8724 * src/lyxfunc.C: connect with guii preamble
8726 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8728 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
8730 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
8732 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
8733 whether to run bibtex.
8735 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
8737 * Makefile.am (lyx_SOURCES): Remove BackStack.h
8739 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8741 * Makefile.am (lyx_SOURCES): removed bibforms.h
8745 * text.C (GetVisibleRow): make several local vars const
8747 * tabular.C: small cleanup.
8749 * lyxserver.C (callback): use compare instead of strncmp
8751 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
8752 inlines to after class or to paragraph.C
8754 * lyxfont.h: remove friend operator!=
8756 * converter.h: move friend bool operator< to non friend and after
8759 * combox.h: small cleanup
8761 * buffer.h: doxygen, remove unused constructor, move inclas inlies
8762 to inlines after class def.
8764 * buffer.C (pop_tag): use string operations instead of strcmp
8766 * bmtable.c: doxygen, small cleanup
8768 * LaTeX.h: remove friend operator==
8770 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8782 * BufferView_pimpl.C:
8783 * BufferView.[Ch]: remove cruft
8785 2001-02-14 Juergen Vigna <jug@sad.it>
8787 * lyxfunc.C: removed #if 0 unused code
8789 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
8791 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
8793 * text2.C (SetSelection): added a BufferView * parameter
8795 2001-02-13 Juergen Vigna <jug@sad.it>
8797 * lyxfunc.C (Dispatch): fixed protected blank problem.
8798 * BufferView2.C (protectedBlank): added LyxText * parameter.
8800 * tabular.C (AppendRow): forgot to set row_info of newly added row.
8801 (AppendColumn): same as above for column_info.
8803 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
8804 (moveCursorUpdate): use a LyXText param for support of InsetText.
8806 * BufferView_pimpl.C (doubleClick): added support for InsetText.
8807 (tripleClick): ditto
8809 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
8811 * BufferView_pimpl.C (update): added LyXText param to honor insets.
8813 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
8815 * text2.C (SetSelection): set correct update status if inset_owner
8818 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
8820 * tabular.C: remove some commented code.
8822 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8824 * BufferView_pimpl.C: call hideSplash()
8826 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
8829 * bibforms.h: remove
8832 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
8833 add LFUN_CHILD_CREATE
8835 * counters.h: fix tiny typo
8840 * lyx.C: move splash to frontends/xforms/
8842 * lyx_gui_misc.C: move Include and Bibform to frontends
8844 * lyxvc.h: clarify comment
8846 * vspace.C: tiny housekeeping
8848 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8850 * text.C (PrepareToPrint): RTL Fix.
8852 * paragraph.C (GetUChar): New method.
8853 (String): Use GetUChar.
8855 * buffer.C (asciiParagraph): Use GetUChar.
8857 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8859 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
8861 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
8864 * buffer.C: rename to getLogName(), handle
8865 build log / latex log nicely
8867 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8870 * MenuBackend.h: remove support for reference menuitem type.
8872 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
8874 * BufferView_pimpl.C: housekeeping
8875 * BufferView_pimpl.h:
8880 * minibuffer.h: move Timeout GUI-I
8882 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
8884 * lyxrc.C (read): Update converters data-structures.
8886 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
8888 * LaTeX.h (operator!=): add operator != for Aux_Info
8890 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
8892 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
8894 * LaTeXLog.C: deleted, useful code moved to Buffer
8897 * buffer.C: new function getLatexLogName()
8903 * lyxfunc.C: use frontends for LaTeX and VC logs
8905 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8907 * LaTeX.h: yet another std:: that Allan forgot.
8909 * Variables.C (set): renamed from isset(), because this clashes
8910 with some HP-UX macros (grr).
8912 2001-02-06 Allan Rae <rae@lyx.org>
8914 * LaTeX.h: Another bug fix. Missing std:: this time.
8916 2001-02-04 Allan Rae <rae@lyx.org>
8918 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
8919 floats problem. I've left it commented out because it's not quite
8920 correct. It should also test that the current object is a table or
8921 figure inset. But I haven't gotten around to figuring out how to do
8922 that. I *think* it'll be something like: "table" == inset.type()
8924 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
8927 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
8929 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
8930 all the citation/databases/styles in the auxilary file.
8931 (run): Rerun latex if there was a babel language error.
8933 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
8935 * text.C (Backspace): Preserve the font when changing newline char
8937 (BreakParagraph): If the cursor is before a space, delete the space.
8939 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
8941 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8943 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
8944 new argument (code).
8945 (ChangeCitationsIfUnique): New method.
8947 * paragraph.C (GetPositionOfInset): Handle bibkey.
8949 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8951 * BufferView_pimpl.h: change type of Position::par_pos to
8952 LyXParagraph::size_type.
8954 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
8956 * BufferView_pimpl.C (savePosition, restorePosition): Write
8957 messages to minibuffer.
8959 2001-01-28 José Matos <jamatos@fep.up.pt>
8961 * buffer.C (makeDocBookFile): adds support for document language.
8962 A silly restriction on the name of LatexCommand types where removed.
8963 Added support for CDATA sections, allows to chars unescaped, used
8964 among others in code, to avoid escape < and >.
8966 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8968 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
8969 saved positions instrad of a stack. Furthermore, a position is
8970 stored using paragraph id/paragraph position.
8972 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
8973 Remove LFUN_REF_BACK.
8975 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8977 * converter.C (dvipdfm_options): New method.
8979 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8981 * vspace.C (isValidLength): Fix for empty input string.
8983 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8985 * LyXAction.C (init): change description of LFUN_FIGURE to
8988 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8990 * LaTeX.C: add using directive
8992 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8994 * MenuBackend.C (expand): Fix the sorting of the formats.
8996 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
8998 * lyx_main.C: tiny error message fix
9000 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9002 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9003 calling fl_initialize(). This fixes the problem with ',' as
9004 decimal separator in text files.
9006 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9008 * trans.C (process): Fix the keymap bug.
9010 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9012 * LaTeX.C (scanAuxFiles): New method. Provides support for
9013 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9014 (scanLogFile) Scan for "run BibTeX" messages.
9016 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9017 OT1 font encoding. Also, load the aecompl package if the ae
9020 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9022 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9024 * texrow.C (increasePos): turn two error messages into debug
9027 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9029 * LaTeX.C (scanAux): Handle the \@input macro.
9030 (runBibTeX): Use scanAux().
9032 * language.C (latex_options_): New field.
9034 * LaTeXFeatures.C (getMacros): Add language macros.
9036 * buffer.C (makeLaTeXFile): Small fix.
9038 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9040 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9042 * text2.C: add a using directive.
9044 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9049 * lyxfunc.C: kill LyXBell.
9051 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9053 * text.C (IsBoundary): Remove the error message
9055 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9057 * lyxrc.C (setDefaults): Correct initialization value for
9060 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9062 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9065 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9068 * src/LyXAction.C: Added reference-next.
9070 * text.C (InsertChar): Use contains instead of strchr.
9072 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9074 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9076 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9077 alignment commands (when needed).
9079 * text.C (InsertChar): Add ':' to number separator chars.