2 2003-03-11 André Pönitz <poenitz@gmx.net>
4 * factory.C: make it aware of InsetHFill (not active yet)
6 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8 * buffer.C (latexParagraphs): move function from here...
9 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
12 2003-03-10 Angus Leeming <leeming@lyx.org>
14 * LyXAction.C (init): fix bug in poplating array with multiple entries
15 with the same LFUN (spotted by JMarc).
17 2003-03-10 John Levon <levon@movementarian.org>
20 * text2.C: move getColumnNearX() near its
23 2003-03-10 John Levon <levon@movementarian.org>
25 * text.C: fix break before a minipage
27 2003-03-10 John Levon <levon@movementarian.org>
29 * text.C: fix the last commit
31 2003-03-09 John Levon <levon@movementarian.org>
35 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
36 bug 365 (don't break before insets unless needed). Don't
37 return a value > last under any circumstances.
39 2003-03-09 Angus Leeming <leeming@lyx.org>
41 * BufferView_pimpl.C (trackChanges, dispatch): call
42 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
44 2003-03-09 Angus Leeming <leeming@lyx.org>
46 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
47 than Dialogs::showAboutlyx().
49 2003-03-09 Angus Leeming <leeming@lyx.org>
51 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
52 than Dialogs::showTabularCreate().
54 2003-03-09 John Levon <levon@movementarian.org>
58 * text2.C: 3rd arg to nextBreakPoint was always the same.
61 2003-03-08 John Levon <levon@movementarian.org>
68 * text2.C: Remove the "main" bit from the "main body"
71 2003-03-08 John Levon <levon@movementarian.org>
73 * text.C (leftMargin): The left margin of an empty
74 manual label paragraph should not include the label width
77 * text.C (prepareToPrint): don't attempt to measure hfills
78 for empty manual label paragraphs - the answer should be 0
80 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
82 * CutAndPaste.C: remove commented code and reindent.
84 2003-03-08 John Levon <levon@movementarian.org>
87 * lyxfunc.C: move reloadBuffer()
90 * BufferView.C: to here
92 * lyxvc.C: add comment
95 * vc-backend.C: call bv->reload() to avoid
96 getStatus() check on MENURELOAD
98 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
100 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
101 to an old format .dep file.
103 2003-03-07 Angus Leeming <leeming@lyx.org>
105 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
106 when the LFUN_MOUSE_RELEASE should have been handled by
107 inset->localDispatch.
109 2003-03-07 Angus Leeming <leeming@lyx.org>
111 * BufferView_pimpl.C (dispatch):
112 * LyXAction.C (init):
113 * ToolbarDefaults.C (init):
115 * lyxfunc.C (getStatus):
116 remove LFUN_INSET_GRAPHICS.
118 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
120 2003-03-07 Angus Leeming <leeming@lyx.org>
123 * LyXAction.C (init):
124 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
126 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
129 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
131 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
132 localDispatch method LFUN_INSET_DIALOG_UPDATE.
134 2003-03-07 Angus Leeming <leeming@lyx.org>
136 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
139 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
141 * ParagraphList.C (front): new function
144 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
146 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
147 and top_row_offset_. removed var first_y.
149 * text2.C (LyXText, removeRow):
151 * BufferView_pimpl.C:
152 use these methods instead of using first_y
154 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
156 * text2.C (pasteSelection): adjust for checkPastePossible
158 * CutAndPaste.C: remove Paragraph * buf and replace with
159 ParagraphList paragraphs.
160 (DeleteBuffer): delete
161 (cutSelection): change the tc type to textclass_type
162 (copySelection): change the tc type to textclass_type
163 (copySelection): adjust for ParagraphList
164 (pasteSelection): change the tc type to textclass_type
165 (pasteSelection): adjust for Paragraphlist
166 (nrOfParagraphs): simplify for ParagraphList
167 (checkPastePossible): simplify for ParagraphList
168 (checkPastePossible): remove unused arg
170 * ParagraphList.C (insert): handle the case where there are no
173 * CutAndPaste.h: make CutAndPaste a namespace.
175 * text3.C (dispatch): adjust
177 * text.C (breakParagraph): add a ParagraphList as arg
179 * paragraph_funcs.C (breakParagraph): change to take a
180 BufferParams and a ParagraphList as args.
181 (breakParagraphConservative): ditto
182 (mergeParagraph): ditto
183 (TeXDeeper): add a ParagraphList arg
184 (TeXEnvironment): ditto
187 * buffer.C (readLyXformat2): adjust
188 (insertStringAsLines): adjust
189 (latexParagraphs): adjust
191 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
192 (cutSelection): adjust
193 (pasteSelection): adjust
195 * BufferView_pimpl.C (insertInset): adjust
197 2003-03-05 Angus Leeming <leeming@lyx.org>
200 * LyXAction.C (init):
201 * BufferView_pimpl.C (dispatch):
202 * lyxfunc.C (getStatus):
203 remove LFUN_CHILD_INSERT.
205 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
207 2003-03-05 Angus Leeming <leeming@lyx.org>
210 * LyXAction.C (init):
211 * src/factory.C (createInset):
212 * lyxfunc.C (getStatus):
213 * text3.C (dispatch):
214 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
216 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
218 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
220 * ParagraphList.C (insert): handle insert right before end()
221 (erase): fix cases where it can be first or last paragraph.
223 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
225 * paragraph_funcs.C (TeXEnvironment): remove all usage of
226 Paragraph::next and Paragraph::previous
229 * text.C (breakParagraph): adjust
231 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
232 BufferParams& as arg.
233 (breakParagraph): use ParagraphList::insert
234 (breakParagraphConservative): take a Buffer* instead of a
235 BufferParams& as arg.
236 (breakParagraphConservative): use ParagraphList::insert.
238 * buffer.C (insertStringAsLines): un-const it
239 (insertStringAsLines): adjust
241 * ParagraphList.C (insert): new function
243 * CutAndPaste.C (pasteSelection): adjust
245 * text.C (backspace): adjust
247 * tabular.C (SetMultiColumn): adjust
249 * CutAndPaste.C (cutSelection): adjust
250 (pasteSelection): adjust
252 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
253 Buffer const * as arg
255 * ParagraphList.C (erase): new function
256 * paragraph_funcs.C (mergeParagraph): use it
257 (mergeParagraph): make it take a Buffer* instead of a
260 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
262 (breakParagraphConservative): ditto
264 * paragraph.h: remove the breakParagraph friend
266 * paragraph.C (eraseIntern): new function
267 (setChange): new function
269 * paragraph_funcs.C (mergeParagraph): make it take a
270 ParagraphList::iterator instead of a Paragraph *, adjust
273 * paragraph.h: move an #endif so that the change tracking stuff
274 also works in the NO_NEXT case.
276 2003-03-04 Angus Leeming <leeming@lyx.org>
279 * LyXAction.C: new LFUN_INSET_MODIFY.
281 * BufferView_pimpl.C (dispatch): if an inset is found to be open
282 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
284 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
286 * several files: ws changes only
288 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
289 (TeXEnvironment): ditto
292 * buffer.C (makeLaTeXFile): adjust
293 (latexParagraphs): make it take ParagraphList::iterator as args
295 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
297 * buffer.C (latexParagraphs): adjust
299 * paragraph.C (TeXOnePar): move function...
300 (optArgInset): move function...
301 (TeXEnvironment): move function...
302 * paragraph_pimpl.C (TeXDeeper): move function...
303 * paragraph_funcs.C: ...here
305 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
307 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
309 * buffer.C (readInset): remove compability code for old Figure and
312 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
314 * buffer.C: ws changes
317 * BufferView_pimpl.C: ditto
320 * bufferlist.h: ditto
324 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
326 * converter.[Ch]: split into itself +
329 * Makefile.am: += graph.[Ch] + format.[Ch]
336 * lyxrc.C: added #include "format.h"
338 2003-02-27 Angus Leeming <leeming@lyx.org>
340 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
343 * factory.C (createInset): add "label" to the factory.
345 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
346 string and do no more.
348 2003-02-27 Angus Leeming <leeming@lyx.org>
351 * LyXAction.C (init):
352 * factory.C (createInset):
353 * BufferView_pimpl.C (dispatch):
354 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
356 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
358 * lyxfunc.C (dispatch):
359 * text3.C (dispatch): pass name to params2string.
361 2003-02-26 Angus Leeming <leeming@lyx.org>
363 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
365 Rearrange the ~includes. Strip out the unnecessary ones.
367 * factory.C (createInset): reformat.
368 create new insets for the various LFUN_XYZ_APPLY lfuns.
370 2003-02-26 John Levon <levon@movementarian.org>
373 * lyxrow.C: add isParStart,isParEnd helpers
375 * paragraph.h: make isInserted/DeletedText take refs
378 * paragraph_funcs.C: remove #if 0'd code
383 * text.C: use lyxrow helpers above.
384 Move draw and paint routines to RowPainter.
385 Make several methods use refs not pointers.
386 Make backgroundColor() const.
387 Add markChangeInDraw(), isInInset().
388 Merge changeRegionCase into changeCase.
389 Make workWidth() shouldn't-happen code into an Assert.
392 * rowpainter.C: new class for painting a row.
395 * vspace.C: make inPixels take a ref
397 2003-02-26 Angus Leeming <leeming@lyx.org>
399 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
402 2003-02-25 John Levon <levon@movementarian.org>
404 * ispell.C: give the forked command a more accurate name
406 2003-02-22 John Levon <levon@movementarian.org>
409 * toc.C: make TocItem store an id not a Paragraph *
412 2003-02-21 Angus Leeming <leeming@lyx.org>
414 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
415 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
416 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
417 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
418 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
419 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
421 * BufferView_pimpl.C (dispatch):
422 * LyXAction.C (init):
423 * factory.C (createInset):
424 * lyxfunc.C (getStatus, dispatch):
425 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
427 2003-02-21 Angus Leeming <leeming@lyx.org>
429 * BufferView_pimpl.C (MenuInsertLyXFile):
430 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
431 * lyxfunc.C (menuNew, open, doImport):
432 no longer pass a LyXView & to fileDlg.
434 2003-02-21 Angus Leeming <leeming@lyx.org>
436 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
437 * LyXAction.C: change, BIBKEY to BIBITEM.
438 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
439 Change InsetBibKey to InsetBibitem.
440 Change BIBKEY_CODE to BIBITEM_CODE.
441 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
442 * factory.C: replace insetbib.h with insetbibitem.h.
443 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
444 * paragraph.C: replace insetbib.h with insetbibitem.h.
445 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
446 Change bibkey() to bibitem().
447 * text.C: remove insetbib.h.
448 * text2.C: replace insetbib.h with insetbibitem.h.
449 change bibkey() to bibitem().
450 * text3.C: remove insetbib.h.
451 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
453 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
455 * lyxrc.C (output): enclose user email in quotes (in case there are
458 2003-02-18 John Levon <levon@movementarian.org>
460 * buffer.h: add std::
462 2003-02-17 John Levon <levon@movementarian.org>
468 * pspell.C: reworking. Especially in ispell, a large
469 number of clean ups and bug fixes.
471 * lyxfunc.C: fix revert to behave sensibly
473 2003-02-17 André Pönitz <poenitz@gmx.net>
476 * commandtags.h: new LFUN_INSERT_BIBKEY
486 * paragraph_func.C: remove special bibkey handling
488 2003-02-17 John Levon <levon@movementarian.org>
490 * text.C (Delete): fix case where delete at the end of
491 the very first paragraph would not merge the pars
493 2003-02-17 John Levon <levon@movementarian.org>
495 * lyxrow.C: fix lastPrintablePos()
497 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
499 * bufferparams.C (writeLaTeX): add a std:here
501 * buffer.C: and remove a using directive there
503 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
505 * buffer.C (makeLaTeXFile): move the code that generates the
508 * bufferparams.C (writeLaTeX): ... in this new method
510 * LaTeXFeatures.C (getEncodingSet): make const
511 (getLanguages): make const
513 * MenuBackend.C (binding): returns the binding associated to this
515 (add): sets the status of each item by calling getStatus. Adds
517 (read): add support for OptSubMenu
518 (expand): remove extra separator at the end of expanded menu
520 2003-02-15 John Levon <levon@movementarian.org>
523 * BufferView_pimpl.C:
525 * bufferlist.C: remove pointless BufferStorage bloat. Remove
526 inset code that had no actual effect. Remove unneeded status
529 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
531 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
534 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
536 * text.C (drawLengthMarker): also draw an arrow marker for
537 symbolic lengths (medskip...)
539 2003-02-14 John Levon <levon@movementarian.org>
542 * tabular.C: better method names
544 2003-02-14 John Levon <levon@movementarian.org>
546 * BufferView_pimpl.C:
551 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
552 it's a more accurate name. Remove some pointless uses.
554 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
556 * text2.C (LyXText): change order of initilizers to shut off
559 2003-02-14 John Levon <levon@movementarian.org>
561 * buffer.C: use ParIterator for getParFromID()
566 * paragraph_pimpl.C: remove unused getParFromID()
568 2003-02-14 John Levon <levon@movementarian.org>
570 * buffer.C: remove some very old #if 0'd parse code
572 2003-02-13 John Levon <levon@movementarian.org>
576 * text2.C: move hfillExpansion(), numberOfSeparators(),
577 rowLast(), rowLastPrintable(), numberofHfills(),
578 numberOfLabelHfills() ...
581 * lyxrow.C: ... to member functions here.
586 * text.C: remove LyXText::beginningOfMainBody(), and call
587 p->beginningOfMainBody() directly. Move the check for
588 LABEL_MANUAL into the latter.
595 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
601 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
602 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
604 2003-02-13 John Levon <levon@movementarian.org>
606 * CutAndPaste.C: remove debug
608 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
610 * paragraph.C (asString): remove two unused variables
612 * lyxtextclass.C (readTitleType):
614 (LyXTextClass): handle new members titletype_ and titlename_
616 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
618 2003-02-09 John Levon <levon@movementarian.org>
621 * buffer.C: replace hand-coded list with a map for the dep clean
623 2003-02-08 John Levon <levon@movementarian.org>
625 * LaTeX.C: consolidate code into showRunMessage() helper
627 2003-02-08 John Levon <levon@movementarian.org>
632 * BufferView.C: change setSelectionOverString() to setSelectionRange()
633 and pass the size in explicitly
635 * BufferView_pimpl.h:
636 * BufferView_pimpl.C:
638 * BufferView.C: add getCurrentChange()
640 * BufferView_pimpl.h:
641 * BufferView_pimpl.C: handle change lfuns
643 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
644 for changes. Mark pasted paragraphs as new.
648 * DepTable.C: abstract time_t as lyx::time_type
651 * LColor.C: add colours for new text, deleted text, changebars
653 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
654 package use "usenames" option.
658 * LyXAction.C: add change lfuns
662 * author.C: author handling
665 * buffer.C: add a per-buffer author list, with first entry as
666 current author. Handle new .lyx tokens for change tracking. Output
667 author list to .lyx file. Output dvipost stuff to .tex preamble.
668 Bump lyx format to 222.
671 * bufferlist.C: add setCurrentAuthor() to reset current author details
675 * bufferparams.C: add param for tracking
677 * bufferview_funcs.C: output change info in minibuffer
681 * changes.C: add change-tracking structure
684 * debug.C: add CHANGES debug flag
687 * lyxfind.C: add code for finding the next change piece
690 * lyxrc.C: add user_name and user_email
693 * lyxrow.C: add a metric for the top of the text line
696 * text.C: implement accept/rejectChange()
699 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
700 Strike through deleted text.
705 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
706 to the insert functions. Rework erase to mark text as deleted, adding
707 an eraseIntern() and a range-based erase(). Implement
708 per-paragraph change lookup and accept/reject.
710 * paragraph_funcs.C: Fixup paste for change tracking.
712 * tabular.C: mark added row/columns as new.
714 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
715 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
717 * text2.C: leave cursor at end of selection after a cut.
719 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
721 * text.C (getLengthMarkerHeight):
722 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
723 visible on screen too.
725 2003-02-07 John Levon <levon@movementarian.org>
727 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
729 2003-02-05 Angus Leeming <leeming@lyx.org>
731 * lyxserver.C (read_ready): revert my patch of 11 September last year
732 as it sends PC cpu through the roof. Presumably this means that
733 the lyxserver will no longer run on an Alpha...
735 2003-01-30 Angus Leeming <leeming@lyx.org>
737 * factory.C (createInset): create an InsetCommandParam of type "index"
738 and use it to 'do the right thing'.
740 * text2.C (getStringToIndex): ensure that cursor position is always
741 reset to the reset_cursor position.
743 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
745 * lyxfunc.C (getStatus): "buffer-export custom" should never be
748 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
752 * lyxfunc.C: Output messages with identical spelling, punctuation,
755 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
757 * MenuBackend.C (expandFormats): List only viewable export formats
760 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
763 * lyxfunc.C (getStatus): Make sure that formats other than
764 "fax" can also be disabled
766 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
768 * text3.C (dispatch): put the lfuns that insert insets in 3
769 groups, and call doInsertInset with appropriate arguments.
770 (doInsertInset): new function, that creates an inset and inserts
771 it according to some boolean parameters.
773 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
775 * buffer.C (readFile): remember to pass on 'par' when calling
776 readFile recursively.
778 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
780 * MenuBackend.C (expandFormats): add "..." to import formats.
782 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
784 * paragraph.C (asString): Remove XForms RTL hacks.
786 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
789 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
791 * Makefile.am (LIBS): delete var
792 (lyx_LDADD): add @LIBS@ here instead.
794 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
796 * Clarify the meaning of "wheel mouse jump"
798 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
800 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
803 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
805 * importer.C (Loaders): do not preallocate 3 elements in the
806 vector, since one ends up with 6 elements otherwise
808 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
810 * DepTable.C (write): write the file name as last element of the
811 .dep file (because it may contain spaces)
812 (read): read info in the right order
814 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
816 * paragraph_pimpl.C (simpleTeXBlanks):
817 (simpleTeXSpecialChars):
818 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
820 * tabular.C (latex): add some missing case statements. Reindent.
822 * MenuBackend.C (expandToc): remove unused variable.
824 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
833 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
836 2003-01-05 John Levon <levon@movementarian.org>
839 * BufferView.C: add getEncoding()
842 * kbsequence.C: do not store last keypress
845 * lyxfunc.C: store last keypress here instead. Pass encoding
848 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
850 * lyx_main.C (init): remove annoying error message when following
851 symbolic links (bug #780)
853 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
855 * text.C (insertChar):
856 * lyxrc.C (getDescription): remove extra spaces
858 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
860 * lyxrc.C (getDescription): remove extra spaces
862 2002-12-20 John Levon <levon@movementarian.org>
864 * text3.C: hack fix for page up/down across tall rows
866 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
868 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
871 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
873 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
874 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
875 thesaurus is not compiled in
877 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
879 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
881 2002-12-16 Angus Leeming <leeming@lyx.org>
884 * lyx_main.C (init): remove override_x_deadkeys stuff.
886 2002-12-12 John Levon <levon@movementarian.org>
888 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
889 insert. Only remove shift modifier under strict
892 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
894 * MenuBackend.C (expandToc): fix crash.
896 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
898 * MenuBackend.C (expandToc): gettext on float names.
900 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
902 * lyxlength.[Ch]: set default unit to UNIT_NONE,
903 implement bool empty() [bug 490]
905 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
907 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
909 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
911 * several files: ws changes
913 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
915 * text2.C (setCounter): clean up a bit, use boost.format.
916 (updateCounters): initialize par upon declaration.
918 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
919 if the layout exists. We do not just store the layout any more.
920 (SwitchLayoutsBetweenClasses): use boost.format
922 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
924 * converter.C (convert): if from and to files are the same, use a
925 temporary files as intermediary
927 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
930 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
932 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
934 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
936 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
938 * tabular.C (asciiPrintCell): use string(size, char) instead of
941 * sgml.C (openTag): fix order of arguments to string constructor
944 * lyxfunc.C (dispatch): use boost.format
946 * lots of files: change "c" -> 'c'
948 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
950 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
952 2002-11-25 Angus Leeming <leeming@lyx.org>
954 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
956 * lyx_main.C (init): compile fix.
958 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
960 * lyx_cb.C (start): boost.formatify
961 do not include <iostream>
963 * lengthcommon.C: ws only
965 * boost-inst.C,BoostFormat.h: add more explict instantations
967 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
969 * lots of files: handle USE_BOOST_FORMAT
971 2002-11-21 John Levon <levon@movementarian.org>
973 * pspell.C: fix compile
975 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
977 * lyxfunc.C (dispatch): use boost::format
981 * lyxfont.C (stateText): use boost::format
983 * lyx_main.C (LyX): use boost::format
985 (queryUserLyXDir): ditto
988 (typedef boost::function): use the recommened syntax.
990 * importer.C (Import): use boost::format
992 * debug.C (showLevel): use boost::format
994 * converter.C (view): use boost::format
999 * bufferview_funcs.C (currentState): use boost::format
1001 * bufferlist.C (emergencyWrite): use boost::format
1003 * buffer.C (readLyXformat2): use boost::format
1004 (parseSingleLyXformat2Token): ditto
1006 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1008 * LaTeX.C (run): use boost::format
1010 * Chktex.C (scanLogFile): use boost::format
1012 * BufferView_pimpl.C (savePosition): use boost::format
1013 (restorePosition): ditto
1014 (MenuInsertLyXFile): ditto
1016 * BoostFormat.h: help file for explicit instation.
1018 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1020 * tabular.C (latex): Support for block alignment in fixed width
1023 2002-11-17 John Levon <levon@movementarian.org>
1025 * BufferView_pimpl.C:
1027 * lyxfunc.C: split filedialog into open/save
1029 2002-11-08 Juergen Vigna <jug@sad.it>
1031 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1032 by my last patch (hopefully).
1034 2002-11-08 John Levon <levon@movementarian.org>
1043 * toc.C: ParConstIterator, and use it (from Lars)
1045 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1047 * lyxtextclass.[Ch]: revise and add doxygen comments
1049 2002-11-07 John Levon <levon@movementarian.org>
1051 * text.C: fix progress value for spellchecker
1053 * toc.C: fix navigate menu for insetwrap inside minipage
1055 * paragraph_funcs.C: added FIXME for suspect code
1057 2002-11-07 John Levon <levon@movementarian.org>
1059 * BufferView_pimpl.C: fix redrawing of insets
1062 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1064 * text2.C (updateCounters): fix bug 668
1066 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1068 * text3.C (dispatch): Do not make the buffer dirty when moving the
1071 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1073 * vc-backend.C: STRCONV
1076 * text2.C (setCounter): STRCONV
1078 * paragraph.C (asString): STRCONV
1080 * lyxlength.C (asString): STRCONV
1081 (asLatexString): ditto
1083 * lyxgluelength.C (asString): STRCONV
1084 (asLatexString): ditto
1086 * lyxfunc.C (dispatch): STRCONV
1089 * lyxfont.C (stateText): STRCONV
1091 * importer.C (Import): STRCONV
1093 * counters.C (labelItem): STRCONV
1094 (numberLabel): ditto
1095 (numberLabel): remove unused ostringstream o
1100 * bufferview_funcs.C (currentState): STRCONV
1102 * buffer.C (readFile): STRCONV
1103 (asciiParagraph): ditto
1104 (makeLaTeXFile): ditto
1106 * Spacing.C (writeEnvirBegin): STRCONV
1108 * LaTeXFeatures.C (getLanguages): STRCONV
1109 (getPackages): ditto
1111 (getBabelOptions): ditto
1112 (getTClassPreamble): ditto
1113 (getLyXSGMLEntities): ditto
1114 (getIncludedFiles): ditto
1118 (scanAuxFile): ditto
1121 * LString.h: add the STRCONV macros
1123 * BufferView_pimpl.C (savePosition): STRCONV
1124 (restorePosition): ditto
1125 (MenuInsertLyXFile): ditto
1127 * vc-backend.C (scanMaster): change from submatch[...] to
1130 * funcrequest.C: include config.h
1132 * factory.C: include config.h
1134 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1136 * box.C: include config.h
1138 * LaTeX.C (scanAuxFile): change from submatch[...] to
1142 2002-10-25 Angus Leeming <leeming@lyx.org>
1144 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1146 * ispell.[Ch] (setError): new method.
1147 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1148 Use setError() insetead of goto END.
1150 * lyx_cb.C (AutoSave): move out child process into new class
1153 2002-10-30 John Levon <levon@movementarian.org>
1155 * text3.C: make start appendix undoable
1157 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1159 * lyxlength.C (inPixels): Fix returned value.
1161 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1164 2002-10-24 Angus Leeming <leeming@lyx.org>
1166 * lyxgluelength.h: no need to forward declare BufferParams
1167 or BufferView, so don't.
1169 2002-10-21 John Levon <levon@movementarian.org>
1171 * BufferView.C: menuUndo ->undo, redo
1173 * BufferView.h: document, remove dead, make some methods private
1175 * paragraph_funcs.h:
1176 * paragraph_funcs.C:
1177 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1182 * sgml.C: move sgml open/close tag into sgml.C
1184 * bufferview_funcs.h: unused prototype
1187 * lyxfunc.C: remove unused
1190 * text.C: remove unused
1192 2002-10-21 John Levon <levon@movementarian.org>
1196 * BufferView_pimpl.h:
1197 * BufferView_pimpl.C: fix mouse wheel handling based on
1198 patch from Darren Freeman
1200 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
1202 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1204 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
1206 * lyxlength.C (inPixels): Fix hanfling of negative length.
1207 Fix LyXLength::MU case.
1209 2002-10-16 John Levon <levon@movementarian.org>
1211 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1213 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1215 * converter.C (view): add support for $$i (file name) and $$p
1216 (file path) for the viewer command. If $$i is not specified, then
1217 it is appended to the command (for compatibility with old syntax)
1219 2002-10-14 Juergen Vigna <jug@sad.it>
1221 * undo_funcs.C (textHandleUndo): alter the order in which the
1222 new undopar is added to the LyXText, as we have to set first
1223 the right prev/next and then add it as otherwise the rebuild of
1224 LyXText is not correct. Also reset the cursor to the right paragraph,
1225 with this IMO we could remove the hack in "redoParagraphs()".
1227 2002-10-09 Angus Leeming <leeming@lyx.org>
1229 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1230 to turn off an optimisation if a new inset is to be inserted.
1232 2002-10-11 André Pönitz <poenitz@gmx.net>
1234 * lyxtext.h: make some functions public to allow access
1235 from inset/lyxtext for handling LFUN_PRIOR/NEXT
1237 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1239 * text3.C (dispatch): when changing layout, avoid an infinite loop
1242 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1244 * lyxrc.C (read): treat a viewer or converter command of "none" as
1247 * MenuBackend.C (expandFormats): for an update, also allow the
1248 formats that are not viewable
1250 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1251 script if it is newer than the lyxrc.defaults in user directory
1253 2002-10-07 André Pönitz <poenitz@gmx.net>
1255 * text.C: Vitaly Lipatov's small i18n fix
1257 2002-09-25 Angus Leeming <leeming@lyx.org>
1259 * ispell.h: doxygen fix.
1261 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
1263 * buffer.h (readFile): Add a new argument to the method, to allow
1264 reading of old-format templates.
1266 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1268 * toc.C (getTocList): Get TOC from InsetWrap.
1270 2002-09-16 John Levon <levon@movementarian.org>
1272 * lyxfunc.C: check tabular for cut/copy too
1274 2002-09-12 John Levon <levon@movementarian.org>
1279 * factory.C: add header
1281 * paragraph_funcs.h:
1282 * paragraph_funcs.C: cleanup
1284 2002-09-11 John Levon <levon@movementarian.org>
1286 * PrinterParams.h: odd/even default to true
1288 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1290 * PrinterParams.h: update printer parameters for new xforms dialog
1292 2002-09-11 Angus Leeming <leeming@lyx.org>
1294 * lyxserver.C (read_ready): re-write to make it more transparent
1295 and to make it work in coherent fashion under Tru64 Unix.
1297 2002-09-11 André Pönitz <poenitz@gmx.net>
1301 * text3.C: implement LFUN_WORDSEL
1303 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1305 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1306 make floatlist_ a boost::shared_ptr<FloatList>
1308 * lyxtextclass.C: include FloatList.h
1309 (LyXTextClass): initialize floatlist_
1310 (TextClassTags): add TC_NOFLOAT
1311 (Read): match "nofloat" to TC_NOFLOAT and use it.
1312 (readFloat): modify call to floatlist_
1316 * FloatList.[Ch] (FloatList): remove commented out float
1318 (erase): new function
1320 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1322 * MenuBackend.C (expandToc): fix crash when there is no document
1325 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
1327 * many files: Add insetwrap.
1329 2002-09-09 John Levon <levon@movementarian.org>
1331 * text2.C: remove confusing and awkward depth wraparound
1333 2002-09-09 John Levon <levon@movementarian.org>
1335 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1338 * buffer.C: remove getIncludeonlyList()
1341 * lyxfunc.C: remove headers
1343 2002-09-09 Juergen Vigna <jug@sad.it>
1345 * text.C (getColumnNearX): fix form Michael this is most
1346 probably a cut&paste bug.
1348 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1350 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1352 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1353 references, ws changes.
1355 * text2.C (init): update counters after init
1356 (insertParagraph): no need to set counter on idividual paragraphs.
1357 (setCounter): access the counters object in the textclass object
1358 on in the buffer object.
1359 (updateCounters): ditto
1361 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1362 shared_ptr<Counters> to avoid loading counters.h in all
1364 (LyXTextClass): initialize ctrs_
1365 (TextClassTags): add TC_COUNTER, and ...
1366 (Read): use it here.
1367 (CounterTags): new tags
1368 (readCounter): new function
1369 (counters): new funtion
1370 (defaultLayoutName): return a const reference
1372 * counters.C (Counters): remove contructor
1373 (newCounter): remove a couple of unneeded statements.
1374 (newCounter): simplify a bit.
1375 (numberLabel): some small formatting changes.
1377 * buffer.[Ch]: remove all traces of counters, move the Counters
1378 object to the LyXTextClass.
1380 2002-09-06 Alain Castera <castera@in2p3.fr>
1382 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1383 package to set the horizontal alignment on fixed width columns.
1386 * lyx_sty.h: added tabularnewline macro def.
1388 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1390 2002-09-06 John Levon <levon@movementarian.org>
1392 * LyXAction.C: tooltips for sub/superscript
1394 * MenuBackend.C: a bit more verbose
1396 * lyxfunc.C: tiny clean
1398 * undo_funcs.C: document undo_frozen
1400 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1402 * counters.C (Counters): add missing algorithm counter.
1404 * text2.C (setCounter): lookup the counter with layouts latexname
1405 instead of by section number.
1406 (setCounter): use a hackish way to lookup the correct enum
1408 a float name->type change
1409 reset enum couners with counter name directly instead of depth value.
1411 * counters.C (Counters): remove the push_backs, change to use the
1412 float type not the float name.
1413 (labelItem): remove unused string, float name->type change
1415 * counters.h: don't include vector, loose the enums and sects vectors
1417 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1419 * lyxtextclass.C (TextClassTags): add TC_FLOAT
1420 (Read): add float->TC_FLOAT to textclassTags
1421 (Read): and handle it in the switch
1422 (readFloat): new function
1424 * FloatList.C (FloatList): comment out the hardcoded float
1427 * lyxlayout.h: ws change.
1429 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
1431 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1433 2002-09-03 Angus Leeming <leeming@lyx.org>
1435 * BufferView_pimpl.h: qualified name is not allowed in member
1436 declaration: WorkArea & Pimpl::workarea() const;
1438 * factory.C: added using std::endl directive.
1440 * text3.C: added using std::find and std::vector directives.
1442 2002-08-29 André Pönitz <poenitz@gmx.net>
1445 * text2.C: remove unused member number_of_rows
1448 * BufferView2.C: remove file, move contents to...
1449 * BufferView.C: ... here
1451 * BufferView_pimpl.C:
1452 * factory.C: move more inset creation to factory
1454 * vspace.C: avoid direct usage of LyXText, ws changes
1457 don't provide direct access to WorkArea, use two simple
1458 acessors haveSelction() and workHeight() instead
1461 2002-08-29 John Levon <levon@movementarian.org>
1463 * BufferView_pimpl.C (dispatch): do not continue when
1466 2002-08-28 André Pönitz <poenitz@gmx.net>
1468 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
1471 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
1473 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1475 * buffer.C: increment LYX_FORMAT to 221
1477 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
1478 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
1480 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
1482 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
1484 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1486 * factory.C (createInset): use LyXTextClass::floats
1488 * MenuBackend.C (expandFloatListInsert):
1489 (expandFloatInsert):
1492 * text2.C (setCounter):
1494 * LaTeXFeatures.C (useFloat):
1495 (getFloatDefinitions):
1497 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
1499 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
1500 floatlist_, with accessor floats().
1502 * FloatList.h: remove global FloatList
1504 2002-08-26 André Pönitz <poenitz@gmx.net>
1506 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
1510 * BufferView_pimpl.C:
1511 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
1513 2002-08-25 John Levon <levon@movementarian.org>
1515 * LyXAction.C: fix margin note description
1517 2002-08-24 John Levon <levon@movementarian.org>
1521 * bufferview_funcs.C:
1523 * undo_funcs.C: cleanups
1525 * lyxfunc.C: disable CUT/COPY when no selection
1527 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1529 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
1530 in "enum UNIT"; e.g. PTW for Percent of TextWidth
1532 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
1533 Add backward compatibility to "mono", "gray" and "no".
1535 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
1537 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
1538 (and file_format >= 200).
1540 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1542 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
1544 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1546 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
1548 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
1550 * BufferView_pimpl.C:
1557 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
1558 inset and code to make it work with the paragraph code. The inset
1559 can be anywhere in the paragraph, but will only do the expected
1560 thing in LaTeX if the layout file contains the parameter line
1562 (or more generally, a nonzero value) for that layout.
1564 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1566 * paragraph.h: remove the declaration of undefined counters class
1569 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
1571 * text2.C (setCounter): fixed enumeration mis-count as reported by
1572 Dr. Richard Hawkins.
1574 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1576 * paragraph_funcs.h: remove some unneeded includes
1578 * text.C (backspace): pasteParagraph now in global scipe
1580 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
1581 (pasteSelection): ditto
1583 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
1584 * paragraph_funcs.C (pasteParagraph): ... here
1586 2002-08-20 André Pönitz <poenitz@gmx.net>
1588 * commandtags.h: new LFUNs for swapping/copying table row/colums
1591 * lyxfunc.C: support for new lfuns
1593 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1596 * buffer.[Ch]: remove NO_COMPABILITY stuff
1598 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
1600 * boost.C (throw_exception): new file, with helper function for
1601 boost compiled without exceptions.
1606 * ParameterStruct.h:
1607 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
1609 * bufferlist.C (emergencyWriteAll): use boost bind
1611 * BufferView_pimpl.C (moveCursorUpdate): remove inline
1613 * text.C: include paragraph_funcs.h
1614 (breakParagraph): breakParagraph is now in global scope
1616 * paragraph_funcs.[Ch]: new files
1618 * paragraph.C (breakParagraph,breakParagraphConservative): move to
1621 * buffer.C: include paragraph_funcs.h
1622 (insertStringAsLines): breakParagraph is now in global scope
1624 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
1627 * CutAndPaste.C: include paragraph_funcs.h
1628 (cutSelection): breakParagraphConservative is now in global scope
1629 (pasteSelection): ditto
1631 * buffer.h: declare oprator== and operator!= for
1632 Buffer::inset_iterator
1634 * bufferlist.C (emergencyWrite): don't use fmt(...)
1636 * text3.C: add using std::endl
1638 * BufferView.C (moveCursorUpdate): remove default arg
1640 2002-08-20 André Pönitz <poenitz@gmx.net>
1642 * buffer.[Ch]: move inline functions to .C
1645 * BufferView_pimpl.C:
1647 * buffer.[Ch]: use improved inset_iterator
1650 * paragraph.[Ch]: write one paragraph at a time
1652 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
1654 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
1655 style if style is not specified.
1657 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1659 * text2.C (setCounter): when searching for right label for a
1660 caption, make sure to recurse to parent insets (so that a caption
1661 in a minipage in a figure float works) (bug #568)
1663 2002-08-20 André Pönitz <poenitz@gmx.net>
1665 * text3.C: new file for LyXText::dispatch() and helpers
1667 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
1669 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
1671 2002-08-19 André Pönitz <poenitz@gmx.net>
1674 * text.C: new LyXText::dispatch()
1676 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
1678 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
1680 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
1682 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
1685 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1687 * Makefile.am: use $(variables) instead of @substitutions@
1689 2002-08-15 André Pönitz <poenitz@gmx.net>
1692 * BufferView_pimpl.C: streamlining mathed <-> outer world
1696 * LyXAction.C: remove unused LFUN_MATH
1698 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1700 * paragraph.[Ch]: add some NO_NEXT ifdefs.
1702 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1704 * paragraph.C (Paragraph): reformat a bit
1705 (cutIntoMinibuffer): use builtin InsetList function instad of
1709 * buffer.C: include boost/bind.hpp, add using std::for_each
1710 (writeFileAscii): use ParagraphList iterators
1711 (validate): use for_each for validate traversal of paragraphs
1712 (getBibkeyList): use ParagraphList iterators
1713 (resizeInsets): use for_each to resizeInsetsLyXText for all
1715 (getParFromID): use ParagraphList iterators
1717 * BufferView2.C (lockInset): use paragraph list and iterators
1719 2002-08-14 John Levon <levon@movementarian.org>
1721 * lyxserver.C: remove spurious xforms include
1723 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1725 * lyxfunc.C (getStatus): disable math-extern outside of math mode
1727 2002-08-13 André Pönitz <poenitz@gmx.net>
1730 * lyxfunc.C: further cleaning
1732 2002-08-13 André Pönitz <poenitz@gmx.net>
1734 * funcrequest.h: new constructor
1736 * funcrequest.C: move stuff here from .h
1739 * BufferView_pimpl.C:
1742 * lyxfunc.C: subsequent changes
1744 * lyxfunc.h: new view() member function
1746 * lyxfunc.C: subsequent changes
1748 2002-08-13 Angus Leeming <leeming@lyx.org>
1751 * BufferView_pimpl.C:
1759 changes due to the changed LyXView interface that now returns references
1760 to member variables not pointers.
1762 2002-08-13 Angus Leeming <leeming@lyx.org>
1764 * WordLangTuple (word, lang_code): return references to strings,
1769 * lyxtext.h: forward-declare WordLangTuple.
1774 * text.C: #include "WordLangTuple.h".
1777 * text.C: (selectNextWordToSpellcheck): constify return type.
1779 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
1785 * paragraph_pimpl.h:
1788 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
1790 Made updateCounter always count from start of buffer, and removed
1791 second argument (par).
1792 Reverted floats number display to '#'. Perhaps I'll try again when the
1793 code base is sanitized a bit.
1795 2002-08-12 Angus Leeming <leeming@lyx.org>
1797 * buffer.[Ch] (getLabelList): constify.
1799 2002-08-07 André Pönitz <poenitz@gmx.net>
1801 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
1803 * funcrequest.h: extension to keep mouse (x,y) position
1805 2002-08-12 Juergen Vigna <jug@sad.it>
1807 * BufferView2.C (insertErrors): forbid undo when inserting error
1810 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
1812 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1814 * ParagraphList.[Ch]: new files
1816 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
1818 * BufferView2.C (lockInset): ParagraphList changes
1821 * bufferlist.C: ditto
1825 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1827 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
1828 unused class variable counter_,
1830 * paragraph.[Ch] (getFirstCounter): delete unused function
1832 * counters.C: include LAssert.h
1833 (reset): add a new function with no arg, change other version to
1834 not have def. arg and to not allow empty arg.
1836 * text2.C (setCounter): remove empty arg from call to Counters::reset
1838 2002-08-11 John Levon <levon@movementarian.org>
1840 * Makefile.am: add WordLangTuple.h
1842 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1844 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
1845 lyxfunc.C lyxlex_pimpl.C: ws changes only.
1847 * insets/insettext.C: InsetList changes
1849 * graphics/GraphicsSupport.C (operator()): InsetList changes
1851 * toc.C (getTocList): InsetList changes
1853 * paragraph_pimpl.[Ch]: InsetList changes
1855 * paragraph.[Ch]: InsetList changes
1857 * buffer.C (inset_iterator): InsetList changes
1858 (setParagraph): ditto
1859 * buffer.h (inset_iterator): ditto
1860 * iterators.C (operator++): ditto
1861 * iterators.h: ditto
1863 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
1865 * InsetList.[Ch]: new files, most InsetList handling moved out of
1868 * BufferView2.C (removeAutoInsets): InsetList changes
1870 (ChangeInsets): ditto
1872 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1874 * paragraph_pimpl.h (empty): new function
1876 * paragraph.[Ch] (empty): new function
1878 * other files: use the new Paragraph::empty function
1880 2002-08-09 John Levon <levon@movementarian.org>
1882 * lyxtext.h: remove unused refresh_height
1884 2002-08-09 John Levon <levon@movementarian.org>
1891 * paragraph.C: move sgml char escaping out of paragraph
1894 * paragraph.C: remove id setter
1898 * paragraph_pimpl.C: remove dead tex_code_break_column
1900 * bufferview_funcs.C: small cleanup
1902 * lyxfunc.C: remove dead proto
1904 * lyxtext.h: make some stuff private. Remove some dead stuff.
1906 * lyxgluelength.C: make as[LyX]String() readable
1908 2002-08-08 John Levon <levon@movementarian.org>
1913 * ToolbarDefaults.C:
1916 * toc.C: lyxaction cleanup
1918 2002-08-08 John Levon <levon@movementarian.org>
1920 * BufferView2.C: small cleanup
1923 * lyxfind.C: move unnecessary header into the .C
1925 2002-08-08 John Levon <levon@movementarian.org>
1927 * funcrequest.h: just tedious nonsense
1930 * lyx_main.C: cleanups
1933 * vspace.C: remove dead header lyx_main.h
1935 2002-08-07 Angus Leeming <leeming@lyx.org>
1938 * paragraph_pimpl.h:
1939 Forward declare class Counters in paragraph.h by moving the ctrs member
1940 variable into Paragraph::Pimpl.
1941 (counters): new method, returning a reference to pimpl_->ctrs.
1943 * text2.C: ensuing changes.
1945 2002-08-07 John Levon <levon@movementarian.org>
1947 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
1949 * BufferView_pimpl.C: announce X selection on double/triple
1952 * lyx_main.C: use correct bool in batch dispatch
1954 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
1956 2002-08-07 André Pönitz <poenitz@gmx.net>
1958 * funcrequest.h: new class to wrap a kb_action and its argument
1961 * BufferView_pimpl[Ch]:
1965 * lyxrc.C: subsequent changes
1968 2002-08-07 John Levon <levon@movementarian.org>
1970 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
1971 document options change.
1973 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1978 * makefile.am: move counters functionality over from
1979 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
1981 2002-08-06 John Levon <levon@movementarian.org>
1983 * WordLangTuple.h: new file for word + language code tuple
1994 * BufferView2.C: use WordLangTuple
1997 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
1999 2002-08-06 John Levon <levon@movementarian.org>
2001 * lyx_main.C: fix cmdline batch handling
2003 2002-08-06 André Pönitz <poenitz@gmx.net>
2005 * lyxrc.C: set default for show_banner to true
2007 2002-08-06 John Levon <levon@movementarian.org>
2009 * pspell.C: fix a crash, and allow new aspell to work
2011 2002-08-06 John Levon <levon@movementarian.org>
2014 * kbmap.C: small cleanup
2017 * vspace.C: add const
2019 2002-08-05 John Levon <levon@movementarian.org>
2021 * LyXAction.C: back to tabular-insert
2023 2002-08-04 John Levon <levon@movementarian.org>
2026 * BufferView.C: cosmetic change
2028 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2038 * BufferView2.C: purge all "Lyx" not "LyX" strings
2041 * lyxcursor.C: attempt to add some documentation
2046 * ToolbarDefaults.C:
2047 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2048 merge with LFUN_TABULAR_INSERT
2055 * pspell.C: split up i/pspell implementations into separate
2056 files, many cleanups
2058 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2060 * text2.C: some cleanup
2062 * lyxfunc.C: don't check for isp_command == "none" any more, it
2063 didn't make any sense
2065 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2070 * makefile.am: move counters functionality over
2071 from text2.C/paragraph.[Ch] to counters.[Ch], and
2073 2002-08-02 John Levon <levon@movementarian.org>
2075 * buffer.C: s/lyxconvert/lyx2lyx/
2077 2002-08-02 Angus Leeming <leeming@lyx.org>
2079 * lyxlex.C: revert John's change as it breaks reading of the user
2082 2002-08-02 Angus Leeming <leeming@lyx.org>
2084 * importer.C (Import):
2085 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2086 changes due to LyXView::view() now returning a boost::shared_ptr.
2088 2002-08-02 John Levon <levon@movementarian.org>
2090 * lyxlex.C: small cleanup
2092 2002-08-02 John Levon <levon@movementarian.org>
2094 * text2.C (status): small cleanup, no logic change
2096 2002-08-01 John Levon <levon@movementarian.org>
2099 * buffer.C (writeFile): don't output alerts, caller
2103 * lyx_cb.C: from above
2105 * lyxfunc.C: allow to open non-existent files
2107 2002-07-31 John Levon <levon@movementarian.org>
2109 * lyxserver.C: don't let incidental errors get
2112 2002-07-30 John Levon <levon@movementarian.org>
2114 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2116 2002-07-30 John Levon <levon@movementarian.org>
2119 * lyxserver.C: remove I/O callback too
2121 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2123 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2126 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2128 * many files: strip,frontStrip -> trim,ltrim,rtrim
2130 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2132 * PrinterParams.h: remove extern containsOnly, and include
2133 support/lstrings.h instead.
2135 * LaTeX.C (scanAuxFile): modify because of strip changes
2137 * buffer.C (makeLaTeXFile): ditto
2138 * bufferparams.C (writeFile): ditt
2139 * lyxfont.C (stateText): ditto
2140 * lyxserver.C (read_ready): ditto
2141 * vc-backend.C (scanMaster): ditto
2143 * BufferView_pimpl.h: ws changes
2145 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2147 2002-07-26 André Pönitz <poenitz@gmx.net>
2149 * kb_sequence.C: remove unnedred usings
2151 2002-07-26 Juergen Vigna <jug@sad.it>
2153 * lyxfind.C (LyXReplace): we have to check better if the returned
2154 text is not of theLockingInset()->getLockingInset().
2156 2002-07-25 Juergen Vigna <jug@sad.it>
2158 * lyxfind.C (LyXReplace): don't replace if we don't get the
2161 * undo_funcs.C (createUndo): remove debugging code.
2163 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2165 * buffer.C (parseSingleLyXformat2Token): Use default placement
2166 when reading old floats.
2168 * FloatList.C (FloatList): Change the default placement of figure
2169 and tables to "tbp".
2171 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2173 * MenuBackend.C: using std::max
2175 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2177 * MenuBackend.C (expandToc):
2178 (expandToc2): code moved from xforms menu frontend. It is now
2179 generic and TOCs are transparent to menu frontends.
2181 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2183 * toc.C (getTocList): protect against buf=0
2185 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2186 Menu as first parameter. Now, this calls itself recursively to
2187 expand a whole tree (this will be useful for TOC handling)
2188 (expandFloatInsert): remove 'wide' version of floats
2190 * MenuBackend.h (submenuname): returns the name of the submenu.
2191 (submenu): returns the submenu itself, provided it has been
2192 created by MenuBackend::expand
2194 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2196 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2197 insets which have noFontChange == true. (bug #172)
2199 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2201 * BufferView_pimpl.C: add connection objects and use them...
2204 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2206 * MenuBackend.C (expandLastfiles):
2209 (expandFloatListInsert):
2210 (expandFloatInsert):
2211 (expand): split expand in parts
2213 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2215 * lyx_gui.C: use lyx_gui::exit()
2217 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2219 * LyXAction.C: show the failing pseudo action
2221 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
2223 * buffer.C (readFile): Run the lyxconvert script in order to read
2226 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2230 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2232 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2236 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2238 2002-07-22 Herbert Voss <voss@lyx.org>
2241 * lyxlength.[Ch]: add support for the vertical lengths
2243 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
2245 * toc.[Ch]: std:: fixes
2247 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2249 * lyxrc.C: do not include lyx_main.h
2251 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2257 * BufferView2.C: include "lyxlex.h"
2260 * bufferparams.h: do not #include "lyxlex.h"
2262 * lyxtextclasslist.C (Add): remove method
2263 (classlist): renamed to classlist_
2265 * paragraph_pimpl.C:
2269 * bufferview_funcs.C:
2274 * toc.C (getTocList): use BufferParams::getLyXTextClass
2276 * toc.C (getTocList): use InsetFloat::addToToc
2278 * toc.[Ch]: new files, containing helper functions to handle table
2281 * lyxfunc.C (dispatch): no need to remove spaces around command
2283 (getStatus): handle LFUN_SEQUENCE by returning the status of the
2284 first command of the sequence; it is not very clever, but I do not
2285 have a better idea, actually
2287 * LyXAction.C (LookupFunc): make sure to remove space at the
2288 beginning and end of the command
2290 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2292 * MenuBackend.C (getMenubar): new method: return the menubar of
2294 (read): treat differently reading of menu and menubar (in
2295 particular, the menubar has no name now)
2296 (Menu::menubar): remove
2298 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2301 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2303 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2304 a bibitem inset in a RTL paragraph.
2306 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2308 * paragraph_pimpl.C: constify
2310 * BufferView_pimpl.C:
2312 * lyxfunc.C: fix dispatch in a nicer way
2314 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2316 * lyxfunc.C (dispatch):
2317 * BufferView_pimpl.C:
2318 * BufferView_pimpl.h:
2320 * BufferView.h: rename Dispatch() to dispatch()
2322 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2324 * lyxlayout.C (Read): honor DependsOn tag
2326 * lyxlayout.[Ch] (depends_on): new method
2328 * version.C.in: update lyx_docversion
2330 * LaTeXFeatures.C (getMacros): only define \LyX when needed
2332 * paragraph.C (validate): remove from here...
2333 * paragraph_pimpl.C (validate): ... and move here
2334 (isTextAt): make it const
2336 * buffer.C (getLists): ws cleanup
2338 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2340 * language.C (read): Use iso8859-1 encoding in latex_lang
2341 (this prevents LyX from crashing when using iso10646-1 encoding).
2343 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2345 * text2.C (toggleInset): if cursor is inside an inset, close the
2346 inset and leave cursor _after_ it
2348 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2350 * lyxfunc.C: move minibuffer completion handling out of here
2352 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2354 * BufferView_pimpl.C:
2355 * LaTeX.C: fix dispatch calls
2357 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2359 * text.C (drawChars): Fix Arabic text rendering.
2361 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2365 * lyxfunc.C: remove message-push/pop
2369 * lyxfunc.C: rationalise some code by removing verboseDispatch
2370 in favour of a bool argument to dispatch()
2372 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2374 * lyx_main.C (init): make sure to read symlinks as absolute paths
2376 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2379 * lyxfunc.C: no need for commandshortcut to be a member
2381 2002-07-15 André Pönitz <poenitz@gmx.net>
2383 * converter.C: add support for $$s (scripts from lib/scripts dir)
2384 * lyx_main.C: white space
2386 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2390 * lyxrc.C: remove second exit confirmation
2392 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2397 * BufferView_pimpl.h:
2398 * BufferView_pimpl.C:
2399 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2401 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2403 * MenuBackend.C (expand): add numeric shortcuts to document menu
2405 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2407 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2409 * lyxfont.C (setLyXFamily):
2416 * buffer.C (asciiParagraph): use ascii_lowercase
2418 2002-07-15 Mike Fabian <mfabian@suse.de>
2420 * lyxlex_pimpl.C (search_kw):
2421 * lyxlex.C (getLongString):
2422 * converter.h (operator<):
2423 * converter.C (operator<):
2424 * buffer.C (parseSingleLyXformat2Token):
2426 * ToolbarDefaults.C (read):
2427 * MenuBackend.C (checkShortcuts):
2429 * LColor.C (getFromGUIName):
2430 (getFromLyXName): use the compare_ascii_no_case instead of
2431 compare_no_case, because in turkish, 'i' is not the lowercase
2432 version of 'I', and thus turkish locale breaks parsing of tags.
2434 2002-07-16 Angus Leeming <leeming@lyx.org>
2436 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
2437 now takes a Buffer const & argument.
2439 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2441 * BufferView.C (resize): check there's a buffer to resize
2443 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
2445 * lyxfunc.C: remove dead code
2448 * lyxserver.C: use lyx_guii::set_read_callback
2450 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2452 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
2453 an inset in a RTL paragraph.
2455 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2457 * lyxfunc.C: repaint after a font size update
2459 2002-07-15 André Pönitz <poenitz@gmx.net>
2461 * lyxlength.C: inBP should be able to return negative values
2463 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2465 * lyxfunc.C: use lyx_gui::update_fonts()
2467 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2469 * lyxfunc.C: use lyx_gui::update_color()
2471 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2477 * lyxrc.C: remove file->new asks for name option, and let
2478 buffer-new take an argument
2480 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2482 * BufferView_pimpl.C: remove unneeded extra repaint()
2484 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
2486 * LyXAction.C: allow command-sequence with NoBuffer
2488 * lyxfunc.C: don't insist on trailing ';' for command-sequence
2490 2002-07-10 Angus Leeming <leeming@lyx.org>
2492 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
2494 2002-07-09 Angus Leeming <leeming@lyx.org>
2496 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
2498 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2500 * lengthcommon.h: whitespace
2502 * lyxfunc.C: update scrollbar after goto paragraph
2504 * lyxtext.h: factor out page break drawing, and fix it so
2505 page break/added space paints as selected nicely
2507 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2509 * BufferView_pimpl.C: add FIXMEs, clean up a little
2511 2002-07-09 André Pönitz <poenitz@gmx.net>
2513 * lyxfont.[Ch]: support for wasy symbols
2515 2002-07-08 André Pönitz <poenitz@gmx.net>
2517 * BufferView_pimpl.C: apply John's patch for #93.
2519 2002-07-05 Angus Leeming <leeming@lyx.org>
2521 * BufferView_pimpl.C (buffer): generate previews if desired.
2523 * LColor.h: add "preview" to the color enum.
2525 * LColor.C (LColor): add a corresponding entry to the items array.
2527 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
2530 2002-07-05 Angus Leeming <leeming@lyx.org>
2532 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
2533 The body of the code is now in the method that is passed an ostream &
2534 rather than a file name.
2535 Pass an additional only_preamble parameter, useful for the forthcoming
2538 2002-07-03 André Pönitz <poenitz@gmx.net>
2540 * lyxfunc.C: simplify getStatus() a bit for math stuff
2542 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2544 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
2546 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2548 * text.C (changeRegionCase): do not change case of all the
2549 document when region ends at paragraph end (bug #461)
2551 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2553 * paragraph.C (startTeXParParams):
2554 (endTeXParParams): add \protect when necessary
2556 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2558 * BufferView_pimpl.C (workAreaExpose): remove warning
2560 2002-06-27 Angus Leeming <leeming@lyx.org>
2562 * Makefile.am: add lyxlayout_ptr_fwd.h.
2564 2002-06-26 André Pönitz <poenitz@gmx.net>
2566 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
2568 2002-06-25 Angus Leeming <leeming@lyx.org>
2570 * lyxfunc.C (dispatch): Comment out the call to
2571 grfx::GCache::changeDisplay. The method no longer exists now that the
2572 pixmap generation part of the graphics loader has been moved into
2575 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2577 * text2.C: layout as layout
2579 * text.C: layout as layout
2581 * tabular.C (OldFormatRead): layout as layout
2583 * paragraph_pimpl.C (TeXDeeper): layout as layout
2584 (realizeFont): layout as layout
2586 * paragraph.C (writeFile): layout as layout
2587 (validate): layout as layout
2588 (getFont): layout as layout
2589 (getLabelFont): layout as layout
2590 (getLayoutFont): layout as layout
2591 (breakParagraph): layout as layout
2592 (stripLeadingSpaces): layout as layout
2593 (getEndLabel): layout as layout
2594 (getMaxDepthAfter): layout as layout
2595 (applyLayout): layout as layout
2596 (TeXOnePar): layout as layout
2597 (simpleTeXOnePar): layout as layout
2598 (TeXEnvironment): layout as layout
2599 (layout): layout as layout
2600 (layout): layout as layout
2602 * lyxtextclass.C (compare_name): new functor to work with
2603 shared_ptr, layout as layout
2604 (Read): layout as layout
2605 (hasLayout): layout as layout
2606 (operator): layout as layout
2607 (delete_layout): layout as layout
2608 (defaultLayout): layout as layout
2610 * lyxlayout_ptr_fwd.h: new file
2612 * lyxlayout.C (Read): layout as layout
2614 * lyx_cb.C (MenuInsertLabel): layout as layout
2616 * bufferlist.C (newFile): layout as layout
2618 * buffer.C (readLyXformat2): layout as layout
2619 (parseSingleLyXformat2Token): layout as layout
2620 (insertStringAsLines): layout as layout
2621 (asciiParagraph): layout as layout
2622 (latexParagraphs): layout as layout
2623 (makeLinuxDocFile): layout as layout
2624 (simpleLinuxDocOnePar): layout as layout
2625 (makeDocBookFile): layout as layout
2626 (simpleDocBookOnePar): layout as layout
2627 (getLists): layout as layout
2629 * LaTeXFeatures.C (getTClassPreamble): layout as layout
2631 * CutAndPaste.C (cutSelection): layout as layout
2632 (pasteSelection): layout as layout
2633 (SwitchLayoutsBetweenClasses): layout as layout
2635 * BufferView_pimpl.C (Dispatch): layout as layout
2636 (smartQuote): layout as layout
2638 * BufferView2.C (unlockInset): layout as layout
2640 2002-06-24 André Pönitz <poenitz@gmx.net>
2642 * lyxfunc.C: fix #487
2644 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2648 * lyxfunc.C: remove display_shortcuts, show_banner
2650 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2652 * Buffer_pimpl.C: oops, update on resize
2654 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2661 * BufferView.C: use repaint()
2663 * BufferView_pimpl.h:
2664 * BufferView_pimpl.C: s/updateScreen()/repaint()/
2665 as it's a clearer description. Remove superfluous
2668 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2670 * text.C: fix bug 488. Not ideal, but getting
2671 getWord() to work properly for the insets that
2672 matter is more difficult ...
2674 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2676 * BufferView_pimpl.C:
2679 * lyxfunc.C: remove the six million index lyxfuncs to just
2680 one, and DTRT (bug 458)
2682 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2686 * BufferView_pimpl.h:
2687 * BufferView_pimpl.C: clean up resize() stuff,
2688 and unnecessary updateScreen()s
2690 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2694 * BufferView_pimpl.h:
2695 * BufferView_pimpl.C:
2698 * minibuffer.C: remove focus management of workarea,
2699 not needed. Use screen's greyOut()
2701 2002-06-17 Herbert Voss <voss@lyx.org>
2703 * converter.C: (convert) do not post a message, when converting
2704 fails, let the calling function decide what to do in this case
2706 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
2708 * lyxfunc.C: tidy up a little
2710 2002-06-16 <alstrup@diku.dk>
2712 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
2713 Got rid of FORMS_H_LOCATION include. Now we are
2716 2002-06-15 LyX Development team <lyx@rilke>
2718 * buffer.[Ch] (sgmlOpenTag):
2719 (sgmlCloseTag): Added support for avoiding pernicious mixed
2720 content. Return number of lines written.
2723 (makeDocBookFile): Fixed calls to sgml*Tag.
2724 Simple white space clean.
2726 (simpleDocBookOnePar): Simple white space clean.
2728 * tabular.[Ch] (docBook): Renamed to docbook and got another
2729 argument to related with the pernicious mixed content.
2731 (docbookRow): Fixed calls for docbook inset method.
2733 2002-06-15 Lyx Development team <larsbj@birdstep.com>
2735 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
2736 so it's X11 independent.
2740 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
2742 2002-06-15 Lyx Development team <lyx@electronia>
2744 * intl.h: Renamed getTrans to getTransManager.
2746 2002-06-14 Angus Leeming <leeming@lyx.org>
2748 * Makefile.am: nuke forgotten stl_string_fwd.h.
2750 2002-06-12 Angus Leeming <leeming@lyx.org>
2752 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
2754 2002-06-13 Angus Leeming <leeming@lyx.org>
2757 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
2759 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
2761 * kbmap.C (getiso): add support for cyrillic and greek
2763 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2767 * BufferView_pimpl.h:
2768 * BufferView_pimpl.C: move bogus scrolling logic
2771 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2774 * BufferView_pimpl.C: view->resize() change
2776 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2778 * BufferView_pimpl.C: topCursorVisible
2781 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2785 * lyx_gui.C: move to frontends/
2789 * lyx_main.C: changes from above
2791 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2798 * lyx_main.C: minor tidy
2800 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2802 * BufferView_pimpl.h:
2803 * BufferView_pimpl.C:
2805 * BufferView.C: make painter() const,
2808 * BufferView2.C: use screen() accessor
2811 * lyx_main.C: some minor cleanup
2813 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2815 * BufferView_pimpl.h:
2816 * BufferView_pimpl.C: remove enter/leaveView,
2819 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2824 * BufferView_pimpl.h:
2825 * BufferView_pimpl.C: only construct screen once,
2828 * lyxrc.C: remove pointless comment
2830 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2833 * BufferView.C: remove active() and belowMouse()
2835 * BufferView_pimpl.h:
2836 * BufferView_pimpl.C: use workarea() not workarea_,
2837 and make it use a scoped_ptr instead
2839 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2841 * lyx_gui.C: add debug message on BadWindow
2843 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2845 * sp_spell.C: fdopen is not part of the C++ standard.
2847 * paragraph.C (InsetIterator): use >= instead of ==
2849 2002-06-07 Angus Leeming <leeming@lyx.org>
2851 Fixes needed to compile with Compaq cxx 6.5.
2852 * BufferView_pimpl.C:
2859 * lyxtextclasslist.C:
2864 all c-library variables have been moved into namespace std. Wrap
2865 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2870 Add a using std::abs declaration.
2872 * kbmap.h (modifier_pair):
2873 * paragraph.h (InsetTable, InsetList):
2874 * lyxfont.h (FontBits):
2875 type definition made public.
2877 * bufferlist.C (emergencyWriteAll): the compiler complains that
2878 there is more than one possible lyx::class_fun template to choose from.
2879 I re-named the void specialisation as lyx::void_class_fun.
2881 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
2883 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
2884 the compiler is is unable to find tostr in write_attribute.
2886 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2888 * buffer.C (sgmlError): hide #warning
2890 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2892 * xtl/*: get rid of xtl, which is not in use anyway
2894 * LyXAction.C (init):
2895 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
2896 were unimplemented xtl experimentation
2898 2002-06-04 André Pönitz <poenitz@gmx.net>
2900 * lyxfunc.C: disable array operation on simple formulae
2902 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
2904 * converter.C: constify a bit
2906 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
2908 * lyx_gui.C: check xforms version correctly
2910 2002-04-30 Herbert Voss <voss@lyx.org>
2912 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
2915 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
2917 * lyxvc.C: fix bug 416 (make sure buffer is saved before
2918 attempt to register it with a VCS)
2920 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2922 * lyx_main.C (init): honor variables LYX_DIR_13x and
2925 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2929 * lyx_main.C: fix a crash on bad command line,
2930 and give a useful exit status on error
2932 * lyxfunc.C (doImport): allow -i lyx to work
2934 2002-03-30 André Pönitz <poenitz@gmx.net>
2936 * lyxfunc.C: mathed font changes
2938 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2953 * trans_mgr.h: srcdocs, and some minor cleanups
2955 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2957 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
2958 call getFont all the time)
2960 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2962 * switch from SigC signals to boost::signals
2964 2002-05-29 André Pönitz <poenitz@gmx.net>
2966 * paragraph_pimpl.C (getChar): don't call size() too often...
2968 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2970 * paragraph_pimpl.C (insertChar): do not try to update tables when
2971 appending (pos == size())
2973 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
2974 in order to reduce drastically the number of comparisons needed to
2975 parse a large document
2977 2002-05-29 André Pönitz <poenitz@gmx.net>
2983 * textclasslist.[Ch]:
2984 * sp_ispell.h: whitespace change
2986 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2988 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
2989 lyxaction directly now.
2991 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
2995 * lyxvc.C: remove unused headers
2997 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3004 * undo_funcs.C: some cleanups. Use shared_ptr
3005 and a template for the undo stacks.
3007 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3009 * BufferView_pimpl.h:
3010 * BufferView_pimpl.C:
3017 * text2.C: use key_state/mouse_state
3019 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3021 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3024 * chset.C: change include order
3025 (loadFile): use boost regex and get rid of LRegex and LSubstring
3027 * Makefile.am (BOOST_LIBS): new variable
3030 * LaTeX.C: change include order.
3031 (scanAuxFile): use boost regex and get rid of LRegex and
3035 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3040 * FontInfo.C: moved to frontends/xforms/
3043 * FontLoader.C: moved into frontends for GUIIzation
3048 * lyxfunc.C: changes from above
3050 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3052 * LColor.C: remove spurious X include
3054 * BufferView_pimpl.C:
3059 * text2.C: move font metrics to frontends/
3061 2002-05-24 Juergen Vigna <jug@sad.it>
3063 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3064 setting the undo_cursor.
3066 * ParagraphParameters.h: include local includes first.
3068 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3070 * BufferView_pimpl.C:
3071 * BufferView_pimpl.h:
3075 * screen.C: move WorkArea into frontends/
3081 * BufferView2.C: move LyXScreen into frontends/
3085 * lyx_gui.C: move lyxlookup into frontends/xforms/
3087 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3090 * BufferView_pimpl.C:
3100 * bufferview_funcs.C:
3113 * vc-backend.C: move LyX/XFormsView into frontends/
3115 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3127 * text2.C: move Painter to frontends/
3129 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3131 * buffer.C: comment out some some code that depend upon lyx_format
3134 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3135 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3137 * buffer.h (NO_COMPABILITY): turn off compability
3139 * ColorHandler.C: include scoped_array.hpp
3141 * font.C: Use more specific smart_ptr header.
3144 * ShareContainer.h: ditto
3148 * BufferView_pimpl.h: ditto
3149 * ColorHandler.h: ditto
3151 * kbmap.C (defkey): change call to shared_ptr::reset
3153 2002-05-21 Juergen Vigna <jug@sad.it>
3155 * buffer.C (insertErtContents): fix to insert ert asis if it is
3156 non empty. Skip it completely if it contains only whitespaces.
3158 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3160 * BufferView_pimpl.C:
3161 * BufferView2.C: clear selection on paste (bug 393)
3163 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3165 * DepTable.C: include ctime
3167 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3169 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3171 2002-05-14 Juergen Vigna <jug@sad.it>
3173 * text.C (breakParagraph): fixed function to honor the keepempty
3174 layout in the right maner and also to permit the right breaking
3175 algorithm on empty or non empyt keepempty paragraphs.
3177 * paragraph.C (breakParagraph): we have to check also if the par
3178 is really empty (!size()) for isempty otherwise we do the wrong
3181 2002-05-10 Juergen Vigna <jug@sad.it>
3183 * buffer.[Ch] : The following are only changes to the ert
3184 compatibility read reading old LaTeX layout and font stuff and
3185 convert it to ERTInsets.
3187 * buffer.h: added isErtInset().
3189 * buffer.C (struct ErtComp): add a fromlayout bool to check
3190 if we're inside a LaTeX layout.
3191 (isErtInset): new helper function.
3192 (insertErtContents): look for other ert insets before this one
3193 and insert the contents there, so that we don't have subsequent
3194 ERT insets with nothing between them. This way we create only one
3195 inset with multiple paragraphs. Also check if we don't insert only
3196 spaces ' ' as they are ignored anyway afterwards in the .tex file
3197 so if we have only spaces we will ignore this latex part in the
3199 (parseSingleLyXformat2Token \\layout): better compatibility when
3200 reading layout-latex stuff.
3201 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3203 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3204 stuff after reading the inset only get the information back from
3207 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
3209 * buffer.C (makeLaTeXFile): Put language options after loading babel.
3211 * LaTeXFeatures.C (getBabelOptions): New method.
3213 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3215 * BufferView_pimpl.C (Dispatch): work around missing argument for
3218 2002-05-08 Juergen Vigna <jug@sad.it>
3220 * text.C (leftMargin): handle paragraph leftindent.
3222 * paragraph.C (writeFile): write the new \\leftindent tag.
3223 (validate): handle leftindent code.
3224 (TeXEnvironment): handle paragraphleftindent code again.
3226 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3228 * buffer.C (parseSingleLyXformat2Token): added compatibility code
3229 for paragrap_extra indent code and new token \\leftindent.
3230 (latexParagraphs): handle the leftindent as environment.
3232 * ParameterStruct.h: added leftindent support.
3234 * ParagraphParameters.C (leftIndent): added support functions for
3235 the paragraph left indent.
3237 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3240 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3242 * paragraph.C (isRightToLeftPar): Return false for a paragraph
3245 * text.C (computeBidiTables): No bidi in insetERT.
3247 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3250 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3252 * version.C.in: pre 5
3254 2002-05-02 José Matos <jamatos@fep.up.pt>
3255 * buffer.C (makeDocBookFile): white space changes, add newline to
3257 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3259 * tabular.C (docBook): fix typo.
3261 2002-05-03 Juergen Vigna <jug@sad.it>
3263 * screen.C (drawFromTo): recalculate the rowpointer if we had a
3264 change in LyXText as we can not be sure it was not freed.
3265 (drawOneRow): remove unused code.
3267 * text.C (drawInset): redo the calculation of the need_break_row as
3268 it could have a row which was already freed.
3269 (draw): look at the return value of drawInset and return false if
3270 it also returned false.
3271 (paintRowText): look at the return value of draw and return false if
3272 it also returned false.
3274 * lyxtext.h: added bool return type to drawInset() and draw() so that
3275 if we have a change in the row so that the rowbreak has to be redone
3276 we abort drawing as it will be called again.
3278 2002-05-02 Juergen Vigna <jug@sad.it>
3280 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3281 a change in the maintext also if we're inside an inset.
3282 (Dispatch): set the cursor again after a break line and after the
3283 screen has been updated as it could be we're in a different row.
3285 * text2.C (fixCursorAfterDelete): check to make sure we don't request
3286 to set the cursor behind the pargraph with > size().
3287 (setCursor): check also for the same paragraph when checking where
3288 to put the cursor if we have a NFR inset.
3290 * buffer.C (parseSingleLyXformat2Token): move the compatibility
3291 parts of layout read further up as it still was in the wrong
3294 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3296 * screen.C (drawFromTo): change sine fullRebreak always return
3299 * buffer.C (parseSingleLyXformat2Token): reindent some
3301 * BufferView_pimpl.C (update): change since fullRebreak always
3303 (Dispatch): git rid of the last hardcoded "Standard"s.
3305 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3307 * text2.[Ch] (fullRebreak): make it return void now that we always
3310 2002-04-30 Juergen Vigna <jug@sad.it>
3312 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3313 ert compatibility check for "latex" layout.
3315 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3317 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3318 minipages: use col% instead of p%, and also use the current font.
3319 (makeLaTeXFile): Fix use babel condition.
3320 (parseSingleLyXformat2Token): Correct font when reading old floats.
3322 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3324 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3325 inserting list of floats.
3327 2002-04-25 Herbert Voss <voss@lyx.org>
3329 * MenuBackend.C (expand): don't add the graphics extensions to the
3332 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3334 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3335 non-existing layout, do not complain if it was the default layout
3336 of the original class (bug #342)
3338 2002-04-24 Juergen Vigna <jug@sad.it>
3340 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3341 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3343 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3345 * buffer.C (getBibkeyList): If using \bibliography, return the
3346 option field with the reference itself. Enables us to provide natbib
3347 support when using \bibliography.
3349 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3351 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3353 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3354 natbib is provided by the LaTeX class.
3356 2002-04-23 Juergen Vigna <jug@sad.it>
3358 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3361 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3363 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3365 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3367 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3368 ensuremath around textordmasculine, textordfeminine and
3371 2002-04-19 Juergen Vigna <jug@sad.it>
3373 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3374 reinitializing the buffer otherwise row-dimensions may be wrong.
3375 (update): reset also the selection cursors if they do exits otherwise
3376 their x/y positions may be wrong.
3378 * text2.C (cursorDown): don't enter the inset if we came from a row
3379 above and are one row over the inset.
3381 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3382 really leaving an inset.
3384 2002-04-18 Juergen Vigna <jug@sad.it>
3386 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3387 of the selected paragraph does not have the selected layout also if
3390 * text2.C (setLayout): fixed bug which did not change last selected
3393 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3394 changed the read and substituted \\end_float with \\end_inset!
3396 * BufferView_pimpl.C (cursorPrevious):
3397 (cursorNext): fixed to make it work with rows heigher than the work
3398 area without moving the cursor only the draw of the row.
3399 (workAreaMotionNotify): fix jumping over high rows.
3401 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3403 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3406 2002-04-16 Juergen Vigna <jug@sad.it>
3408 * text2.C (setCursor): set also the irow().
3409 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3411 (cursorDown): support for locking an inset if the x_fix value goes
3412 inside it. That way I can transverse insets too with cursor up/down.
3414 * lyxrow.h: added irow helper function same as other (i) functions.
3416 * BufferView_pimpl.C (cursorPrevious):
3417 (cursorNext): fixed for insets!
3419 2002-04-15 Juergen Vigna <jug@sad.it>
3421 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3422 position otherwise it is wrong in some cases.
3424 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3425 inside the inset before the call.
3427 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3429 * buffer.[Ch] (getBibkeyList): make it const.
3431 2002-04-12 Juergen Vigna <jug@sad.it>
3433 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
3435 * text2.C (getCursorX): new helper function
3436 (setCursor): compute also ix_
3437 (setCursorFromCoordinates): set also ix.
3439 * lyxcursor.h: added ix_ and helper functions.
3441 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
3443 * buffer.C (insertStringAsLines): dont break paragraph if the this
3444 paragraph is inside an inset which does not permit it!
3446 * text.C (breakParagraph): honor keepempty flag and break the paragraph
3447 also with no chars on this paragraph.
3448 (paintRowText): only paint stuff if it's inside the workarea!
3450 * paragraph.C (breakParagraph): honor keepempty flag and break the
3451 paragraph always below not above.
3453 * BufferView2.C (unlockInset): update the paragraph layout on inset
3454 unlock as we changed paragraph in such a case.
3456 * lyxfind.C (LyXFind): clear the former selection if not found!
3458 * text2.C (insertInset): freeze Undo after setUndo so that it is not
3459 again called in insertChar().
3461 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
3462 an inset which uses the whole row!
3463 (rightMargin): ditto.
3464 (insertChar): force a rebreak if we inserted an inset!
3466 2002-03-28 Herbert Voss <voss@lyx.org>
3468 * lyxlength.[Ch]: add inBP() to get the right PS-point
3469 units (BigPoint). With inPixels we have rounding errors
3471 2002-04-11 Juergen Vigna <jug@sad.it>
3473 * text2.C (setCursorFromCoordinates): set iy to the right value.
3474 (setCursor): add check if row->previous exists!
3476 * buffer.C (parseSingleLyXformat2Token): reset font after read of
3477 an old float_type as this was the case in the old code!
3479 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
3481 * BufferView2.C (showLockedInsetCursor): use iy
3482 (fitLockedInsetCursor): ditto
3484 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
3485 locked insets as there we have the right value now.
3487 * lyxcursor.C: added iy_ variable and iy functions to set to the
3488 baseline of cursor-y of the locked inset.
3490 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
3491 (setCursor): fixed for insets which need a full row.
3493 * text.C (rowLastPrintable): don't ignore the last space when before
3494 an inset which needs a full row.
3495 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
3496 as last character of a row when before a inset which needs a full row.
3498 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3500 * version.C.in: update date
3502 * text2.C (fullRebreak): try to always return true and see what
3505 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3507 * MenuBackend.C (expand): use Floating::listName
3509 * FloatList.C (FloatList): add listName argument to the built-in
3512 * Floating.[Ch]: add listName member, which is the 'List of XXX'
3513 text associated with the float.
3515 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3517 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3519 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3521 * ShareContainer.h: add a couple of missing typenames.
3523 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
3525 * lyxrc.C (getDescription): use _() correctly rather than N_().
3527 2002-03-28 Herbert Voss <voss@lyx.org>
3529 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
3530 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
3532 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3534 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
3535 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
3537 2002-03-29 Juergen Vigna <jug@sad.it>
3539 * lyxfunc.C (dispatch): add a missing fitCursor call.
3541 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
3542 it was scrolled by a cursor move, so return the bool status.
3544 * BufferView.C (fitCursor): return the bool flag also to the outside
3545 world as this is needed.
3547 * screen.C (toggleToggle): don't subtract the offset if it's positive.
3549 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
3550 call the edit() as it is not needed (and wrong) IMO.
3551 (workAreaButtonPress): set the screen_first variable before evt.
3552 unlock the inset as this may change screen_first and then we have
3553 a wrong y position for the click!
3555 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3557 * MenuBackend.C (expand): another translation that I missed
3559 2002-03-28 Juergen Vigna <jug@sad.it>
3561 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
3563 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
3565 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3567 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
3569 * MenuBackend.C (expand): fix export/view/update when there is no
3572 2002-03-27 Herbert Voss <voss@lyx.org>
3574 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
3577 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3579 * bufferview_funcs.C (currentState): only show paragraph number
3580 for is DEVEL_VERSION is set.
3582 * lyxfunc.C (dispatch): put warning in INFO channel
3584 * MenuBackend.C (expand): translate the name of floats
3586 * FloatList.C (FloatList): mark the float names for translation
3588 * converter.C (convert): use LibScriptSearch
3590 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3592 * MenuBackend.C (defaults): fix default menu (we might as well get
3595 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3597 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
3600 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3602 * lyxvc.C: reorder includes.
3604 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
3606 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
3609 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
3611 * CutAndPaste.C: change layouts earlier on paste
3612 to avoid crashing when calling getFont()
3614 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3616 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
3619 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3621 * WorkArea.C: remove 'Pending' debug message.
3623 * most files: ws cleanup
3625 * buffer.[Ch]: ws changes
3627 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
3629 2002-03-21 Juergen Vigna <jug@sad.it>
3631 * tabular.C (SetMultiColumn): collapse also the contents of the
3632 cells and set the last border right. Added a Buffer const * param.
3634 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3636 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
3639 2002-03-19 Juergen Vigna <jug@sad.it>
3641 * text2.C (clearSelection): reset also xsel_cache.
3643 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
3644 where it needs to be called (John tells us to do so too :)
3645 (selectionLost): reset sel_cache.
3647 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
3649 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3651 * text2.C (setCursorIntern): put debuging code in INSETS channel
3653 2002-03-19 André Pönitz <poenitz@gmx.net>
3655 * lyxfunc.C: tiny whitespace change
3657 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3659 * ToolbarDefaults.C (init):
3660 * LyXAction.C (init):
3662 * BufferView_pimpl.C (Dispatch):
3663 * lyxfunc.C (dispatch): remove LFUN_DEPTH
3665 2002-03-19 Allan Rae <rae@lyx.org>
3667 * exporter.C (Export): removeAutoInsets before doing anything else.
3668 While I've just introduced a dependency on BufferView this really is
3669 the best place to clean the buffer otherwise you need to cleanup in
3670 a dozen places before calling export or cleanup in a dozen functions
3673 * converter.C (runLaTeX):
3674 (scanLog): Better handling of removeAutoInsets and screen updates.
3676 * lyxfunc.C (dispatch): small whitespace changes
3678 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3680 * WorkArea.C (C_WorkAreaEvent): return a value.
3681 (event_cb): return 1 if we handled the event, 0 otherwise.
3683 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
3685 2002-03-18 Juergen Vigna <jug@sad.it>
3687 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
3688 (GetAdditionalWidth): ditto.
3692 * BufferView2.C (copy): use getLyXText() so that we do it inside an
3693 inset if we're there actually (probably not used right now but this
3694 is the direction to go for unifying code).
3695 (paste): disable code to clear the selection.
3697 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
3698 inside an InsetText and move the check further up as it is in the
3701 * text2.C (pasteSelection): set a selection over the pasted text.
3703 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
3705 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
3706 and libgraphics to build on Cygwin.
3708 2002-03-15 Juergen Vigna <jug@sad.it>
3710 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
3711 inserting an Inset into the paragraph. I know this is not the best
3712 fix but we already use current_view in CutAndPaste so we will remove
3713 all of it's using at the same time.
3715 * buffer.C (sgmlError): deactivated function till it is rewritten in
3716 the right mode, now it can create problems.
3718 * paragraph.C (isLineSeparator): check if getInset returns != 0,
3719 before accessing it.
3721 2002-03-14 Juergen Vigna <jug@sad.it>
3723 * undo_funcs.C (textHandleUndo): do the right thing when updating
3724 the inset after the undo/redo.
3726 * text2.C (setCursor): just some testcode for #44 not ready yet.
3728 * undo_funcs.C (textHandleUndo): set the next() and previous()
3729 pointers of the paragraph to 0 before deleting otherwise we have
3730 problems with the Paragraph::[destructor].
3732 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
3733 on a paragraph insertion.
3735 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3737 * buffer.C (asciiParagraph): use += operator for char append to
3740 * paragraph.C (getFontSettings): compare >= not just >
3741 (highestFontInRange): ditto
3744 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3746 * paragraph.C: change several algorithm to be more appripriate for
3747 the problem domain. This is lookip in FontList and in the InsetList.
3749 2002-03-13 André Pönitz <poenitz@gmx.net>
3752 * LyXAction.C: remove unused LFUN_MATH_MACROARG
3754 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
3759 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
3761 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3763 * Painter.C (display): anon helper function, adjust code for this
3765 (pixmap): remove function.
3767 * Painter.h: remove private display variable.
3769 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
3771 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
3773 * WorkArea.[Ch]: remove figinset_canvas cruft.
3775 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3777 * lyxtextclass.C (operator): add one item cache optimization.
3779 * bufferlist.h: doxy changes
3781 * bufferlist.C: ws changes
3783 * DepTable.[Ch] (ext_exist): place const in the right spot.
3785 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
3787 (workAreaExpose): call resizeInsets when the with BufferView changes.
3788 (Dispatch): adjust for protectedBlank removal
3789 (specialChar): call updateInset if the insert went ok.
3791 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
3792 specialChar instead.
3794 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
3796 * BufferView.h: doxy change
3798 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
3800 * lyxtextclass.C (operator[]): remove non-const version
3801 (defaultLayout): remove non-const version
3803 2002-03-12 Juergen Vigna <jug@sad.it>
3805 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
3806 did resize the LyXText too.
3808 * buffer.C (readLyXformat2): set layout information on newly allocated
3811 * tabular.C (OldFormatRead): set layout information on the paragraph.
3813 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3815 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
3817 2002-03-11 Juergen Vigna <jug@sad.it>
3819 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
3821 (resizeCurrentBuffer): force also the insets to resize themselfes.
3822 (moveCursorUpdate): fixed up for InsetText.
3824 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
3827 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
3828 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
3829 value of Dialogs::tooltipsEnabled().
3830 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
3832 2002-03-08 Juergen Vigna <jug@sad.it>
3834 * BufferView_pimpl.C (updateInset): update inset inside inset also
3835 if it isn't inside theLockingInset().
3837 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3839 * buffer.C (asciiParagraph): redo some of the word and line length
3841 (getLists): look for Caption instead of caption.
3843 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3845 * buffer.C (Buffer): initialize niceFile to true
3848 (makeDocBookFile): make sure niceFile is true on exit
3850 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3852 * buffer.C (makeLaTeXFile): escape ~ in \input@path
3854 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3856 * LyXSendto.C: remove.
3857 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
3858 * lyx_gui.C: remove now-redundant comment.
3859 * ColorHandler.h: remove forward declaration of class WorkArea.
3860 * lyxfunc.C: remove #include "WorkArea.h".
3862 2002-03-07 Juergen Vigna <jug@sad.it>
3864 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
3865 got moved away with the DEPM and also set the inset_owner always
3866 right which before could have been omitted.
3868 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3870 * buffer.C (parseSingleLyXformat2Token): use default layout is the
3871 wanted layout is not found.
3873 2002-03-07 Juergen Vigna <jug@sad.it>
3875 * CutAndPaste.C (cutSelection): another layout settings forgotten.
3877 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3879 * paragraph.C (breakParagraph): use default layout not layout of
3881 (Paragraph): clear ParagraphParameters.
3883 2002-03-06 Juergen Vigna <jug@sad.it>
3885 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
3886 otherwise it would not be a valid lenght. Fixed a special case in
3887 the minipage compatibility read where we end the document with a
3890 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
3891 was set as it could be 0 for InsetTexts first entry.
3893 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3895 * paragraph.C (writeFile): if layout is empty write out
3896 defaultLayoutName().
3898 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
3899 file without named layout we set layout to defaultLayoutName().
3901 2002-03-06 Juergen Vigna <jug@sad.it>
3903 * CutAndPaste.C (copySelection): set layout for new paragraph.
3905 * text.C (prepareToPrint): leave ERT inset left aligned
3906 (leftMargin): don't indent paragraphs inside ERT insets
3908 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3910 * paragraph.C (breakParagraph): dont call clear do the work manually
3912 * paragraph.[Ch] (clear): remove function
3914 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3916 * paragraph.C (Paragraph): dont call clear, the work has already
3919 * lyxtextclass.C (operator): assert if n is empty
3921 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
3922 work manually instead.
3924 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3926 * BufferView_pimpl.C: protect selectionLost against text == 0
3928 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3930 * text.C (breakParagraph): fix a setting layout to '0' problem.
3932 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3934 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
3935 final location of file, for the included files, and graphics.
3937 2002-03-05 Juergen Vigna <jug@sad.it>
3939 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
3941 2002-03-04 Juergen Vigna <jug@sad.it>
3943 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
3945 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
3946 last column of multicolumn cells.
3947 (SetWidthOfMulticolCell): recalculate NMC and real columns.
3949 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3951 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
3952 file if it doesn't go to a temporary file.
3954 * buffer.C (sgmlOpenTag):
3955 (sgmlCloseTag): remove extra newline insertion.
3957 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3959 * text.C (getRowNearY): comment out debug msg
3961 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3963 * text2.C: first -> first_y
3965 * text.C (getRowNearY): add some attemts at a possible
3966 optimization, not working.
3968 * tabular.[Ch]: add BufferParams to several function so that newly
3969 created paragraph can be initialized to he default layotu for the
3972 * tabular-old.C (ReadOld): add buf->params to call of Init
3974 * screen.C: rename text->first to text->first_y
3976 * paragraph.C (breakParagraph): always set layout in the broken
3979 * lyxtextclass.C (Read): remove lowercase
3982 (delete_layout): ditto
3984 * lyxtext.h: rename first -> first_y
3986 * lyxlayout.C (Read): remove lowercase
3989 (obsoleted_by): ditto
3991 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
3993 * buffer.C (insertErtContents): add params are to InsetERT
3994 (parseSingleLyXformat2Token): add code to check if a paragraphs
3995 layout really exist.
3996 (parseSingleLyXformat2Token): add params to several inset
3998 (asciiParagraph): remove lowercase, do the layout comparisons with
4001 * BufferView_pimpl.C (cursorNext): first -> first_y
4002 (resizeCurrentBuffer): first -> first_y
4003 (updateScrollbar): first -> first_y
4004 (scrollCB): first -> first_y
4005 (workAreaMotionNotify): first -> first_y
4006 (workAreaButtonPress): first -> first_y
4007 (checkInsetHit): first -> first_y
4008 (cursorPrevious): first -> first_y
4009 (cursorNext): first -> first_y
4010 (Dispatch): add buffer_->params to severl inset contructors
4012 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4014 * lyxlayout.C (Read): remove some debug info that I forgot.
4016 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4017 clean up the code slightly.
4018 (makeLinuxDocFile): ditto
4019 (makeDocBookFile): ditto
4021 * text2.C: layout as string
4023 * text.C: layout as string
4025 * paragraph_pimpl.C: layout as string
4027 * paragraph.[Ch]: layout as string
4029 * lyxtextclasslist.[Ch]: layout as string
4031 * lyxtextclass.[Ch]: layout as string
4033 * lyxtext.h: layout as string
4035 * lyxlayout.[Ch]: layout as string
4037 * lyx_cb.C: layout as string
4039 * bufferview_funcs.C: layout as string
4041 * bufferparams.C: layout as string
4043 * buffer.C: layout as string
4045 * LyXView.[Ch]: layout as string
4047 * LaTeXFeatures.[Ch]: layout as string
4049 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4051 * BufferView_pimpl.C: change current_layout to string, remove
4056 (workAreaButtonRelease): layout as string
4058 * BufferView2.C (unlockInset): adjust
4060 * vspace.C (asLatexCommand): use an explict temp variable.
4062 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4064 * Makefile.am: use FRONTEND_*
4066 2002-03-01 Juergen Vigna <jug@sad.it>
4068 * tabular.C (SetWidthOfMulticolCell): changed to something better
4069 I hope but still work in progress.
4070 (recalculateMulticolumnsOfColumn): renamed function from
4071 recalculateMulticolCells as it is more appropriate now.
4072 (SetWidthOfCell): calculate multicols better.
4074 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4076 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4078 * lyxfunc.C (processKeySym): print sequence also if it is
4079 `deleted' (complete)
4081 * kbsequence.C (print): print sequence even if it is deleted
4082 (complete would be a better word, actually).
4084 * lyxfunc.C (dispatch): print complete options after a prefix key
4086 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4088 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4090 * text2.C (setCharFont): eliminate setCharFont code duplication.
4092 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4094 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4095 LFUN_TABULAR_FEATURE (bug #177)
4097 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4099 * Makefile.am: remove figure.h
4101 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4103 * Bufferview_pimpl.C:
4115 * text2.C: remove #include "lyx_gui_misc.h".
4117 * LaTeX.C: added #include <cstdio>
4119 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4121 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4122 that the paragraph following this one can have.
4124 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4126 * vspace.C (asLatexCommand): fix bogus gcc warning
4128 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4130 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4132 * text2.C (setLayout): get rid of redundant code
4134 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4136 * text2.C (incDepth): make sure depth cannot be increased beyond
4139 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4141 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4142 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4144 * PainterBase.h (image):
4145 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4148 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4152 * BufferView_pimpl.C:
4153 * BufferView_pimpl.h:
4173 * sp_spell.C: remove fig inset, and the crap house of
4174 cards that follows it
4176 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4182 * nt_defines.h: move .h into support/
4184 * vms_defines.h: remove
4186 * WorkArea.C: add space in debug output
4190 * buffer.C: add WITH_WARNINGS
4194 * bufferlist.C: s/retrive/retrieve/, add docs
4205 * lyxgui.C: add ID to X error handler
4207 * lyxtestclass.c: fix typo
4209 2002-02-26 Juergen Vigna <jug@sad.it>
4211 * tabular_funcs.C (write_attribute): changed so that some default
4212 attributes are not written at all.
4213 (getTokenValue): set default values before trying to read the
4214 value so we have the return value always set as default if we don't
4215 find the token we search for.
4217 * tabular.C (Write): write bools as bools not as strings!
4219 2002-02-22 Juergen Vigna <jug@sad.it>
4221 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4222 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4224 * text.C (leftMargin): don't add an indent for paragraphs inside
4225 tabular cells (fix #208).
4227 2002-02-21 José Matos <jamatos@fep.up.pt>
4229 * tabular.C (docBook): fixed support for long tables.
4231 2002-02-20 Juergen Vigna <jug@sad.it>
4233 * text2.C (getFont): get the drawing font of the Inset if this
4234 paragraph is inside an inset (only important for InsetERT for now).
4236 * buffer.C (insertErtContents): use new lanugage params in ERT
4239 * CutAndPaste.C: commenting out seemingly uneeded code.
4241 2002-02-19 Allan Rae <rae@lyx.org>
4243 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4244 Iterators might be simple to use but they also get invalidated.
4245 (removeAutoInsets): renamed saved cursor tracking variables and added
4246 some comments to clarify what everything does.
4248 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4255 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4256 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4259 * vc-backend.h: remove #include "support/syscall.h"
4263 * converter.C: rearrange #includes in Lars' approved fashion.
4265 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4266 forward declare class Timeout in the header file.
4268 * XFormsView.C: changes due to the above.
4270 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4273 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4274 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4276 2002-02-18 José Matos <jamatos@fep.up.pt>
4278 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4281 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4283 * a lot of small ws changes
4284 * add a lot of using std::XXX
4285 * use std construcs some places where approp.
4286 * use some exisint stuff from lyxfunctional where approp.
4287 * Make file changes to use partial linking (lets test this now...)
4289 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4293 remove #include "support/syscontr.h" as it's redundant. Always has been.
4301 change Systemcalls::System to Systemcalls::Wait and
4302 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4303 No change of functionality, just reflects the stripped down Systemcalls
4306 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4308 * debug.[Ch]: add a GRAPHICS type to the enum.
4310 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4312 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4314 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4317 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4319 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4320 match the changes below.
4322 * text2.C (toggleInset): if there is not editable inset at cursor
4323 position, try to see if cursor is _inside_ a collapsable inset
4326 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4328 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4329 document menu has a nice checkbox
4331 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4333 * lyxlength.C (asLatexString): change PW to output as percent of
4336 * lengthcommon.C: change '%' to 't%'
4338 * lyxfunc.C (dispatch): a few comments from Martin
4340 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
4344 * BufferView_pimpl.h:
4345 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4348 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4350 * vspace.C (inPixels): fix compiler warning
4352 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4354 * lyxfunc.C (getStatus): fix status message for disabled commands.
4356 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4358 * BufferView_pimpl.C: fix crash on close buffer
4359 during selection (#227)
4361 2002-01-27 Herbert Voss <voss@lyx.org>
4363 * buffer.C: link old Figure to new graphic inset
4365 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4367 * FontLoader.C (getFontinfo): Change the latex font names in order
4368 to match the names of type1inst.
4370 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4372 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4374 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4377 (remove_files_with_extension): ditto
4378 (remove_file): ditto
4381 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4382 document is smaller than the work area height. Do not initialize
4383 static variables to 0.
4385 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4387 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4389 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4390 LFUN_LAYOUT_PARAGRAPHS.
4392 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4393 tabular. It is possible to provide a possible cell, which will
4394 typically be the actcell from the corresponding insettabular
4396 * lyxfunc.C (getStatus): small cleanup; disable
4397 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4400 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4402 * tabular.C (Validate): remove broken optimization (fixes bug #201)
4404 * paragraph.C (startTeXParParams):
4405 (endTeXParParams): new methods. The LaTeX code to
4406 start/end paragraph formatting
4407 (simpleTeXOnePar): call startTeXParParams also when paragraph is
4408 empty (fixes bug #200)
4410 * vspace.C (inPixels): adapt to the change below
4411 (inPixels): [later] more cleanups (remove unused variables)
4413 * lyxlength.C (inPixels): change to use a width and a height as
4416 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4418 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4419 Replaced with \paperwidth
4421 * DepTable.C (insert): add std:: qualifier
4423 2002-01-18 Allan Rae <rae@lyx.org>
4425 * text2.C (removeRow): add comment. Should other refresh_?? vars be
4428 * text.C (drawInset): Turned out I didn't know enough about how
4429 rebreaking worked. This fixes most of the redraw problems. I see
4430 an occasional cursor trail when a line is broken now and the cursor
4431 placement can seem out by a few pixels also after a rebreak.
4433 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4435 * buffer.C (parseSingleLyXformat2Token): update because minipage
4436 width is now a LyXLength
4438 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
4440 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
4443 2002-01-17 Juergen Vigna <jug@sad.it>
4445 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
4447 * BufferView2.C (lockInset): call edit() so that theLockingInset()
4448 is set correctly and the inset is updated correctly.
4450 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4452 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
4453 the beginning of the loop.
4455 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
4457 * lyxrc.C: improve help for use_scalable_fonts
4459 2002-01-17 Allan Rae <rae@lyx.org>
4461 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
4463 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4465 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4466 make sure to set their inset_owner to the right value (bug #171)
4468 2001-12-12 Ben Stanley <bds02@uow.edu.au>
4471 * DepTable.C: Implement mtime checking to reduce time spent doing
4474 2002-01-16 Juergen Vigna <jug@sad.it>
4476 * tabular.C (GetAdditionalHeight): one of error fixed.
4478 * lyxrc.C (output): small fix in writing use_pspell.
4480 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
4482 * sp_base.h: #include LString.h
4484 2002-01-16 Allan Rae <rae@lyx.org>
4486 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
4487 Can someone check this please?
4489 * text.C (drawInset): It was possible that p.row would be removed by
4490 breakAgainOneRow upsetting a few other settings. There may be another
4491 small tweak possible by setting need_break_row = 0 when p.row has been
4492 removed but I don't know enough about the logic here.
4494 2002-01-15 Allan Rae <rae@lyx.org>
4496 * text.C (insertChar): removed conditional truism.
4498 * BufferView2.C (removeAutoInsets): More tweaks.
4499 cur_par_prev could be a stray pointer. Check for trailing empty line
4500 in case last line was cur_par and only had an error inset on it.
4502 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4504 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
4507 * vc-backend.C (most methods):
4508 * exporter.C (Export):
4509 * converter.C (convert):
4511 * LyXSendto.C (SendtoApplyCB):
4512 * lyxfunc.C (dispatch):
4516 * lyx_cb.C (AutoSave):
4518 * BufferView_pimpl.C (MenuInsertLyXFile):
4519 * buffer.C (runChktex): use Buffer::filePath().
4521 * buffer.h: rename filename to filename_; rename filepath to
4522 filepath_ and make it private
4523 (filePath): new method
4525 * buffer.C (writeFile): use fileName()
4528 * lyx_main.C (init): fix starting of LyX when the binary is a
4529 link from so,ewhere else.
4531 * minibuffer.C: include <cctype> for isprint
4533 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4535 * buffer.C (parseSingleLyXformat2Token): changes associated with the
4536 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
4537 name clash with InsetCollapsable's width function.
4539 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4541 * lastfiles.C: include <iterator>
4543 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4545 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
4548 * buffer.C (makeLaTeXFile): ditto.
4549 Also make loop operation more transparent.
4551 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4553 * ToolbarDefaults.C: remove trailing comma closing namespace.
4555 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
4557 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
4560 * trans.C (Load): comment out unused variable, allowed.
4562 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4564 * minibuffer.[Ch] (append_char): new method to recieve input from the
4565 drop-down completion browser. If a key was pressed, then recieve this
4566 char and append it to the existing string.
4567 (peek_event): modify the positioning data passed to the completion
4568 browser so that it can be placed above the minibuffer rather than below.
4569 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4571 * LyXAction.C (init): alloe error-next for readonly documents.
4573 * BufferView2.C (ChangeRefsIfUnique): use standard version of
4576 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4578 * bufferlist.C (readFile): create the buffer _after_ checking that
4581 * lyxfunc.C (verboseDispatch): fix handling of arguments
4583 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
4585 * lyxrc.C: use string::erase() instead of initializing to "".
4588 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4590 * BufferView_pimpl.h:
4591 * BufferView_pimpl.C:
4594 * text2.C: tell X when we have made a selection for copying
4596 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4598 * BufferView_pimpl.C (MenuInsertLyXFile):
4599 * lyxfunc.C (menuNew):
4601 (doImport): add shortcuts to directory buttons
4603 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
4606 * lyxfunc.C (setStatusMessage):
4607 (getStatusMessage): new methods
4608 (getStatus):use setStatusMessage instead of setErrorMessage
4609 (dispatch): when function is disabled, set error message here
4610 [instead of in getStatus previously]
4612 * BufferView_pimpl.C (workAreaButtonRelease): update
4613 toolbar/menubar here too.
4615 2002-01-13 Allan Rae <rae@lyx.org>
4617 * BufferView2.C (removeAutoInsets): finished off earlier fix.
4618 Now seems indestructible. Remaining task is to audit all other
4619 code affected by deleteEmptyParagraphMechanism. One small quirk
4620 left is that an empty document with an error in the preamble can
4621 be made to report an error but no error box appears. I don't know
4623 (removeAutoInsets): Improved comments.
4625 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
4628 * Thesaurus.C: update for Aiksaurus 0.14
4630 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4632 * text2.C (firstParagraph): removed member function, all uses
4633 replaces with ownerParagraph
4634 (redoParagraphs): here
4636 (toggleAppendix): here
4637 * BufferView2.C (insertErrors): here
4638 (setCursorFromRow): here
4640 2002-01-13 Allan Rae <rae@lyx.org>
4642 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
4643 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
4644 There is still a way to segfault this although you may have to do this
4645 multiple times: Have an InsetERT with an unknown command in it.
4646 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
4647 <down-arrow>, <Enter> again, View->DVI, BANG!
4649 * text2.C (setCursor):
4650 (deleteEmptyParagraphMechanism):
4651 * lyxtext.h (setCursor):
4652 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
4653 Making use of the return value may help fix other bugs.
4655 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4657 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
4659 * LyXView.C (updateMenubar): call MenuBar::update here
4660 (updateToolbar): but not here
4661 (showState): do not update toolbar/menubar
4663 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
4664 should need to care about that.
4666 * lyxfunc.C (verboseDispatch): simplify a bit
4667 (getStatus): have a version which takes a pseudoaction, and
4668 another which requires a (kb_action,string).
4670 * LyXAction.C (retrieveActionArg): make it work also when action
4671 is not a pseudo-action.
4672 (getActionName): simplify a bit
4675 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4677 * lyxfunc.C (verboseDispatch): new families of methods with
4678 several ways to specify a command and a bool to indicate whether
4679 the command name and shortcut should be displayed in minibuffer
4680 (eventually, we could extend that to a finer bitmask like
4681 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
4682 (dispatch): the pristine dispatch command which just, well,
4683 dispatchs! Note it still sets its result to minibuffer; I'm not
4686 * lyxfunc.h: remove setHintMessage
4688 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
4690 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4692 * BufferView_pimpl.C (specialChar): delete new inset if we have
4693 not been able to insert it.
4695 * kbmap.C: revert to using int instead of kb_action, since all we
4696 are dealing with is pseudo-actions.
4698 * LyXAction.C (searchActionArg): change to return int instead of
4699 kb_action, since the result is a pseudoaction.
4701 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
4703 * buffer.C (insertErtContents): Fix (partially) the font bug.
4705 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4707 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
4708 as the other one is broken on my machine!
4710 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
4713 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
4715 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
4717 * lyxrc.[Ch]: change names and descriptions of popup font variables to
4718 reflect their actual use. Provide compatibility code for older lyxrc
4721 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
4723 change names of popup font variables in line with the changes to lyxrc.C
4725 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4727 * buffer.C (asciiParagraph): avoid outputing a word twice after
4730 * lyxrc.C (getDescription): document that document_path and
4731 template_path can be empty.
4733 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4735 * LaTeXFeatures.C (getMacros):
4736 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
4738 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
4740 * LaTeXFeatures.C (useFloat): require "float" here instead of in
4742 (getPackages): rename feature "floats" to "float". Use an array to
4743 iterate over 'simple' features (i.e. just a \usepackage). Add
4744 handling of "amsmath" (renamed from "amsstyle").
4746 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
4748 * LaTeXFeatures.C (require): Prevent duplicate entries in the
4751 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
4753 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
4754 FuncStaus::FuncStatus & FuncStaus::some_method().
4756 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4758 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
4759 of the func_satus stuff. Edited and massaged in various ways by
4762 * lyxfunc.C (getStatus): use FuncStatus
4764 2002-01-08 Juergen Vigna <jug@sad.it>
4766 * text.C (nextBreakPoint): use function Inset::isChar().
4768 * paragraph.C (TeXOnePar): use function
4769 Inset::forceDefaultParagraphs.
4771 * buffer.C (latexParagraphs): use function
4772 Inset::forceDefaultParagraphs.
4774 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4776 * lyx_gui.C (init): set the style of the menu popups to
4777 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
4779 2002-01-07 Juergen Vigna <jug@sad.it>
4781 * text.C (setHeightOfRow): small fix
4782 (prepareToPrint): don't look at alignment if we don't have the place
4785 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4787 * box.C: New file. Move the Box methods and functions out of box.h,
4788 following Lars' suggestion.
4790 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4792 * box.h: #include "support/LOstream.h", needed for inlined function.
4795 * lyxtextclasslist.C: added some using std declarations.
4797 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
4799 * box.h: make signed dimensions to allow insets wider than
4800 the screen (bug #162)
4802 * BufferView_pimpl.C: add some insetHit debug
4804 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4806 * vc-backend.C: add FIXME
4808 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4810 * lyxfunc.C (getStatus): enable code for showing math font status
4813 2002-01-07 Juergen Vigna <jug@sad.it>
4815 * text.C (nextBreakPoint): removed debug output not needed anymore.
4817 2002-01-06 Juergen Vigna <jug@sad.it>
4819 * text.C (nextBreakPoint): fixed up this function we had this bug
4820 since ever but now hopefully we break row better.
4821 (insertChar): we have to check if an inset is the next char as it
4822 could now happen that a large inset is causing a break.
4824 2002-01-05 Juergen Vigna <jug@sad.it>
4826 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
4827 if it doesn't like to be drawed.
4829 2002-01-04 Juergen Vigna <jug@sad.it>
4831 * BufferView2.C (lockInset): forgot to set a cursor.
4833 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
4835 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
4840 * form_maths_panel.C:
4841 * form_maths_panel.h:
4842 * form_maths_panel.fd: implemented sub- and super- buttons in math
4845 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
4846 (or ^ space) to be used as in TeX (req'd by André).
4848 * lyxfunc.C: Allow ^ and _ again to be used both as
4849 super/subscript (mathed) and as themselves (in text).
4851 2002-01-03 Allan Rae <rae@lyx.org>
4853 * LyXView.C (updateWindowTitle): Setup a short icon title of either
4854 "LyX" or the filename of the current buffer if it has one. This is a
4855 modified form of John Levon's patch.
4857 * XFormsView.C (setWindowTitle): also set icon title.
4859 * LyXView.h (setWindowTitle): signature changed.
4860 * XFormsView.h (setWindowTitle): ditto.
4862 2002-01-02 Juergen Vigna <jug@sad.it>
4864 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
4866 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4868 * screen.C (topCursorVisible): introduce a temp var for
4869 text->cursor.row(), handle the case where this row is null. (kindo
4872 * text2.C (setCursor): add a couple of asserts.
4874 * paragraph.h (inset_iterator): add -> operator
4876 * paragraph.[Ch] (autoDeleteInsets): remove member function
4878 * BufferView2.C (removeAutoInsets): rewrite to handle the old
4879 cursor pos correctly and handle inset deletion by itself.
4880 (insertErrors): move iterator declaration out of for expression
4882 * lyxtextclass.C: add <algorithm>
4884 * Makefile.am: added the new files to sources, removed layout.C
4886 * layout.C: removed file
4888 * layout.h: remove LYX_DUMMY_LAYOUT
4890 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
4894 * lyxtextclass.[Ch]:
4895 * lyxtextclasslist.[Ch]: new files
4897 * include order changes to a lot of files, also changes because of
4900 2001-12-27 Juergen Vigna <jug@sad.it>
4902 * buffer.C (asciiParagraph): more fixes.
4904 * tabular.C (ascii): make ascii export support export of only the
4905 data separated by a column-delimiter.
4906 (ascii): better support for ascii export.
4908 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
4910 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4912 * tabular_funcs.C: use a "using std::getline" instead of the
4913 previous fix from Angus (necessary for cxx + lyxstring)
4915 2001-12-24 Juergen Vigna <jug@sad.it>
4917 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
4919 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
4920 problems. First check a minipage also if we have some ert-contents
4921 (not only on par->size(), second set the right depth of the paragraph
4922 on the relink to the root-paragraph-list!
4924 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
4925 which then did not anymore update the main paragraphs on undo/redo!
4927 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4929 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
4930 code. Support all font-changing funcs (even those which are not in
4931 menu currently). Support for reporting font settings in
4932 mathed (disabled until Andre provides a function on mathed's side).
4934 * func_status.h (toggle): small helper function to set toggle
4937 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
4939 * tabular_funcs.C: getline -> std::getline
4941 2001-12-21 Juergen Vigna <jug@sad.it>
4943 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
4944 accessed and could be 0 (I couldn't generate this but it seems
4947 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4949 * tabular_funcs.C: add LIstream.h, move write_attribute to..
4950 * tabular_funcs.h: here and include iosfwd
4952 2001-12-20 Juergen Vigna <jug@sad.it>
4954 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
4955 inside inset but undo_par was.
4957 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4959 * Thesaurus.C: always include <config.h> in sources.
4963 * box.h: do not include <config.h> in header files
4965 * text.C (paintLastRow): remove unused variable
4967 * text.C (transformChar):
4969 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
4972 * font.C (width): rewrite to use uppercase() instead of
4975 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
4977 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
4979 * lyxfind.C: clean up of find failure position change
4981 2001-12-20 Juergen Vigna <jug@sad.it>
4983 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
4985 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
4986 (TeXRow): added to LaTeX a single tabular row.
4987 (TeXLongtableHeaderFooter): added to output LT-h/f data.
4988 (Latex): simplified and finally good LT-h/f support.
4989 (various_functions): just small adaptions for LT-h/f support.
4991 * tabular_funcs.[hC]: added and moved here all not classfunctions
4994 2001-12-19 Juergen Vigna <jug@sad.it>
4996 * tabular.[Ch]: better support for longtabular options (not finished
4999 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5001 * text.C (paintLastRow): use the label font instead of the font of
5002 the last character to compute the size of *_BOX. This makes more
5003 sense and avoids a crash with empty paragraphs.
5004 Use Painter::rectangle to draw EMPTY_BOX.
5006 2001-12-19 Juergen Vigna <jug@sad.it>
5008 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5009 the paragraphs if the replaced paragraph is not the first one!
5010 Tried to delete not used paragraphs but does not work yet so for
5011 now it's inside #ifdef's and by default off!
5013 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5015 * MenuBackend.C: include "lyx_main.h" instead of declaring
5016 lastfiles (actually was declared as LastFiles* instead of a
5019 2001-12-17 Juergen Vigna <jug@sad.it>
5021 * tabular.C (AppendColumn): applied John's fix
5023 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5027 * BufferView_pimpl.h:
5028 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5031 * box.h: new start of class for above
5033 * lyxfunc.C: ignore space-only minibuffer dispatches.
5034 Show the command name when it doesn't exist
5036 * minibuffer.C: don't add empty lines to the history
5038 * minibuffer.C: add a space on dropdown completion
5040 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5042 * text.C: fix line above/below drawing in insets
5044 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5046 * lyxlength.C (LyXLength): Initialize private variables.
5048 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5050 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5051 when inserting error insets.
5053 2001-12-13 Juergen Vigna <jug@sad.it>
5055 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5056 actually sometimes the before-paragraph.
5057 (setUndo): don't clear the redostack if we're not actually undoing!
5059 2001-12-06 Juergen Vigna <jug@sad.it>
5061 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5062 and fixed redoing of main paragraph, so we can use it now ;)
5064 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5066 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5068 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5071 2001-12-13 André Pönitz <poenitz@gmx.net>
5074 * undo_func.C: minor cleanup
5076 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5078 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5079 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5080 font in urw-fonts package which is marked as -urw-fontspecific and
5081 does not work (incidentally, changing the encoding in the
5082 fonts.dir of this package to -adobe-fontspecific fixes the
5085 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5086 is a crash when undoing first paragraph (Juergen, please take a
5087 look). THis does not mean the undo fix is wrong, just that it
5090 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5091 the (Paragraph*) version when needed instead of duplicating the
5094 * text.C (workWidth): use Inset::parOwner to find out where the
5095 inset has been inserted. This is a huge performance gain for large
5096 documents with lots of insets. If Inset::parOwner is not set, fall
5097 back on the brute force method
5099 * paragraph_pimpl.C (insertInset):
5100 * paragraph.C (Paragraph):
5101 (cutIntoMinibuffer): set parOwner of insets when
5102 inserting/removing them
5104 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5106 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5112 * mathed/formulabase.C:
5113 * mathed/math_cursor.[Ch]:
5114 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5117 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5119 * lyxlength.[Ch] (operator!=): new function
5121 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5123 * text.C (workWidth): use Inset::parOwner to find out where the
5124 inset has been inserted. This is a huge performance gain for large
5125 documents with lots of insets. If Inset::parOwner is not set, fall
5126 back on the brute force method
5128 * paragraph_pimpl.C (insertInset):
5129 * paragraph.C (Paragraph):
5130 (cutIntoMinibuffer): set parOwner of insets when
5131 inserting/removing them
5133 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5135 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5137 * tabular-old.C (getTokenValue):
5138 * tabular.C (getTokenValue):
5139 (write_attribute): new versions for LyXLength
5140 (everywhere): adjust the use of widths
5142 * tabular.h: change the type of widths from string to LyXLength
5144 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5146 * paragraph.C: fixed missing line number count when exporting
5147 Environments to LaTeX file
5149 * buffer.C: added informational message for checking line numbers.
5151 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5153 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5154 paragraph, do the 'double space' part, but not the 'empty
5157 * text.C (workWidth): small optimization
5158 (getLengthMarkerHeight): use minimal size for negative lengths.
5160 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5162 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5164 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5166 2001-12-11 André Pönitz <poenitz@gmx.net>
5169 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5171 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5173 * text2.C: keep selection on a setFont()
5175 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5177 * lyx_cb.C: another bv->text misuse, from insert label
5179 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5182 * kbsequence.C: re-instate nmodifier mask
5184 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5186 * lyx_main.h: make lyxGUI private.
5188 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5190 * lyxfind.C: place the cursor correctly on failed search
5192 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5194 * text.C (getLengthMarkerHeight): for small heights, the arrows
5195 are not always on top/bottom of the text
5196 (drawLengthMarker): smaller arrows; take the left margin in
5197 account; draw also vfills.
5199 (paintLastRow): remove special code for vfill and standard spaces,
5200 since everything is handled in drawLengthMarker now.
5202 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5204 * buffer.C (insertErtContents): try to handle font and language
5205 interaction a bit better.g
5207 * ColorHandler.C (updateColor): change the hash to cover the whole
5208 LColor enum, ws cleanup
5209 (getGCLinepars): ditto
5210 (getGCLinepars): only lookup in the linecache once.
5212 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
5214 * iterators.C (operator++): Make the iterator more robust
5216 * BufferView2.C (removeAutoInsets): Use paragraph iterators
5218 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5220 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5223 * text.C: better added space drawing
5225 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5228 * BufferView2.C: fix layout combo update on inset unlock
5230 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5232 * Makefile.am: don't compile unused files
5234 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5238 * LyXAction.C: remove old LFUN_LAYOUTNO
5240 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5242 * paragraph_pimpl.h:
5243 * paragraph_pimpl.C: isTextAt() doesn't need font param
5245 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5248 * lyxlex.C: little cleanup
5250 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5252 * BufferView_pimpl.C: fix insertAscii for insets
5254 2001-12-05 Juergen Vigna <jug@sad.it>
5256 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5257 set the right font on the "multi" paragraph paste!
5259 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5265 * lyxlength.C: remove out-commented code.
5281 * vc-backend.C: change "while(" to "while ("
5283 * lyxlength.[Ch]: add zero function to check if length is zero or
5285 * lyxgluelength.C: use it
5287 2001-12-05 Allan Rae <rae@lyx.org>
5289 * lyxlength.C: Attempted a fix for the abs(int) header selection.
5290 Works for 2.95.3, from what I understand of Garst's reports this should
5291 work for other g++ versions. We're screwed if the abs(int) definition
5292 changed between bugfix releases of gcc.
5294 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5296 * text.C: fix chapter label offset !
5298 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5301 * text.C: fix hfill at end of line, clean up
5303 2001-12-04 Juergen Vigna <jug@sad.it>
5305 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5306 that we force an update of the inset and it's owners if neccessary.
5308 2001-12-03 Juergen Vigna <jug@sad.it>
5310 * text.C (rowLast): simplified code
5312 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5314 * lyxfunc.C: fix show options on timeout
5316 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5318 * screen.C (topCursorVisible): scroll half a page when the cursor
5319 reached top of bottom of screen
5321 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5323 * minibuffer.C: deactivate on loss of focus
5325 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5327 * vspace.[Ch] (operator!=): add operator.
5329 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5331 * BufferView_pimpl.C: refuse to open an inset when
5332 there's a selection.
5334 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
5336 * BufferView_pimpl.C: allow to click on RHS of full row insets
5338 2001-11-30 Juergen Vigna <jug@sad.it>
5340 * tabular.C (LyXTabular): add a same_id to set the same id's in the
5341 insets for undo reasons.
5343 2001-11-28 André Pönitz <poenitz@gmx.net>
5345 * vspace.[Ch]: cosmetical changes
5347 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5357 * kbsequence.C: part re-write of old kb code
5360 * WorkArea.C: remove Lgb_bug_find_hack
5362 2001-11-30 José Matos <jamatos@fep.up.pt>
5364 * buffer.C (makeDocBookFile): add a comment to point a hack.
5365 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5366 Fixed a double write of labels.
5368 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5371 * LaTeX.h Fixed bug in LaTeX class where it would not
5372 re-run latex if no depfiles were changed, but the .dvi was removed.
5374 2001-11-28 André Pönitz <poenitz@gmx.net>
5376 * all the files from the change on 2001/11/26:
5377 use lyx::layout_type instead of LyXTextClass::size_type
5378 use lyx::textclass_type instead of LyXTextClassList::size_type
5380 2001-11-29 Juergen Vigna <jug@sad.it>
5382 * text.C: added support for paragraph::isFreeSpacing()
5384 * buffer.C: same as above
5386 * paragraph.h: inserted isFreeSpacing() function to enable
5387 FreeSpacing inside InsetERT.
5389 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5390 of the paragraph's in the cut/copy buffer to 0!
5392 * text2.C (removeRow): remove the assert as it can!
5394 * lyxtext.h: added helper function firstRow returning firstrow and
5395 made firstrow private again.
5397 * BufferView2.C (lockInset): don't relock if we're already locked!
5399 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5401 (removeRow): added Assert::(firstrow)
5403 * debug.C: forgot to add INSETTEXT here.
5405 2001-11-28 Juergen Vigna <jug@sad.it>
5407 * sp_spell.C (initialize): changed error text to more general
5408 spellchecker command use (not only ispell!)
5410 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5412 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5414 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5416 * vspace.C: initialise lyxgluelength on failure
5418 2001-11-28 Allan Rae <rae@lyx.org>
5420 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5421 declaration & definition that looks like a function declaration.
5423 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5425 * BufferView2.C (copy):
5426 (copyEnvironment): do not clear the selection when doing a copy.
5428 * text.C (paintFirstRow): compilation fix
5430 2001-11-27 Ben Stanley <bds02@uow.edu.au>
5432 * tabular.C (Latex): correct line count when writing latex.
5434 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
5436 * paragraph_pimpl.h:
5437 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
5440 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5444 * LColor.C: change vfillline->added_space
5446 * text.C: add markers and text for added space
5448 * vspace.C: fix comment
5450 2001-11-28 André Pönitz <poenitz@gmx.net>
5452 * paragraph.C: whitespace changes
5453 * all the other files from the change on 2001/11/26:
5454 change *::pos_type into lyx::pos_type
5456 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
5458 * buffer.C (parseSingleLyXformat2Token): Set the language to the
5459 language of the document when inserting error insets.
5461 2001-11-26 André Pönitz <poenitz@gmx.net>
5463 * BufferView_pimpl.[Ch]:
5471 * paragraph_pimpl.[Ch]:
5474 * text2.C: reduce header dependencies, introduce type for positions
5476 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5478 * <various>: change to use Alert.h
5480 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
5482 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
5483 when encountering an unknown token.
5484 (readLyXformat2): Show an error message if there were unknown tokens.
5486 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5489 * BufferView_pimpl.C:
5493 * text2.C: use par->isInset()
5495 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5497 * paragraph_pimpl.h:
5498 * paragraph_pimpl.C: cleanup
5500 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5502 * text2.C (removeRow):
5503 * text.C (setHeightOfRow): remove useless (and costly) call to
5506 2001-11-20 Allan Rae <rae@lyx.org>
5508 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
5509 Now need Inset*::checkInsertChar() to return true for appropriate
5510 cases so that the characters in the minibuffer will actually be
5513 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5515 * text.C: change the order of the includes.
5516 (workWidth): initialize it at once.
5517 (workWidth): make maxw unsigned
5518 (setHeightOfRow): remove unused variable (inset)
5519 (selectSelectedWord): remove unused variable (inset)
5520 (paintRowText): fix drawing of hfill characters, and clean up a bit.
5522 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5524 * lyxserver.C (emergencyCleanup): do not try to close pipes if
5525 server is not running.
5527 (closeConnection): add debug info when server is disabled.
5529 * ColorHandler.C (getGCForeground): send debug message to GUI
5532 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
5534 * kbmap.C (bind): modify because return conventions of
5535 kb_sequence::parse have changed.
5537 * kbsequence.C (parse): only ignore spaces and not any stupid
5538 control character. This avoids tests like s[i] <= ' ', which are
5539 guaranteed to fail with 8bit characters and signed chars.
5540 Change return code to string::npos when there have been no error
5541 (0 was a bad idea when error is at first character)
5543 2001-11-14 José Matos <jamatos@fep.up.pt>
5546 * buffer.C (simpleDocBookOnePar): removed unused argument.
5548 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5550 * text.C (selectNextWordToSpellcheck): do not test explicitely for
5551 insets which are part of a word. Paragraph::isLetter takes care of
5552 that now. Use Paragraph::isInset to identify insets.
5553 (selectSelectedWord): do not test for hyphenation break.
5555 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
5556 that protected spaces are considered as spaces.
5558 * paragraph.C (isLetter): cleanup the code for ispell extras; use
5561 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
5564 * lyxserver.C: fix it. and small cleanup.
5566 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5568 * BufferView_pimpl.C: use inline helpers
5571 * LaTeXFeatures.C: fix typos
5574 * Spacing.C: move spacing_string into class
5576 * ToolbarDefaults.C: move stuff into namespace anon
5578 * layout.h: update enum
5580 * lyxfunc.C: use better debug
5582 * minibuffer.h: fix typo
5586 * WorkArea.C: add and use Debug::WORKAREA
5590 * text2.C: code re-organisation, inline helpers
5592 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
5594 * Layout.C: replaced a few cases of std::vector.size() == 0 with
5595 std::vector.empty().
5597 2001-11-09 Allan Rae <rae@lyx.org>
5599 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
5600 '\n's after tables. Tabular and ERT inset work now makes this no
5603 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5606 * minibuffer.C: fix crash, improve drop-down completion
5608 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
5611 * lyxserver.C: invalidate fd's when doing endPipe()
5613 2001-11-08 José Matos <jamatos@fep.up.pt>
5615 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
5616 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
5619 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
5621 2001-11-07 José Matos <jamatos@fep.up.pt>
5624 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
5627 * buffer.C (sgmlOpenTag):
5628 * buffer.C (sgmlCloseTag): removed debug info.
5630 * buffer.h (sgmlOpenTag):
5631 * buffer.h (sgmlCloseTag): made public.
5633 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5635 * buffer.C (saveParamsAsDefaults):
5636 * lyx_cb.C (MenuLayoutSave): remove
5638 * LyXAction.C (init):
5640 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
5642 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5644 * buffer.C (setPaperStuff): removed from here...
5646 * bufferparams.C (setPaperStuff): ... and moved there.
5648 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
5652 * XFormsView.C: add support for drop-down completion
5654 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
5656 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
5659 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5661 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
5664 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5666 * lyx_main.C: change ref to known bugs
5668 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5670 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
5671 to work around older babel problems.
5673 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5675 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
5677 2001-10-24 Juergen Vigna <jug@sad.it>
5679 * tabular-old.C (ReadOld): below variable changes reflected.
5681 * tabular.[Ch]: added ltType struct for longtable header/footer
5682 defines and changed all instances where they are used. Added
5683 future support for double top/bottom rows.
5685 2001-10-24 José Matos <jamatos@fep.up.pt>
5687 * buffer.h (docbookHandleCaption):
5688 * buffer.C (docbookHandleCaption): removed unused function.
5689 (makeDocBookFile): moved docbook supported version to v4.1.
5691 2001-10-24 José Matos <jamatos@fep.up.pt>
5694 * tabular.C (docbookRow): new function to export docbook code of a row.
5695 (DocBook): now honors the longtable flags.
5697 2001-10-23 José Matos <jamatos@fep.up.pt>
5700 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
5701 of the lyx defined sgml entities used in a docbook/linuxdoc document.
5703 * buffer.C (makeLinuxDocFile):
5704 (makeDocBookFile): reworked the preamble, more clean, and with
5705 support for lyx defined entities. Changed the document declaration
5706 to be more XML friendly.
5708 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
5709 if we need to output XML that should be done with a filter.
5711 2001-10-22 Juergen Vigna <jug@sad.it>
5713 * sp_pspell.h (class PSpell): add alive function needed in the
5714 controller to see if the spellchecker could be started.
5716 2001-10-22 Juergen Vigna <jug@sad.it>
5718 * buffer.C (insertStringAsLines): modify the font for inserting
5719 chars in certain conditions by calling checkInsertChar(font).
5721 2001-10-19 Juergen Vigna <jug@sad.it>
5723 * text.C (workWidth): use getRow instead of wrong algorithm.
5724 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
5726 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
5731 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
5733 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5735 * text.C (workWidth): do not search for the exact row when
5736 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
5737 optimization for big documents.
5739 2001-10-18 Juergen Vigna <jug@sad.it>
5741 * text.C (workWidth): new function with added Inset * parameter.
5743 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5745 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
5747 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
5748 change return type of getColumnNearX.
5751 * text.C (changeRegionCase): use uppercase/lowercase instead of
5754 (rightMargin): simplify code by factoring out the uses of
5759 (appendParagraph): use Paragraph::size_type
5761 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5763 * vspace.C (asLatexString): add a missing break
5765 2001-10-15 Herbert Voss <voss@perce.de>
5767 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
5769 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5771 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
5774 2001-10-10 André Pönitz <poenitz@gmx.net>
5776 * lyxfunc.C: removed greek_kb_flag.
5778 2001-10-10 Herbert Voss <voss@perce.de>
5780 * lyx_main.C: delete global string help_lyxdir.
5782 2001-10-09 Herbert Voss <voss@perce.de>
5784 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
5786 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
5788 * lyx_main.C: added global string help_lyxdir.
5790 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
5792 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5794 * lyxrc.C (set_font_norm_type): support iso8859-4
5796 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
5798 * LaTeX.C (deplog): add another regex for MikTeX
5800 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
5802 * lyxrc.C (set_font_norm_type): support iso8859-3
5804 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5806 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
5808 * LaTeXFeatures.C: remove special case of french and index
5810 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
5811 before \begin{document}). This solves several incompatibilities.
5813 2001-10-03 Garst Reese <reese@isn.net>
5815 * lyx_cb.C: change CheckTex error msg.
5817 2001-10-03 José Matos <jamatos@fep.up.pt>
5819 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
5821 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5823 * .cvsignore: update
5825 * lyx_main.C (commandLineVersionInfo): use new style version info.
5827 * buffer.C (writeFile):
5830 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
5832 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
5834 * version.h: update to use stuff in version.C
5836 * version.C.in: new file. Contains version information determined
5837 at compile time. This is a merging of version.h and
5840 2001-10-03 Juergen Vigna <jug@sad.it>
5842 * BufferView_pimpl.C (update): don't change "dirty" status in
5845 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
5847 * WorkArea.C (c-tor): re-position version string slightly.
5849 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
5851 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
5852 revert to previous code.
5854 WorkArea.[Ch]: (show, destroySplash): methods removed.
5856 WorkArea.C: rework code so that it's an amalgam of the codes before and
5857 after the splash screen was moved to WorkArea.
5859 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5862 * vspace.C (inPixels):
5865 * buffer.C (insertStringAsLines):
5866 (asciiParagraph): fix types to be large enough
5868 * lyxlex_pimpl.h: change member status from short to int
5870 * layout.h: fix type of endlabeltype
5873 * kbsequence.C (parse): change return type to string::size_type
5875 * LaTeX.C (updateBibtexDependencies): comment out unneeded
5878 * Bullet.C (bulletSize):
5879 (bulletEntry): do not use short ints as parameters
5881 * BufferView2.C (insertLyXFile): change a char to an int.
5883 * WorkArea.C (WorkArea): remove unneeded floats in computation
5885 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
5887 * buffer.C (asciiParagraph): Treat '\\' as other chars.
5889 * paragraph.C (asString): Do not ignore newline/hfill chars when
5890 copying to the clipboard.
5892 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
5894 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
5895 after a multi-line inset.
5897 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5899 * paragraph.C (validate): Set NeedLyXFootnoteCode
5901 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5903 * lyxfont.C (LyXSizeNames): changed increase-error to increase
5904 and decrease-error to decrease.
5906 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5908 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
5909 it more readable (should be equivalent)
5911 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
5913 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
5915 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5917 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
5918 of a cursor (row, etc.) after a character has been deleted
5919 (deleteEmptyParagraphMechanism): call the method above on _all_
5920 cursors held by the LyXText when a double space has been
5923 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5925 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
5927 (resizeCurrentBuff): remove code to destroy the old splash dialog.
5929 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
5930 background. Use greyOut() and the new show() methods to toggle between
5931 the foreground and background. Add code to remove the splash after
5932 its initial showing.
5934 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
5935 (create_forms): no longer call Dialogs::showSplash.
5937 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5939 * .cvsignore: add version_info.h
5941 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5943 * version_info.h.in: new file
5945 * Makefile.am: add version_info.h.in
5947 * lyx_main.C (commandLineVersionInfo): use version_info defined in
5948 version_info.h instead of VERSION_INFO
5950 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5952 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
5953 The ERT inset now returns string().
5955 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5957 * lyxtext.h, text.C (selectNextWord): renamed as
5958 selectNextWordToSpellcheck.
5960 * text.C (selectNextWordToSpellcheck): Modified to not select
5961 words inside an ERT inset.
5963 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5965 * lyx_cb.C (MenuLayoutSave): change a bit the question
5967 * sp_base.h: include <sys/types.h>
5969 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5971 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
5973 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
5975 * several files: fix typos in user-visible strings
5977 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5979 * text2.C (pasteSelection): do not set the selection, since it
5980 will be cleared later. Actually, the intent was to fix the way the
5981 selection was set, but I figured rmoving the code was just as good.
5983 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
5985 * FontLoader.C (available): Check if font is available without
5988 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5990 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
5992 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
5994 * lyxrc.[Ch]: added display_graphics variable and associated code.
5996 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5998 * bufferparams.C (hasClassDefaults): new method. Returns true if
5999 the buffer parameters correspond to known class defaults
6001 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6003 * XFormsView.C (show): set minimum size to the main window.
6005 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6007 * text2.C (copySelection):
6009 * lyxfind.C (LyXReplace):
6010 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6011 LyXText::selectionAsString.
6013 * paragraph.C (asString): add "label" argument to the second form
6015 * text2.C (selectionAsString): add "label" argument and pass it to
6016 Paragraph::asString.
6018 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6020 * lyx_main.C (commandLineHelp): remove version information
6022 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6024 * lyx_main.C: add -version commandline option
6026 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6028 * paragraph.h: make the optional constructor arg required instead.
6029 some modifications to other files because of this.
6031 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6033 * lyxserver.C (C_LyXComm_callback): make it static
6035 * lyx_main.C (error_handler): make it static
6037 * lyx_gui.C (LyX_XErrHandler): make it static
6039 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6041 * WorkArea.C: make the extern "C" methods static.
6043 * Makefile.am (lyx_LDADD): simplify
6045 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6047 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6048 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6050 * LyXAction.C (init):
6051 * lyxfunc.C (dispatch): associated code removal.
6053 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6055 * lyxfont.h (isSymbolFont): shut off warning
6057 * text.C (setHeightOfRow):
6058 (getVisibleRow): fix crash with empty paragraphs which have a
6061 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6063 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6066 2001-09-04 José Matos <jamatos@fep.up.pt>
6069 * tabular.C (docbook): rename docBook method to docbook.
6071 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6073 * Makefile.am: add dependencies to main.o.
6075 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6077 * FontLoader.C (available): Return false if !lyxrc.use_gui
6079 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6081 * FontInfo.C (query):
6082 * converter.C (view):
6083 * importer.C (Import):
6084 * exporter.C (Export): Can not -> cannot.
6086 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6088 * BufferView_pimpl.C: allow to create index inset even if
6091 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6093 * buffer.C (getLists): replace boost::tie code with an explicit pair
6094 as boost::tie can break some compilers.
6096 * iterators.h: Added a std:: declaration to the return type of
6099 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6101 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6104 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6106 * iterators.[Ch]: New files. Provide paragraph iterators.
6108 * buffer.C (changeLanguage): Use paragraph iterators.
6109 (isMultiLingual): ditto
6111 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6113 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6115 * FontLoader.C: Support for cmr font.
6117 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6119 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6120 (available): New method.
6122 * FontInfo.C (getFontname): Use scalable fonts even when
6123 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6126 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6128 * converter.C (Formats::view): reverted! Incorrect fix.
6130 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6132 * converter.C (Formats::view): only output the -paper option
6133 if the dvi viewer is xdvi, thereby fixing bug #233429.
6135 2001-08-23 Herbert Voss <voss@perce>
6137 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6139 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6141 * Spacing.h (Spacing): Set space to Default on in the default
6144 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6146 * vc-backend.h (RCS::versionString): add RCS to version
6147 (CVS::versionString): add CVS to version
6149 * vc-backend.C (scanMaster): do not add CVS to version.
6150 (scanMaster): do not add RCS to version
6152 * lyxvc.C (versionString): new method
6154 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6156 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6158 * Spacing.C (set): initialize fval
6160 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6162 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6165 2001-08-16 Juergen Vigna <jug@sad.it>
6167 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6169 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6171 * BufferView_pimpl.C:
6174 * text2.C: setParagraph takes linespacing now
6176 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6178 * LyxAction.C: add internal LFUN_CITATION_INSERT
6180 * LyXView.C: actually apply fix
6182 * bufferlist.C: fix open non-existent file
6184 * lyxfind.C: fix indentation
6186 * lyxfunc.C: remove unneeded assert, fix typo
6188 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6190 * MenuBackend.C: use "Floatname List"
6192 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6194 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6195 when converting LaTeX layout to insetERT.
6196 Generate a non-collapsed float when reading old float
6198 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6200 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6203 2001-08-13 Juergen Vigna <jug@sad.it>
6205 * text.C (fill): return 0 instead of 20 as this seems to be the more
6208 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6210 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6213 2001-08-13 Juergen Vigna <jug@sad.it>
6215 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6217 (SearchBackward): comment out the unlocking of the inset_owner this
6218 should not be needed!
6220 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6222 * Many files: Remove inherit_language, and add latex_language
6224 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6227 2001-08-10 Juergen Vigna <jug@sad.it>
6229 * text.C (prepareToPrint): fixed hfill-width in draw!
6231 * BufferView2.C (selectLastWord): save the selection cursor as this
6232 now is cleared in the function LyXText::clearSelection!
6234 2001-08-08 Juergen Vigna <jug@sad.it>
6236 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6237 BACKSPACE type functions.
6239 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6240 is only cutted from the document but not put in the cut-buffer, where
6241 still the old stuff should be.
6243 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6245 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6247 * tabular.C (SetWidthOfCell): fixed special case where the width
6249 (LeftLine): handle '|' in align_special.
6251 (LeftAlreadyDrawed): ditto
6252 (SetWidthOfCell): ditto
6254 2001-08-07 Juergen Vigna <jug@sad.it>
6256 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6258 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6260 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6261 * lyxlex.[hC]: ditto
6263 2001-08-06 Juergen Vigna <jug@sad.it>
6265 * text.C (getVisibleRow): fix up row clearing a bit.
6267 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6269 * minibuffer.C: make sure the X server sees the changes in the input.
6271 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6273 * paragraph.C (getFont): split into...
6274 (getLabelFont): this
6275 (getLayoutFont): and this
6276 * paragraph_pimpl.C (realizeFont): calling this
6278 * text2.C (getFont): split into...
6279 (getLayoutFont): this
6280 (getLabelFont): and this
6281 (realizeFont): all three calling this
6283 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6286 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6288 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6290 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
6292 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6293 layouts from the Quote inset insertion.
6295 2001-08-03 Juergen Vigna <jug@sad.it>
6297 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6299 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6300 only if status not is already CHANGED_IN_DRAW (second level).
6302 * text.C (draw): don't set the need_break_row when inside an
6305 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6307 * buffer.C (parseSingleLyXformat2Token): handle more latex
6310 * bufferview_funcs.[hC]: change function names to
6311 begin with small char, adjust other files.
6313 2001-08-02 André Pönitz <poenitz@gmx.net>
6316 BufferView_pimpl.C: remove broken special code for math-greek
6318 2001-08-02 Juergen Vigna <jug@sad.it>
6320 * BufferView_pimpl.C (update): redone this function so that we
6321 update the text again if there was a CHANGE_IN_DRAW.
6323 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6324 (drawFromTo): added a new internal bool which is used by draw() and
6326 (general): some cursor drawing problems fixed.
6328 2001-08-01 Juergen Vigna <jug@sad.it>
6330 * lyxfind.C (LyXFind): fixed
6331 (SearchForward): ditto
6332 (SearchBackward): ditto
6334 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6335 spurius drawing of the cursor in the main area.
6337 * text2.C (status): small fix which could lead to a segfault!
6338 (clearSelection): remove unneeded BufferView param.
6340 2001-08-01 André Pönitz <poenitz@gmx.net>
6342 * lyxfunc.C: small change due to changed mathed interface
6344 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6346 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6348 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6350 * lyxfunc.c: fail gracefully if file doesn't exist
6355 * BufferView_pimpl.C: IsDirWriteable() proto changed
6357 * LyXView.C: fix updateWindowTitle() to store the last title
6359 2001-07-31 Juergen Vigna <jug@sad.it>
6361 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6362 the font (wrong since using of Paragraph::highestFontInRange).
6364 * paragraph.C (highestFontInRange): added a default_size parameter.
6366 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6367 (setHeightOfRow): reformat
6369 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6371 * converter.[hC] + affected files: move to (inital-char)lowercase
6374 * ParagraphParameters.C (ParagraphParameters): remove commented code
6376 * PainterBase.[Ch]: remove commented code
6378 * LaTeXFeatures.h: add "bool floats" for float.sty
6380 * LaTeXFeatures.C (LaTeXFeatures): init floats
6381 (require): handle float
6382 (getPackages): do it with floats
6384 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6386 * BufferView_pimpl.C (Dispatch): improve handling of
6387 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6389 * commandtags.h: #include lyxfont.h here temporarily to avoid
6392 * bufferlist.h: include LString.h here.
6394 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6396 * text2.C (getStringToIndex): new method.
6398 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
6400 * *: Reduced header file dependencies all over.
6402 2001-07-30 Baruch Even <baruch@lyx.org>
6404 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6406 2001-07-29 Baruch Even <baruch@lyx.org>
6408 * buffer.C (readInset): Changed GRAPHICS to Graphics.
6410 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6412 * ParameterStruct.h (endif): add a default constructor to make
6413 sure that all variables is initialized.
6415 * ParagraphParameters.C (ParagraphParameters): adjust
6417 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6419 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6420 index; also, check that there is something to index, and that it
6421 does not span over several paragraphs.
6422 (doubleClick): use WHOLE_WORD_STRICT for double click.
6424 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6426 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6429 2001-07-26 Baruch Even <baruch@lyx.org>
6431 * buffer.C (readInset): Changed to call up InsetGraphics when reading
6432 an InsetFig figure, backwards compatible reading of old figure code.
6434 2001-07-27 Juergen Vigna <jug@sad.it>
6436 * text2.C: font.realize function adaption.
6438 * text.C (draw): add a warnings lyxerr text if needed.
6440 * layout.C: font.realize function adaption.
6442 * language.C: add inherit_language and implement it's handlings
6444 * bufferview_funcs.C (StyleReset): remove language parameter from
6445 font creation (should be language_inherit now).
6447 * bufferparams.C (writeFile): handle ignore_language.
6449 * paragraph.C (getFontSettings): the language has to be resolved
6450 otherwise we have problems in LyXFont!
6452 * lyxfont.C (lyxWriteChanges): added document_language parameter
6453 (update): removed unneeded language parameter
6455 * paragraph.C (validate): fixed wrong output of color-package when
6456 using interface colors for certain fonts in certain environments,
6457 which should not seen as that on the final output.
6459 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
6461 * BufferView_pimpl.C:
6466 * LyXAction.C: add thesaurus support
6469 * lyxfind.C: add "once" parameter, for thesaurus, to not
6470 move to the next match
6472 2001-07-26 Juergen Vigna <jug@sad.it>
6474 * lyxfont.C (realize): honor ignore_language too!
6477 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
6479 * text.C (draw): one place more for ignore_language to not draw
6482 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
6484 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
6486 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6488 * buffer.C (parseSingleLyXformat2Token): a more general fix for
6489 the minipage conversion problem.
6491 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6493 * buffer.C (parseSingleLyXformat2Token): check minipage if we
6496 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6498 * BufferView.h: don't forward declare WorkArea
6500 * BufferView.C: don't include WorkArea.h
6502 2001-07-25 André Pönitz <poenitz@gmx.net>
6506 * lyxfunc.C: new LFUN 'math-space'
6508 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
6510 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6512 * text2.C (toggleInset): call open/close
6514 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6516 * lyxfunc.C (dispatch): add debug for the disabled case
6518 * font.C (buttonText): make similar to rectText
6520 * buffer.C (readInset): comment out parsing of insetlist and
6523 * PainterBase.C (rectText): small correction
6525 * BufferView_pimpl.C: comment out insettheorem and insetlist
6526 * LyXAction.C: ditto
6527 * commandtags.h: ditto
6529 2001-07-24 Juergen Vigna <jug@sad.it>
6531 * text.C (draw): honor the ignore_language.
6533 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
6535 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6537 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
6540 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6542 * lyxtext.h: remove unused (and unimplemented) methods
6544 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6546 * text.C (getVisibleRow): honor background color
6549 * Painter.h: remove default color argument for fillRectangle
6551 * text.C (backgroundColor): new method
6553 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6555 * text.C (getVisibleRow): adjust
6557 * font.[Ch] (rectText): new method, metrics
6558 (buttonText): new method, metrics
6560 * PainterBase.[hC]: make rectText and buttonText always draw and take
6563 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6565 * ToolbarDefaults.C (read):
6566 * MenuBackend.C (read): allow escaping in all strings
6568 * BufferView_pimpl.C (insertAndEditInset): new method.
6569 (Dispatch): use insertAndEditInset whenever appropriate.
6571 * BufferView_pimpl.C (insertNote): removed
6573 * BufferView_pimpl.C (smartQuote): new method, moved from
6574 BufferView; if an insetquote cannot be inserted, insert a '"'
6577 * BufferView2.C: remove insertCorrectQuote();
6579 * lyxfunc.C (getStatus): Add support for all remaingin
6582 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
6584 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
6585 command (necessary to pass " as parameter of self-insert.
6587 * text.C (selectWordWhenUnderCursor):
6588 (selectWord): add word_location parameter
6589 (selectWordWhenUnderCursor): same + remove special code for word
6591 (selectNextWord): use kind() to guess type of insetspecialchar,
6594 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
6595 (insertErtContents): create ert insets as collapsed.
6596 (readInset): better compatibility code for Info inset.
6598 2001-07-20 Juergen Vigna <jug@sad.it>
6600 * lyxfunc.C (dispatch): use always LyXFind now!
6602 * text2.C (init): add a reinit flag so that the LyXText can be
6603 reinited instead of deleted and reallocated (used in InsetText).
6605 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
6611 2001-07-18 Juergen Vigna <jug@sad.it>
6613 * text.C (selectNextWord): handle insets inside inset by calling
6614 always the bv->text functions so that we can go up the_locking_inset!
6616 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
6617 in strange locations when inside an inset!
6619 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
6620 handling to include insets.
6622 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
6624 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6626 * LyXAction.C (init):
6628 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
6629 LIGATURE_BREAK, since the name is so stupid.
6631 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6633 * buffer.C (readInset): enable reading of new InsetNotes as well as old
6636 * FontLoader.C: remove FORMS_H_LOCATION cruft.
6638 * sp_form.[Ch]: remove.
6640 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
6642 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
6645 * src/buffer.C (readInset): ditto.
6647 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6649 * BufferView_pimpl.C (specialChar): new method. Obsoletes
6650 menuSeparator(), endOfSentenceDot(), ldots() and
6651 hyphenationPoint(), which are therefore removed.
6652 (Dispatch): handle LFUN_HYPHENATION_BREAK.
6654 * LyXAction.C (init):
6655 * commandtags.h: add LFUN_HYPHENATION_BREAK.
6657 * paragraph.C (getWord): removed.
6659 * BufferView_pimpl.C (Dispatch): use last word or selection for
6660 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
6662 * lyx_main.C (queryUserLyXDir): do not ask before creating
6663 user_dir, except if it has been named explicitely.
6665 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6667 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
6668 a document of zero size.
6670 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6672 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
6673 approriately in the c-tor and in require().
6674 (getPackages): output the appropriate LaTeX for natbib support.
6676 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
6677 variables "use_natbib" and "use_numerical_citations" when reading the
6679 (readInset): read the various natbib cite commands.
6680 (validate): white-space change.
6682 * bufferparams.[Ch]: new variables "bool use_natbib" and
6683 "bool use_numerical_citations".
6684 (writeFile): output them in the LyX file.
6686 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6688 * lyxfunc.C (getStatus): add support for all the inset insertion
6691 * text2.C (insertInset):
6692 * paragraph.C (insetAllowed):
6693 * BufferView_pimpl.C (insertInset): update to take in account the
6694 renaming of insertInsetAllowed
6696 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
6698 * text2.C (getInset): new method. returns inset at cursor position.
6700 * BufferView_pimpl.C (Dispatch): changes because of this.
6702 * LyXAction.C (init): rename open-stuff to inset-toggle.
6704 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
6706 * text2.C (toggleInset): renamed from openStuff; use
6709 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6711 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
6713 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
6715 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
6717 * buffer.C (readLyXformat2): Add filename to the error dialog
6719 2001-07-18 Juergen Vigna <jug@sad.it>
6721 * tabular.C (GetCellNumber): put an assert here instead of the check!
6723 2001-07-17 Juergen Vigna <jug@sad.it>
6725 * BufferView_pimpl.C (toggleSelection): adapted too.
6727 * text.C (selectNextWord): adapted for use with insets.
6728 (selectSelectedWord): ditto
6730 2001-07-17 Juergen Vigna <jug@sad.it>
6732 * sp_spell.C (PSpell): fix initialitation order.
6734 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6736 * paragraph.C: spacing
6738 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
6740 * sp_spell.C: repair language selection for pspell
6742 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6744 * lyxfunc.h: change more methods to begin with lower char.
6746 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
6748 * buffer.C (parseSingleLyXformat2Token): Generate error insets
6749 for unknown layouts.
6751 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
6753 * buffer.C (readLyXformat2): Generate an error dialog if there are
6756 2001-07-16 Juergen Vigna <jug@sad.it>
6758 * sp_spell.C: always compile ISpell part.
6760 * lyxrc.C: added use_pspell entry and it's handling.
6762 2001-07-13 Juergen Vigna <jug@sad.it>
6764 * sp_spell.C: removed double includes.
6766 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6768 Consistent use of Lsstream.h:
6769 * Lsstream.h: added using std::stringstream for consistencies sake.
6771 * buffer.C: removed using std::stringstream
6773 * lyxfont.C (stateText):
6774 * paragraph.C (asString):
6775 * text.C (selectNextWord, selectSelectedWord):
6776 * text2.C (setCounter):
6777 * vspace.C (asString, asLatexString):
6778 std::ostringstream -> ostringstream.
6780 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6782 * LyXAction.C: add LFUN_HELP_ABOUTLYX
6783 * commandtags.h: add LFUN_HELP_ABOUTLYX
6784 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
6786 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6788 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
6790 * lyx_gui_misc.C: remove spellchecker
6791 * lyxfunc.C: showSpellchecker
6793 * sp_ispell.h: added
6794 * sp_pspell.h: added
6796 * sp_form.[Ch]: removed
6797 * spellchecker.[Ch]: removed
6799 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
6801 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
6803 (simpleTeXSpecialChars): Simply print the input character without
6804 any special translation if pass_thru is set.
6806 * layout.h: Added bool pass_thru to layout class for being able to
6807 implement pass through of a paragraph for Literate Programming.
6809 * layout.C: add LT_PASS_THRU to LayoutTags enum.
6810 * layout.C (LyXLayout): set pass_thru to flase in constructor.
6811 * layout.C (Read): add "passthru" to list of layout tags and add
6812 code to set the pass_thru boolean when it is read.
6814 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6816 * trans_decl.h: remove allowed from KmodInfo
6818 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
6822 * paragraph_pimpl.C (erase): use boost::prior
6824 * Painter.C (text): use data() instead of c_str() when length is
6826 * WorkArea.C (putClipboard): ditto
6827 * font.h (width): ditto
6829 * BufferView2.C: use it-> instead of (*it). for iterators
6831 * paragraph_pimpl.C: ditto
6832 * paragraph.C: ditto
6833 * minibuffer.C: ditto
6838 * converter.C: ditto
6840 * Variables.C: ditto
6841 * TextCache.C: ditto
6842 * MenuBackend.C: ditto
6843 * LyXAction.C: ditto
6845 * FloatList.C: ditto
6847 * ColorHandler.C (LyXColorHandler): ditto
6849 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6851 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
6853 * text2.C (openStuff): reintroduce this method (which had been
6854 nuked in NEW_INSETS frenzy).
6856 * lyxfunc.C (Dispatch): when an action has not been handled, use
6857 its name in the error message, not its number.
6859 * paragraph.C (inInset): change method name to begin with lowercase.
6862 * text2.C: updates because of this.
6864 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6866 * ToolbarDefaults.C (add): add spaces in error message
6868 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6870 * buffer.C (readLyXformat2): initialize the ert comp. variables.
6871 (readLyXformat2): rename return_par to first_par, use lyxlex's
6872 pushToken and remove the manual push handling.
6873 (parseSingleLyXformat2Token): add another ert comp. variable:
6874 in_tabular, rename return_par to first_par. handle newlines better
6876 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6878 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
6880 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6882 * text2.C (getParFromID): removed
6884 * buffer.C (getParFromID): new method moved form lyxtext.
6885 * BufferView2.C (insertErrors): adjust
6886 (setCursorFromRow): adjust
6887 * BufferView_pimpl.C (restorePosition): adjust
6888 * lyxfunc.C (Dispatch): adjust
6889 * undo_funcs.C (textUndo): adjust
6891 (textHandleUndo): adjust
6892 (textHandleUndo): adjust
6894 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6896 * buffer.C: up' the LYX_FORMAT
6898 * lyxfont.h: turn NO_LATEX on as default
6900 * buffer.C (insertErtContents): new methods of tex style compability.
6901 (parseSingleLyXformat2Token): use it several places.
6902 * tabular.C (OldFormatRead): and here
6904 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6906 * text2.C: remove some commented code.
6909 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
6910 * trans.C: changes because of the above.
6912 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
6914 * text2.C (setCounter): Fix counters bug with bibliography layout.
6916 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6918 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
6919 own member functions
6920 (simpleTeXSpecialChars): ditto
6922 2001-07-06 Juergen Vigna <jug@sad.it>
6924 * a lot of files: changed the access to LyXText::status and the
6925 call of undo-functions.
6927 * undo.[Ch]: added a inset_id to the undo informations.
6929 * undo_funcs.[Ch]: added and moved here all undo functions.
6931 * lyxtext.h: give the status enum a weight, made status_ a private
6932 variable and made accessor functions for it, removed the whole bunch
6933 of undo-functions as they are now in their own file, make some
6934 functions publically available. Added function ownerParagraph with
6937 * paragraph.[Ch]: added "bool same_ids" to the constructor,
6938 made InInset() a const function, added getParFromID() function.
6940 * buffer.[Ch]: added const version for inset_iterator functions,
6941 added getInsetFromID() function.
6943 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
6944 changed undo functions for new version.
6946 2001-07-05 Juergen Vigna <jug@sad.it>
6948 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
6949 unknow mechanism does not call the proper constructor but only this
6950 one also if I request the other!?
6952 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6954 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
6956 * text2.C (LyXText): use initialization lists.
6958 * lyxtext.h (Selection): initialize set_ and mark_
6959 (init): remove method
6961 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
6963 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
6965 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6967 * screen.[Ch]: change method names to begin with lowercase
6969 * BufferView_pimpl.C (updateScrollbar): simplify further and
6970 hopefully make it a bit faster.
6972 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6974 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
6975 calling directly xforms functions.
6977 * Painter.C (Painter):
6978 * lyx_cb.C (MenuWrite):
6979 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
6982 * lyx_gui.C: remove bogus guiruntime extern declaration.
6984 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6986 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
6988 (redoDrawingOfParagraph): ditto
6989 (redoParagraphs): ditto
6990 (cutSelection): don't create a object for CutAndPaste use the
6991 static method directly
6992 (pasteSelection): ditto
6994 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
6997 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6999 * modifications to some other files because of this.
7001 * Makefile.am (lyx_SOURCES): add XFormsView
7003 * XFormsView.[Ch]: new files
7005 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7006 the main window. Move the gui dependent stuff to XFormsView
7008 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7010 * tabular.C (GetCellInset): update cur_cell also in the row/col
7011 version of this function.
7013 * lyxfunc.C: no need to include figure_form.h here.
7019 * lyxvc.C: no need to include forms.h here.
7021 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7023 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7025 * lyxfunc.C (Dispatch):
7027 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7028 constructor argument.
7030 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7032 * paragraph.C (Paragraph): dont't clear, and just set layout.
7033 (makeSameLayout): use params's copy contructor.
7035 * ParagraphParameters.[Ch] (makeSame): delete method
7037 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7039 * Variables.[Ch]: fix indentation, rename set to isSet
7041 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7043 * lyxfunc.C (Dispatch): fix typo
7045 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7047 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7050 * bufferlist.C: include assert.h for emergencyWrite().
7052 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7054 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7055 give up at last (bug #425202) !
7057 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7063 * spellchecker.C: strip spellchecker options and bring up
7064 preferences tab instead
7066 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7068 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7069 the istringstream constructor
7071 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7073 * paragraph.C (getLayout): fix return value
7075 * paragraph.h: do not declare getLayout as inline.
7077 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7079 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7081 * lyxcursor.h (operator<): new func
7082 (operator>): new func
7083 (operator>=): new func
7084 (operator<=): new func
7086 * text.C (changeCase): use selection.start and selection.end
7087 (changeRegionCase): require from to be <= to. Require par to be a
7090 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7092 2001-06-27 Juergen Vigna <jug@sad.it>
7094 * text.C (cursorLeftOneWord): changed to return the cursor and added
7095 overlay with BufferView * parameter which calls this one.
7097 (selectWord): use new getWord function.
7098 (changeCase): renamed from changeWordCase as and extended to work
7101 * lyxtext.h: added enum word_location
7103 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7104 changeCase as this operates now also on selections.
7106 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7108 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7110 * many files: send debug output to Debug::INFO instead of
7113 * converter.C (View):
7115 (Move): send debug output to Debug::FILES instead of console.
7117 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7119 * lyxfunc.C (getStatus): use func_status
7121 * func_status.h: new header, describing the results of
7124 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7127 2001-06-25 The LyX Project <jug@sad.it>
7129 * buffer.C (sgmlOpenTag):
7131 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7133 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7135 * text2.C: remove some dead code
7137 * tabular.C (GetCellInset): store the last cell checked (gotten)
7139 * tabular.h: add the helper for the speedup
7141 * lyxtext.h: remove some dead code
7143 2001-06-26 The LyX Project <Asger>
7145 * paragraph.C: Change export to LaTeX of alignment to
7146 \begin{center} and family for better roundtrip work with reLyX.
7148 * Tune the math drawing a bit.
7150 2001-06-25 The LyX Project <Asger>
7152 * LColor.C (LColor): New color for math background. New color
7155 2001-06-25 The LyX Project <jug@sad.it>
7157 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7160 * bufferlist.C (newFile): do not restrict to files ending with
7163 * BufferView_pimpl.C (MenuInsertLyXFile):
7165 2001-06-24 The LyX Project <jug@sad.it>
7167 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7170 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7172 * lyxtext.h: rename most methods to begin with a small char.
7173 Lots of changes because of this.
7175 * paragraph.C (Paragraph): do not call fitToSize
7176 (erase): call Pimpl::erase
7177 (insertChar): call Pimpl::insertChar
7178 (insertInset): call Pipl::insertInset
7179 (breakParagraph): do not call fitToSize
7180 (breakParagraphConservative): do not call fitToSize
7181 (fitToSize): remove method
7183 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7185 2001-06-24 The LyX Project <Asger>
7187 * Fix Qt compilation^2
7189 2001-06-24 The LyX Project <jug@sad.it>
7191 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7192 depthHook(getDepth()-1).
7195 * ParagraphParameters.h:
7196 * ParameterStruct.h: change type of depth to unsigned int ==
7197 depth_type. Many adaptations to other files before of that.
7199 2001-06-24 The LyX Project <Asger>
7201 * Fix Qt compilation.
7203 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7205 * paragraph.h: renamed several methods to begin with small letter.
7206 several changes to many parts of the code because of this.
7208 2001-06-23 The LyX Project <jug@sad.it>
7210 * text2.C (InsertStringAsLines): renamed from InsertStringA;
7211 rewritten to discard all double spaces when KeepEmpty is off
7212 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7213 to only handle newlines but not fiddle with spaces and friends.
7215 * lyxfunc.C (MenuNew): when doing 'new from template', use
7216 template_path as default directory
7218 2001-06-23 The LyX Project <Asger>
7220 * Clean-up of header file includes all over
7221 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7223 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7225 * paragraph.h: renamed from lyxparagraph.h
7227 2001-06-23 Asger <lyx@violet.home.sad.it>
7229 * Buffer.h: Removed Buffer::resize
7230 * BufferList.h: Removed BufferList::resize
7231 * LyXView.h: Added LyXView::resize. This way, we will only reflow
7232 the document lazily when we change the width, or the font settings.
7234 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7236 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7238 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7240 * buffer.h: remove out of date comment
7242 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7245 * screen.C: fix "theoretical" GC leak
7247 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7249 * LaTeX.C (scanAuxFile):
7250 (deplog): remove trailing \r when reading stream (useful under
7253 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
7255 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7256 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7257 and BufferView::theLockingInset(Inset*), so should use them and not
7258 access bv_->text->the_locking_inset directly.
7260 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7262 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7265 * tex-defs.h: remove old unused file
7267 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
7269 * BufferView_pimpl.C: fix typo, remove minibuffer message
7270 when buffer has loaded
7272 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7274 * lyxfunc.C (Dispatch): use stringstream
7275 (MenuNew): use stringstream
7276 (Open): use stringstream
7278 * importer.C (Import): use stringstream
7280 * bufferview_funcs.C (CurrentState): use stringstream
7282 * LaTeX.C (run): use stringstream
7284 * BufferView_pimpl.C (savePosition): use stringstream
7285 (restorePosition): use stringstream
7286 (MenuInsertLyXFile): use stringstream
7288 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7301 * vspace.C: removed // -*- C++ -*- as first line.
7304 * version.h: added // -*- C++ -*- as first line.
7306 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7308 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7310 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7313 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7315 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7318 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7320 * gettext.C: include LString.h even when --disable-nls is on.
7322 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7324 * converter.h (Get): changed argument type from int to
7325 FormatList::size_type to avoid unnecessary conversion.
7327 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7330 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7332 * gettext.h: include LString.h even when --disable-nls is on.
7334 2001-06-07 Juergen Vigna <jug@sad.it>
7336 * text.C (BreakAgain): subst spaces with tabs.
7338 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7339 (resizeInsetsLyXText): set force on resizeLyXText.
7341 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7343 * gettext.h (gettext_init):
7344 (locale_init): use a real definition instead of a macro
7346 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7348 * Bufferview_pimpl.C:
7350 * LColor.C: further lcolor tidies
7352 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7354 * BufferView_pimpl.C (updateScrollbar): simplify.
7356 * BufferView2.C: don't include insets/insetinfo.h, change
7357 prototype for insertInset and call the Pimpl version. let
7358 updateInset call Pimpl version.
7360 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7361 gotoInset to BufferView::Pimpl
7363 2001-06-01 Juergen Vigna <jug@sad.it>
7365 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7366 inside a LockingInset (is the update needed at all?).
7368 2001-05-31 Juergen Vigna <jug@sad.it>
7370 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7371 here not the old one otherwise how should we compare it afterwards
7374 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7379 * FontInfo.C: bring C functions into global namespace when
7382 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7384 * LString.h: make sure config.h has been loaded before LString.h.
7386 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7387 (one for each char read by EatLine!).
7389 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7392 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7394 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7395 to the same as the par we break from
7397 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7399 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7401 * MenuBackend.C (expand): also create menu entries for wide
7402 versions of the floats.
7404 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7406 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7408 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7409 frontends/Makefile.am
7415 * tabular.C (getTokenValue): add std::
7417 * tabular-old.C (getTokenValue): add std::
7418 (getTokenValue): ditto
7419 (getTokenValue): ditto
7421 * screen.C (ToggleSelection): adjust
7423 * lyxtext.h: put selection cursors inside a Selection struct.
7425 * lyxfunc.C (moveCursorUpdate): adjust
7427 * lyxfont.C (latexWriteStartChanges): add std::
7431 * font.h: delete with(char const *, LyXFont const &)
7433 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
7435 * FontInfo.C (getFontname): add std::
7437 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7438 (workAreaButtonPress): adjust
7439 (tripleClick): adjust
7441 (moveCursorUpdate): adjust
7444 * BufferView2.C (gotoInset): adjust
7446 2001-05-30 Juergen Vigna <jug@sad.it>
7448 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
7449 to check pspell I add this as default as I now have new pspell
7450 libraries and they seem to use this.
7452 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7454 * text2.C (CutSelection): make the cursor valid before the call to
7457 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7459 * kbsequence.C (parse): de-uglify a bit the parsing code, which
7460 relied on 0 terminated strings and other horrors. Bug found due to
7461 the new assert in lyxstring!
7463 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
7466 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7468 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
7471 * lyxfunc.C (processKeySym): change method of getting to the
7474 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
7475 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
7476 * BufferView_pimpl.[Ch]: here as private methods.
7478 2001-05-28 Juergen Vigna <jug@sad.it>
7480 * text.C (SetHeightOfRow): added the update() call again as it is
7481 needed to initialize inset dimensions!
7483 2001-05-16 Juergen Vigna <jug@sad.it>
7485 * text2.C (SetCharFont): Add new function with BufferView * and
7486 bool toggleall parameters for setting insets internal fonts.
7487 (SetFont): Freeze the undo as we may change fonts in Insets and
7488 all this change should be inside only one Undo!
7490 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
7491 setting font's in insets as for them we have the SetFont function!
7493 2001-05-15 Juergen Vigna <jug@sad.it>
7495 * text2.C (ClearSelection): to be sure we REALLY don't have any
7498 * tabular.C (TeXCellPreamble): fixed the left border problem for
7501 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7503 * LaTeX.C (deplog): Make sure that the main .tex file is in the
7506 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7508 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
7509 LFUN_BREAKPARAGRAPH.
7511 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7512 help test to "internal only", similar for LFUN_INSERT_URL
7514 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
7515 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
7516 auto_region_delete and deadkeys.
7518 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
7521 * LColor.C: remove some dead entries, tidy a little
7523 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7525 * lyxfunc.C (processKeySym): comment the Escape handling, remove
7527 (Dispatch): implement LFUN_ESCAPE
7529 * commandtags.h: add LFUN_ESCAPE
7531 * LyXAction.C (init): add entry for LFUN_ESCAPE
7533 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
7534 Remove commented code.
7535 (insertNote): moved here
7536 (open_new_inset): moved here
7538 * BufferView[2].[Ch]: move insertNote and open_new_inset to
7541 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7543 * kbmap.C (findbinding): clean it up and make it work correctly.
7545 * lyx_main.C (init): do not pass argc and argv as parameters
7547 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7549 * buffer.C: fix path for OS/2 & Win32
7553 * lyx_main.C: Added os:: class.
7555 * os2_defines.h: update
7557 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7559 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
7560 better by trying again with reduced state.
7562 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7564 * lyxrc.C (read): print error about invalid key sequence only when
7565 debugging (because not all latinX keysyms are known to some X
7568 * kbsequence.C (getiso): add a few std:: qualifiers
7569 (getiso): comment out extra return statement.
7571 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
7573 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
7575 (Dispatch): enhance the accent inset a bit. (not perfect)
7577 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7579 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
7581 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7583 * bufferlist.C (emergencyWrite): fix assert() call
7585 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
7587 * text.C (InsertChar): Added trivial patch to only send the "you
7588 can not do multiple spaces this way" message once during a
7591 2001-05-08 Baruch Even <baruch@lyx.org>
7593 * Makefile.am: Changed order of libraries to get LyX to link properly
7594 with the gnome frontend.
7596 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7598 * LaTeXFeatures.h: add a std:: qualifier
7600 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7602 * paragraph.C (String): use stringstream
7604 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7606 * paragraph.C (writeFile): remove footflag arg
7608 * buffer.C (makeLaTeXFile): use stringstream
7609 (latexParagraphs): remove footnot gurba
7611 * LaTeXFeatures.C (getPackages): use stringstream
7612 (getMacros): likewise
7613 (getTClassPreamble): likewise
7614 (getFloatDefinitions): new method
7616 * paragraph.C (writeFile): reindent
7619 * WorkArea.h: revert the xpos + etc changes.
7621 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
7623 * lyxparagraph.[Ch]: add copy constructor, remove Clone
7625 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
7626 (pasteSelection): likewise
7627 * text2.C (CreateUndo): likewise
7629 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7631 * minibuffer.C (peek_event): temporarily reduce the functionality
7632 of the minibuffer (to allow args on lfuns)
7634 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
7635 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
7637 * buffer.C (readInset): add compability reading of old float
7638 lists, add reading of new style float list.
7639 (readInset): avoid reevaluation of inscmd.getCmdName()
7640 (getLists): reindent
7642 * MenuBackend.C (MenuItem): implement parsing of
7643 md_floatlistinsert and md_floatinsert.
7644 (expand::LastFiles): move initalizaton of iterators out of loop,
7646 (expand::Documents): introduce typdedef vector<string> Strings,
7648 (expand::ExportFormats): introduce typedef vector<Format const *>
7649 Formats, and use it.
7650 (expand): implement FloatListInsert and FloatInsert.
7652 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
7653 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
7654 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
7656 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
7658 (Dispatch::LFUN_FLOAT_LIST): implement
7660 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7662 * LaTeX.C (run): Fix problem with --export code.
7664 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7666 * BufferView.[Ch] (workarea): removed.
7667 (getClipboard) new method; wrapper for workarea()->getClipboard()
7669 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
7672 * WorkArea.h (width, height, xpos, ypos): These methods all
7673 returned the dimensions of the work_area sub-area of WorkArea,
7674 resulting in a position error if the WorkArea were resized. Now
7675 return the dimensions of the entire WorkArea.
7677 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
7679 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7681 * LaTeX.C (deplog): correct the syntax of regex reg1
7683 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7685 * undo.C: remove !NEW_INSETS cruft
7687 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7689 * text2.C: remove !NEW_INSETS cruft
7691 * text.C: remove !NEW_INSETS cruft
7693 * tabular.C: remove !NEW_INSETS cruft
7695 * spellchecker.C: remove !NEW_INSETS cruft
7697 * lyxtext.h: remove !NEW_INSETS cruft
7699 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
7701 * lyxfunc.C: remove !NEW_INSETS cruft
7703 * lyxfind.C: remove !NEW_INSETS cruft
7705 * lyx_cb.C: remove !NEW_INSETS cruft
7707 * figureForm.C: remove !NEW_INSETS cruft
7709 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
7711 * buffer.[Ch]: remove !NEW_INSETS cruft
7713 * ToolbarDefaults.C: remove !NEW_INSETS cruft
7715 * CutAndPaste.C: remove !NEW_INSETS cruft
7717 * BufferView_pimpl.C: remove !NEW_INSETS cruft
7719 * BufferView2.C: remove !NEW_INSETS cruft
7721 * BufferView.h: remove !NEW_INSETS cruft
7723 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7725 * Lsstream.h: include LString.h before the sstream headers to
7726 fix problem with gcc 2.95.3 and lyxstring
7728 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7730 * lyx_main.C: add using directives when needed for C functions
7731 declared in std:: namespace.
7733 2001-04-27 Juergen Vigna <jug@sad.it>
7735 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
7736 (SetHeightOfRow): comment out the update call should not be needed!
7738 2001-04-13 Juergen Vigna <jug@sad.it>
7740 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
7741 (LyXTabular): tried to minimize operator= operations (and realized
7742 hopfully Lars wish).
7744 2001-04-27 Juergen Vigna <jug@sad.it>
7746 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
7748 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7750 * lyxfunc.C (Dispatch): hack to make listof algorithm work
7752 * buffer.C (readInset): hack to make listof algorithm work
7754 * BufferView_pimpl.C: hack to make listof algorithm work
7756 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7758 * LyXAction.C: removed all !NEW_INSETS cruft
7759 (init): moved lfun_item in method
7761 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
7763 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7765 * BufferView2.C (theLockingInset): white space.
7767 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7769 * minibuffer.C: include <iostream>
7771 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
7773 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
7775 * commandtags.h: add LFUN_TRANSPOSE_CHARS
7777 * text.[Ch] (TransposeChars): new method
7779 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7781 * call message directly through LyXView instead of through LyXFunc
7782 * BufferView2.C: adjust
7783 * BufferView_pimpl.C: adjust
7784 * FontLoader.C: adjust
7786 * bufferview_funcs.C: adjust
7787 * converter.C: adjust
7788 * figureForm.C: adjust
7789 * importer.C: adjust
7791 * lyx_gui_misc.C: adjust
7795 + more files in subdirs
7797 * lyxparagraph.h (size): move up int file
7800 * adjust all uses of Assert to lyx::Assert.
7802 * BufferView2.C (ChangeCitationsIfUnique): adjust for
7803 lyxfunctional in namespace lyx
7804 * layout.C (hasLayout): ditto
7807 (delete_layout): ditto
7808 (NumberOfClass): ditto
7809 * converter.C (GetFormat): ditto
7814 * bufferlist.C (getFileNames): ditto
7815 (emergencyWriteAll): ditto
7818 * MenuBackend.C (hasSubmenu): ditto
7821 * BufferView_pimpl.C (getInsetByCode): ditto
7823 2001-04-18 Juergen Vigna <jug@sad.it>
7825 * vspace.C (asLatexString): fixed the 100% problem.
7827 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7829 * lyxfunc.C (Dispatch):
7831 * minibuffer.h: add a few std:: qualifiers
7833 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7835 * minibuffer.[Ch]: reimplement so that commands is initiated and
7836 run from lyxfunc, simplified som handling, and made the completion
7837 and history code for complete. wip.
7839 * lyxfunc.C (processKeySym): call message
7840 (miniDispatch): new temporary method
7841 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
7842 (LFUN_MESSAGE): implement
7843 (LFUN_MESSAGE_PUSH): implement
7844 (LFUN_MESSAGE_POP): implement
7845 (initMiniBuffer): the initial/defualt minibuffer message.
7847 * lyxfont.[Ch]: inline some more getters
7849 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
7851 * lyx_gui_misc.[Ch] (WriteStatus): remove method
7853 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
7854 (AutoSave): use LFUN_MESSAGE
7855 (Reconfigure): ditto
7857 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
7859 * figureForm.C: use LFUN_MESSAGE
7861 * converter.C (runLaTeX): use LFUN_MESSAGE
7863 * bufferview_funcs.C: use LFUN_MESSAGE
7865 (changeDepth): ditto
7867 * bufferparams.h: use boost::
7869 * bufferlist.h: inherit privately from noncopyable
7871 * bufferlist.C (loadLyXFile): remove some commented code.
7873 * buffer.C (runChktex): use LFUN_MESSAGE
7875 * ShareContainer.h: inherit privately from noncopyable
7877 * ParagraphParameters.[hC] (depth): inline it.
7879 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
7881 (message): new method
7882 (messagePush): ditto
7884 (show): init minibuffer
7885 (showState): direct call
7887 * LaTeX.[Ch]: inherit privately from noncopyable
7888 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
7889 instead of WriteStatus.
7891 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
7893 * BufferView_pimpl.C (buffer): don't init minibuffer
7894 (workAreaButtonPress): use LFUN_MESSAGE
7895 (workAreaButtonRelease): ditto
7896 (savePosition): ditto
7897 (restorePosition): ditto
7898 (MenuInsertLyXFile): ditto
7899 (workAreaExpose): don't init minibuffer
7900 (update): remove commented code, simplify
7902 * BufferView2.C (openStuff): use LFUN_MESSAGE
7903 (toggleFloat): ditto
7906 (copyEnvironment): ditto
7907 (pasteEnvironment): ditto
7912 (updateInset): remove some commented code
7914 * lastfiles.h: inherit privately from noncopyable
7919 * lyxlex_pimpl.h: ditto
7921 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
7922 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
7923 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7925 * LyXAction.h: inherit privately from noncopyable, add methods
7926 func_begin, func_end, returning iterators to the func map.
7928 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
7929 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7930 (func_begin): new method
7931 (func_end): new method
7933 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
7935 (copySelection): ditto
7936 (pasteSelection): ditto
7938 * BufferView.C: whitespace change
7939 * BufferView.h: inherit privately from noncopyable
7941 2001-04-16 Allan Rae <rae@lyx.org>
7943 * tabular-old.C (l_getline):
7944 * spellchecker.C (sc_check_word):
7945 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
7946 an unrecognised preprocessor directive. So ensure they're wrapped.
7948 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
7950 * src/exporter.C (Export): Give an error message when path to file
7953 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
7955 * LaTeX.C (deplog): Always check that foundfile exists.
7957 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7960 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
7962 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7964 * tabular.[Ch] (getLabelList): implement new method
7966 * minibuffer.h: comment ouf setTiimer
7968 * minibuffer.C (ExecutingCB): constify res
7969 (peek_event): constify s
7970 (Set): constify ntext
7971 (Init): constify nicename
7973 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
7975 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
7976 (savePosition): use two params to Minibuffer::Set
7977 (restorePosition): ditto
7979 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7981 * lyx_main.C: include language.h
7983 * Makefile.am (lyx_main.o): add language.h
7985 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7991 * CutAndPaste.C: include gettext.h
7993 * lyxfont.h: remove old hack with ON and OFF.
7996 * lyxfont.h: do not include language.h...
8001 * bufferview_funcs.C:
8007 * paragraph.C: ... but do it here instead
8009 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8011 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8013 * tabular.C: small reformat
8015 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8018 (BreakParagraph): ditto
8019 (SetOnlyLayout): ditto
8022 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8025 * lastfiles.C: removed most using decl, add std:: where needed
8027 * buffer.C: ws changes
8029 * MenuBackend.C (class compare_format): put into anon namespace
8030 (expand): constify label, names, action, action2
8033 * text.C (SingleWidth): constify font
8034 (IsBoundary): constify rtl2
8035 (GetVisibleRow): constify ww
8037 * LaTeX.C (deplog): constify logfile
8039 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8041 (workAreaExpose): constify widthChange, heightChange
8043 * lyxrow.C (par): moved
8046 * lyxrow.h: as inlines here
8048 * lyxfont.h (shape): moved from lyxfont.C
8049 (emph): moved from lyxfont.C
8051 * lyxfont.C (LyXFont): use initialization list for all
8053 (shape): move to lyxfont.h as inline
8054 (emph): move to lyxfont.h as inline
8057 2001-04-04 Juergen Vigna <jug@sad.it>
8059 * vspace.C: had to include stdio.h for use of sscanf
8061 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8064 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8065 independent of xforms.
8067 2001-04-02 Juergen Vigna <jug@sad.it>
8069 * spellchecker.C: fixed namespace placing!
8071 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8073 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8074 the LyXParagraph * is 0.
8076 2001-03-29 Juergen Vigna <jug@sad.it>
8078 * vspace.C: added support for %, c%, p%, l%.
8079 (stringFromUnit): added helper function.
8080 (asLatexString): changed to give right results for the %-values.
8082 * buffer.C: convert the widthp in a width%.
8084 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8086 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8089 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8090 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8092 * lyx_cb.[Ch]: see above.
8094 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8098 * lyx.[Ch]: replaced by figure_form.[Ch].
8102 * lyxfunc.C: changed headers associated with above changes.
8104 2001-03-27 Juergen Vigna <jug@sad.it>
8106 * BufferView_pimpl.C: set the temporary cursor right!
8108 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8110 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8112 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8114 * LString.h: removed "using std::getline"!
8116 * BufferView_pimpl.C (Dispatch): changes due to changes in
8117 InsetInclude::Params.
8119 * buffer.C (tag_name): removed redundant break statements as they were
8120 producing lots of warnings with my compiler.
8122 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8124 * LString.h: add "using std::getline" when using the real <string>.
8126 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8128 * buffer.C: removed bitset usage.
8129 PAR_TAG moved to an anonymous name space.
8130 (tag_name): new funtion, also in the anonymous namespace.
8131 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8132 (makeDocBookFile): clean code. Completed transition from string arrays
8134 (SimpleDocBookOnePar): code clean.
8136 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8138 * tabular.C: add some comments.
8140 2001-03-22 Juergen Vigna <jug@sad.it>
8142 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8143 compatibility read a bit and fixed bug with minipage in different
8146 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8148 * buffer.C (pop_tag): removed.
8149 (push_tag): removed.
8150 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8151 array replaced with vector. Added support for CDATA sections.
8152 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8154 (makeDocBookFile): XML conformant declaration of CDATA section,
8155 fixed bug related to <emphasis> in the first paragraph char.
8156 (sgmlOpenTag): exclude empty tags.
8157 (sgmlCloseTag): ditto.
8159 * buffer.h (pop_tag): removed.
8160 (push_tag): removed.
8162 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8164 * language.h (Languages): added size_type and size().
8166 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8168 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8169 response on compability reading of minipages. One probliem is that
8170 the old usage of minipages was «flertydig»
8172 * several files here and in subdirs: don't use static at file
8173 scope use anon namespaces instead.
8175 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8177 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8178 LaTeX output. This is necessary for Literate document
8181 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8183 * buffer.C: insert hfill when needed.
8185 * tabular.C (l_getline): use string::erase, small whitespace change.
8187 * BufferView_pimpl.C: try the anon namespace.
8190 2001-03-16 Juergen Vigna <jug@sad.it>
8192 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8193 otherwise it won't open options-dialogs.
8195 * buffer.C: honor pextraWidth(p) on converting minipages.
8197 * tabular.C (l_getline): changed the functions to strip trailing \r.
8199 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
8201 * BufferView_pimpl.C:
8202 * minibuffer..C: added "using SigC::slot" declaration.
8204 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8206 * lyxlex_pimpl.h: noncopyable is in namespace boost.
8212 * paragraph.C: ditto
8214 * lyxtext.h: NO_PEXTRA
8216 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8218 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8219 * ParameterStruct.h: ditto
8220 * ParagraphParameters.h: ditto
8221 * lyxparagraph.h: ditto
8223 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8225 * buffer.C: add compability for minipage alignment.
8226 (latexParagraphs): remove unwanted pextra check.
8228 * several files: remove CXX_WORKING_NAMESPACES
8230 * buffer.C (pop_tag): tie is in namespace boost
8232 * BufferView.h: noncopyable is in namespace boost
8237 * lastfiles.h: ditto
8238 * bufferlist.h: ditto
8239 * ShareContainer.h: ditto
8241 * LyXAction.h: ditto
8244 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8246 * Merging changes from BRANCH_MVC back into HEAD.
8248 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8250 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
8252 * BufferView_pimpl.C: change from intl.C
8256 * Makefile.am: move combox.*
8262 * intl.C: remove dialog (covered by prefs)
8264 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8266 * lyxfunc.C (Dispatch): removed redundant break statement.
8268 2001-03-14 Juergen Vigna <jug@sad.it>
8270 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8272 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8274 * buffer.C: add hack to fix compability reading of minipages.
8276 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
8278 * buffer.C (getLists): Cleanup.
8280 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8282 * lyxfont.C (update): don't honor toggleall on font size.
8284 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
8288 * Makefile.am: moved to frontends/xforms/
8292 * BufferView_pimpl.C: changes for moved mathpanel
8294 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8296 * gettext.h: fix gettext_init() in --disable-nls
8298 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8300 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8302 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8305 * lyx.h: strip external form
8307 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8309 * BufferView_pimpl.C: add comment, destroySplash()
8311 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8313 * BufferView_pimpl.C:
8317 * lyxfunc.C: use re-worked insetinclude
8319 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8321 * buffer.C: add using std::stringstream.
8323 * lyx_cb.C: readd using std::ios.
8325 * buffer.C: add using std::map.
8327 * BufferView_pimpl.C: add using std::vector.
8329 * ShareContainer.h: add std:: to swap.
8331 * buffer.h: add some typedefs
8332 * buffer.C (getLists): use them
8333 (getLists): renamed from getTocList.
8334 add a counter for the different float types and use it in the
8336 (getLists): use the same counter for the NEW_INSETS and the "non"
8339 * lyx_cb.h: remove unused items, includes, using etc.
8341 * ShareContainer.h: remove some commented code, add more comments
8342 and "documentation".
8344 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8346 * buffer.C (getTocList): make the list also when NEW_INSETS is
8349 * buffer.h: remove TocType
8351 * buffer.C (getTocList): change to return a map<string,
8352 vector<TocItem> >, implement for dynamic number of list.
8354 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8355 * text2.C (PasteSelection): adjust
8356 * CutAndPaste.C (pasteSelection): adjust
8358 * FloatList.C (FloatList): update from the new_insets branch.
8359 * Floating.[Ch]: ditto
8360 * LaTeXFeatures.C: ditto
8362 * lyxlex_pimpl.C: ditto
8364 * paragraph.C (Last): remove when NEW_INSETS is defined.
8366 * other file: changes because of the above.
8368 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8370 * lyxparagraph.h: rename next to next_, previous to previous_,
8371 make them private for NEW_INSETS. Rename Next() to next(),
8372 Previous() to previous().
8374 * other files: changes because of the above.
8376 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8379 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8382 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8384 * main.C (main): pass lyx_localedir to gettext_init().
8386 * gettext.h: remove locale_init and gettext_init macros
8388 * gettext.C (locale_init): new function
8389 (gettext_init): new function
8391 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8394 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8396 * Moved credits to frontends:
8397 * credits.[Ch]: removed
8398 * credits_form.[Ch]: removed
8399 * lyx_gui_misc.C: remove credits stuff
8402 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8404 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8406 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8407 unneeded destructor.
8409 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8410 a standalone pointer again.
8412 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8414 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8420 * ToolbarDefaults.C:
8429 * BufferView_pimpl.C: use new file dialog in GUII
8432 * lyx_cb.C: remove LayoutsCB to Toolbar
8434 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8436 * ShareContainer.h (get): add std:: qualifier
8438 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8440 * ShareContainer.h: define a proper ShareContainer::value_type
8441 type (and use typename to please compaq cxx)
8443 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8445 * lyxparagraph.h: move serveral local vars to
8446 ParameterStruct/ParagraphParameters., use ShareContainer in
8447 FontTable., make vars in FontTable private and add getter and
8450 * paragraph.C: changes because of the above.
8452 * lyxfont.h: remove copy constructor and copy assignment. (the
8453 default ones is ok), move number inside FontBits. move inlines to
8456 * lyxfont.C: add number to initializaton of statics, move several
8457 inlines here. constify several local vars. some whitespace
8458 cleanup. Dont hide outerscope variables.
8460 * Spacing.h: add two new constructors to match the set methods.
8462 * ShareContainer.h: new file, will perhaps be moved to support
8464 * ParameterStruct.h: new file
8466 * ParagraphParameters.h: new file
8468 * ParagraphParameters.C: new file
8470 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
8471 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
8473 * BufferView_pimpl.C: ParagraphParameter changes.
8474 * buffer.C: Likewise.
8475 * bufferview_funcs.C: Likewise.
8477 * text2.C: Likewise.
8479 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8481 * lyxfind.C (LyXReplace): do not redefine default argument in
8483 (IsStringInText): ditto
8484 (SearchForward): ditto
8485 (SearchBackward): ditto
8487 2001-03-06 Juergen Vigna <jug@sad.it>
8489 * lyxfind.C (IsStringInText): put parentes around expressions.
8491 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
8493 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
8495 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
8497 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
8499 * stl_string_fwd.h: add comment
8501 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
8504 * tabular.C: remove unused DocBook methods
8510 killed DO_USE_DEFAULT_LANGUAGE
8512 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8514 * lyx_gui.C: do not include language.h.
8516 * bufferview_funcs.C (ToggleAndShow): do not provide optional
8517 arguments in function implementation.
8519 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8521 * BufferView_pimpl.C: add <ctime>
8523 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8525 * BufferView_pimpl.C: add using std::find_if
8527 2001-02-27 José Matos <jamatos@fep.up.pt>
8529 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
8532 2001-02-11 José Matos <jamatos@fep.up.pt>
8534 * buffer.C (makeDocBookFile): command styles now have a parameter as
8537 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
8539 * layout_forms.[Ch]: removed
8540 * lyx_cb.[Ch]: out character
8541 * lyx_gui.C: out character
8542 * lyx_gui_misc.C: out character
8543 * bufferview_funcs.C: : out character,
8544 added toggleall as parameter in ToggleAndShow
8546 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
8548 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
8550 * text2.C (SetCurrentFont): Disable number property at boundary.
8552 2001-02-26 Juergen Vigna <jug@sad.it>
8554 * lyxfunc.C (getStatus): added a string argument override function so
8555 that this is correctly called from LyXFunc::Dispatch if it contains a
8556 do_not_use_argument which is used!
8557 (Dispatch): added check for "custom" export and call appropriate func.
8559 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
8561 * lyxrc.C: Add language_command_local, language_use_babel and
8562 language_global_options.
8564 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
8566 * buffer.C (makeLaTeXFile): Use language_use_babel and
8567 language_global_options.
8569 2001-02-23 Juergen Vigna <jug@sad.it>
8571 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
8572 which works with LyXText and putted it inside BufferView. Here now we
8573 only call for that part the BufferView::Dispatch() function.
8575 * BufferView.C (Dispatch): added.
8577 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
8578 functions which needs to use a LyXText over from LyXFunc.
8579 (MenuInsertLyXFile): added
8580 (getInsetByCode): added
8581 (moveCursorUpdate): added
8582 (static TEXT): added
8584 2001-02-22 Juergen Vigna <jug@sad.it>
8586 * BufferView_pimpl.C (update): call a status update to see if LyXText
8589 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8591 * vc-backend.C (revert): implement for CVS
8592 (getLog): implement for CVS
8594 2001-02-20 Juergen Vigna <jug@sad.it>
8596 * text2.C (ClearSelection): added BufferView param for inset_owner call
8598 * lyxfunc.C (TEXT): added this function and use it instead of
8599 directly owner->view()-text of getLyXText().
8601 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
8603 * src/layout_forms.C: out preamble
8604 * src/layout_forms.h: out preamble
8605 * src/lyx_cb.C: out preamble
8606 * src/lyx_cb.h: out preamble
8607 * src/lyx_gui.C: out preamble
8608 * src/lyx_gui_misc.C: out preamble
8609 * src/lyxfunc.C: connect with guii preamble
8611 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8613 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
8615 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
8617 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
8618 whether to run bibtex.
8620 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
8622 * Makefile.am (lyx_SOURCES): Remove BackStack.h
8624 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8626 * Makefile.am (lyx_SOURCES): removed bibforms.h
8630 * text.C (GetVisibleRow): make several local vars const
8632 * tabular.C: small cleanup.
8634 * lyxserver.C (callback): use compare instead of strncmp
8636 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
8637 inlines to after class or to paragraph.C
8639 * lyxfont.h: remove friend operator!=
8641 * converter.h: move friend bool operator< to non friend and after
8644 * combox.h: small cleanup
8646 * buffer.h: doxygen, remove unused constructor, move inclas inlies
8647 to inlines after class def.
8649 * buffer.C (pop_tag): use string operations instead of strcmp
8651 * bmtable.c: doxygen, small cleanup
8653 * LaTeX.h: remove friend operator==
8655 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8667 * BufferView_pimpl.C:
8668 * BufferView.[Ch]: remove cruft
8670 2001-02-14 Juergen Vigna <jug@sad.it>
8672 * lyxfunc.C: removed #if 0 unused code
8674 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
8676 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
8678 * text2.C (SetSelection): added a BufferView * parameter
8680 2001-02-13 Juergen Vigna <jug@sad.it>
8682 * lyxfunc.C (Dispatch): fixed protected blank problem.
8683 * BufferView2.C (protectedBlank): added LyxText * parameter.
8685 * tabular.C (AppendRow): forgot to set row_info of newly added row.
8686 (AppendColumn): same as above for column_info.
8688 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
8689 (moveCursorUpdate): use a LyXText param for support of InsetText.
8691 * BufferView_pimpl.C (doubleClick): added support for InsetText.
8692 (tripleClick): ditto
8694 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
8696 * BufferView_pimpl.C (update): added LyXText param to honor insets.
8698 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
8700 * text2.C (SetSelection): set correct update status if inset_owner
8703 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
8705 * tabular.C: remove some commented code.
8707 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8709 * BufferView_pimpl.C: call hideSplash()
8711 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
8714 * bibforms.h: remove
8717 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
8718 add LFUN_CHILD_CREATE
8720 * counters.h: fix tiny typo
8725 * lyx.C: move splash to frontends/xforms/
8727 * lyx_gui_misc.C: move Include and Bibform to frontends
8729 * lyxvc.h: clarify comment
8731 * vspace.C: tiny housekeeping
8733 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8735 * text.C (PrepareToPrint): RTL Fix.
8737 * paragraph.C (GetUChar): New method.
8738 (String): Use GetUChar.
8740 * buffer.C (asciiParagraph): Use GetUChar.
8742 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8744 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
8746 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
8749 * buffer.C: rename to getLogName(), handle
8750 build log / latex log nicely
8752 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8755 * MenuBackend.h: remove support for reference menuitem type.
8757 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
8759 * BufferView_pimpl.C: housekeeping
8760 * BufferView_pimpl.h:
8765 * minibuffer.h: move Timeout GUI-I
8767 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
8769 * lyxrc.C (read): Update converters data-structures.
8771 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
8773 * LaTeX.h (operator!=): add operator != for Aux_Info
8775 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
8777 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
8779 * LaTeXLog.C: deleted, useful code moved to Buffer
8782 * buffer.C: new function getLatexLogName()
8788 * lyxfunc.C: use frontends for LaTeX and VC logs
8790 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8792 * LaTeX.h: yet another std:: that Allan forgot.
8794 * Variables.C (set): renamed from isset(), because this clashes
8795 with some HP-UX macros (grr).
8797 2001-02-06 Allan Rae <rae@lyx.org>
8799 * LaTeX.h: Another bug fix. Missing std:: this time.
8801 2001-02-04 Allan Rae <rae@lyx.org>
8803 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
8804 floats problem. I've left it commented out because it's not quite
8805 correct. It should also test that the current object is a table or
8806 figure inset. But I haven't gotten around to figuring out how to do
8807 that. I *think* it'll be something like: "table" == inset.type()
8809 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
8812 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
8814 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
8815 all the citation/databases/styles in the auxilary file.
8816 (run): Rerun latex if there was a babel language error.
8818 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
8820 * text.C (Backspace): Preserve the font when changing newline char
8822 (BreakParagraph): If the cursor is before a space, delete the space.
8824 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
8826 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8828 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
8829 new argument (code).
8830 (ChangeCitationsIfUnique): New method.
8832 * paragraph.C (GetPositionOfInset): Handle bibkey.
8834 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8836 * BufferView_pimpl.h: change type of Position::par_pos to
8837 LyXParagraph::size_type.
8839 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
8841 * BufferView_pimpl.C (savePosition, restorePosition): Write
8842 messages to minibuffer.
8844 2001-01-28 José Matos <jamatos@fep.up.pt>
8846 * buffer.C (makeDocBookFile): adds support for document language.
8847 A silly restriction on the name of LatexCommand types where removed.
8848 Added support for CDATA sections, allows to chars unescaped, used
8849 among others in code, to avoid escape < and >.
8851 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8853 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
8854 saved positions instrad of a stack. Furthermore, a position is
8855 stored using paragraph id/paragraph position.
8857 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
8858 Remove LFUN_REF_BACK.
8860 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8862 * converter.C (dvipdfm_options): New method.
8864 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8866 * vspace.C (isValidLength): Fix for empty input string.
8868 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8870 * LyXAction.C (init): change description of LFUN_FIGURE to
8873 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8875 * LaTeX.C: add using directive
8877 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8879 * MenuBackend.C (expand): Fix the sorting of the formats.
8881 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
8883 * lyx_main.C: tiny error message fix
8885 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8887 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
8888 calling fl_initialize(). This fixes the problem with ',' as
8889 decimal separator in text files.
8891 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8893 * trans.C (process): Fix the keymap bug.
8895 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
8897 * LaTeX.C (scanAuxFiles): New method. Provides support for
8898 multiple bibliographies (when using the bibtopic/bibunits pacakges).
8899 (scanLogFile) Scan for "run BibTeX" messages.
8901 * buffer.C (makeLaTeXFile): Do not load the ae package when using
8902 OT1 font encoding. Also, load the aecompl package if the ae
8905 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
8907 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8909 * texrow.C (increasePos): turn two error messages into debug
8912 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
8914 * LaTeX.C (scanAux): Handle the \@input macro.
8915 (runBibTeX): Use scanAux().
8917 * language.C (latex_options_): New field.
8919 * LaTeXFeatures.C (getMacros): Add language macros.
8921 * buffer.C (makeLaTeXFile): Small fix.
8923 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8925 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
8927 * text2.C: add a using directive.
8929 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
8934 * lyxfunc.C: kill LyXBell.
8936 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
8938 * text.C (IsBoundary): Remove the error message
8940 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
8942 * lyxrc.C (setDefaults): Correct initialization value for
8945 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
8947 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
8950 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
8953 * src/LyXAction.C: Added reference-next.
8955 * text.C (InsertChar): Use contains instead of strchr.
8957 * lyx_cb.C (MenuInsertLabel): Enable default value code.
8959 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
8961 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
8962 alignment commands (when needed).
8964 * text.C (InsertChar): Add ':' to number separator chars.