1 2003-03-12 John Levon <levon@movementarian.org>
3 * text.C: fix newline in right address
5 2003-03-12 Angus Leeming <leeming@lyx.org>
7 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8 duplicate those in LyXFunc::dispatch.
13 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
14 Add LFUN_FONTFREE_UPDATE.
16 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
17 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
19 * bufferview_func.[Ch]: several new functions to facilliate
20 transfer of data to and from the character dialog.
22 2003-03-12 John Levon <levon@movementarian.org>
32 * text3.C: remove META_NEWLINE in favour of an inset
35 * rowpainter.C: remove paintNewline (done by inset)
37 2003-03-12 John Levon <levon@movementarian.org>
39 * paragraph_pimpl.C: complain about bad getChar()s
42 2003-03-12 John Levon <levon@movementarian.org>
45 * buffer.C: move paragraph read into a separate function,
46 a little renaming to reflect that.
49 * bufferparams.C: remove the author_ids map, not necessary now
52 * factory.C: moved Buffer::readInset to here
55 * paragraph_funcs.C: readParagraph free function moved from
58 * tabular.C: name change
60 2003-03-12 John Levon <levon@movementarian.org>
63 * ParagraphParameters.C: move par params input to
66 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
67 behave like a normal read from the stream wrt reading
70 2003-03-12 John Levon <levon@movementarian.org>
73 * ParagraphParameters.h:
74 * ParagraphParameters.C: move output code to a
77 2003-03-12 John Levon <levon@movementarian.org>
79 * BufferView.C (insertLyXFile):
82 * tabular.C: use a parlist iterator for creating the
85 2003-03-12 John Levon <levon@movementarian.org>
87 * buffer.C: make current_change static local not
90 2003-03-12 John Levon <levon@movementarian.org>
92 * buffer.C: fix insertStringAsLines for change tracking
94 2003-03-12 John Levon <levon@movementarian.org>
101 * bufferparams.C: move author list into params. Rename some
102 functions. Move the header reading into a separate token
103 loop. Move the header token reading into BufferParams.
105 2003-03-12 John Levon <levon@movementarian.org>
107 * changes.C: put debug inside lyxerr.debugging() checks
109 2003-03-11 André Pönitz <poenitz@gmx.net>
111 * factory.C: make it aware of InsetHFill (not active yet)
113 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
115 * buffer.C (latexParagraphs): move function from here...
116 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
119 2003-03-10 Angus Leeming <leeming@lyx.org>
121 * LyXAction.C (init): fix bug in poplating array with multiple entries
122 with the same LFUN (spotted by JMarc).
124 2003-03-10 John Levon <levon@movementarian.org>
127 * text2.C: move getColumnNearX() near its
130 2003-03-10 John Levon <levon@movementarian.org>
132 * text.C: fix break before a minipage
134 2003-03-10 John Levon <levon@movementarian.org>
136 * text.C: fix the last commit
138 2003-03-09 John Levon <levon@movementarian.org>
142 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
143 bug 365 (don't break before insets unless needed). Don't
144 return a value > last under any circumstances.
146 2003-03-09 Angus Leeming <leeming@lyx.org>
148 * BufferView_pimpl.C (trackChanges, dispatch): call
149 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
151 2003-03-09 Angus Leeming <leeming@lyx.org>
153 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
154 than Dialogs::showAboutlyx().
156 2003-03-09 Angus Leeming <leeming@lyx.org>
158 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
159 than Dialogs::showTabularCreate().
161 2003-03-09 John Levon <levon@movementarian.org>
165 * text2.C: 3rd arg to nextBreakPoint was always the same.
168 2003-03-08 John Levon <levon@movementarian.org>
175 * text2.C: Remove the "main" bit from the "main body"
178 2003-03-08 John Levon <levon@movementarian.org>
180 * text.C (leftMargin): The left margin of an empty
181 manual label paragraph should not include the label width
184 * text.C (prepareToPrint): don't attempt to measure hfills
185 for empty manual label paragraphs - the answer should be 0
187 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
189 * CutAndPaste.C: remove commented code and reindent.
191 2003-03-08 John Levon <levon@movementarian.org>
194 * lyxfunc.C: move reloadBuffer()
197 * BufferView.C: to here
199 * lyxvc.C: add comment
202 * vc-backend.C: call bv->reload() to avoid
203 getStatus() check on MENURELOAD
205 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
207 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
208 to an old format .dep file.
210 2003-03-07 Angus Leeming <leeming@lyx.org>
212 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
213 when the LFUN_MOUSE_RELEASE should have been handled by
214 inset->localDispatch.
216 2003-03-07 Angus Leeming <leeming@lyx.org>
218 * BufferView_pimpl.C (dispatch):
219 * LyXAction.C (init):
220 * ToolbarDefaults.C (init):
222 * lyxfunc.C (getStatus):
223 remove LFUN_INSET_GRAPHICS.
225 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
227 2003-03-07 Angus Leeming <leeming@lyx.org>
230 * LyXAction.C (init):
231 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
233 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
236 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
238 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
239 localDispatch method LFUN_INSET_DIALOG_UPDATE.
241 2003-03-07 Angus Leeming <leeming@lyx.org>
243 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
246 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
248 * ParagraphList.C (front): new function
251 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
253 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
254 and top_row_offset_. removed var first_y.
256 * text2.C (LyXText, removeRow):
258 * BufferView_pimpl.C:
259 use these methods instead of using first_y
261 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
263 * text2.C (pasteSelection): adjust for checkPastePossible
265 * CutAndPaste.C: remove Paragraph * buf and replace with
266 ParagraphList paragraphs.
267 (DeleteBuffer): delete
268 (cutSelection): change the tc type to textclass_type
269 (copySelection): change the tc type to textclass_type
270 (copySelection): adjust for ParagraphList
271 (pasteSelection): change the tc type to textclass_type
272 (pasteSelection): adjust for Paragraphlist
273 (nrOfParagraphs): simplify for ParagraphList
274 (checkPastePossible): simplify for ParagraphList
275 (checkPastePossible): remove unused arg
277 * ParagraphList.C (insert): handle the case where there are no
280 * CutAndPaste.h: make CutAndPaste a namespace.
282 * text3.C (dispatch): adjust
284 * text.C (breakParagraph): add a ParagraphList as arg
286 * paragraph_funcs.C (breakParagraph): change to take a
287 BufferParams and a ParagraphList as args.
288 (breakParagraphConservative): ditto
289 (mergeParagraph): ditto
290 (TeXDeeper): add a ParagraphList arg
291 (TeXEnvironment): ditto
294 * buffer.C (readLyXformat2): adjust
295 (insertStringAsLines): adjust
296 (latexParagraphs): adjust
298 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
299 (cutSelection): adjust
300 (pasteSelection): adjust
302 * BufferView_pimpl.C (insertInset): adjust
304 2003-03-05 Angus Leeming <leeming@lyx.org>
307 * LyXAction.C (init):
308 * BufferView_pimpl.C (dispatch):
309 * lyxfunc.C (getStatus):
310 remove LFUN_CHILD_INSERT.
312 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
314 2003-03-05 Angus Leeming <leeming@lyx.org>
317 * LyXAction.C (init):
318 * src/factory.C (createInset):
319 * lyxfunc.C (getStatus):
320 * text3.C (dispatch):
321 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
323 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
325 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
327 * ParagraphList.C (insert): handle insert right before end()
328 (erase): fix cases where it can be first or last paragraph.
330 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
332 * paragraph_funcs.C (TeXEnvironment): remove all usage of
333 Paragraph::next and Paragraph::previous
336 * text.C (breakParagraph): adjust
338 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
339 BufferParams& as arg.
340 (breakParagraph): use ParagraphList::insert
341 (breakParagraphConservative): take a Buffer* instead of a
342 BufferParams& as arg.
343 (breakParagraphConservative): use ParagraphList::insert.
345 * buffer.C (insertStringAsLines): un-const it
346 (insertStringAsLines): adjust
348 * ParagraphList.C (insert): new function
350 * CutAndPaste.C (pasteSelection): adjust
352 * text.C (backspace): adjust
354 * tabular.C (SetMultiColumn): adjust
356 * CutAndPaste.C (cutSelection): adjust
357 (pasteSelection): adjust
359 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
360 Buffer const * as arg
362 * ParagraphList.C (erase): new function
363 * paragraph_funcs.C (mergeParagraph): use it
364 (mergeParagraph): make it take a Buffer* instead of a
367 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
369 (breakParagraphConservative): ditto
371 * paragraph.h: remove the breakParagraph friend
373 * paragraph.C (eraseIntern): new function
374 (setChange): new function
376 * paragraph_funcs.C (mergeParagraph): make it take a
377 ParagraphList::iterator instead of a Paragraph *, adjust
380 * paragraph.h: move an #endif so that the change tracking stuff
381 also works in the NO_NEXT case.
383 2003-03-04 Angus Leeming <leeming@lyx.org>
386 * LyXAction.C: new LFUN_INSET_MODIFY.
388 * BufferView_pimpl.C (dispatch): if an inset is found to be open
389 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
391 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
393 * several files: ws changes only
395 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
396 (TeXEnvironment): ditto
399 * buffer.C (makeLaTeXFile): adjust
400 (latexParagraphs): make it take ParagraphList::iterator as args
402 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
404 * buffer.C (latexParagraphs): adjust
406 * paragraph.C (TeXOnePar): move function...
407 (optArgInset): move function...
408 (TeXEnvironment): move function...
409 * paragraph_pimpl.C (TeXDeeper): move function...
410 * paragraph_funcs.C: ...here
412 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
414 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
416 * buffer.C (readInset): remove compability code for old Figure and
419 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
421 * buffer.C: ws changes
424 * BufferView_pimpl.C: ditto
427 * bufferlist.h: ditto
431 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
433 * converter.[Ch]: split into itself +
436 * Makefile.am: += graph.[Ch] + format.[Ch]
443 * lyxrc.C: added #include "format.h"
445 2003-02-27 Angus Leeming <leeming@lyx.org>
447 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
450 * factory.C (createInset): add "label" to the factory.
452 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
453 string and do no more.
455 2003-02-27 Angus Leeming <leeming@lyx.org>
458 * LyXAction.C (init):
459 * factory.C (createInset):
460 * BufferView_pimpl.C (dispatch):
461 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
463 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
465 * lyxfunc.C (dispatch):
466 * text3.C (dispatch): pass name to params2string.
468 2003-02-26 Angus Leeming <leeming@lyx.org>
470 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
472 Rearrange the ~includes. Strip out the unnecessary ones.
474 * factory.C (createInset): reformat.
475 create new insets for the various LFUN_XYZ_APPLY lfuns.
477 2003-02-26 John Levon <levon@movementarian.org>
480 * lyxrow.C: add isParStart,isParEnd helpers
482 * paragraph.h: make isInserted/DeletedText take refs
485 * paragraph_funcs.C: remove #if 0'd code
490 * text.C: use lyxrow helpers above.
491 Move draw and paint routines to RowPainter.
492 Make several methods use refs not pointers.
493 Make backgroundColor() const.
494 Add markChangeInDraw(), isInInset().
495 Merge changeRegionCase into changeCase.
496 Make workWidth() shouldn't-happen code into an Assert.
499 * rowpainter.C: new class for painting a row.
502 * vspace.C: make inPixels take a ref
504 2003-02-26 Angus Leeming <leeming@lyx.org>
506 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
509 2003-02-25 John Levon <levon@movementarian.org>
511 * ispell.C: give the forked command a more accurate name
513 2003-02-22 John Levon <levon@movementarian.org>
516 * toc.C: make TocItem store an id not a Paragraph *
519 2003-02-21 Angus Leeming <leeming@lyx.org>
521 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
522 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
523 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
524 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
525 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
526 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
528 * BufferView_pimpl.C (dispatch):
529 * LyXAction.C (init):
530 * factory.C (createInset):
531 * lyxfunc.C (getStatus, dispatch):
532 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
534 2003-02-21 Angus Leeming <leeming@lyx.org>
536 * BufferView_pimpl.C (MenuInsertLyXFile):
537 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
538 * lyxfunc.C (menuNew, open, doImport):
539 no longer pass a LyXView & to fileDlg.
541 2003-02-21 Angus Leeming <leeming@lyx.org>
543 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
544 * LyXAction.C: change, BIBKEY to BIBITEM.
545 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
546 Change InsetBibKey to InsetBibitem.
547 Change BIBKEY_CODE to BIBITEM_CODE.
548 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
549 * factory.C: replace insetbib.h with insetbibitem.h.
550 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
551 * paragraph.C: replace insetbib.h with insetbibitem.h.
552 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
553 Change bibkey() to bibitem().
554 * text.C: remove insetbib.h.
555 * text2.C: replace insetbib.h with insetbibitem.h.
556 change bibkey() to bibitem().
557 * text3.C: remove insetbib.h.
558 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
560 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
562 * lyxrc.C (output): enclose user email in quotes (in case there are
565 2003-02-18 John Levon <levon@movementarian.org>
567 * buffer.h: add std::
569 2003-02-17 John Levon <levon@movementarian.org>
575 * pspell.C: reworking. Especially in ispell, a large
576 number of clean ups and bug fixes.
578 * lyxfunc.C: fix revert to behave sensibly
580 2003-02-17 André Pönitz <poenitz@gmx.net>
583 * commandtags.h: new LFUN_INSERT_BIBKEY
593 * paragraph_func.C: remove special bibkey handling
595 2003-02-17 John Levon <levon@movementarian.org>
597 * text.C (Delete): fix case where delete at the end of
598 the very first paragraph would not merge the pars
600 2003-02-17 John Levon <levon@movementarian.org>
602 * lyxrow.C: fix lastPrintablePos()
604 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
606 * bufferparams.C (writeLaTeX): add a std:here
608 * buffer.C: and remove a using directive there
610 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
612 * buffer.C (makeLaTeXFile): move the code that generates the
615 * bufferparams.C (writeLaTeX): ... in this new method
617 * LaTeXFeatures.C (getEncodingSet): make const
618 (getLanguages): make const
620 * MenuBackend.C (binding): returns the binding associated to this
622 (add): sets the status of each item by calling getStatus. Adds
624 (read): add support for OptSubMenu
625 (expand): remove extra separator at the end of expanded menu
627 2003-02-15 John Levon <levon@movementarian.org>
630 * BufferView_pimpl.C:
632 * bufferlist.C: remove pointless BufferStorage bloat. Remove
633 inset code that had no actual effect. Remove unneeded status
636 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
638 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
641 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
643 * text.C (drawLengthMarker): also draw an arrow marker for
644 symbolic lengths (medskip...)
646 2003-02-14 John Levon <levon@movementarian.org>
649 * tabular.C: better method names
651 2003-02-14 John Levon <levon@movementarian.org>
653 * BufferView_pimpl.C:
658 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
659 it's a more accurate name. Remove some pointless uses.
661 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
663 * text2.C (LyXText): change order of initilizers to shut off
666 2003-02-14 John Levon <levon@movementarian.org>
668 * buffer.C: use ParIterator for getParFromID()
673 * paragraph_pimpl.C: remove unused getParFromID()
675 2003-02-14 John Levon <levon@movementarian.org>
677 * buffer.C: remove some very old #if 0'd parse code
679 2003-02-13 John Levon <levon@movementarian.org>
683 * text2.C: move hfillExpansion(), numberOfSeparators(),
684 rowLast(), rowLastPrintable(), numberofHfills(),
685 numberOfLabelHfills() ...
688 * lyxrow.C: ... to member functions here.
693 * text.C: remove LyXText::beginningOfMainBody(), and call
694 p->beginningOfMainBody() directly. Move the check for
695 LABEL_MANUAL into the latter.
702 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
708 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
709 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
711 2003-02-13 John Levon <levon@movementarian.org>
713 * CutAndPaste.C: remove debug
715 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
717 * paragraph.C (asString): remove two unused variables
719 * lyxtextclass.C (readTitleType):
721 (LyXTextClass): handle new members titletype_ and titlename_
723 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
725 2003-02-09 John Levon <levon@movementarian.org>
728 * buffer.C: replace hand-coded list with a map for the dep clean
730 2003-02-08 John Levon <levon@movementarian.org>
732 * LaTeX.C: consolidate code into showRunMessage() helper
734 2003-02-08 John Levon <levon@movementarian.org>
739 * BufferView.C: change setSelectionOverString() to setSelectionRange()
740 and pass the size in explicitly
742 * BufferView_pimpl.h:
743 * BufferView_pimpl.C:
745 * BufferView.C: add getCurrentChange()
747 * BufferView_pimpl.h:
748 * BufferView_pimpl.C: handle change lfuns
750 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
751 for changes. Mark pasted paragraphs as new.
755 * DepTable.C: abstract time_t as lyx::time_type
758 * LColor.C: add colours for new text, deleted text, changebars
760 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
761 package use "usenames" option.
765 * LyXAction.C: add change lfuns
769 * author.C: author handling
772 * buffer.C: add a per-buffer author list, with first entry as
773 current author. Handle new .lyx tokens for change tracking. Output
774 author list to .lyx file. Output dvipost stuff to .tex preamble.
775 Bump lyx format to 222.
778 * bufferlist.C: add setCurrentAuthor() to reset current author details
782 * bufferparams.C: add param for tracking
784 * bufferview_funcs.C: output change info in minibuffer
788 * changes.C: add change-tracking structure
791 * debug.C: add CHANGES debug flag
794 * lyxfind.C: add code for finding the next change piece
797 * lyxrc.C: add user_name and user_email
800 * lyxrow.C: add a metric for the top of the text line
803 * text.C: implement accept/rejectChange()
806 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
807 Strike through deleted text.
812 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
813 to the insert functions. Rework erase to mark text as deleted, adding
814 an eraseIntern() and a range-based erase(). Implement
815 per-paragraph change lookup and accept/reject.
817 * paragraph_funcs.C: Fixup paste for change tracking.
819 * tabular.C: mark added row/columns as new.
821 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
822 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
824 * text2.C: leave cursor at end of selection after a cut.
826 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
828 * text.C (getLengthMarkerHeight):
829 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
830 visible on screen too.
832 2003-02-07 John Levon <levon@movementarian.org>
834 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
836 2003-02-05 Angus Leeming <leeming@lyx.org>
838 * lyxserver.C (read_ready): revert my patch of 11 September last year
839 as it sends PC cpu through the roof. Presumably this means that
840 the lyxserver will no longer run on an Alpha...
842 2003-01-30 Angus Leeming <leeming@lyx.org>
844 * factory.C (createInset): create an InsetCommandParam of type "index"
845 and use it to 'do the right thing'.
847 * text2.C (getStringToIndex): ensure that cursor position is always
848 reset to the reset_cursor position.
850 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
852 * lyxfunc.C (getStatus): "buffer-export custom" should never be
855 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
859 * lyxfunc.C: Output messages with identical spelling, punctuation,
862 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
864 * MenuBackend.C (expandFormats): List only viewable export formats
867 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
870 * lyxfunc.C (getStatus): Make sure that formats other than
871 "fax" can also be disabled
873 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
875 * text3.C (dispatch): put the lfuns that insert insets in 3
876 groups, and call doInsertInset with appropriate arguments.
877 (doInsertInset): new function, that creates an inset and inserts
878 it according to some boolean parameters.
880 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
882 * buffer.C (readFile): remember to pass on 'par' when calling
883 readFile recursively.
885 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
887 * MenuBackend.C (expandFormats): add "..." to import formats.
889 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
891 * paragraph.C (asString): Remove XForms RTL hacks.
893 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
896 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
898 * Makefile.am (LIBS): delete var
899 (lyx_LDADD): add @LIBS@ here instead.
901 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
903 * Clarify the meaning of "wheel mouse jump"
905 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
907 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
910 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
912 * importer.C (Loaders): do not preallocate 3 elements in the
913 vector, since one ends up with 6 elements otherwise
915 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
917 * DepTable.C (write): write the file name as last element of the
918 .dep file (because it may contain spaces)
919 (read): read info in the right order
921 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
923 * paragraph_pimpl.C (simpleTeXBlanks):
924 (simpleTeXSpecialChars):
925 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
927 * tabular.C (latex): add some missing case statements. Reindent.
929 * MenuBackend.C (expandToc): remove unused variable.
931 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
940 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
943 2003-01-05 John Levon <levon@movementarian.org>
946 * BufferView.C: add getEncoding()
949 * kbsequence.C: do not store last keypress
952 * lyxfunc.C: store last keypress here instead. Pass encoding
955 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
957 * lyx_main.C (init): remove annoying error message when following
958 symbolic links (bug #780)
960 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
962 * text.C (insertChar):
963 * lyxrc.C (getDescription): remove extra spaces
965 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
967 * lyxrc.C (getDescription): remove extra spaces
969 2002-12-20 John Levon <levon@movementarian.org>
971 * text3.C: hack fix for page up/down across tall rows
973 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
975 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
978 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
980 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
981 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
982 thesaurus is not compiled in
984 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
986 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
988 2002-12-16 Angus Leeming <leeming@lyx.org>
991 * lyx_main.C (init): remove override_x_deadkeys stuff.
993 2002-12-12 John Levon <levon@movementarian.org>
995 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
996 insert. Only remove shift modifier under strict
999 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1001 * MenuBackend.C (expandToc): fix crash.
1003 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1005 * MenuBackend.C (expandToc): gettext on float names.
1007 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1009 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1010 implement bool empty() [bug 490]
1012 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1014 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1016 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1018 * several files: ws changes
1020 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1022 * text2.C (setCounter): clean up a bit, use boost.format.
1023 (updateCounters): initialize par upon declaration.
1025 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1026 if the layout exists. We do not just store the layout any more.
1027 (SwitchLayoutsBetweenClasses): use boost.format
1029 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1031 * converter.C (convert): if from and to files are the same, use a
1032 temporary files as intermediary
1034 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1037 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1039 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1041 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1043 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1045 * tabular.C (asciiPrintCell): use string(size, char) instead of
1048 * sgml.C (openTag): fix order of arguments to string constructor
1051 * lyxfunc.C (dispatch): use boost.format
1053 * lots of files: change "c" -> 'c'
1055 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1057 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1059 2002-11-25 Angus Leeming <leeming@lyx.org>
1061 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1063 * lyx_main.C (init): compile fix.
1065 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1067 * lyx_cb.C (start): boost.formatify
1068 do not include <iostream>
1070 * lengthcommon.C: ws only
1072 * boost-inst.C,BoostFormat.h: add more explict instantations
1074 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1076 * lots of files: handle USE_BOOST_FORMAT
1078 2002-11-21 John Levon <levon@movementarian.org>
1080 * pspell.C: fix compile
1082 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1084 * lyxfunc.C (dispatch): use boost::format
1088 * lyxfont.C (stateText): use boost::format
1090 * lyx_main.C (LyX): use boost::format
1092 (queryUserLyXDir): ditto
1095 (typedef boost::function): use the recommened syntax.
1097 * importer.C (Import): use boost::format
1099 * debug.C (showLevel): use boost::format
1101 * converter.C (view): use boost::format
1106 * bufferview_funcs.C (currentState): use boost::format
1108 * bufferlist.C (emergencyWrite): use boost::format
1110 * buffer.C (readLyXformat2): use boost::format
1111 (parseSingleLyXformat2Token): ditto
1113 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1115 * LaTeX.C (run): use boost::format
1117 * Chktex.C (scanLogFile): use boost::format
1119 * BufferView_pimpl.C (savePosition): use boost::format
1120 (restorePosition): ditto
1121 (MenuInsertLyXFile): ditto
1123 * BoostFormat.h: help file for explicit instation.
1125 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1127 * tabular.C (latex): Support for block alignment in fixed width
1130 2002-11-17 John Levon <levon@movementarian.org>
1132 * BufferView_pimpl.C:
1134 * lyxfunc.C: split filedialog into open/save
1136 2002-11-08 Juergen Vigna <jug@sad.it>
1138 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1139 by my last patch (hopefully).
1141 2002-11-08 John Levon <levon@movementarian.org>
1150 * toc.C: ParConstIterator, and use it (from Lars)
1152 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1154 * lyxtextclass.[Ch]: revise and add doxygen comments
1156 2002-11-07 John Levon <levon@movementarian.org>
1158 * text.C: fix progress value for spellchecker
1160 * toc.C: fix navigate menu for insetwrap inside minipage
1162 * paragraph_funcs.C: added FIXME for suspect code
1164 2002-11-07 John Levon <levon@movementarian.org>
1166 * BufferView_pimpl.C: fix redrawing of insets
1169 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1171 * text2.C (updateCounters): fix bug 668
1173 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1175 * text3.C (dispatch): Do not make the buffer dirty when moving the
1178 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1180 * vc-backend.C: STRCONV
1183 * text2.C (setCounter): STRCONV
1185 * paragraph.C (asString): STRCONV
1187 * lyxlength.C (asString): STRCONV
1188 (asLatexString): ditto
1190 * lyxgluelength.C (asString): STRCONV
1191 (asLatexString): ditto
1193 * lyxfunc.C (dispatch): STRCONV
1196 * lyxfont.C (stateText): STRCONV
1198 * importer.C (Import): STRCONV
1200 * counters.C (labelItem): STRCONV
1201 (numberLabel): ditto
1202 (numberLabel): remove unused ostringstream o
1207 * bufferview_funcs.C (currentState): STRCONV
1209 * buffer.C (readFile): STRCONV
1210 (asciiParagraph): ditto
1211 (makeLaTeXFile): ditto
1213 * Spacing.C (writeEnvirBegin): STRCONV
1215 * LaTeXFeatures.C (getLanguages): STRCONV
1216 (getPackages): ditto
1218 (getBabelOptions): ditto
1219 (getTClassPreamble): ditto
1220 (getLyXSGMLEntities): ditto
1221 (getIncludedFiles): ditto
1225 (scanAuxFile): ditto
1228 * LString.h: add the STRCONV macros
1230 * BufferView_pimpl.C (savePosition): STRCONV
1231 (restorePosition): ditto
1232 (MenuInsertLyXFile): ditto
1234 * vc-backend.C (scanMaster): change from submatch[...] to
1237 * funcrequest.C: include config.h
1239 * factory.C: include config.h
1241 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1243 * box.C: include config.h
1245 * LaTeX.C (scanAuxFile): change from submatch[...] to
1249 2002-10-25 Angus Leeming <leeming@lyx.org>
1251 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1253 * ispell.[Ch] (setError): new method.
1254 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1255 Use setError() insetead of goto END.
1257 * lyx_cb.C (AutoSave): move out child process into new class
1260 2002-10-30 John Levon <levon@movementarian.org>
1262 * text3.C: make start appendix undoable
1264 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1266 * lyxlength.C (inPixels): Fix returned value.
1268 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1271 2002-10-24 Angus Leeming <leeming@lyx.org>
1273 * lyxgluelength.h: no need to forward declare BufferParams
1274 or BufferView, so don't.
1276 2002-10-21 John Levon <levon@movementarian.org>
1278 * BufferView.C: menuUndo ->undo, redo
1280 * BufferView.h: document, remove dead, make some methods private
1282 * paragraph_funcs.h:
1283 * paragraph_funcs.C:
1284 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1289 * sgml.C: move sgml open/close tag into sgml.C
1291 * bufferview_funcs.h: unused prototype
1294 * lyxfunc.C: remove unused
1297 * text.C: remove unused
1299 2002-10-21 John Levon <levon@movementarian.org>
1303 * BufferView_pimpl.h:
1304 * BufferView_pimpl.C: fix mouse wheel handling based on
1305 patch from Darren Freeman
1307 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
1309 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1311 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
1313 * lyxlength.C (inPixels): Fix hanfling of negative length.
1314 Fix LyXLength::MU case.
1316 2002-10-16 John Levon <levon@movementarian.org>
1318 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1320 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1322 * converter.C (view): add support for $$i (file name) and $$p
1323 (file path) for the viewer command. If $$i is not specified, then
1324 it is appended to the command (for compatibility with old syntax)
1326 2002-10-14 Juergen Vigna <jug@sad.it>
1328 * undo_funcs.C (textHandleUndo): alter the order in which the
1329 new undopar is added to the LyXText, as we have to set first
1330 the right prev/next and then add it as otherwise the rebuild of
1331 LyXText is not correct. Also reset the cursor to the right paragraph,
1332 with this IMO we could remove the hack in "redoParagraphs()".
1334 2002-10-09 Angus Leeming <leeming@lyx.org>
1336 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1337 to turn off an optimisation if a new inset is to be inserted.
1339 2002-10-11 André Pönitz <poenitz@gmx.net>
1341 * lyxtext.h: make some functions public to allow access
1342 from inset/lyxtext for handling LFUN_PRIOR/NEXT
1344 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1346 * text3.C (dispatch): when changing layout, avoid an infinite loop
1349 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1351 * lyxrc.C (read): treat a viewer or converter command of "none" as
1354 * MenuBackend.C (expandFormats): for an update, also allow the
1355 formats that are not viewable
1357 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1358 script if it is newer than the lyxrc.defaults in user directory
1360 2002-10-07 André Pönitz <poenitz@gmx.net>
1362 * text.C: Vitaly Lipatov's small i18n fix
1364 2002-09-25 Angus Leeming <leeming@lyx.org>
1366 * ispell.h: doxygen fix.
1368 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
1370 * buffer.h (readFile): Add a new argument to the method, to allow
1371 reading of old-format templates.
1373 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1375 * toc.C (getTocList): Get TOC from InsetWrap.
1377 2002-09-16 John Levon <levon@movementarian.org>
1379 * lyxfunc.C: check tabular for cut/copy too
1381 2002-09-12 John Levon <levon@movementarian.org>
1386 * factory.C: add header
1388 * paragraph_funcs.h:
1389 * paragraph_funcs.C: cleanup
1391 2002-09-11 John Levon <levon@movementarian.org>
1393 * PrinterParams.h: odd/even default to true
1395 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1397 * PrinterParams.h: update printer parameters for new xforms dialog
1399 2002-09-11 Angus Leeming <leeming@lyx.org>
1401 * lyxserver.C (read_ready): re-write to make it more transparent
1402 and to make it work in coherent fashion under Tru64 Unix.
1404 2002-09-11 André Pönitz <poenitz@gmx.net>
1408 * text3.C: implement LFUN_WORDSEL
1410 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1412 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1413 make floatlist_ a boost::shared_ptr<FloatList>
1415 * lyxtextclass.C: include FloatList.h
1416 (LyXTextClass): initialize floatlist_
1417 (TextClassTags): add TC_NOFLOAT
1418 (Read): match "nofloat" to TC_NOFLOAT and use it.
1419 (readFloat): modify call to floatlist_
1423 * FloatList.[Ch] (FloatList): remove commented out float
1425 (erase): new function
1427 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1429 * MenuBackend.C (expandToc): fix crash when there is no document
1432 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
1434 * many files: Add insetwrap.
1436 2002-09-09 John Levon <levon@movementarian.org>
1438 * text2.C: remove confusing and awkward depth wraparound
1440 2002-09-09 John Levon <levon@movementarian.org>
1442 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1445 * buffer.C: remove getIncludeonlyList()
1448 * lyxfunc.C: remove headers
1450 2002-09-09 Juergen Vigna <jug@sad.it>
1452 * text.C (getColumnNearX): fix form Michael this is most
1453 probably a cut&paste bug.
1455 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1457 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1459 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1460 references, ws changes.
1462 * text2.C (init): update counters after init
1463 (insertParagraph): no need to set counter on idividual paragraphs.
1464 (setCounter): access the counters object in the textclass object
1465 on in the buffer object.
1466 (updateCounters): ditto
1468 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1469 shared_ptr<Counters> to avoid loading counters.h in all
1471 (LyXTextClass): initialize ctrs_
1472 (TextClassTags): add TC_COUNTER, and ...
1473 (Read): use it here.
1474 (CounterTags): new tags
1475 (readCounter): new function
1476 (counters): new funtion
1477 (defaultLayoutName): return a const reference
1479 * counters.C (Counters): remove contructor
1480 (newCounter): remove a couple of unneeded statements.
1481 (newCounter): simplify a bit.
1482 (numberLabel): some small formatting changes.
1484 * buffer.[Ch]: remove all traces of counters, move the Counters
1485 object to the LyXTextClass.
1487 2002-09-06 Alain Castera <castera@in2p3.fr>
1489 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1490 package to set the horizontal alignment on fixed width columns.
1493 * lyx_sty.h: added tabularnewline macro def.
1495 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1497 2002-09-06 John Levon <levon@movementarian.org>
1499 * LyXAction.C: tooltips for sub/superscript
1501 * MenuBackend.C: a bit more verbose
1503 * lyxfunc.C: tiny clean
1505 * undo_funcs.C: document undo_frozen
1507 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1509 * counters.C (Counters): add missing algorithm counter.
1511 * text2.C (setCounter): lookup the counter with layouts latexname
1512 instead of by section number.
1513 (setCounter): use a hackish way to lookup the correct enum
1515 a float name->type change
1516 reset enum couners with counter name directly instead of depth value.
1518 * counters.C (Counters): remove the push_backs, change to use the
1519 float type not the float name.
1520 (labelItem): remove unused string, float name->type change
1522 * counters.h: don't include vector, loose the enums and sects vectors
1524 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1526 * lyxtextclass.C (TextClassTags): add TC_FLOAT
1527 (Read): add float->TC_FLOAT to textclassTags
1528 (Read): and handle it in the switch
1529 (readFloat): new function
1531 * FloatList.C (FloatList): comment out the hardcoded float
1534 * lyxlayout.h: ws change.
1536 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
1538 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1540 2002-09-03 Angus Leeming <leeming@lyx.org>
1542 * BufferView_pimpl.h: qualified name is not allowed in member
1543 declaration: WorkArea & Pimpl::workarea() const;
1545 * factory.C: added using std::endl directive.
1547 * text3.C: added using std::find and std::vector directives.
1549 2002-08-29 André Pönitz <poenitz@gmx.net>
1552 * text2.C: remove unused member number_of_rows
1555 * BufferView2.C: remove file, move contents to...
1556 * BufferView.C: ... here
1558 * BufferView_pimpl.C:
1559 * factory.C: move more inset creation to factory
1561 * vspace.C: avoid direct usage of LyXText, ws changes
1564 don't provide direct access to WorkArea, use two simple
1565 acessors haveSelction() and workHeight() instead
1568 2002-08-29 John Levon <levon@movementarian.org>
1570 * BufferView_pimpl.C (dispatch): do not continue when
1573 2002-08-28 André Pönitz <poenitz@gmx.net>
1575 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
1578 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
1580 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1582 * buffer.C: increment LYX_FORMAT to 221
1584 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
1585 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
1587 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
1589 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
1591 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1593 * factory.C (createInset): use LyXTextClass::floats
1595 * MenuBackend.C (expandFloatListInsert):
1596 (expandFloatInsert):
1599 * text2.C (setCounter):
1601 * LaTeXFeatures.C (useFloat):
1602 (getFloatDefinitions):
1604 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
1606 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
1607 floatlist_, with accessor floats().
1609 * FloatList.h: remove global FloatList
1611 2002-08-26 André Pönitz <poenitz@gmx.net>
1613 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
1617 * BufferView_pimpl.C:
1618 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
1620 2002-08-25 John Levon <levon@movementarian.org>
1622 * LyXAction.C: fix margin note description
1624 2002-08-24 John Levon <levon@movementarian.org>
1628 * bufferview_funcs.C:
1630 * undo_funcs.C: cleanups
1632 * lyxfunc.C: disable CUT/COPY when no selection
1634 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1636 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
1637 in "enum UNIT"; e.g. PTW for Percent of TextWidth
1639 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
1640 Add backward compatibility to "mono", "gray" and "no".
1642 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
1644 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
1645 (and file_format >= 200).
1647 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1649 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
1651 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1653 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
1655 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
1657 * BufferView_pimpl.C:
1664 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
1665 inset and code to make it work with the paragraph code. The inset
1666 can be anywhere in the paragraph, but will only do the expected
1667 thing in LaTeX if the layout file contains the parameter line
1669 (or more generally, a nonzero value) for that layout.
1671 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1673 * paragraph.h: remove the declaration of undefined counters class
1676 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
1678 * text2.C (setCounter): fixed enumeration mis-count as reported by
1679 Dr. Richard Hawkins.
1681 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1683 * paragraph_funcs.h: remove some unneeded includes
1685 * text.C (backspace): pasteParagraph now in global scipe
1687 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
1688 (pasteSelection): ditto
1690 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
1691 * paragraph_funcs.C (pasteParagraph): ... here
1693 2002-08-20 André Pönitz <poenitz@gmx.net>
1695 * commandtags.h: new LFUNs for swapping/copying table row/colums
1698 * lyxfunc.C: support for new lfuns
1700 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1703 * buffer.[Ch]: remove NO_COMPABILITY stuff
1705 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
1707 * boost.C (throw_exception): new file, with helper function for
1708 boost compiled without exceptions.
1713 * ParameterStruct.h:
1714 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
1716 * bufferlist.C (emergencyWriteAll): use boost bind
1718 * BufferView_pimpl.C (moveCursorUpdate): remove inline
1720 * text.C: include paragraph_funcs.h
1721 (breakParagraph): breakParagraph is now in global scope
1723 * paragraph_funcs.[Ch]: new files
1725 * paragraph.C (breakParagraph,breakParagraphConservative): move to
1728 * buffer.C: include paragraph_funcs.h
1729 (insertStringAsLines): breakParagraph is now in global scope
1731 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
1734 * CutAndPaste.C: include paragraph_funcs.h
1735 (cutSelection): breakParagraphConservative is now in global scope
1736 (pasteSelection): ditto
1738 * buffer.h: declare oprator== and operator!= for
1739 Buffer::inset_iterator
1741 * bufferlist.C (emergencyWrite): don't use fmt(...)
1743 * text3.C: add using std::endl
1745 * BufferView.C (moveCursorUpdate): remove default arg
1747 2002-08-20 André Pönitz <poenitz@gmx.net>
1749 * buffer.[Ch]: move inline functions to .C
1752 * BufferView_pimpl.C:
1754 * buffer.[Ch]: use improved inset_iterator
1757 * paragraph.[Ch]: write one paragraph at a time
1759 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
1761 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
1762 style if style is not specified.
1764 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1766 * text2.C (setCounter): when searching for right label for a
1767 caption, make sure to recurse to parent insets (so that a caption
1768 in a minipage in a figure float works) (bug #568)
1770 2002-08-20 André Pönitz <poenitz@gmx.net>
1772 * text3.C: new file for LyXText::dispatch() and helpers
1774 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
1776 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
1778 2002-08-19 André Pönitz <poenitz@gmx.net>
1781 * text.C: new LyXText::dispatch()
1783 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
1785 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
1787 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
1789 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
1792 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1794 * Makefile.am: use $(variables) instead of @substitutions@
1796 2002-08-15 André Pönitz <poenitz@gmx.net>
1799 * BufferView_pimpl.C: streamlining mathed <-> outer world
1803 * LyXAction.C: remove unused LFUN_MATH
1805 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1807 * paragraph.[Ch]: add some NO_NEXT ifdefs.
1809 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1811 * paragraph.C (Paragraph): reformat a bit
1812 (cutIntoMinibuffer): use builtin InsetList function instad of
1816 * buffer.C: include boost/bind.hpp, add using std::for_each
1817 (writeFileAscii): use ParagraphList iterators
1818 (validate): use for_each for validate traversal of paragraphs
1819 (getBibkeyList): use ParagraphList iterators
1820 (resizeInsets): use for_each to resizeInsetsLyXText for all
1822 (getParFromID): use ParagraphList iterators
1824 * BufferView2.C (lockInset): use paragraph list and iterators
1826 2002-08-14 John Levon <levon@movementarian.org>
1828 * lyxserver.C: remove spurious xforms include
1830 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1832 * lyxfunc.C (getStatus): disable math-extern outside of math mode
1834 2002-08-13 André Pönitz <poenitz@gmx.net>
1837 * lyxfunc.C: further cleaning
1839 2002-08-13 André Pönitz <poenitz@gmx.net>
1841 * funcrequest.h: new constructor
1843 * funcrequest.C: move stuff here from .h
1846 * BufferView_pimpl.C:
1849 * lyxfunc.C: subsequent changes
1851 * lyxfunc.h: new view() member function
1853 * lyxfunc.C: subsequent changes
1855 2002-08-13 Angus Leeming <leeming@lyx.org>
1858 * BufferView_pimpl.C:
1866 changes due to the changed LyXView interface that now returns references
1867 to member variables not pointers.
1869 2002-08-13 Angus Leeming <leeming@lyx.org>
1871 * WordLangTuple (word, lang_code): return references to strings,
1876 * lyxtext.h: forward-declare WordLangTuple.
1881 * text.C: #include "WordLangTuple.h".
1884 * text.C: (selectNextWordToSpellcheck): constify return type.
1886 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
1892 * paragraph_pimpl.h:
1895 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
1897 Made updateCounter always count from start of buffer, and removed
1898 second argument (par).
1899 Reverted floats number display to '#'. Perhaps I'll try again when the
1900 code base is sanitized a bit.
1902 2002-08-12 Angus Leeming <leeming@lyx.org>
1904 * buffer.[Ch] (getLabelList): constify.
1906 2002-08-07 André Pönitz <poenitz@gmx.net>
1908 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
1910 * funcrequest.h: extension to keep mouse (x,y) position
1912 2002-08-12 Juergen Vigna <jug@sad.it>
1914 * BufferView2.C (insertErrors): forbid undo when inserting error
1917 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
1919 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1921 * ParagraphList.[Ch]: new files
1923 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
1925 * BufferView2.C (lockInset): ParagraphList changes
1928 * bufferlist.C: ditto
1932 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1934 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
1935 unused class variable counter_,
1937 * paragraph.[Ch] (getFirstCounter): delete unused function
1939 * counters.C: include LAssert.h
1940 (reset): add a new function with no arg, change other version to
1941 not have def. arg and to not allow empty arg.
1943 * text2.C (setCounter): remove empty arg from call to Counters::reset
1945 2002-08-11 John Levon <levon@movementarian.org>
1947 * Makefile.am: add WordLangTuple.h
1949 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1951 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
1952 lyxfunc.C lyxlex_pimpl.C: ws changes only.
1954 * insets/insettext.C: InsetList changes
1956 * graphics/GraphicsSupport.C (operator()): InsetList changes
1958 * toc.C (getTocList): InsetList changes
1960 * paragraph_pimpl.[Ch]: InsetList changes
1962 * paragraph.[Ch]: InsetList changes
1964 * buffer.C (inset_iterator): InsetList changes
1965 (setParagraph): ditto
1966 * buffer.h (inset_iterator): ditto
1967 * iterators.C (operator++): ditto
1968 * iterators.h: ditto
1970 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
1972 * InsetList.[Ch]: new files, most InsetList handling moved out of
1975 * BufferView2.C (removeAutoInsets): InsetList changes
1977 (ChangeInsets): ditto
1979 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1981 * paragraph_pimpl.h (empty): new function
1983 * paragraph.[Ch] (empty): new function
1985 * other files: use the new Paragraph::empty function
1987 2002-08-09 John Levon <levon@movementarian.org>
1989 * lyxtext.h: remove unused refresh_height
1991 2002-08-09 John Levon <levon@movementarian.org>
1998 * paragraph.C: move sgml char escaping out of paragraph
2001 * paragraph.C: remove id setter
2005 * paragraph_pimpl.C: remove dead tex_code_break_column
2007 * bufferview_funcs.C: small cleanup
2009 * lyxfunc.C: remove dead proto
2011 * lyxtext.h: make some stuff private. Remove some dead stuff.
2013 * lyxgluelength.C: make as[LyX]String() readable
2015 2002-08-08 John Levon <levon@movementarian.org>
2020 * ToolbarDefaults.C:
2023 * toc.C: lyxaction cleanup
2025 2002-08-08 John Levon <levon@movementarian.org>
2027 * BufferView2.C: small cleanup
2030 * lyxfind.C: move unnecessary header into the .C
2032 2002-08-08 John Levon <levon@movementarian.org>
2034 * funcrequest.h: just tedious nonsense
2037 * lyx_main.C: cleanups
2040 * vspace.C: remove dead header lyx_main.h
2042 2002-08-07 Angus Leeming <leeming@lyx.org>
2045 * paragraph_pimpl.h:
2046 Forward declare class Counters in paragraph.h by moving the ctrs member
2047 variable into Paragraph::Pimpl.
2048 (counters): new method, returning a reference to pimpl_->ctrs.
2050 * text2.C: ensuing changes.
2052 2002-08-07 John Levon <levon@movementarian.org>
2054 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2056 * BufferView_pimpl.C: announce X selection on double/triple
2059 * lyx_main.C: use correct bool in batch dispatch
2061 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2063 2002-08-07 André Pönitz <poenitz@gmx.net>
2065 * funcrequest.h: new class to wrap a kb_action and its argument
2068 * BufferView_pimpl[Ch]:
2072 * lyxrc.C: subsequent changes
2075 2002-08-07 John Levon <levon@movementarian.org>
2077 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2078 document options change.
2080 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2085 * makefile.am: move counters functionality over from
2086 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2088 2002-08-06 John Levon <levon@movementarian.org>
2090 * WordLangTuple.h: new file for word + language code tuple
2101 * BufferView2.C: use WordLangTuple
2104 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2106 2002-08-06 John Levon <levon@movementarian.org>
2108 * lyx_main.C: fix cmdline batch handling
2110 2002-08-06 André Pönitz <poenitz@gmx.net>
2112 * lyxrc.C: set default for show_banner to true
2114 2002-08-06 John Levon <levon@movementarian.org>
2116 * pspell.C: fix a crash, and allow new aspell to work
2118 2002-08-06 John Levon <levon@movementarian.org>
2121 * kbmap.C: small cleanup
2124 * vspace.C: add const
2126 2002-08-05 John Levon <levon@movementarian.org>
2128 * LyXAction.C: back to tabular-insert
2130 2002-08-04 John Levon <levon@movementarian.org>
2133 * BufferView.C: cosmetic change
2135 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2145 * BufferView2.C: purge all "Lyx" not "LyX" strings
2148 * lyxcursor.C: attempt to add some documentation
2153 * ToolbarDefaults.C:
2154 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2155 merge with LFUN_TABULAR_INSERT
2162 * pspell.C: split up i/pspell implementations into separate
2163 files, many cleanups
2165 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2167 * text2.C: some cleanup
2169 * lyxfunc.C: don't check for isp_command == "none" any more, it
2170 didn't make any sense
2172 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2177 * makefile.am: move counters functionality over
2178 from text2.C/paragraph.[Ch] to counters.[Ch], and
2180 2002-08-02 John Levon <levon@movementarian.org>
2182 * buffer.C: s/lyxconvert/lyx2lyx/
2184 2002-08-02 Angus Leeming <leeming@lyx.org>
2186 * lyxlex.C: revert John's change as it breaks reading of the user
2189 2002-08-02 Angus Leeming <leeming@lyx.org>
2191 * importer.C (Import):
2192 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2193 changes due to LyXView::view() now returning a boost::shared_ptr.
2195 2002-08-02 John Levon <levon@movementarian.org>
2197 * lyxlex.C: small cleanup
2199 2002-08-02 John Levon <levon@movementarian.org>
2201 * text2.C (status): small cleanup, no logic change
2203 2002-08-01 John Levon <levon@movementarian.org>
2206 * buffer.C (writeFile): don't output alerts, caller
2210 * lyx_cb.C: from above
2212 * lyxfunc.C: allow to open non-existent files
2214 2002-07-31 John Levon <levon@movementarian.org>
2216 * lyxserver.C: don't let incidental errors get
2219 2002-07-30 John Levon <levon@movementarian.org>
2221 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2223 2002-07-30 John Levon <levon@movementarian.org>
2226 * lyxserver.C: remove I/O callback too
2228 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2230 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2233 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2235 * many files: strip,frontStrip -> trim,ltrim,rtrim
2237 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2239 * PrinterParams.h: remove extern containsOnly, and include
2240 support/lstrings.h instead.
2242 * LaTeX.C (scanAuxFile): modify because of strip changes
2244 * buffer.C (makeLaTeXFile): ditto
2245 * bufferparams.C (writeFile): ditt
2246 * lyxfont.C (stateText): ditto
2247 * lyxserver.C (read_ready): ditto
2248 * vc-backend.C (scanMaster): ditto
2250 * BufferView_pimpl.h: ws changes
2252 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2254 2002-07-26 André Pönitz <poenitz@gmx.net>
2256 * kb_sequence.C: remove unnedred usings
2258 2002-07-26 Juergen Vigna <jug@sad.it>
2260 * lyxfind.C (LyXReplace): we have to check better if the returned
2261 text is not of theLockingInset()->getLockingInset().
2263 2002-07-25 Juergen Vigna <jug@sad.it>
2265 * lyxfind.C (LyXReplace): don't replace if we don't get the
2268 * undo_funcs.C (createUndo): remove debugging code.
2270 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2272 * buffer.C (parseSingleLyXformat2Token): Use default placement
2273 when reading old floats.
2275 * FloatList.C (FloatList): Change the default placement of figure
2276 and tables to "tbp".
2278 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2280 * MenuBackend.C: using std::max
2282 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2284 * MenuBackend.C (expandToc):
2285 (expandToc2): code moved from xforms menu frontend. It is now
2286 generic and TOCs are transparent to menu frontends.
2288 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2290 * toc.C (getTocList): protect against buf=0
2292 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2293 Menu as first parameter. Now, this calls itself recursively to
2294 expand a whole tree (this will be useful for TOC handling)
2295 (expandFloatInsert): remove 'wide' version of floats
2297 * MenuBackend.h (submenuname): returns the name of the submenu.
2298 (submenu): returns the submenu itself, provided it has been
2299 created by MenuBackend::expand
2301 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2303 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2304 insets which have noFontChange == true. (bug #172)
2306 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2308 * BufferView_pimpl.C: add connection objects and use them...
2311 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2313 * MenuBackend.C (expandLastfiles):
2316 (expandFloatListInsert):
2317 (expandFloatInsert):
2318 (expand): split expand in parts
2320 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2322 * lyx_gui.C: use lyx_gui::exit()
2324 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2326 * LyXAction.C: show the failing pseudo action
2328 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
2330 * buffer.C (readFile): Run the lyxconvert script in order to read
2333 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2337 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2339 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2343 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2345 2002-07-22 Herbert Voss <voss@lyx.org>
2348 * lyxlength.[Ch]: add support for the vertical lengths
2350 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
2352 * toc.[Ch]: std:: fixes
2354 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2356 * lyxrc.C: do not include lyx_main.h
2358 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2364 * BufferView2.C: include "lyxlex.h"
2367 * bufferparams.h: do not #include "lyxlex.h"
2369 * lyxtextclasslist.C (Add): remove method
2370 (classlist): renamed to classlist_
2372 * paragraph_pimpl.C:
2376 * bufferview_funcs.C:
2381 * toc.C (getTocList): use BufferParams::getLyXTextClass
2383 * toc.C (getTocList): use InsetFloat::addToToc
2385 * toc.[Ch]: new files, containing helper functions to handle table
2388 * lyxfunc.C (dispatch): no need to remove spaces around command
2390 (getStatus): handle LFUN_SEQUENCE by returning the status of the
2391 first command of the sequence; it is not very clever, but I do not
2392 have a better idea, actually
2394 * LyXAction.C (LookupFunc): make sure to remove space at the
2395 beginning and end of the command
2397 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2399 * MenuBackend.C (getMenubar): new method: return the menubar of
2401 (read): treat differently reading of menu and menubar (in
2402 particular, the menubar has no name now)
2403 (Menu::menubar): remove
2405 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2408 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2410 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2411 a bibitem inset in a RTL paragraph.
2413 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2415 * paragraph_pimpl.C: constify
2417 * BufferView_pimpl.C:
2419 * lyxfunc.C: fix dispatch in a nicer way
2421 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2423 * lyxfunc.C (dispatch):
2424 * BufferView_pimpl.C:
2425 * BufferView_pimpl.h:
2427 * BufferView.h: rename Dispatch() to dispatch()
2429 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2431 * lyxlayout.C (Read): honor DependsOn tag
2433 * lyxlayout.[Ch] (depends_on): new method
2435 * version.C.in: update lyx_docversion
2437 * LaTeXFeatures.C (getMacros): only define \LyX when needed
2439 * paragraph.C (validate): remove from here...
2440 * paragraph_pimpl.C (validate): ... and move here
2441 (isTextAt): make it const
2443 * buffer.C (getLists): ws cleanup
2445 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2447 * language.C (read): Use iso8859-1 encoding in latex_lang
2448 (this prevents LyX from crashing when using iso10646-1 encoding).
2450 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2452 * text2.C (toggleInset): if cursor is inside an inset, close the
2453 inset and leave cursor _after_ it
2455 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2457 * lyxfunc.C: move minibuffer completion handling out of here
2459 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2461 * BufferView_pimpl.C:
2462 * LaTeX.C: fix dispatch calls
2464 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2466 * text.C (drawChars): Fix Arabic text rendering.
2468 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2472 * lyxfunc.C: remove message-push/pop
2476 * lyxfunc.C: rationalise some code by removing verboseDispatch
2477 in favour of a bool argument to dispatch()
2479 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2481 * lyx_main.C (init): make sure to read symlinks as absolute paths
2483 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2486 * lyxfunc.C: no need for commandshortcut to be a member
2488 2002-07-15 André Pönitz <poenitz@gmx.net>
2490 * converter.C: add support for $$s (scripts from lib/scripts dir)
2491 * lyx_main.C: white space
2493 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2497 * lyxrc.C: remove second exit confirmation
2499 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2504 * BufferView_pimpl.h:
2505 * BufferView_pimpl.C:
2506 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2508 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2510 * MenuBackend.C (expand): add numeric shortcuts to document menu
2512 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2514 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2516 * lyxfont.C (setLyXFamily):
2523 * buffer.C (asciiParagraph): use ascii_lowercase
2525 2002-07-15 Mike Fabian <mfabian@suse.de>
2527 * lyxlex_pimpl.C (search_kw):
2528 * lyxlex.C (getLongString):
2529 * converter.h (operator<):
2530 * converter.C (operator<):
2531 * buffer.C (parseSingleLyXformat2Token):
2533 * ToolbarDefaults.C (read):
2534 * MenuBackend.C (checkShortcuts):
2536 * LColor.C (getFromGUIName):
2537 (getFromLyXName): use the compare_ascii_no_case instead of
2538 compare_no_case, because in turkish, 'i' is not the lowercase
2539 version of 'I', and thus turkish locale breaks parsing of tags.
2541 2002-07-16 Angus Leeming <leeming@lyx.org>
2543 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
2544 now takes a Buffer const & argument.
2546 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2548 * BufferView.C (resize): check there's a buffer to resize
2550 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
2552 * lyxfunc.C: remove dead code
2555 * lyxserver.C: use lyx_guii::set_read_callback
2557 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2559 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
2560 an inset in a RTL paragraph.
2562 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2564 * lyxfunc.C: repaint after a font size update
2566 2002-07-15 André Pönitz <poenitz@gmx.net>
2568 * lyxlength.C: inBP should be able to return negative values
2570 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2572 * lyxfunc.C: use lyx_gui::update_fonts()
2574 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2576 * lyxfunc.C: use lyx_gui::update_color()
2578 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2584 * lyxrc.C: remove file->new asks for name option, and let
2585 buffer-new take an argument
2587 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2589 * BufferView_pimpl.C: remove unneeded extra repaint()
2591 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
2593 * LyXAction.C: allow command-sequence with NoBuffer
2595 * lyxfunc.C: don't insist on trailing ';' for command-sequence
2597 2002-07-10 Angus Leeming <leeming@lyx.org>
2599 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
2601 2002-07-09 Angus Leeming <leeming@lyx.org>
2603 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
2605 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2607 * lengthcommon.h: whitespace
2609 * lyxfunc.C: update scrollbar after goto paragraph
2611 * lyxtext.h: factor out page break drawing, and fix it so
2612 page break/added space paints as selected nicely
2614 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2616 * BufferView_pimpl.C: add FIXMEs, clean up a little
2618 2002-07-09 André Pönitz <poenitz@gmx.net>
2620 * lyxfont.[Ch]: support for wasy symbols
2622 2002-07-08 André Pönitz <poenitz@gmx.net>
2624 * BufferView_pimpl.C: apply John's patch for #93.
2626 2002-07-05 Angus Leeming <leeming@lyx.org>
2628 * BufferView_pimpl.C (buffer): generate previews if desired.
2630 * LColor.h: add "preview" to the color enum.
2632 * LColor.C (LColor): add a corresponding entry to the items array.
2634 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
2637 2002-07-05 Angus Leeming <leeming@lyx.org>
2639 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
2640 The body of the code is now in the method that is passed an ostream &
2641 rather than a file name.
2642 Pass an additional only_preamble parameter, useful for the forthcoming
2645 2002-07-03 André Pönitz <poenitz@gmx.net>
2647 * lyxfunc.C: simplify getStatus() a bit for math stuff
2649 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2651 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
2653 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2655 * text.C (changeRegionCase): do not change case of all the
2656 document when region ends at paragraph end (bug #461)
2658 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2660 * paragraph.C (startTeXParParams):
2661 (endTeXParParams): add \protect when necessary
2663 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2665 * BufferView_pimpl.C (workAreaExpose): remove warning
2667 2002-06-27 Angus Leeming <leeming@lyx.org>
2669 * Makefile.am: add lyxlayout_ptr_fwd.h.
2671 2002-06-26 André Pönitz <poenitz@gmx.net>
2673 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
2675 2002-06-25 Angus Leeming <leeming@lyx.org>
2677 * lyxfunc.C (dispatch): Comment out the call to
2678 grfx::GCache::changeDisplay. The method no longer exists now that the
2679 pixmap generation part of the graphics loader has been moved into
2682 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2684 * text2.C: layout as layout
2686 * text.C: layout as layout
2688 * tabular.C (OldFormatRead): layout as layout
2690 * paragraph_pimpl.C (TeXDeeper): layout as layout
2691 (realizeFont): layout as layout
2693 * paragraph.C (writeFile): layout as layout
2694 (validate): layout as layout
2695 (getFont): layout as layout
2696 (getLabelFont): layout as layout
2697 (getLayoutFont): layout as layout
2698 (breakParagraph): layout as layout
2699 (stripLeadingSpaces): layout as layout
2700 (getEndLabel): layout as layout
2701 (getMaxDepthAfter): layout as layout
2702 (applyLayout): layout as layout
2703 (TeXOnePar): layout as layout
2704 (simpleTeXOnePar): layout as layout
2705 (TeXEnvironment): layout as layout
2706 (layout): layout as layout
2707 (layout): layout as layout
2709 * lyxtextclass.C (compare_name): new functor to work with
2710 shared_ptr, layout as layout
2711 (Read): layout as layout
2712 (hasLayout): layout as layout
2713 (operator): layout as layout
2714 (delete_layout): layout as layout
2715 (defaultLayout): layout as layout
2717 * lyxlayout_ptr_fwd.h: new file
2719 * lyxlayout.C (Read): layout as layout
2721 * lyx_cb.C (MenuInsertLabel): layout as layout
2723 * bufferlist.C (newFile): layout as layout
2725 * buffer.C (readLyXformat2): layout as layout
2726 (parseSingleLyXformat2Token): layout as layout
2727 (insertStringAsLines): layout as layout
2728 (asciiParagraph): layout as layout
2729 (latexParagraphs): layout as layout
2730 (makeLinuxDocFile): layout as layout
2731 (simpleLinuxDocOnePar): layout as layout
2732 (makeDocBookFile): layout as layout
2733 (simpleDocBookOnePar): layout as layout
2734 (getLists): layout as layout
2736 * LaTeXFeatures.C (getTClassPreamble): layout as layout
2738 * CutAndPaste.C (cutSelection): layout as layout
2739 (pasteSelection): layout as layout
2740 (SwitchLayoutsBetweenClasses): layout as layout
2742 * BufferView_pimpl.C (Dispatch): layout as layout
2743 (smartQuote): layout as layout
2745 * BufferView2.C (unlockInset): layout as layout
2747 2002-06-24 André Pönitz <poenitz@gmx.net>
2749 * lyxfunc.C: fix #487
2751 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2755 * lyxfunc.C: remove display_shortcuts, show_banner
2757 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2759 * Buffer_pimpl.C: oops, update on resize
2761 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2768 * BufferView.C: use repaint()
2770 * BufferView_pimpl.h:
2771 * BufferView_pimpl.C: s/updateScreen()/repaint()/
2772 as it's a clearer description. Remove superfluous
2775 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2777 * text.C: fix bug 488. Not ideal, but getting
2778 getWord() to work properly for the insets that
2779 matter is more difficult ...
2781 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2783 * BufferView_pimpl.C:
2786 * lyxfunc.C: remove the six million index lyxfuncs to just
2787 one, and DTRT (bug 458)
2789 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2793 * BufferView_pimpl.h:
2794 * BufferView_pimpl.C: clean up resize() stuff,
2795 and unnecessary updateScreen()s
2797 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2801 * BufferView_pimpl.h:
2802 * BufferView_pimpl.C:
2805 * minibuffer.C: remove focus management of workarea,
2806 not needed. Use screen's greyOut()
2808 2002-06-17 Herbert Voss <voss@lyx.org>
2810 * converter.C: (convert) do not post a message, when converting
2811 fails, let the calling function decide what to do in this case
2813 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
2815 * lyxfunc.C: tidy up a little
2817 2002-06-16 <alstrup@diku.dk>
2819 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
2820 Got rid of FORMS_H_LOCATION include. Now we are
2823 2002-06-15 LyX Development team <lyx@rilke>
2825 * buffer.[Ch] (sgmlOpenTag):
2826 (sgmlCloseTag): Added support for avoiding pernicious mixed
2827 content. Return number of lines written.
2830 (makeDocBookFile): Fixed calls to sgml*Tag.
2831 Simple white space clean.
2833 (simpleDocBookOnePar): Simple white space clean.
2835 * tabular.[Ch] (docBook): Renamed to docbook and got another
2836 argument to related with the pernicious mixed content.
2838 (docbookRow): Fixed calls for docbook inset method.
2840 2002-06-15 Lyx Development team <larsbj@birdstep.com>
2842 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
2843 so it's X11 independent.
2847 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
2849 2002-06-15 Lyx Development team <lyx@electronia>
2851 * intl.h: Renamed getTrans to getTransManager.
2853 2002-06-14 Angus Leeming <leeming@lyx.org>
2855 * Makefile.am: nuke forgotten stl_string_fwd.h.
2857 2002-06-12 Angus Leeming <leeming@lyx.org>
2859 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
2861 2002-06-13 Angus Leeming <leeming@lyx.org>
2864 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
2866 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
2868 * kbmap.C (getiso): add support for cyrillic and greek
2870 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2874 * BufferView_pimpl.h:
2875 * BufferView_pimpl.C: move bogus scrolling logic
2878 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2881 * BufferView_pimpl.C: view->resize() change
2883 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2885 * BufferView_pimpl.C: topCursorVisible
2888 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2892 * lyx_gui.C: move to frontends/
2896 * lyx_main.C: changes from above
2898 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2905 * lyx_main.C: minor tidy
2907 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2909 * BufferView_pimpl.h:
2910 * BufferView_pimpl.C:
2912 * BufferView.C: make painter() const,
2915 * BufferView2.C: use screen() accessor
2918 * lyx_main.C: some minor cleanup
2920 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2922 * BufferView_pimpl.h:
2923 * BufferView_pimpl.C: remove enter/leaveView,
2926 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2931 * BufferView_pimpl.h:
2932 * BufferView_pimpl.C: only construct screen once,
2935 * lyxrc.C: remove pointless comment
2937 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2940 * BufferView.C: remove active() and belowMouse()
2942 * BufferView_pimpl.h:
2943 * BufferView_pimpl.C: use workarea() not workarea_,
2944 and make it use a scoped_ptr instead
2946 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2948 * lyx_gui.C: add debug message on BadWindow
2950 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2952 * sp_spell.C: fdopen is not part of the C++ standard.
2954 * paragraph.C (InsetIterator): use >= instead of ==
2956 2002-06-07 Angus Leeming <leeming@lyx.org>
2958 Fixes needed to compile with Compaq cxx 6.5.
2959 * BufferView_pimpl.C:
2966 * lyxtextclasslist.C:
2971 all c-library variables have been moved into namespace std. Wrap
2972 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2977 Add a using std::abs declaration.
2979 * kbmap.h (modifier_pair):
2980 * paragraph.h (InsetTable, InsetList):
2981 * lyxfont.h (FontBits):
2982 type definition made public.
2984 * bufferlist.C (emergencyWriteAll): the compiler complains that
2985 there is more than one possible lyx::class_fun template to choose from.
2986 I re-named the void specialisation as lyx::void_class_fun.
2988 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
2990 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
2991 the compiler is is unable to find tostr in write_attribute.
2993 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2995 * buffer.C (sgmlError): hide #warning
2997 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2999 * xtl/*: get rid of xtl, which is not in use anyway
3001 * LyXAction.C (init):
3002 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3003 were unimplemented xtl experimentation
3005 2002-06-04 André Pönitz <poenitz@gmx.net>
3007 * lyxfunc.C: disable array operation on simple formulae
3009 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3011 * converter.C: constify a bit
3013 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3015 * lyx_gui.C: check xforms version correctly
3017 2002-04-30 Herbert Voss <voss@lyx.org>
3019 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3022 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3024 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3025 attempt to register it with a VCS)
3027 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3029 * lyx_main.C (init): honor variables LYX_DIR_13x and
3032 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3036 * lyx_main.C: fix a crash on bad command line,
3037 and give a useful exit status on error
3039 * lyxfunc.C (doImport): allow -i lyx to work
3041 2002-03-30 André Pönitz <poenitz@gmx.net>
3043 * lyxfunc.C: mathed font changes
3045 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3060 * trans_mgr.h: srcdocs, and some minor cleanups
3062 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3064 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3065 call getFont all the time)
3067 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3069 * switch from SigC signals to boost::signals
3071 2002-05-29 André Pönitz <poenitz@gmx.net>
3073 * paragraph_pimpl.C (getChar): don't call size() too often...
3075 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3077 * paragraph_pimpl.C (insertChar): do not try to update tables when
3078 appending (pos == size())
3080 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3081 in order to reduce drastically the number of comparisons needed to
3082 parse a large document
3084 2002-05-29 André Pönitz <poenitz@gmx.net>
3090 * textclasslist.[Ch]:
3091 * sp_ispell.h: whitespace change
3093 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3095 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3096 lyxaction directly now.
3098 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3102 * lyxvc.C: remove unused headers
3104 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3111 * undo_funcs.C: some cleanups. Use shared_ptr
3112 and a template for the undo stacks.
3114 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3116 * BufferView_pimpl.h:
3117 * BufferView_pimpl.C:
3124 * text2.C: use key_state/mouse_state
3126 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3128 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3131 * chset.C: change include order
3132 (loadFile): use boost regex and get rid of LRegex and LSubstring
3134 * Makefile.am (BOOST_LIBS): new variable
3137 * LaTeX.C: change include order.
3138 (scanAuxFile): use boost regex and get rid of LRegex and
3142 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3147 * FontInfo.C: moved to frontends/xforms/
3150 * FontLoader.C: moved into frontends for GUIIzation
3155 * lyxfunc.C: changes from above
3157 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3159 * LColor.C: remove spurious X include
3161 * BufferView_pimpl.C:
3166 * text2.C: move font metrics to frontends/
3168 2002-05-24 Juergen Vigna <jug@sad.it>
3170 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3171 setting the undo_cursor.
3173 * ParagraphParameters.h: include local includes first.
3175 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3177 * BufferView_pimpl.C:
3178 * BufferView_pimpl.h:
3182 * screen.C: move WorkArea into frontends/
3188 * BufferView2.C: move LyXScreen into frontends/
3192 * lyx_gui.C: move lyxlookup into frontends/xforms/
3194 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3197 * BufferView_pimpl.C:
3207 * bufferview_funcs.C:
3220 * vc-backend.C: move LyX/XFormsView into frontends/
3222 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3234 * text2.C: move Painter to frontends/
3236 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3238 * buffer.C: comment out some some code that depend upon lyx_format
3241 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3242 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3244 * buffer.h (NO_COMPABILITY): turn off compability
3246 * ColorHandler.C: include scoped_array.hpp
3248 * font.C: Use more specific smart_ptr header.
3251 * ShareContainer.h: ditto
3255 * BufferView_pimpl.h: ditto
3256 * ColorHandler.h: ditto
3258 * kbmap.C (defkey): change call to shared_ptr::reset
3260 2002-05-21 Juergen Vigna <jug@sad.it>
3262 * buffer.C (insertErtContents): fix to insert ert asis if it is
3263 non empty. Skip it completely if it contains only whitespaces.
3265 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3267 * BufferView_pimpl.C:
3268 * BufferView2.C: clear selection on paste (bug 393)
3270 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3272 * DepTable.C: include ctime
3274 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3276 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3278 2002-05-14 Juergen Vigna <jug@sad.it>
3280 * text.C (breakParagraph): fixed function to honor the keepempty
3281 layout in the right maner and also to permit the right breaking
3282 algorithm on empty or non empyt keepempty paragraphs.
3284 * paragraph.C (breakParagraph): we have to check also if the par
3285 is really empty (!size()) for isempty otherwise we do the wrong
3288 2002-05-10 Juergen Vigna <jug@sad.it>
3290 * buffer.[Ch] : The following are only changes to the ert
3291 compatibility read reading old LaTeX layout and font stuff and
3292 convert it to ERTInsets.
3294 * buffer.h: added isErtInset().
3296 * buffer.C (struct ErtComp): add a fromlayout bool to check
3297 if we're inside a LaTeX layout.
3298 (isErtInset): new helper function.
3299 (insertErtContents): look for other ert insets before this one
3300 and insert the contents there, so that we don't have subsequent
3301 ERT insets with nothing between them. This way we create only one
3302 inset with multiple paragraphs. Also check if we don't insert only
3303 spaces ' ' as they are ignored anyway afterwards in the .tex file
3304 so if we have only spaces we will ignore this latex part in the
3306 (parseSingleLyXformat2Token \\layout): better compatibility when
3307 reading layout-latex stuff.
3308 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3310 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3311 stuff after reading the inset only get the information back from
3314 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
3316 * buffer.C (makeLaTeXFile): Put language options after loading babel.
3318 * LaTeXFeatures.C (getBabelOptions): New method.
3320 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3322 * BufferView_pimpl.C (Dispatch): work around missing argument for
3325 2002-05-08 Juergen Vigna <jug@sad.it>
3327 * text.C (leftMargin): handle paragraph leftindent.
3329 * paragraph.C (writeFile): write the new \\leftindent tag.
3330 (validate): handle leftindent code.
3331 (TeXEnvironment): handle paragraphleftindent code again.
3333 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3335 * buffer.C (parseSingleLyXformat2Token): added compatibility code
3336 for paragrap_extra indent code and new token \\leftindent.
3337 (latexParagraphs): handle the leftindent as environment.
3339 * ParameterStruct.h: added leftindent support.
3341 * ParagraphParameters.C (leftIndent): added support functions for
3342 the paragraph left indent.
3344 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3347 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3349 * paragraph.C (isRightToLeftPar): Return false for a paragraph
3352 * text.C (computeBidiTables): No bidi in insetERT.
3354 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3357 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3359 * version.C.in: pre 5
3361 2002-05-02 José Matos <jamatos@fep.up.pt>
3362 * buffer.C (makeDocBookFile): white space changes, add newline to
3364 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3366 * tabular.C (docBook): fix typo.
3368 2002-05-03 Juergen Vigna <jug@sad.it>
3370 * screen.C (drawFromTo): recalculate the rowpointer if we had a
3371 change in LyXText as we can not be sure it was not freed.
3372 (drawOneRow): remove unused code.
3374 * text.C (drawInset): redo the calculation of the need_break_row as
3375 it could have a row which was already freed.
3376 (draw): look at the return value of drawInset and return false if
3377 it also returned false.
3378 (paintRowText): look at the return value of draw and return false if
3379 it also returned false.
3381 * lyxtext.h: added bool return type to drawInset() and draw() so that
3382 if we have a change in the row so that the rowbreak has to be redone
3383 we abort drawing as it will be called again.
3385 2002-05-02 Juergen Vigna <jug@sad.it>
3387 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3388 a change in the maintext also if we're inside an inset.
3389 (Dispatch): set the cursor again after a break line and after the
3390 screen has been updated as it could be we're in a different row.
3392 * text2.C (fixCursorAfterDelete): check to make sure we don't request
3393 to set the cursor behind the pargraph with > size().
3394 (setCursor): check also for the same paragraph when checking where
3395 to put the cursor if we have a NFR inset.
3397 * buffer.C (parseSingleLyXformat2Token): move the compatibility
3398 parts of layout read further up as it still was in the wrong
3401 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3403 * screen.C (drawFromTo): change sine fullRebreak always return
3406 * buffer.C (parseSingleLyXformat2Token): reindent some
3408 * BufferView_pimpl.C (update): change since fullRebreak always
3410 (Dispatch): git rid of the last hardcoded "Standard"s.
3412 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3414 * text2.[Ch] (fullRebreak): make it return void now that we always
3417 2002-04-30 Juergen Vigna <jug@sad.it>
3419 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3420 ert compatibility check for "latex" layout.
3422 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3424 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3425 minipages: use col% instead of p%, and also use the current font.
3426 (makeLaTeXFile): Fix use babel condition.
3427 (parseSingleLyXformat2Token): Correct font when reading old floats.
3429 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3431 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3432 inserting list of floats.
3434 2002-04-25 Herbert Voss <voss@lyx.org>
3436 * MenuBackend.C (expand): don't add the graphics extensions to the
3439 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3441 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3442 non-existing layout, do not complain if it was the default layout
3443 of the original class (bug #342)
3445 2002-04-24 Juergen Vigna <jug@sad.it>
3447 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3448 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3450 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3452 * buffer.C (getBibkeyList): If using \bibliography, return the
3453 option field with the reference itself. Enables us to provide natbib
3454 support when using \bibliography.
3456 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3458 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3460 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3461 natbib is provided by the LaTeX class.
3463 2002-04-23 Juergen Vigna <jug@sad.it>
3465 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3468 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3470 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3472 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3474 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3475 ensuremath around textordmasculine, textordfeminine and
3478 2002-04-19 Juergen Vigna <jug@sad.it>
3480 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3481 reinitializing the buffer otherwise row-dimensions may be wrong.
3482 (update): reset also the selection cursors if they do exits otherwise
3483 their x/y positions may be wrong.
3485 * text2.C (cursorDown): don't enter the inset if we came from a row
3486 above and are one row over the inset.
3488 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3489 really leaving an inset.
3491 2002-04-18 Juergen Vigna <jug@sad.it>
3493 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3494 of the selected paragraph does not have the selected layout also if
3497 * text2.C (setLayout): fixed bug which did not change last selected
3500 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3501 changed the read and substituted \\end_float with \\end_inset!
3503 * BufferView_pimpl.C (cursorPrevious):
3504 (cursorNext): fixed to make it work with rows heigher than the work
3505 area without moving the cursor only the draw of the row.
3506 (workAreaMotionNotify): fix jumping over high rows.
3508 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3510 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3513 2002-04-16 Juergen Vigna <jug@sad.it>
3515 * text2.C (setCursor): set also the irow().
3516 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3518 (cursorDown): support for locking an inset if the x_fix value goes
3519 inside it. That way I can transverse insets too with cursor up/down.
3521 * lyxrow.h: added irow helper function same as other (i) functions.
3523 * BufferView_pimpl.C (cursorPrevious):
3524 (cursorNext): fixed for insets!
3526 2002-04-15 Juergen Vigna <jug@sad.it>
3528 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3529 position otherwise it is wrong in some cases.
3531 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3532 inside the inset before the call.
3534 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3536 * buffer.[Ch] (getBibkeyList): make it const.
3538 2002-04-12 Juergen Vigna <jug@sad.it>
3540 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
3542 * text2.C (getCursorX): new helper function
3543 (setCursor): compute also ix_
3544 (setCursorFromCoordinates): set also ix.
3546 * lyxcursor.h: added ix_ and helper functions.
3548 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
3550 * buffer.C (insertStringAsLines): dont break paragraph if the this
3551 paragraph is inside an inset which does not permit it!
3553 * text.C (breakParagraph): honor keepempty flag and break the paragraph
3554 also with no chars on this paragraph.
3555 (paintRowText): only paint stuff if it's inside the workarea!
3557 * paragraph.C (breakParagraph): honor keepempty flag and break the
3558 paragraph always below not above.
3560 * BufferView2.C (unlockInset): update the paragraph layout on inset
3561 unlock as we changed paragraph in such a case.
3563 * lyxfind.C (LyXFind): clear the former selection if not found!
3565 * text2.C (insertInset): freeze Undo after setUndo so that it is not
3566 again called in insertChar().
3568 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
3569 an inset which uses the whole row!
3570 (rightMargin): ditto.
3571 (insertChar): force a rebreak if we inserted an inset!
3573 2002-03-28 Herbert Voss <voss@lyx.org>
3575 * lyxlength.[Ch]: add inBP() to get the right PS-point
3576 units (BigPoint). With inPixels we have rounding errors
3578 2002-04-11 Juergen Vigna <jug@sad.it>
3580 * text2.C (setCursorFromCoordinates): set iy to the right value.
3581 (setCursor): add check if row->previous exists!
3583 * buffer.C (parseSingleLyXformat2Token): reset font after read of
3584 an old float_type as this was the case in the old code!
3586 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
3588 * BufferView2.C (showLockedInsetCursor): use iy
3589 (fitLockedInsetCursor): ditto
3591 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
3592 locked insets as there we have the right value now.
3594 * lyxcursor.C: added iy_ variable and iy functions to set to the
3595 baseline of cursor-y of the locked inset.
3597 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
3598 (setCursor): fixed for insets which need a full row.
3600 * text.C (rowLastPrintable): don't ignore the last space when before
3601 an inset which needs a full row.
3602 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
3603 as last character of a row when before a inset which needs a full row.
3605 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3607 * version.C.in: update date
3609 * text2.C (fullRebreak): try to always return true and see what
3612 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3614 * MenuBackend.C (expand): use Floating::listName
3616 * FloatList.C (FloatList): add listName argument to the built-in
3619 * Floating.[Ch]: add listName member, which is the 'List of XXX'
3620 text associated with the float.
3622 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3624 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3626 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3628 * ShareContainer.h: add a couple of missing typenames.
3630 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
3632 * lyxrc.C (getDescription): use _() correctly rather than N_().
3634 2002-03-28 Herbert Voss <voss@lyx.org>
3636 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
3637 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
3639 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3641 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
3642 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
3644 2002-03-29 Juergen Vigna <jug@sad.it>
3646 * lyxfunc.C (dispatch): add a missing fitCursor call.
3648 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
3649 it was scrolled by a cursor move, so return the bool status.
3651 * BufferView.C (fitCursor): return the bool flag also to the outside
3652 world as this is needed.
3654 * screen.C (toggleToggle): don't subtract the offset if it's positive.
3656 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
3657 call the edit() as it is not needed (and wrong) IMO.
3658 (workAreaButtonPress): set the screen_first variable before evt.
3659 unlock the inset as this may change screen_first and then we have
3660 a wrong y position for the click!
3662 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3664 * MenuBackend.C (expand): another translation that I missed
3666 2002-03-28 Juergen Vigna <jug@sad.it>
3668 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
3670 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
3672 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3674 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
3676 * MenuBackend.C (expand): fix export/view/update when there is no
3679 2002-03-27 Herbert Voss <voss@lyx.org>
3681 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
3684 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3686 * bufferview_funcs.C (currentState): only show paragraph number
3687 for is DEVEL_VERSION is set.
3689 * lyxfunc.C (dispatch): put warning in INFO channel
3691 * MenuBackend.C (expand): translate the name of floats
3693 * FloatList.C (FloatList): mark the float names for translation
3695 * converter.C (convert): use LibScriptSearch
3697 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3699 * MenuBackend.C (defaults): fix default menu (we might as well get
3702 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3704 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
3707 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3709 * lyxvc.C: reorder includes.
3711 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
3713 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
3716 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
3718 * CutAndPaste.C: change layouts earlier on paste
3719 to avoid crashing when calling getFont()
3721 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3723 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
3726 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3728 * WorkArea.C: remove 'Pending' debug message.
3730 * most files: ws cleanup
3732 * buffer.[Ch]: ws changes
3734 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
3736 2002-03-21 Juergen Vigna <jug@sad.it>
3738 * tabular.C (SetMultiColumn): collapse also the contents of the
3739 cells and set the last border right. Added a Buffer const * param.
3741 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3743 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
3746 2002-03-19 Juergen Vigna <jug@sad.it>
3748 * text2.C (clearSelection): reset also xsel_cache.
3750 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
3751 where it needs to be called (John tells us to do so too :)
3752 (selectionLost): reset sel_cache.
3754 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
3756 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3758 * text2.C (setCursorIntern): put debuging code in INSETS channel
3760 2002-03-19 André Pönitz <poenitz@gmx.net>
3762 * lyxfunc.C: tiny whitespace change
3764 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3766 * ToolbarDefaults.C (init):
3767 * LyXAction.C (init):
3769 * BufferView_pimpl.C (Dispatch):
3770 * lyxfunc.C (dispatch): remove LFUN_DEPTH
3772 2002-03-19 Allan Rae <rae@lyx.org>
3774 * exporter.C (Export): removeAutoInsets before doing anything else.
3775 While I've just introduced a dependency on BufferView this really is
3776 the best place to clean the buffer otherwise you need to cleanup in
3777 a dozen places before calling export or cleanup in a dozen functions
3780 * converter.C (runLaTeX):
3781 (scanLog): Better handling of removeAutoInsets and screen updates.
3783 * lyxfunc.C (dispatch): small whitespace changes
3785 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3787 * WorkArea.C (C_WorkAreaEvent): return a value.
3788 (event_cb): return 1 if we handled the event, 0 otherwise.
3790 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
3792 2002-03-18 Juergen Vigna <jug@sad.it>
3794 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
3795 (GetAdditionalWidth): ditto.
3799 * BufferView2.C (copy): use getLyXText() so that we do it inside an
3800 inset if we're there actually (probably not used right now but this
3801 is the direction to go for unifying code).
3802 (paste): disable code to clear the selection.
3804 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
3805 inside an InsetText and move the check further up as it is in the
3808 * text2.C (pasteSelection): set a selection over the pasted text.
3810 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
3812 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
3813 and libgraphics to build on Cygwin.
3815 2002-03-15 Juergen Vigna <jug@sad.it>
3817 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
3818 inserting an Inset into the paragraph. I know this is not the best
3819 fix but we already use current_view in CutAndPaste so we will remove
3820 all of it's using at the same time.
3822 * buffer.C (sgmlError): deactivated function till it is rewritten in
3823 the right mode, now it can create problems.
3825 * paragraph.C (isLineSeparator): check if getInset returns != 0,
3826 before accessing it.
3828 2002-03-14 Juergen Vigna <jug@sad.it>
3830 * undo_funcs.C (textHandleUndo): do the right thing when updating
3831 the inset after the undo/redo.
3833 * text2.C (setCursor): just some testcode for #44 not ready yet.
3835 * undo_funcs.C (textHandleUndo): set the next() and previous()
3836 pointers of the paragraph to 0 before deleting otherwise we have
3837 problems with the Paragraph::[destructor].
3839 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
3840 on a paragraph insertion.
3842 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3844 * buffer.C (asciiParagraph): use += operator for char append to
3847 * paragraph.C (getFontSettings): compare >= not just >
3848 (highestFontInRange): ditto
3851 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3853 * paragraph.C: change several algorithm to be more appripriate for
3854 the problem domain. This is lookip in FontList and in the InsetList.
3856 2002-03-13 André Pönitz <poenitz@gmx.net>
3859 * LyXAction.C: remove unused LFUN_MATH_MACROARG
3861 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
3866 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
3868 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3870 * Painter.C (display): anon helper function, adjust code for this
3872 (pixmap): remove function.
3874 * Painter.h: remove private display variable.
3876 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
3878 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
3880 * WorkArea.[Ch]: remove figinset_canvas cruft.
3882 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3884 * lyxtextclass.C (operator): add one item cache optimization.
3886 * bufferlist.h: doxy changes
3888 * bufferlist.C: ws changes
3890 * DepTable.[Ch] (ext_exist): place const in the right spot.
3892 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
3894 (workAreaExpose): call resizeInsets when the with BufferView changes.
3895 (Dispatch): adjust for protectedBlank removal
3896 (specialChar): call updateInset if the insert went ok.
3898 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
3899 specialChar instead.
3901 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
3903 * BufferView.h: doxy change
3905 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
3907 * lyxtextclass.C (operator[]): remove non-const version
3908 (defaultLayout): remove non-const version
3910 2002-03-12 Juergen Vigna <jug@sad.it>
3912 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
3913 did resize the LyXText too.
3915 * buffer.C (readLyXformat2): set layout information on newly allocated
3918 * tabular.C (OldFormatRead): set layout information on the paragraph.
3920 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3922 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
3924 2002-03-11 Juergen Vigna <jug@sad.it>
3926 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
3928 (resizeCurrentBuffer): force also the insets to resize themselfes.
3929 (moveCursorUpdate): fixed up for InsetText.
3931 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
3934 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
3935 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
3936 value of Dialogs::tooltipsEnabled().
3937 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
3939 2002-03-08 Juergen Vigna <jug@sad.it>
3941 * BufferView_pimpl.C (updateInset): update inset inside inset also
3942 if it isn't inside theLockingInset().
3944 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3946 * buffer.C (asciiParagraph): redo some of the word and line length
3948 (getLists): look for Caption instead of caption.
3950 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3952 * buffer.C (Buffer): initialize niceFile to true
3955 (makeDocBookFile): make sure niceFile is true on exit
3957 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3959 * buffer.C (makeLaTeXFile): escape ~ in \input@path
3961 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3963 * LyXSendto.C: remove.
3964 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
3965 * lyx_gui.C: remove now-redundant comment.
3966 * ColorHandler.h: remove forward declaration of class WorkArea.
3967 * lyxfunc.C: remove #include "WorkArea.h".
3969 2002-03-07 Juergen Vigna <jug@sad.it>
3971 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
3972 got moved away with the DEPM and also set the inset_owner always
3973 right which before could have been omitted.
3975 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3977 * buffer.C (parseSingleLyXformat2Token): use default layout is the
3978 wanted layout is not found.
3980 2002-03-07 Juergen Vigna <jug@sad.it>
3982 * CutAndPaste.C (cutSelection): another layout settings forgotten.
3984 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3986 * paragraph.C (breakParagraph): use default layout not layout of
3988 (Paragraph): clear ParagraphParameters.
3990 2002-03-06 Juergen Vigna <jug@sad.it>
3992 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
3993 otherwise it would not be a valid lenght. Fixed a special case in
3994 the minipage compatibility read where we end the document with a
3997 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
3998 was set as it could be 0 for InsetTexts first entry.
4000 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4002 * paragraph.C (writeFile): if layout is empty write out
4003 defaultLayoutName().
4005 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4006 file without named layout we set layout to defaultLayoutName().
4008 2002-03-06 Juergen Vigna <jug@sad.it>
4010 * CutAndPaste.C (copySelection): set layout for new paragraph.
4012 * text.C (prepareToPrint): leave ERT inset left aligned
4013 (leftMargin): don't indent paragraphs inside ERT insets
4015 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4017 * paragraph.C (breakParagraph): dont call clear do the work manually
4019 * paragraph.[Ch] (clear): remove function
4021 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4023 * paragraph.C (Paragraph): dont call clear, the work has already
4026 * lyxtextclass.C (operator): assert if n is empty
4028 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4029 work manually instead.
4031 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4033 * BufferView_pimpl.C: protect selectionLost against text == 0
4035 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4037 * text.C (breakParagraph): fix a setting layout to '0' problem.
4039 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4041 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4042 final location of file, for the included files, and graphics.
4044 2002-03-05 Juergen Vigna <jug@sad.it>
4046 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4048 2002-03-04 Juergen Vigna <jug@sad.it>
4050 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4052 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4053 last column of multicolumn cells.
4054 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4056 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4058 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4059 file if it doesn't go to a temporary file.
4061 * buffer.C (sgmlOpenTag):
4062 (sgmlCloseTag): remove extra newline insertion.
4064 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4066 * text.C (getRowNearY): comment out debug msg
4068 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4070 * text2.C: first -> first_y
4072 * text.C (getRowNearY): add some attemts at a possible
4073 optimization, not working.
4075 * tabular.[Ch]: add BufferParams to several function so that newly
4076 created paragraph can be initialized to he default layotu for the
4079 * tabular-old.C (ReadOld): add buf->params to call of Init
4081 * screen.C: rename text->first to text->first_y
4083 * paragraph.C (breakParagraph): always set layout in the broken
4086 * lyxtextclass.C (Read): remove lowercase
4089 (delete_layout): ditto
4091 * lyxtext.h: rename first -> first_y
4093 * lyxlayout.C (Read): remove lowercase
4096 (obsoleted_by): ditto
4098 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4100 * buffer.C (insertErtContents): add params are to InsetERT
4101 (parseSingleLyXformat2Token): add code to check if a paragraphs
4102 layout really exist.
4103 (parseSingleLyXformat2Token): add params to several inset
4105 (asciiParagraph): remove lowercase, do the layout comparisons with
4108 * BufferView_pimpl.C (cursorNext): first -> first_y
4109 (resizeCurrentBuffer): first -> first_y
4110 (updateScrollbar): first -> first_y
4111 (scrollCB): first -> first_y
4112 (workAreaMotionNotify): first -> first_y
4113 (workAreaButtonPress): first -> first_y
4114 (checkInsetHit): first -> first_y
4115 (cursorPrevious): first -> first_y
4116 (cursorNext): first -> first_y
4117 (Dispatch): add buffer_->params to severl inset contructors
4119 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4121 * lyxlayout.C (Read): remove some debug info that I forgot.
4123 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4124 clean up the code slightly.
4125 (makeLinuxDocFile): ditto
4126 (makeDocBookFile): ditto
4128 * text2.C: layout as string
4130 * text.C: layout as string
4132 * paragraph_pimpl.C: layout as string
4134 * paragraph.[Ch]: layout as string
4136 * lyxtextclasslist.[Ch]: layout as string
4138 * lyxtextclass.[Ch]: layout as string
4140 * lyxtext.h: layout as string
4142 * lyxlayout.[Ch]: layout as string
4144 * lyx_cb.C: layout as string
4146 * bufferview_funcs.C: layout as string
4148 * bufferparams.C: layout as string
4150 * buffer.C: layout as string
4152 * LyXView.[Ch]: layout as string
4154 * LaTeXFeatures.[Ch]: layout as string
4156 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4158 * BufferView_pimpl.C: change current_layout to string, remove
4163 (workAreaButtonRelease): layout as string
4165 * BufferView2.C (unlockInset): adjust
4167 * vspace.C (asLatexCommand): use an explict temp variable.
4169 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4171 * Makefile.am: use FRONTEND_*
4173 2002-03-01 Juergen Vigna <jug@sad.it>
4175 * tabular.C (SetWidthOfMulticolCell): changed to something better
4176 I hope but still work in progress.
4177 (recalculateMulticolumnsOfColumn): renamed function from
4178 recalculateMulticolCells as it is more appropriate now.
4179 (SetWidthOfCell): calculate multicols better.
4181 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4183 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4185 * lyxfunc.C (processKeySym): print sequence also if it is
4186 `deleted' (complete)
4188 * kbsequence.C (print): print sequence even if it is deleted
4189 (complete would be a better word, actually).
4191 * lyxfunc.C (dispatch): print complete options after a prefix key
4193 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4195 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4197 * text2.C (setCharFont): eliminate setCharFont code duplication.
4199 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4201 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4202 LFUN_TABULAR_FEATURE (bug #177)
4204 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4206 * Makefile.am: remove figure.h
4208 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4210 * Bufferview_pimpl.C:
4222 * text2.C: remove #include "lyx_gui_misc.h".
4224 * LaTeX.C: added #include <cstdio>
4226 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4228 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4229 that the paragraph following this one can have.
4231 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4233 * vspace.C (asLatexCommand): fix bogus gcc warning
4235 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4237 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4239 * text2.C (setLayout): get rid of redundant code
4241 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4243 * text2.C (incDepth): make sure depth cannot be increased beyond
4246 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4248 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4249 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4251 * PainterBase.h (image):
4252 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4255 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4259 * BufferView_pimpl.C:
4260 * BufferView_pimpl.h:
4280 * sp_spell.C: remove fig inset, and the crap house of
4281 cards that follows it
4283 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4289 * nt_defines.h: move .h into support/
4291 * vms_defines.h: remove
4293 * WorkArea.C: add space in debug output
4297 * buffer.C: add WITH_WARNINGS
4301 * bufferlist.C: s/retrive/retrieve/, add docs
4312 * lyxgui.C: add ID to X error handler
4314 * lyxtestclass.c: fix typo
4316 2002-02-26 Juergen Vigna <jug@sad.it>
4318 * tabular_funcs.C (write_attribute): changed so that some default
4319 attributes are not written at all.
4320 (getTokenValue): set default values before trying to read the
4321 value so we have the return value always set as default if we don't
4322 find the token we search for.
4324 * tabular.C (Write): write bools as bools not as strings!
4326 2002-02-22 Juergen Vigna <jug@sad.it>
4328 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4329 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4331 * text.C (leftMargin): don't add an indent for paragraphs inside
4332 tabular cells (fix #208).
4334 2002-02-21 José Matos <jamatos@fep.up.pt>
4336 * tabular.C (docBook): fixed support for long tables.
4338 2002-02-20 Juergen Vigna <jug@sad.it>
4340 * text2.C (getFont): get the drawing font of the Inset if this
4341 paragraph is inside an inset (only important for InsetERT for now).
4343 * buffer.C (insertErtContents): use new lanugage params in ERT
4346 * CutAndPaste.C: commenting out seemingly uneeded code.
4348 2002-02-19 Allan Rae <rae@lyx.org>
4350 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4351 Iterators might be simple to use but they also get invalidated.
4352 (removeAutoInsets): renamed saved cursor tracking variables and added
4353 some comments to clarify what everything does.
4355 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4362 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4363 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4366 * vc-backend.h: remove #include "support/syscall.h"
4370 * converter.C: rearrange #includes in Lars' approved fashion.
4372 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4373 forward declare class Timeout in the header file.
4375 * XFormsView.C: changes due to the above.
4377 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4380 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4381 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4383 2002-02-18 José Matos <jamatos@fep.up.pt>
4385 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4388 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4390 * a lot of small ws changes
4391 * add a lot of using std::XXX
4392 * use std construcs some places where approp.
4393 * use some exisint stuff from lyxfunctional where approp.
4394 * Make file changes to use partial linking (lets test this now...)
4396 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4400 remove #include "support/syscontr.h" as it's redundant. Always has been.
4408 change Systemcalls::System to Systemcalls::Wait and
4409 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4410 No change of functionality, just reflects the stripped down Systemcalls
4413 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4415 * debug.[Ch]: add a GRAPHICS type to the enum.
4417 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4419 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4421 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4424 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4426 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4427 match the changes below.
4429 * text2.C (toggleInset): if there is not editable inset at cursor
4430 position, try to see if cursor is _inside_ a collapsable inset
4433 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4435 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4436 document menu has a nice checkbox
4438 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4440 * lyxlength.C (asLatexString): change PW to output as percent of
4443 * lengthcommon.C: change '%' to 't%'
4445 * lyxfunc.C (dispatch): a few comments from Martin
4447 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
4451 * BufferView_pimpl.h:
4452 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4455 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4457 * vspace.C (inPixels): fix compiler warning
4459 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4461 * lyxfunc.C (getStatus): fix status message for disabled commands.
4463 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4465 * BufferView_pimpl.C: fix crash on close buffer
4466 during selection (#227)
4468 2002-01-27 Herbert Voss <voss@lyx.org>
4470 * buffer.C: link old Figure to new graphic inset
4472 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4474 * FontLoader.C (getFontinfo): Change the latex font names in order
4475 to match the names of type1inst.
4477 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4479 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4481 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4484 (remove_files_with_extension): ditto
4485 (remove_file): ditto
4488 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4489 document is smaller than the work area height. Do not initialize
4490 static variables to 0.
4492 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4494 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4496 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4497 LFUN_LAYOUT_PARAGRAPHS.
4499 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4500 tabular. It is possible to provide a possible cell, which will
4501 typically be the actcell from the corresponding insettabular
4503 * lyxfunc.C (getStatus): small cleanup; disable
4504 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4507 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4509 * tabular.C (Validate): remove broken optimization (fixes bug #201)
4511 * paragraph.C (startTeXParParams):
4512 (endTeXParParams): new methods. The LaTeX code to
4513 start/end paragraph formatting
4514 (simpleTeXOnePar): call startTeXParParams also when paragraph is
4515 empty (fixes bug #200)
4517 * vspace.C (inPixels): adapt to the change below
4518 (inPixels): [later] more cleanups (remove unused variables)
4520 * lyxlength.C (inPixels): change to use a width and a height as
4523 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4525 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4526 Replaced with \paperwidth
4528 * DepTable.C (insert): add std:: qualifier
4530 2002-01-18 Allan Rae <rae@lyx.org>
4532 * text2.C (removeRow): add comment. Should other refresh_?? vars be
4535 * text.C (drawInset): Turned out I didn't know enough about how
4536 rebreaking worked. This fixes most of the redraw problems. I see
4537 an occasional cursor trail when a line is broken now and the cursor
4538 placement can seem out by a few pixels also after a rebreak.
4540 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4542 * buffer.C (parseSingleLyXformat2Token): update because minipage
4543 width is now a LyXLength
4545 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
4547 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
4550 2002-01-17 Juergen Vigna <jug@sad.it>
4552 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
4554 * BufferView2.C (lockInset): call edit() so that theLockingInset()
4555 is set correctly and the inset is updated correctly.
4557 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4559 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
4560 the beginning of the loop.
4562 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
4564 * lyxrc.C: improve help for use_scalable_fonts
4566 2002-01-17 Allan Rae <rae@lyx.org>
4568 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
4570 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4572 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4573 make sure to set their inset_owner to the right value (bug #171)
4575 2001-12-12 Ben Stanley <bds02@uow.edu.au>
4578 * DepTable.C: Implement mtime checking to reduce time spent doing
4581 2002-01-16 Juergen Vigna <jug@sad.it>
4583 * tabular.C (GetAdditionalHeight): one of error fixed.
4585 * lyxrc.C (output): small fix in writing use_pspell.
4587 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
4589 * sp_base.h: #include LString.h
4591 2002-01-16 Allan Rae <rae@lyx.org>
4593 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
4594 Can someone check this please?
4596 * text.C (drawInset): It was possible that p.row would be removed by
4597 breakAgainOneRow upsetting a few other settings. There may be another
4598 small tweak possible by setting need_break_row = 0 when p.row has been
4599 removed but I don't know enough about the logic here.
4601 2002-01-15 Allan Rae <rae@lyx.org>
4603 * text.C (insertChar): removed conditional truism.
4605 * BufferView2.C (removeAutoInsets): More tweaks.
4606 cur_par_prev could be a stray pointer. Check for trailing empty line
4607 in case last line was cur_par and only had an error inset on it.
4609 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4611 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
4614 * vc-backend.C (most methods):
4615 * exporter.C (Export):
4616 * converter.C (convert):
4618 * LyXSendto.C (SendtoApplyCB):
4619 * lyxfunc.C (dispatch):
4623 * lyx_cb.C (AutoSave):
4625 * BufferView_pimpl.C (MenuInsertLyXFile):
4626 * buffer.C (runChktex): use Buffer::filePath().
4628 * buffer.h: rename filename to filename_; rename filepath to
4629 filepath_ and make it private
4630 (filePath): new method
4632 * buffer.C (writeFile): use fileName()
4635 * lyx_main.C (init): fix starting of LyX when the binary is a
4636 link from so,ewhere else.
4638 * minibuffer.C: include <cctype> for isprint
4640 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4642 * buffer.C (parseSingleLyXformat2Token): changes associated with the
4643 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
4644 name clash with InsetCollapsable's width function.
4646 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4648 * lastfiles.C: include <iterator>
4650 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4652 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
4655 * buffer.C (makeLaTeXFile): ditto.
4656 Also make loop operation more transparent.
4658 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4660 * ToolbarDefaults.C: remove trailing comma closing namespace.
4662 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
4664 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
4667 * trans.C (Load): comment out unused variable, allowed.
4669 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4671 * minibuffer.[Ch] (append_char): new method to recieve input from the
4672 drop-down completion browser. If a key was pressed, then recieve this
4673 char and append it to the existing string.
4674 (peek_event): modify the positioning data passed to the completion
4675 browser so that it can be placed above the minibuffer rather than below.
4676 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4678 * LyXAction.C (init): alloe error-next for readonly documents.
4680 * BufferView2.C (ChangeRefsIfUnique): use standard version of
4683 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4685 * bufferlist.C (readFile): create the buffer _after_ checking that
4688 * lyxfunc.C (verboseDispatch): fix handling of arguments
4690 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
4692 * lyxrc.C: use string::erase() instead of initializing to "".
4695 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4697 * BufferView_pimpl.h:
4698 * BufferView_pimpl.C:
4701 * text2.C: tell X when we have made a selection for copying
4703 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4705 * BufferView_pimpl.C (MenuInsertLyXFile):
4706 * lyxfunc.C (menuNew):
4708 (doImport): add shortcuts to directory buttons
4710 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
4713 * lyxfunc.C (setStatusMessage):
4714 (getStatusMessage): new methods
4715 (getStatus):use setStatusMessage instead of setErrorMessage
4716 (dispatch): when function is disabled, set error message here
4717 [instead of in getStatus previously]
4719 * BufferView_pimpl.C (workAreaButtonRelease): update
4720 toolbar/menubar here too.
4722 2002-01-13 Allan Rae <rae@lyx.org>
4724 * BufferView2.C (removeAutoInsets): finished off earlier fix.
4725 Now seems indestructible. Remaining task is to audit all other
4726 code affected by deleteEmptyParagraphMechanism. One small quirk
4727 left is that an empty document with an error in the preamble can
4728 be made to report an error but no error box appears. I don't know
4730 (removeAutoInsets): Improved comments.
4732 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
4735 * Thesaurus.C: update for Aiksaurus 0.14
4737 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4739 * text2.C (firstParagraph): removed member function, all uses
4740 replaces with ownerParagraph
4741 (redoParagraphs): here
4743 (toggleAppendix): here
4744 * BufferView2.C (insertErrors): here
4745 (setCursorFromRow): here
4747 2002-01-13 Allan Rae <rae@lyx.org>
4749 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
4750 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
4751 There is still a way to segfault this although you may have to do this
4752 multiple times: Have an InsetERT with an unknown command in it.
4753 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
4754 <down-arrow>, <Enter> again, View->DVI, BANG!
4756 * text2.C (setCursor):
4757 (deleteEmptyParagraphMechanism):
4758 * lyxtext.h (setCursor):
4759 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
4760 Making use of the return value may help fix other bugs.
4762 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4764 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
4766 * LyXView.C (updateMenubar): call MenuBar::update here
4767 (updateToolbar): but not here
4768 (showState): do not update toolbar/menubar
4770 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
4771 should need to care about that.
4773 * lyxfunc.C (verboseDispatch): simplify a bit
4774 (getStatus): have a version which takes a pseudoaction, and
4775 another which requires a (kb_action,string).
4777 * LyXAction.C (retrieveActionArg): make it work also when action
4778 is not a pseudo-action.
4779 (getActionName): simplify a bit
4782 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4784 * lyxfunc.C (verboseDispatch): new families of methods with
4785 several ways to specify a command and a bool to indicate whether
4786 the command name and shortcut should be displayed in minibuffer
4787 (eventually, we could extend that to a finer bitmask like
4788 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
4789 (dispatch): the pristine dispatch command which just, well,
4790 dispatchs! Note it still sets its result to minibuffer; I'm not
4793 * lyxfunc.h: remove setHintMessage
4795 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
4797 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4799 * BufferView_pimpl.C (specialChar): delete new inset if we have
4800 not been able to insert it.
4802 * kbmap.C: revert to using int instead of kb_action, since all we
4803 are dealing with is pseudo-actions.
4805 * LyXAction.C (searchActionArg): change to return int instead of
4806 kb_action, since the result is a pseudoaction.
4808 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
4810 * buffer.C (insertErtContents): Fix (partially) the font bug.
4812 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4814 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
4815 as the other one is broken on my machine!
4817 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
4820 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
4822 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
4824 * lyxrc.[Ch]: change names and descriptions of popup font variables to
4825 reflect their actual use. Provide compatibility code for older lyxrc
4828 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
4830 change names of popup font variables in line with the changes to lyxrc.C
4832 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4834 * buffer.C (asciiParagraph): avoid outputing a word twice after
4837 * lyxrc.C (getDescription): document that document_path and
4838 template_path can be empty.
4840 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4842 * LaTeXFeatures.C (getMacros):
4843 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
4845 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
4847 * LaTeXFeatures.C (useFloat): require "float" here instead of in
4849 (getPackages): rename feature "floats" to "float". Use an array to
4850 iterate over 'simple' features (i.e. just a \usepackage). Add
4851 handling of "amsmath" (renamed from "amsstyle").
4853 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
4855 * LaTeXFeatures.C (require): Prevent duplicate entries in the
4858 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
4860 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
4861 FuncStaus::FuncStatus & FuncStaus::some_method().
4863 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4865 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
4866 of the func_satus stuff. Edited and massaged in various ways by
4869 * lyxfunc.C (getStatus): use FuncStatus
4871 2002-01-08 Juergen Vigna <jug@sad.it>
4873 * text.C (nextBreakPoint): use function Inset::isChar().
4875 * paragraph.C (TeXOnePar): use function
4876 Inset::forceDefaultParagraphs.
4878 * buffer.C (latexParagraphs): use function
4879 Inset::forceDefaultParagraphs.
4881 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4883 * lyx_gui.C (init): set the style of the menu popups to
4884 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
4886 2002-01-07 Juergen Vigna <jug@sad.it>
4888 * text.C (setHeightOfRow): small fix
4889 (prepareToPrint): don't look at alignment if we don't have the place
4892 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4894 * box.C: New file. Move the Box methods and functions out of box.h,
4895 following Lars' suggestion.
4897 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4899 * box.h: #include "support/LOstream.h", needed for inlined function.
4902 * lyxtextclasslist.C: added some using std declarations.
4904 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
4906 * box.h: make signed dimensions to allow insets wider than
4907 the screen (bug #162)
4909 * BufferView_pimpl.C: add some insetHit debug
4911 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4913 * vc-backend.C: add FIXME
4915 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4917 * lyxfunc.C (getStatus): enable code for showing math font status
4920 2002-01-07 Juergen Vigna <jug@sad.it>
4922 * text.C (nextBreakPoint): removed debug output not needed anymore.
4924 2002-01-06 Juergen Vigna <jug@sad.it>
4926 * text.C (nextBreakPoint): fixed up this function we had this bug
4927 since ever but now hopefully we break row better.
4928 (insertChar): we have to check if an inset is the next char as it
4929 could now happen that a large inset is causing a break.
4931 2002-01-05 Juergen Vigna <jug@sad.it>
4933 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
4934 if it doesn't like to be drawed.
4936 2002-01-04 Juergen Vigna <jug@sad.it>
4938 * BufferView2.C (lockInset): forgot to set a cursor.
4940 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
4942 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
4947 * form_maths_panel.C:
4948 * form_maths_panel.h:
4949 * form_maths_panel.fd: implemented sub- and super- buttons in math
4952 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
4953 (or ^ space) to be used as in TeX (req'd by André).
4955 * lyxfunc.C: Allow ^ and _ again to be used both as
4956 super/subscript (mathed) and as themselves (in text).
4958 2002-01-03 Allan Rae <rae@lyx.org>
4960 * LyXView.C (updateWindowTitle): Setup a short icon title of either
4961 "LyX" or the filename of the current buffer if it has one. This is a
4962 modified form of John Levon's patch.
4964 * XFormsView.C (setWindowTitle): also set icon title.
4966 * LyXView.h (setWindowTitle): signature changed.
4967 * XFormsView.h (setWindowTitle): ditto.
4969 2002-01-02 Juergen Vigna <jug@sad.it>
4971 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
4973 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4975 * screen.C (topCursorVisible): introduce a temp var for
4976 text->cursor.row(), handle the case where this row is null. (kindo
4979 * text2.C (setCursor): add a couple of asserts.
4981 * paragraph.h (inset_iterator): add -> operator
4983 * paragraph.[Ch] (autoDeleteInsets): remove member function
4985 * BufferView2.C (removeAutoInsets): rewrite to handle the old
4986 cursor pos correctly and handle inset deletion by itself.
4987 (insertErrors): move iterator declaration out of for expression
4989 * lyxtextclass.C: add <algorithm>
4991 * Makefile.am: added the new files to sources, removed layout.C
4993 * layout.C: removed file
4995 * layout.h: remove LYX_DUMMY_LAYOUT
4997 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5001 * lyxtextclass.[Ch]:
5002 * lyxtextclasslist.[Ch]: new files
5004 * include order changes to a lot of files, also changes because of
5007 2001-12-27 Juergen Vigna <jug@sad.it>
5009 * buffer.C (asciiParagraph): more fixes.
5011 * tabular.C (ascii): make ascii export support export of only the
5012 data separated by a column-delimiter.
5013 (ascii): better support for ascii export.
5015 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5017 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5019 * tabular_funcs.C: use a "using std::getline" instead of the
5020 previous fix from Angus (necessary for cxx + lyxstring)
5022 2001-12-24 Juergen Vigna <jug@sad.it>
5024 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5026 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5027 problems. First check a minipage also if we have some ert-contents
5028 (not only on par->size(), second set the right depth of the paragraph
5029 on the relink to the root-paragraph-list!
5031 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5032 which then did not anymore update the main paragraphs on undo/redo!
5034 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5036 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5037 code. Support all font-changing funcs (even those which are not in
5038 menu currently). Support for reporting font settings in
5039 mathed (disabled until Andre provides a function on mathed's side).
5041 * func_status.h (toggle): small helper function to set toggle
5044 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5046 * tabular_funcs.C: getline -> std::getline
5048 2001-12-21 Juergen Vigna <jug@sad.it>
5050 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5051 accessed and could be 0 (I couldn't generate this but it seems
5054 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5056 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5057 * tabular_funcs.h: here and include iosfwd
5059 2001-12-20 Juergen Vigna <jug@sad.it>
5061 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5062 inside inset but undo_par was.
5064 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5066 * Thesaurus.C: always include <config.h> in sources.
5070 * box.h: do not include <config.h> in header files
5072 * text.C (paintLastRow): remove unused variable
5074 * text.C (transformChar):
5076 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5079 * font.C (width): rewrite to use uppercase() instead of
5082 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5084 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5086 * lyxfind.C: clean up of find failure position change
5088 2001-12-20 Juergen Vigna <jug@sad.it>
5090 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5092 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5093 (TeXRow): added to LaTeX a single tabular row.
5094 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5095 (Latex): simplified and finally good LT-h/f support.
5096 (various_functions): just small adaptions for LT-h/f support.
5098 * tabular_funcs.[hC]: added and moved here all not classfunctions
5101 2001-12-19 Juergen Vigna <jug@sad.it>
5103 * tabular.[Ch]: better support for longtabular options (not finished
5106 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5108 * text.C (paintLastRow): use the label font instead of the font of
5109 the last character to compute the size of *_BOX. This makes more
5110 sense and avoids a crash with empty paragraphs.
5111 Use Painter::rectangle to draw EMPTY_BOX.
5113 2001-12-19 Juergen Vigna <jug@sad.it>
5115 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5116 the paragraphs if the replaced paragraph is not the first one!
5117 Tried to delete not used paragraphs but does not work yet so for
5118 now it's inside #ifdef's and by default off!
5120 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5122 * MenuBackend.C: include "lyx_main.h" instead of declaring
5123 lastfiles (actually was declared as LastFiles* instead of a
5126 2001-12-17 Juergen Vigna <jug@sad.it>
5128 * tabular.C (AppendColumn): applied John's fix
5130 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5134 * BufferView_pimpl.h:
5135 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5138 * box.h: new start of class for above
5140 * lyxfunc.C: ignore space-only minibuffer dispatches.
5141 Show the command name when it doesn't exist
5143 * minibuffer.C: don't add empty lines to the history
5145 * minibuffer.C: add a space on dropdown completion
5147 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5149 * text.C: fix line above/below drawing in insets
5151 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5153 * lyxlength.C (LyXLength): Initialize private variables.
5155 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5157 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5158 when inserting error insets.
5160 2001-12-13 Juergen Vigna <jug@sad.it>
5162 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5163 actually sometimes the before-paragraph.
5164 (setUndo): don't clear the redostack if we're not actually undoing!
5166 2001-12-06 Juergen Vigna <jug@sad.it>
5168 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5169 and fixed redoing of main paragraph, so we can use it now ;)
5171 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5173 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5175 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5178 2001-12-13 André Pönitz <poenitz@gmx.net>
5181 * undo_func.C: minor cleanup
5183 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5185 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5186 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5187 font in urw-fonts package which is marked as -urw-fontspecific and
5188 does not work (incidentally, changing the encoding in the
5189 fonts.dir of this package to -adobe-fontspecific fixes the
5192 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5193 is a crash when undoing first paragraph (Juergen, please take a
5194 look). THis does not mean the undo fix is wrong, just that it
5197 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5198 the (Paragraph*) version when needed instead of duplicating the
5201 * text.C (workWidth): use Inset::parOwner to find out where the
5202 inset has been inserted. This is a huge performance gain for large
5203 documents with lots of insets. If Inset::parOwner is not set, fall
5204 back on the brute force method
5206 * paragraph_pimpl.C (insertInset):
5207 * paragraph.C (Paragraph):
5208 (cutIntoMinibuffer): set parOwner of insets when
5209 inserting/removing them
5211 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5213 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5219 * mathed/formulabase.C:
5220 * mathed/math_cursor.[Ch]:
5221 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5224 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5226 * lyxlength.[Ch] (operator!=): new function
5228 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5230 * text.C (workWidth): use Inset::parOwner to find out where the
5231 inset has been inserted. This is a huge performance gain for large
5232 documents with lots of insets. If Inset::parOwner is not set, fall
5233 back on the brute force method
5235 * paragraph_pimpl.C (insertInset):
5236 * paragraph.C (Paragraph):
5237 (cutIntoMinibuffer): set parOwner of insets when
5238 inserting/removing them
5240 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5242 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5244 * tabular-old.C (getTokenValue):
5245 * tabular.C (getTokenValue):
5246 (write_attribute): new versions for LyXLength
5247 (everywhere): adjust the use of widths
5249 * tabular.h: change the type of widths from string to LyXLength
5251 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5253 * paragraph.C: fixed missing line number count when exporting
5254 Environments to LaTeX file
5256 * buffer.C: added informational message for checking line numbers.
5258 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5260 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5261 paragraph, do the 'double space' part, but not the 'empty
5264 * text.C (workWidth): small optimization
5265 (getLengthMarkerHeight): use minimal size for negative lengths.
5267 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5269 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5271 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5273 2001-12-11 André Pönitz <poenitz@gmx.net>
5276 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5278 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5280 * text2.C: keep selection on a setFont()
5282 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5284 * lyx_cb.C: another bv->text misuse, from insert label
5286 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5289 * kbsequence.C: re-instate nmodifier mask
5291 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5293 * lyx_main.h: make lyxGUI private.
5295 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5297 * lyxfind.C: place the cursor correctly on failed search
5299 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5301 * text.C (getLengthMarkerHeight): for small heights, the arrows
5302 are not always on top/bottom of the text
5303 (drawLengthMarker): smaller arrows; take the left margin in
5304 account; draw also vfills.
5306 (paintLastRow): remove special code for vfill and standard spaces,
5307 since everything is handled in drawLengthMarker now.
5309 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5311 * buffer.C (insertErtContents): try to handle font and language
5312 interaction a bit better.g
5314 * ColorHandler.C (updateColor): change the hash to cover the whole
5315 LColor enum, ws cleanup
5316 (getGCLinepars): ditto
5317 (getGCLinepars): only lookup in the linecache once.
5319 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
5321 * iterators.C (operator++): Make the iterator more robust
5323 * BufferView2.C (removeAutoInsets): Use paragraph iterators
5325 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5327 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5330 * text.C: better added space drawing
5332 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5335 * BufferView2.C: fix layout combo update on inset unlock
5337 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5339 * Makefile.am: don't compile unused files
5341 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5345 * LyXAction.C: remove old LFUN_LAYOUTNO
5347 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5349 * paragraph_pimpl.h:
5350 * paragraph_pimpl.C: isTextAt() doesn't need font param
5352 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5355 * lyxlex.C: little cleanup
5357 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5359 * BufferView_pimpl.C: fix insertAscii for insets
5361 2001-12-05 Juergen Vigna <jug@sad.it>
5363 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5364 set the right font on the "multi" paragraph paste!
5366 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5372 * lyxlength.C: remove out-commented code.
5388 * vc-backend.C: change "while(" to "while ("
5390 * lyxlength.[Ch]: add zero function to check if length is zero or
5392 * lyxgluelength.C: use it
5394 2001-12-05 Allan Rae <rae@lyx.org>
5396 * lyxlength.C: Attempted a fix for the abs(int) header selection.
5397 Works for 2.95.3, from what I understand of Garst's reports this should
5398 work for other g++ versions. We're screwed if the abs(int) definition
5399 changed between bugfix releases of gcc.
5401 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5403 * text.C: fix chapter label offset !
5405 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5408 * text.C: fix hfill at end of line, clean up
5410 2001-12-04 Juergen Vigna <jug@sad.it>
5412 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5413 that we force an update of the inset and it's owners if neccessary.
5415 2001-12-03 Juergen Vigna <jug@sad.it>
5417 * text.C (rowLast): simplified code
5419 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5421 * lyxfunc.C: fix show options on timeout
5423 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5425 * screen.C (topCursorVisible): scroll half a page when the cursor
5426 reached top of bottom of screen
5428 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5430 * minibuffer.C: deactivate on loss of focus
5432 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5434 * vspace.[Ch] (operator!=): add operator.
5436 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5438 * BufferView_pimpl.C: refuse to open an inset when
5439 there's a selection.
5441 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
5443 * BufferView_pimpl.C: allow to click on RHS of full row insets
5445 2001-11-30 Juergen Vigna <jug@sad.it>
5447 * tabular.C (LyXTabular): add a same_id to set the same id's in the
5448 insets for undo reasons.
5450 2001-11-28 André Pönitz <poenitz@gmx.net>
5452 * vspace.[Ch]: cosmetical changes
5454 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5464 * kbsequence.C: part re-write of old kb code
5467 * WorkArea.C: remove Lgb_bug_find_hack
5469 2001-11-30 José Matos <jamatos@fep.up.pt>
5471 * buffer.C (makeDocBookFile): add a comment to point a hack.
5472 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5473 Fixed a double write of labels.
5475 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5478 * LaTeX.h Fixed bug in LaTeX class where it would not
5479 re-run latex if no depfiles were changed, but the .dvi was removed.
5481 2001-11-28 André Pönitz <poenitz@gmx.net>
5483 * all the files from the change on 2001/11/26:
5484 use lyx::layout_type instead of LyXTextClass::size_type
5485 use lyx::textclass_type instead of LyXTextClassList::size_type
5487 2001-11-29 Juergen Vigna <jug@sad.it>
5489 * text.C: added support for paragraph::isFreeSpacing()
5491 * buffer.C: same as above
5493 * paragraph.h: inserted isFreeSpacing() function to enable
5494 FreeSpacing inside InsetERT.
5496 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5497 of the paragraph's in the cut/copy buffer to 0!
5499 * text2.C (removeRow): remove the assert as it can!
5501 * lyxtext.h: added helper function firstRow returning firstrow and
5502 made firstrow private again.
5504 * BufferView2.C (lockInset): don't relock if we're already locked!
5506 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5508 (removeRow): added Assert::(firstrow)
5510 * debug.C: forgot to add INSETTEXT here.
5512 2001-11-28 Juergen Vigna <jug@sad.it>
5514 * sp_spell.C (initialize): changed error text to more general
5515 spellchecker command use (not only ispell!)
5517 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5519 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5521 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5523 * vspace.C: initialise lyxgluelength on failure
5525 2001-11-28 Allan Rae <rae@lyx.org>
5527 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5528 declaration & definition that looks like a function declaration.
5530 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5532 * BufferView2.C (copy):
5533 (copyEnvironment): do not clear the selection when doing a copy.
5535 * text.C (paintFirstRow): compilation fix
5537 2001-11-27 Ben Stanley <bds02@uow.edu.au>
5539 * tabular.C (Latex): correct line count when writing latex.
5541 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
5543 * paragraph_pimpl.h:
5544 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
5547 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5551 * LColor.C: change vfillline->added_space
5553 * text.C: add markers and text for added space
5555 * vspace.C: fix comment
5557 2001-11-28 André Pönitz <poenitz@gmx.net>
5559 * paragraph.C: whitespace changes
5560 * all the other files from the change on 2001/11/26:
5561 change *::pos_type into lyx::pos_type
5563 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
5565 * buffer.C (parseSingleLyXformat2Token): Set the language to the
5566 language of the document when inserting error insets.
5568 2001-11-26 André Pönitz <poenitz@gmx.net>
5570 * BufferView_pimpl.[Ch]:
5578 * paragraph_pimpl.[Ch]:
5581 * text2.C: reduce header dependencies, introduce type for positions
5583 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5585 * <various>: change to use Alert.h
5587 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
5589 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
5590 when encountering an unknown token.
5591 (readLyXformat2): Show an error message if there were unknown tokens.
5593 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5596 * BufferView_pimpl.C:
5600 * text2.C: use par->isInset()
5602 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5604 * paragraph_pimpl.h:
5605 * paragraph_pimpl.C: cleanup
5607 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5609 * text2.C (removeRow):
5610 * text.C (setHeightOfRow): remove useless (and costly) call to
5613 2001-11-20 Allan Rae <rae@lyx.org>
5615 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
5616 Now need Inset*::checkInsertChar() to return true for appropriate
5617 cases so that the characters in the minibuffer will actually be
5620 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5622 * text.C: change the order of the includes.
5623 (workWidth): initialize it at once.
5624 (workWidth): make maxw unsigned
5625 (setHeightOfRow): remove unused variable (inset)
5626 (selectSelectedWord): remove unused variable (inset)
5627 (paintRowText): fix drawing of hfill characters, and clean up a bit.
5629 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5631 * lyxserver.C (emergencyCleanup): do not try to close pipes if
5632 server is not running.
5634 (closeConnection): add debug info when server is disabled.
5636 * ColorHandler.C (getGCForeground): send debug message to GUI
5639 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
5641 * kbmap.C (bind): modify because return conventions of
5642 kb_sequence::parse have changed.
5644 * kbsequence.C (parse): only ignore spaces and not any stupid
5645 control character. This avoids tests like s[i] <= ' ', which are
5646 guaranteed to fail with 8bit characters and signed chars.
5647 Change return code to string::npos when there have been no error
5648 (0 was a bad idea when error is at first character)
5650 2001-11-14 José Matos <jamatos@fep.up.pt>
5653 * buffer.C (simpleDocBookOnePar): removed unused argument.
5655 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5657 * text.C (selectNextWordToSpellcheck): do not test explicitely for
5658 insets which are part of a word. Paragraph::isLetter takes care of
5659 that now. Use Paragraph::isInset to identify insets.
5660 (selectSelectedWord): do not test for hyphenation break.
5662 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
5663 that protected spaces are considered as spaces.
5665 * paragraph.C (isLetter): cleanup the code for ispell extras; use
5668 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
5671 * lyxserver.C: fix it. and small cleanup.
5673 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5675 * BufferView_pimpl.C: use inline helpers
5678 * LaTeXFeatures.C: fix typos
5681 * Spacing.C: move spacing_string into class
5683 * ToolbarDefaults.C: move stuff into namespace anon
5685 * layout.h: update enum
5687 * lyxfunc.C: use better debug
5689 * minibuffer.h: fix typo
5693 * WorkArea.C: add and use Debug::WORKAREA
5697 * text2.C: code re-organisation, inline helpers
5699 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
5701 * Layout.C: replaced a few cases of std::vector.size() == 0 with
5702 std::vector.empty().
5704 2001-11-09 Allan Rae <rae@lyx.org>
5706 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
5707 '\n's after tables. Tabular and ERT inset work now makes this no
5710 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5713 * minibuffer.C: fix crash, improve drop-down completion
5715 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
5718 * lyxserver.C: invalidate fd's when doing endPipe()
5720 2001-11-08 José Matos <jamatos@fep.up.pt>
5722 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
5723 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
5726 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
5728 2001-11-07 José Matos <jamatos@fep.up.pt>
5731 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
5734 * buffer.C (sgmlOpenTag):
5735 * buffer.C (sgmlCloseTag): removed debug info.
5737 * buffer.h (sgmlOpenTag):
5738 * buffer.h (sgmlCloseTag): made public.
5740 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5742 * buffer.C (saveParamsAsDefaults):
5743 * lyx_cb.C (MenuLayoutSave): remove
5745 * LyXAction.C (init):
5747 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
5749 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5751 * buffer.C (setPaperStuff): removed from here...
5753 * bufferparams.C (setPaperStuff): ... and moved there.
5755 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
5759 * XFormsView.C: add support for drop-down completion
5761 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
5763 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
5766 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5768 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
5771 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5773 * lyx_main.C: change ref to known bugs
5775 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5777 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
5778 to work around older babel problems.
5780 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5782 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
5784 2001-10-24 Juergen Vigna <jug@sad.it>
5786 * tabular-old.C (ReadOld): below variable changes reflected.
5788 * tabular.[Ch]: added ltType struct for longtable header/footer
5789 defines and changed all instances where they are used. Added
5790 future support for double top/bottom rows.
5792 2001-10-24 José Matos <jamatos@fep.up.pt>
5794 * buffer.h (docbookHandleCaption):
5795 * buffer.C (docbookHandleCaption): removed unused function.
5796 (makeDocBookFile): moved docbook supported version to v4.1.
5798 2001-10-24 José Matos <jamatos@fep.up.pt>
5801 * tabular.C (docbookRow): new function to export docbook code of a row.
5802 (DocBook): now honors the longtable flags.
5804 2001-10-23 José Matos <jamatos@fep.up.pt>
5807 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
5808 of the lyx defined sgml entities used in a docbook/linuxdoc document.
5810 * buffer.C (makeLinuxDocFile):
5811 (makeDocBookFile): reworked the preamble, more clean, and with
5812 support for lyx defined entities. Changed the document declaration
5813 to be more XML friendly.
5815 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
5816 if we need to output XML that should be done with a filter.
5818 2001-10-22 Juergen Vigna <jug@sad.it>
5820 * sp_pspell.h (class PSpell): add alive function needed in the
5821 controller to see if the spellchecker could be started.
5823 2001-10-22 Juergen Vigna <jug@sad.it>
5825 * buffer.C (insertStringAsLines): modify the font for inserting
5826 chars in certain conditions by calling checkInsertChar(font).
5828 2001-10-19 Juergen Vigna <jug@sad.it>
5830 * text.C (workWidth): use getRow instead of wrong algorithm.
5831 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
5833 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
5838 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
5840 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5842 * text.C (workWidth): do not search for the exact row when
5843 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
5844 optimization for big documents.
5846 2001-10-18 Juergen Vigna <jug@sad.it>
5848 * text.C (workWidth): new function with added Inset * parameter.
5850 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5852 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
5854 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
5855 change return type of getColumnNearX.
5858 * text.C (changeRegionCase): use uppercase/lowercase instead of
5861 (rightMargin): simplify code by factoring out the uses of
5866 (appendParagraph): use Paragraph::size_type
5868 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5870 * vspace.C (asLatexString): add a missing break
5872 2001-10-15 Herbert Voss <voss@perce.de>
5874 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
5876 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5878 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
5881 2001-10-10 André Pönitz <poenitz@gmx.net>
5883 * lyxfunc.C: removed greek_kb_flag.
5885 2001-10-10 Herbert Voss <voss@perce.de>
5887 * lyx_main.C: delete global string help_lyxdir.
5889 2001-10-09 Herbert Voss <voss@perce.de>
5891 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
5893 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
5895 * lyx_main.C: added global string help_lyxdir.
5897 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
5899 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5901 * lyxrc.C (set_font_norm_type): support iso8859-4
5903 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
5905 * LaTeX.C (deplog): add another regex for MikTeX
5907 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
5909 * lyxrc.C (set_font_norm_type): support iso8859-3
5911 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5913 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
5915 * LaTeXFeatures.C: remove special case of french and index
5917 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
5918 before \begin{document}). This solves several incompatibilities.
5920 2001-10-03 Garst Reese <reese@isn.net>
5922 * lyx_cb.C: change CheckTex error msg.
5924 2001-10-03 José Matos <jamatos@fep.up.pt>
5926 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
5928 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5930 * .cvsignore: update
5932 * lyx_main.C (commandLineVersionInfo): use new style version info.
5934 * buffer.C (writeFile):
5937 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
5939 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
5941 * version.h: update to use stuff in version.C
5943 * version.C.in: new file. Contains version information determined
5944 at compile time. This is a merging of version.h and
5947 2001-10-03 Juergen Vigna <jug@sad.it>
5949 * BufferView_pimpl.C (update): don't change "dirty" status in
5952 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
5954 * WorkArea.C (c-tor): re-position version string slightly.
5956 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
5958 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
5959 revert to previous code.
5961 WorkArea.[Ch]: (show, destroySplash): methods removed.
5963 WorkArea.C: rework code so that it's an amalgam of the codes before and
5964 after the splash screen was moved to WorkArea.
5966 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5969 * vspace.C (inPixels):
5972 * buffer.C (insertStringAsLines):
5973 (asciiParagraph): fix types to be large enough
5975 * lyxlex_pimpl.h: change member status from short to int
5977 * layout.h: fix type of endlabeltype
5980 * kbsequence.C (parse): change return type to string::size_type
5982 * LaTeX.C (updateBibtexDependencies): comment out unneeded
5985 * Bullet.C (bulletSize):
5986 (bulletEntry): do not use short ints as parameters
5988 * BufferView2.C (insertLyXFile): change a char to an int.
5990 * WorkArea.C (WorkArea): remove unneeded floats in computation
5992 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
5994 * buffer.C (asciiParagraph): Treat '\\' as other chars.
5996 * paragraph.C (asString): Do not ignore newline/hfill chars when
5997 copying to the clipboard.
5999 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6001 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6002 after a multi-line inset.
6004 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6006 * paragraph.C (validate): Set NeedLyXFootnoteCode
6008 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6010 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6011 and decrease-error to decrease.
6013 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6015 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6016 it more readable (should be equivalent)
6018 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6020 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6022 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6024 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6025 of a cursor (row, etc.) after a character has been deleted
6026 (deleteEmptyParagraphMechanism): call the method above on _all_
6027 cursors held by the LyXText when a double space has been
6030 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6032 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6034 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6036 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6037 background. Use greyOut() and the new show() methods to toggle between
6038 the foreground and background. Add code to remove the splash after
6039 its initial showing.
6041 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6042 (create_forms): no longer call Dialogs::showSplash.
6044 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6046 * .cvsignore: add version_info.h
6048 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6050 * version_info.h.in: new file
6052 * Makefile.am: add version_info.h.in
6054 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6055 version_info.h instead of VERSION_INFO
6057 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6059 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6060 The ERT inset now returns string().
6062 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6064 * lyxtext.h, text.C (selectNextWord): renamed as
6065 selectNextWordToSpellcheck.
6067 * text.C (selectNextWordToSpellcheck): Modified to not select
6068 words inside an ERT inset.
6070 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6072 * lyx_cb.C (MenuLayoutSave): change a bit the question
6074 * sp_base.h: include <sys/types.h>
6076 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6078 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6080 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6082 * several files: fix typos in user-visible strings
6084 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6086 * text2.C (pasteSelection): do not set the selection, since it
6087 will be cleared later. Actually, the intent was to fix the way the
6088 selection was set, but I figured rmoving the code was just as good.
6090 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6092 * FontLoader.C (available): Check if font is available without
6095 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6097 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6099 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6101 * lyxrc.[Ch]: added display_graphics variable and associated code.
6103 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6105 * bufferparams.C (hasClassDefaults): new method. Returns true if
6106 the buffer parameters correspond to known class defaults
6108 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6110 * XFormsView.C (show): set minimum size to the main window.
6112 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6114 * text2.C (copySelection):
6116 * lyxfind.C (LyXReplace):
6117 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6118 LyXText::selectionAsString.
6120 * paragraph.C (asString): add "label" argument to the second form
6122 * text2.C (selectionAsString): add "label" argument and pass it to
6123 Paragraph::asString.
6125 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6127 * lyx_main.C (commandLineHelp): remove version information
6129 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6131 * lyx_main.C: add -version commandline option
6133 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6135 * paragraph.h: make the optional constructor arg required instead.
6136 some modifications to other files because of this.
6138 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6140 * lyxserver.C (C_LyXComm_callback): make it static
6142 * lyx_main.C (error_handler): make it static
6144 * lyx_gui.C (LyX_XErrHandler): make it static
6146 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6148 * WorkArea.C: make the extern "C" methods static.
6150 * Makefile.am (lyx_LDADD): simplify
6152 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6154 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6155 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6157 * LyXAction.C (init):
6158 * lyxfunc.C (dispatch): associated code removal.
6160 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6162 * lyxfont.h (isSymbolFont): shut off warning
6164 * text.C (setHeightOfRow):
6165 (getVisibleRow): fix crash with empty paragraphs which have a
6168 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6170 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6173 2001-09-04 José Matos <jamatos@fep.up.pt>
6176 * tabular.C (docbook): rename docBook method to docbook.
6178 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6180 * Makefile.am: add dependencies to main.o.
6182 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6184 * FontLoader.C (available): Return false if !lyxrc.use_gui
6186 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6188 * FontInfo.C (query):
6189 * converter.C (view):
6190 * importer.C (Import):
6191 * exporter.C (Export): Can not -> cannot.
6193 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6195 * BufferView_pimpl.C: allow to create index inset even if
6198 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6200 * buffer.C (getLists): replace boost::tie code with an explicit pair
6201 as boost::tie can break some compilers.
6203 * iterators.h: Added a std:: declaration to the return type of
6206 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6208 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6211 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6213 * iterators.[Ch]: New files. Provide paragraph iterators.
6215 * buffer.C (changeLanguage): Use paragraph iterators.
6216 (isMultiLingual): ditto
6218 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6220 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6222 * FontLoader.C: Support for cmr font.
6224 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6226 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6227 (available): New method.
6229 * FontInfo.C (getFontname): Use scalable fonts even when
6230 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6233 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6235 * converter.C (Formats::view): reverted! Incorrect fix.
6237 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6239 * converter.C (Formats::view): only output the -paper option
6240 if the dvi viewer is xdvi, thereby fixing bug #233429.
6242 2001-08-23 Herbert Voss <voss@perce>
6244 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6246 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6248 * Spacing.h (Spacing): Set space to Default on in the default
6251 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6253 * vc-backend.h (RCS::versionString): add RCS to version
6254 (CVS::versionString): add CVS to version
6256 * vc-backend.C (scanMaster): do not add CVS to version.
6257 (scanMaster): do not add RCS to version
6259 * lyxvc.C (versionString): new method
6261 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6263 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6265 * Spacing.C (set): initialize fval
6267 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6269 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6272 2001-08-16 Juergen Vigna <jug@sad.it>
6274 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6276 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6278 * BufferView_pimpl.C:
6281 * text2.C: setParagraph takes linespacing now
6283 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6285 * LyxAction.C: add internal LFUN_CITATION_INSERT
6287 * LyXView.C: actually apply fix
6289 * bufferlist.C: fix open non-existent file
6291 * lyxfind.C: fix indentation
6293 * lyxfunc.C: remove unneeded assert, fix typo
6295 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6297 * MenuBackend.C: use "Floatname List"
6299 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6301 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6302 when converting LaTeX layout to insetERT.
6303 Generate a non-collapsed float when reading old float
6305 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6307 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6310 2001-08-13 Juergen Vigna <jug@sad.it>
6312 * text.C (fill): return 0 instead of 20 as this seems to be the more
6315 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6317 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6320 2001-08-13 Juergen Vigna <jug@sad.it>
6322 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6324 (SearchBackward): comment out the unlocking of the inset_owner this
6325 should not be needed!
6327 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6329 * Many files: Remove inherit_language, and add latex_language
6331 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6334 2001-08-10 Juergen Vigna <jug@sad.it>
6336 * text.C (prepareToPrint): fixed hfill-width in draw!
6338 * BufferView2.C (selectLastWord): save the selection cursor as this
6339 now is cleared in the function LyXText::clearSelection!
6341 2001-08-08 Juergen Vigna <jug@sad.it>
6343 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6344 BACKSPACE type functions.
6346 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6347 is only cutted from the document but not put in the cut-buffer, where
6348 still the old stuff should be.
6350 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6352 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6354 * tabular.C (SetWidthOfCell): fixed special case where the width
6356 (LeftLine): handle '|' in align_special.
6358 (LeftAlreadyDrawed): ditto
6359 (SetWidthOfCell): ditto
6361 2001-08-07 Juergen Vigna <jug@sad.it>
6363 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6365 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6367 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6368 * lyxlex.[hC]: ditto
6370 2001-08-06 Juergen Vigna <jug@sad.it>
6372 * text.C (getVisibleRow): fix up row clearing a bit.
6374 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6376 * minibuffer.C: make sure the X server sees the changes in the input.
6378 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6380 * paragraph.C (getFont): split into...
6381 (getLabelFont): this
6382 (getLayoutFont): and this
6383 * paragraph_pimpl.C (realizeFont): calling this
6385 * text2.C (getFont): split into...
6386 (getLayoutFont): this
6387 (getLabelFont): and this
6388 (realizeFont): all three calling this
6390 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6393 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6395 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6397 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
6399 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6400 layouts from the Quote inset insertion.
6402 2001-08-03 Juergen Vigna <jug@sad.it>
6404 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6406 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6407 only if status not is already CHANGED_IN_DRAW (second level).
6409 * text.C (draw): don't set the need_break_row when inside an
6412 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6414 * buffer.C (parseSingleLyXformat2Token): handle more latex
6417 * bufferview_funcs.[hC]: change function names to
6418 begin with small char, adjust other files.
6420 2001-08-02 André Pönitz <poenitz@gmx.net>
6423 BufferView_pimpl.C: remove broken special code for math-greek
6425 2001-08-02 Juergen Vigna <jug@sad.it>
6427 * BufferView_pimpl.C (update): redone this function so that we
6428 update the text again if there was a CHANGE_IN_DRAW.
6430 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6431 (drawFromTo): added a new internal bool which is used by draw() and
6433 (general): some cursor drawing problems fixed.
6435 2001-08-01 Juergen Vigna <jug@sad.it>
6437 * lyxfind.C (LyXFind): fixed
6438 (SearchForward): ditto
6439 (SearchBackward): ditto
6441 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6442 spurius drawing of the cursor in the main area.
6444 * text2.C (status): small fix which could lead to a segfault!
6445 (clearSelection): remove unneeded BufferView param.
6447 2001-08-01 André Pönitz <poenitz@gmx.net>
6449 * lyxfunc.C: small change due to changed mathed interface
6451 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6453 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6455 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6457 * lyxfunc.c: fail gracefully if file doesn't exist
6462 * BufferView_pimpl.C: IsDirWriteable() proto changed
6464 * LyXView.C: fix updateWindowTitle() to store the last title
6466 2001-07-31 Juergen Vigna <jug@sad.it>
6468 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6469 the font (wrong since using of Paragraph::highestFontInRange).
6471 * paragraph.C (highestFontInRange): added a default_size parameter.
6473 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6474 (setHeightOfRow): reformat
6476 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6478 * converter.[hC] + affected files: move to (inital-char)lowercase
6481 * ParagraphParameters.C (ParagraphParameters): remove commented code
6483 * PainterBase.[Ch]: remove commented code
6485 * LaTeXFeatures.h: add "bool floats" for float.sty
6487 * LaTeXFeatures.C (LaTeXFeatures): init floats
6488 (require): handle float
6489 (getPackages): do it with floats
6491 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6493 * BufferView_pimpl.C (Dispatch): improve handling of
6494 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6496 * commandtags.h: #include lyxfont.h here temporarily to avoid
6499 * bufferlist.h: include LString.h here.
6501 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6503 * text2.C (getStringToIndex): new method.
6505 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
6507 * *: Reduced header file dependencies all over.
6509 2001-07-30 Baruch Even <baruch@lyx.org>
6511 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6513 2001-07-29 Baruch Even <baruch@lyx.org>
6515 * buffer.C (readInset): Changed GRAPHICS to Graphics.
6517 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6519 * ParameterStruct.h (endif): add a default constructor to make
6520 sure that all variables is initialized.
6522 * ParagraphParameters.C (ParagraphParameters): adjust
6524 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6526 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6527 index; also, check that there is something to index, and that it
6528 does not span over several paragraphs.
6529 (doubleClick): use WHOLE_WORD_STRICT for double click.
6531 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6533 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6536 2001-07-26 Baruch Even <baruch@lyx.org>
6538 * buffer.C (readInset): Changed to call up InsetGraphics when reading
6539 an InsetFig figure, backwards compatible reading of old figure code.
6541 2001-07-27 Juergen Vigna <jug@sad.it>
6543 * text2.C: font.realize function adaption.
6545 * text.C (draw): add a warnings lyxerr text if needed.
6547 * layout.C: font.realize function adaption.
6549 * language.C: add inherit_language and implement it's handlings
6551 * bufferview_funcs.C (StyleReset): remove language parameter from
6552 font creation (should be language_inherit now).
6554 * bufferparams.C (writeFile): handle ignore_language.
6556 * paragraph.C (getFontSettings): the language has to be resolved
6557 otherwise we have problems in LyXFont!
6559 * lyxfont.C (lyxWriteChanges): added document_language parameter
6560 (update): removed unneeded language parameter
6562 * paragraph.C (validate): fixed wrong output of color-package when
6563 using interface colors for certain fonts in certain environments,
6564 which should not seen as that on the final output.
6566 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
6568 * BufferView_pimpl.C:
6573 * LyXAction.C: add thesaurus support
6576 * lyxfind.C: add "once" parameter, for thesaurus, to not
6577 move to the next match
6579 2001-07-26 Juergen Vigna <jug@sad.it>
6581 * lyxfont.C (realize): honor ignore_language too!
6584 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
6586 * text.C (draw): one place more for ignore_language to not draw
6589 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
6591 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
6593 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6595 * buffer.C (parseSingleLyXformat2Token): a more general fix for
6596 the minipage conversion problem.
6598 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6600 * buffer.C (parseSingleLyXformat2Token): check minipage if we
6603 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6605 * BufferView.h: don't forward declare WorkArea
6607 * BufferView.C: don't include WorkArea.h
6609 2001-07-25 André Pönitz <poenitz@gmx.net>
6613 * lyxfunc.C: new LFUN 'math-space'
6615 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
6617 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6619 * text2.C (toggleInset): call open/close
6621 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6623 * lyxfunc.C (dispatch): add debug for the disabled case
6625 * font.C (buttonText): make similar to rectText
6627 * buffer.C (readInset): comment out parsing of insetlist and
6630 * PainterBase.C (rectText): small correction
6632 * BufferView_pimpl.C: comment out insettheorem and insetlist
6633 * LyXAction.C: ditto
6634 * commandtags.h: ditto
6636 2001-07-24 Juergen Vigna <jug@sad.it>
6638 * text.C (draw): honor the ignore_language.
6640 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
6642 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6644 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
6647 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6649 * lyxtext.h: remove unused (and unimplemented) methods
6651 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6653 * text.C (getVisibleRow): honor background color
6656 * Painter.h: remove default color argument for fillRectangle
6658 * text.C (backgroundColor): new method
6660 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6662 * text.C (getVisibleRow): adjust
6664 * font.[Ch] (rectText): new method, metrics
6665 (buttonText): new method, metrics
6667 * PainterBase.[hC]: make rectText and buttonText always draw and take
6670 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6672 * ToolbarDefaults.C (read):
6673 * MenuBackend.C (read): allow escaping in all strings
6675 * BufferView_pimpl.C (insertAndEditInset): new method.
6676 (Dispatch): use insertAndEditInset whenever appropriate.
6678 * BufferView_pimpl.C (insertNote): removed
6680 * BufferView_pimpl.C (smartQuote): new method, moved from
6681 BufferView; if an insetquote cannot be inserted, insert a '"'
6684 * BufferView2.C: remove insertCorrectQuote();
6686 * lyxfunc.C (getStatus): Add support for all remaingin
6689 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
6691 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
6692 command (necessary to pass " as parameter of self-insert.
6694 * text.C (selectWordWhenUnderCursor):
6695 (selectWord): add word_location parameter
6696 (selectWordWhenUnderCursor): same + remove special code for word
6698 (selectNextWord): use kind() to guess type of insetspecialchar,
6701 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
6702 (insertErtContents): create ert insets as collapsed.
6703 (readInset): better compatibility code for Info inset.
6705 2001-07-20 Juergen Vigna <jug@sad.it>
6707 * lyxfunc.C (dispatch): use always LyXFind now!
6709 * text2.C (init): add a reinit flag so that the LyXText can be
6710 reinited instead of deleted and reallocated (used in InsetText).
6712 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
6718 2001-07-18 Juergen Vigna <jug@sad.it>
6720 * text.C (selectNextWord): handle insets inside inset by calling
6721 always the bv->text functions so that we can go up the_locking_inset!
6723 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
6724 in strange locations when inside an inset!
6726 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
6727 handling to include insets.
6729 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
6731 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6733 * LyXAction.C (init):
6735 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
6736 LIGATURE_BREAK, since the name is so stupid.
6738 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6740 * buffer.C (readInset): enable reading of new InsetNotes as well as old
6743 * FontLoader.C: remove FORMS_H_LOCATION cruft.
6745 * sp_form.[Ch]: remove.
6747 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
6749 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
6752 * src/buffer.C (readInset): ditto.
6754 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6756 * BufferView_pimpl.C (specialChar): new method. Obsoletes
6757 menuSeparator(), endOfSentenceDot(), ldots() and
6758 hyphenationPoint(), which are therefore removed.
6759 (Dispatch): handle LFUN_HYPHENATION_BREAK.
6761 * LyXAction.C (init):
6762 * commandtags.h: add LFUN_HYPHENATION_BREAK.
6764 * paragraph.C (getWord): removed.
6766 * BufferView_pimpl.C (Dispatch): use last word or selection for
6767 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
6769 * lyx_main.C (queryUserLyXDir): do not ask before creating
6770 user_dir, except if it has been named explicitely.
6772 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6774 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
6775 a document of zero size.
6777 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6779 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
6780 approriately in the c-tor and in require().
6781 (getPackages): output the appropriate LaTeX for natbib support.
6783 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
6784 variables "use_natbib" and "use_numerical_citations" when reading the
6786 (readInset): read the various natbib cite commands.
6787 (validate): white-space change.
6789 * bufferparams.[Ch]: new variables "bool use_natbib" and
6790 "bool use_numerical_citations".
6791 (writeFile): output them in the LyX file.
6793 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6795 * lyxfunc.C (getStatus): add support for all the inset insertion
6798 * text2.C (insertInset):
6799 * paragraph.C (insetAllowed):
6800 * BufferView_pimpl.C (insertInset): update to take in account the
6801 renaming of insertInsetAllowed
6803 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
6805 * text2.C (getInset): new method. returns inset at cursor position.
6807 * BufferView_pimpl.C (Dispatch): changes because of this.
6809 * LyXAction.C (init): rename open-stuff to inset-toggle.
6811 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
6813 * text2.C (toggleInset): renamed from openStuff; use
6816 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6818 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
6820 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
6822 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
6824 * buffer.C (readLyXformat2): Add filename to the error dialog
6826 2001-07-18 Juergen Vigna <jug@sad.it>
6828 * tabular.C (GetCellNumber): put an assert here instead of the check!
6830 2001-07-17 Juergen Vigna <jug@sad.it>
6832 * BufferView_pimpl.C (toggleSelection): adapted too.
6834 * text.C (selectNextWord): adapted for use with insets.
6835 (selectSelectedWord): ditto
6837 2001-07-17 Juergen Vigna <jug@sad.it>
6839 * sp_spell.C (PSpell): fix initialitation order.
6841 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6843 * paragraph.C: spacing
6845 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
6847 * sp_spell.C: repair language selection for pspell
6849 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6851 * lyxfunc.h: change more methods to begin with lower char.
6853 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
6855 * buffer.C (parseSingleLyXformat2Token): Generate error insets
6856 for unknown layouts.
6858 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
6860 * buffer.C (readLyXformat2): Generate an error dialog if there are
6863 2001-07-16 Juergen Vigna <jug@sad.it>
6865 * sp_spell.C: always compile ISpell part.
6867 * lyxrc.C: added use_pspell entry and it's handling.
6869 2001-07-13 Juergen Vigna <jug@sad.it>
6871 * sp_spell.C: removed double includes.
6873 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6875 Consistent use of Lsstream.h:
6876 * Lsstream.h: added using std::stringstream for consistencies sake.
6878 * buffer.C: removed using std::stringstream
6880 * lyxfont.C (stateText):
6881 * paragraph.C (asString):
6882 * text.C (selectNextWord, selectSelectedWord):
6883 * text2.C (setCounter):
6884 * vspace.C (asString, asLatexString):
6885 std::ostringstream -> ostringstream.
6887 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6889 * LyXAction.C: add LFUN_HELP_ABOUTLYX
6890 * commandtags.h: add LFUN_HELP_ABOUTLYX
6891 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
6893 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6895 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
6897 * lyx_gui_misc.C: remove spellchecker
6898 * lyxfunc.C: showSpellchecker
6900 * sp_ispell.h: added
6901 * sp_pspell.h: added
6903 * sp_form.[Ch]: removed
6904 * spellchecker.[Ch]: removed
6906 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
6908 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
6910 (simpleTeXSpecialChars): Simply print the input character without
6911 any special translation if pass_thru is set.
6913 * layout.h: Added bool pass_thru to layout class for being able to
6914 implement pass through of a paragraph for Literate Programming.
6916 * layout.C: add LT_PASS_THRU to LayoutTags enum.
6917 * layout.C (LyXLayout): set pass_thru to flase in constructor.
6918 * layout.C (Read): add "passthru" to list of layout tags and add
6919 code to set the pass_thru boolean when it is read.
6921 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6923 * trans_decl.h: remove allowed from KmodInfo
6925 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
6929 * paragraph_pimpl.C (erase): use boost::prior
6931 * Painter.C (text): use data() instead of c_str() when length is
6933 * WorkArea.C (putClipboard): ditto
6934 * font.h (width): ditto
6936 * BufferView2.C: use it-> instead of (*it). for iterators
6938 * paragraph_pimpl.C: ditto
6939 * paragraph.C: ditto
6940 * minibuffer.C: ditto
6945 * converter.C: ditto
6947 * Variables.C: ditto
6948 * TextCache.C: ditto
6949 * MenuBackend.C: ditto
6950 * LyXAction.C: ditto
6952 * FloatList.C: ditto
6954 * ColorHandler.C (LyXColorHandler): ditto
6956 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6958 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
6960 * text2.C (openStuff): reintroduce this method (which had been
6961 nuked in NEW_INSETS frenzy).
6963 * lyxfunc.C (Dispatch): when an action has not been handled, use
6964 its name in the error message, not its number.
6966 * paragraph.C (inInset): change method name to begin with lowercase.
6969 * text2.C: updates because of this.
6971 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6973 * ToolbarDefaults.C (add): add spaces in error message
6975 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6977 * buffer.C (readLyXformat2): initialize the ert comp. variables.
6978 (readLyXformat2): rename return_par to first_par, use lyxlex's
6979 pushToken and remove the manual push handling.
6980 (parseSingleLyXformat2Token): add another ert comp. variable:
6981 in_tabular, rename return_par to first_par. handle newlines better
6983 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6985 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
6987 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6989 * text2.C (getParFromID): removed
6991 * buffer.C (getParFromID): new method moved form lyxtext.
6992 * BufferView2.C (insertErrors): adjust
6993 (setCursorFromRow): adjust
6994 * BufferView_pimpl.C (restorePosition): adjust
6995 * lyxfunc.C (Dispatch): adjust
6996 * undo_funcs.C (textUndo): adjust
6998 (textHandleUndo): adjust
6999 (textHandleUndo): adjust
7001 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7003 * buffer.C: up' the LYX_FORMAT
7005 * lyxfont.h: turn NO_LATEX on as default
7007 * buffer.C (insertErtContents): new methods of tex style compability.
7008 (parseSingleLyXformat2Token): use it several places.
7009 * tabular.C (OldFormatRead): and here
7011 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7013 * text2.C: remove some commented code.
7016 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7017 * trans.C: changes because of the above.
7019 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7021 * text2.C (setCounter): Fix counters bug with bibliography layout.
7023 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7025 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7026 own member functions
7027 (simpleTeXSpecialChars): ditto
7029 2001-07-06 Juergen Vigna <jug@sad.it>
7031 * a lot of files: changed the access to LyXText::status and the
7032 call of undo-functions.
7034 * undo.[Ch]: added a inset_id to the undo informations.
7036 * undo_funcs.[Ch]: added and moved here all undo functions.
7038 * lyxtext.h: give the status enum a weight, made status_ a private
7039 variable and made accessor functions for it, removed the whole bunch
7040 of undo-functions as they are now in their own file, make some
7041 functions publically available. Added function ownerParagraph with
7044 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7045 made InInset() a const function, added getParFromID() function.
7047 * buffer.[Ch]: added const version for inset_iterator functions,
7048 added getInsetFromID() function.
7050 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7051 changed undo functions for new version.
7053 2001-07-05 Juergen Vigna <jug@sad.it>
7055 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7056 unknow mechanism does not call the proper constructor but only this
7057 one also if I request the other!?
7059 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7061 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7063 * text2.C (LyXText): use initialization lists.
7065 * lyxtext.h (Selection): initialize set_ and mark_
7066 (init): remove method
7068 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7070 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7072 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7074 * screen.[Ch]: change method names to begin with lowercase
7076 * BufferView_pimpl.C (updateScrollbar): simplify further and
7077 hopefully make it a bit faster.
7079 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7081 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7082 calling directly xforms functions.
7084 * Painter.C (Painter):
7085 * lyx_cb.C (MenuWrite):
7086 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7089 * lyx_gui.C: remove bogus guiruntime extern declaration.
7091 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7093 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7095 (redoDrawingOfParagraph): ditto
7096 (redoParagraphs): ditto
7097 (cutSelection): don't create a object for CutAndPaste use the
7098 static method directly
7099 (pasteSelection): ditto
7101 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7104 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7106 * modifications to some other files because of this.
7108 * Makefile.am (lyx_SOURCES): add XFormsView
7110 * XFormsView.[Ch]: new files
7112 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7113 the main window. Move the gui dependent stuff to XFormsView
7115 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7117 * tabular.C (GetCellInset): update cur_cell also in the row/col
7118 version of this function.
7120 * lyxfunc.C: no need to include figure_form.h here.
7126 * lyxvc.C: no need to include forms.h here.
7128 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7130 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7132 * lyxfunc.C (Dispatch):
7134 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7135 constructor argument.
7137 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7139 * paragraph.C (Paragraph): dont't clear, and just set layout.
7140 (makeSameLayout): use params's copy contructor.
7142 * ParagraphParameters.[Ch] (makeSame): delete method
7144 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7146 * Variables.[Ch]: fix indentation, rename set to isSet
7148 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7150 * lyxfunc.C (Dispatch): fix typo
7152 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7154 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7157 * bufferlist.C: include assert.h for emergencyWrite().
7159 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7161 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7162 give up at last (bug #425202) !
7164 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7170 * spellchecker.C: strip spellchecker options and bring up
7171 preferences tab instead
7173 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7175 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7176 the istringstream constructor
7178 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7180 * paragraph.C (getLayout): fix return value
7182 * paragraph.h: do not declare getLayout as inline.
7184 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7186 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7188 * lyxcursor.h (operator<): new func
7189 (operator>): new func
7190 (operator>=): new func
7191 (operator<=): new func
7193 * text.C (changeCase): use selection.start and selection.end
7194 (changeRegionCase): require from to be <= to. Require par to be a
7197 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7199 2001-06-27 Juergen Vigna <jug@sad.it>
7201 * text.C (cursorLeftOneWord): changed to return the cursor and added
7202 overlay with BufferView * parameter which calls this one.
7204 (selectWord): use new getWord function.
7205 (changeCase): renamed from changeWordCase as and extended to work
7208 * lyxtext.h: added enum word_location
7210 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7211 changeCase as this operates now also on selections.
7213 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7215 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7217 * many files: send debug output to Debug::INFO instead of
7220 * converter.C (View):
7222 (Move): send debug output to Debug::FILES instead of console.
7224 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7226 * lyxfunc.C (getStatus): use func_status
7228 * func_status.h: new header, describing the results of
7231 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7234 2001-06-25 The LyX Project <jug@sad.it>
7236 * buffer.C (sgmlOpenTag):
7238 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7240 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7242 * text2.C: remove some dead code
7244 * tabular.C (GetCellInset): store the last cell checked (gotten)
7246 * tabular.h: add the helper for the speedup
7248 * lyxtext.h: remove some dead code
7250 2001-06-26 The LyX Project <Asger>
7252 * paragraph.C: Change export to LaTeX of alignment to
7253 \begin{center} and family for better roundtrip work with reLyX.
7255 * Tune the math drawing a bit.
7257 2001-06-25 The LyX Project <Asger>
7259 * LColor.C (LColor): New color for math background. New color
7262 2001-06-25 The LyX Project <jug@sad.it>
7264 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7267 * bufferlist.C (newFile): do not restrict to files ending with
7270 * BufferView_pimpl.C (MenuInsertLyXFile):
7272 2001-06-24 The LyX Project <jug@sad.it>
7274 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7277 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7279 * lyxtext.h: rename most methods to begin with a small char.
7280 Lots of changes because of this.
7282 * paragraph.C (Paragraph): do not call fitToSize
7283 (erase): call Pimpl::erase
7284 (insertChar): call Pimpl::insertChar
7285 (insertInset): call Pipl::insertInset
7286 (breakParagraph): do not call fitToSize
7287 (breakParagraphConservative): do not call fitToSize
7288 (fitToSize): remove method
7290 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7292 2001-06-24 The LyX Project <Asger>
7294 * Fix Qt compilation^2
7296 2001-06-24 The LyX Project <jug@sad.it>
7298 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7299 depthHook(getDepth()-1).
7302 * ParagraphParameters.h:
7303 * ParameterStruct.h: change type of depth to unsigned int ==
7304 depth_type. Many adaptations to other files before of that.
7306 2001-06-24 The LyX Project <Asger>
7308 * Fix Qt compilation.
7310 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7312 * paragraph.h: renamed several methods to begin with small letter.
7313 several changes to many parts of the code because of this.
7315 2001-06-23 The LyX Project <jug@sad.it>
7317 * text2.C (InsertStringAsLines): renamed from InsertStringA;
7318 rewritten to discard all double spaces when KeepEmpty is off
7319 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7320 to only handle newlines but not fiddle with spaces and friends.
7322 * lyxfunc.C (MenuNew): when doing 'new from template', use
7323 template_path as default directory
7325 2001-06-23 The LyX Project <Asger>
7327 * Clean-up of header file includes all over
7328 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7330 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7332 * paragraph.h: renamed from lyxparagraph.h
7334 2001-06-23 Asger <lyx@violet.home.sad.it>
7336 * Buffer.h: Removed Buffer::resize
7337 * BufferList.h: Removed BufferList::resize
7338 * LyXView.h: Added LyXView::resize. This way, we will only reflow
7339 the document lazily when we change the width, or the font settings.
7341 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7343 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7345 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7347 * buffer.h: remove out of date comment
7349 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7352 * screen.C: fix "theoretical" GC leak
7354 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7356 * LaTeX.C (scanAuxFile):
7357 (deplog): remove trailing \r when reading stream (useful under
7360 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
7362 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7363 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7364 and BufferView::theLockingInset(Inset*), so should use them and not
7365 access bv_->text->the_locking_inset directly.
7367 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7369 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7372 * tex-defs.h: remove old unused file
7374 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
7376 * BufferView_pimpl.C: fix typo, remove minibuffer message
7377 when buffer has loaded
7379 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7381 * lyxfunc.C (Dispatch): use stringstream
7382 (MenuNew): use stringstream
7383 (Open): use stringstream
7385 * importer.C (Import): use stringstream
7387 * bufferview_funcs.C (CurrentState): use stringstream
7389 * LaTeX.C (run): use stringstream
7391 * BufferView_pimpl.C (savePosition): use stringstream
7392 (restorePosition): use stringstream
7393 (MenuInsertLyXFile): use stringstream
7395 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7408 * vspace.C: removed // -*- C++ -*- as first line.
7411 * version.h: added // -*- C++ -*- as first line.
7413 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7415 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7417 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7420 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7422 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7425 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7427 * gettext.C: include LString.h even when --disable-nls is on.
7429 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7431 * converter.h (Get): changed argument type from int to
7432 FormatList::size_type to avoid unnecessary conversion.
7434 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7437 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7439 * gettext.h: include LString.h even when --disable-nls is on.
7441 2001-06-07 Juergen Vigna <jug@sad.it>
7443 * text.C (BreakAgain): subst spaces with tabs.
7445 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7446 (resizeInsetsLyXText): set force on resizeLyXText.
7448 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7450 * gettext.h (gettext_init):
7451 (locale_init): use a real definition instead of a macro
7453 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7455 * Bufferview_pimpl.C:
7457 * LColor.C: further lcolor tidies
7459 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7461 * BufferView_pimpl.C (updateScrollbar): simplify.
7463 * BufferView2.C: don't include insets/insetinfo.h, change
7464 prototype for insertInset and call the Pimpl version. let
7465 updateInset call Pimpl version.
7467 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7468 gotoInset to BufferView::Pimpl
7470 2001-06-01 Juergen Vigna <jug@sad.it>
7472 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7473 inside a LockingInset (is the update needed at all?).
7475 2001-05-31 Juergen Vigna <jug@sad.it>
7477 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7478 here not the old one otherwise how should we compare it afterwards
7481 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7486 * FontInfo.C: bring C functions into global namespace when
7489 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7491 * LString.h: make sure config.h has been loaded before LString.h.
7493 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7494 (one for each char read by EatLine!).
7496 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7499 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7501 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7502 to the same as the par we break from
7504 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7506 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7508 * MenuBackend.C (expand): also create menu entries for wide
7509 versions of the floats.
7511 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7513 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7515 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7516 frontends/Makefile.am
7522 * tabular.C (getTokenValue): add std::
7524 * tabular-old.C (getTokenValue): add std::
7525 (getTokenValue): ditto
7526 (getTokenValue): ditto
7528 * screen.C (ToggleSelection): adjust
7530 * lyxtext.h: put selection cursors inside a Selection struct.
7532 * lyxfunc.C (moveCursorUpdate): adjust
7534 * lyxfont.C (latexWriteStartChanges): add std::
7538 * font.h: delete with(char const *, LyXFont const &)
7540 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
7542 * FontInfo.C (getFontname): add std::
7544 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7545 (workAreaButtonPress): adjust
7546 (tripleClick): adjust
7548 (moveCursorUpdate): adjust
7551 * BufferView2.C (gotoInset): adjust
7553 2001-05-30 Juergen Vigna <jug@sad.it>
7555 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
7556 to check pspell I add this as default as I now have new pspell
7557 libraries and they seem to use this.
7559 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7561 * text2.C (CutSelection): make the cursor valid before the call to
7564 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7566 * kbsequence.C (parse): de-uglify a bit the parsing code, which
7567 relied on 0 terminated strings and other horrors. Bug found due to
7568 the new assert in lyxstring!
7570 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
7573 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7575 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
7578 * lyxfunc.C (processKeySym): change method of getting to the
7581 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
7582 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
7583 * BufferView_pimpl.[Ch]: here as private methods.
7585 2001-05-28 Juergen Vigna <jug@sad.it>
7587 * text.C (SetHeightOfRow): added the update() call again as it is
7588 needed to initialize inset dimensions!
7590 2001-05-16 Juergen Vigna <jug@sad.it>
7592 * text2.C (SetCharFont): Add new function with BufferView * and
7593 bool toggleall parameters for setting insets internal fonts.
7594 (SetFont): Freeze the undo as we may change fonts in Insets and
7595 all this change should be inside only one Undo!
7597 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
7598 setting font's in insets as for them we have the SetFont function!
7600 2001-05-15 Juergen Vigna <jug@sad.it>
7602 * text2.C (ClearSelection): to be sure we REALLY don't have any
7605 * tabular.C (TeXCellPreamble): fixed the left border problem for
7608 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7610 * LaTeX.C (deplog): Make sure that the main .tex file is in the
7613 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7615 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
7616 LFUN_BREAKPARAGRAPH.
7618 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7619 help test to "internal only", similar for LFUN_INSERT_URL
7621 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
7622 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
7623 auto_region_delete and deadkeys.
7625 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
7628 * LColor.C: remove some dead entries, tidy a little
7630 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7632 * lyxfunc.C (processKeySym): comment the Escape handling, remove
7634 (Dispatch): implement LFUN_ESCAPE
7636 * commandtags.h: add LFUN_ESCAPE
7638 * LyXAction.C (init): add entry for LFUN_ESCAPE
7640 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
7641 Remove commented code.
7642 (insertNote): moved here
7643 (open_new_inset): moved here
7645 * BufferView[2].[Ch]: move insertNote and open_new_inset to
7648 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7650 * kbmap.C (findbinding): clean it up and make it work correctly.
7652 * lyx_main.C (init): do not pass argc and argv as parameters
7654 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7656 * buffer.C: fix path for OS/2 & Win32
7660 * lyx_main.C: Added os:: class.
7662 * os2_defines.h: update
7664 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7666 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
7667 better by trying again with reduced state.
7669 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7671 * lyxrc.C (read): print error about invalid key sequence only when
7672 debugging (because not all latinX keysyms are known to some X
7675 * kbsequence.C (getiso): add a few std:: qualifiers
7676 (getiso): comment out extra return statement.
7678 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
7680 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
7682 (Dispatch): enhance the accent inset a bit. (not perfect)
7684 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7686 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
7688 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7690 * bufferlist.C (emergencyWrite): fix assert() call
7692 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
7694 * text.C (InsertChar): Added trivial patch to only send the "you
7695 can not do multiple spaces this way" message once during a
7698 2001-05-08 Baruch Even <baruch@lyx.org>
7700 * Makefile.am: Changed order of libraries to get LyX to link properly
7701 with the gnome frontend.
7703 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7705 * LaTeXFeatures.h: add a std:: qualifier
7707 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7709 * paragraph.C (String): use stringstream
7711 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7713 * paragraph.C (writeFile): remove footflag arg
7715 * buffer.C (makeLaTeXFile): use stringstream
7716 (latexParagraphs): remove footnot gurba
7718 * LaTeXFeatures.C (getPackages): use stringstream
7719 (getMacros): likewise
7720 (getTClassPreamble): likewise
7721 (getFloatDefinitions): new method
7723 * paragraph.C (writeFile): reindent
7726 * WorkArea.h: revert the xpos + etc changes.
7728 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
7730 * lyxparagraph.[Ch]: add copy constructor, remove Clone
7732 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
7733 (pasteSelection): likewise
7734 * text2.C (CreateUndo): likewise
7736 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7738 * minibuffer.C (peek_event): temporarily reduce the functionality
7739 of the minibuffer (to allow args on lfuns)
7741 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
7742 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
7744 * buffer.C (readInset): add compability reading of old float
7745 lists, add reading of new style float list.
7746 (readInset): avoid reevaluation of inscmd.getCmdName()
7747 (getLists): reindent
7749 * MenuBackend.C (MenuItem): implement parsing of
7750 md_floatlistinsert and md_floatinsert.
7751 (expand::LastFiles): move initalizaton of iterators out of loop,
7753 (expand::Documents): introduce typdedef vector<string> Strings,
7755 (expand::ExportFormats): introduce typedef vector<Format const *>
7756 Formats, and use it.
7757 (expand): implement FloatListInsert and FloatInsert.
7759 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
7760 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
7761 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
7763 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
7765 (Dispatch::LFUN_FLOAT_LIST): implement
7767 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7769 * LaTeX.C (run): Fix problem with --export code.
7771 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7773 * BufferView.[Ch] (workarea): removed.
7774 (getClipboard) new method; wrapper for workarea()->getClipboard()
7776 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
7779 * WorkArea.h (width, height, xpos, ypos): These methods all
7780 returned the dimensions of the work_area sub-area of WorkArea,
7781 resulting in a position error if the WorkArea were resized. Now
7782 return the dimensions of the entire WorkArea.
7784 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
7786 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7788 * LaTeX.C (deplog): correct the syntax of regex reg1
7790 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7792 * undo.C: remove !NEW_INSETS cruft
7794 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7796 * text2.C: remove !NEW_INSETS cruft
7798 * text.C: remove !NEW_INSETS cruft
7800 * tabular.C: remove !NEW_INSETS cruft
7802 * spellchecker.C: remove !NEW_INSETS cruft
7804 * lyxtext.h: remove !NEW_INSETS cruft
7806 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
7808 * lyxfunc.C: remove !NEW_INSETS cruft
7810 * lyxfind.C: remove !NEW_INSETS cruft
7812 * lyx_cb.C: remove !NEW_INSETS cruft
7814 * figureForm.C: remove !NEW_INSETS cruft
7816 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
7818 * buffer.[Ch]: remove !NEW_INSETS cruft
7820 * ToolbarDefaults.C: remove !NEW_INSETS cruft
7822 * CutAndPaste.C: remove !NEW_INSETS cruft
7824 * BufferView_pimpl.C: remove !NEW_INSETS cruft
7826 * BufferView2.C: remove !NEW_INSETS cruft
7828 * BufferView.h: remove !NEW_INSETS cruft
7830 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7832 * Lsstream.h: include LString.h before the sstream headers to
7833 fix problem with gcc 2.95.3 and lyxstring
7835 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7837 * lyx_main.C: add using directives when needed for C functions
7838 declared in std:: namespace.
7840 2001-04-27 Juergen Vigna <jug@sad.it>
7842 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
7843 (SetHeightOfRow): comment out the update call should not be needed!
7845 2001-04-13 Juergen Vigna <jug@sad.it>
7847 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
7848 (LyXTabular): tried to minimize operator= operations (and realized
7849 hopfully Lars wish).
7851 2001-04-27 Juergen Vigna <jug@sad.it>
7853 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
7855 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7857 * lyxfunc.C (Dispatch): hack to make listof algorithm work
7859 * buffer.C (readInset): hack to make listof algorithm work
7861 * BufferView_pimpl.C: hack to make listof algorithm work
7863 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7865 * LyXAction.C: removed all !NEW_INSETS cruft
7866 (init): moved lfun_item in method
7868 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
7870 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7872 * BufferView2.C (theLockingInset): white space.
7874 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7876 * minibuffer.C: include <iostream>
7878 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
7880 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
7882 * commandtags.h: add LFUN_TRANSPOSE_CHARS
7884 * text.[Ch] (TransposeChars): new method
7886 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7888 * call message directly through LyXView instead of through LyXFunc
7889 * BufferView2.C: adjust
7890 * BufferView_pimpl.C: adjust
7891 * FontLoader.C: adjust
7893 * bufferview_funcs.C: adjust
7894 * converter.C: adjust
7895 * figureForm.C: adjust
7896 * importer.C: adjust
7898 * lyx_gui_misc.C: adjust
7902 + more files in subdirs
7904 * lyxparagraph.h (size): move up int file
7907 * adjust all uses of Assert to lyx::Assert.
7909 * BufferView2.C (ChangeCitationsIfUnique): adjust for
7910 lyxfunctional in namespace lyx
7911 * layout.C (hasLayout): ditto
7914 (delete_layout): ditto
7915 (NumberOfClass): ditto
7916 * converter.C (GetFormat): ditto
7921 * bufferlist.C (getFileNames): ditto
7922 (emergencyWriteAll): ditto
7925 * MenuBackend.C (hasSubmenu): ditto
7928 * BufferView_pimpl.C (getInsetByCode): ditto
7930 2001-04-18 Juergen Vigna <jug@sad.it>
7932 * vspace.C (asLatexString): fixed the 100% problem.
7934 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7936 * lyxfunc.C (Dispatch):
7938 * minibuffer.h: add a few std:: qualifiers
7940 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7942 * minibuffer.[Ch]: reimplement so that commands is initiated and
7943 run from lyxfunc, simplified som handling, and made the completion
7944 and history code for complete. wip.
7946 * lyxfunc.C (processKeySym): call message
7947 (miniDispatch): new temporary method
7948 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
7949 (LFUN_MESSAGE): implement
7950 (LFUN_MESSAGE_PUSH): implement
7951 (LFUN_MESSAGE_POP): implement
7952 (initMiniBuffer): the initial/defualt minibuffer message.
7954 * lyxfont.[Ch]: inline some more getters
7956 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
7958 * lyx_gui_misc.[Ch] (WriteStatus): remove method
7960 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
7961 (AutoSave): use LFUN_MESSAGE
7962 (Reconfigure): ditto
7964 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
7966 * figureForm.C: use LFUN_MESSAGE
7968 * converter.C (runLaTeX): use LFUN_MESSAGE
7970 * bufferview_funcs.C: use LFUN_MESSAGE
7972 (changeDepth): ditto
7974 * bufferparams.h: use boost::
7976 * bufferlist.h: inherit privately from noncopyable
7978 * bufferlist.C (loadLyXFile): remove some commented code.
7980 * buffer.C (runChktex): use LFUN_MESSAGE
7982 * ShareContainer.h: inherit privately from noncopyable
7984 * ParagraphParameters.[hC] (depth): inline it.
7986 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
7988 (message): new method
7989 (messagePush): ditto
7991 (show): init minibuffer
7992 (showState): direct call
7994 * LaTeX.[Ch]: inherit privately from noncopyable
7995 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
7996 instead of WriteStatus.
7998 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8000 * BufferView_pimpl.C (buffer): don't init minibuffer
8001 (workAreaButtonPress): use LFUN_MESSAGE
8002 (workAreaButtonRelease): ditto
8003 (savePosition): ditto
8004 (restorePosition): ditto
8005 (MenuInsertLyXFile): ditto
8006 (workAreaExpose): don't init minibuffer
8007 (update): remove commented code, simplify
8009 * BufferView2.C (openStuff): use LFUN_MESSAGE
8010 (toggleFloat): ditto
8013 (copyEnvironment): ditto
8014 (pasteEnvironment): ditto
8019 (updateInset): remove some commented code
8021 * lastfiles.h: inherit privately from noncopyable
8026 * lyxlex_pimpl.h: ditto
8028 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8029 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8030 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8032 * LyXAction.h: inherit privately from noncopyable, add methods
8033 func_begin, func_end, returning iterators to the func map.
8035 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8036 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8037 (func_begin): new method
8038 (func_end): new method
8040 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8042 (copySelection): ditto
8043 (pasteSelection): ditto
8045 * BufferView.C: whitespace change
8046 * BufferView.h: inherit privately from noncopyable
8048 2001-04-16 Allan Rae <rae@lyx.org>
8050 * tabular-old.C (l_getline):
8051 * spellchecker.C (sc_check_word):
8052 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8053 an unrecognised preprocessor directive. So ensure they're wrapped.
8055 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8057 * src/exporter.C (Export): Give an error message when path to file
8060 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8062 * LaTeX.C (deplog): Always check that foundfile exists.
8064 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8067 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8069 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8071 * tabular.[Ch] (getLabelList): implement new method
8073 * minibuffer.h: comment ouf setTiimer
8075 * minibuffer.C (ExecutingCB): constify res
8076 (peek_event): constify s
8077 (Set): constify ntext
8078 (Init): constify nicename
8080 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8082 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8083 (savePosition): use two params to Minibuffer::Set
8084 (restorePosition): ditto
8086 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8088 * lyx_main.C: include language.h
8090 * Makefile.am (lyx_main.o): add language.h
8092 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8098 * CutAndPaste.C: include gettext.h
8100 * lyxfont.h: remove old hack with ON and OFF.
8103 * lyxfont.h: do not include language.h...
8108 * bufferview_funcs.C:
8114 * paragraph.C: ... but do it here instead
8116 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8118 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8120 * tabular.C: small reformat
8122 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8125 (BreakParagraph): ditto
8126 (SetOnlyLayout): ditto
8129 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8132 * lastfiles.C: removed most using decl, add std:: where needed
8134 * buffer.C: ws changes
8136 * MenuBackend.C (class compare_format): put into anon namespace
8137 (expand): constify label, names, action, action2
8140 * text.C (SingleWidth): constify font
8141 (IsBoundary): constify rtl2
8142 (GetVisibleRow): constify ww
8144 * LaTeX.C (deplog): constify logfile
8146 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8148 (workAreaExpose): constify widthChange, heightChange
8150 * lyxrow.C (par): moved
8153 * lyxrow.h: as inlines here
8155 * lyxfont.h (shape): moved from lyxfont.C
8156 (emph): moved from lyxfont.C
8158 * lyxfont.C (LyXFont): use initialization list for all
8160 (shape): move to lyxfont.h as inline
8161 (emph): move to lyxfont.h as inline
8164 2001-04-04 Juergen Vigna <jug@sad.it>
8166 * vspace.C: had to include stdio.h for use of sscanf
8168 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8171 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8172 independent of xforms.
8174 2001-04-02 Juergen Vigna <jug@sad.it>
8176 * spellchecker.C: fixed namespace placing!
8178 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8180 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8181 the LyXParagraph * is 0.
8183 2001-03-29 Juergen Vigna <jug@sad.it>
8185 * vspace.C: added support for %, c%, p%, l%.
8186 (stringFromUnit): added helper function.
8187 (asLatexString): changed to give right results for the %-values.
8189 * buffer.C: convert the widthp in a width%.
8191 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8193 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8196 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8197 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8199 * lyx_cb.[Ch]: see above.
8201 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8205 * lyx.[Ch]: replaced by figure_form.[Ch].
8209 * lyxfunc.C: changed headers associated with above changes.
8211 2001-03-27 Juergen Vigna <jug@sad.it>
8213 * BufferView_pimpl.C: set the temporary cursor right!
8215 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8217 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8219 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8221 * LString.h: removed "using std::getline"!
8223 * BufferView_pimpl.C (Dispatch): changes due to changes in
8224 InsetInclude::Params.
8226 * buffer.C (tag_name): removed redundant break statements as they were
8227 producing lots of warnings with my compiler.
8229 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8231 * LString.h: add "using std::getline" when using the real <string>.
8233 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8235 * buffer.C: removed bitset usage.
8236 PAR_TAG moved to an anonymous name space.
8237 (tag_name): new funtion, also in the anonymous namespace.
8238 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8239 (makeDocBookFile): clean code. Completed transition from string arrays
8241 (SimpleDocBookOnePar): code clean.
8243 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8245 * tabular.C: add some comments.
8247 2001-03-22 Juergen Vigna <jug@sad.it>
8249 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8250 compatibility read a bit and fixed bug with minipage in different
8253 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8255 * buffer.C (pop_tag): removed.
8256 (push_tag): removed.
8257 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8258 array replaced with vector. Added support for CDATA sections.
8259 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8261 (makeDocBookFile): XML conformant declaration of CDATA section,
8262 fixed bug related to <emphasis> in the first paragraph char.
8263 (sgmlOpenTag): exclude empty tags.
8264 (sgmlCloseTag): ditto.
8266 * buffer.h (pop_tag): removed.
8267 (push_tag): removed.
8269 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8271 * language.h (Languages): added size_type and size().
8273 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8275 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8276 response on compability reading of minipages. One probliem is that
8277 the old usage of minipages was «flertydig»
8279 * several files here and in subdirs: don't use static at file
8280 scope use anon namespaces instead.
8282 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8284 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8285 LaTeX output. This is necessary for Literate document
8288 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8290 * buffer.C: insert hfill when needed.
8292 * tabular.C (l_getline): use string::erase, small whitespace change.
8294 * BufferView_pimpl.C: try the anon namespace.
8297 2001-03-16 Juergen Vigna <jug@sad.it>
8299 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8300 otherwise it won't open options-dialogs.
8302 * buffer.C: honor pextraWidth(p) on converting minipages.
8304 * tabular.C (l_getline): changed the functions to strip trailing \r.
8306 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
8308 * BufferView_pimpl.C:
8309 * minibuffer..C: added "using SigC::slot" declaration.
8311 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8313 * lyxlex_pimpl.h: noncopyable is in namespace boost.
8319 * paragraph.C: ditto
8321 * lyxtext.h: NO_PEXTRA
8323 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8325 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8326 * ParameterStruct.h: ditto
8327 * ParagraphParameters.h: ditto
8328 * lyxparagraph.h: ditto
8330 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8332 * buffer.C: add compability for minipage alignment.
8333 (latexParagraphs): remove unwanted pextra check.
8335 * several files: remove CXX_WORKING_NAMESPACES
8337 * buffer.C (pop_tag): tie is in namespace boost
8339 * BufferView.h: noncopyable is in namespace boost
8344 * lastfiles.h: ditto
8345 * bufferlist.h: ditto
8346 * ShareContainer.h: ditto
8348 * LyXAction.h: ditto
8351 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8353 * Merging changes from BRANCH_MVC back into HEAD.
8355 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8357 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
8359 * BufferView_pimpl.C: change from intl.C
8363 * Makefile.am: move combox.*
8369 * intl.C: remove dialog (covered by prefs)
8371 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8373 * lyxfunc.C (Dispatch): removed redundant break statement.
8375 2001-03-14 Juergen Vigna <jug@sad.it>
8377 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8379 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8381 * buffer.C: add hack to fix compability reading of minipages.
8383 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
8385 * buffer.C (getLists): Cleanup.
8387 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8389 * lyxfont.C (update): don't honor toggleall on font size.
8391 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
8395 * Makefile.am: moved to frontends/xforms/
8399 * BufferView_pimpl.C: changes for moved mathpanel
8401 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8403 * gettext.h: fix gettext_init() in --disable-nls
8405 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8407 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8409 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8412 * lyx.h: strip external form
8414 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8416 * BufferView_pimpl.C: add comment, destroySplash()
8418 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8420 * BufferView_pimpl.C:
8424 * lyxfunc.C: use re-worked insetinclude
8426 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8428 * buffer.C: add using std::stringstream.
8430 * lyx_cb.C: readd using std::ios.
8432 * buffer.C: add using std::map.
8434 * BufferView_pimpl.C: add using std::vector.
8436 * ShareContainer.h: add std:: to swap.
8438 * buffer.h: add some typedefs
8439 * buffer.C (getLists): use them
8440 (getLists): renamed from getTocList.
8441 add a counter for the different float types and use it in the
8443 (getLists): use the same counter for the NEW_INSETS and the "non"
8446 * lyx_cb.h: remove unused items, includes, using etc.
8448 * ShareContainer.h: remove some commented code, add more comments
8449 and "documentation".
8451 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8453 * buffer.C (getTocList): make the list also when NEW_INSETS is
8456 * buffer.h: remove TocType
8458 * buffer.C (getTocList): change to return a map<string,
8459 vector<TocItem> >, implement for dynamic number of list.
8461 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8462 * text2.C (PasteSelection): adjust
8463 * CutAndPaste.C (pasteSelection): adjust
8465 * FloatList.C (FloatList): update from the new_insets branch.
8466 * Floating.[Ch]: ditto
8467 * LaTeXFeatures.C: ditto
8469 * lyxlex_pimpl.C: ditto
8471 * paragraph.C (Last): remove when NEW_INSETS is defined.
8473 * other file: changes because of the above.
8475 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8477 * lyxparagraph.h: rename next to next_, previous to previous_,
8478 make them private for NEW_INSETS. Rename Next() to next(),
8479 Previous() to previous().
8481 * other files: changes because of the above.
8483 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8486 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8489 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8491 * main.C (main): pass lyx_localedir to gettext_init().
8493 * gettext.h: remove locale_init and gettext_init macros
8495 * gettext.C (locale_init): new function
8496 (gettext_init): new function
8498 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8501 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8503 * Moved credits to frontends:
8504 * credits.[Ch]: removed
8505 * credits_form.[Ch]: removed
8506 * lyx_gui_misc.C: remove credits stuff
8509 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8511 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8513 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8514 unneeded destructor.
8516 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8517 a standalone pointer again.
8519 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8521 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8527 * ToolbarDefaults.C:
8536 * BufferView_pimpl.C: use new file dialog in GUII
8539 * lyx_cb.C: remove LayoutsCB to Toolbar
8541 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8543 * ShareContainer.h (get): add std:: qualifier
8545 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8547 * ShareContainer.h: define a proper ShareContainer::value_type
8548 type (and use typename to please compaq cxx)
8550 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8552 * lyxparagraph.h: move serveral local vars to
8553 ParameterStruct/ParagraphParameters., use ShareContainer in
8554 FontTable., make vars in FontTable private and add getter and
8557 * paragraph.C: changes because of the above.
8559 * lyxfont.h: remove copy constructor and copy assignment. (the
8560 default ones is ok), move number inside FontBits. move inlines to
8563 * lyxfont.C: add number to initializaton of statics, move several
8564 inlines here. constify several local vars. some whitespace
8565 cleanup. Dont hide outerscope variables.
8567 * Spacing.h: add two new constructors to match the set methods.
8569 * ShareContainer.h: new file, will perhaps be moved to support
8571 * ParameterStruct.h: new file
8573 * ParagraphParameters.h: new file
8575 * ParagraphParameters.C: new file
8577 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
8578 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
8580 * BufferView_pimpl.C: ParagraphParameter changes.
8581 * buffer.C: Likewise.
8582 * bufferview_funcs.C: Likewise.
8584 * text2.C: Likewise.
8586 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8588 * lyxfind.C (LyXReplace): do not redefine default argument in
8590 (IsStringInText): ditto
8591 (SearchForward): ditto
8592 (SearchBackward): ditto
8594 2001-03-06 Juergen Vigna <jug@sad.it>
8596 * lyxfind.C (IsStringInText): put parentes around expressions.
8598 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
8600 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
8602 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
8604 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
8606 * stl_string_fwd.h: add comment
8608 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
8611 * tabular.C: remove unused DocBook methods
8617 killed DO_USE_DEFAULT_LANGUAGE
8619 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8621 * lyx_gui.C: do not include language.h.
8623 * bufferview_funcs.C (ToggleAndShow): do not provide optional
8624 arguments in function implementation.
8626 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8628 * BufferView_pimpl.C: add <ctime>
8630 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8632 * BufferView_pimpl.C: add using std::find_if
8634 2001-02-27 José Matos <jamatos@fep.up.pt>
8636 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
8639 2001-02-11 José Matos <jamatos@fep.up.pt>
8641 * buffer.C (makeDocBookFile): command styles now have a parameter as
8644 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
8646 * layout_forms.[Ch]: removed
8647 * lyx_cb.[Ch]: out character
8648 * lyx_gui.C: out character
8649 * lyx_gui_misc.C: out character
8650 * bufferview_funcs.C: : out character,
8651 added toggleall as parameter in ToggleAndShow
8653 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
8655 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
8657 * text2.C (SetCurrentFont): Disable number property at boundary.
8659 2001-02-26 Juergen Vigna <jug@sad.it>
8661 * lyxfunc.C (getStatus): added a string argument override function so
8662 that this is correctly called from LyXFunc::Dispatch if it contains a
8663 do_not_use_argument which is used!
8664 (Dispatch): added check for "custom" export and call appropriate func.
8666 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
8668 * lyxrc.C: Add language_command_local, language_use_babel and
8669 language_global_options.
8671 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
8673 * buffer.C (makeLaTeXFile): Use language_use_babel and
8674 language_global_options.
8676 2001-02-23 Juergen Vigna <jug@sad.it>
8678 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
8679 which works with LyXText and putted it inside BufferView. Here now we
8680 only call for that part the BufferView::Dispatch() function.
8682 * BufferView.C (Dispatch): added.
8684 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
8685 functions which needs to use a LyXText over from LyXFunc.
8686 (MenuInsertLyXFile): added
8687 (getInsetByCode): added
8688 (moveCursorUpdate): added
8689 (static TEXT): added
8691 2001-02-22 Juergen Vigna <jug@sad.it>
8693 * BufferView_pimpl.C (update): call a status update to see if LyXText
8696 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8698 * vc-backend.C (revert): implement for CVS
8699 (getLog): implement for CVS
8701 2001-02-20 Juergen Vigna <jug@sad.it>
8703 * text2.C (ClearSelection): added BufferView param for inset_owner call
8705 * lyxfunc.C (TEXT): added this function and use it instead of
8706 directly owner->view()-text of getLyXText().
8708 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
8710 * src/layout_forms.C: out preamble
8711 * src/layout_forms.h: out preamble
8712 * src/lyx_cb.C: out preamble
8713 * src/lyx_cb.h: out preamble
8714 * src/lyx_gui.C: out preamble
8715 * src/lyx_gui_misc.C: out preamble
8716 * src/lyxfunc.C: connect with guii preamble
8718 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8720 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
8722 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
8724 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
8725 whether to run bibtex.
8727 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
8729 * Makefile.am (lyx_SOURCES): Remove BackStack.h
8731 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8733 * Makefile.am (lyx_SOURCES): removed bibforms.h
8737 * text.C (GetVisibleRow): make several local vars const
8739 * tabular.C: small cleanup.
8741 * lyxserver.C (callback): use compare instead of strncmp
8743 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
8744 inlines to after class or to paragraph.C
8746 * lyxfont.h: remove friend operator!=
8748 * converter.h: move friend bool operator< to non friend and after
8751 * combox.h: small cleanup
8753 * buffer.h: doxygen, remove unused constructor, move inclas inlies
8754 to inlines after class def.
8756 * buffer.C (pop_tag): use string operations instead of strcmp
8758 * bmtable.c: doxygen, small cleanup
8760 * LaTeX.h: remove friend operator==
8762 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8774 * BufferView_pimpl.C:
8775 * BufferView.[Ch]: remove cruft
8777 2001-02-14 Juergen Vigna <jug@sad.it>
8779 * lyxfunc.C: removed #if 0 unused code
8781 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
8783 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
8785 * text2.C (SetSelection): added a BufferView * parameter
8787 2001-02-13 Juergen Vigna <jug@sad.it>
8789 * lyxfunc.C (Dispatch): fixed protected blank problem.
8790 * BufferView2.C (protectedBlank): added LyxText * parameter.
8792 * tabular.C (AppendRow): forgot to set row_info of newly added row.
8793 (AppendColumn): same as above for column_info.
8795 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
8796 (moveCursorUpdate): use a LyXText param for support of InsetText.
8798 * BufferView_pimpl.C (doubleClick): added support for InsetText.
8799 (tripleClick): ditto
8801 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
8803 * BufferView_pimpl.C (update): added LyXText param to honor insets.
8805 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
8807 * text2.C (SetSelection): set correct update status if inset_owner
8810 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
8812 * tabular.C: remove some commented code.
8814 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8816 * BufferView_pimpl.C: call hideSplash()
8818 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
8821 * bibforms.h: remove
8824 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
8825 add LFUN_CHILD_CREATE
8827 * counters.h: fix tiny typo
8832 * lyx.C: move splash to frontends/xforms/
8834 * lyx_gui_misc.C: move Include and Bibform to frontends
8836 * lyxvc.h: clarify comment
8838 * vspace.C: tiny housekeeping
8840 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8842 * text.C (PrepareToPrint): RTL Fix.
8844 * paragraph.C (GetUChar): New method.
8845 (String): Use GetUChar.
8847 * buffer.C (asciiParagraph): Use GetUChar.
8849 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8851 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
8853 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
8856 * buffer.C: rename to getLogName(), handle
8857 build log / latex log nicely
8859 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8862 * MenuBackend.h: remove support for reference menuitem type.
8864 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
8866 * BufferView_pimpl.C: housekeeping
8867 * BufferView_pimpl.h:
8872 * minibuffer.h: move Timeout GUI-I
8874 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
8876 * lyxrc.C (read): Update converters data-structures.
8878 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
8880 * LaTeX.h (operator!=): add operator != for Aux_Info
8882 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
8884 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
8886 * LaTeXLog.C: deleted, useful code moved to Buffer
8889 * buffer.C: new function getLatexLogName()
8895 * lyxfunc.C: use frontends for LaTeX and VC logs
8897 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8899 * LaTeX.h: yet another std:: that Allan forgot.
8901 * Variables.C (set): renamed from isset(), because this clashes
8902 with some HP-UX macros (grr).
8904 2001-02-06 Allan Rae <rae@lyx.org>
8906 * LaTeX.h: Another bug fix. Missing std:: this time.
8908 2001-02-04 Allan Rae <rae@lyx.org>
8910 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
8911 floats problem. I've left it commented out because it's not quite
8912 correct. It should also test that the current object is a table or
8913 figure inset. But I haven't gotten around to figuring out how to do
8914 that. I *think* it'll be something like: "table" == inset.type()
8916 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
8919 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
8921 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
8922 all the citation/databases/styles in the auxilary file.
8923 (run): Rerun latex if there was a babel language error.
8925 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
8927 * text.C (Backspace): Preserve the font when changing newline char
8929 (BreakParagraph): If the cursor is before a space, delete the space.
8931 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
8933 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8935 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
8936 new argument (code).
8937 (ChangeCitationsIfUnique): New method.
8939 * paragraph.C (GetPositionOfInset): Handle bibkey.
8941 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8943 * BufferView_pimpl.h: change type of Position::par_pos to
8944 LyXParagraph::size_type.
8946 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
8948 * BufferView_pimpl.C (savePosition, restorePosition): Write
8949 messages to minibuffer.
8951 2001-01-28 José Matos <jamatos@fep.up.pt>
8953 * buffer.C (makeDocBookFile): adds support for document language.
8954 A silly restriction on the name of LatexCommand types where removed.
8955 Added support for CDATA sections, allows to chars unescaped, used
8956 among others in code, to avoid escape < and >.
8958 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8960 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
8961 saved positions instrad of a stack. Furthermore, a position is
8962 stored using paragraph id/paragraph position.
8964 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
8965 Remove LFUN_REF_BACK.
8967 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8969 * converter.C (dvipdfm_options): New method.
8971 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8973 * vspace.C (isValidLength): Fix for empty input string.
8975 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8977 * LyXAction.C (init): change description of LFUN_FIGURE to
8980 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8982 * LaTeX.C: add using directive
8984 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8986 * MenuBackend.C (expand): Fix the sorting of the formats.
8988 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
8990 * lyx_main.C: tiny error message fix
8992 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8994 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
8995 calling fl_initialize(). This fixes the problem with ',' as
8996 decimal separator in text files.
8998 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9000 * trans.C (process): Fix the keymap bug.
9002 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9004 * LaTeX.C (scanAuxFiles): New method. Provides support for
9005 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9006 (scanLogFile) Scan for "run BibTeX" messages.
9008 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9009 OT1 font encoding. Also, load the aecompl package if the ae
9012 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9014 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9016 * texrow.C (increasePos): turn two error messages into debug
9019 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9021 * LaTeX.C (scanAux): Handle the \@input macro.
9022 (runBibTeX): Use scanAux().
9024 * language.C (latex_options_): New field.
9026 * LaTeXFeatures.C (getMacros): Add language macros.
9028 * buffer.C (makeLaTeXFile): Small fix.
9030 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9032 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9034 * text2.C: add a using directive.
9036 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9041 * lyxfunc.C: kill LyXBell.
9043 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9045 * text.C (IsBoundary): Remove the error message
9047 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9049 * lyxrc.C (setDefaults): Correct initialization value for
9052 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9054 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9057 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9060 * src/LyXAction.C: Added reference-next.
9062 * text.C (InsertChar): Use contains instead of strchr.
9064 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9066 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9068 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9069 alignment commands (when needed).
9071 * text.C (InsertChar): Add ':' to number separator chars.