1 2003-03-10 John Levon <levon@movementarian.org>
3 * text.C: fix break before a minipage
5 2003-03-10 John Levon <levon@movementarian.org>
7 * text.C: fix the last commit
9 2003-03-09 John Levon <levon@movementarian.org>
13 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
14 bug 365 (don't break before insets unless needed). Don't
15 return a value > last under any circumstances.
17 2003-03-09 Angus Leeming <leeming@lyx.org>
19 * BufferView_pimpl.C (trackChanges, dispatch): call
20 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
22 2003-03-09 Angus Leeming <leeming@lyx.org>
24 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
25 than Dialogs::showAboutlyx().
27 2003-03-09 Angus Leeming <leeming@lyx.org>
29 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
30 than Dialogs::showTabularCreate().
32 2003-03-09 John Levon <levon@movementarian.org>
36 * text2.C: 3rd arg to nextBreakPoint was always the same.
39 2003-03-08 John Levon <levon@movementarian.org>
46 * text2.C: Remove the "main" bit from the "main body"
49 2003-03-08 John Levon <levon@movementarian.org>
51 * text.C (leftMargin): The left margin of an empty
52 manual label paragraph should not include the label width
55 * text.C (prepareToPrint): don't attempt to measure hfills
56 for empty manual label paragraphs - the answer should be 0
58 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
60 * CutAndPaste.C: remove commented code and reindent.
62 2003-03-08 John Levon <levon@movementarian.org>
65 * lyxfunc.C: move reloadBuffer()
68 * BufferView.C: to here
70 * lyxvc.C: add comment
73 * vc-backend.C: call bv->reload() to avoid
74 getStatus() check on MENURELOAD
76 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
78 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
79 to an old format .dep file.
81 2003-03-07 Angus Leeming <leeming@lyx.org>
83 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
84 when the LFUN_MOUSE_RELEASE should have been handled by
87 2003-03-07 Angus Leeming <leeming@lyx.org>
89 * BufferView_pimpl.C (dispatch):
91 * ToolbarDefaults.C (init):
93 * lyxfunc.C (getStatus):
94 remove LFUN_INSET_GRAPHICS.
96 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
98 2003-03-07 Angus Leeming <leeming@lyx.org>
101 * LyXAction.C (init):
102 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
104 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
107 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
109 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
110 localDispatch method LFUN_INSET_DIALOG_UPDATE.
112 2003-03-07 Angus Leeming <leeming@lyx.org>
114 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
117 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
119 * ParagraphList.C (front): new function
122 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
124 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
125 and top_row_offset_. removed var first_y.
127 * text2.C (LyXText, removeRow):
129 * BufferView_pimpl.C:
130 use these methods instead of using first_y
132 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
134 * text2.C (pasteSelection): adjust for checkPastePossible
136 * CutAndPaste.C: remove Paragraph * buf and replace with
137 ParagraphList paragraphs.
138 (DeleteBuffer): delete
139 (cutSelection): change the tc type to textclass_type
140 (copySelection): change the tc type to textclass_type
141 (copySelection): adjust for ParagraphList
142 (pasteSelection): change the tc type to textclass_type
143 (pasteSelection): adjust for Paragraphlist
144 (nrOfParagraphs): simplify for ParagraphList
145 (checkPastePossible): simplify for ParagraphList
146 (checkPastePossible): remove unused arg
148 * ParagraphList.C (insert): handle the case where there are no
151 * CutAndPaste.h: make CutAndPaste a namespace.
153 * text3.C (dispatch): adjust
155 * text.C (breakParagraph): add a ParagraphList as arg
157 * paragraph_funcs.C (breakParagraph): change to take a
158 BufferParams and a ParagraphList as args.
159 (breakParagraphConservative): ditto
160 (mergeParagraph): ditto
161 (TeXDeeper): add a ParagraphList arg
162 (TeXEnvironment): ditto
165 * buffer.C (readLyXformat2): adjust
166 (insertStringAsLines): adjust
167 (latexParagraphs): adjust
169 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
170 (cutSelection): adjust
171 (pasteSelection): adjust
173 * BufferView_pimpl.C (insertInset): adjust
175 2003-03-05 Angus Leeming <leeming@lyx.org>
178 * LyXAction.C (init):
179 * BufferView_pimpl.C (dispatch):
180 * lyxfunc.C (getStatus):
181 remove LFUN_CHILD_INSERT.
183 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
185 2003-03-05 Angus Leeming <leeming@lyx.org>
188 * LyXAction.C (init):
189 * src/factory.C (createInset):
190 * lyxfunc.C (getStatus):
191 * text3.C (dispatch):
192 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
194 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
196 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
198 * ParagraphList.C (insert): handle insert right before end()
199 (erase): fix cases where it can be first or last paragraph.
201 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
203 * paragraph_funcs.C (TeXEnvironment): remove all usage of
204 Paragraph::next and Paragraph::previous
207 * text.C (breakParagraph): adjust
209 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
210 BufferParams& as arg.
211 (breakParagraph): use ParagraphList::insert
212 (breakParagraphConservative): take a Buffer* instead of a
213 BufferParams& as arg.
214 (breakParagraphConservative): use ParagraphList::insert.
216 * buffer.C (insertStringAsLines): un-const it
217 (insertStringAsLines): adjust
219 * ParagraphList.C (insert): new function
221 * CutAndPaste.C (pasteSelection): adjust
223 * text.C (backspace): adjust
225 * tabular.C (SetMultiColumn): adjust
227 * CutAndPaste.C (cutSelection): adjust
228 (pasteSelection): adjust
230 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
231 Buffer const * as arg
233 * ParagraphList.C (erase): new function
234 * paragraph_funcs.C (mergeParagraph): use it
235 (mergeParagraph): make it take a Buffer* instead of a
238 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
240 (breakParagraphConservative): ditto
242 * paragraph.h: remove the breakParagraph friend
244 * paragraph.C (eraseIntern): new function
245 (setChange): new function
247 * paragraph_funcs.C (mergeParagraph): make it take a
248 ParagraphList::iterator instead of a Paragraph *, adjust
251 * paragraph.h: move an #endif so that the change tracking stuff
252 also works in the NO_NEXT case.
254 2003-03-04 Angus Leeming <leeming@lyx.org>
257 * LyXAction.C: new LFUN_INSET_MODIFY.
259 * BufferView_pimpl.C (dispatch): if an inset is found to be open
260 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
262 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
264 * several files: ws changes only
266 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
267 (TeXEnvironment): ditto
270 * buffer.C (makeLaTeXFile): adjust
271 (latexParagraphs): make it take ParagraphList::iterator as args
273 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
275 * buffer.C (latexParagraphs): adjust
277 * paragraph.C (TeXOnePar): move function...
278 (optArgInset): move function...
279 (TeXEnvironment): move function...
280 * paragraph_pimpl.C (TeXDeeper): move function...
281 * paragraph_funcs.C: ...here
283 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
285 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
287 * buffer.C (readInset): remove compability code for old Figure and
290 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
292 * buffer.C: ws changes
295 * BufferView_pimpl.C: ditto
298 * bufferlist.h: ditto
302 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
304 * converter.[Ch]: split into itself +
307 * Makefile.am: += graph.[Ch] + format.[Ch]
314 * lyxrc.C: added #include "format.h"
316 2003-02-27 Angus Leeming <leeming@lyx.org>
318 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
321 * factory.C (createInset): add "label" to the factory.
323 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
324 string and do no more.
326 2003-02-27 Angus Leeming <leeming@lyx.org>
329 * LyXAction.C (init):
330 * factory.C (createInset):
331 * BufferView_pimpl.C (dispatch):
332 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
334 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
336 * lyxfunc.C (dispatch):
337 * text3.C (dispatch): pass name to params2string.
339 2003-02-26 Angus Leeming <leeming@lyx.org>
341 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
343 Rearrange the ~includes. Strip out the unnecessary ones.
345 * factory.C (createInset): reformat.
346 create new insets for the various LFUN_XYZ_APPLY lfuns.
348 2003-02-26 John Levon <levon@movementarian.org>
351 * lyxrow.C: add isParStart,isParEnd helpers
353 * paragraph.h: make isInserted/DeletedText take refs
356 * paragraph_funcs.C: remove #if 0'd code
361 * text.C: use lyxrow helpers above.
362 Move draw and paint routines to RowPainter.
363 Make several methods use refs not pointers.
364 Make backgroundColor() const.
365 Add markChangeInDraw(), isInInset().
366 Merge changeRegionCase into changeCase.
367 Make workWidth() shouldn't-happen code into an Assert.
370 * rowpainter.C: new class for painting a row.
373 * vspace.C: make inPixels take a ref
375 2003-02-26 Angus Leeming <leeming@lyx.org>
377 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
380 2003-02-25 John Levon <levon@movementarian.org>
382 * ispell.C: give the forked command a more accurate name
384 2003-02-22 John Levon <levon@movementarian.org>
387 * toc.C: make TocItem store an id not a Paragraph *
390 2003-02-21 Angus Leeming <leeming@lyx.org>
392 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
393 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
394 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
395 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
396 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
397 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
399 * BufferView_pimpl.C (dispatch):
400 * LyXAction.C (init):
401 * factory.C (createInset):
402 * lyxfunc.C (getStatus, dispatch):
403 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
405 2003-02-21 Angus Leeming <leeming@lyx.org>
407 * BufferView_pimpl.C (MenuInsertLyXFile):
408 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
409 * lyxfunc.C (menuNew, open, doImport):
410 no longer pass a LyXView & to fileDlg.
412 2003-02-21 Angus Leeming <leeming@lyx.org>
414 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
415 * LyXAction.C: change, BIBKEY to BIBITEM.
416 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
417 Change InsetBibKey to InsetBibitem.
418 Change BIBKEY_CODE to BIBITEM_CODE.
419 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
420 * factory.C: replace insetbib.h with insetbibitem.h.
421 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
422 * paragraph.C: replace insetbib.h with insetbibitem.h.
423 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
424 Change bibkey() to bibitem().
425 * text.C: remove insetbib.h.
426 * text2.C: replace insetbib.h with insetbibitem.h.
427 change bibkey() to bibitem().
428 * text3.C: remove insetbib.h.
429 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
431 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
433 * lyxrc.C (output): enclose user email in quotes (in case there are
436 2003-02-18 John Levon <levon@movementarian.org>
438 * buffer.h: add std::
440 2003-02-17 John Levon <levon@movementarian.org>
446 * pspell.C: reworking. Especially in ispell, a large
447 number of clean ups and bug fixes.
449 * lyxfunc.C: fix revert to behave sensibly
451 2003-02-17 André Pönitz <poenitz@gmx.net>
454 * commandtags.h: new LFUN_INSERT_BIBKEY
464 * paragraph_func.C: remove special bibkey handling
466 2003-02-17 John Levon <levon@movementarian.org>
468 * text.C (Delete): fix case where delete at the end of
469 the very first paragraph would not merge the pars
471 2003-02-17 John Levon <levon@movementarian.org>
473 * lyxrow.C: fix lastPrintablePos()
475 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
477 * bufferparams.C (writeLaTeX): add a std:here
479 * buffer.C: and remove a using directive there
481 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
483 * buffer.C (makeLaTeXFile): move the code that generates the
486 * bufferparams.C (writeLaTeX): ... in this new method
488 * LaTeXFeatures.C (getEncodingSet): make const
489 (getLanguages): make const
491 * MenuBackend.C (binding): returns the binding associated to this
493 (add): sets the status of each item by calling getStatus. Adds
495 (read): add support for OptSubMenu
496 (expand): remove extra separator at the end of expanded menu
498 2003-02-15 John Levon <levon@movementarian.org>
501 * BufferView_pimpl.C:
503 * bufferlist.C: remove pointless BufferStorage bloat. Remove
504 inset code that had no actual effect. Remove unneeded status
507 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
509 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
512 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
514 * text.C (drawLengthMarker): also draw an arrow marker for
515 symbolic lengths (medskip...)
517 2003-02-14 John Levon <levon@movementarian.org>
520 * tabular.C: better method names
522 2003-02-14 John Levon <levon@movementarian.org>
524 * BufferView_pimpl.C:
529 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
530 it's a more accurate name. Remove some pointless uses.
532 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
534 * text2.C (LyXText): change order of initilizers to shut off
537 2003-02-14 John Levon <levon@movementarian.org>
539 * buffer.C: use ParIterator for getParFromID()
544 * paragraph_pimpl.C: remove unused getParFromID()
546 2003-02-14 John Levon <levon@movementarian.org>
548 * buffer.C: remove some very old #if 0'd parse code
550 2003-02-13 John Levon <levon@movementarian.org>
554 * text2.C: move hfillExpansion(), numberOfSeparators(),
555 rowLast(), rowLastPrintable(), numberofHfills(),
556 numberOfLabelHfills() ...
559 * lyxrow.C: ... to member functions here.
564 * text.C: remove LyXText::beginningOfMainBody(), and call
565 p->beginningOfMainBody() directly. Move the check for
566 LABEL_MANUAL into the latter.
573 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
579 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
580 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
582 2003-02-13 John Levon <levon@movementarian.org>
584 * CutAndPaste.C: remove debug
586 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
588 * paragraph.C (asString): remove two unused variables
590 * lyxtextclass.C (readTitleType):
592 (LyXTextClass): handle new members titletype_ and titlename_
594 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
596 2003-02-09 John Levon <levon@movementarian.org>
599 * buffer.C: replace hand-coded list with a map for the dep clean
601 2003-02-08 John Levon <levon@movementarian.org>
603 * LaTeX.C: consolidate code into showRunMessage() helper
605 2003-02-08 John Levon <levon@movementarian.org>
610 * BufferView.C: change setSelectionOverString() to setSelectionRange()
611 and pass the size in explicitly
613 * BufferView_pimpl.h:
614 * BufferView_pimpl.C:
616 * BufferView.C: add getCurrentChange()
618 * BufferView_pimpl.h:
619 * BufferView_pimpl.C: handle change lfuns
621 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
622 for changes. Mark pasted paragraphs as new.
626 * DepTable.C: abstract time_t as lyx::time_type
629 * LColor.C: add colours for new text, deleted text, changebars
631 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
632 package use "usenames" option.
636 * LyXAction.C: add change lfuns
640 * author.C: author handling
643 * buffer.C: add a per-buffer author list, with first entry as
644 current author. Handle new .lyx tokens for change tracking. Output
645 author list to .lyx file. Output dvipost stuff to .tex preamble.
646 Bump lyx format to 222.
649 * bufferlist.C: add setCurrentAuthor() to reset current author details
653 * bufferparams.C: add param for tracking
655 * bufferview_funcs.C: output change info in minibuffer
659 * changes.C: add change-tracking structure
662 * debug.C: add CHANGES debug flag
665 * lyxfind.C: add code for finding the next change piece
668 * lyxrc.C: add user_name and user_email
671 * lyxrow.C: add a metric for the top of the text line
674 * text.C: implement accept/rejectChange()
677 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
678 Strike through deleted text.
683 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
684 to the insert functions. Rework erase to mark text as deleted, adding
685 an eraseIntern() and a range-based erase(). Implement
686 per-paragraph change lookup and accept/reject.
688 * paragraph_funcs.C: Fixup paste for change tracking.
690 * tabular.C: mark added row/columns as new.
692 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
693 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
695 * text2.C: leave cursor at end of selection after a cut.
697 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
699 * text.C (getLengthMarkerHeight):
700 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
701 visible on screen too.
703 2003-02-07 John Levon <levon@movementarian.org>
705 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
707 2003-02-05 Angus Leeming <leeming@lyx.org>
709 * lyxserver.C (read_ready): revert my patch of 11 September last year
710 as it sends PC cpu through the roof. Presumably this means that
711 the lyxserver will no longer run on an Alpha...
713 2003-01-30 Angus Leeming <leeming@lyx.org>
715 * factory.C (createInset): create an InsetCommandParam of type "index"
716 and use it to 'do the right thing'.
718 * text2.C (getStringToIndex): ensure that cursor position is always
719 reset to the reset_cursor position.
721 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
723 * lyxfunc.C (getStatus): "buffer-export custom" should never be
726 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
730 * lyxfunc.C: Output messages with identical spelling, punctuation,
733 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
735 * MenuBackend.C (expandFormats): List only viewable export formats
738 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
741 * lyxfunc.C (getStatus): Make sure that formats other than
742 "fax" can also be disabled
744 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
746 * text3.C (dispatch): put the lfuns that insert insets in 3
747 groups, and call doInsertInset with appropriate arguments.
748 (doInsertInset): new function, that creates an inset and inserts
749 it according to some boolean parameters.
751 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
753 * buffer.C (readFile): remember to pass on 'par' when calling
754 readFile recursively.
756 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
758 * MenuBackend.C (expandFormats): add "..." to import formats.
760 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
762 * paragraph.C (asString): Remove XForms RTL hacks.
764 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
767 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
769 * Makefile.am (LIBS): delete var
770 (lyx_LDADD): add @LIBS@ here instead.
772 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
774 * Clarify the meaning of "wheel mouse jump"
776 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
778 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
781 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
783 * importer.C (Loaders): do not preallocate 3 elements in the
784 vector, since one ends up with 6 elements otherwise
786 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
788 * DepTable.C (write): write the file name as last element of the
789 .dep file (because it may contain spaces)
790 (read): read info in the right order
792 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
794 * paragraph_pimpl.C (simpleTeXBlanks):
795 (simpleTeXSpecialChars):
796 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
798 * tabular.C (latex): add some missing case statements. Reindent.
800 * MenuBackend.C (expandToc): remove unused variable.
802 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
811 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
814 2003-01-05 John Levon <levon@movementarian.org>
817 * BufferView.C: add getEncoding()
820 * kbsequence.C: do not store last keypress
823 * lyxfunc.C: store last keypress here instead. Pass encoding
826 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
828 * lyx_main.C (init): remove annoying error message when following
829 symbolic links (bug #780)
831 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
833 * text.C (insertChar):
834 * lyxrc.C (getDescription): remove extra spaces
836 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
838 * lyxrc.C (getDescription): remove extra spaces
840 2002-12-20 John Levon <levon@movementarian.org>
842 * text3.C: hack fix for page up/down across tall rows
844 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
846 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
849 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
851 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
852 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
853 thesaurus is not compiled in
855 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
857 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
859 2002-12-16 Angus Leeming <leeming@lyx.org>
862 * lyx_main.C (init): remove override_x_deadkeys stuff.
864 2002-12-12 John Levon <levon@movementarian.org>
866 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
867 insert. Only remove shift modifier under strict
870 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
872 * MenuBackend.C (expandToc): fix crash.
874 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
876 * MenuBackend.C (expandToc): gettext on float names.
878 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
880 * lyxlength.[Ch]: set default unit to UNIT_NONE,
881 implement bool empty() [bug 490]
883 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
885 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
887 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
889 * several files: ws changes
891 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
893 * text2.C (setCounter): clean up a bit, use boost.format.
894 (updateCounters): initialize par upon declaration.
896 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
897 if the layout exists. We do not just store the layout any more.
898 (SwitchLayoutsBetweenClasses): use boost.format
900 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
902 * converter.C (convert): if from and to files are the same, use a
903 temporary files as intermediary
905 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
908 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
910 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
912 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
914 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
916 * tabular.C (asciiPrintCell): use string(size, char) instead of
919 * sgml.C (openTag): fix order of arguments to string constructor
922 * lyxfunc.C (dispatch): use boost.format
924 * lots of files: change "c" -> 'c'
926 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
928 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
930 2002-11-25 Angus Leeming <leeming@lyx.org>
932 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
934 * lyx_main.C (init): compile fix.
936 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
938 * lyx_cb.C (start): boost.formatify
939 do not include <iostream>
941 * lengthcommon.C: ws only
943 * boost-inst.C,BoostFormat.h: add more explict instantations
945 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
947 * lots of files: handle USE_BOOST_FORMAT
949 2002-11-21 John Levon <levon@movementarian.org>
951 * pspell.C: fix compile
953 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
955 * lyxfunc.C (dispatch): use boost::format
959 * lyxfont.C (stateText): use boost::format
961 * lyx_main.C (LyX): use boost::format
963 (queryUserLyXDir): ditto
966 (typedef boost::function): use the recommened syntax.
968 * importer.C (Import): use boost::format
970 * debug.C (showLevel): use boost::format
972 * converter.C (view): use boost::format
977 * bufferview_funcs.C (currentState): use boost::format
979 * bufferlist.C (emergencyWrite): use boost::format
981 * buffer.C (readLyXformat2): use boost::format
982 (parseSingleLyXformat2Token): ditto
984 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
986 * LaTeX.C (run): use boost::format
988 * Chktex.C (scanLogFile): use boost::format
990 * BufferView_pimpl.C (savePosition): use boost::format
991 (restorePosition): ditto
992 (MenuInsertLyXFile): ditto
994 * BoostFormat.h: help file for explicit instation.
996 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
998 * tabular.C (latex): Support for block alignment in fixed width
1001 2002-11-17 John Levon <levon@movementarian.org>
1003 * BufferView_pimpl.C:
1005 * lyxfunc.C: split filedialog into open/save
1007 2002-11-08 Juergen Vigna <jug@sad.it>
1009 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1010 by my last patch (hopefully).
1012 2002-11-08 John Levon <levon@movementarian.org>
1021 * toc.C: ParConstIterator, and use it (from Lars)
1023 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1025 * lyxtextclass.[Ch]: revise and add doxygen comments
1027 2002-11-07 John Levon <levon@movementarian.org>
1029 * text.C: fix progress value for spellchecker
1031 * toc.C: fix navigate menu for insetwrap inside minipage
1033 * paragraph_funcs.C: added FIXME for suspect code
1035 2002-11-07 John Levon <levon@movementarian.org>
1037 * BufferView_pimpl.C: fix redrawing of insets
1040 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1042 * text2.C (updateCounters): fix bug 668
1044 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1046 * text3.C (dispatch): Do not make the buffer dirty when moving the
1049 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1051 * vc-backend.C: STRCONV
1054 * text2.C (setCounter): STRCONV
1056 * paragraph.C (asString): STRCONV
1058 * lyxlength.C (asString): STRCONV
1059 (asLatexString): ditto
1061 * lyxgluelength.C (asString): STRCONV
1062 (asLatexString): ditto
1064 * lyxfunc.C (dispatch): STRCONV
1067 * lyxfont.C (stateText): STRCONV
1069 * importer.C (Import): STRCONV
1071 * counters.C (labelItem): STRCONV
1072 (numberLabel): ditto
1073 (numberLabel): remove unused ostringstream o
1078 * bufferview_funcs.C (currentState): STRCONV
1080 * buffer.C (readFile): STRCONV
1081 (asciiParagraph): ditto
1082 (makeLaTeXFile): ditto
1084 * Spacing.C (writeEnvirBegin): STRCONV
1086 * LaTeXFeatures.C (getLanguages): STRCONV
1087 (getPackages): ditto
1089 (getBabelOptions): ditto
1090 (getTClassPreamble): ditto
1091 (getLyXSGMLEntities): ditto
1092 (getIncludedFiles): ditto
1096 (scanAuxFile): ditto
1099 * LString.h: add the STRCONV macros
1101 * BufferView_pimpl.C (savePosition): STRCONV
1102 (restorePosition): ditto
1103 (MenuInsertLyXFile): ditto
1105 * vc-backend.C (scanMaster): change from submatch[...] to
1108 * funcrequest.C: include config.h
1110 * factory.C: include config.h
1112 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1114 * box.C: include config.h
1116 * LaTeX.C (scanAuxFile): change from submatch[...] to
1120 2002-10-25 Angus Leeming <leeming@lyx.org>
1122 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1124 * ispell.[Ch] (setError): new method.
1125 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1126 Use setError() insetead of goto END.
1128 * lyx_cb.C (AutoSave): move out child process into new class
1131 2002-10-30 John Levon <levon@movementarian.org>
1133 * text3.C: make start appendix undoable
1135 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1137 * lyxlength.C (inPixels): Fix returned value.
1139 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1142 2002-10-24 Angus Leeming <leeming@lyx.org>
1144 * lyxgluelength.h: no need to forward declare BufferParams
1145 or BufferView, so don't.
1147 2002-10-21 John Levon <levon@movementarian.org>
1149 * BufferView.C: menuUndo ->undo, redo
1151 * BufferView.h: document, remove dead, make some methods private
1153 * paragraph_funcs.h:
1154 * paragraph_funcs.C:
1155 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1160 * sgml.C: move sgml open/close tag into sgml.C
1162 * bufferview_funcs.h: unused prototype
1165 * lyxfunc.C: remove unused
1168 * text.C: remove unused
1170 2002-10-21 John Levon <levon@movementarian.org>
1174 * BufferView_pimpl.h:
1175 * BufferView_pimpl.C: fix mouse wheel handling based on
1176 patch from Darren Freeman
1178 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
1180 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1182 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
1184 * lyxlength.C (inPixels): Fix hanfling of negative length.
1185 Fix LyXLength::MU case.
1187 2002-10-16 John Levon <levon@movementarian.org>
1189 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1191 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1193 * converter.C (view): add support for $$i (file name) and $$p
1194 (file path) for the viewer command. If $$i is not specified, then
1195 it is appended to the command (for compatibility with old syntax)
1197 2002-10-14 Juergen Vigna <jug@sad.it>
1199 * undo_funcs.C (textHandleUndo): alter the order in which the
1200 new undopar is added to the LyXText, as we have to set first
1201 the right prev/next and then add it as otherwise the rebuild of
1202 LyXText is not correct. Also reset the cursor to the right paragraph,
1203 with this IMO we could remove the hack in "redoParagraphs()".
1205 2002-10-09 Angus Leeming <leeming@lyx.org>
1207 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1208 to turn off an optimisation if a new inset is to be inserted.
1210 2002-10-11 André Pönitz <poenitz@gmx.net>
1212 * lyxtext.h: make some functions public to allow access
1213 from inset/lyxtext for handling LFUN_PRIOR/NEXT
1215 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1217 * text3.C (dispatch): when changing layout, avoid an infinite loop
1220 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1222 * lyxrc.C (read): treat a viewer or converter command of "none" as
1225 * MenuBackend.C (expandFormats): for an update, also allow the
1226 formats that are not viewable
1228 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1229 script if it is newer than the lyxrc.defaults in user directory
1231 2002-10-07 André Pönitz <poenitz@gmx.net>
1233 * text.C: Vitaly Lipatov's small i18n fix
1235 2002-09-25 Angus Leeming <leeming@lyx.org>
1237 * ispell.h: doxygen fix.
1239 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
1241 * buffer.h (readFile): Add a new argument to the method, to allow
1242 reading of old-format templates.
1244 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1246 * toc.C (getTocList): Get TOC from InsetWrap.
1248 2002-09-16 John Levon <levon@movementarian.org>
1250 * lyxfunc.C: check tabular for cut/copy too
1252 2002-09-12 John Levon <levon@movementarian.org>
1257 * factory.C: add header
1259 * paragraph_funcs.h:
1260 * paragraph_funcs.C: cleanup
1262 2002-09-11 John Levon <levon@movementarian.org>
1264 * PrinterParams.h: odd/even default to true
1266 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1268 * PrinterParams.h: update printer parameters for new xforms dialog
1270 2002-09-11 Angus Leeming <leeming@lyx.org>
1272 * lyxserver.C (read_ready): re-write to make it more transparent
1273 and to make it work in coherent fashion under Tru64 Unix.
1275 2002-09-11 André Pönitz <poenitz@gmx.net>
1279 * text3.C: implement LFUN_WORDSEL
1281 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1283 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1284 make floatlist_ a boost::shared_ptr<FloatList>
1286 * lyxtextclass.C: include FloatList.h
1287 (LyXTextClass): initialize floatlist_
1288 (TextClassTags): add TC_NOFLOAT
1289 (Read): match "nofloat" to TC_NOFLOAT and use it.
1290 (readFloat): modify call to floatlist_
1294 * FloatList.[Ch] (FloatList): remove commented out float
1296 (erase): new function
1298 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1300 * MenuBackend.C (expandToc): fix crash when there is no document
1303 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
1305 * many files: Add insetwrap.
1307 2002-09-09 John Levon <levon@movementarian.org>
1309 * text2.C: remove confusing and awkward depth wraparound
1311 2002-09-09 John Levon <levon@movementarian.org>
1313 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1316 * buffer.C: remove getIncludeonlyList()
1319 * lyxfunc.C: remove headers
1321 2002-09-09 Juergen Vigna <jug@sad.it>
1323 * text.C (getColumnNearX): fix form Michael this is most
1324 probably a cut&paste bug.
1326 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1328 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1330 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1331 references, ws changes.
1333 * text2.C (init): update counters after init
1334 (insertParagraph): no need to set counter on idividual paragraphs.
1335 (setCounter): access the counters object in the textclass object
1336 on in the buffer object.
1337 (updateCounters): ditto
1339 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1340 shared_ptr<Counters> to avoid loading counters.h in all
1342 (LyXTextClass): initialize ctrs_
1343 (TextClassTags): add TC_COUNTER, and ...
1344 (Read): use it here.
1345 (CounterTags): new tags
1346 (readCounter): new function
1347 (counters): new funtion
1348 (defaultLayoutName): return a const reference
1350 * counters.C (Counters): remove contructor
1351 (newCounter): remove a couple of unneeded statements.
1352 (newCounter): simplify a bit.
1353 (numberLabel): some small formatting changes.
1355 * buffer.[Ch]: remove all traces of counters, move the Counters
1356 object to the LyXTextClass.
1358 2002-09-06 Alain Castera <castera@in2p3.fr>
1360 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1361 package to set the horizontal alignment on fixed width columns.
1364 * lyx_sty.h: added tabularnewline macro def.
1366 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1368 2002-09-06 John Levon <levon@movementarian.org>
1370 * LyXAction.C: tooltips for sub/superscript
1372 * MenuBackend.C: a bit more verbose
1374 * lyxfunc.C: tiny clean
1376 * undo_funcs.C: document undo_frozen
1378 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1380 * counters.C (Counters): add missing algorithm counter.
1382 * text2.C (setCounter): lookup the counter with layouts latexname
1383 instead of by section number.
1384 (setCounter): use a hackish way to lookup the correct enum
1386 a float name->type change
1387 reset enum couners with counter name directly instead of depth value.
1389 * counters.C (Counters): remove the push_backs, change to use the
1390 float type not the float name.
1391 (labelItem): remove unused string, float name->type change
1393 * counters.h: don't include vector, loose the enums and sects vectors
1395 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1397 * lyxtextclass.C (TextClassTags): add TC_FLOAT
1398 (Read): add float->TC_FLOAT to textclassTags
1399 (Read): and handle it in the switch
1400 (readFloat): new function
1402 * FloatList.C (FloatList): comment out the hardcoded float
1405 * lyxlayout.h: ws change.
1407 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
1409 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1411 2002-09-03 Angus Leeming <leeming@lyx.org>
1413 * BufferView_pimpl.h: qualified name is not allowed in member
1414 declaration: WorkArea & Pimpl::workarea() const;
1416 * factory.C: added using std::endl directive.
1418 * text3.C: added using std::find and std::vector directives.
1420 2002-08-29 André Pönitz <poenitz@gmx.net>
1423 * text2.C: remove unused member number_of_rows
1426 * BufferView2.C: remove file, move contents to...
1427 * BufferView.C: ... here
1429 * BufferView_pimpl.C:
1430 * factory.C: move more inset creation to factory
1432 * vspace.C: avoid direct usage of LyXText, ws changes
1435 don't provide direct access to WorkArea, use two simple
1436 acessors haveSelction() and workHeight() instead
1439 2002-08-29 John Levon <levon@movementarian.org>
1441 * BufferView_pimpl.C (dispatch): do not continue when
1444 2002-08-28 André Pönitz <poenitz@gmx.net>
1446 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
1449 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
1451 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1453 * buffer.C: increment LYX_FORMAT to 221
1455 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
1456 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
1458 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
1460 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
1462 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1464 * factory.C (createInset): use LyXTextClass::floats
1466 * MenuBackend.C (expandFloatListInsert):
1467 (expandFloatInsert):
1470 * text2.C (setCounter):
1472 * LaTeXFeatures.C (useFloat):
1473 (getFloatDefinitions):
1475 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
1477 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
1478 floatlist_, with accessor floats().
1480 * FloatList.h: remove global FloatList
1482 2002-08-26 André Pönitz <poenitz@gmx.net>
1484 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
1488 * BufferView_pimpl.C:
1489 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
1491 2002-08-25 John Levon <levon@movementarian.org>
1493 * LyXAction.C: fix margin note description
1495 2002-08-24 John Levon <levon@movementarian.org>
1499 * bufferview_funcs.C:
1501 * undo_funcs.C: cleanups
1503 * lyxfunc.C: disable CUT/COPY when no selection
1505 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1507 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
1508 in "enum UNIT"; e.g. PTW for Percent of TextWidth
1510 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
1511 Add backward compatibility to "mono", "gray" and "no".
1513 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
1515 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
1516 (and file_format >= 200).
1518 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1520 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
1522 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1524 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
1526 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
1528 * BufferView_pimpl.C:
1535 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
1536 inset and code to make it work with the paragraph code. The inset
1537 can be anywhere in the paragraph, but will only do the expected
1538 thing in LaTeX if the layout file contains the parameter line
1540 (or more generally, a nonzero value) for that layout.
1542 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1544 * paragraph.h: remove the declaration of undefined counters class
1547 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
1549 * text2.C (setCounter): fixed enumeration mis-count as reported by
1550 Dr. Richard Hawkins.
1552 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1554 * paragraph_funcs.h: remove some unneeded includes
1556 * text.C (backspace): pasteParagraph now in global scipe
1558 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
1559 (pasteSelection): ditto
1561 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
1562 * paragraph_funcs.C (pasteParagraph): ... here
1564 2002-08-20 André Pönitz <poenitz@gmx.net>
1566 * commandtags.h: new LFUNs for swapping/copying table row/colums
1569 * lyxfunc.C: support for new lfuns
1571 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1574 * buffer.[Ch]: remove NO_COMPABILITY stuff
1576 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
1578 * boost.C (throw_exception): new file, with helper function for
1579 boost compiled without exceptions.
1584 * ParameterStruct.h:
1585 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
1587 * bufferlist.C (emergencyWriteAll): use boost bind
1589 * BufferView_pimpl.C (moveCursorUpdate): remove inline
1591 * text.C: include paragraph_funcs.h
1592 (breakParagraph): breakParagraph is now in global scope
1594 * paragraph_funcs.[Ch]: new files
1596 * paragraph.C (breakParagraph,breakParagraphConservative): move to
1599 * buffer.C: include paragraph_funcs.h
1600 (insertStringAsLines): breakParagraph is now in global scope
1602 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
1605 * CutAndPaste.C: include paragraph_funcs.h
1606 (cutSelection): breakParagraphConservative is now in global scope
1607 (pasteSelection): ditto
1609 * buffer.h: declare oprator== and operator!= for
1610 Buffer::inset_iterator
1612 * bufferlist.C (emergencyWrite): don't use fmt(...)
1614 * text3.C: add using std::endl
1616 * BufferView.C (moveCursorUpdate): remove default arg
1618 2002-08-20 André Pönitz <poenitz@gmx.net>
1620 * buffer.[Ch]: move inline functions to .C
1623 * BufferView_pimpl.C:
1625 * buffer.[Ch]: use improved inset_iterator
1628 * paragraph.[Ch]: write one paragraph at a time
1630 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
1632 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
1633 style if style is not specified.
1635 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1637 * text2.C (setCounter): when searching for right label for a
1638 caption, make sure to recurse to parent insets (so that a caption
1639 in a minipage in a figure float works) (bug #568)
1641 2002-08-20 André Pönitz <poenitz@gmx.net>
1643 * text3.C: new file for LyXText::dispatch() and helpers
1645 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
1647 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
1649 2002-08-19 André Pönitz <poenitz@gmx.net>
1652 * text.C: new LyXText::dispatch()
1654 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
1656 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
1658 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
1660 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
1663 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1665 * Makefile.am: use $(variables) instead of @substitutions@
1667 2002-08-15 André Pönitz <poenitz@gmx.net>
1670 * BufferView_pimpl.C: streamlining mathed <-> outer world
1674 * LyXAction.C: remove unused LFUN_MATH
1676 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1678 * paragraph.[Ch]: add some NO_NEXT ifdefs.
1680 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1682 * paragraph.C (Paragraph): reformat a bit
1683 (cutIntoMinibuffer): use builtin InsetList function instad of
1687 * buffer.C: include boost/bind.hpp, add using std::for_each
1688 (writeFileAscii): use ParagraphList iterators
1689 (validate): use for_each for validate traversal of paragraphs
1690 (getBibkeyList): use ParagraphList iterators
1691 (resizeInsets): use for_each to resizeInsetsLyXText for all
1693 (getParFromID): use ParagraphList iterators
1695 * BufferView2.C (lockInset): use paragraph list and iterators
1697 2002-08-14 John Levon <levon@movementarian.org>
1699 * lyxserver.C: remove spurious xforms include
1701 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1703 * lyxfunc.C (getStatus): disable math-extern outside of math mode
1705 2002-08-13 André Pönitz <poenitz@gmx.net>
1708 * lyxfunc.C: further cleaning
1710 2002-08-13 André Pönitz <poenitz@gmx.net>
1712 * funcrequest.h: new constructor
1714 * funcrequest.C: move stuff here from .h
1717 * BufferView_pimpl.C:
1720 * lyxfunc.C: subsequent changes
1722 * lyxfunc.h: new view() member function
1724 * lyxfunc.C: subsequent changes
1726 2002-08-13 Angus Leeming <leeming@lyx.org>
1729 * BufferView_pimpl.C:
1737 changes due to the changed LyXView interface that now returns references
1738 to member variables not pointers.
1740 2002-08-13 Angus Leeming <leeming@lyx.org>
1742 * WordLangTuple (word, lang_code): return references to strings,
1747 * lyxtext.h: forward-declare WordLangTuple.
1752 * text.C: #include "WordLangTuple.h".
1755 * text.C: (selectNextWordToSpellcheck): constify return type.
1757 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
1763 * paragraph_pimpl.h:
1766 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
1768 Made updateCounter always count from start of buffer, and removed
1769 second argument (par).
1770 Reverted floats number display to '#'. Perhaps I'll try again when the
1771 code base is sanitized a bit.
1773 2002-08-12 Angus Leeming <leeming@lyx.org>
1775 * buffer.[Ch] (getLabelList): constify.
1777 2002-08-07 André Pönitz <poenitz@gmx.net>
1779 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
1781 * funcrequest.h: extension to keep mouse (x,y) position
1783 2002-08-12 Juergen Vigna <jug@sad.it>
1785 * BufferView2.C (insertErrors): forbid undo when inserting error
1788 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
1790 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1792 * ParagraphList.[Ch]: new files
1794 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
1796 * BufferView2.C (lockInset): ParagraphList changes
1799 * bufferlist.C: ditto
1803 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1805 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
1806 unused class variable counter_,
1808 * paragraph.[Ch] (getFirstCounter): delete unused function
1810 * counters.C: include LAssert.h
1811 (reset): add a new function with no arg, change other version to
1812 not have def. arg and to not allow empty arg.
1814 * text2.C (setCounter): remove empty arg from call to Counters::reset
1816 2002-08-11 John Levon <levon@movementarian.org>
1818 * Makefile.am: add WordLangTuple.h
1820 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1822 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
1823 lyxfunc.C lyxlex_pimpl.C: ws changes only.
1825 * insets/insettext.C: InsetList changes
1827 * graphics/GraphicsSupport.C (operator()): InsetList changes
1829 * toc.C (getTocList): InsetList changes
1831 * paragraph_pimpl.[Ch]: InsetList changes
1833 * paragraph.[Ch]: InsetList changes
1835 * buffer.C (inset_iterator): InsetList changes
1836 (setParagraph): ditto
1837 * buffer.h (inset_iterator): ditto
1838 * iterators.C (operator++): ditto
1839 * iterators.h: ditto
1841 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
1843 * InsetList.[Ch]: new files, most InsetList handling moved out of
1846 * BufferView2.C (removeAutoInsets): InsetList changes
1848 (ChangeInsets): ditto
1850 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1852 * paragraph_pimpl.h (empty): new function
1854 * paragraph.[Ch] (empty): new function
1856 * other files: use the new Paragraph::empty function
1858 2002-08-09 John Levon <levon@movementarian.org>
1860 * lyxtext.h: remove unused refresh_height
1862 2002-08-09 John Levon <levon@movementarian.org>
1869 * paragraph.C: move sgml char escaping out of paragraph
1872 * paragraph.C: remove id setter
1876 * paragraph_pimpl.C: remove dead tex_code_break_column
1878 * bufferview_funcs.C: small cleanup
1880 * lyxfunc.C: remove dead proto
1882 * lyxtext.h: make some stuff private. Remove some dead stuff.
1884 * lyxgluelength.C: make as[LyX]String() readable
1886 2002-08-08 John Levon <levon@movementarian.org>
1891 * ToolbarDefaults.C:
1894 * toc.C: lyxaction cleanup
1896 2002-08-08 John Levon <levon@movementarian.org>
1898 * BufferView2.C: small cleanup
1901 * lyxfind.C: move unnecessary header into the .C
1903 2002-08-08 John Levon <levon@movementarian.org>
1905 * funcrequest.h: just tedious nonsense
1908 * lyx_main.C: cleanups
1911 * vspace.C: remove dead header lyx_main.h
1913 2002-08-07 Angus Leeming <leeming@lyx.org>
1916 * paragraph_pimpl.h:
1917 Forward declare class Counters in paragraph.h by moving the ctrs member
1918 variable into Paragraph::Pimpl.
1919 (counters): new method, returning a reference to pimpl_->ctrs.
1921 * text2.C: ensuing changes.
1923 2002-08-07 John Levon <levon@movementarian.org>
1925 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
1927 * BufferView_pimpl.C: announce X selection on double/triple
1930 * lyx_main.C: use correct bool in batch dispatch
1932 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
1934 2002-08-07 André Pönitz <poenitz@gmx.net>
1936 * funcrequest.h: new class to wrap a kb_action and its argument
1939 * BufferView_pimpl[Ch]:
1943 * lyxrc.C: subsequent changes
1946 2002-08-07 John Levon <levon@movementarian.org>
1948 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
1949 document options change.
1951 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1956 * makefile.am: move counters functionality over from
1957 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
1959 2002-08-06 John Levon <levon@movementarian.org>
1961 * WordLangTuple.h: new file for word + language code tuple
1972 * BufferView2.C: use WordLangTuple
1975 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
1977 2002-08-06 John Levon <levon@movementarian.org>
1979 * lyx_main.C: fix cmdline batch handling
1981 2002-08-06 André Pönitz <poenitz@gmx.net>
1983 * lyxrc.C: set default for show_banner to true
1985 2002-08-06 John Levon <levon@movementarian.org>
1987 * pspell.C: fix a crash, and allow new aspell to work
1989 2002-08-06 John Levon <levon@movementarian.org>
1992 * kbmap.C: small cleanup
1995 * vspace.C: add const
1997 2002-08-05 John Levon <levon@movementarian.org>
1999 * LyXAction.C: back to tabular-insert
2001 2002-08-04 John Levon <levon@movementarian.org>
2004 * BufferView.C: cosmetic change
2006 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2016 * BufferView2.C: purge all "Lyx" not "LyX" strings
2019 * lyxcursor.C: attempt to add some documentation
2024 * ToolbarDefaults.C:
2025 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2026 merge with LFUN_TABULAR_INSERT
2033 * pspell.C: split up i/pspell implementations into separate
2034 files, many cleanups
2036 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2038 * text2.C: some cleanup
2040 * lyxfunc.C: don't check for isp_command == "none" any more, it
2041 didn't make any sense
2043 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2048 * makefile.am: move counters functionality over
2049 from text2.C/paragraph.[Ch] to counters.[Ch], and
2051 2002-08-02 John Levon <levon@movementarian.org>
2053 * buffer.C: s/lyxconvert/lyx2lyx/
2055 2002-08-02 Angus Leeming <leeming@lyx.org>
2057 * lyxlex.C: revert John's change as it breaks reading of the user
2060 2002-08-02 Angus Leeming <leeming@lyx.org>
2062 * importer.C (Import):
2063 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2064 changes due to LyXView::view() now returning a boost::shared_ptr.
2066 2002-08-02 John Levon <levon@movementarian.org>
2068 * lyxlex.C: small cleanup
2070 2002-08-02 John Levon <levon@movementarian.org>
2072 * text2.C (status): small cleanup, no logic change
2074 2002-08-01 John Levon <levon@movementarian.org>
2077 * buffer.C (writeFile): don't output alerts, caller
2081 * lyx_cb.C: from above
2083 * lyxfunc.C: allow to open non-existent files
2085 2002-07-31 John Levon <levon@movementarian.org>
2087 * lyxserver.C: don't let incidental errors get
2090 2002-07-30 John Levon <levon@movementarian.org>
2092 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2094 2002-07-30 John Levon <levon@movementarian.org>
2097 * lyxserver.C: remove I/O callback too
2099 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2101 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2104 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2106 * many files: strip,frontStrip -> trim,ltrim,rtrim
2108 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2110 * PrinterParams.h: remove extern containsOnly, and include
2111 support/lstrings.h instead.
2113 * LaTeX.C (scanAuxFile): modify because of strip changes
2115 * buffer.C (makeLaTeXFile): ditto
2116 * bufferparams.C (writeFile): ditt
2117 * lyxfont.C (stateText): ditto
2118 * lyxserver.C (read_ready): ditto
2119 * vc-backend.C (scanMaster): ditto
2121 * BufferView_pimpl.h: ws changes
2123 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2125 2002-07-26 André Pönitz <poenitz@gmx.net>
2127 * kb_sequence.C: remove unnedred usings
2129 2002-07-26 Juergen Vigna <jug@sad.it>
2131 * lyxfind.C (LyXReplace): we have to check better if the returned
2132 text is not of theLockingInset()->getLockingInset().
2134 2002-07-25 Juergen Vigna <jug@sad.it>
2136 * lyxfind.C (LyXReplace): don't replace if we don't get the
2139 * undo_funcs.C (createUndo): remove debugging code.
2141 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2143 * buffer.C (parseSingleLyXformat2Token): Use default placement
2144 when reading old floats.
2146 * FloatList.C (FloatList): Change the default placement of figure
2147 and tables to "tbp".
2149 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2151 * MenuBackend.C: using std::max
2153 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2155 * MenuBackend.C (expandToc):
2156 (expandToc2): code moved from xforms menu frontend. It is now
2157 generic and TOCs are transparent to menu frontends.
2159 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2161 * toc.C (getTocList): protect against buf=0
2163 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2164 Menu as first parameter. Now, this calls itself recursively to
2165 expand a whole tree (this will be useful for TOC handling)
2166 (expandFloatInsert): remove 'wide' version of floats
2168 * MenuBackend.h (submenuname): returns the name of the submenu.
2169 (submenu): returns the submenu itself, provided it has been
2170 created by MenuBackend::expand
2172 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2174 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2175 insets which have noFontChange == true. (bug #172)
2177 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2179 * BufferView_pimpl.C: add connection objects and use them...
2182 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2184 * MenuBackend.C (expandLastfiles):
2187 (expandFloatListInsert):
2188 (expandFloatInsert):
2189 (expand): split expand in parts
2191 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2193 * lyx_gui.C: use lyx_gui::exit()
2195 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2197 * LyXAction.C: show the failing pseudo action
2199 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
2201 * buffer.C (readFile): Run the lyxconvert script in order to read
2204 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2208 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2210 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2214 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2216 2002-07-22 Herbert Voss <voss@lyx.org>
2219 * lyxlength.[Ch]: add support for the vertical lengths
2221 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
2223 * toc.[Ch]: std:: fixes
2225 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2227 * lyxrc.C: do not include lyx_main.h
2229 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2235 * BufferView2.C: include "lyxlex.h"
2238 * bufferparams.h: do not #include "lyxlex.h"
2240 * lyxtextclasslist.C (Add): remove method
2241 (classlist): renamed to classlist_
2243 * paragraph_pimpl.C:
2247 * bufferview_funcs.C:
2252 * toc.C (getTocList): use BufferParams::getLyXTextClass
2254 * toc.C (getTocList): use InsetFloat::addToToc
2256 * toc.[Ch]: new files, containing helper functions to handle table
2259 * lyxfunc.C (dispatch): no need to remove spaces around command
2261 (getStatus): handle LFUN_SEQUENCE by returning the status of the
2262 first command of the sequence; it is not very clever, but I do not
2263 have a better idea, actually
2265 * LyXAction.C (LookupFunc): make sure to remove space at the
2266 beginning and end of the command
2268 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2270 * MenuBackend.C (getMenubar): new method: return the menubar of
2272 (read): treat differently reading of menu and menubar (in
2273 particular, the menubar has no name now)
2274 (Menu::menubar): remove
2276 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2279 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2281 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2282 a bibitem inset in a RTL paragraph.
2284 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2286 * paragraph_pimpl.C: constify
2288 * BufferView_pimpl.C:
2290 * lyxfunc.C: fix dispatch in a nicer way
2292 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2294 * lyxfunc.C (dispatch):
2295 * BufferView_pimpl.C:
2296 * BufferView_pimpl.h:
2298 * BufferView.h: rename Dispatch() to dispatch()
2300 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2302 * lyxlayout.C (Read): honor DependsOn tag
2304 * lyxlayout.[Ch] (depends_on): new method
2306 * version.C.in: update lyx_docversion
2308 * LaTeXFeatures.C (getMacros): only define \LyX when needed
2310 * paragraph.C (validate): remove from here...
2311 * paragraph_pimpl.C (validate): ... and move here
2312 (isTextAt): make it const
2314 * buffer.C (getLists): ws cleanup
2316 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2318 * language.C (read): Use iso8859-1 encoding in latex_lang
2319 (this prevents LyX from crashing when using iso10646-1 encoding).
2321 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2323 * text2.C (toggleInset): if cursor is inside an inset, close the
2324 inset and leave cursor _after_ it
2326 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2328 * lyxfunc.C: move minibuffer completion handling out of here
2330 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2332 * BufferView_pimpl.C:
2333 * LaTeX.C: fix dispatch calls
2335 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2337 * text.C (drawChars): Fix Arabic text rendering.
2339 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2343 * lyxfunc.C: remove message-push/pop
2347 * lyxfunc.C: rationalise some code by removing verboseDispatch
2348 in favour of a bool argument to dispatch()
2350 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2352 * lyx_main.C (init): make sure to read symlinks as absolute paths
2354 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2357 * lyxfunc.C: no need for commandshortcut to be a member
2359 2002-07-15 André Pönitz <poenitz@gmx.net>
2361 * converter.C: add support for $$s (scripts from lib/scripts dir)
2362 * lyx_main.C: white space
2364 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2368 * lyxrc.C: remove second exit confirmation
2370 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2375 * BufferView_pimpl.h:
2376 * BufferView_pimpl.C:
2377 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2379 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2381 * MenuBackend.C (expand): add numeric shortcuts to document menu
2383 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2385 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2387 * lyxfont.C (setLyXFamily):
2394 * buffer.C (asciiParagraph): use ascii_lowercase
2396 2002-07-15 Mike Fabian <mfabian@suse.de>
2398 * lyxlex_pimpl.C (search_kw):
2399 * lyxlex.C (getLongString):
2400 * converter.h (operator<):
2401 * converter.C (operator<):
2402 * buffer.C (parseSingleLyXformat2Token):
2404 * ToolbarDefaults.C (read):
2405 * MenuBackend.C (checkShortcuts):
2407 * LColor.C (getFromGUIName):
2408 (getFromLyXName): use the compare_ascii_no_case instead of
2409 compare_no_case, because in turkish, 'i' is not the lowercase
2410 version of 'I', and thus turkish locale breaks parsing of tags.
2412 2002-07-16 Angus Leeming <leeming@lyx.org>
2414 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
2415 now takes a Buffer const & argument.
2417 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2419 * BufferView.C (resize): check there's a buffer to resize
2421 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
2423 * lyxfunc.C: remove dead code
2426 * lyxserver.C: use lyx_guii::set_read_callback
2428 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2430 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
2431 an inset in a RTL paragraph.
2433 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2435 * lyxfunc.C: repaint after a font size update
2437 2002-07-15 André Pönitz <poenitz@gmx.net>
2439 * lyxlength.C: inBP should be able to return negative values
2441 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2443 * lyxfunc.C: use lyx_gui::update_fonts()
2445 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2447 * lyxfunc.C: use lyx_gui::update_color()
2449 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2455 * lyxrc.C: remove file->new asks for name option, and let
2456 buffer-new take an argument
2458 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2460 * BufferView_pimpl.C: remove unneeded extra repaint()
2462 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
2464 * LyXAction.C: allow command-sequence with NoBuffer
2466 * lyxfunc.C: don't insist on trailing ';' for command-sequence
2468 2002-07-10 Angus Leeming <leeming@lyx.org>
2470 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
2472 2002-07-09 Angus Leeming <leeming@lyx.org>
2474 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
2476 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2478 * lengthcommon.h: whitespace
2480 * lyxfunc.C: update scrollbar after goto paragraph
2482 * lyxtext.h: factor out page break drawing, and fix it so
2483 page break/added space paints as selected nicely
2485 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2487 * BufferView_pimpl.C: add FIXMEs, clean up a little
2489 2002-07-09 André Pönitz <poenitz@gmx.net>
2491 * lyxfont.[Ch]: support for wasy symbols
2493 2002-07-08 André Pönitz <poenitz@gmx.net>
2495 * BufferView_pimpl.C: apply John's patch for #93.
2497 2002-07-05 Angus Leeming <leeming@lyx.org>
2499 * BufferView_pimpl.C (buffer): generate previews if desired.
2501 * LColor.h: add "preview" to the color enum.
2503 * LColor.C (LColor): add a corresponding entry to the items array.
2505 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
2508 2002-07-05 Angus Leeming <leeming@lyx.org>
2510 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
2511 The body of the code is now in the method that is passed an ostream &
2512 rather than a file name.
2513 Pass an additional only_preamble parameter, useful for the forthcoming
2516 2002-07-03 André Pönitz <poenitz@gmx.net>
2518 * lyxfunc.C: simplify getStatus() a bit for math stuff
2520 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2522 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
2524 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2526 * text.C (changeRegionCase): do not change case of all the
2527 document when region ends at paragraph end (bug #461)
2529 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2531 * paragraph.C (startTeXParParams):
2532 (endTeXParParams): add \protect when necessary
2534 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2536 * BufferView_pimpl.C (workAreaExpose): remove warning
2538 2002-06-27 Angus Leeming <leeming@lyx.org>
2540 * Makefile.am: add lyxlayout_ptr_fwd.h.
2542 2002-06-26 André Pönitz <poenitz@gmx.net>
2544 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
2546 2002-06-25 Angus Leeming <leeming@lyx.org>
2548 * lyxfunc.C (dispatch): Comment out the call to
2549 grfx::GCache::changeDisplay. The method no longer exists now that the
2550 pixmap generation part of the graphics loader has been moved into
2553 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2555 * text2.C: layout as layout
2557 * text.C: layout as layout
2559 * tabular.C (OldFormatRead): layout as layout
2561 * paragraph_pimpl.C (TeXDeeper): layout as layout
2562 (realizeFont): layout as layout
2564 * paragraph.C (writeFile): layout as layout
2565 (validate): layout as layout
2566 (getFont): layout as layout
2567 (getLabelFont): layout as layout
2568 (getLayoutFont): layout as layout
2569 (breakParagraph): layout as layout
2570 (stripLeadingSpaces): layout as layout
2571 (getEndLabel): layout as layout
2572 (getMaxDepthAfter): layout as layout
2573 (applyLayout): layout as layout
2574 (TeXOnePar): layout as layout
2575 (simpleTeXOnePar): layout as layout
2576 (TeXEnvironment): layout as layout
2577 (layout): layout as layout
2578 (layout): layout as layout
2580 * lyxtextclass.C (compare_name): new functor to work with
2581 shared_ptr, layout as layout
2582 (Read): layout as layout
2583 (hasLayout): layout as layout
2584 (operator): layout as layout
2585 (delete_layout): layout as layout
2586 (defaultLayout): layout as layout
2588 * lyxlayout_ptr_fwd.h: new file
2590 * lyxlayout.C (Read): layout as layout
2592 * lyx_cb.C (MenuInsertLabel): layout as layout
2594 * bufferlist.C (newFile): layout as layout
2596 * buffer.C (readLyXformat2): layout as layout
2597 (parseSingleLyXformat2Token): layout as layout
2598 (insertStringAsLines): layout as layout
2599 (asciiParagraph): layout as layout
2600 (latexParagraphs): layout as layout
2601 (makeLinuxDocFile): layout as layout
2602 (simpleLinuxDocOnePar): layout as layout
2603 (makeDocBookFile): layout as layout
2604 (simpleDocBookOnePar): layout as layout
2605 (getLists): layout as layout
2607 * LaTeXFeatures.C (getTClassPreamble): layout as layout
2609 * CutAndPaste.C (cutSelection): layout as layout
2610 (pasteSelection): layout as layout
2611 (SwitchLayoutsBetweenClasses): layout as layout
2613 * BufferView_pimpl.C (Dispatch): layout as layout
2614 (smartQuote): layout as layout
2616 * BufferView2.C (unlockInset): layout as layout
2618 2002-06-24 André Pönitz <poenitz@gmx.net>
2620 * lyxfunc.C: fix #487
2622 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2626 * lyxfunc.C: remove display_shortcuts, show_banner
2628 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2630 * Buffer_pimpl.C: oops, update on resize
2632 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2639 * BufferView.C: use repaint()
2641 * BufferView_pimpl.h:
2642 * BufferView_pimpl.C: s/updateScreen()/repaint()/
2643 as it's a clearer description. Remove superfluous
2646 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2648 * text.C: fix bug 488. Not ideal, but getting
2649 getWord() to work properly for the insets that
2650 matter is more difficult ...
2652 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2654 * BufferView_pimpl.C:
2657 * lyxfunc.C: remove the six million index lyxfuncs to just
2658 one, and DTRT (bug 458)
2660 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2664 * BufferView_pimpl.h:
2665 * BufferView_pimpl.C: clean up resize() stuff,
2666 and unnecessary updateScreen()s
2668 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2672 * BufferView_pimpl.h:
2673 * BufferView_pimpl.C:
2676 * minibuffer.C: remove focus management of workarea,
2677 not needed. Use screen's greyOut()
2679 2002-06-17 Herbert Voss <voss@lyx.org>
2681 * converter.C: (convert) do not post a message, when converting
2682 fails, let the calling function decide what to do in this case
2684 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
2686 * lyxfunc.C: tidy up a little
2688 2002-06-16 <alstrup@diku.dk>
2690 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
2691 Got rid of FORMS_H_LOCATION include. Now we are
2694 2002-06-15 LyX Development team <lyx@rilke>
2696 * buffer.[Ch] (sgmlOpenTag):
2697 (sgmlCloseTag): Added support for avoiding pernicious mixed
2698 content. Return number of lines written.
2701 (makeDocBookFile): Fixed calls to sgml*Tag.
2702 Simple white space clean.
2704 (simpleDocBookOnePar): Simple white space clean.
2706 * tabular.[Ch] (docBook): Renamed to docbook and got another
2707 argument to related with the pernicious mixed content.
2709 (docbookRow): Fixed calls for docbook inset method.
2711 2002-06-15 Lyx Development team <larsbj@birdstep.com>
2713 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
2714 so it's X11 independent.
2718 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
2720 2002-06-15 Lyx Development team <lyx@electronia>
2722 * intl.h: Renamed getTrans to getTransManager.
2724 2002-06-14 Angus Leeming <leeming@lyx.org>
2726 * Makefile.am: nuke forgotten stl_string_fwd.h.
2728 2002-06-12 Angus Leeming <leeming@lyx.org>
2730 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
2732 2002-06-13 Angus Leeming <leeming@lyx.org>
2735 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
2737 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
2739 * kbmap.C (getiso): add support for cyrillic and greek
2741 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2745 * BufferView_pimpl.h:
2746 * BufferView_pimpl.C: move bogus scrolling logic
2749 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2752 * BufferView_pimpl.C: view->resize() change
2754 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2756 * BufferView_pimpl.C: topCursorVisible
2759 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2763 * lyx_gui.C: move to frontends/
2767 * lyx_main.C: changes from above
2769 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2776 * lyx_main.C: minor tidy
2778 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2780 * BufferView_pimpl.h:
2781 * BufferView_pimpl.C:
2783 * BufferView.C: make painter() const,
2786 * BufferView2.C: use screen() accessor
2789 * lyx_main.C: some minor cleanup
2791 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2793 * BufferView_pimpl.h:
2794 * BufferView_pimpl.C: remove enter/leaveView,
2797 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2802 * BufferView_pimpl.h:
2803 * BufferView_pimpl.C: only construct screen once,
2806 * lyxrc.C: remove pointless comment
2808 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2811 * BufferView.C: remove active() and belowMouse()
2813 * BufferView_pimpl.h:
2814 * BufferView_pimpl.C: use workarea() not workarea_,
2815 and make it use a scoped_ptr instead
2817 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2819 * lyx_gui.C: add debug message on BadWindow
2821 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2823 * sp_spell.C: fdopen is not part of the C++ standard.
2825 * paragraph.C (InsetIterator): use >= instead of ==
2827 2002-06-07 Angus Leeming <leeming@lyx.org>
2829 Fixes needed to compile with Compaq cxx 6.5.
2830 * BufferView_pimpl.C:
2837 * lyxtextclasslist.C:
2842 all c-library variables have been moved into namespace std. Wrap
2843 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2848 Add a using std::abs declaration.
2850 * kbmap.h (modifier_pair):
2851 * paragraph.h (InsetTable, InsetList):
2852 * lyxfont.h (FontBits):
2853 type definition made public.
2855 * bufferlist.C (emergencyWriteAll): the compiler complains that
2856 there is more than one possible lyx::class_fun template to choose from.
2857 I re-named the void specialisation as lyx::void_class_fun.
2859 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
2861 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
2862 the compiler is is unable to find tostr in write_attribute.
2864 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2866 * buffer.C (sgmlError): hide #warning
2868 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2870 * xtl/*: get rid of xtl, which is not in use anyway
2872 * LyXAction.C (init):
2873 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
2874 were unimplemented xtl experimentation
2876 2002-06-04 André Pönitz <poenitz@gmx.net>
2878 * lyxfunc.C: disable array operation on simple formulae
2880 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
2882 * converter.C: constify a bit
2884 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
2886 * lyx_gui.C: check xforms version correctly
2888 2002-04-30 Herbert Voss <voss@lyx.org>
2890 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
2893 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
2895 * lyxvc.C: fix bug 416 (make sure buffer is saved before
2896 attempt to register it with a VCS)
2898 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2900 * lyx_main.C (init): honor variables LYX_DIR_13x and
2903 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2907 * lyx_main.C: fix a crash on bad command line,
2908 and give a useful exit status on error
2910 * lyxfunc.C (doImport): allow -i lyx to work
2912 2002-03-30 André Pönitz <poenitz@gmx.net>
2914 * lyxfunc.C: mathed font changes
2916 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2931 * trans_mgr.h: srcdocs, and some minor cleanups
2933 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2935 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
2936 call getFont all the time)
2938 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2940 * switch from SigC signals to boost::signals
2942 2002-05-29 André Pönitz <poenitz@gmx.net>
2944 * paragraph_pimpl.C (getChar): don't call size() too often...
2946 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2948 * paragraph_pimpl.C (insertChar): do not try to update tables when
2949 appending (pos == size())
2951 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
2952 in order to reduce drastically the number of comparisons needed to
2953 parse a large document
2955 2002-05-29 André Pönitz <poenitz@gmx.net>
2961 * textclasslist.[Ch]:
2962 * sp_ispell.h: whitespace change
2964 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2966 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
2967 lyxaction directly now.
2969 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
2973 * lyxvc.C: remove unused headers
2975 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2982 * undo_funcs.C: some cleanups. Use shared_ptr
2983 and a template for the undo stacks.
2985 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2987 * BufferView_pimpl.h:
2988 * BufferView_pimpl.C:
2995 * text2.C: use key_state/mouse_state
2997 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2999 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3002 * chset.C: change include order
3003 (loadFile): use boost regex and get rid of LRegex and LSubstring
3005 * Makefile.am (BOOST_LIBS): new variable
3008 * LaTeX.C: change include order.
3009 (scanAuxFile): use boost regex and get rid of LRegex and
3013 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3018 * FontInfo.C: moved to frontends/xforms/
3021 * FontLoader.C: moved into frontends for GUIIzation
3026 * lyxfunc.C: changes from above
3028 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3030 * LColor.C: remove spurious X include
3032 * BufferView_pimpl.C:
3037 * text2.C: move font metrics to frontends/
3039 2002-05-24 Juergen Vigna <jug@sad.it>
3041 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3042 setting the undo_cursor.
3044 * ParagraphParameters.h: include local includes first.
3046 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3048 * BufferView_pimpl.C:
3049 * BufferView_pimpl.h:
3053 * screen.C: move WorkArea into frontends/
3059 * BufferView2.C: move LyXScreen into frontends/
3063 * lyx_gui.C: move lyxlookup into frontends/xforms/
3065 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3068 * BufferView_pimpl.C:
3078 * bufferview_funcs.C:
3091 * vc-backend.C: move LyX/XFormsView into frontends/
3093 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3105 * text2.C: move Painter to frontends/
3107 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3109 * buffer.C: comment out some some code that depend upon lyx_format
3112 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3113 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3115 * buffer.h (NO_COMPABILITY): turn off compability
3117 * ColorHandler.C: include scoped_array.hpp
3119 * font.C: Use more specific smart_ptr header.
3122 * ShareContainer.h: ditto
3126 * BufferView_pimpl.h: ditto
3127 * ColorHandler.h: ditto
3129 * kbmap.C (defkey): change call to shared_ptr::reset
3131 2002-05-21 Juergen Vigna <jug@sad.it>
3133 * buffer.C (insertErtContents): fix to insert ert asis if it is
3134 non empty. Skip it completely if it contains only whitespaces.
3136 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3138 * BufferView_pimpl.C:
3139 * BufferView2.C: clear selection on paste (bug 393)
3141 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3143 * DepTable.C: include ctime
3145 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3147 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3149 2002-05-14 Juergen Vigna <jug@sad.it>
3151 * text.C (breakParagraph): fixed function to honor the keepempty
3152 layout in the right maner and also to permit the right breaking
3153 algorithm on empty or non empyt keepempty paragraphs.
3155 * paragraph.C (breakParagraph): we have to check also if the par
3156 is really empty (!size()) for isempty otherwise we do the wrong
3159 2002-05-10 Juergen Vigna <jug@sad.it>
3161 * buffer.[Ch] : The following are only changes to the ert
3162 compatibility read reading old LaTeX layout and font stuff and
3163 convert it to ERTInsets.
3165 * buffer.h: added isErtInset().
3167 * buffer.C (struct ErtComp): add a fromlayout bool to check
3168 if we're inside a LaTeX layout.
3169 (isErtInset): new helper function.
3170 (insertErtContents): look for other ert insets before this one
3171 and insert the contents there, so that we don't have subsequent
3172 ERT insets with nothing between them. This way we create only one
3173 inset with multiple paragraphs. Also check if we don't insert only
3174 spaces ' ' as they are ignored anyway afterwards in the .tex file
3175 so if we have only spaces we will ignore this latex part in the
3177 (parseSingleLyXformat2Token \\layout): better compatibility when
3178 reading layout-latex stuff.
3179 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3181 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3182 stuff after reading the inset only get the information back from
3185 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
3187 * buffer.C (makeLaTeXFile): Put language options after loading babel.
3189 * LaTeXFeatures.C (getBabelOptions): New method.
3191 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3193 * BufferView_pimpl.C (Dispatch): work around missing argument for
3196 2002-05-08 Juergen Vigna <jug@sad.it>
3198 * text.C (leftMargin): handle paragraph leftindent.
3200 * paragraph.C (writeFile): write the new \\leftindent tag.
3201 (validate): handle leftindent code.
3202 (TeXEnvironment): handle paragraphleftindent code again.
3204 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3206 * buffer.C (parseSingleLyXformat2Token): added compatibility code
3207 for paragrap_extra indent code and new token \\leftindent.
3208 (latexParagraphs): handle the leftindent as environment.
3210 * ParameterStruct.h: added leftindent support.
3212 * ParagraphParameters.C (leftIndent): added support functions for
3213 the paragraph left indent.
3215 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3218 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3220 * paragraph.C (isRightToLeftPar): Return false for a paragraph
3223 * text.C (computeBidiTables): No bidi in insetERT.
3225 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3228 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3230 * version.C.in: pre 5
3232 2002-05-02 José Matos <jamatos@fep.up.pt>
3233 * buffer.C (makeDocBookFile): white space changes, add newline to
3235 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3237 * tabular.C (docBook): fix typo.
3239 2002-05-03 Juergen Vigna <jug@sad.it>
3241 * screen.C (drawFromTo): recalculate the rowpointer if we had a
3242 change in LyXText as we can not be sure it was not freed.
3243 (drawOneRow): remove unused code.
3245 * text.C (drawInset): redo the calculation of the need_break_row as
3246 it could have a row which was already freed.
3247 (draw): look at the return value of drawInset and return false if
3248 it also returned false.
3249 (paintRowText): look at the return value of draw and return false if
3250 it also returned false.
3252 * lyxtext.h: added bool return type to drawInset() and draw() so that
3253 if we have a change in the row so that the rowbreak has to be redone
3254 we abort drawing as it will be called again.
3256 2002-05-02 Juergen Vigna <jug@sad.it>
3258 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3259 a change in the maintext also if we're inside an inset.
3260 (Dispatch): set the cursor again after a break line and after the
3261 screen has been updated as it could be we're in a different row.
3263 * text2.C (fixCursorAfterDelete): check to make sure we don't request
3264 to set the cursor behind the pargraph with > size().
3265 (setCursor): check also for the same paragraph when checking where
3266 to put the cursor if we have a NFR inset.
3268 * buffer.C (parseSingleLyXformat2Token): move the compatibility
3269 parts of layout read further up as it still was in the wrong
3272 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3274 * screen.C (drawFromTo): change sine fullRebreak always return
3277 * buffer.C (parseSingleLyXformat2Token): reindent some
3279 * BufferView_pimpl.C (update): change since fullRebreak always
3281 (Dispatch): git rid of the last hardcoded "Standard"s.
3283 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3285 * text2.[Ch] (fullRebreak): make it return void now that we always
3288 2002-04-30 Juergen Vigna <jug@sad.it>
3290 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3291 ert compatibility check for "latex" layout.
3293 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3295 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3296 minipages: use col% instead of p%, and also use the current font.
3297 (makeLaTeXFile): Fix use babel condition.
3298 (parseSingleLyXformat2Token): Correct font when reading old floats.
3300 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3302 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3303 inserting list of floats.
3305 2002-04-25 Herbert Voss <voss@lyx.org>
3307 * MenuBackend.C (expand): don't add the graphics extensions to the
3310 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3312 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3313 non-existing layout, do not complain if it was the default layout
3314 of the original class (bug #342)
3316 2002-04-24 Juergen Vigna <jug@sad.it>
3318 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3319 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3321 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3323 * buffer.C (getBibkeyList): If using \bibliography, return the
3324 option field with the reference itself. Enables us to provide natbib
3325 support when using \bibliography.
3327 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3329 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3331 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3332 natbib is provided by the LaTeX class.
3334 2002-04-23 Juergen Vigna <jug@sad.it>
3336 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3339 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3341 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3343 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3345 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3346 ensuremath around textordmasculine, textordfeminine and
3349 2002-04-19 Juergen Vigna <jug@sad.it>
3351 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3352 reinitializing the buffer otherwise row-dimensions may be wrong.
3353 (update): reset also the selection cursors if they do exits otherwise
3354 their x/y positions may be wrong.
3356 * text2.C (cursorDown): don't enter the inset if we came from a row
3357 above and are one row over the inset.
3359 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3360 really leaving an inset.
3362 2002-04-18 Juergen Vigna <jug@sad.it>
3364 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3365 of the selected paragraph does not have the selected layout also if
3368 * text2.C (setLayout): fixed bug which did not change last selected
3371 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3372 changed the read and substituted \\end_float with \\end_inset!
3374 * BufferView_pimpl.C (cursorPrevious):
3375 (cursorNext): fixed to make it work with rows heigher than the work
3376 area without moving the cursor only the draw of the row.
3377 (workAreaMotionNotify): fix jumping over high rows.
3379 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3381 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3384 2002-04-16 Juergen Vigna <jug@sad.it>
3386 * text2.C (setCursor): set also the irow().
3387 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3389 (cursorDown): support for locking an inset if the x_fix value goes
3390 inside it. That way I can transverse insets too with cursor up/down.
3392 * lyxrow.h: added irow helper function same as other (i) functions.
3394 * BufferView_pimpl.C (cursorPrevious):
3395 (cursorNext): fixed for insets!
3397 2002-04-15 Juergen Vigna <jug@sad.it>
3399 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3400 position otherwise it is wrong in some cases.
3402 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3403 inside the inset before the call.
3405 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3407 * buffer.[Ch] (getBibkeyList): make it const.
3409 2002-04-12 Juergen Vigna <jug@sad.it>
3411 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
3413 * text2.C (getCursorX): new helper function
3414 (setCursor): compute also ix_
3415 (setCursorFromCoordinates): set also ix.
3417 * lyxcursor.h: added ix_ and helper functions.
3419 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
3421 * buffer.C (insertStringAsLines): dont break paragraph if the this
3422 paragraph is inside an inset which does not permit it!
3424 * text.C (breakParagraph): honor keepempty flag and break the paragraph
3425 also with no chars on this paragraph.
3426 (paintRowText): only paint stuff if it's inside the workarea!
3428 * paragraph.C (breakParagraph): honor keepempty flag and break the
3429 paragraph always below not above.
3431 * BufferView2.C (unlockInset): update the paragraph layout on inset
3432 unlock as we changed paragraph in such a case.
3434 * lyxfind.C (LyXFind): clear the former selection if not found!
3436 * text2.C (insertInset): freeze Undo after setUndo so that it is not
3437 again called in insertChar().
3439 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
3440 an inset which uses the whole row!
3441 (rightMargin): ditto.
3442 (insertChar): force a rebreak if we inserted an inset!
3444 2002-03-28 Herbert Voss <voss@lyx.org>
3446 * lyxlength.[Ch]: add inBP() to get the right PS-point
3447 units (BigPoint). With inPixels we have rounding errors
3449 2002-04-11 Juergen Vigna <jug@sad.it>
3451 * text2.C (setCursorFromCoordinates): set iy to the right value.
3452 (setCursor): add check if row->previous exists!
3454 * buffer.C (parseSingleLyXformat2Token): reset font after read of
3455 an old float_type as this was the case in the old code!
3457 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
3459 * BufferView2.C (showLockedInsetCursor): use iy
3460 (fitLockedInsetCursor): ditto
3462 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
3463 locked insets as there we have the right value now.
3465 * lyxcursor.C: added iy_ variable and iy functions to set to the
3466 baseline of cursor-y of the locked inset.
3468 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
3469 (setCursor): fixed for insets which need a full row.
3471 * text.C (rowLastPrintable): don't ignore the last space when before
3472 an inset which needs a full row.
3473 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
3474 as last character of a row when before a inset which needs a full row.
3476 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3478 * version.C.in: update date
3480 * text2.C (fullRebreak): try to always return true and see what
3483 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3485 * MenuBackend.C (expand): use Floating::listName
3487 * FloatList.C (FloatList): add listName argument to the built-in
3490 * Floating.[Ch]: add listName member, which is the 'List of XXX'
3491 text associated with the float.
3493 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3495 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3497 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3499 * ShareContainer.h: add a couple of missing typenames.
3501 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
3503 * lyxrc.C (getDescription): use _() correctly rather than N_().
3505 2002-03-28 Herbert Voss <voss@lyx.org>
3507 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
3508 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
3510 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3512 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
3513 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
3515 2002-03-29 Juergen Vigna <jug@sad.it>
3517 * lyxfunc.C (dispatch): add a missing fitCursor call.
3519 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
3520 it was scrolled by a cursor move, so return the bool status.
3522 * BufferView.C (fitCursor): return the bool flag also to the outside
3523 world as this is needed.
3525 * screen.C (toggleToggle): don't subtract the offset if it's positive.
3527 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
3528 call the edit() as it is not needed (and wrong) IMO.
3529 (workAreaButtonPress): set the screen_first variable before evt.
3530 unlock the inset as this may change screen_first and then we have
3531 a wrong y position for the click!
3533 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3535 * MenuBackend.C (expand): another translation that I missed
3537 2002-03-28 Juergen Vigna <jug@sad.it>
3539 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
3541 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
3543 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3545 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
3547 * MenuBackend.C (expand): fix export/view/update when there is no
3550 2002-03-27 Herbert Voss <voss@lyx.org>
3552 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
3555 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3557 * bufferview_funcs.C (currentState): only show paragraph number
3558 for is DEVEL_VERSION is set.
3560 * lyxfunc.C (dispatch): put warning in INFO channel
3562 * MenuBackend.C (expand): translate the name of floats
3564 * FloatList.C (FloatList): mark the float names for translation
3566 * converter.C (convert): use LibScriptSearch
3568 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3570 * MenuBackend.C (defaults): fix default menu (we might as well get
3573 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3575 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
3578 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3580 * lyxvc.C: reorder includes.
3582 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
3584 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
3587 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
3589 * CutAndPaste.C: change layouts earlier on paste
3590 to avoid crashing when calling getFont()
3592 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3594 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
3597 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3599 * WorkArea.C: remove 'Pending' debug message.
3601 * most files: ws cleanup
3603 * buffer.[Ch]: ws changes
3605 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
3607 2002-03-21 Juergen Vigna <jug@sad.it>
3609 * tabular.C (SetMultiColumn): collapse also the contents of the
3610 cells and set the last border right. Added a Buffer const * param.
3612 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3614 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
3617 2002-03-19 Juergen Vigna <jug@sad.it>
3619 * text2.C (clearSelection): reset also xsel_cache.
3621 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
3622 where it needs to be called (John tells us to do so too :)
3623 (selectionLost): reset sel_cache.
3625 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
3627 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3629 * text2.C (setCursorIntern): put debuging code in INSETS channel
3631 2002-03-19 André Pönitz <poenitz@gmx.net>
3633 * lyxfunc.C: tiny whitespace change
3635 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3637 * ToolbarDefaults.C (init):
3638 * LyXAction.C (init):
3640 * BufferView_pimpl.C (Dispatch):
3641 * lyxfunc.C (dispatch): remove LFUN_DEPTH
3643 2002-03-19 Allan Rae <rae@lyx.org>
3645 * exporter.C (Export): removeAutoInsets before doing anything else.
3646 While I've just introduced a dependency on BufferView this really is
3647 the best place to clean the buffer otherwise you need to cleanup in
3648 a dozen places before calling export or cleanup in a dozen functions
3651 * converter.C (runLaTeX):
3652 (scanLog): Better handling of removeAutoInsets and screen updates.
3654 * lyxfunc.C (dispatch): small whitespace changes
3656 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3658 * WorkArea.C (C_WorkAreaEvent): return a value.
3659 (event_cb): return 1 if we handled the event, 0 otherwise.
3661 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
3663 2002-03-18 Juergen Vigna <jug@sad.it>
3665 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
3666 (GetAdditionalWidth): ditto.
3670 * BufferView2.C (copy): use getLyXText() so that we do it inside an
3671 inset if we're there actually (probably not used right now but this
3672 is the direction to go for unifying code).
3673 (paste): disable code to clear the selection.
3675 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
3676 inside an InsetText and move the check further up as it is in the
3679 * text2.C (pasteSelection): set a selection over the pasted text.
3681 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
3683 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
3684 and libgraphics to build on Cygwin.
3686 2002-03-15 Juergen Vigna <jug@sad.it>
3688 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
3689 inserting an Inset into the paragraph. I know this is not the best
3690 fix but we already use current_view in CutAndPaste so we will remove
3691 all of it's using at the same time.
3693 * buffer.C (sgmlError): deactivated function till it is rewritten in
3694 the right mode, now it can create problems.
3696 * paragraph.C (isLineSeparator): check if getInset returns != 0,
3697 before accessing it.
3699 2002-03-14 Juergen Vigna <jug@sad.it>
3701 * undo_funcs.C (textHandleUndo): do the right thing when updating
3702 the inset after the undo/redo.
3704 * text2.C (setCursor): just some testcode for #44 not ready yet.
3706 * undo_funcs.C (textHandleUndo): set the next() and previous()
3707 pointers of the paragraph to 0 before deleting otherwise we have
3708 problems with the Paragraph::[destructor].
3710 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
3711 on a paragraph insertion.
3713 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3715 * buffer.C (asciiParagraph): use += operator for char append to
3718 * paragraph.C (getFontSettings): compare >= not just >
3719 (highestFontInRange): ditto
3722 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3724 * paragraph.C: change several algorithm to be more appripriate for
3725 the problem domain. This is lookip in FontList and in the InsetList.
3727 2002-03-13 André Pönitz <poenitz@gmx.net>
3730 * LyXAction.C: remove unused LFUN_MATH_MACROARG
3732 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
3737 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
3739 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3741 * Painter.C (display): anon helper function, adjust code for this
3743 (pixmap): remove function.
3745 * Painter.h: remove private display variable.
3747 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
3749 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
3751 * WorkArea.[Ch]: remove figinset_canvas cruft.
3753 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3755 * lyxtextclass.C (operator): add one item cache optimization.
3757 * bufferlist.h: doxy changes
3759 * bufferlist.C: ws changes
3761 * DepTable.[Ch] (ext_exist): place const in the right spot.
3763 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
3765 (workAreaExpose): call resizeInsets when the with BufferView changes.
3766 (Dispatch): adjust for protectedBlank removal
3767 (specialChar): call updateInset if the insert went ok.
3769 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
3770 specialChar instead.
3772 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
3774 * BufferView.h: doxy change
3776 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
3778 * lyxtextclass.C (operator[]): remove non-const version
3779 (defaultLayout): remove non-const version
3781 2002-03-12 Juergen Vigna <jug@sad.it>
3783 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
3784 did resize the LyXText too.
3786 * buffer.C (readLyXformat2): set layout information on newly allocated
3789 * tabular.C (OldFormatRead): set layout information on the paragraph.
3791 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3793 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
3795 2002-03-11 Juergen Vigna <jug@sad.it>
3797 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
3799 (resizeCurrentBuffer): force also the insets to resize themselfes.
3800 (moveCursorUpdate): fixed up for InsetText.
3802 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
3805 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
3806 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
3807 value of Dialogs::tooltipsEnabled().
3808 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
3810 2002-03-08 Juergen Vigna <jug@sad.it>
3812 * BufferView_pimpl.C (updateInset): update inset inside inset also
3813 if it isn't inside theLockingInset().
3815 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3817 * buffer.C (asciiParagraph): redo some of the word and line length
3819 (getLists): look for Caption instead of caption.
3821 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3823 * buffer.C (Buffer): initialize niceFile to true
3826 (makeDocBookFile): make sure niceFile is true on exit
3828 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3830 * buffer.C (makeLaTeXFile): escape ~ in \input@path
3832 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3834 * LyXSendto.C: remove.
3835 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
3836 * lyx_gui.C: remove now-redundant comment.
3837 * ColorHandler.h: remove forward declaration of class WorkArea.
3838 * lyxfunc.C: remove #include "WorkArea.h".
3840 2002-03-07 Juergen Vigna <jug@sad.it>
3842 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
3843 got moved away with the DEPM and also set the inset_owner always
3844 right which before could have been omitted.
3846 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3848 * buffer.C (parseSingleLyXformat2Token): use default layout is the
3849 wanted layout is not found.
3851 2002-03-07 Juergen Vigna <jug@sad.it>
3853 * CutAndPaste.C (cutSelection): another layout settings forgotten.
3855 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3857 * paragraph.C (breakParagraph): use default layout not layout of
3859 (Paragraph): clear ParagraphParameters.
3861 2002-03-06 Juergen Vigna <jug@sad.it>
3863 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
3864 otherwise it would not be a valid lenght. Fixed a special case in
3865 the minipage compatibility read where we end the document with a
3868 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
3869 was set as it could be 0 for InsetTexts first entry.
3871 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3873 * paragraph.C (writeFile): if layout is empty write out
3874 defaultLayoutName().
3876 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
3877 file without named layout we set layout to defaultLayoutName().
3879 2002-03-06 Juergen Vigna <jug@sad.it>
3881 * CutAndPaste.C (copySelection): set layout for new paragraph.
3883 * text.C (prepareToPrint): leave ERT inset left aligned
3884 (leftMargin): don't indent paragraphs inside ERT insets
3886 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3888 * paragraph.C (breakParagraph): dont call clear do the work manually
3890 * paragraph.[Ch] (clear): remove function
3892 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3894 * paragraph.C (Paragraph): dont call clear, the work has already
3897 * lyxtextclass.C (operator): assert if n is empty
3899 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
3900 work manually instead.
3902 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3904 * BufferView_pimpl.C: protect selectionLost against text == 0
3906 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3908 * text.C (breakParagraph): fix a setting layout to '0' problem.
3910 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3912 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
3913 final location of file, for the included files, and graphics.
3915 2002-03-05 Juergen Vigna <jug@sad.it>
3917 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
3919 2002-03-04 Juergen Vigna <jug@sad.it>
3921 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
3923 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
3924 last column of multicolumn cells.
3925 (SetWidthOfMulticolCell): recalculate NMC and real columns.
3927 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3929 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
3930 file if it doesn't go to a temporary file.
3932 * buffer.C (sgmlOpenTag):
3933 (sgmlCloseTag): remove extra newline insertion.
3935 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3937 * text.C (getRowNearY): comment out debug msg
3939 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3941 * text2.C: first -> first_y
3943 * text.C (getRowNearY): add some attemts at a possible
3944 optimization, not working.
3946 * tabular.[Ch]: add BufferParams to several function so that newly
3947 created paragraph can be initialized to he default layotu for the
3950 * tabular-old.C (ReadOld): add buf->params to call of Init
3952 * screen.C: rename text->first to text->first_y
3954 * paragraph.C (breakParagraph): always set layout in the broken
3957 * lyxtextclass.C (Read): remove lowercase
3960 (delete_layout): ditto
3962 * lyxtext.h: rename first -> first_y
3964 * lyxlayout.C (Read): remove lowercase
3967 (obsoleted_by): ditto
3969 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
3971 * buffer.C (insertErtContents): add params are to InsetERT
3972 (parseSingleLyXformat2Token): add code to check if a paragraphs
3973 layout really exist.
3974 (parseSingleLyXformat2Token): add params to several inset
3976 (asciiParagraph): remove lowercase, do the layout comparisons with
3979 * BufferView_pimpl.C (cursorNext): first -> first_y
3980 (resizeCurrentBuffer): first -> first_y
3981 (updateScrollbar): first -> first_y
3982 (scrollCB): first -> first_y
3983 (workAreaMotionNotify): first -> first_y
3984 (workAreaButtonPress): first -> first_y
3985 (checkInsetHit): first -> first_y
3986 (cursorPrevious): first -> first_y
3987 (cursorNext): first -> first_y
3988 (Dispatch): add buffer_->params to severl inset contructors
3990 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3992 * lyxlayout.C (Read): remove some debug info that I forgot.
3994 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
3995 clean up the code slightly.
3996 (makeLinuxDocFile): ditto
3997 (makeDocBookFile): ditto
3999 * text2.C: layout as string
4001 * text.C: layout as string
4003 * paragraph_pimpl.C: layout as string
4005 * paragraph.[Ch]: layout as string
4007 * lyxtextclasslist.[Ch]: layout as string
4009 * lyxtextclass.[Ch]: layout as string
4011 * lyxtext.h: layout as string
4013 * lyxlayout.[Ch]: layout as string
4015 * lyx_cb.C: layout as string
4017 * bufferview_funcs.C: layout as string
4019 * bufferparams.C: layout as string
4021 * buffer.C: layout as string
4023 * LyXView.[Ch]: layout as string
4025 * LaTeXFeatures.[Ch]: layout as string
4027 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4029 * BufferView_pimpl.C: change current_layout to string, remove
4034 (workAreaButtonRelease): layout as string
4036 * BufferView2.C (unlockInset): adjust
4038 * vspace.C (asLatexCommand): use an explict temp variable.
4040 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4042 * Makefile.am: use FRONTEND_*
4044 2002-03-01 Juergen Vigna <jug@sad.it>
4046 * tabular.C (SetWidthOfMulticolCell): changed to something better
4047 I hope but still work in progress.
4048 (recalculateMulticolumnsOfColumn): renamed function from
4049 recalculateMulticolCells as it is more appropriate now.
4050 (SetWidthOfCell): calculate multicols better.
4052 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4054 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4056 * lyxfunc.C (processKeySym): print sequence also if it is
4057 `deleted' (complete)
4059 * kbsequence.C (print): print sequence even if it is deleted
4060 (complete would be a better word, actually).
4062 * lyxfunc.C (dispatch): print complete options after a prefix key
4064 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4066 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4068 * text2.C (setCharFont): eliminate setCharFont code duplication.
4070 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4072 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4073 LFUN_TABULAR_FEATURE (bug #177)
4075 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4077 * Makefile.am: remove figure.h
4079 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4081 * Bufferview_pimpl.C:
4093 * text2.C: remove #include "lyx_gui_misc.h".
4095 * LaTeX.C: added #include <cstdio>
4097 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4099 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4100 that the paragraph following this one can have.
4102 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4104 * vspace.C (asLatexCommand): fix bogus gcc warning
4106 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4108 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4110 * text2.C (setLayout): get rid of redundant code
4112 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4114 * text2.C (incDepth): make sure depth cannot be increased beyond
4117 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4119 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4120 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4122 * PainterBase.h (image):
4123 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4126 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4130 * BufferView_pimpl.C:
4131 * BufferView_pimpl.h:
4151 * sp_spell.C: remove fig inset, and the crap house of
4152 cards that follows it
4154 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4160 * nt_defines.h: move .h into support/
4162 * vms_defines.h: remove
4164 * WorkArea.C: add space in debug output
4168 * buffer.C: add WITH_WARNINGS
4172 * bufferlist.C: s/retrive/retrieve/, add docs
4183 * lyxgui.C: add ID to X error handler
4185 * lyxtestclass.c: fix typo
4187 2002-02-26 Juergen Vigna <jug@sad.it>
4189 * tabular_funcs.C (write_attribute): changed so that some default
4190 attributes are not written at all.
4191 (getTokenValue): set default values before trying to read the
4192 value so we have the return value always set as default if we don't
4193 find the token we search for.
4195 * tabular.C (Write): write bools as bools not as strings!
4197 2002-02-22 Juergen Vigna <jug@sad.it>
4199 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4200 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4202 * text.C (leftMargin): don't add an indent for paragraphs inside
4203 tabular cells (fix #208).
4205 2002-02-21 José Matos <jamatos@fep.up.pt>
4207 * tabular.C (docBook): fixed support for long tables.
4209 2002-02-20 Juergen Vigna <jug@sad.it>
4211 * text2.C (getFont): get the drawing font of the Inset if this
4212 paragraph is inside an inset (only important for InsetERT for now).
4214 * buffer.C (insertErtContents): use new lanugage params in ERT
4217 * CutAndPaste.C: commenting out seemingly uneeded code.
4219 2002-02-19 Allan Rae <rae@lyx.org>
4221 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4222 Iterators might be simple to use but they also get invalidated.
4223 (removeAutoInsets): renamed saved cursor tracking variables and added
4224 some comments to clarify what everything does.
4226 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4233 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4234 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4237 * vc-backend.h: remove #include "support/syscall.h"
4241 * converter.C: rearrange #includes in Lars' approved fashion.
4243 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4244 forward declare class Timeout in the header file.
4246 * XFormsView.C: changes due to the above.
4248 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4251 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4252 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4254 2002-02-18 José Matos <jamatos@fep.up.pt>
4256 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4259 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4261 * a lot of small ws changes
4262 * add a lot of using std::XXX
4263 * use std construcs some places where approp.
4264 * use some exisint stuff from lyxfunctional where approp.
4265 * Make file changes to use partial linking (lets test this now...)
4267 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4271 remove #include "support/syscontr.h" as it's redundant. Always has been.
4279 change Systemcalls::System to Systemcalls::Wait and
4280 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4281 No change of functionality, just reflects the stripped down Systemcalls
4284 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4286 * debug.[Ch]: add a GRAPHICS type to the enum.
4288 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4290 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4292 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4295 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4297 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4298 match the changes below.
4300 * text2.C (toggleInset): if there is not editable inset at cursor
4301 position, try to see if cursor is _inside_ a collapsable inset
4304 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4306 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4307 document menu has a nice checkbox
4309 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4311 * lyxlength.C (asLatexString): change PW to output as percent of
4314 * lengthcommon.C: change '%' to 't%'
4316 * lyxfunc.C (dispatch): a few comments from Martin
4318 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
4322 * BufferView_pimpl.h:
4323 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4326 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4328 * vspace.C (inPixels): fix compiler warning
4330 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4332 * lyxfunc.C (getStatus): fix status message for disabled commands.
4334 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4336 * BufferView_pimpl.C: fix crash on close buffer
4337 during selection (#227)
4339 2002-01-27 Herbert Voss <voss@lyx.org>
4341 * buffer.C: link old Figure to new graphic inset
4343 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4345 * FontLoader.C (getFontinfo): Change the latex font names in order
4346 to match the names of type1inst.
4348 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4350 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4352 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4355 (remove_files_with_extension): ditto
4356 (remove_file): ditto
4359 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4360 document is smaller than the work area height. Do not initialize
4361 static variables to 0.
4363 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4365 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4367 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4368 LFUN_LAYOUT_PARAGRAPHS.
4370 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4371 tabular. It is possible to provide a possible cell, which will
4372 typically be the actcell from the corresponding insettabular
4374 * lyxfunc.C (getStatus): small cleanup; disable
4375 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4378 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4380 * tabular.C (Validate): remove broken optimization (fixes bug #201)
4382 * paragraph.C (startTeXParParams):
4383 (endTeXParParams): new methods. The LaTeX code to
4384 start/end paragraph formatting
4385 (simpleTeXOnePar): call startTeXParParams also when paragraph is
4386 empty (fixes bug #200)
4388 * vspace.C (inPixels): adapt to the change below
4389 (inPixels): [later] more cleanups (remove unused variables)
4391 * lyxlength.C (inPixels): change to use a width and a height as
4394 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4396 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4397 Replaced with \paperwidth
4399 * DepTable.C (insert): add std:: qualifier
4401 2002-01-18 Allan Rae <rae@lyx.org>
4403 * text2.C (removeRow): add comment. Should other refresh_?? vars be
4406 * text.C (drawInset): Turned out I didn't know enough about how
4407 rebreaking worked. This fixes most of the redraw problems. I see
4408 an occasional cursor trail when a line is broken now and the cursor
4409 placement can seem out by a few pixels also after a rebreak.
4411 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4413 * buffer.C (parseSingleLyXformat2Token): update because minipage
4414 width is now a LyXLength
4416 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
4418 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
4421 2002-01-17 Juergen Vigna <jug@sad.it>
4423 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
4425 * BufferView2.C (lockInset): call edit() so that theLockingInset()
4426 is set correctly and the inset is updated correctly.
4428 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4430 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
4431 the beginning of the loop.
4433 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
4435 * lyxrc.C: improve help for use_scalable_fonts
4437 2002-01-17 Allan Rae <rae@lyx.org>
4439 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
4441 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4443 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4444 make sure to set their inset_owner to the right value (bug #171)
4446 2001-12-12 Ben Stanley <bds02@uow.edu.au>
4449 * DepTable.C: Implement mtime checking to reduce time spent doing
4452 2002-01-16 Juergen Vigna <jug@sad.it>
4454 * tabular.C (GetAdditionalHeight): one of error fixed.
4456 * lyxrc.C (output): small fix in writing use_pspell.
4458 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
4460 * sp_base.h: #include LString.h
4462 2002-01-16 Allan Rae <rae@lyx.org>
4464 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
4465 Can someone check this please?
4467 * text.C (drawInset): It was possible that p.row would be removed by
4468 breakAgainOneRow upsetting a few other settings. There may be another
4469 small tweak possible by setting need_break_row = 0 when p.row has been
4470 removed but I don't know enough about the logic here.
4472 2002-01-15 Allan Rae <rae@lyx.org>
4474 * text.C (insertChar): removed conditional truism.
4476 * BufferView2.C (removeAutoInsets): More tweaks.
4477 cur_par_prev could be a stray pointer. Check for trailing empty line
4478 in case last line was cur_par and only had an error inset on it.
4480 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4482 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
4485 * vc-backend.C (most methods):
4486 * exporter.C (Export):
4487 * converter.C (convert):
4489 * LyXSendto.C (SendtoApplyCB):
4490 * lyxfunc.C (dispatch):
4494 * lyx_cb.C (AutoSave):
4496 * BufferView_pimpl.C (MenuInsertLyXFile):
4497 * buffer.C (runChktex): use Buffer::filePath().
4499 * buffer.h: rename filename to filename_; rename filepath to
4500 filepath_ and make it private
4501 (filePath): new method
4503 * buffer.C (writeFile): use fileName()
4506 * lyx_main.C (init): fix starting of LyX when the binary is a
4507 link from so,ewhere else.
4509 * minibuffer.C: include <cctype> for isprint
4511 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4513 * buffer.C (parseSingleLyXformat2Token): changes associated with the
4514 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
4515 name clash with InsetCollapsable's width function.
4517 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4519 * lastfiles.C: include <iterator>
4521 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4523 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
4526 * buffer.C (makeLaTeXFile): ditto.
4527 Also make loop operation more transparent.
4529 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4531 * ToolbarDefaults.C: remove trailing comma closing namespace.
4533 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
4535 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
4538 * trans.C (Load): comment out unused variable, allowed.
4540 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4542 * minibuffer.[Ch] (append_char): new method to recieve input from the
4543 drop-down completion browser. If a key was pressed, then recieve this
4544 char and append it to the existing string.
4545 (peek_event): modify the positioning data passed to the completion
4546 browser so that it can be placed above the minibuffer rather than below.
4547 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4549 * LyXAction.C (init): alloe error-next for readonly documents.
4551 * BufferView2.C (ChangeRefsIfUnique): use standard version of
4554 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4556 * bufferlist.C (readFile): create the buffer _after_ checking that
4559 * lyxfunc.C (verboseDispatch): fix handling of arguments
4561 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
4563 * lyxrc.C: use string::erase() instead of initializing to "".
4566 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4568 * BufferView_pimpl.h:
4569 * BufferView_pimpl.C:
4572 * text2.C: tell X when we have made a selection for copying
4574 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4576 * BufferView_pimpl.C (MenuInsertLyXFile):
4577 * lyxfunc.C (menuNew):
4579 (doImport): add shortcuts to directory buttons
4581 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
4584 * lyxfunc.C (setStatusMessage):
4585 (getStatusMessage): new methods
4586 (getStatus):use setStatusMessage instead of setErrorMessage
4587 (dispatch): when function is disabled, set error message here
4588 [instead of in getStatus previously]
4590 * BufferView_pimpl.C (workAreaButtonRelease): update
4591 toolbar/menubar here too.
4593 2002-01-13 Allan Rae <rae@lyx.org>
4595 * BufferView2.C (removeAutoInsets): finished off earlier fix.
4596 Now seems indestructible. Remaining task is to audit all other
4597 code affected by deleteEmptyParagraphMechanism. One small quirk
4598 left is that an empty document with an error in the preamble can
4599 be made to report an error but no error box appears. I don't know
4601 (removeAutoInsets): Improved comments.
4603 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
4606 * Thesaurus.C: update for Aiksaurus 0.14
4608 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4610 * text2.C (firstParagraph): removed member function, all uses
4611 replaces with ownerParagraph
4612 (redoParagraphs): here
4614 (toggleAppendix): here
4615 * BufferView2.C (insertErrors): here
4616 (setCursorFromRow): here
4618 2002-01-13 Allan Rae <rae@lyx.org>
4620 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
4621 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
4622 There is still a way to segfault this although you may have to do this
4623 multiple times: Have an InsetERT with an unknown command in it.
4624 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
4625 <down-arrow>, <Enter> again, View->DVI, BANG!
4627 * text2.C (setCursor):
4628 (deleteEmptyParagraphMechanism):
4629 * lyxtext.h (setCursor):
4630 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
4631 Making use of the return value may help fix other bugs.
4633 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4635 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
4637 * LyXView.C (updateMenubar): call MenuBar::update here
4638 (updateToolbar): but not here
4639 (showState): do not update toolbar/menubar
4641 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
4642 should need to care about that.
4644 * lyxfunc.C (verboseDispatch): simplify a bit
4645 (getStatus): have a version which takes a pseudoaction, and
4646 another which requires a (kb_action,string).
4648 * LyXAction.C (retrieveActionArg): make it work also when action
4649 is not a pseudo-action.
4650 (getActionName): simplify a bit
4653 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4655 * lyxfunc.C (verboseDispatch): new families of methods with
4656 several ways to specify a command and a bool to indicate whether
4657 the command name and shortcut should be displayed in minibuffer
4658 (eventually, we could extend that to a finer bitmask like
4659 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
4660 (dispatch): the pristine dispatch command which just, well,
4661 dispatchs! Note it still sets its result to minibuffer; I'm not
4664 * lyxfunc.h: remove setHintMessage
4666 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
4668 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4670 * BufferView_pimpl.C (specialChar): delete new inset if we have
4671 not been able to insert it.
4673 * kbmap.C: revert to using int instead of kb_action, since all we
4674 are dealing with is pseudo-actions.
4676 * LyXAction.C (searchActionArg): change to return int instead of
4677 kb_action, since the result is a pseudoaction.
4679 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
4681 * buffer.C (insertErtContents): Fix (partially) the font bug.
4683 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4685 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
4686 as the other one is broken on my machine!
4688 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
4691 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
4693 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
4695 * lyxrc.[Ch]: change names and descriptions of popup font variables to
4696 reflect their actual use. Provide compatibility code for older lyxrc
4699 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
4701 change names of popup font variables in line with the changes to lyxrc.C
4703 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4705 * buffer.C (asciiParagraph): avoid outputing a word twice after
4708 * lyxrc.C (getDescription): document that document_path and
4709 template_path can be empty.
4711 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4713 * LaTeXFeatures.C (getMacros):
4714 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
4716 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
4718 * LaTeXFeatures.C (useFloat): require "float" here instead of in
4720 (getPackages): rename feature "floats" to "float". Use an array to
4721 iterate over 'simple' features (i.e. just a \usepackage). Add
4722 handling of "amsmath" (renamed from "amsstyle").
4724 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
4726 * LaTeXFeatures.C (require): Prevent duplicate entries in the
4729 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
4731 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
4732 FuncStaus::FuncStatus & FuncStaus::some_method().
4734 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4736 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
4737 of the func_satus stuff. Edited and massaged in various ways by
4740 * lyxfunc.C (getStatus): use FuncStatus
4742 2002-01-08 Juergen Vigna <jug@sad.it>
4744 * text.C (nextBreakPoint): use function Inset::isChar().
4746 * paragraph.C (TeXOnePar): use function
4747 Inset::forceDefaultParagraphs.
4749 * buffer.C (latexParagraphs): use function
4750 Inset::forceDefaultParagraphs.
4752 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4754 * lyx_gui.C (init): set the style of the menu popups to
4755 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
4757 2002-01-07 Juergen Vigna <jug@sad.it>
4759 * text.C (setHeightOfRow): small fix
4760 (prepareToPrint): don't look at alignment if we don't have the place
4763 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4765 * box.C: New file. Move the Box methods and functions out of box.h,
4766 following Lars' suggestion.
4768 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4770 * box.h: #include "support/LOstream.h", needed for inlined function.
4773 * lyxtextclasslist.C: added some using std declarations.
4775 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
4777 * box.h: make signed dimensions to allow insets wider than
4778 the screen (bug #162)
4780 * BufferView_pimpl.C: add some insetHit debug
4782 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4784 * vc-backend.C: add FIXME
4786 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4788 * lyxfunc.C (getStatus): enable code for showing math font status
4791 2002-01-07 Juergen Vigna <jug@sad.it>
4793 * text.C (nextBreakPoint): removed debug output not needed anymore.
4795 2002-01-06 Juergen Vigna <jug@sad.it>
4797 * text.C (nextBreakPoint): fixed up this function we had this bug
4798 since ever but now hopefully we break row better.
4799 (insertChar): we have to check if an inset is the next char as it
4800 could now happen that a large inset is causing a break.
4802 2002-01-05 Juergen Vigna <jug@sad.it>
4804 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
4805 if it doesn't like to be drawed.
4807 2002-01-04 Juergen Vigna <jug@sad.it>
4809 * BufferView2.C (lockInset): forgot to set a cursor.
4811 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
4813 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
4818 * form_maths_panel.C:
4819 * form_maths_panel.h:
4820 * form_maths_panel.fd: implemented sub- and super- buttons in math
4823 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
4824 (or ^ space) to be used as in TeX (req'd by André).
4826 * lyxfunc.C: Allow ^ and _ again to be used both as
4827 super/subscript (mathed) and as themselves (in text).
4829 2002-01-03 Allan Rae <rae@lyx.org>
4831 * LyXView.C (updateWindowTitle): Setup a short icon title of either
4832 "LyX" or the filename of the current buffer if it has one. This is a
4833 modified form of John Levon's patch.
4835 * XFormsView.C (setWindowTitle): also set icon title.
4837 * LyXView.h (setWindowTitle): signature changed.
4838 * XFormsView.h (setWindowTitle): ditto.
4840 2002-01-02 Juergen Vigna <jug@sad.it>
4842 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
4844 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4846 * screen.C (topCursorVisible): introduce a temp var for
4847 text->cursor.row(), handle the case where this row is null. (kindo
4850 * text2.C (setCursor): add a couple of asserts.
4852 * paragraph.h (inset_iterator): add -> operator
4854 * paragraph.[Ch] (autoDeleteInsets): remove member function
4856 * BufferView2.C (removeAutoInsets): rewrite to handle the old
4857 cursor pos correctly and handle inset deletion by itself.
4858 (insertErrors): move iterator declaration out of for expression
4860 * lyxtextclass.C: add <algorithm>
4862 * Makefile.am: added the new files to sources, removed layout.C
4864 * layout.C: removed file
4866 * layout.h: remove LYX_DUMMY_LAYOUT
4868 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
4872 * lyxtextclass.[Ch]:
4873 * lyxtextclasslist.[Ch]: new files
4875 * include order changes to a lot of files, also changes because of
4878 2001-12-27 Juergen Vigna <jug@sad.it>
4880 * buffer.C (asciiParagraph): more fixes.
4882 * tabular.C (ascii): make ascii export support export of only the
4883 data separated by a column-delimiter.
4884 (ascii): better support for ascii export.
4886 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
4888 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4890 * tabular_funcs.C: use a "using std::getline" instead of the
4891 previous fix from Angus (necessary for cxx + lyxstring)
4893 2001-12-24 Juergen Vigna <jug@sad.it>
4895 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
4897 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
4898 problems. First check a minipage also if we have some ert-contents
4899 (not only on par->size(), second set the right depth of the paragraph
4900 on the relink to the root-paragraph-list!
4902 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
4903 which then did not anymore update the main paragraphs on undo/redo!
4905 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4907 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
4908 code. Support all font-changing funcs (even those which are not in
4909 menu currently). Support for reporting font settings in
4910 mathed (disabled until Andre provides a function on mathed's side).
4912 * func_status.h (toggle): small helper function to set toggle
4915 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
4917 * tabular_funcs.C: getline -> std::getline
4919 2001-12-21 Juergen Vigna <jug@sad.it>
4921 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
4922 accessed and could be 0 (I couldn't generate this but it seems
4925 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4927 * tabular_funcs.C: add LIstream.h, move write_attribute to..
4928 * tabular_funcs.h: here and include iosfwd
4930 2001-12-20 Juergen Vigna <jug@sad.it>
4932 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
4933 inside inset but undo_par was.
4935 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4937 * Thesaurus.C: always include <config.h> in sources.
4941 * box.h: do not include <config.h> in header files
4943 * text.C (paintLastRow): remove unused variable
4945 * text.C (transformChar):
4947 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
4950 * font.C (width): rewrite to use uppercase() instead of
4953 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
4955 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
4957 * lyxfind.C: clean up of find failure position change
4959 2001-12-20 Juergen Vigna <jug@sad.it>
4961 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
4963 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
4964 (TeXRow): added to LaTeX a single tabular row.
4965 (TeXLongtableHeaderFooter): added to output LT-h/f data.
4966 (Latex): simplified and finally good LT-h/f support.
4967 (various_functions): just small adaptions for LT-h/f support.
4969 * tabular_funcs.[hC]: added and moved here all not classfunctions
4972 2001-12-19 Juergen Vigna <jug@sad.it>
4974 * tabular.[Ch]: better support for longtabular options (not finished
4977 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4979 * text.C (paintLastRow): use the label font instead of the font of
4980 the last character to compute the size of *_BOX. This makes more
4981 sense and avoids a crash with empty paragraphs.
4982 Use Painter::rectangle to draw EMPTY_BOX.
4984 2001-12-19 Juergen Vigna <jug@sad.it>
4986 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
4987 the paragraphs if the replaced paragraph is not the first one!
4988 Tried to delete not used paragraphs but does not work yet so for
4989 now it's inside #ifdef's and by default off!
4991 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4993 * MenuBackend.C: include "lyx_main.h" instead of declaring
4994 lastfiles (actually was declared as LastFiles* instead of a
4997 2001-12-17 Juergen Vigna <jug@sad.it>
4999 * tabular.C (AppendColumn): applied John's fix
5001 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5005 * BufferView_pimpl.h:
5006 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5009 * box.h: new start of class for above
5011 * lyxfunc.C: ignore space-only minibuffer dispatches.
5012 Show the command name when it doesn't exist
5014 * minibuffer.C: don't add empty lines to the history
5016 * minibuffer.C: add a space on dropdown completion
5018 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5020 * text.C: fix line above/below drawing in insets
5022 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5024 * lyxlength.C (LyXLength): Initialize private variables.
5026 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5028 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5029 when inserting error insets.
5031 2001-12-13 Juergen Vigna <jug@sad.it>
5033 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5034 actually sometimes the before-paragraph.
5035 (setUndo): don't clear the redostack if we're not actually undoing!
5037 2001-12-06 Juergen Vigna <jug@sad.it>
5039 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5040 and fixed redoing of main paragraph, so we can use it now ;)
5042 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5044 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5046 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5049 2001-12-13 André Pönitz <poenitz@gmx.net>
5052 * undo_func.C: minor cleanup
5054 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5056 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5057 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5058 font in urw-fonts package which is marked as -urw-fontspecific and
5059 does not work (incidentally, changing the encoding in the
5060 fonts.dir of this package to -adobe-fontspecific fixes the
5063 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5064 is a crash when undoing first paragraph (Juergen, please take a
5065 look). THis does not mean the undo fix is wrong, just that it
5068 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5069 the (Paragraph*) version when needed instead of duplicating the
5072 * text.C (workWidth): use Inset::parOwner to find out where the
5073 inset has been inserted. This is a huge performance gain for large
5074 documents with lots of insets. If Inset::parOwner is not set, fall
5075 back on the brute force method
5077 * paragraph_pimpl.C (insertInset):
5078 * paragraph.C (Paragraph):
5079 (cutIntoMinibuffer): set parOwner of insets when
5080 inserting/removing them
5082 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5084 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5090 * mathed/formulabase.C:
5091 * mathed/math_cursor.[Ch]:
5092 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5095 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5097 * lyxlength.[Ch] (operator!=): new function
5099 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5101 * text.C (workWidth): use Inset::parOwner to find out where the
5102 inset has been inserted. This is a huge performance gain for large
5103 documents with lots of insets. If Inset::parOwner is not set, fall
5104 back on the brute force method
5106 * paragraph_pimpl.C (insertInset):
5107 * paragraph.C (Paragraph):
5108 (cutIntoMinibuffer): set parOwner of insets when
5109 inserting/removing them
5111 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5113 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5115 * tabular-old.C (getTokenValue):
5116 * tabular.C (getTokenValue):
5117 (write_attribute): new versions for LyXLength
5118 (everywhere): adjust the use of widths
5120 * tabular.h: change the type of widths from string to LyXLength
5122 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5124 * paragraph.C: fixed missing line number count when exporting
5125 Environments to LaTeX file
5127 * buffer.C: added informational message for checking line numbers.
5129 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5131 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5132 paragraph, do the 'double space' part, but not the 'empty
5135 * text.C (workWidth): small optimization
5136 (getLengthMarkerHeight): use minimal size for negative lengths.
5138 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5140 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5142 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5144 2001-12-11 André Pönitz <poenitz@gmx.net>
5147 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5149 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5151 * text2.C: keep selection on a setFont()
5153 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5155 * lyx_cb.C: another bv->text misuse, from insert label
5157 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5160 * kbsequence.C: re-instate nmodifier mask
5162 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5164 * lyx_main.h: make lyxGUI private.
5166 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5168 * lyxfind.C: place the cursor correctly on failed search
5170 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5172 * text.C (getLengthMarkerHeight): for small heights, the arrows
5173 are not always on top/bottom of the text
5174 (drawLengthMarker): smaller arrows; take the left margin in
5175 account; draw also vfills.
5177 (paintLastRow): remove special code for vfill and standard spaces,
5178 since everything is handled in drawLengthMarker now.
5180 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5182 * buffer.C (insertErtContents): try to handle font and language
5183 interaction a bit better.g
5185 * ColorHandler.C (updateColor): change the hash to cover the whole
5186 LColor enum, ws cleanup
5187 (getGCLinepars): ditto
5188 (getGCLinepars): only lookup in the linecache once.
5190 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
5192 * iterators.C (operator++): Make the iterator more robust
5194 * BufferView2.C (removeAutoInsets): Use paragraph iterators
5196 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5198 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5201 * text.C: better added space drawing
5203 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5206 * BufferView2.C: fix layout combo update on inset unlock
5208 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5210 * Makefile.am: don't compile unused files
5212 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5216 * LyXAction.C: remove old LFUN_LAYOUTNO
5218 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5220 * paragraph_pimpl.h:
5221 * paragraph_pimpl.C: isTextAt() doesn't need font param
5223 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5226 * lyxlex.C: little cleanup
5228 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5230 * BufferView_pimpl.C: fix insertAscii for insets
5232 2001-12-05 Juergen Vigna <jug@sad.it>
5234 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5235 set the right font on the "multi" paragraph paste!
5237 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5243 * lyxlength.C: remove out-commented code.
5259 * vc-backend.C: change "while(" to "while ("
5261 * lyxlength.[Ch]: add zero function to check if length is zero or
5263 * lyxgluelength.C: use it
5265 2001-12-05 Allan Rae <rae@lyx.org>
5267 * lyxlength.C: Attempted a fix for the abs(int) header selection.
5268 Works for 2.95.3, from what I understand of Garst's reports this should
5269 work for other g++ versions. We're screwed if the abs(int) definition
5270 changed between bugfix releases of gcc.
5272 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5274 * text.C: fix chapter label offset !
5276 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5279 * text.C: fix hfill at end of line, clean up
5281 2001-12-04 Juergen Vigna <jug@sad.it>
5283 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5284 that we force an update of the inset and it's owners if neccessary.
5286 2001-12-03 Juergen Vigna <jug@sad.it>
5288 * text.C (rowLast): simplified code
5290 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5292 * lyxfunc.C: fix show options on timeout
5294 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5296 * screen.C (topCursorVisible): scroll half a page when the cursor
5297 reached top of bottom of screen
5299 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5301 * minibuffer.C: deactivate on loss of focus
5303 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5305 * vspace.[Ch] (operator!=): add operator.
5307 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5309 * BufferView_pimpl.C: refuse to open an inset when
5310 there's a selection.
5312 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
5314 * BufferView_pimpl.C: allow to click on RHS of full row insets
5316 2001-11-30 Juergen Vigna <jug@sad.it>
5318 * tabular.C (LyXTabular): add a same_id to set the same id's in the
5319 insets for undo reasons.
5321 2001-11-28 André Pönitz <poenitz@gmx.net>
5323 * vspace.[Ch]: cosmetical changes
5325 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5335 * kbsequence.C: part re-write of old kb code
5338 * WorkArea.C: remove Lgb_bug_find_hack
5340 2001-11-30 José Matos <jamatos@fep.up.pt>
5342 * buffer.C (makeDocBookFile): add a comment to point a hack.
5343 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5344 Fixed a double write of labels.
5346 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5349 * LaTeX.h Fixed bug in LaTeX class where it would not
5350 re-run latex if no depfiles were changed, but the .dvi was removed.
5352 2001-11-28 André Pönitz <poenitz@gmx.net>
5354 * all the files from the change on 2001/11/26:
5355 use lyx::layout_type instead of LyXTextClass::size_type
5356 use lyx::textclass_type instead of LyXTextClassList::size_type
5358 2001-11-29 Juergen Vigna <jug@sad.it>
5360 * text.C: added support for paragraph::isFreeSpacing()
5362 * buffer.C: same as above
5364 * paragraph.h: inserted isFreeSpacing() function to enable
5365 FreeSpacing inside InsetERT.
5367 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5368 of the paragraph's in the cut/copy buffer to 0!
5370 * text2.C (removeRow): remove the assert as it can!
5372 * lyxtext.h: added helper function firstRow returning firstrow and
5373 made firstrow private again.
5375 * BufferView2.C (lockInset): don't relock if we're already locked!
5377 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5379 (removeRow): added Assert::(firstrow)
5381 * debug.C: forgot to add INSETTEXT here.
5383 2001-11-28 Juergen Vigna <jug@sad.it>
5385 * sp_spell.C (initialize): changed error text to more general
5386 spellchecker command use (not only ispell!)
5388 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5390 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5392 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5394 * vspace.C: initialise lyxgluelength on failure
5396 2001-11-28 Allan Rae <rae@lyx.org>
5398 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5399 declaration & definition that looks like a function declaration.
5401 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5403 * BufferView2.C (copy):
5404 (copyEnvironment): do not clear the selection when doing a copy.
5406 * text.C (paintFirstRow): compilation fix
5408 2001-11-27 Ben Stanley <bds02@uow.edu.au>
5410 * tabular.C (Latex): correct line count when writing latex.
5412 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
5414 * paragraph_pimpl.h:
5415 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
5418 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5422 * LColor.C: change vfillline->added_space
5424 * text.C: add markers and text for added space
5426 * vspace.C: fix comment
5428 2001-11-28 André Pönitz <poenitz@gmx.net>
5430 * paragraph.C: whitespace changes
5431 * all the other files from the change on 2001/11/26:
5432 change *::pos_type into lyx::pos_type
5434 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
5436 * buffer.C (parseSingleLyXformat2Token): Set the language to the
5437 language of the document when inserting error insets.
5439 2001-11-26 André Pönitz <poenitz@gmx.net>
5441 * BufferView_pimpl.[Ch]:
5449 * paragraph_pimpl.[Ch]:
5452 * text2.C: reduce header dependencies, introduce type for positions
5454 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5456 * <various>: change to use Alert.h
5458 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
5460 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
5461 when encountering an unknown token.
5462 (readLyXformat2): Show an error message if there were unknown tokens.
5464 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5467 * BufferView_pimpl.C:
5471 * text2.C: use par->isInset()
5473 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5475 * paragraph_pimpl.h:
5476 * paragraph_pimpl.C: cleanup
5478 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5480 * text2.C (removeRow):
5481 * text.C (setHeightOfRow): remove useless (and costly) call to
5484 2001-11-20 Allan Rae <rae@lyx.org>
5486 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
5487 Now need Inset*::checkInsertChar() to return true for appropriate
5488 cases so that the characters in the minibuffer will actually be
5491 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5493 * text.C: change the order of the includes.
5494 (workWidth): initialize it at once.
5495 (workWidth): make maxw unsigned
5496 (setHeightOfRow): remove unused variable (inset)
5497 (selectSelectedWord): remove unused variable (inset)
5498 (paintRowText): fix drawing of hfill characters, and clean up a bit.
5500 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5502 * lyxserver.C (emergencyCleanup): do not try to close pipes if
5503 server is not running.
5505 (closeConnection): add debug info when server is disabled.
5507 * ColorHandler.C (getGCForeground): send debug message to GUI
5510 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
5512 * kbmap.C (bind): modify because return conventions of
5513 kb_sequence::parse have changed.
5515 * kbsequence.C (parse): only ignore spaces and not any stupid
5516 control character. This avoids tests like s[i] <= ' ', which are
5517 guaranteed to fail with 8bit characters and signed chars.
5518 Change return code to string::npos when there have been no error
5519 (0 was a bad idea when error is at first character)
5521 2001-11-14 José Matos <jamatos@fep.up.pt>
5524 * buffer.C (simpleDocBookOnePar): removed unused argument.
5526 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5528 * text.C (selectNextWordToSpellcheck): do not test explicitely for
5529 insets which are part of a word. Paragraph::isLetter takes care of
5530 that now. Use Paragraph::isInset to identify insets.
5531 (selectSelectedWord): do not test for hyphenation break.
5533 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
5534 that protected spaces are considered as spaces.
5536 * paragraph.C (isLetter): cleanup the code for ispell extras; use
5539 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
5542 * lyxserver.C: fix it. and small cleanup.
5544 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5546 * BufferView_pimpl.C: use inline helpers
5549 * LaTeXFeatures.C: fix typos
5552 * Spacing.C: move spacing_string into class
5554 * ToolbarDefaults.C: move stuff into namespace anon
5556 * layout.h: update enum
5558 * lyxfunc.C: use better debug
5560 * minibuffer.h: fix typo
5564 * WorkArea.C: add and use Debug::WORKAREA
5568 * text2.C: code re-organisation, inline helpers
5570 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
5572 * Layout.C: replaced a few cases of std::vector.size() == 0 with
5573 std::vector.empty().
5575 2001-11-09 Allan Rae <rae@lyx.org>
5577 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
5578 '\n's after tables. Tabular and ERT inset work now makes this no
5581 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5584 * minibuffer.C: fix crash, improve drop-down completion
5586 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
5589 * lyxserver.C: invalidate fd's when doing endPipe()
5591 2001-11-08 José Matos <jamatos@fep.up.pt>
5593 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
5594 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
5597 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
5599 2001-11-07 José Matos <jamatos@fep.up.pt>
5602 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
5605 * buffer.C (sgmlOpenTag):
5606 * buffer.C (sgmlCloseTag): removed debug info.
5608 * buffer.h (sgmlOpenTag):
5609 * buffer.h (sgmlCloseTag): made public.
5611 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5613 * buffer.C (saveParamsAsDefaults):
5614 * lyx_cb.C (MenuLayoutSave): remove
5616 * LyXAction.C (init):
5618 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
5620 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5622 * buffer.C (setPaperStuff): removed from here...
5624 * bufferparams.C (setPaperStuff): ... and moved there.
5626 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
5630 * XFormsView.C: add support for drop-down completion
5632 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
5634 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
5637 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5639 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
5642 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5644 * lyx_main.C: change ref to known bugs
5646 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5648 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
5649 to work around older babel problems.
5651 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5653 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
5655 2001-10-24 Juergen Vigna <jug@sad.it>
5657 * tabular-old.C (ReadOld): below variable changes reflected.
5659 * tabular.[Ch]: added ltType struct for longtable header/footer
5660 defines and changed all instances where they are used. Added
5661 future support for double top/bottom rows.
5663 2001-10-24 José Matos <jamatos@fep.up.pt>
5665 * buffer.h (docbookHandleCaption):
5666 * buffer.C (docbookHandleCaption): removed unused function.
5667 (makeDocBookFile): moved docbook supported version to v4.1.
5669 2001-10-24 José Matos <jamatos@fep.up.pt>
5672 * tabular.C (docbookRow): new function to export docbook code of a row.
5673 (DocBook): now honors the longtable flags.
5675 2001-10-23 José Matos <jamatos@fep.up.pt>
5678 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
5679 of the lyx defined sgml entities used in a docbook/linuxdoc document.
5681 * buffer.C (makeLinuxDocFile):
5682 (makeDocBookFile): reworked the preamble, more clean, and with
5683 support for lyx defined entities. Changed the document declaration
5684 to be more XML friendly.
5686 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
5687 if we need to output XML that should be done with a filter.
5689 2001-10-22 Juergen Vigna <jug@sad.it>
5691 * sp_pspell.h (class PSpell): add alive function needed in the
5692 controller to see if the spellchecker could be started.
5694 2001-10-22 Juergen Vigna <jug@sad.it>
5696 * buffer.C (insertStringAsLines): modify the font for inserting
5697 chars in certain conditions by calling checkInsertChar(font).
5699 2001-10-19 Juergen Vigna <jug@sad.it>
5701 * text.C (workWidth): use getRow instead of wrong algorithm.
5702 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
5704 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
5709 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
5711 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5713 * text.C (workWidth): do not search for the exact row when
5714 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
5715 optimization for big documents.
5717 2001-10-18 Juergen Vigna <jug@sad.it>
5719 * text.C (workWidth): new function with added Inset * parameter.
5721 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5723 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
5725 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
5726 change return type of getColumnNearX.
5729 * text.C (changeRegionCase): use uppercase/lowercase instead of
5732 (rightMargin): simplify code by factoring out the uses of
5737 (appendParagraph): use Paragraph::size_type
5739 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5741 * vspace.C (asLatexString): add a missing break
5743 2001-10-15 Herbert Voss <voss@perce.de>
5745 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
5747 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5749 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
5752 2001-10-10 André Pönitz <poenitz@gmx.net>
5754 * lyxfunc.C: removed greek_kb_flag.
5756 2001-10-10 Herbert Voss <voss@perce.de>
5758 * lyx_main.C: delete global string help_lyxdir.
5760 2001-10-09 Herbert Voss <voss@perce.de>
5762 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
5764 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
5766 * lyx_main.C: added global string help_lyxdir.
5768 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
5770 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5772 * lyxrc.C (set_font_norm_type): support iso8859-4
5774 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
5776 * LaTeX.C (deplog): add another regex for MikTeX
5778 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
5780 * lyxrc.C (set_font_norm_type): support iso8859-3
5782 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5784 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
5786 * LaTeXFeatures.C: remove special case of french and index
5788 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
5789 before \begin{document}). This solves several incompatibilities.
5791 2001-10-03 Garst Reese <reese@isn.net>
5793 * lyx_cb.C: change CheckTex error msg.
5795 2001-10-03 José Matos <jamatos@fep.up.pt>
5797 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
5799 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5801 * .cvsignore: update
5803 * lyx_main.C (commandLineVersionInfo): use new style version info.
5805 * buffer.C (writeFile):
5808 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
5810 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
5812 * version.h: update to use stuff in version.C
5814 * version.C.in: new file. Contains version information determined
5815 at compile time. This is a merging of version.h and
5818 2001-10-03 Juergen Vigna <jug@sad.it>
5820 * BufferView_pimpl.C (update): don't change "dirty" status in
5823 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
5825 * WorkArea.C (c-tor): re-position version string slightly.
5827 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
5829 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
5830 revert to previous code.
5832 WorkArea.[Ch]: (show, destroySplash): methods removed.
5834 WorkArea.C: rework code so that it's an amalgam of the codes before and
5835 after the splash screen was moved to WorkArea.
5837 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5840 * vspace.C (inPixels):
5843 * buffer.C (insertStringAsLines):
5844 (asciiParagraph): fix types to be large enough
5846 * lyxlex_pimpl.h: change member status from short to int
5848 * layout.h: fix type of endlabeltype
5851 * kbsequence.C (parse): change return type to string::size_type
5853 * LaTeX.C (updateBibtexDependencies): comment out unneeded
5856 * Bullet.C (bulletSize):
5857 (bulletEntry): do not use short ints as parameters
5859 * BufferView2.C (insertLyXFile): change a char to an int.
5861 * WorkArea.C (WorkArea): remove unneeded floats in computation
5863 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
5865 * buffer.C (asciiParagraph): Treat '\\' as other chars.
5867 * paragraph.C (asString): Do not ignore newline/hfill chars when
5868 copying to the clipboard.
5870 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
5872 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
5873 after a multi-line inset.
5875 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5877 * paragraph.C (validate): Set NeedLyXFootnoteCode
5879 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5881 * lyxfont.C (LyXSizeNames): changed increase-error to increase
5882 and decrease-error to decrease.
5884 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5886 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
5887 it more readable (should be equivalent)
5889 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
5891 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
5893 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5895 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
5896 of a cursor (row, etc.) after a character has been deleted
5897 (deleteEmptyParagraphMechanism): call the method above on _all_
5898 cursors held by the LyXText when a double space has been
5901 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5903 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
5905 (resizeCurrentBuff): remove code to destroy the old splash dialog.
5907 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
5908 background. Use greyOut() and the new show() methods to toggle between
5909 the foreground and background. Add code to remove the splash after
5910 its initial showing.
5912 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
5913 (create_forms): no longer call Dialogs::showSplash.
5915 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5917 * .cvsignore: add version_info.h
5919 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5921 * version_info.h.in: new file
5923 * Makefile.am: add version_info.h.in
5925 * lyx_main.C (commandLineVersionInfo): use version_info defined in
5926 version_info.h instead of VERSION_INFO
5928 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5930 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
5931 The ERT inset now returns string().
5933 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5935 * lyxtext.h, text.C (selectNextWord): renamed as
5936 selectNextWordToSpellcheck.
5938 * text.C (selectNextWordToSpellcheck): Modified to not select
5939 words inside an ERT inset.
5941 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5943 * lyx_cb.C (MenuLayoutSave): change a bit the question
5945 * sp_base.h: include <sys/types.h>
5947 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5949 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
5951 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
5953 * several files: fix typos in user-visible strings
5955 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5957 * text2.C (pasteSelection): do not set the selection, since it
5958 will be cleared later. Actually, the intent was to fix the way the
5959 selection was set, but I figured rmoving the code was just as good.
5961 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
5963 * FontLoader.C (available): Check if font is available without
5966 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5968 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
5970 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
5972 * lyxrc.[Ch]: added display_graphics variable and associated code.
5974 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5976 * bufferparams.C (hasClassDefaults): new method. Returns true if
5977 the buffer parameters correspond to known class defaults
5979 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
5981 * XFormsView.C (show): set minimum size to the main window.
5983 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5985 * text2.C (copySelection):
5987 * lyxfind.C (LyXReplace):
5988 * BufferView_pimpl.C (Dispatch): pass the correct flag to
5989 LyXText::selectionAsString.
5991 * paragraph.C (asString): add "label" argument to the second form
5993 * text2.C (selectionAsString): add "label" argument and pass it to
5994 Paragraph::asString.
5996 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5998 * lyx_main.C (commandLineHelp): remove version information
6000 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6002 * lyx_main.C: add -version commandline option
6004 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6006 * paragraph.h: make the optional constructor arg required instead.
6007 some modifications to other files because of this.
6009 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6011 * lyxserver.C (C_LyXComm_callback): make it static
6013 * lyx_main.C (error_handler): make it static
6015 * lyx_gui.C (LyX_XErrHandler): make it static
6017 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6019 * WorkArea.C: make the extern "C" methods static.
6021 * Makefile.am (lyx_LDADD): simplify
6023 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6025 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6026 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6028 * LyXAction.C (init):
6029 * lyxfunc.C (dispatch): associated code removal.
6031 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6033 * lyxfont.h (isSymbolFont): shut off warning
6035 * text.C (setHeightOfRow):
6036 (getVisibleRow): fix crash with empty paragraphs which have a
6039 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6041 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6044 2001-09-04 José Matos <jamatos@fep.up.pt>
6047 * tabular.C (docbook): rename docBook method to docbook.
6049 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6051 * Makefile.am: add dependencies to main.o.
6053 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6055 * FontLoader.C (available): Return false if !lyxrc.use_gui
6057 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6059 * FontInfo.C (query):
6060 * converter.C (view):
6061 * importer.C (Import):
6062 * exporter.C (Export): Can not -> cannot.
6064 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6066 * BufferView_pimpl.C: allow to create index inset even if
6069 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6071 * buffer.C (getLists): replace boost::tie code with an explicit pair
6072 as boost::tie can break some compilers.
6074 * iterators.h: Added a std:: declaration to the return type of
6077 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6079 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6082 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6084 * iterators.[Ch]: New files. Provide paragraph iterators.
6086 * buffer.C (changeLanguage): Use paragraph iterators.
6087 (isMultiLingual): ditto
6089 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6091 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6093 * FontLoader.C: Support for cmr font.
6095 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6097 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6098 (available): New method.
6100 * FontInfo.C (getFontname): Use scalable fonts even when
6101 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6104 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6106 * converter.C (Formats::view): reverted! Incorrect fix.
6108 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6110 * converter.C (Formats::view): only output the -paper option
6111 if the dvi viewer is xdvi, thereby fixing bug #233429.
6113 2001-08-23 Herbert Voss <voss@perce>
6115 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6117 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6119 * Spacing.h (Spacing): Set space to Default on in the default
6122 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6124 * vc-backend.h (RCS::versionString): add RCS to version
6125 (CVS::versionString): add CVS to version
6127 * vc-backend.C (scanMaster): do not add CVS to version.
6128 (scanMaster): do not add RCS to version
6130 * lyxvc.C (versionString): new method
6132 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6134 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6136 * Spacing.C (set): initialize fval
6138 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6140 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6143 2001-08-16 Juergen Vigna <jug@sad.it>
6145 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6147 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6149 * BufferView_pimpl.C:
6152 * text2.C: setParagraph takes linespacing now
6154 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6156 * LyxAction.C: add internal LFUN_CITATION_INSERT
6158 * LyXView.C: actually apply fix
6160 * bufferlist.C: fix open non-existent file
6162 * lyxfind.C: fix indentation
6164 * lyxfunc.C: remove unneeded assert, fix typo
6166 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6168 * MenuBackend.C: use "Floatname List"
6170 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6172 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6173 when converting LaTeX layout to insetERT.
6174 Generate a non-collapsed float when reading old float
6176 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6178 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6181 2001-08-13 Juergen Vigna <jug@sad.it>
6183 * text.C (fill): return 0 instead of 20 as this seems to be the more
6186 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6188 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6191 2001-08-13 Juergen Vigna <jug@sad.it>
6193 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6195 (SearchBackward): comment out the unlocking of the inset_owner this
6196 should not be needed!
6198 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6200 * Many files: Remove inherit_language, and add latex_language
6202 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6205 2001-08-10 Juergen Vigna <jug@sad.it>
6207 * text.C (prepareToPrint): fixed hfill-width in draw!
6209 * BufferView2.C (selectLastWord): save the selection cursor as this
6210 now is cleared in the function LyXText::clearSelection!
6212 2001-08-08 Juergen Vigna <jug@sad.it>
6214 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6215 BACKSPACE type functions.
6217 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6218 is only cutted from the document but not put in the cut-buffer, where
6219 still the old stuff should be.
6221 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6223 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6225 * tabular.C (SetWidthOfCell): fixed special case where the width
6227 (LeftLine): handle '|' in align_special.
6229 (LeftAlreadyDrawed): ditto
6230 (SetWidthOfCell): ditto
6232 2001-08-07 Juergen Vigna <jug@sad.it>
6234 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6236 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6238 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6239 * lyxlex.[hC]: ditto
6241 2001-08-06 Juergen Vigna <jug@sad.it>
6243 * text.C (getVisibleRow): fix up row clearing a bit.
6245 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6247 * minibuffer.C: make sure the X server sees the changes in the input.
6249 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6251 * paragraph.C (getFont): split into...
6252 (getLabelFont): this
6253 (getLayoutFont): and this
6254 * paragraph_pimpl.C (realizeFont): calling this
6256 * text2.C (getFont): split into...
6257 (getLayoutFont): this
6258 (getLabelFont): and this
6259 (realizeFont): all three calling this
6261 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6264 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6266 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6268 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
6270 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6271 layouts from the Quote inset insertion.
6273 2001-08-03 Juergen Vigna <jug@sad.it>
6275 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6277 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6278 only if status not is already CHANGED_IN_DRAW (second level).
6280 * text.C (draw): don't set the need_break_row when inside an
6283 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6285 * buffer.C (parseSingleLyXformat2Token): handle more latex
6288 * bufferview_funcs.[hC]: change function names to
6289 begin with small char, adjust other files.
6291 2001-08-02 André Pönitz <poenitz@gmx.net>
6294 BufferView_pimpl.C: remove broken special code for math-greek
6296 2001-08-02 Juergen Vigna <jug@sad.it>
6298 * BufferView_pimpl.C (update): redone this function so that we
6299 update the text again if there was a CHANGE_IN_DRAW.
6301 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6302 (drawFromTo): added a new internal bool which is used by draw() and
6304 (general): some cursor drawing problems fixed.
6306 2001-08-01 Juergen Vigna <jug@sad.it>
6308 * lyxfind.C (LyXFind): fixed
6309 (SearchForward): ditto
6310 (SearchBackward): ditto
6312 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6313 spurius drawing of the cursor in the main area.
6315 * text2.C (status): small fix which could lead to a segfault!
6316 (clearSelection): remove unneeded BufferView param.
6318 2001-08-01 André Pönitz <poenitz@gmx.net>
6320 * lyxfunc.C: small change due to changed mathed interface
6322 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6324 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6326 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6328 * lyxfunc.c: fail gracefully if file doesn't exist
6333 * BufferView_pimpl.C: IsDirWriteable() proto changed
6335 * LyXView.C: fix updateWindowTitle() to store the last title
6337 2001-07-31 Juergen Vigna <jug@sad.it>
6339 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6340 the font (wrong since using of Paragraph::highestFontInRange).
6342 * paragraph.C (highestFontInRange): added a default_size parameter.
6344 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6345 (setHeightOfRow): reformat
6347 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6349 * converter.[hC] + affected files: move to (inital-char)lowercase
6352 * ParagraphParameters.C (ParagraphParameters): remove commented code
6354 * PainterBase.[Ch]: remove commented code
6356 * LaTeXFeatures.h: add "bool floats" for float.sty
6358 * LaTeXFeatures.C (LaTeXFeatures): init floats
6359 (require): handle float
6360 (getPackages): do it with floats
6362 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6364 * BufferView_pimpl.C (Dispatch): improve handling of
6365 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6367 * commandtags.h: #include lyxfont.h here temporarily to avoid
6370 * bufferlist.h: include LString.h here.
6372 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6374 * text2.C (getStringToIndex): new method.
6376 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
6378 * *: Reduced header file dependencies all over.
6380 2001-07-30 Baruch Even <baruch@lyx.org>
6382 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6384 2001-07-29 Baruch Even <baruch@lyx.org>
6386 * buffer.C (readInset): Changed GRAPHICS to Graphics.
6388 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6390 * ParameterStruct.h (endif): add a default constructor to make
6391 sure that all variables is initialized.
6393 * ParagraphParameters.C (ParagraphParameters): adjust
6395 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6397 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6398 index; also, check that there is something to index, and that it
6399 does not span over several paragraphs.
6400 (doubleClick): use WHOLE_WORD_STRICT for double click.
6402 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6404 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6407 2001-07-26 Baruch Even <baruch@lyx.org>
6409 * buffer.C (readInset): Changed to call up InsetGraphics when reading
6410 an InsetFig figure, backwards compatible reading of old figure code.
6412 2001-07-27 Juergen Vigna <jug@sad.it>
6414 * text2.C: font.realize function adaption.
6416 * text.C (draw): add a warnings lyxerr text if needed.
6418 * layout.C: font.realize function adaption.
6420 * language.C: add inherit_language and implement it's handlings
6422 * bufferview_funcs.C (StyleReset): remove language parameter from
6423 font creation (should be language_inherit now).
6425 * bufferparams.C (writeFile): handle ignore_language.
6427 * paragraph.C (getFontSettings): the language has to be resolved
6428 otherwise we have problems in LyXFont!
6430 * lyxfont.C (lyxWriteChanges): added document_language parameter
6431 (update): removed unneeded language parameter
6433 * paragraph.C (validate): fixed wrong output of color-package when
6434 using interface colors for certain fonts in certain environments,
6435 which should not seen as that on the final output.
6437 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
6439 * BufferView_pimpl.C:
6444 * LyXAction.C: add thesaurus support
6447 * lyxfind.C: add "once" parameter, for thesaurus, to not
6448 move to the next match
6450 2001-07-26 Juergen Vigna <jug@sad.it>
6452 * lyxfont.C (realize): honor ignore_language too!
6455 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
6457 * text.C (draw): one place more for ignore_language to not draw
6460 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
6462 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
6464 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6466 * buffer.C (parseSingleLyXformat2Token): a more general fix for
6467 the minipage conversion problem.
6469 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6471 * buffer.C (parseSingleLyXformat2Token): check minipage if we
6474 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6476 * BufferView.h: don't forward declare WorkArea
6478 * BufferView.C: don't include WorkArea.h
6480 2001-07-25 André Pönitz <poenitz@gmx.net>
6484 * lyxfunc.C: new LFUN 'math-space'
6486 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
6488 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6490 * text2.C (toggleInset): call open/close
6492 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6494 * lyxfunc.C (dispatch): add debug for the disabled case
6496 * font.C (buttonText): make similar to rectText
6498 * buffer.C (readInset): comment out parsing of insetlist and
6501 * PainterBase.C (rectText): small correction
6503 * BufferView_pimpl.C: comment out insettheorem and insetlist
6504 * LyXAction.C: ditto
6505 * commandtags.h: ditto
6507 2001-07-24 Juergen Vigna <jug@sad.it>
6509 * text.C (draw): honor the ignore_language.
6511 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
6513 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6515 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
6518 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6520 * lyxtext.h: remove unused (and unimplemented) methods
6522 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6524 * text.C (getVisibleRow): honor background color
6527 * Painter.h: remove default color argument for fillRectangle
6529 * text.C (backgroundColor): new method
6531 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6533 * text.C (getVisibleRow): adjust
6535 * font.[Ch] (rectText): new method, metrics
6536 (buttonText): new method, metrics
6538 * PainterBase.[hC]: make rectText and buttonText always draw and take
6541 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6543 * ToolbarDefaults.C (read):
6544 * MenuBackend.C (read): allow escaping in all strings
6546 * BufferView_pimpl.C (insertAndEditInset): new method.
6547 (Dispatch): use insertAndEditInset whenever appropriate.
6549 * BufferView_pimpl.C (insertNote): removed
6551 * BufferView_pimpl.C (smartQuote): new method, moved from
6552 BufferView; if an insetquote cannot be inserted, insert a '"'
6555 * BufferView2.C: remove insertCorrectQuote();
6557 * lyxfunc.C (getStatus): Add support for all remaingin
6560 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
6562 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
6563 command (necessary to pass " as parameter of self-insert.
6565 * text.C (selectWordWhenUnderCursor):
6566 (selectWord): add word_location parameter
6567 (selectWordWhenUnderCursor): same + remove special code for word
6569 (selectNextWord): use kind() to guess type of insetspecialchar,
6572 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
6573 (insertErtContents): create ert insets as collapsed.
6574 (readInset): better compatibility code for Info inset.
6576 2001-07-20 Juergen Vigna <jug@sad.it>
6578 * lyxfunc.C (dispatch): use always LyXFind now!
6580 * text2.C (init): add a reinit flag so that the LyXText can be
6581 reinited instead of deleted and reallocated (used in InsetText).
6583 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
6589 2001-07-18 Juergen Vigna <jug@sad.it>
6591 * text.C (selectNextWord): handle insets inside inset by calling
6592 always the bv->text functions so that we can go up the_locking_inset!
6594 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
6595 in strange locations when inside an inset!
6597 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
6598 handling to include insets.
6600 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
6602 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6604 * LyXAction.C (init):
6606 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
6607 LIGATURE_BREAK, since the name is so stupid.
6609 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6611 * buffer.C (readInset): enable reading of new InsetNotes as well as old
6614 * FontLoader.C: remove FORMS_H_LOCATION cruft.
6616 * sp_form.[Ch]: remove.
6618 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
6620 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
6623 * src/buffer.C (readInset): ditto.
6625 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6627 * BufferView_pimpl.C (specialChar): new method. Obsoletes
6628 menuSeparator(), endOfSentenceDot(), ldots() and
6629 hyphenationPoint(), which are therefore removed.
6630 (Dispatch): handle LFUN_HYPHENATION_BREAK.
6632 * LyXAction.C (init):
6633 * commandtags.h: add LFUN_HYPHENATION_BREAK.
6635 * paragraph.C (getWord): removed.
6637 * BufferView_pimpl.C (Dispatch): use last word or selection for
6638 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
6640 * lyx_main.C (queryUserLyXDir): do not ask before creating
6641 user_dir, except if it has been named explicitely.
6643 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6645 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
6646 a document of zero size.
6648 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6650 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
6651 approriately in the c-tor and in require().
6652 (getPackages): output the appropriate LaTeX for natbib support.
6654 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
6655 variables "use_natbib" and "use_numerical_citations" when reading the
6657 (readInset): read the various natbib cite commands.
6658 (validate): white-space change.
6660 * bufferparams.[Ch]: new variables "bool use_natbib" and
6661 "bool use_numerical_citations".
6662 (writeFile): output them in the LyX file.
6664 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6666 * lyxfunc.C (getStatus): add support for all the inset insertion
6669 * text2.C (insertInset):
6670 * paragraph.C (insetAllowed):
6671 * BufferView_pimpl.C (insertInset): update to take in account the
6672 renaming of insertInsetAllowed
6674 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
6676 * text2.C (getInset): new method. returns inset at cursor position.
6678 * BufferView_pimpl.C (Dispatch): changes because of this.
6680 * LyXAction.C (init): rename open-stuff to inset-toggle.
6682 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
6684 * text2.C (toggleInset): renamed from openStuff; use
6687 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6689 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
6691 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
6693 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
6695 * buffer.C (readLyXformat2): Add filename to the error dialog
6697 2001-07-18 Juergen Vigna <jug@sad.it>
6699 * tabular.C (GetCellNumber): put an assert here instead of the check!
6701 2001-07-17 Juergen Vigna <jug@sad.it>
6703 * BufferView_pimpl.C (toggleSelection): adapted too.
6705 * text.C (selectNextWord): adapted for use with insets.
6706 (selectSelectedWord): ditto
6708 2001-07-17 Juergen Vigna <jug@sad.it>
6710 * sp_spell.C (PSpell): fix initialitation order.
6712 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6714 * paragraph.C: spacing
6716 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
6718 * sp_spell.C: repair language selection for pspell
6720 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6722 * lyxfunc.h: change more methods to begin with lower char.
6724 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
6726 * buffer.C (parseSingleLyXformat2Token): Generate error insets
6727 for unknown layouts.
6729 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
6731 * buffer.C (readLyXformat2): Generate an error dialog if there are
6734 2001-07-16 Juergen Vigna <jug@sad.it>
6736 * sp_spell.C: always compile ISpell part.
6738 * lyxrc.C: added use_pspell entry and it's handling.
6740 2001-07-13 Juergen Vigna <jug@sad.it>
6742 * sp_spell.C: removed double includes.
6744 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6746 Consistent use of Lsstream.h:
6747 * Lsstream.h: added using std::stringstream for consistencies sake.
6749 * buffer.C: removed using std::stringstream
6751 * lyxfont.C (stateText):
6752 * paragraph.C (asString):
6753 * text.C (selectNextWord, selectSelectedWord):
6754 * text2.C (setCounter):
6755 * vspace.C (asString, asLatexString):
6756 std::ostringstream -> ostringstream.
6758 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6760 * LyXAction.C: add LFUN_HELP_ABOUTLYX
6761 * commandtags.h: add LFUN_HELP_ABOUTLYX
6762 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
6764 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6766 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
6768 * lyx_gui_misc.C: remove spellchecker
6769 * lyxfunc.C: showSpellchecker
6771 * sp_ispell.h: added
6772 * sp_pspell.h: added
6774 * sp_form.[Ch]: removed
6775 * spellchecker.[Ch]: removed
6777 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
6779 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
6781 (simpleTeXSpecialChars): Simply print the input character without
6782 any special translation if pass_thru is set.
6784 * layout.h: Added bool pass_thru to layout class for being able to
6785 implement pass through of a paragraph for Literate Programming.
6787 * layout.C: add LT_PASS_THRU to LayoutTags enum.
6788 * layout.C (LyXLayout): set pass_thru to flase in constructor.
6789 * layout.C (Read): add "passthru" to list of layout tags and add
6790 code to set the pass_thru boolean when it is read.
6792 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6794 * trans_decl.h: remove allowed from KmodInfo
6796 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
6800 * paragraph_pimpl.C (erase): use boost::prior
6802 * Painter.C (text): use data() instead of c_str() when length is
6804 * WorkArea.C (putClipboard): ditto
6805 * font.h (width): ditto
6807 * BufferView2.C: use it-> instead of (*it). for iterators
6809 * paragraph_pimpl.C: ditto
6810 * paragraph.C: ditto
6811 * minibuffer.C: ditto
6816 * converter.C: ditto
6818 * Variables.C: ditto
6819 * TextCache.C: ditto
6820 * MenuBackend.C: ditto
6821 * LyXAction.C: ditto
6823 * FloatList.C: ditto
6825 * ColorHandler.C (LyXColorHandler): ditto
6827 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6829 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
6831 * text2.C (openStuff): reintroduce this method (which had been
6832 nuked in NEW_INSETS frenzy).
6834 * lyxfunc.C (Dispatch): when an action has not been handled, use
6835 its name in the error message, not its number.
6837 * paragraph.C (inInset): change method name to begin with lowercase.
6840 * text2.C: updates because of this.
6842 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6844 * ToolbarDefaults.C (add): add spaces in error message
6846 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6848 * buffer.C (readLyXformat2): initialize the ert comp. variables.
6849 (readLyXformat2): rename return_par to first_par, use lyxlex's
6850 pushToken and remove the manual push handling.
6851 (parseSingleLyXformat2Token): add another ert comp. variable:
6852 in_tabular, rename return_par to first_par. handle newlines better
6854 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6856 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
6858 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6860 * text2.C (getParFromID): removed
6862 * buffer.C (getParFromID): new method moved form lyxtext.
6863 * BufferView2.C (insertErrors): adjust
6864 (setCursorFromRow): adjust
6865 * BufferView_pimpl.C (restorePosition): adjust
6866 * lyxfunc.C (Dispatch): adjust
6867 * undo_funcs.C (textUndo): adjust
6869 (textHandleUndo): adjust
6870 (textHandleUndo): adjust
6872 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6874 * buffer.C: up' the LYX_FORMAT
6876 * lyxfont.h: turn NO_LATEX on as default
6878 * buffer.C (insertErtContents): new methods of tex style compability.
6879 (parseSingleLyXformat2Token): use it several places.
6880 * tabular.C (OldFormatRead): and here
6882 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6884 * text2.C: remove some commented code.
6887 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
6888 * trans.C: changes because of the above.
6890 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
6892 * text2.C (setCounter): Fix counters bug with bibliography layout.
6894 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6896 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
6897 own member functions
6898 (simpleTeXSpecialChars): ditto
6900 2001-07-06 Juergen Vigna <jug@sad.it>
6902 * a lot of files: changed the access to LyXText::status and the
6903 call of undo-functions.
6905 * undo.[Ch]: added a inset_id to the undo informations.
6907 * undo_funcs.[Ch]: added and moved here all undo functions.
6909 * lyxtext.h: give the status enum a weight, made status_ a private
6910 variable and made accessor functions for it, removed the whole bunch
6911 of undo-functions as they are now in their own file, make some
6912 functions publically available. Added function ownerParagraph with
6915 * paragraph.[Ch]: added "bool same_ids" to the constructor,
6916 made InInset() a const function, added getParFromID() function.
6918 * buffer.[Ch]: added const version for inset_iterator functions,
6919 added getInsetFromID() function.
6921 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
6922 changed undo functions for new version.
6924 2001-07-05 Juergen Vigna <jug@sad.it>
6926 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
6927 unknow mechanism does not call the proper constructor but only this
6928 one also if I request the other!?
6930 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6932 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
6934 * text2.C (LyXText): use initialization lists.
6936 * lyxtext.h (Selection): initialize set_ and mark_
6937 (init): remove method
6939 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
6941 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
6943 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6945 * screen.[Ch]: change method names to begin with lowercase
6947 * BufferView_pimpl.C (updateScrollbar): simplify further and
6948 hopefully make it a bit faster.
6950 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6952 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
6953 calling directly xforms functions.
6955 * Painter.C (Painter):
6956 * lyx_cb.C (MenuWrite):
6957 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
6960 * lyx_gui.C: remove bogus guiruntime extern declaration.
6962 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6964 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
6966 (redoDrawingOfParagraph): ditto
6967 (redoParagraphs): ditto
6968 (cutSelection): don't create a object for CutAndPaste use the
6969 static method directly
6970 (pasteSelection): ditto
6972 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
6975 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6977 * modifications to some other files because of this.
6979 * Makefile.am (lyx_SOURCES): add XFormsView
6981 * XFormsView.[Ch]: new files
6983 * LyXView.[Ch]: make LyXView a base class for the gui handling for
6984 the main window. Move the gui dependent stuff to XFormsView
6986 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6988 * tabular.C (GetCellInset): update cur_cell also in the row/col
6989 version of this function.
6991 * lyxfunc.C: no need to include figure_form.h here.
6997 * lyxvc.C: no need to include forms.h here.
6999 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7001 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7003 * lyxfunc.C (Dispatch):
7005 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7006 constructor argument.
7008 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7010 * paragraph.C (Paragraph): dont't clear, and just set layout.
7011 (makeSameLayout): use params's copy contructor.
7013 * ParagraphParameters.[Ch] (makeSame): delete method
7015 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7017 * Variables.[Ch]: fix indentation, rename set to isSet
7019 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7021 * lyxfunc.C (Dispatch): fix typo
7023 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7025 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7028 * bufferlist.C: include assert.h for emergencyWrite().
7030 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7032 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7033 give up at last (bug #425202) !
7035 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7041 * spellchecker.C: strip spellchecker options and bring up
7042 preferences tab instead
7044 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7046 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7047 the istringstream constructor
7049 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7051 * paragraph.C (getLayout): fix return value
7053 * paragraph.h: do not declare getLayout as inline.
7055 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7057 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7059 * lyxcursor.h (operator<): new func
7060 (operator>): new func
7061 (operator>=): new func
7062 (operator<=): new func
7064 * text.C (changeCase): use selection.start and selection.end
7065 (changeRegionCase): require from to be <= to. Require par to be a
7068 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7070 2001-06-27 Juergen Vigna <jug@sad.it>
7072 * text.C (cursorLeftOneWord): changed to return the cursor and added
7073 overlay with BufferView * parameter which calls this one.
7075 (selectWord): use new getWord function.
7076 (changeCase): renamed from changeWordCase as and extended to work
7079 * lyxtext.h: added enum word_location
7081 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7082 changeCase as this operates now also on selections.
7084 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7086 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7088 * many files: send debug output to Debug::INFO instead of
7091 * converter.C (View):
7093 (Move): send debug output to Debug::FILES instead of console.
7095 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7097 * lyxfunc.C (getStatus): use func_status
7099 * func_status.h: new header, describing the results of
7102 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7105 2001-06-25 The LyX Project <jug@sad.it>
7107 * buffer.C (sgmlOpenTag):
7109 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7111 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7113 * text2.C: remove some dead code
7115 * tabular.C (GetCellInset): store the last cell checked (gotten)
7117 * tabular.h: add the helper for the speedup
7119 * lyxtext.h: remove some dead code
7121 2001-06-26 The LyX Project <Asger>
7123 * paragraph.C: Change export to LaTeX of alignment to
7124 \begin{center} and family for better roundtrip work with reLyX.
7126 * Tune the math drawing a bit.
7128 2001-06-25 The LyX Project <Asger>
7130 * LColor.C (LColor): New color for math background. New color
7133 2001-06-25 The LyX Project <jug@sad.it>
7135 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7138 * bufferlist.C (newFile): do not restrict to files ending with
7141 * BufferView_pimpl.C (MenuInsertLyXFile):
7143 2001-06-24 The LyX Project <jug@sad.it>
7145 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7148 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7150 * lyxtext.h: rename most methods to begin with a small char.
7151 Lots of changes because of this.
7153 * paragraph.C (Paragraph): do not call fitToSize
7154 (erase): call Pimpl::erase
7155 (insertChar): call Pimpl::insertChar
7156 (insertInset): call Pipl::insertInset
7157 (breakParagraph): do not call fitToSize
7158 (breakParagraphConservative): do not call fitToSize
7159 (fitToSize): remove method
7161 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7163 2001-06-24 The LyX Project <Asger>
7165 * Fix Qt compilation^2
7167 2001-06-24 The LyX Project <jug@sad.it>
7169 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7170 depthHook(getDepth()-1).
7173 * ParagraphParameters.h:
7174 * ParameterStruct.h: change type of depth to unsigned int ==
7175 depth_type. Many adaptations to other files before of that.
7177 2001-06-24 The LyX Project <Asger>
7179 * Fix Qt compilation.
7181 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7183 * paragraph.h: renamed several methods to begin with small letter.
7184 several changes to many parts of the code because of this.
7186 2001-06-23 The LyX Project <jug@sad.it>
7188 * text2.C (InsertStringAsLines): renamed from InsertStringA;
7189 rewritten to discard all double spaces when KeepEmpty is off
7190 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7191 to only handle newlines but not fiddle with spaces and friends.
7193 * lyxfunc.C (MenuNew): when doing 'new from template', use
7194 template_path as default directory
7196 2001-06-23 The LyX Project <Asger>
7198 * Clean-up of header file includes all over
7199 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7201 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7203 * paragraph.h: renamed from lyxparagraph.h
7205 2001-06-23 Asger <lyx@violet.home.sad.it>
7207 * Buffer.h: Removed Buffer::resize
7208 * BufferList.h: Removed BufferList::resize
7209 * LyXView.h: Added LyXView::resize. This way, we will only reflow
7210 the document lazily when we change the width, or the font settings.
7212 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7214 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7216 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7218 * buffer.h: remove out of date comment
7220 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7223 * screen.C: fix "theoretical" GC leak
7225 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7227 * LaTeX.C (scanAuxFile):
7228 (deplog): remove trailing \r when reading stream (useful under
7231 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
7233 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7234 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7235 and BufferView::theLockingInset(Inset*), so should use them and not
7236 access bv_->text->the_locking_inset directly.
7238 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7240 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7243 * tex-defs.h: remove old unused file
7245 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
7247 * BufferView_pimpl.C: fix typo, remove minibuffer message
7248 when buffer has loaded
7250 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7252 * lyxfunc.C (Dispatch): use stringstream
7253 (MenuNew): use stringstream
7254 (Open): use stringstream
7256 * importer.C (Import): use stringstream
7258 * bufferview_funcs.C (CurrentState): use stringstream
7260 * LaTeX.C (run): use stringstream
7262 * BufferView_pimpl.C (savePosition): use stringstream
7263 (restorePosition): use stringstream
7264 (MenuInsertLyXFile): use stringstream
7266 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7279 * vspace.C: removed // -*- C++ -*- as first line.
7282 * version.h: added // -*- C++ -*- as first line.
7284 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7286 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7288 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7291 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7293 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7296 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7298 * gettext.C: include LString.h even when --disable-nls is on.
7300 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7302 * converter.h (Get): changed argument type from int to
7303 FormatList::size_type to avoid unnecessary conversion.
7305 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7308 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7310 * gettext.h: include LString.h even when --disable-nls is on.
7312 2001-06-07 Juergen Vigna <jug@sad.it>
7314 * text.C (BreakAgain): subst spaces with tabs.
7316 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7317 (resizeInsetsLyXText): set force on resizeLyXText.
7319 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7321 * gettext.h (gettext_init):
7322 (locale_init): use a real definition instead of a macro
7324 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7326 * Bufferview_pimpl.C:
7328 * LColor.C: further lcolor tidies
7330 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7332 * BufferView_pimpl.C (updateScrollbar): simplify.
7334 * BufferView2.C: don't include insets/insetinfo.h, change
7335 prototype for insertInset and call the Pimpl version. let
7336 updateInset call Pimpl version.
7338 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7339 gotoInset to BufferView::Pimpl
7341 2001-06-01 Juergen Vigna <jug@sad.it>
7343 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7344 inside a LockingInset (is the update needed at all?).
7346 2001-05-31 Juergen Vigna <jug@sad.it>
7348 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7349 here not the old one otherwise how should we compare it afterwards
7352 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7357 * FontInfo.C: bring C functions into global namespace when
7360 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7362 * LString.h: make sure config.h has been loaded before LString.h.
7364 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7365 (one for each char read by EatLine!).
7367 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7370 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7372 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7373 to the same as the par we break from
7375 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7377 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7379 * MenuBackend.C (expand): also create menu entries for wide
7380 versions of the floats.
7382 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7384 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7386 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7387 frontends/Makefile.am
7393 * tabular.C (getTokenValue): add std::
7395 * tabular-old.C (getTokenValue): add std::
7396 (getTokenValue): ditto
7397 (getTokenValue): ditto
7399 * screen.C (ToggleSelection): adjust
7401 * lyxtext.h: put selection cursors inside a Selection struct.
7403 * lyxfunc.C (moveCursorUpdate): adjust
7405 * lyxfont.C (latexWriteStartChanges): add std::
7409 * font.h: delete with(char const *, LyXFont const &)
7411 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
7413 * FontInfo.C (getFontname): add std::
7415 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7416 (workAreaButtonPress): adjust
7417 (tripleClick): adjust
7419 (moveCursorUpdate): adjust
7422 * BufferView2.C (gotoInset): adjust
7424 2001-05-30 Juergen Vigna <jug@sad.it>
7426 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
7427 to check pspell I add this as default as I now have new pspell
7428 libraries and they seem to use this.
7430 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7432 * text2.C (CutSelection): make the cursor valid before the call to
7435 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7437 * kbsequence.C (parse): de-uglify a bit the parsing code, which
7438 relied on 0 terminated strings and other horrors. Bug found due to
7439 the new assert in lyxstring!
7441 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
7444 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7446 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
7449 * lyxfunc.C (processKeySym): change method of getting to the
7452 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
7453 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
7454 * BufferView_pimpl.[Ch]: here as private methods.
7456 2001-05-28 Juergen Vigna <jug@sad.it>
7458 * text.C (SetHeightOfRow): added the update() call again as it is
7459 needed to initialize inset dimensions!
7461 2001-05-16 Juergen Vigna <jug@sad.it>
7463 * text2.C (SetCharFont): Add new function with BufferView * and
7464 bool toggleall parameters for setting insets internal fonts.
7465 (SetFont): Freeze the undo as we may change fonts in Insets and
7466 all this change should be inside only one Undo!
7468 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
7469 setting font's in insets as for them we have the SetFont function!
7471 2001-05-15 Juergen Vigna <jug@sad.it>
7473 * text2.C (ClearSelection): to be sure we REALLY don't have any
7476 * tabular.C (TeXCellPreamble): fixed the left border problem for
7479 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7481 * LaTeX.C (deplog): Make sure that the main .tex file is in the
7484 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7486 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
7487 LFUN_BREAKPARAGRAPH.
7489 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7490 help test to "internal only", similar for LFUN_INSERT_URL
7492 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
7493 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
7494 auto_region_delete and deadkeys.
7496 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
7499 * LColor.C: remove some dead entries, tidy a little
7501 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7503 * lyxfunc.C (processKeySym): comment the Escape handling, remove
7505 (Dispatch): implement LFUN_ESCAPE
7507 * commandtags.h: add LFUN_ESCAPE
7509 * LyXAction.C (init): add entry for LFUN_ESCAPE
7511 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
7512 Remove commented code.
7513 (insertNote): moved here
7514 (open_new_inset): moved here
7516 * BufferView[2].[Ch]: move insertNote and open_new_inset to
7519 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7521 * kbmap.C (findbinding): clean it up and make it work correctly.
7523 * lyx_main.C (init): do not pass argc and argv as parameters
7525 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7527 * buffer.C: fix path for OS/2 & Win32
7531 * lyx_main.C: Added os:: class.
7533 * os2_defines.h: update
7535 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7537 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
7538 better by trying again with reduced state.
7540 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7542 * lyxrc.C (read): print error about invalid key sequence only when
7543 debugging (because not all latinX keysyms are known to some X
7546 * kbsequence.C (getiso): add a few std:: qualifiers
7547 (getiso): comment out extra return statement.
7549 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
7551 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
7553 (Dispatch): enhance the accent inset a bit. (not perfect)
7555 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7557 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
7559 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7561 * bufferlist.C (emergencyWrite): fix assert() call
7563 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
7565 * text.C (InsertChar): Added trivial patch to only send the "you
7566 can not do multiple spaces this way" message once during a
7569 2001-05-08 Baruch Even <baruch@lyx.org>
7571 * Makefile.am: Changed order of libraries to get LyX to link properly
7572 with the gnome frontend.
7574 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7576 * LaTeXFeatures.h: add a std:: qualifier
7578 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7580 * paragraph.C (String): use stringstream
7582 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7584 * paragraph.C (writeFile): remove footflag arg
7586 * buffer.C (makeLaTeXFile): use stringstream
7587 (latexParagraphs): remove footnot gurba
7589 * LaTeXFeatures.C (getPackages): use stringstream
7590 (getMacros): likewise
7591 (getTClassPreamble): likewise
7592 (getFloatDefinitions): new method
7594 * paragraph.C (writeFile): reindent
7597 * WorkArea.h: revert the xpos + etc changes.
7599 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
7601 * lyxparagraph.[Ch]: add copy constructor, remove Clone
7603 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
7604 (pasteSelection): likewise
7605 * text2.C (CreateUndo): likewise
7607 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7609 * minibuffer.C (peek_event): temporarily reduce the functionality
7610 of the minibuffer (to allow args on lfuns)
7612 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
7613 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
7615 * buffer.C (readInset): add compability reading of old float
7616 lists, add reading of new style float list.
7617 (readInset): avoid reevaluation of inscmd.getCmdName()
7618 (getLists): reindent
7620 * MenuBackend.C (MenuItem): implement parsing of
7621 md_floatlistinsert and md_floatinsert.
7622 (expand::LastFiles): move initalizaton of iterators out of loop,
7624 (expand::Documents): introduce typdedef vector<string> Strings,
7626 (expand::ExportFormats): introduce typedef vector<Format const *>
7627 Formats, and use it.
7628 (expand): implement FloatListInsert and FloatInsert.
7630 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
7631 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
7632 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
7634 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
7636 (Dispatch::LFUN_FLOAT_LIST): implement
7638 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7640 * LaTeX.C (run): Fix problem with --export code.
7642 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7644 * BufferView.[Ch] (workarea): removed.
7645 (getClipboard) new method; wrapper for workarea()->getClipboard()
7647 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
7650 * WorkArea.h (width, height, xpos, ypos): These methods all
7651 returned the dimensions of the work_area sub-area of WorkArea,
7652 resulting in a position error if the WorkArea were resized. Now
7653 return the dimensions of the entire WorkArea.
7655 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
7657 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7659 * LaTeX.C (deplog): correct the syntax of regex reg1
7661 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7663 * undo.C: remove !NEW_INSETS cruft
7665 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7667 * text2.C: remove !NEW_INSETS cruft
7669 * text.C: remove !NEW_INSETS cruft
7671 * tabular.C: remove !NEW_INSETS cruft
7673 * spellchecker.C: remove !NEW_INSETS cruft
7675 * lyxtext.h: remove !NEW_INSETS cruft
7677 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
7679 * lyxfunc.C: remove !NEW_INSETS cruft
7681 * lyxfind.C: remove !NEW_INSETS cruft
7683 * lyx_cb.C: remove !NEW_INSETS cruft
7685 * figureForm.C: remove !NEW_INSETS cruft
7687 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
7689 * buffer.[Ch]: remove !NEW_INSETS cruft
7691 * ToolbarDefaults.C: remove !NEW_INSETS cruft
7693 * CutAndPaste.C: remove !NEW_INSETS cruft
7695 * BufferView_pimpl.C: remove !NEW_INSETS cruft
7697 * BufferView2.C: remove !NEW_INSETS cruft
7699 * BufferView.h: remove !NEW_INSETS cruft
7701 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7703 * Lsstream.h: include LString.h before the sstream headers to
7704 fix problem with gcc 2.95.3 and lyxstring
7706 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7708 * lyx_main.C: add using directives when needed for C functions
7709 declared in std:: namespace.
7711 2001-04-27 Juergen Vigna <jug@sad.it>
7713 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
7714 (SetHeightOfRow): comment out the update call should not be needed!
7716 2001-04-13 Juergen Vigna <jug@sad.it>
7718 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
7719 (LyXTabular): tried to minimize operator= operations (and realized
7720 hopfully Lars wish).
7722 2001-04-27 Juergen Vigna <jug@sad.it>
7724 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
7726 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7728 * lyxfunc.C (Dispatch): hack to make listof algorithm work
7730 * buffer.C (readInset): hack to make listof algorithm work
7732 * BufferView_pimpl.C: hack to make listof algorithm work
7734 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7736 * LyXAction.C: removed all !NEW_INSETS cruft
7737 (init): moved lfun_item in method
7739 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
7741 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7743 * BufferView2.C (theLockingInset): white space.
7745 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7747 * minibuffer.C: include <iostream>
7749 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
7751 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
7753 * commandtags.h: add LFUN_TRANSPOSE_CHARS
7755 * text.[Ch] (TransposeChars): new method
7757 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7759 * call message directly through LyXView instead of through LyXFunc
7760 * BufferView2.C: adjust
7761 * BufferView_pimpl.C: adjust
7762 * FontLoader.C: adjust
7764 * bufferview_funcs.C: adjust
7765 * converter.C: adjust
7766 * figureForm.C: adjust
7767 * importer.C: adjust
7769 * lyx_gui_misc.C: adjust
7773 + more files in subdirs
7775 * lyxparagraph.h (size): move up int file
7778 * adjust all uses of Assert to lyx::Assert.
7780 * BufferView2.C (ChangeCitationsIfUnique): adjust for
7781 lyxfunctional in namespace lyx
7782 * layout.C (hasLayout): ditto
7785 (delete_layout): ditto
7786 (NumberOfClass): ditto
7787 * converter.C (GetFormat): ditto
7792 * bufferlist.C (getFileNames): ditto
7793 (emergencyWriteAll): ditto
7796 * MenuBackend.C (hasSubmenu): ditto
7799 * BufferView_pimpl.C (getInsetByCode): ditto
7801 2001-04-18 Juergen Vigna <jug@sad.it>
7803 * vspace.C (asLatexString): fixed the 100% problem.
7805 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7807 * lyxfunc.C (Dispatch):
7809 * minibuffer.h: add a few std:: qualifiers
7811 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7813 * minibuffer.[Ch]: reimplement so that commands is initiated and
7814 run from lyxfunc, simplified som handling, and made the completion
7815 and history code for complete. wip.
7817 * lyxfunc.C (processKeySym): call message
7818 (miniDispatch): new temporary method
7819 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
7820 (LFUN_MESSAGE): implement
7821 (LFUN_MESSAGE_PUSH): implement
7822 (LFUN_MESSAGE_POP): implement
7823 (initMiniBuffer): the initial/defualt minibuffer message.
7825 * lyxfont.[Ch]: inline some more getters
7827 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
7829 * lyx_gui_misc.[Ch] (WriteStatus): remove method
7831 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
7832 (AutoSave): use LFUN_MESSAGE
7833 (Reconfigure): ditto
7835 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
7837 * figureForm.C: use LFUN_MESSAGE
7839 * converter.C (runLaTeX): use LFUN_MESSAGE
7841 * bufferview_funcs.C: use LFUN_MESSAGE
7843 (changeDepth): ditto
7845 * bufferparams.h: use boost::
7847 * bufferlist.h: inherit privately from noncopyable
7849 * bufferlist.C (loadLyXFile): remove some commented code.
7851 * buffer.C (runChktex): use LFUN_MESSAGE
7853 * ShareContainer.h: inherit privately from noncopyable
7855 * ParagraphParameters.[hC] (depth): inline it.
7857 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
7859 (message): new method
7860 (messagePush): ditto
7862 (show): init minibuffer
7863 (showState): direct call
7865 * LaTeX.[Ch]: inherit privately from noncopyable
7866 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
7867 instead of WriteStatus.
7869 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
7871 * BufferView_pimpl.C (buffer): don't init minibuffer
7872 (workAreaButtonPress): use LFUN_MESSAGE
7873 (workAreaButtonRelease): ditto
7874 (savePosition): ditto
7875 (restorePosition): ditto
7876 (MenuInsertLyXFile): ditto
7877 (workAreaExpose): don't init minibuffer
7878 (update): remove commented code, simplify
7880 * BufferView2.C (openStuff): use LFUN_MESSAGE
7881 (toggleFloat): ditto
7884 (copyEnvironment): ditto
7885 (pasteEnvironment): ditto
7890 (updateInset): remove some commented code
7892 * lastfiles.h: inherit privately from noncopyable
7897 * lyxlex_pimpl.h: ditto
7899 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
7900 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
7901 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7903 * LyXAction.h: inherit privately from noncopyable, add methods
7904 func_begin, func_end, returning iterators to the func map.
7906 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
7907 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7908 (func_begin): new method
7909 (func_end): new method
7911 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
7913 (copySelection): ditto
7914 (pasteSelection): ditto
7916 * BufferView.C: whitespace change
7917 * BufferView.h: inherit privately from noncopyable
7919 2001-04-16 Allan Rae <rae@lyx.org>
7921 * tabular-old.C (l_getline):
7922 * spellchecker.C (sc_check_word):
7923 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
7924 an unrecognised preprocessor directive. So ensure they're wrapped.
7926 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
7928 * src/exporter.C (Export): Give an error message when path to file
7931 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
7933 * LaTeX.C (deplog): Always check that foundfile exists.
7935 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7938 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
7940 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7942 * tabular.[Ch] (getLabelList): implement new method
7944 * minibuffer.h: comment ouf setTiimer
7946 * minibuffer.C (ExecutingCB): constify res
7947 (peek_event): constify s
7948 (Set): constify ntext
7949 (Init): constify nicename
7951 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
7953 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
7954 (savePosition): use two params to Minibuffer::Set
7955 (restorePosition): ditto
7957 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7959 * lyx_main.C: include language.h
7961 * Makefile.am (lyx_main.o): add language.h
7963 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7969 * CutAndPaste.C: include gettext.h
7971 * lyxfont.h: remove old hack with ON and OFF.
7974 * lyxfont.h: do not include language.h...
7979 * bufferview_funcs.C:
7985 * paragraph.C: ... but do it here instead
7987 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7989 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
7991 * tabular.C: small reformat
7993 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
7996 (BreakParagraph): ditto
7997 (SetOnlyLayout): ditto
8000 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8003 * lastfiles.C: removed most using decl, add std:: where needed
8005 * buffer.C: ws changes
8007 * MenuBackend.C (class compare_format): put into anon namespace
8008 (expand): constify label, names, action, action2
8011 * text.C (SingleWidth): constify font
8012 (IsBoundary): constify rtl2
8013 (GetVisibleRow): constify ww
8015 * LaTeX.C (deplog): constify logfile
8017 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8019 (workAreaExpose): constify widthChange, heightChange
8021 * lyxrow.C (par): moved
8024 * lyxrow.h: as inlines here
8026 * lyxfont.h (shape): moved from lyxfont.C
8027 (emph): moved from lyxfont.C
8029 * lyxfont.C (LyXFont): use initialization list for all
8031 (shape): move to lyxfont.h as inline
8032 (emph): move to lyxfont.h as inline
8035 2001-04-04 Juergen Vigna <jug@sad.it>
8037 * vspace.C: had to include stdio.h for use of sscanf
8039 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8042 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8043 independent of xforms.
8045 2001-04-02 Juergen Vigna <jug@sad.it>
8047 * spellchecker.C: fixed namespace placing!
8049 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8051 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8052 the LyXParagraph * is 0.
8054 2001-03-29 Juergen Vigna <jug@sad.it>
8056 * vspace.C: added support for %, c%, p%, l%.
8057 (stringFromUnit): added helper function.
8058 (asLatexString): changed to give right results for the %-values.
8060 * buffer.C: convert the widthp in a width%.
8062 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8064 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8067 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8068 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8070 * lyx_cb.[Ch]: see above.
8072 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8076 * lyx.[Ch]: replaced by figure_form.[Ch].
8080 * lyxfunc.C: changed headers associated with above changes.
8082 2001-03-27 Juergen Vigna <jug@sad.it>
8084 * BufferView_pimpl.C: set the temporary cursor right!
8086 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8088 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8090 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8092 * LString.h: removed "using std::getline"!
8094 * BufferView_pimpl.C (Dispatch): changes due to changes in
8095 InsetInclude::Params.
8097 * buffer.C (tag_name): removed redundant break statements as they were
8098 producing lots of warnings with my compiler.
8100 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8102 * LString.h: add "using std::getline" when using the real <string>.
8104 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8106 * buffer.C: removed bitset usage.
8107 PAR_TAG moved to an anonymous name space.
8108 (tag_name): new funtion, also in the anonymous namespace.
8109 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8110 (makeDocBookFile): clean code. Completed transition from string arrays
8112 (SimpleDocBookOnePar): code clean.
8114 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8116 * tabular.C: add some comments.
8118 2001-03-22 Juergen Vigna <jug@sad.it>
8120 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8121 compatibility read a bit and fixed bug with minipage in different
8124 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8126 * buffer.C (pop_tag): removed.
8127 (push_tag): removed.
8128 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8129 array replaced with vector. Added support for CDATA sections.
8130 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8132 (makeDocBookFile): XML conformant declaration of CDATA section,
8133 fixed bug related to <emphasis> in the first paragraph char.
8134 (sgmlOpenTag): exclude empty tags.
8135 (sgmlCloseTag): ditto.
8137 * buffer.h (pop_tag): removed.
8138 (push_tag): removed.
8140 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8142 * language.h (Languages): added size_type and size().
8144 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8146 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8147 response on compability reading of minipages. One probliem is that
8148 the old usage of minipages was «flertydig»
8150 * several files here and in subdirs: don't use static at file
8151 scope use anon namespaces instead.
8153 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8155 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8156 LaTeX output. This is necessary for Literate document
8159 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8161 * buffer.C: insert hfill when needed.
8163 * tabular.C (l_getline): use string::erase, small whitespace change.
8165 * BufferView_pimpl.C: try the anon namespace.
8168 2001-03-16 Juergen Vigna <jug@sad.it>
8170 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8171 otherwise it won't open options-dialogs.
8173 * buffer.C: honor pextraWidth(p) on converting minipages.
8175 * tabular.C (l_getline): changed the functions to strip trailing \r.
8177 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
8179 * BufferView_pimpl.C:
8180 * minibuffer..C: added "using SigC::slot" declaration.
8182 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8184 * lyxlex_pimpl.h: noncopyable is in namespace boost.
8190 * paragraph.C: ditto
8192 * lyxtext.h: NO_PEXTRA
8194 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8196 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8197 * ParameterStruct.h: ditto
8198 * ParagraphParameters.h: ditto
8199 * lyxparagraph.h: ditto
8201 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8203 * buffer.C: add compability for minipage alignment.
8204 (latexParagraphs): remove unwanted pextra check.
8206 * several files: remove CXX_WORKING_NAMESPACES
8208 * buffer.C (pop_tag): tie is in namespace boost
8210 * BufferView.h: noncopyable is in namespace boost
8215 * lastfiles.h: ditto
8216 * bufferlist.h: ditto
8217 * ShareContainer.h: ditto
8219 * LyXAction.h: ditto
8222 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8224 * Merging changes from BRANCH_MVC back into HEAD.
8226 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8228 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
8230 * BufferView_pimpl.C: change from intl.C
8234 * Makefile.am: move combox.*
8240 * intl.C: remove dialog (covered by prefs)
8242 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8244 * lyxfunc.C (Dispatch): removed redundant break statement.
8246 2001-03-14 Juergen Vigna <jug@sad.it>
8248 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8250 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8252 * buffer.C: add hack to fix compability reading of minipages.
8254 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
8256 * buffer.C (getLists): Cleanup.
8258 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8260 * lyxfont.C (update): don't honor toggleall on font size.
8262 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
8266 * Makefile.am: moved to frontends/xforms/
8270 * BufferView_pimpl.C: changes for moved mathpanel
8272 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8274 * gettext.h: fix gettext_init() in --disable-nls
8276 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8278 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8280 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8283 * lyx.h: strip external form
8285 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8287 * BufferView_pimpl.C: add comment, destroySplash()
8289 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8291 * BufferView_pimpl.C:
8295 * lyxfunc.C: use re-worked insetinclude
8297 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8299 * buffer.C: add using std::stringstream.
8301 * lyx_cb.C: readd using std::ios.
8303 * buffer.C: add using std::map.
8305 * BufferView_pimpl.C: add using std::vector.
8307 * ShareContainer.h: add std:: to swap.
8309 * buffer.h: add some typedefs
8310 * buffer.C (getLists): use them
8311 (getLists): renamed from getTocList.
8312 add a counter for the different float types and use it in the
8314 (getLists): use the same counter for the NEW_INSETS and the "non"
8317 * lyx_cb.h: remove unused items, includes, using etc.
8319 * ShareContainer.h: remove some commented code, add more comments
8320 and "documentation".
8322 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8324 * buffer.C (getTocList): make the list also when NEW_INSETS is
8327 * buffer.h: remove TocType
8329 * buffer.C (getTocList): change to return a map<string,
8330 vector<TocItem> >, implement for dynamic number of list.
8332 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8333 * text2.C (PasteSelection): adjust
8334 * CutAndPaste.C (pasteSelection): adjust
8336 * FloatList.C (FloatList): update from the new_insets branch.
8337 * Floating.[Ch]: ditto
8338 * LaTeXFeatures.C: ditto
8340 * lyxlex_pimpl.C: ditto
8342 * paragraph.C (Last): remove when NEW_INSETS is defined.
8344 * other file: changes because of the above.
8346 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8348 * lyxparagraph.h: rename next to next_, previous to previous_,
8349 make them private for NEW_INSETS. Rename Next() to next(),
8350 Previous() to previous().
8352 * other files: changes because of the above.
8354 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8357 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8360 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8362 * main.C (main): pass lyx_localedir to gettext_init().
8364 * gettext.h: remove locale_init and gettext_init macros
8366 * gettext.C (locale_init): new function
8367 (gettext_init): new function
8369 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8372 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8374 * Moved credits to frontends:
8375 * credits.[Ch]: removed
8376 * credits_form.[Ch]: removed
8377 * lyx_gui_misc.C: remove credits stuff
8380 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8382 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8384 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8385 unneeded destructor.
8387 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8388 a standalone pointer again.
8390 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8392 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8398 * ToolbarDefaults.C:
8407 * BufferView_pimpl.C: use new file dialog in GUII
8410 * lyx_cb.C: remove LayoutsCB to Toolbar
8412 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8414 * ShareContainer.h (get): add std:: qualifier
8416 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8418 * ShareContainer.h: define a proper ShareContainer::value_type
8419 type (and use typename to please compaq cxx)
8421 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8423 * lyxparagraph.h: move serveral local vars to
8424 ParameterStruct/ParagraphParameters., use ShareContainer in
8425 FontTable., make vars in FontTable private and add getter and
8428 * paragraph.C: changes because of the above.
8430 * lyxfont.h: remove copy constructor and copy assignment. (the
8431 default ones is ok), move number inside FontBits. move inlines to
8434 * lyxfont.C: add number to initializaton of statics, move several
8435 inlines here. constify several local vars. some whitespace
8436 cleanup. Dont hide outerscope variables.
8438 * Spacing.h: add two new constructors to match the set methods.
8440 * ShareContainer.h: new file, will perhaps be moved to support
8442 * ParameterStruct.h: new file
8444 * ParagraphParameters.h: new file
8446 * ParagraphParameters.C: new file
8448 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
8449 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
8451 * BufferView_pimpl.C: ParagraphParameter changes.
8452 * buffer.C: Likewise.
8453 * bufferview_funcs.C: Likewise.
8455 * text2.C: Likewise.
8457 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8459 * lyxfind.C (LyXReplace): do not redefine default argument in
8461 (IsStringInText): ditto
8462 (SearchForward): ditto
8463 (SearchBackward): ditto
8465 2001-03-06 Juergen Vigna <jug@sad.it>
8467 * lyxfind.C (IsStringInText): put parentes around expressions.
8469 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
8471 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
8473 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
8475 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
8477 * stl_string_fwd.h: add comment
8479 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
8482 * tabular.C: remove unused DocBook methods
8488 killed DO_USE_DEFAULT_LANGUAGE
8490 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8492 * lyx_gui.C: do not include language.h.
8494 * bufferview_funcs.C (ToggleAndShow): do not provide optional
8495 arguments in function implementation.
8497 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8499 * BufferView_pimpl.C: add <ctime>
8501 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8503 * BufferView_pimpl.C: add using std::find_if
8505 2001-02-27 José Matos <jamatos@fep.up.pt>
8507 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
8510 2001-02-11 José Matos <jamatos@fep.up.pt>
8512 * buffer.C (makeDocBookFile): command styles now have a parameter as
8515 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
8517 * layout_forms.[Ch]: removed
8518 * lyx_cb.[Ch]: out character
8519 * lyx_gui.C: out character
8520 * lyx_gui_misc.C: out character
8521 * bufferview_funcs.C: : out character,
8522 added toggleall as parameter in ToggleAndShow
8524 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
8526 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
8528 * text2.C (SetCurrentFont): Disable number property at boundary.
8530 2001-02-26 Juergen Vigna <jug@sad.it>
8532 * lyxfunc.C (getStatus): added a string argument override function so
8533 that this is correctly called from LyXFunc::Dispatch if it contains a
8534 do_not_use_argument which is used!
8535 (Dispatch): added check for "custom" export and call appropriate func.
8537 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
8539 * lyxrc.C: Add language_command_local, language_use_babel and
8540 language_global_options.
8542 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
8544 * buffer.C (makeLaTeXFile): Use language_use_babel and
8545 language_global_options.
8547 2001-02-23 Juergen Vigna <jug@sad.it>
8549 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
8550 which works with LyXText and putted it inside BufferView. Here now we
8551 only call for that part the BufferView::Dispatch() function.
8553 * BufferView.C (Dispatch): added.
8555 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
8556 functions which needs to use a LyXText over from LyXFunc.
8557 (MenuInsertLyXFile): added
8558 (getInsetByCode): added
8559 (moveCursorUpdate): added
8560 (static TEXT): added
8562 2001-02-22 Juergen Vigna <jug@sad.it>
8564 * BufferView_pimpl.C (update): call a status update to see if LyXText
8567 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8569 * vc-backend.C (revert): implement for CVS
8570 (getLog): implement for CVS
8572 2001-02-20 Juergen Vigna <jug@sad.it>
8574 * text2.C (ClearSelection): added BufferView param for inset_owner call
8576 * lyxfunc.C (TEXT): added this function and use it instead of
8577 directly owner->view()-text of getLyXText().
8579 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
8581 * src/layout_forms.C: out preamble
8582 * src/layout_forms.h: out preamble
8583 * src/lyx_cb.C: out preamble
8584 * src/lyx_cb.h: out preamble
8585 * src/lyx_gui.C: out preamble
8586 * src/lyx_gui_misc.C: out preamble
8587 * src/lyxfunc.C: connect with guii preamble
8589 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8591 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
8593 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
8595 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
8596 whether to run bibtex.
8598 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
8600 * Makefile.am (lyx_SOURCES): Remove BackStack.h
8602 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8604 * Makefile.am (lyx_SOURCES): removed bibforms.h
8608 * text.C (GetVisibleRow): make several local vars const
8610 * tabular.C: small cleanup.
8612 * lyxserver.C (callback): use compare instead of strncmp
8614 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
8615 inlines to after class or to paragraph.C
8617 * lyxfont.h: remove friend operator!=
8619 * converter.h: move friend bool operator< to non friend and after
8622 * combox.h: small cleanup
8624 * buffer.h: doxygen, remove unused constructor, move inclas inlies
8625 to inlines after class def.
8627 * buffer.C (pop_tag): use string operations instead of strcmp
8629 * bmtable.c: doxygen, small cleanup
8631 * LaTeX.h: remove friend operator==
8633 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8645 * BufferView_pimpl.C:
8646 * BufferView.[Ch]: remove cruft
8648 2001-02-14 Juergen Vigna <jug@sad.it>
8650 * lyxfunc.C: removed #if 0 unused code
8652 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
8654 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
8656 * text2.C (SetSelection): added a BufferView * parameter
8658 2001-02-13 Juergen Vigna <jug@sad.it>
8660 * lyxfunc.C (Dispatch): fixed protected blank problem.
8661 * BufferView2.C (protectedBlank): added LyxText * parameter.
8663 * tabular.C (AppendRow): forgot to set row_info of newly added row.
8664 (AppendColumn): same as above for column_info.
8666 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
8667 (moveCursorUpdate): use a LyXText param for support of InsetText.
8669 * BufferView_pimpl.C (doubleClick): added support for InsetText.
8670 (tripleClick): ditto
8672 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
8674 * BufferView_pimpl.C (update): added LyXText param to honor insets.
8676 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
8678 * text2.C (SetSelection): set correct update status if inset_owner
8681 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
8683 * tabular.C: remove some commented code.
8685 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8687 * BufferView_pimpl.C: call hideSplash()
8689 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
8692 * bibforms.h: remove
8695 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
8696 add LFUN_CHILD_CREATE
8698 * counters.h: fix tiny typo
8703 * lyx.C: move splash to frontends/xforms/
8705 * lyx_gui_misc.C: move Include and Bibform to frontends
8707 * lyxvc.h: clarify comment
8709 * vspace.C: tiny housekeeping
8711 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8713 * text.C (PrepareToPrint): RTL Fix.
8715 * paragraph.C (GetUChar): New method.
8716 (String): Use GetUChar.
8718 * buffer.C (asciiParagraph): Use GetUChar.
8720 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8722 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
8724 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
8727 * buffer.C: rename to getLogName(), handle
8728 build log / latex log nicely
8730 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8733 * MenuBackend.h: remove support for reference menuitem type.
8735 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
8737 * BufferView_pimpl.C: housekeeping
8738 * BufferView_pimpl.h:
8743 * minibuffer.h: move Timeout GUI-I
8745 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
8747 * lyxrc.C (read): Update converters data-structures.
8749 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
8751 * LaTeX.h (operator!=): add operator != for Aux_Info
8753 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
8755 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
8757 * LaTeXLog.C: deleted, useful code moved to Buffer
8760 * buffer.C: new function getLatexLogName()
8766 * lyxfunc.C: use frontends for LaTeX and VC logs
8768 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8770 * LaTeX.h: yet another std:: that Allan forgot.
8772 * Variables.C (set): renamed from isset(), because this clashes
8773 with some HP-UX macros (grr).
8775 2001-02-06 Allan Rae <rae@lyx.org>
8777 * LaTeX.h: Another bug fix. Missing std:: this time.
8779 2001-02-04 Allan Rae <rae@lyx.org>
8781 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
8782 floats problem. I've left it commented out because it's not quite
8783 correct. It should also test that the current object is a table or
8784 figure inset. But I haven't gotten around to figuring out how to do
8785 that. I *think* it'll be something like: "table" == inset.type()
8787 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
8790 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
8792 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
8793 all the citation/databases/styles in the auxilary file.
8794 (run): Rerun latex if there was a babel language error.
8796 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
8798 * text.C (Backspace): Preserve the font when changing newline char
8800 (BreakParagraph): If the cursor is before a space, delete the space.
8802 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
8804 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8806 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
8807 new argument (code).
8808 (ChangeCitationsIfUnique): New method.
8810 * paragraph.C (GetPositionOfInset): Handle bibkey.
8812 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8814 * BufferView_pimpl.h: change type of Position::par_pos to
8815 LyXParagraph::size_type.
8817 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
8819 * BufferView_pimpl.C (savePosition, restorePosition): Write
8820 messages to minibuffer.
8822 2001-01-28 José Matos <jamatos@fep.up.pt>
8824 * buffer.C (makeDocBookFile): adds support for document language.
8825 A silly restriction on the name of LatexCommand types where removed.
8826 Added support for CDATA sections, allows to chars unescaped, used
8827 among others in code, to avoid escape < and >.
8829 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8831 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
8832 saved positions instrad of a stack. Furthermore, a position is
8833 stored using paragraph id/paragraph position.
8835 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
8836 Remove LFUN_REF_BACK.
8838 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8840 * converter.C (dvipdfm_options): New method.
8842 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8844 * vspace.C (isValidLength): Fix for empty input string.
8846 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8848 * LyXAction.C (init): change description of LFUN_FIGURE to
8851 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8853 * LaTeX.C: add using directive
8855 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8857 * MenuBackend.C (expand): Fix the sorting of the formats.
8859 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
8861 * lyx_main.C: tiny error message fix
8863 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8865 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
8866 calling fl_initialize(). This fixes the problem with ',' as
8867 decimal separator in text files.
8869 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8871 * trans.C (process): Fix the keymap bug.
8873 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
8875 * LaTeX.C (scanAuxFiles): New method. Provides support for
8876 multiple bibliographies (when using the bibtopic/bibunits pacakges).
8877 (scanLogFile) Scan for "run BibTeX" messages.
8879 * buffer.C (makeLaTeXFile): Do not load the ae package when using
8880 OT1 font encoding. Also, load the aecompl package if the ae
8883 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
8885 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8887 * texrow.C (increasePos): turn two error messages into debug
8890 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
8892 * LaTeX.C (scanAux): Handle the \@input macro.
8893 (runBibTeX): Use scanAux().
8895 * language.C (latex_options_): New field.
8897 * LaTeXFeatures.C (getMacros): Add language macros.
8899 * buffer.C (makeLaTeXFile): Small fix.
8901 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8903 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
8905 * text2.C: add a using directive.
8907 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
8912 * lyxfunc.C: kill LyXBell.
8914 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
8916 * text.C (IsBoundary): Remove the error message
8918 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
8920 * lyxrc.C (setDefaults): Correct initialization value for
8923 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
8925 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
8928 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
8931 * src/LyXAction.C: Added reference-next.
8933 * text.C (InsertChar): Use contains instead of strchr.
8935 * lyx_cb.C (MenuInsertLabel): Enable default value code.
8937 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
8939 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
8940 alignment commands (when needed).
8942 * text.C (InsertChar): Add ':' to number separator chars.