1 2002-03-06 Juergen Vigna <jug@sad.it>
3 * CutAndPaste.C (copySelection): set layout for new paragraph.
5 * text.C (prepareToPrint): leave ERT inset left aligned
6 (leftMargin): don't indent paragraphs inside ERT insets
8 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10 * paragraph.C (breakParagraph): dont call clear do the work manually
12 * paragraph.[Ch] (clear): remove function
14 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16 * paragraph.C (Paragraph): dont call clear, the work has already
19 * lyxtextclass.C (operator): assert if n is empty
21 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
22 work manually instead.
24 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
26 * BufferView_pimpl.C: protect selectionLost against text == 0
28 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
30 * text.C (breakParagraph): fix a setting layout to '0' problem.
32 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
34 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
35 final location of file, for the included files, and graphics.
37 2002-03-05 Juergen Vigna <jug@sad.it>
39 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
41 2002-03-04 Juergen Vigna <jug@sad.it>
43 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
45 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
46 last column of multicolumn cells.
47 (SetWidthOfMulticolCell): recalculate NMC and real columns.
49 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
51 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
52 file if it doesn't go to a temporary file.
54 * buffer.C (sgmlOpenTag):
55 (sgmlCloseTag): remove extra newline insertion.
57 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
59 * text.C (getRowNearY): comment out debug msg
61 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
63 * text2.C: first -> first_y
65 * text.C (getRowNearY): add some attemts at a possible
66 optimization, not working.
68 * tabular.[Ch]: add BufferParams to several function so that newly
69 created paragraph can be initialized to he default layotu for the
72 * tabular-old.C (ReadOld): add buf->params to call of Init
74 * screen.C: rename text->first to text->first_y
76 * paragraph.C (breakParagraph): always set layout in the broken
79 * lyxtextclass.C (Read): remove lowercase
82 (delete_layout): ditto
84 * lyxtext.h: rename first -> first_y
86 * lyxlayout.C (Read): remove lowercase
91 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
93 * buffer.C (insertErtContents): add params are to InsetERT
94 (parseSingleLyXformat2Token): add code to check if a paragraphs
96 (parseSingleLyXformat2Token): add params to several inset
98 (asciiParagraph): remove lowercase, do the layout comparisons with
101 * BufferView_pimpl.C (cursorNext): first -> first_y
102 (resizeCurrentBuffer): first -> first_y
103 (updateScrollbar): first -> first_y
104 (scrollCB): first -> first_y
105 (workAreaMotionNotify): first -> first_y
106 (workAreaButtonPress): first -> first_y
107 (checkInsetHit): first -> first_y
108 (cursorPrevious): first -> first_y
109 (cursorNext): first -> first_y
110 (Dispatch): add buffer_->params to severl inset contructors
112 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
114 * lyxlayout.C (Read): remove some debug info that I forgot.
116 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
117 clean up the code slightly.
118 (makeLinuxDocFile): ditto
119 (makeDocBookFile): ditto
121 * text2.C: layout as string
123 * text.C: layout as string
125 * paragraph_pimpl.C: layout as string
127 * paragraph.[Ch]: layout as string
129 * lyxtextclasslist.[Ch]: layout as string
131 * lyxtextclass.[Ch]: layout as string
133 * lyxtext.h: layout as string
135 * lyxlayout.[Ch]: layout as string
137 * lyx_cb.C: layout as string
139 * bufferview_funcs.C: layout as string
141 * bufferparams.C: layout as string
143 * buffer.C: layout as string
145 * LyXView.[Ch]: layout as string
147 * LaTeXFeatures.[Ch]: layout as string
149 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
151 * BufferView_pimpl.C: change current_layout to string, remove
156 (workAreaButtonRelease): layout as string
158 * BufferView2.C (unlockInset): adjust
160 * vspace.C (asLatexCommand): use an explict temp variable.
162 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
164 * Makefile.am: use FRONTEND_*
166 2002-03-01 Juergen Vigna <jug@sad.it>
168 * tabular.C (SetWidthOfMulticolCell): changed to something better
169 I hope but still work in progress.
170 (recalculateMulticolumnsOfColumn): renamed function from
171 recalculateMulticolCells as it is more appropriate now.
172 (SetWidthOfCell): calculate multicols better.
174 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
176 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
178 * lyxfunc.C (processKeySym): print sequence also if it is
181 * kbsequence.C (print): print sequence even if it is deleted
182 (complete would be a better word, actually).
184 * lyxfunc.C (dispatch): print complete options after a prefix key
186 * vspace.C (asLatexCommand): rewrite in a slightly different form.
188 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
190 * text2.C (setCharFont): eliminate setCharFont code duplication.
192 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
194 * BufferView_pimpl.C (Dispatch): remove bogus handling of
195 LFUN_TABULAR_FEATURE (bug #177)
197 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
199 * Makefile.am: remove figure.h
201 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
203 * Bufferview_pimpl.C:
215 * text2.C: remove #include "lyx_gui_misc.h".
217 * LaTeX.C: added #include <cstdio>
219 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
221 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
222 that the paragraph following this one can have.
224 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
226 * vspace.C (asLatexCommand): fix bogus gcc warning
228 * Makefile.am (lyx_SOURCES): remove vms_defines.h
230 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
232 * text2.C (setLayout): get rid of redundant code
234 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
236 * text2.C (incDepth): make sure depth cannot be increased beyond
239 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
241 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
242 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
244 * PainterBase.h (image):
245 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
248 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
252 * BufferView_pimpl.C:
253 * BufferView_pimpl.h:
273 * sp_spell.C: remove fig inset, and the crap house of
274 cards that follows it
276 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
282 * nt_defines.h: move .h into support/
284 * vms_defines.h: remove
286 * WorkArea.C: add space in debug output
290 * buffer.C: add WITH_WARNINGS
294 * bufferlist.C: s/retrive/retrieve/, add docs
305 * lyxgui.C: add ID to X error handler
307 * lyxtestclass.c: fix typo
309 2002-02-26 Juergen Vigna <jug@sad.it>
311 * tabular_funcs.C (write_attribute): changed so that some default
312 attributes are not written at all.
313 (getTokenValue): set default values before trying to read the
314 value so we have the return value always set as default if we don't
315 find the token we search for.
317 * tabular.C (Write): write bools as bools not as strings!
319 2002-02-22 Juergen Vigna <jug@sad.it>
321 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
322 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
324 * text.C (leftMargin): don't add an indent for paragraphs inside
325 tabular cells (fix #208).
327 2002-02-21 José Matos <jamatos@fep.up.pt>
329 * tabular.C (docBook): fixed support for long tables.
331 2002-02-20 Juergen Vigna <jug@sad.it>
333 * text2.C (getFont): get the drawing font of the Inset if this
334 paragraph is inside an inset (only important for InsetERT for now).
336 * buffer.C (insertErtContents): use new lanugage params in ERT
339 * CutAndPaste.C: commenting out seemingly uneeded code.
341 2002-02-19 Allan Rae <rae@lyx.org>
343 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
344 Iterators might be simple to use but they also get invalidated.
345 (removeAutoInsets): renamed saved cursor tracking variables and added
346 some comments to clarify what everything does.
348 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
355 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
356 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
359 * vc-backend.h: remove #include "support/syscall.h"
363 * converter.C: rearrange #includes in Lars' approved fashion.
365 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
366 forward declare class Timeout in the header file.
368 * XFormsView.C: changes due to the above.
370 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
373 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
374 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
376 2002-02-18 José Matos <jamatos@fep.up.pt>
378 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
381 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
383 * a lot of small ws changes
384 * add a lot of using std::XXX
385 * use std construcs some places where approp.
386 * use some exisint stuff from lyxfunctional where approp.
387 * Make file changes to use partial linking (lets test this now...)
389 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
393 remove #include "support/syscontr.h" as it's redundant. Always has been.
401 change Systemcalls::System to Systemcalls::Wait and
402 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
403 No change of functionality, just reflects the stripped down Systemcalls
406 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
408 * debug.[Ch]: add a GRAPHICS type to the enum.
410 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
412 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
414 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
417 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
419 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
420 match the changes below.
422 * text2.C (toggleInset): if there is not editable inset at cursor
423 position, try to see if cursor is _inside_ a collapsable inset
426 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
428 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
429 document menu has a nice checkbox
431 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
433 * lyxlength.C (asLatexString): change PW to output as percent of
436 * lengthcommon.C: change '%' to 't%'
438 * lyxfunc.C (dispatch): a few comments from Martin
440 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
444 * BufferView_pimpl.h:
445 * BufferView_pimpl.C: clear our selection when X tells us we've lost
448 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
450 * vspace.C (inPixels): fix compiler warning
452 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
454 * lyxfunc.C (getStatus): fix status message for disabled commands.
456 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
458 * BufferView_pimpl.C: fix crash on close buffer
459 during selection (#227)
461 2002-01-27 Herbert Voss <voss@lyx.org>
463 * buffer.C: link old Figure to new graphic inset
465 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
467 * FontLoader.C (getFontinfo): Change the latex font names in order
468 to match the names of type1inst.
470 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
472 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
474 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
477 (remove_files_with_extension): ditto
481 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
482 document is smaller than the work area height. Do not initialize
483 static variables to 0.
485 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
487 * lyx_gui.C (init): give the toolbar tooltips a normal font.
489 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
490 LFUN_LAYOUT_PARAGRAPHS.
492 * tabular.C (GetCellFromInset): new method. Finds an inset in a
493 tabular. It is possible to provide a possible cell, which will
494 typically be the actcell from the corresponding insettabular
496 * lyxfunc.C (getStatus): small cleanup; disable
497 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
500 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
502 * tabular.C (Validate): remove broken optimization (fixes bug #201)
504 * paragraph.C (startTeXParParams):
505 (endTeXParParams): new methods. The LaTeX code to
506 start/end paragraph formatting
507 (simpleTeXOnePar): call startTeXParParams also when paragraph is
508 empty (fixes bug #200)
510 * vspace.C (inPixels): adapt to the change below
511 (inPixels): [later] more cleanups (remove unused variables)
513 * lyxlength.C (inPixels): change to use a width and a height as
516 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
518 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
519 Replaced with \paperwidth
521 * DepTable.C (insert): add std:: qualifier
523 2002-01-18 Allan Rae <rae@lyx.org>
525 * text2.C (removeRow): add comment. Should other refresh_?? vars be
528 * text.C (drawInset): Turned out I didn't know enough about how
529 rebreaking worked. This fixes most of the redraw problems. I see
530 an occasional cursor trail when a line is broken now and the cursor
531 placement can seem out by a few pixels also after a rebreak.
533 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
535 * buffer.C (parseSingleLyXformat2Token): update because minipage
536 width is now a LyXLength
538 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
540 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
543 2002-01-17 Juergen Vigna <jug@sad.it>
545 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
547 * BufferView2.C (lockInset): call edit() so that theLockingInset()
548 is set correctly and the inset is updated correctly.
550 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
552 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
553 the beginning of the loop.
555 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
557 * lyxrc.C: improve help for use_scalable_fonts
559 2002-01-17 Allan Rae <rae@lyx.org>
561 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
563 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
565 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
566 make sure to set their inset_owner to the right value (bug #171)
568 2001-12-12 Ben Stanley <bds02@uow.edu.au>
571 * DepTable.C: Implement mtime checking to reduce time spent doing
574 2002-01-16 Juergen Vigna <jug@sad.it>
576 * tabular.C (GetAdditionalHeight): one of error fixed.
578 * lyxrc.C (output): small fix in writing use_pspell.
580 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
582 * sp_base.h: #include LString.h
584 2002-01-16 Allan Rae <rae@lyx.org>
586 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
587 Can someone check this please?
589 * text.C (drawInset): It was possible that p.row would be removed by
590 breakAgainOneRow upsetting a few other settings. There may be another
591 small tweak possible by setting need_break_row = 0 when p.row has been
592 removed but I don't know enough about the logic here.
594 2002-01-15 Allan Rae <rae@lyx.org>
596 * text.C (insertChar): removed conditional truism.
598 * BufferView2.C (removeAutoInsets): More tweaks.
599 cur_par_prev could be a stray pointer. Check for trailing empty line
600 in case last line was cur_par and only had an error inset on it.
602 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
604 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
607 * vc-backend.C (most methods):
608 * exporter.C (Export):
609 * converter.C (convert):
611 * LyXSendto.C (SendtoApplyCB):
612 * lyxfunc.C (dispatch):
616 * lyx_cb.C (AutoSave):
618 * BufferView_pimpl.C (MenuInsertLyXFile):
619 * buffer.C (runChktex): use Buffer::filePath().
621 * buffer.h: rename filename to filename_; rename filepath to
622 filepath_ and make it private
623 (filePath): new method
625 * buffer.C (writeFile): use fileName()
628 * lyx_main.C (init): fix starting of LyX when the binary is a
629 link from so,ewhere else.
631 * minibuffer.C: include <cctype> for isprint
633 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
635 * buffer.C (parseSingleLyXformat2Token): changes associated with the
636 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
637 name clash with InsetCollapsable's width function.
639 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
641 * lastfiles.C: include <iterator>
643 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
645 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
648 * buffer.C (makeLaTeXFile): ditto.
649 Also make loop operation more transparent.
651 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
653 * ToolbarDefaults.C: remove trailing comma closing namespace.
655 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
657 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
660 * trans.C (Load): comment out unused variable, allowed.
662 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
664 * minibuffer.[Ch] (append_char): new method to recieve input from the
665 drop-down completion browser. If a key was pressed, then recieve this
666 char and append it to the existing string.
667 (peek_event): modify the positioning data passed to the completion
668 browser so that it can be placed above the minibuffer rather than below.
669 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
671 * LyXAction.C (init): alloe error-next for readonly documents.
673 * BufferView2.C (ChangeRefsIfUnique): use standard version of
676 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
678 * bufferlist.C (readFile): create the buffer _after_ checking that
681 * lyxfunc.C (verboseDispatch): fix handling of arguments
683 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
685 * lyxrc.C: use string::erase() instead of initializing to "".
688 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
690 * BufferView_pimpl.h:
691 * BufferView_pimpl.C:
694 * text2.C: tell X when we have made a selection for copying
696 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
698 * BufferView_pimpl.C (MenuInsertLyXFile):
699 * lyxfunc.C (menuNew):
701 (doImport): add shortcuts to directory buttons
703 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
706 * lyxfunc.C (setStatusMessage):
707 (getStatusMessage): new methods
708 (getStatus):use setStatusMessage instead of setErrorMessage
709 (dispatch): when function is disabled, set error message here
710 [instead of in getStatus previously]
712 * BufferView_pimpl.C (workAreaButtonRelease): update
713 toolbar/menubar here too.
715 2002-01-13 Allan Rae <rae@lyx.org>
717 * BufferView2.C (removeAutoInsets): finished off earlier fix.
718 Now seems indestructible. Remaining task is to audit all other
719 code affected by deleteEmptyParagraphMechanism. One small quirk
720 left is that an empty document with an error in the preamble can
721 be made to report an error but no error box appears. I don't know
723 (removeAutoInsets): Improved comments.
725 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
728 * Thesaurus.C: update for Aiksaurus 0.14
730 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
732 * text2.C (firstParagraph): removed member function, all uses
733 replaces with ownerParagraph
734 (redoParagraphs): here
736 (toggleAppendix): here
737 * BufferView2.C (insertErrors): here
738 (setCursorFromRow): here
740 2002-01-13 Allan Rae <rae@lyx.org>
742 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
743 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
744 There is still a way to segfault this although you may have to do this
745 multiple times: Have an InsetERT with an unknown command in it.
746 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
747 <down-arrow>, <Enter> again, View->DVI, BANG!
749 * text2.C (setCursor):
750 (deleteEmptyParagraphMechanism):
751 * lyxtext.h (setCursor):
752 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
753 Making use of the return value may help fix other bugs.
755 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
757 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
759 * LyXView.C (updateMenubar): call MenuBar::update here
760 (updateToolbar): but not here
761 (showState): do not update toolbar/menubar
763 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
764 should need to care about that.
766 * lyxfunc.C (verboseDispatch): simplify a bit
767 (getStatus): have a version which takes a pseudoaction, and
768 another which requires a (kb_action,string).
770 * LyXAction.C (retrieveActionArg): make it work also when action
771 is not a pseudo-action.
772 (getActionName): simplify a bit
775 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
777 * lyxfunc.C (verboseDispatch): new families of methods with
778 several ways to specify a command and a bool to indicate whether
779 the command name and shortcut should be displayed in minibuffer
780 (eventually, we could extend that to a finer bitmask like
781 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
782 (dispatch): the pristine dispatch command which just, well,
783 dispatchs! Note it still sets its result to minibuffer; I'm not
786 * lyxfunc.h: remove setHintMessage
788 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
790 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
792 * BufferView_pimpl.C (specialChar): delete new inset if we have
793 not been able to insert it.
795 * kbmap.C: revert to using int instead of kb_action, since all we
796 are dealing with is pseudo-actions.
798 * LyXAction.C (searchActionArg): change to return int instead of
799 kb_action, since the result is a pseudoaction.
801 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
803 * buffer.C (insertErtContents): Fix (partially) the font bug.
805 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
807 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
808 as the other one is broken on my machine!
810 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
813 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
815 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
817 * lyxrc.[Ch]: change names and descriptions of popup font variables to
818 reflect their actual use. Provide compatibility code for older lyxrc
821 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
823 change names of popup font variables in line with the changes to lyxrc.C
825 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
827 * buffer.C (asciiParagraph): avoid outputing a word twice after
830 * lyxrc.C (getDescription): document that document_path and
831 template_path can be empty.
833 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
835 * LaTeXFeatures.C (getMacros):
836 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
838 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
840 * LaTeXFeatures.C (useFloat): require "float" here instead of in
842 (getPackages): rename feature "floats" to "float". Use an array to
843 iterate over 'simple' features (i.e. just a \usepackage). Add
844 handling of "amsmath" (renamed from "amsstyle").
846 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
848 * LaTeXFeatures.C (require): Prevent duplicate entries in the
851 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
853 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
854 FuncStaus::FuncStatus & FuncStaus::some_method().
856 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
858 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
859 of the func_satus stuff. Edited and massaged in various ways by
862 * lyxfunc.C (getStatus): use FuncStatus
864 2002-01-08 Juergen Vigna <jug@sad.it>
866 * text.C (nextBreakPoint): use function Inset::isChar().
868 * paragraph.C (TeXOnePar): use function
869 Inset::forceDefaultParagraphs.
871 * buffer.C (latexParagraphs): use function
872 Inset::forceDefaultParagraphs.
874 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
876 * lyx_gui.C (init): set the style of the menu popups to
877 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
879 2002-01-07 Juergen Vigna <jug@sad.it>
881 * text.C (setHeightOfRow): small fix
882 (prepareToPrint): don't look at alignment if we don't have the place
885 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
887 * box.C: New file. Move the Box methods and functions out of box.h,
888 following Lars' suggestion.
890 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
892 * box.h: #include "support/LOstream.h", needed for inlined function.
895 * lyxtextclasslist.C: added some using std declarations.
897 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
899 * box.h: make signed dimensions to allow insets wider than
900 the screen (bug #162)
902 * BufferView_pimpl.C: add some insetHit debug
904 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
906 * vc-backend.C: add FIXME
908 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
910 * lyxfunc.C (getStatus): enable code for showing math font status
913 2002-01-07 Juergen Vigna <jug@sad.it>
915 * text.C (nextBreakPoint): removed debug output not needed anymore.
917 2002-01-06 Juergen Vigna <jug@sad.it>
919 * text.C (nextBreakPoint): fixed up this function we had this bug
920 since ever but now hopefully we break row better.
921 (insertChar): we have to check if an inset is the next char as it
922 could now happen that a large inset is causing a break.
924 2002-01-05 Juergen Vigna <jug@sad.it>
926 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
927 if it doesn't like to be drawed.
929 2002-01-04 Juergen Vigna <jug@sad.it>
931 * BufferView2.C (lockInset): forgot to set a cursor.
933 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
935 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
940 * form_maths_panel.C:
941 * form_maths_panel.h:
942 * form_maths_panel.fd: implemented sub- and super- buttons in math
945 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
946 (or ^ space) to be used as in TeX (req'd by André).
948 * lyxfunc.C: Allow ^ and _ again to be used both as
949 super/subscript (mathed) and as themselves (in text).
951 2002-01-03 Allan Rae <rae@lyx.org>
953 * LyXView.C (updateWindowTitle): Setup a short icon title of either
954 "LyX" or the filename of the current buffer if it has one. This is a
955 modified form of John Levon's patch.
957 * XFormsView.C (setWindowTitle): also set icon title.
959 * LyXView.h (setWindowTitle): signature changed.
960 * XFormsView.h (setWindowTitle): ditto.
962 2002-01-02 Juergen Vigna <jug@sad.it>
964 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
966 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
968 * screen.C (topCursorVisible): introduce a temp var for
969 text->cursor.row(), handle the case where this row is null. (kindo
972 * text2.C (setCursor): add a couple of asserts.
974 * paragraph.h (inset_iterator): add -> operator
976 * paragraph.[Ch] (autoDeleteInsets): remove member function
978 * BufferView2.C (removeAutoInsets): rewrite to handle the old
979 cursor pos correctly and handle inset deletion by itself.
980 (insertErrors): move iterator declaration out of for expression
982 * lyxtextclass.C: add <algorithm>
984 * Makefile.am: added the new files to sources, removed layout.C
986 * layout.C: removed file
988 * layout.h: remove LYX_DUMMY_LAYOUT
990 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
995 * lyxtextclasslist.[Ch]: new files
997 * include order changes to a lot of files, also changes because of
1000 2001-12-27 Juergen Vigna <jug@sad.it>
1002 * buffer.C (asciiParagraph): more fixes.
1004 * tabular.C (ascii): make ascii export support export of only the
1005 data separated by a column-delimiter.
1006 (ascii): better support for ascii export.
1008 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
1010 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1012 * tabular_funcs.C: use a "using std::getline" instead of the
1013 previous fix from Angus (necessary for cxx + lyxstring)
1015 2001-12-24 Juergen Vigna <jug@sad.it>
1017 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
1019 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
1020 problems. First check a minipage also if we have some ert-contents
1021 (not only on par->size(), second set the right depth of the paragraph
1022 on the relink to the root-paragraph-list!
1024 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
1025 which then did not anymore update the main paragraphs on undo/redo!
1027 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1029 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
1030 code. Support all font-changing funcs (even those which are not in
1031 menu currently). Support for reporting font settings in
1032 mathed (disabled until Andre provides a function on mathed's side).
1034 * func_status.h (toggle): small helper function to set toggle
1037 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
1039 * tabular_funcs.C: getline -> std::getline
1041 2001-12-21 Juergen Vigna <jug@sad.it>
1043 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
1044 accessed and could be 0 (I couldn't generate this but it seems
1047 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1049 * tabular_funcs.C: add LIstream.h, move write_attribute to..
1050 * tabular_funcs.h: here and include iosfwd
1052 2001-12-20 Juergen Vigna <jug@sad.it>
1054 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
1055 inside inset but undo_par was.
1057 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1059 * Thesaurus.C: always include <config.h> in sources.
1063 * box.h: do not include <config.h> in header files
1065 * text.C (paintLastRow): remove unused variable
1067 * text.C (transformChar):
1069 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
1072 * font.C (width): rewrite to use uppercase() instead of
1075 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
1077 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
1079 * lyxfind.C: clean up of find failure position change
1081 2001-12-20 Juergen Vigna <jug@sad.it>
1083 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
1085 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
1086 (TeXRow): added to LaTeX a single tabular row.
1087 (TeXLongtableHeaderFooter): added to output LT-h/f data.
1088 (Latex): simplified and finally good LT-h/f support.
1089 (various_functions): just small adaptions for LT-h/f support.
1091 * tabular_funcs.[hC]: added and moved here all not classfunctions
1094 2001-12-19 Juergen Vigna <jug@sad.it>
1096 * tabular.[Ch]: better support for longtabular options (not finished
1099 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1101 * text.C (paintLastRow): use the label font instead of the font of
1102 the last character to compute the size of *_BOX. This makes more
1103 sense and avoids a crash with empty paragraphs.
1104 Use Painter::rectangle to draw EMPTY_BOX.
1106 2001-12-19 Juergen Vigna <jug@sad.it>
1108 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
1109 the paragraphs if the replaced paragraph is not the first one!
1110 Tried to delete not used paragraphs but does not work yet so for
1111 now it's inside #ifdef's and by default off!
1113 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1115 * MenuBackend.C: include "lyx_main.h" instead of declaring
1116 lastfiles (actually was declared as LastFiles* instead of a
1119 2001-12-17 Juergen Vigna <jug@sad.it>
1121 * tabular.C (AppendColumn): applied John's fix
1123 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
1127 * BufferView_pimpl.h:
1128 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
1131 * box.h: new start of class for above
1133 * lyxfunc.C: ignore space-only minibuffer dispatches.
1134 Show the command name when it doesn't exist
1136 * minibuffer.C: don't add empty lines to the history
1138 * minibuffer.C: add a space on dropdown completion
1140 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
1142 * text.C: fix line above/below drawing in insets
1144 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
1146 * lyxlength.C (LyXLength): Initialize private variables.
1148 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
1150 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
1151 when inserting error insets.
1153 2001-12-13 Juergen Vigna <jug@sad.it>
1155 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
1156 actually sometimes the before-paragraph.
1157 (setUndo): don't clear the redostack if we're not actually undoing!
1159 2001-12-06 Juergen Vigna <jug@sad.it>
1161 * undo_funcs.C (textHandleUndo): well after John's hint I got here
1162 and fixed redoing of main paragraph, so we can use it now ;)
1164 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
1166 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1168 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
1171 2001-12-13 André Pönitz <poenitz@gmx.net>
1174 * undo_func.C: minor cleanup
1176 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1178 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
1179 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
1180 font in urw-fonts package which is marked as -urw-fontspecific and
1181 does not work (incidentally, changing the encoding in the
1182 fonts.dir of this package to -adobe-fontspecific fixes the
1185 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
1186 is a crash when undoing first paragraph (Juergen, please take a
1187 look). THis does not mean the undo fix is wrong, just that it
1190 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
1191 the (Paragraph*) version when needed instead of duplicating the
1194 * text.C (workWidth): use Inset::parOwner to find out where the
1195 inset has been inserted. This is a huge performance gain for large
1196 documents with lots of insets. If Inset::parOwner is not set, fall
1197 back on the brute force method
1199 * paragraph_pimpl.C (insertInset):
1200 * paragraph.C (Paragraph):
1201 (cutIntoMinibuffer): set parOwner of insets when
1202 inserting/removing them
1204 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
1206 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
1212 * mathed/formulabase.C:
1213 * mathed/math_cursor.[Ch]:
1214 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
1217 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1219 * lyxlength.[Ch] (operator!=): new function
1221 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1223 * text.C (workWidth): use Inset::parOwner to find out where the
1224 inset has been inserted. This is a huge performance gain for large
1225 documents with lots of insets. If Inset::parOwner is not set, fall
1226 back on the brute force method
1228 * paragraph_pimpl.C (insertInset):
1229 * paragraph.C (Paragraph):
1230 (cutIntoMinibuffer): set parOwner of insets when
1231 inserting/removing them
1233 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
1235 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1237 * tabular-old.C (getTokenValue):
1238 * tabular.C (getTokenValue):
1239 (write_attribute): new versions for LyXLength
1240 (everywhere): adjust the use of widths
1242 * tabular.h: change the type of widths from string to LyXLength
1244 2001-12-11 Ben Stanley <bds02@uow.edu.au>
1246 * paragraph.C: fixed missing line number count when exporting
1247 Environments to LaTeX file
1249 * buffer.C: added informational message for checking line numbers.
1251 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1253 * text2.C (deleteEmptyParagraphMechanism): if there is only one
1254 paragraph, do the 'double space' part, but not the 'empty
1257 * text.C (workWidth): small optimization
1258 (getLengthMarkerHeight): use minimal size for negative lengths.
1260 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
1262 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
1264 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
1266 2001-12-11 André Pönitz <poenitz@gmx.net>
1269 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
1271 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1273 * text2.C: keep selection on a setFont()
1275 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1277 * lyx_cb.C: another bv->text misuse, from insert label
1279 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
1282 * kbsequence.C: re-instate nmodifier mask
1284 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
1286 * lyx_main.h: make lyxGUI private.
1288 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1290 * lyxfind.C: place the cursor correctly on failed search
1292 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1294 * text.C (getLengthMarkerHeight): for small heights, the arrows
1295 are not always on top/bottom of the text
1296 (drawLengthMarker): smaller arrows; take the left margin in
1297 account; draw also vfills.
1299 (paintLastRow): remove special code for vfill and standard spaces,
1300 since everything is handled in drawLengthMarker now.
1302 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1304 * buffer.C (insertErtContents): try to handle font and language
1305 interaction a bit better.g
1307 * ColorHandler.C (updateColor): change the hash to cover the whole
1308 LColor enum, ws cleanup
1309 (getGCLinepars): ditto
1310 (getGCLinepars): only lookup in the linecache once.
1312 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
1314 * iterators.C (operator++): Make the iterator more robust
1316 * BufferView2.C (removeAutoInsets): Use paragraph iterators
1318 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
1320 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1323 * text.C: better added space drawing
1325 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1328 * BufferView2.C: fix layout combo update on inset unlock
1330 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1332 * Makefile.am: don't compile unused files
1334 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1338 * LyXAction.C: remove old LFUN_LAYOUTNO
1340 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1342 * paragraph_pimpl.h:
1343 * paragraph_pimpl.C: isTextAt() doesn't need font param
1345 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1348 * lyxlex.C: little cleanup
1350 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1352 * BufferView_pimpl.C: fix insertAscii for insets
1354 2001-12-05 Juergen Vigna <jug@sad.it>
1356 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
1357 set the right font on the "multi" paragraph paste!
1359 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1365 * lyxlength.C: remove out-commented code.
1381 * vc-backend.C: change "while(" to "while ("
1383 * lyxlength.[Ch]: add zero function to check if length is zero or
1385 * lyxgluelength.C: use it
1387 2001-12-05 Allan Rae <rae@lyx.org>
1389 * lyxlength.C: Attempted a fix for the abs(int) header selection.
1390 Works for 2.95.3, from what I understand of Garst's reports this should
1391 work for other g++ versions. We're screwed if the abs(int) definition
1392 changed between bugfix releases of gcc.
1394 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
1396 * text.C: fix chapter label offset !
1398 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
1401 * text.C: fix hfill at end of line, clean up
1403 2001-12-04 Juergen Vigna <jug@sad.it>
1405 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
1406 that we force an update of the inset and it's owners if neccessary.
1408 2001-12-03 Juergen Vigna <jug@sad.it>
1410 * text.C (rowLast): simplified code
1412 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
1414 * lyxfunc.C: fix show options on timeout
1416 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1418 * screen.C (topCursorVisible): scroll half a page when the cursor
1419 reached top of bottom of screen
1421 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
1423 * minibuffer.C: deactivate on loss of focus
1425 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1427 * vspace.[Ch] (operator!=): add operator.
1429 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1431 * BufferView_pimpl.C: refuse to open an inset when
1432 there's a selection.
1434 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
1436 * BufferView_pimpl.C: allow to click on RHS of full row insets
1438 2001-11-30 Juergen Vigna <jug@sad.it>
1440 * tabular.C (LyXTabular): add a same_id to set the same id's in the
1441 insets for undo reasons.
1443 2001-11-28 André Pönitz <poenitz@gmx.net>
1445 * vspace.[Ch]: cosmetical changes
1447 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1457 * kbsequence.C: part re-write of old kb code
1460 * WorkArea.C: remove Lgb_bug_find_hack
1462 2001-11-30 José Matos <jamatos@fep.up.pt>
1464 * buffer.C (makeDocBookFile): add a comment to point a hack.
1465 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
1466 Fixed a double write of labels.
1468 2001-11-29 Ben Stanley <bds02@uow.edu.au>
1471 * LaTeX.h Fixed bug in LaTeX class where it would not
1472 re-run latex if no depfiles were changed, but the .dvi was removed.
1474 2001-11-28 André Pönitz <poenitz@gmx.net>
1476 * all the files from the change on 2001/11/26:
1477 use lyx::layout_type instead of LyXTextClass::size_type
1478 use lyx::textclass_type instead of LyXTextClassList::size_type
1480 2001-11-29 Juergen Vigna <jug@sad.it>
1482 * text.C: added support for paragraph::isFreeSpacing()
1484 * buffer.C: same as above
1486 * paragraph.h: inserted isFreeSpacing() function to enable
1487 FreeSpacing inside InsetERT.
1489 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
1490 of the paragraph's in the cut/copy buffer to 0!
1492 * text2.C (removeRow): remove the assert as it can!
1494 * lyxtext.h: added helper function firstRow returning firstrow and
1495 made firstrow private again.
1497 * BufferView2.C (lockInset): don't relock if we're already locked!
1499 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
1501 (removeRow): added Assert::(firstrow)
1503 * debug.C: forgot to add INSETTEXT here.
1505 2001-11-28 Juergen Vigna <jug@sad.it>
1507 * sp_spell.C (initialize): changed error text to more general
1508 spellchecker command use (not only ispell!)
1510 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
1512 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
1514 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1516 * vspace.C: initialise lyxgluelength on failure
1518 2001-11-28 Allan Rae <rae@lyx.org>
1520 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
1521 declaration & definition that looks like a function declaration.
1523 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1525 * BufferView2.C (copy):
1526 (copyEnvironment): do not clear the selection when doing a copy.
1528 * text.C (paintFirstRow): compilation fix
1530 2001-11-27 Ben Stanley <bds02@uow.edu.au>
1532 * tabular.C (Latex): correct line count when writing latex.
1534 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
1536 * paragraph_pimpl.h:
1537 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
1540 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1544 * LColor.C: change vfillline->added_space
1546 * text.C: add markers and text for added space
1548 * vspace.C: fix comment
1550 2001-11-28 André Pönitz <poenitz@gmx.net>
1552 * paragraph.C: whitespace changes
1553 * all the other files from the change on 2001/11/26:
1554 change *::pos_type into lyx::pos_type
1556 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
1558 * buffer.C (parseSingleLyXformat2Token): Set the language to the
1559 language of the document when inserting error insets.
1561 2001-11-26 André Pönitz <poenitz@gmx.net>
1563 * BufferView_pimpl.[Ch]:
1571 * paragraph_pimpl.[Ch]:
1574 * text2.C: reduce header dependencies, introduce type for positions
1576 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1578 * <various>: change to use Alert.h
1580 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
1582 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
1583 when encountering an unknown token.
1584 (readLyXformat2): Show an error message if there were unknown tokens.
1586 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
1589 * BufferView_pimpl.C:
1593 * text2.C: use par->isInset()
1595 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1597 * paragraph_pimpl.h:
1598 * paragraph_pimpl.C: cleanup
1600 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1602 * text2.C (removeRow):
1603 * text.C (setHeightOfRow): remove useless (and costly) call to
1606 2001-11-20 Allan Rae <rae@lyx.org>
1608 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
1609 Now need Inset*::checkInsertChar() to return true for appropriate
1610 cases so that the characters in the minibuffer will actually be
1613 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
1615 * text.C: change the order of the includes.
1616 (workWidth): initialize it at once.
1617 (workWidth): make maxw unsigned
1618 (setHeightOfRow): remove unused variable (inset)
1619 (selectSelectedWord): remove unused variable (inset)
1620 (paintRowText): fix drawing of hfill characters, and clean up a bit.
1622 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1624 * lyxserver.C (emergencyCleanup): do not try to close pipes if
1625 server is not running.
1627 (closeConnection): add debug info when server is disabled.
1629 * ColorHandler.C (getGCForeground): send debug message to GUI
1632 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
1634 * kbmap.C (bind): modify because return conventions of
1635 kb_sequence::parse have changed.
1637 * kbsequence.C (parse): only ignore spaces and not any stupid
1638 control character. This avoids tests like s[i] <= ' ', which are
1639 guaranteed to fail with 8bit characters and signed chars.
1640 Change return code to string::npos when there have been no error
1641 (0 was a bad idea when error is at first character)
1643 2001-11-14 José Matos <jamatos@fep.up.pt>
1646 * buffer.C (simpleDocBookOnePar): removed unused argument.
1648 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1650 * text.C (selectNextWordToSpellcheck): do not test explicitely for
1651 insets which are part of a word. Paragraph::isLetter takes care of
1652 that now. Use Paragraph::isInset to identify insets.
1653 (selectSelectedWord): do not test for hyphenation break.
1655 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
1656 that protected spaces are considered as spaces.
1658 * paragraph.C (isLetter): cleanup the code for ispell extras; use
1661 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
1664 * lyxserver.C: fix it. and small cleanup.
1666 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
1668 * BufferView_pimpl.C: use inline helpers
1671 * LaTeXFeatures.C: fix typos
1674 * Spacing.C: move spacing_string into class
1676 * ToolbarDefaults.C: move stuff into namespace anon
1678 * layout.h: update enum
1680 * lyxfunc.C: use better debug
1682 * minibuffer.h: fix typo
1686 * WorkArea.C: add and use Debug::WORKAREA
1690 * text2.C: code re-organisation, inline helpers
1692 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
1694 * Layout.C: replaced a few cases of std::vector.size() == 0 with
1695 std::vector.empty().
1697 2001-11-09 Allan Rae <rae@lyx.org>
1699 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
1700 '\n's after tables. Tabular and ERT inset work now makes this no
1703 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
1706 * minibuffer.C: fix crash, improve drop-down completion
1708 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
1711 * lyxserver.C: invalidate fd's when doing endPipe()
1713 2001-11-08 José Matos <jamatos@fep.up.pt>
1715 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
1716 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
1719 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
1721 2001-11-07 José Matos <jamatos@fep.up.pt>
1724 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
1727 * buffer.C (sgmlOpenTag):
1728 * buffer.C (sgmlCloseTag): removed debug info.
1730 * buffer.h (sgmlOpenTag):
1731 * buffer.h (sgmlCloseTag): made public.
1733 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1735 * buffer.C (saveParamsAsDefaults):
1736 * lyx_cb.C (MenuLayoutSave): remove
1738 * LyXAction.C (init):
1740 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
1742 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1744 * buffer.C (setPaperStuff): removed from here...
1746 * bufferparams.C (setPaperStuff): ... and moved there.
1748 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
1752 * XFormsView.C: add support for drop-down completion
1754 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
1756 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
1759 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1761 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
1764 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
1766 * lyx_main.C: change ref to known bugs
1768 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
1770 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
1771 to work around older babel problems.
1773 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1775 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
1777 2001-10-24 Juergen Vigna <jug@sad.it>
1779 * tabular-old.C (ReadOld): below variable changes reflected.
1781 * tabular.[Ch]: added ltType struct for longtable header/footer
1782 defines and changed all instances where they are used. Added
1783 future support for double top/bottom rows.
1785 2001-10-24 José Matos <jamatos@fep.up.pt>
1787 * buffer.h (docbookHandleCaption):
1788 * buffer.C (docbookHandleCaption): removed unused function.
1789 (makeDocBookFile): moved docbook supported version to v4.1.
1791 2001-10-24 José Matos <jamatos@fep.up.pt>
1794 * tabular.C (docbookRow): new function to export docbook code of a row.
1795 (DocBook): now honors the longtable flags.
1797 2001-10-23 José Matos <jamatos@fep.up.pt>
1800 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
1801 of the lyx defined sgml entities used in a docbook/linuxdoc document.
1803 * buffer.C (makeLinuxDocFile):
1804 (makeDocBookFile): reworked the preamble, more clean, and with
1805 support for lyx defined entities. Changed the document declaration
1806 to be more XML friendly.
1808 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
1809 if we need to output XML that should be done with a filter.
1811 2001-10-22 Juergen Vigna <jug@sad.it>
1813 * sp_pspell.h (class PSpell): add alive function needed in the
1814 controller to see if the spellchecker could be started.
1816 2001-10-22 Juergen Vigna <jug@sad.it>
1818 * buffer.C (insertStringAsLines): modify the font for inserting
1819 chars in certain conditions by calling checkInsertChar(font).
1821 2001-10-19 Juergen Vigna <jug@sad.it>
1823 * text.C (workWidth): use getRow instead of wrong algorithm.
1824 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
1826 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1831 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
1833 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1835 * text.C (workWidth): do not search for the exact row when
1836 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
1837 optimization for big documents.
1839 2001-10-18 Juergen Vigna <jug@sad.it>
1841 * text.C (workWidth): new function with added Inset * parameter.
1843 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1845 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
1847 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
1848 change return type of getColumnNearX.
1851 * text.C (changeRegionCase): use uppercase/lowercase instead of
1854 (rightMargin): simplify code by factoring out the uses of
1859 (appendParagraph): use Paragraph::size_type
1861 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1863 * vspace.C (asLatexString): add a missing break
1865 2001-10-15 Herbert Voss <voss@perce.de>
1867 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
1869 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1871 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
1874 2001-10-10 André Pönitz <poenitz@gmx.net>
1876 * lyxfunc.C: removed greek_kb_flag.
1878 2001-10-10 Herbert Voss <voss@perce.de>
1880 * lyx_main.C: delete global string help_lyxdir.
1882 2001-10-09 Herbert Voss <voss@perce.de>
1884 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
1886 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
1888 * lyx_main.C: added global string help_lyxdir.
1890 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
1892 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1894 * lyxrc.C (set_font_norm_type): support iso8859-4
1896 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1898 * LaTeX.C (deplog): add another regex for MikTeX
1900 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
1902 * lyxrc.C (set_font_norm_type): support iso8859-3
1904 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1906 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
1908 * LaTeXFeatures.C: remove special case of french and index
1910 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
1911 before \begin{document}). This solves several incompatibilities.
1913 2001-10-03 Garst Reese <reese@isn.net>
1915 * lyx_cb.C: change CheckTex error msg.
1917 2001-10-03 José Matos <jamatos@fep.up.pt>
1919 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
1921 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1923 * .cvsignore: update
1925 * lyx_main.C (commandLineVersionInfo): use new style version info.
1927 * buffer.C (writeFile):
1930 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
1932 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
1934 * version.h: update to use stuff in version.C
1936 * version.C.in: new file. Contains version information determined
1937 at compile time. This is a merging of version.h and
1940 2001-10-03 Juergen Vigna <jug@sad.it>
1942 * BufferView_pimpl.C (update): don't change "dirty" status in
1945 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
1947 * WorkArea.C (c-tor): re-position version string slightly.
1949 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
1951 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
1952 revert to previous code.
1954 WorkArea.[Ch]: (show, destroySplash): methods removed.
1956 WorkArea.C: rework code so that it's an amalgam of the codes before and
1957 after the splash screen was moved to WorkArea.
1959 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1962 * vspace.C (inPixels):
1965 * buffer.C (insertStringAsLines):
1966 (asciiParagraph): fix types to be large enough
1968 * lyxlex_pimpl.h: change member status from short to int
1970 * layout.h: fix type of endlabeltype
1973 * kbsequence.C (parse): change return type to string::size_type
1975 * LaTeX.C (updateBibtexDependencies): comment out unneeded
1978 * Bullet.C (bulletSize):
1979 (bulletEntry): do not use short ints as parameters
1981 * BufferView2.C (insertLyXFile): change a char to an int.
1983 * WorkArea.C (WorkArea): remove unneeded floats in computation
1985 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
1987 * buffer.C (asciiParagraph): Treat '\\' as other chars.
1989 * paragraph.C (asString): Do not ignore newline/hfill chars when
1990 copying to the clipboard.
1992 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
1994 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
1995 after a multi-line inset.
1997 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
1999 * paragraph.C (validate): Set NeedLyXFootnoteCode
2001 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
2003 * lyxfont.C (LyXSizeNames): changed increase-error to increase
2004 and decrease-error to decrease.
2006 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2008 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
2009 it more readable (should be equivalent)
2011 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
2013 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
2015 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2017 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
2018 of a cursor (row, etc.) after a character has been deleted
2019 (deleteEmptyParagraphMechanism): call the method above on _all_
2020 cursors held by the LyXText when a double space has been
2023 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
2025 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
2027 (resizeCurrentBuff): remove code to destroy the old splash dialog.
2029 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
2030 background. Use greyOut() and the new show() methods to toggle between
2031 the foreground and background. Add code to remove the splash after
2032 its initial showing.
2034 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
2035 (create_forms): no longer call Dialogs::showSplash.
2037 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2039 * .cvsignore: add version_info.h
2041 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2043 * version_info.h.in: new file
2045 * Makefile.am: add version_info.h.in
2047 * lyx_main.C (commandLineVersionInfo): use version_info defined in
2048 version_info.h instead of VERSION_INFO
2050 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
2052 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
2053 The ERT inset now returns string().
2055 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
2057 * lyxtext.h, text.C (selectNextWord): renamed as
2058 selectNextWordToSpellcheck.
2060 * text.C (selectNextWordToSpellcheck): Modified to not select
2061 words inside an ERT inset.
2063 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2065 * lyx_cb.C (MenuLayoutSave): change a bit the question
2067 * sp_base.h: include <sys/types.h>
2069 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
2071 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
2073 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
2075 * several files: fix typos in user-visible strings
2077 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2079 * text2.C (pasteSelection): do not set the selection, since it
2080 will be cleared later. Actually, the intent was to fix the way the
2081 selection was set, but I figured rmoving the code was just as good.
2083 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
2085 * FontLoader.C (available): Check if font is available without
2088 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2090 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
2092 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
2094 * lyxrc.[Ch]: added display_graphics variable and associated code.
2096 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2098 * bufferparams.C (hasClassDefaults): new method. Returns true if
2099 the buffer parameters correspond to known class defaults
2101 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
2103 * XFormsView.C (show): set minimum size to the main window.
2105 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2107 * text2.C (copySelection):
2109 * lyxfind.C (LyXReplace):
2110 * BufferView_pimpl.C (Dispatch): pass the correct flag to
2111 LyXText::selectionAsString.
2113 * paragraph.C (asString): add "label" argument to the second form
2115 * text2.C (selectionAsString): add "label" argument and pass it to
2116 Paragraph::asString.
2118 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2120 * lyx_main.C (commandLineHelp): remove version information
2122 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
2124 * lyx_main.C: add -version commandline option
2126 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
2128 * paragraph.h: make the optional constructor arg required instead.
2129 some modifications to other files because of this.
2131 * minibuffer.C (C_MiniBuffer_peek_event): make it static
2133 * lyxserver.C (C_LyXComm_callback): make it static
2135 * lyx_main.C (error_handler): make it static
2137 * lyx_gui.C (LyX_XErrHandler): make it static
2139 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
2141 * WorkArea.C: make the extern "C" methods static.
2143 * Makefile.am (lyx_LDADD): simplify
2145 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2147 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
2148 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
2150 * LyXAction.C (init):
2151 * lyxfunc.C (dispatch): associated code removal.
2153 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2155 * lyxfont.h (isSymbolFont): shut off warning
2157 * text.C (setHeightOfRow):
2158 (getVisibleRow): fix crash with empty paragraphs which have a
2161 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
2163 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
2166 2001-09-04 José Matos <jamatos@fep.up.pt>
2169 * tabular.C (docbook): rename docBook method to docbook.
2171 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2173 * Makefile.am: add dependencies to main.o.
2175 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
2177 * FontLoader.C (available): Return false if !lyxrc.use_gui
2179 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
2181 * FontInfo.C (query):
2182 * converter.C (view):
2183 * importer.C (Import):
2184 * exporter.C (Export): Can not -> cannot.
2186 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
2188 * BufferView_pimpl.C: allow to create index inset even if
2191 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2193 * buffer.C (getLists): replace boost::tie code with an explicit pair
2194 as boost::tie can break some compilers.
2196 * iterators.h: Added a std:: declaration to the return type of
2199 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
2201 * lyxrc.C: add help for view_dvi_paper_option, default to safe
2204 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
2206 * iterators.[Ch]: New files. Provide paragraph iterators.
2208 * buffer.C (changeLanguage): Use paragraph iterators.
2209 (isMultiLingual): ditto
2211 * BufferView2.C (ChangeInsets): Use paragraph iterators.
2213 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
2215 * FontLoader.C: Support for cmr font.
2217 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
2219 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
2220 (available): New method.
2222 * FontInfo.C (getFontname): Use scalable fonts even when
2223 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
2226 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
2228 * converter.C (Formats::view): reverted! Incorrect fix.
2230 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
2232 * converter.C (Formats::view): only output the -paper option
2233 if the dvi viewer is xdvi, thereby fixing bug #233429.
2235 2001-08-23 Herbert Voss <voss@perce>
2237 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
2239 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
2241 * Spacing.h (Spacing): Set space to Default on in the default
2244 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
2246 * vc-backend.h (RCS::versionString): add RCS to version
2247 (CVS::versionString): add CVS to version
2249 * vc-backend.C (scanMaster): do not add CVS to version.
2250 (scanMaster): do not add RCS to version
2252 * lyxvc.C (versionString): new method
2254 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
2256 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2258 * Spacing.C (set): initialize fval
2260 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
2262 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
2265 2001-08-16 Juergen Vigna <jug@sad.it>
2267 * lyxfunc.C (dispatch): implemented the new FINISHED states.
2269 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
2271 * BufferView_pimpl.C:
2274 * text2.C: setParagraph takes linespacing now
2276 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
2278 * LyxAction.C: add internal LFUN_CITATION_INSERT
2280 * LyXView.C: actually apply fix
2282 * bufferlist.C: fix open non-existent file
2284 * lyxfind.C: fix indentation
2286 * lyxfunc.C: remove unneeded assert, fix typo
2288 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
2290 * MenuBackend.C: use "Floatname List"
2292 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
2294 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
2295 when converting LaTeX layout to insetERT.
2296 Generate a non-collapsed float when reading old float
2298 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
2300 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
2303 2001-08-13 Juergen Vigna <jug@sad.it>
2305 * text.C (fill): return 0 instead of 20 as this seems to be the more
2308 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
2310 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
2313 2001-08-13 Juergen Vigna <jug@sad.it>
2315 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
2317 (SearchBackward): comment out the unlocking of the inset_owner this
2318 should not be needed!
2320 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
2322 * Many files: Remove inherit_language, and add latex_language
2324 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
2327 2001-08-10 Juergen Vigna <jug@sad.it>
2329 * text.C (prepareToPrint): fixed hfill-width in draw!
2331 * BufferView2.C (selectLastWord): save the selection cursor as this
2332 now is cleared in the function LyXText::clearSelection!
2334 2001-08-08 Juergen Vigna <jug@sad.it>
2336 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
2337 BACKSPACE type functions.
2339 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
2340 is only cutted from the document but not put in the cut-buffer, where
2341 still the old stuff should be.
2343 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
2345 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
2347 * tabular.C (SetWidthOfCell): fixed special case where the width
2349 (LeftLine): handle '|' in align_special.
2351 (LeftAlreadyDrawed): ditto
2352 (SetWidthOfCell): ditto
2354 2001-08-07 Juergen Vigna <jug@sad.it>
2356 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
2358 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2360 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
2361 * lyxlex.[hC]: ditto
2363 2001-08-06 Juergen Vigna <jug@sad.it>
2365 * text.C (getVisibleRow): fix up row clearing a bit.
2367 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2369 * minibuffer.C: make sure the X server sees the changes in the input.
2371 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2373 * paragraph.C (getFont): split into...
2374 (getLabelFont): this
2375 (getLayoutFont): and this
2376 * paragraph_pimpl.C (realizeFont): calling this
2378 * text2.C (getFont): split into...
2379 (getLayoutFont): this
2380 (getLabelFont): and this
2381 (realizeFont): all three calling this
2383 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
2386 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2388 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
2390 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
2392 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
2393 layouts from the Quote inset insertion.
2395 2001-08-03 Juergen Vigna <jug@sad.it>
2397 * BufferView_pimpl.C (update): do the fitCursor only at the end!
2399 * screen.C (drawFromTo): don't call fitcursor here and do the loop
2400 only if status not is already CHANGED_IN_DRAW (second level).
2402 * text.C (draw): don't set the need_break_row when inside an
2405 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2407 * buffer.C (parseSingleLyXformat2Token): handle more latex
2410 * bufferview_funcs.[hC]: change function names to
2411 begin with small char, adjust other files.
2413 2001-08-02 André Pönitz <poenitz@gmx.net>
2416 BufferView_pimpl.C: remove broken special code for math-greek
2418 2001-08-02 Juergen Vigna <jug@sad.it>
2420 * BufferView_pimpl.C (update): redone this function so that we
2421 update the text again if there was a CHANGE_IN_DRAW.
2423 * screen.C (cursorToggle): removed LyXText parameter and recoded.
2424 (drawFromTo): added a new internal bool which is used by draw() and
2426 (general): some cursor drawing problems fixed.
2428 2001-08-01 Juergen Vigna <jug@sad.it>
2430 * lyxfind.C (LyXFind): fixed
2431 (SearchForward): ditto
2432 (SearchBackward): ditto
2434 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
2435 spurius drawing of the cursor in the main area.
2437 * text2.C (status): small fix which could lead to a segfault!
2438 (clearSelection): remove unneeded BufferView param.
2440 2001-08-01 André Pönitz <poenitz@gmx.net>
2442 * lyxfunc.C: small change due to changed mathed interface
2444 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2446 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
2448 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
2450 * lyxfunc.c: fail gracefully if file doesn't exist
2455 * BufferView_pimpl.C: IsDirWriteable() proto changed
2457 * LyXView.C: fix updateWindowTitle() to store the last title
2459 2001-07-31 Juergen Vigna <jug@sad.it>
2461 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
2462 the font (wrong since using of Paragraph::highestFontInRange).
2464 * paragraph.C (highestFontInRange): added a default_size parameter.
2466 * text.C (getVisibleRow): minor clear row changes (still not perfect).
2467 (setHeightOfRow): reformat
2469 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2471 * converter.[hC] + affected files: move to (inital-char)lowercase
2474 * ParagraphParameters.C (ParagraphParameters): remove commented code
2476 * PainterBase.[Ch]: remove commented code
2478 * LaTeXFeatures.h: add "bool floats" for float.sty
2480 * LaTeXFeatures.C (LaTeXFeatures): init floats
2481 (require): handle float
2482 (getPackages): do it with floats
2484 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2486 * BufferView_pimpl.C (Dispatch): improve handling of
2487 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
2489 * commandtags.h: #include lyxfont.h here temporarily to avoid
2492 * bufferlist.h: include LString.h here.
2494 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2496 * text2.C (getStringToIndex): new method.
2498 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
2500 * *: Reduced header file dependencies all over.
2502 2001-07-30 Baruch Even <baruch@lyx.org>
2504 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
2506 2001-07-29 Baruch Even <baruch@lyx.org>
2508 * buffer.C (readInset): Changed GRAPHICS to Graphics.
2510 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2512 * ParameterStruct.h (endif): add a default constructor to make
2513 sure that all variables is initialized.
2515 * ParagraphParameters.C (ParagraphParameters): adjust
2517 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2519 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
2520 index; also, check that there is something to index, and that it
2521 does not span over several paragraphs.
2522 (doubleClick): use WHOLE_WORD_STRICT for double click.
2524 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
2526 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
2529 2001-07-26 Baruch Even <baruch@lyx.org>
2531 * buffer.C (readInset): Changed to call up InsetGraphics when reading
2532 an InsetFig figure, backwards compatible reading of old figure code.
2534 2001-07-27 Juergen Vigna <jug@sad.it>
2536 * text2.C: font.realize function adaption.
2538 * text.C (draw): add a warnings lyxerr text if needed.
2540 * layout.C: font.realize function adaption.
2542 * language.C: add inherit_language and implement it's handlings
2544 * bufferview_funcs.C (StyleReset): remove language parameter from
2545 font creation (should be language_inherit now).
2547 * bufferparams.C (writeFile): handle ignore_language.
2549 * paragraph.C (getFontSettings): the language has to be resolved
2550 otherwise we have problems in LyXFont!
2552 * lyxfont.C (lyxWriteChanges): added document_language parameter
2553 (update): removed unneeded language parameter
2555 * paragraph.C (validate): fixed wrong output of color-package when
2556 using interface colors for certain fonts in certain environments,
2557 which should not seen as that on the final output.
2559 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
2561 * BufferView_pimpl.C:
2566 * LyXAction.C: add thesaurus support
2569 * lyxfind.C: add "once" parameter, for thesaurus, to not
2570 move to the next match
2572 2001-07-26 Juergen Vigna <jug@sad.it>
2574 * lyxfont.C (realize): honor ignore_language too!
2577 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
2579 * text.C (draw): one place more for ignore_language to not draw
2582 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
2584 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
2586 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2588 * buffer.C (parseSingleLyXformat2Token): a more general fix for
2589 the minipage conversion problem.
2591 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2593 * buffer.C (parseSingleLyXformat2Token): check minipage if we
2596 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2598 * BufferView.h: don't forward declare WorkArea
2600 * BufferView.C: don't include WorkArea.h
2602 2001-07-25 André Pönitz <poenitz@gmx.net>
2606 * lyxfunc.C: new LFUN 'math-space'
2608 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
2610 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2612 * text2.C (toggleInset): call open/close
2614 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2616 * lyxfunc.C (dispatch): add debug for the disabled case
2618 * font.C (buttonText): make similar to rectText
2620 * buffer.C (readInset): comment out parsing of insetlist and
2623 * PainterBase.C (rectText): small correction
2625 * BufferView_pimpl.C: comment out insettheorem and insetlist
2626 * LyXAction.C: ditto
2627 * commandtags.h: ditto
2629 2001-07-24 Juergen Vigna <jug@sad.it>
2631 * text.C (draw): honor the ignore_language.
2633 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
2635 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2637 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
2640 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2642 * lyxtext.h: remove unused (and unimplemented) methods
2644 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2646 * text.C (getVisibleRow): honor background color
2649 * Painter.h: remove default color argument for fillRectangle
2651 * text.C (backgroundColor): new method
2653 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2655 * text.C (getVisibleRow): adjust
2657 * font.[Ch] (rectText): new method, metrics
2658 (buttonText): new method, metrics
2660 * PainterBase.[hC]: make rectText and buttonText always draw and take
2663 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2665 * ToolbarDefaults.C (read):
2666 * MenuBackend.C (read): allow escaping in all strings
2668 * BufferView_pimpl.C (insertAndEditInset): new method.
2669 (Dispatch): use insertAndEditInset whenever appropriate.
2671 * BufferView_pimpl.C (insertNote): removed
2673 * BufferView_pimpl.C (smartQuote): new method, moved from
2674 BufferView; if an insetquote cannot be inserted, insert a '"'
2677 * BufferView2.C: remove insertCorrectQuote();
2679 * lyxfunc.C (getStatus): Add support for all remaingin
2682 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
2684 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
2685 command (necessary to pass " as parameter of self-insert.
2687 * text.C (selectWordWhenUnderCursor):
2688 (selectWord): add word_location parameter
2689 (selectWordWhenUnderCursor): same + remove special code for word
2691 (selectNextWord): use kind() to guess type of insetspecialchar,
2694 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
2695 (insertErtContents): create ert insets as collapsed.
2696 (readInset): better compatibility code for Info inset.
2698 2001-07-20 Juergen Vigna <jug@sad.it>
2700 * lyxfunc.C (dispatch): use always LyXFind now!
2702 * text2.C (init): add a reinit flag so that the LyXText can be
2703 reinited instead of deleted and reallocated (used in InsetText).
2705 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
2711 2001-07-18 Juergen Vigna <jug@sad.it>
2713 * text.C (selectNextWord): handle insets inside inset by calling
2714 always the bv->text functions so that we can go up the_locking_inset!
2716 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
2717 in strange locations when inside an inset!
2719 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
2720 handling to include insets.
2722 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
2724 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2726 * LyXAction.C (init):
2728 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
2729 LIGATURE_BREAK, since the name is so stupid.
2731 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2733 * buffer.C (readInset): enable reading of new InsetNotes as well as old
2736 * FontLoader.C: remove FORMS_H_LOCATION cruft.
2738 * sp_form.[Ch]: remove.
2740 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
2742 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
2745 * src/buffer.C (readInset): ditto.
2747 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2749 * BufferView_pimpl.C (specialChar): new method. Obsoletes
2750 menuSeparator(), endOfSentenceDot(), ldots() and
2751 hyphenationPoint(), which are therefore removed.
2752 (Dispatch): handle LFUN_HYPHENATION_BREAK.
2754 * LyXAction.C (init):
2755 * commandtags.h: add LFUN_HYPHENATION_BREAK.
2757 * paragraph.C (getWord): removed.
2759 * BufferView_pimpl.C (Dispatch): use last word or selection for
2760 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
2762 * lyx_main.C (queryUserLyXDir): do not ask before creating
2763 user_dir, except if it has been named explicitely.
2765 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2767 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
2768 a document of zero size.
2770 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
2772 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
2773 approriately in the c-tor and in require().
2774 (getPackages): output the appropriate LaTeX for natbib support.
2776 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
2777 variables "use_natbib" and "use_numerical_citations" when reading the
2779 (readInset): read the various natbib cite commands.
2780 (validate): white-space change.
2782 * bufferparams.[Ch]: new variables "bool use_natbib" and
2783 "bool use_numerical_citations".
2784 (writeFile): output them in the LyX file.
2786 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2788 * lyxfunc.C (getStatus): add support for all the inset insertion
2791 * text2.C (insertInset):
2792 * paragraph.C (insetAllowed):
2793 * BufferView_pimpl.C (insertInset): update to take in account the
2794 renaming of insertInsetAllowed
2796 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
2798 * text2.C (getInset): new method. returns inset at cursor position.
2800 * BufferView_pimpl.C (Dispatch): changes because of this.
2802 * LyXAction.C (init): rename open-stuff to inset-toggle.
2804 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
2806 * text2.C (toggleInset): renamed from openStuff; use
2809 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2811 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
2813 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
2815 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
2817 * buffer.C (readLyXformat2): Add filename to the error dialog
2819 2001-07-18 Juergen Vigna <jug@sad.it>
2821 * tabular.C (GetCellNumber): put an assert here instead of the check!
2823 2001-07-17 Juergen Vigna <jug@sad.it>
2825 * BufferView_pimpl.C (toggleSelection): adapted too.
2827 * text.C (selectNextWord): adapted for use with insets.
2828 (selectSelectedWord): ditto
2830 2001-07-17 Juergen Vigna <jug@sad.it>
2832 * sp_spell.C (PSpell): fix initialitation order.
2834 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2836 * paragraph.C: spacing
2838 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
2840 * sp_spell.C: repair language selection for pspell
2842 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2844 * lyxfunc.h: change more methods to begin with lower char.
2846 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
2848 * buffer.C (parseSingleLyXformat2Token): Generate error insets
2849 for unknown layouts.
2851 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
2853 * buffer.C (readLyXformat2): Generate an error dialog if there are
2856 2001-07-16 Juergen Vigna <jug@sad.it>
2858 * sp_spell.C: always compile ISpell part.
2860 * lyxrc.C: added use_pspell entry and it's handling.
2862 2001-07-13 Juergen Vigna <jug@sad.it>
2864 * sp_spell.C: removed double includes.
2866 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
2868 Consistent use of Lsstream.h:
2869 * Lsstream.h: added using std::stringstream for consistencies sake.
2871 * buffer.C: removed using std::stringstream
2873 * lyxfont.C (stateText):
2874 * paragraph.C (asString):
2875 * text.C (selectNextWord, selectSelectedWord):
2876 * text2.C (setCounter):
2877 * vspace.C (asString, asLatexString):
2878 std::ostringstream -> ostringstream.
2880 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2882 * LyXAction.C: add LFUN_HELP_ABOUTLYX
2883 * commandtags.h: add LFUN_HELP_ABOUTLYX
2884 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
2886 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2888 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
2890 * lyx_gui_misc.C: remove spellchecker
2891 * lyxfunc.C: showSpellchecker
2893 * sp_ispell.h: added
2894 * sp_pspell.h: added
2896 * sp_form.[Ch]: removed
2897 * spellchecker.[Ch]: removed
2899 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
2901 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
2903 (simpleTeXSpecialChars): Simply print the input character without
2904 any special translation if pass_thru is set.
2906 * layout.h: Added bool pass_thru to layout class for being able to
2907 implement pass through of a paragraph for Literate Programming.
2909 * layout.C: add LT_PASS_THRU to LayoutTags enum.
2910 * layout.C (LyXLayout): set pass_thru to flase in constructor.
2911 * layout.C (Read): add "passthru" to list of layout tags and add
2912 code to set the pass_thru boolean when it is read.
2914 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2916 * trans_decl.h: remove allowed from KmodInfo
2918 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
2922 * paragraph_pimpl.C (erase): use boost::prior
2924 * Painter.C (text): use data() instead of c_str() when length is
2926 * WorkArea.C (putClipboard): ditto
2927 * font.h (width): ditto
2929 * BufferView2.C: use it-> instead of (*it). for iterators
2931 * paragraph_pimpl.C: ditto
2932 * paragraph.C: ditto
2933 * minibuffer.C: ditto
2938 * converter.C: ditto
2940 * Variables.C: ditto
2941 * TextCache.C: ditto
2942 * MenuBackend.C: ditto
2943 * LyXAction.C: ditto
2945 * FloatList.C: ditto
2947 * ColorHandler.C (LyXColorHandler): ditto
2949 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2951 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
2953 * text2.C (openStuff): reintroduce this method (which had been
2954 nuked in NEW_INSETS frenzy).
2956 * lyxfunc.C (Dispatch): when an action has not been handled, use
2957 its name in the error message, not its number.
2959 * paragraph.C (inInset): change method name to begin with lowercase.
2962 * text2.C: updates because of this.
2964 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2966 * ToolbarDefaults.C (add): add spaces in error message
2968 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2970 * buffer.C (readLyXformat2): initialize the ert comp. variables.
2971 (readLyXformat2): rename return_par to first_par, use lyxlex's
2972 pushToken and remove the manual push handling.
2973 (parseSingleLyXformat2Token): add another ert comp. variable:
2974 in_tabular, rename return_par to first_par. handle newlines better
2976 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2978 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
2980 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
2982 * text2.C (getParFromID): removed
2984 * buffer.C (getParFromID): new method moved form lyxtext.
2985 * BufferView2.C (insertErrors): adjust
2986 (setCursorFromRow): adjust
2987 * BufferView_pimpl.C (restorePosition): adjust
2988 * lyxfunc.C (Dispatch): adjust
2989 * undo_funcs.C (textUndo): adjust
2991 (textHandleUndo): adjust
2992 (textHandleUndo): adjust
2994 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2996 * buffer.C: up' the LYX_FORMAT
2998 * lyxfont.h: turn NO_LATEX on as default
3000 * buffer.C (insertErtContents): new methods of tex style compability.
3001 (parseSingleLyXformat2Token): use it several places.
3002 * tabular.C (OldFormatRead): and here
3004 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3006 * text2.C: remove some commented code.
3009 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
3010 * trans.C: changes because of the above.
3012 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
3014 * text2.C (setCounter): Fix counters bug with bibliography layout.
3016 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3018 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
3019 own member functions
3020 (simpleTeXSpecialChars): ditto
3022 2001-07-06 Juergen Vigna <jug@sad.it>
3024 * a lot of files: changed the access to LyXText::status and the
3025 call of undo-functions.
3027 * undo.[Ch]: added a inset_id to the undo informations.
3029 * undo_funcs.[Ch]: added and moved here all undo functions.
3031 * lyxtext.h: give the status enum a weight, made status_ a private
3032 variable and made accessor functions for it, removed the whole bunch
3033 of undo-functions as they are now in their own file, make some
3034 functions publically available. Added function ownerParagraph with
3037 * paragraph.[Ch]: added "bool same_ids" to the constructor,
3038 made InInset() a const function, added getParFromID() function.
3040 * buffer.[Ch]: added const version for inset_iterator functions,
3041 added getInsetFromID() function.
3043 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
3044 changed undo functions for new version.
3046 2001-07-05 Juergen Vigna <jug@sad.it>
3048 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
3049 unknow mechanism does not call the proper constructor but only this
3050 one also if I request the other!?
3052 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3054 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
3056 * text2.C (LyXText): use initialization lists.
3058 * lyxtext.h (Selection): initialize set_ and mark_
3059 (init): remove method
3061 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
3063 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
3065 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3067 * screen.[Ch]: change method names to begin with lowercase
3069 * BufferView_pimpl.C (updateScrollbar): simplify further and
3070 hopefully make it a bit faster.
3072 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3074 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
3075 calling directly xforms functions.
3077 * Painter.C (Painter):
3078 * lyx_cb.C (MenuWrite):
3079 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
3082 * lyx_gui.C: remove bogus guiruntime extern declaration.
3084 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3086 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
3088 (redoDrawingOfParagraph): ditto
3089 (redoParagraphs): ditto
3090 (cutSelection): don't create a object for CutAndPaste use the
3091 static method directly
3092 (pasteSelection): ditto
3094 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
3097 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3099 * modifications to some other files because of this.
3101 * Makefile.am (lyx_SOURCES): add XFormsView
3103 * XFormsView.[Ch]: new files
3105 * LyXView.[Ch]: make LyXView a base class for the gui handling for
3106 the main window. Move the gui dependent stuff to XFormsView
3108 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3110 * tabular.C (GetCellInset): update cur_cell also in the row/col
3111 version of this function.
3113 * lyxfunc.C: no need to include figure_form.h here.
3119 * lyxvc.C: no need to include forms.h here.
3121 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3123 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
3125 * lyxfunc.C (Dispatch):
3127 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
3128 constructor argument.
3130 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3132 * paragraph.C (Paragraph): dont't clear, and just set layout.
3133 (makeSameLayout): use params's copy contructor.
3135 * ParagraphParameters.[Ch] (makeSame): delete method
3137 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
3139 * Variables.[Ch]: fix indentation, rename set to isSet
3141 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3143 * lyxfunc.C (Dispatch): fix typo
3145 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3147 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
3150 * bufferlist.C: include assert.h for emergencyWrite().
3152 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3154 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
3155 give up at last (bug #425202) !
3157 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
3163 * spellchecker.C: strip spellchecker options and bring up
3164 preferences tab instead
3166 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3168 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
3169 the istringstream constructor
3171 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3173 * paragraph.C (getLayout): fix return value
3175 * paragraph.h: do not declare getLayout as inline.
3177 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
3179 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3181 * lyxcursor.h (operator<): new func
3182 (operator>): new func
3183 (operator>=): new func
3184 (operator<=): new func
3186 * text.C (changeCase): use selection.start and selection.end
3187 (changeRegionCase): require from to be <= to. Require par to be a
3190 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
3192 2001-06-27 Juergen Vigna <jug@sad.it>
3194 * text.C (cursorLeftOneWord): changed to return the cursor and added
3195 overlay with BufferView * parameter which calls this one.
3197 (selectWord): use new getWord function.
3198 (changeCase): renamed from changeWordCase as and extended to work
3201 * lyxtext.h: added enum word_location
3203 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
3204 changeCase as this operates now also on selections.
3206 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
3208 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
3210 * many files: send debug output to Debug::INFO instead of
3213 * converter.C (View):
3215 (Move): send debug output to Debug::FILES instead of console.
3217 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
3219 * lyxfunc.C (getStatus): use func_status
3221 * func_status.h: new header, describing the results of
3224 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
3227 2001-06-25 The LyX Project <jug@sad.it>
3229 * buffer.C (sgmlOpenTag):
3231 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
3233 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3235 * text2.C: remove some dead code
3237 * tabular.C (GetCellInset): store the last cell checked (gotten)
3239 * tabular.h: add the helper for the speedup
3241 * lyxtext.h: remove some dead code
3243 2001-06-26 The LyX Project <Asger>
3245 * paragraph.C: Change export to LaTeX of alignment to
3246 \begin{center} and family for better roundtrip work with reLyX.
3248 * Tune the math drawing a bit.
3250 2001-06-25 The LyX Project <Asger>
3252 * LColor.C (LColor): New color for math background. New color
3255 2001-06-25 The LyX Project <jug@sad.it>
3257 * lyxfunc.C (MenuNew): remove extra check for .lyx file
3260 * bufferlist.C (newFile): do not restrict to files ending with
3263 * BufferView_pimpl.C (MenuInsertLyXFile):
3265 2001-06-24 The LyX Project <jug@sad.it>
3267 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
3270 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3272 * lyxtext.h: rename most methods to begin with a small char.
3273 Lots of changes because of this.
3275 * paragraph.C (Paragraph): do not call fitToSize
3276 (erase): call Pimpl::erase
3277 (insertChar): call Pimpl::insertChar
3278 (insertInset): call Pipl::insertInset
3279 (breakParagraph): do not call fitToSize
3280 (breakParagraphConservative): do not call fitToSize
3281 (fitToSize): remove method
3283 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
3285 2001-06-24 The LyX Project <Asger>
3287 * Fix Qt compilation^2
3289 2001-06-24 The LyX Project <jug@sad.it>
3291 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
3292 depthHook(getDepth()-1).
3295 * ParagraphParameters.h:
3296 * ParameterStruct.h: change type of depth to unsigned int ==
3297 depth_type. Many adaptations to other files before of that.
3299 2001-06-24 The LyX Project <Asger>
3301 * Fix Qt compilation.
3303 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3305 * paragraph.h: renamed several methods to begin with small letter.
3306 several changes to many parts of the code because of this.
3308 2001-06-23 The LyX Project <jug@sad.it>
3310 * text2.C (InsertStringAsLines): renamed from InsertStringA;
3311 rewritten to discard all double spaces when KeepEmpty is off
3312 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
3313 to only handle newlines but not fiddle with spaces and friends.
3315 * lyxfunc.C (MenuNew): when doing 'new from template', use
3316 template_path as default directory
3318 2001-06-23 The LyX Project <Asger>
3320 * Clean-up of header file includes all over
3321 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
3323 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3325 * paragraph.h: renamed from lyxparagraph.h
3327 2001-06-23 Asger <lyx@violet.home.sad.it>
3329 * Buffer.h: Removed Buffer::resize
3330 * BufferList.h: Removed BufferList::resize
3331 * LyXView.h: Added LyXView::resize. This way, we will only reflow
3332 the document lazily when we change the width, or the font settings.
3334 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3336 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
3338 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3340 * buffer.h: remove out of date comment
3342 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3345 * screen.C: fix "theoretical" GC leak
3347 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3349 * LaTeX.C (scanAuxFile):
3350 (deplog): remove trailing \r when reading stream (useful under
3353 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
3355 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
3356 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
3357 and BufferView::theLockingInset(Inset*), so should use them and not
3358 access bv_->text->the_locking_inset directly.
3360 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
3362 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
3365 * tex-defs.h: remove old unused file
3367 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
3369 * BufferView_pimpl.C: fix typo, remove minibuffer message
3370 when buffer has loaded
3372 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3374 * lyxfunc.C (Dispatch): use stringstream
3375 (MenuNew): use stringstream
3376 (Open): use stringstream
3378 * importer.C (Import): use stringstream
3380 * bufferview_funcs.C (CurrentState): use stringstream
3382 * LaTeX.C (run): use stringstream
3384 * BufferView_pimpl.C (savePosition): use stringstream
3385 (restorePosition): use stringstream
3386 (MenuInsertLyXFile): use stringstream
3388 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
3401 * vspace.C: removed // -*- C++ -*- as first line.
3404 * version.h: added // -*- C++ -*- as first line.
3406 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3408 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
3410 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
3413 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3415 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
3418 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3420 * gettext.C: include LString.h even when --disable-nls is on.
3422 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
3424 * converter.h (Get): changed argument type from int to
3425 FormatList::size_type to avoid unnecessary conversion.
3427 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
3430 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3432 * gettext.h: include LString.h even when --disable-nls is on.
3434 2001-06-07 Juergen Vigna <jug@sad.it>
3436 * text.C (BreakAgain): subst spaces with tabs.
3438 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
3439 (resizeInsetsLyXText): set force on resizeLyXText.
3441 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3443 * gettext.h (gettext_init):
3444 (locale_init): use a real definition instead of a macro
3446 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
3448 * Bufferview_pimpl.C:
3450 * LColor.C: further lcolor tidies
3452 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3454 * BufferView_pimpl.C (updateScrollbar): simplify.
3456 * BufferView2.C: don't include insets/insetinfo.h, change
3457 prototype for insertInset and call the Pimpl version. let
3458 updateInset call Pimpl version.
3460 * BufferView.h: move inset_slept to BufferView::Pimpl, move
3461 gotoInset to BufferView::Pimpl
3463 2001-06-01 Juergen Vigna <jug@sad.it>
3465 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
3466 inside a LockingInset (is the update needed at all?).
3468 2001-05-31 Juergen Vigna <jug@sad.it>
3470 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
3471 here not the old one otherwise how should we compare it afterwards
3474 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3479 * FontInfo.C: bring C functions into global namespace when
3482 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3484 * LString.h: make sure config.h has been loaded before LString.h.
3486 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
3487 (one for each char read by EatLine!).
3489 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
3492 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3494 * paragraph.C (BreakParagraph): set the inset_owner in the new par
3495 to the same as the par we break from
3497 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
3499 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
3501 * MenuBackend.C (expand): also create menu entries for wide
3502 versions of the floats.
3504 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
3506 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
3508 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
3509 frontends/Makefile.am
3515 * tabular.C (getTokenValue): add std::
3517 * tabular-old.C (getTokenValue): add std::
3518 (getTokenValue): ditto
3519 (getTokenValue): ditto
3521 * screen.C (ToggleSelection): adjust
3523 * lyxtext.h: put selection cursors inside a Selection struct.
3525 * lyxfunc.C (moveCursorUpdate): adjust
3527 * lyxfont.C (latexWriteStartChanges): add std::
3531 * font.h: delete with(char const *, LyXFont const &)
3533 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
3535 * FontInfo.C (getFontname): add std::
3537 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3538 (workAreaButtonPress): adjust
3539 (tripleClick): adjust
3541 (moveCursorUpdate): adjust
3544 * BufferView2.C (gotoInset): adjust
3546 2001-05-30 Juergen Vigna <jug@sad.it>
3548 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
3549 to check pspell I add this as default as I now have new pspell
3550 libraries and they seem to use this.
3552 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3554 * text2.C (CutSelection): make the cursor valid before the call to
3557 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3559 * kbsequence.C (parse): de-uglify a bit the parsing code, which
3560 relied on 0 terminated strings and other horrors. Bug found due to
3561 the new assert in lyxstring!
3563 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
3566 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3568 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
3571 * lyxfunc.C (processKeySym): change method of getting to the
3574 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
3575 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
3576 * BufferView_pimpl.[Ch]: here as private methods.
3578 2001-05-28 Juergen Vigna <jug@sad.it>
3580 * text.C (SetHeightOfRow): added the update() call again as it is
3581 needed to initialize inset dimensions!
3583 2001-05-16 Juergen Vigna <jug@sad.it>
3585 * text2.C (SetCharFont): Add new function with BufferView * and
3586 bool toggleall parameters for setting insets internal fonts.
3587 (SetFont): Freeze the undo as we may change fonts in Insets and
3588 all this change should be inside only one Undo!
3590 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
3591 setting font's in insets as for them we have the SetFont function!
3593 2001-05-15 Juergen Vigna <jug@sad.it>
3595 * text2.C (ClearSelection): to be sure we REALLY don't have any
3598 * tabular.C (TeXCellPreamble): fixed the left border problem for
3601 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
3603 * LaTeX.C (deplog): Make sure that the main .tex file is in the
3606 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3608 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
3609 LFUN_BREAKPARAGRAPH.
3611 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
3612 help test to "internal only", similar for LFUN_INSERT_URL
3614 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
3615 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
3616 auto_region_delete and deadkeys.
3618 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
3621 * LColor.C: remove some dead entries, tidy a little
3623 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3625 * lyxfunc.C (processKeySym): comment the Escape handling, remove
3627 (Dispatch): implement LFUN_ESCAPE
3629 * commandtags.h: add LFUN_ESCAPE
3631 * LyXAction.C (init): add entry for LFUN_ESCAPE
3633 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
3634 Remove commented code.
3635 (insertNote): moved here
3636 (open_new_inset): moved here
3638 * BufferView[2].[Ch]: move insertNote and open_new_inset to
3641 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3643 * kbmap.C (findbinding): clean it up and make it work correctly.
3645 * lyx_main.C (init): do not pass argc and argv as parameters
3647 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
3649 * buffer.C: fix path for OS/2 & Win32
3653 * lyx_main.C: Added os:: class.
3655 * os2_defines.h: update
3657 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3659 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
3660 better by trying again with reduced state.
3662 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3664 * lyxrc.C (read): print error about invalid key sequence only when
3665 debugging (because not all latinX keysyms are known to some X
3668 * kbsequence.C (getiso): add a few std:: qualifiers
3669 (getiso): comment out extra return statement.
3671 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
3673 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
3675 (Dispatch): enhance the accent inset a bit. (not perfect)
3677 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3679 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
3681 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3683 * bufferlist.C (emergencyWrite): fix assert() call
3685 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
3687 * text.C (InsertChar): Added trivial patch to only send the "you
3688 can not do multiple spaces this way" message once during a
3691 2001-05-08 Baruch Even <baruch@lyx.org>
3693 * Makefile.am: Changed order of libraries to get LyX to link properly
3694 with the gnome frontend.
3696 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3698 * LaTeXFeatures.h: add a std:: qualifier
3700 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
3702 * paragraph.C (String): use stringstream
3704 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3706 * paragraph.C (writeFile): remove footflag arg
3708 * buffer.C (makeLaTeXFile): use stringstream
3709 (latexParagraphs): remove footnot gurba
3711 * LaTeXFeatures.C (getPackages): use stringstream
3712 (getMacros): likewise
3713 (getTClassPreamble): likewise
3714 (getFloatDefinitions): new method
3716 * paragraph.C (writeFile): reindent
3719 * WorkArea.h: revert the xpos + etc changes.
3721 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
3723 * lyxparagraph.[Ch]: add copy constructor, remove Clone
3725 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
3726 (pasteSelection): likewise
3727 * text2.C (CreateUndo): likewise
3729 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3731 * minibuffer.C (peek_event): temporarily reduce the functionality
3732 of the minibuffer (to allow args on lfuns)
3734 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
3735 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
3737 * buffer.C (readInset): add compability reading of old float
3738 lists, add reading of new style float list.
3739 (readInset): avoid reevaluation of inscmd.getCmdName()
3740 (getLists): reindent
3742 * MenuBackend.C (MenuItem): implement parsing of
3743 md_floatlistinsert and md_floatinsert.
3744 (expand::LastFiles): move initalizaton of iterators out of loop,
3746 (expand::Documents): introduce typdedef vector<string> Strings,
3748 (expand::ExportFormats): introduce typedef vector<Format const *>
3749 Formats, and use it.
3750 (expand): implement FloatListInsert and FloatInsert.
3752 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
3753 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
3754 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
3756 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
3758 (Dispatch::LFUN_FLOAT_LIST): implement
3760 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3762 * LaTeX.C (run): Fix problem with --export code.
3764 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3766 * BufferView.[Ch] (workarea): removed.
3767 (getClipboard) new method; wrapper for workarea()->getClipboard()
3769 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
3772 * WorkArea.h (width, height, xpos, ypos): These methods all
3773 returned the dimensions of the work_area sub-area of WorkArea,
3774 resulting in a position error if the WorkArea were resized. Now
3775 return the dimensions of the entire WorkArea.
3777 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
3779 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3781 * LaTeX.C (deplog): correct the syntax of regex reg1
3783 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3785 * undo.C: remove !NEW_INSETS cruft
3787 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3789 * text2.C: remove !NEW_INSETS cruft
3791 * text.C: remove !NEW_INSETS cruft
3793 * tabular.C: remove !NEW_INSETS cruft
3795 * spellchecker.C: remove !NEW_INSETS cruft
3797 * lyxtext.h: remove !NEW_INSETS cruft
3799 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
3801 * lyxfunc.C: remove !NEW_INSETS cruft
3803 * lyxfind.C: remove !NEW_INSETS cruft
3805 * lyx_cb.C: remove !NEW_INSETS cruft
3807 * figureForm.C: remove !NEW_INSETS cruft
3809 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
3811 * buffer.[Ch]: remove !NEW_INSETS cruft
3813 * ToolbarDefaults.C: remove !NEW_INSETS cruft
3815 * CutAndPaste.C: remove !NEW_INSETS cruft
3817 * BufferView_pimpl.C: remove !NEW_INSETS cruft
3819 * BufferView2.C: remove !NEW_INSETS cruft
3821 * BufferView.h: remove !NEW_INSETS cruft
3823 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3825 * Lsstream.h: include LString.h before the sstream headers to
3826 fix problem with gcc 2.95.3 and lyxstring
3828 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3830 * lyx_main.C: add using directives when needed for C functions
3831 declared in std:: namespace.
3833 2001-04-27 Juergen Vigna <jug@sad.it>
3835 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
3836 (SetHeightOfRow): comment out the update call should not be needed!
3838 2001-04-13 Juergen Vigna <jug@sad.it>
3840 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
3841 (LyXTabular): tried to minimize operator= operations (and realized
3842 hopfully Lars wish).
3844 2001-04-27 Juergen Vigna <jug@sad.it>
3846 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
3848 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3850 * lyxfunc.C (Dispatch): hack to make listof algorithm work
3852 * buffer.C (readInset): hack to make listof algorithm work
3854 * BufferView_pimpl.C: hack to make listof algorithm work
3856 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3858 * LyXAction.C: removed all !NEW_INSETS cruft
3859 (init): moved lfun_item in method
3861 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
3863 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3865 * BufferView2.C (theLockingInset): white space.
3867 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3869 * minibuffer.C: include <iostream>
3871 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
3873 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
3875 * commandtags.h: add LFUN_TRANSPOSE_CHARS
3877 * text.[Ch] (TransposeChars): new method
3879 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3881 * call message directly through LyXView instead of through LyXFunc
3882 * BufferView2.C: adjust
3883 * BufferView_pimpl.C: adjust
3884 * FontLoader.C: adjust
3886 * bufferview_funcs.C: adjust
3887 * converter.C: adjust
3888 * figureForm.C: adjust
3889 * importer.C: adjust
3891 * lyx_gui_misc.C: adjust
3895 + more files in subdirs
3897 * lyxparagraph.h (size): move up int file
3900 * adjust all uses of Assert to lyx::Assert.
3902 * BufferView2.C (ChangeCitationsIfUnique): adjust for
3903 lyxfunctional in namespace lyx
3904 * layout.C (hasLayout): ditto
3907 (delete_layout): ditto
3908 (NumberOfClass): ditto
3909 * converter.C (GetFormat): ditto
3914 * bufferlist.C (getFileNames): ditto
3915 (emergencyWriteAll): ditto
3918 * MenuBackend.C (hasSubmenu): ditto
3921 * BufferView_pimpl.C (getInsetByCode): ditto
3923 2001-04-18 Juergen Vigna <jug@sad.it>
3925 * vspace.C (asLatexString): fixed the 100% problem.
3927 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3929 * lyxfunc.C (Dispatch):
3931 * minibuffer.h: add a few std:: qualifiers
3933 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3935 * minibuffer.[Ch]: reimplement so that commands is initiated and
3936 run from lyxfunc, simplified som handling, and made the completion
3937 and history code for complete. wip.
3939 * lyxfunc.C (processKeySym): call message
3940 (miniDispatch): new temporary method
3941 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
3942 (LFUN_MESSAGE): implement
3943 (LFUN_MESSAGE_PUSH): implement
3944 (LFUN_MESSAGE_POP): implement
3945 (initMiniBuffer): the initial/defualt minibuffer message.
3947 * lyxfont.[Ch]: inline some more getters
3949 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
3951 * lyx_gui_misc.[Ch] (WriteStatus): remove method
3953 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
3954 (AutoSave): use LFUN_MESSAGE
3955 (Reconfigure): ditto
3957 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
3959 * figureForm.C: use LFUN_MESSAGE
3961 * converter.C (runLaTeX): use LFUN_MESSAGE
3963 * bufferview_funcs.C: use LFUN_MESSAGE
3965 (changeDepth): ditto
3967 * bufferparams.h: use boost::
3969 * bufferlist.h: inherit privately from noncopyable
3971 * bufferlist.C (loadLyXFile): remove some commented code.
3973 * buffer.C (runChktex): use LFUN_MESSAGE
3975 * ShareContainer.h: inherit privately from noncopyable
3977 * ParagraphParameters.[hC] (depth): inline it.
3979 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
3981 (message): new method
3982 (messagePush): ditto
3984 (show): init minibuffer
3985 (showState): direct call
3987 * LaTeX.[Ch]: inherit privately from noncopyable
3988 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
3989 instead of WriteStatus.
3991 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
3993 * BufferView_pimpl.C (buffer): don't init minibuffer
3994 (workAreaButtonPress): use LFUN_MESSAGE
3995 (workAreaButtonRelease): ditto
3996 (savePosition): ditto
3997 (restorePosition): ditto
3998 (MenuInsertLyXFile): ditto
3999 (workAreaExpose): don't init minibuffer
4000 (update): remove commented code, simplify
4002 * BufferView2.C (openStuff): use LFUN_MESSAGE
4003 (toggleFloat): ditto
4006 (copyEnvironment): ditto
4007 (pasteEnvironment): ditto
4012 (updateInset): remove some commented code
4014 * lastfiles.h: inherit privately from noncopyable
4019 * lyxlex_pimpl.h: ditto
4021 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
4022 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
4023 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
4025 * LyXAction.h: inherit privately from noncopyable, add methods
4026 func_begin, func_end, returning iterators to the func map.
4028 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
4029 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
4030 (func_begin): new method
4031 (func_end): new method
4033 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
4035 (copySelection): ditto
4036 (pasteSelection): ditto
4038 * BufferView.C: whitespace change
4039 * BufferView.h: inherit privately from noncopyable
4041 2001-04-16 Allan Rae <rae@lyx.org>
4043 * tabular-old.C (l_getline):
4044 * spellchecker.C (sc_check_word):
4045 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
4046 an unrecognised preprocessor directive. So ensure they're wrapped.
4048 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
4050 * src/exporter.C (Export): Give an error message when path to file
4053 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
4055 * LaTeX.C (deplog): Always check that foundfile exists.
4057 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4060 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
4062 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4064 * tabular.[Ch] (getLabelList): implement new method
4066 * minibuffer.h: comment ouf setTiimer
4068 * minibuffer.C (ExecutingCB): constify res
4069 (peek_event): constify s
4070 (Set): constify ntext
4071 (Init): constify nicename
4073 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
4075 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
4076 (savePosition): use two params to Minibuffer::Set
4077 (restorePosition): ditto
4079 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4081 * lyx_main.C: include language.h
4083 * Makefile.am (lyx_main.o): add language.h
4085 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4091 * CutAndPaste.C: include gettext.h
4093 * lyxfont.h: remove old hack with ON and OFF.
4096 * lyxfont.h: do not include language.h...
4101 * bufferview_funcs.C:
4107 * paragraph.C: ... but do it here instead
4109 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4111 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
4113 * tabular.C: small reformat
4115 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
4118 (BreakParagraph): ditto
4119 (SetOnlyLayout): ditto
4122 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
4125 * lastfiles.C: removed most using decl, add std:: where needed
4127 * buffer.C: ws changes
4129 * MenuBackend.C (class compare_format): put into anon namespace
4130 (expand): constify label, names, action, action2
4133 * text.C (SingleWidth): constify font
4134 (IsBoundary): constify rtl2
4135 (GetVisibleRow): constify ww
4137 * LaTeX.C (deplog): constify logfile
4139 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
4141 (workAreaExpose): constify widthChange, heightChange
4143 * lyxrow.C (par): moved
4146 * lyxrow.h: as inlines here
4148 * lyxfont.h (shape): moved from lyxfont.C
4149 (emph): moved from lyxfont.C
4151 * lyxfont.C (LyXFont): use initialization list for all
4153 (shape): move to lyxfont.h as inline
4154 (emph): move to lyxfont.h as inline
4157 2001-04-04 Juergen Vigna <jug@sad.it>
4159 * vspace.C: had to include stdio.h for use of sscanf
4161 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
4164 * BufferView_pimpl.h: remove xforms cruft. Both classes are
4165 independent of xforms.
4167 2001-04-02 Juergen Vigna <jug@sad.it>
4169 * spellchecker.C: fixed namespace placing!
4171 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
4173 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
4174 the LyXParagraph * is 0.
4176 2001-03-29 Juergen Vigna <jug@sad.it>
4178 * vspace.C: added support for %, c%, p%, l%.
4179 (stringFromUnit): added helper function.
4180 (asLatexString): changed to give right results for the %-values.
4182 * buffer.C: convert the widthp in a width%.
4184 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
4186 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
4189 * figureForm.[Ch]: stripped the FD_from_figure manipulation
4190 code out of lux_cb.[Ch], ready for its (imminent?) removal.
4192 * lyx_cb.[Ch]: see above.
4194 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
4198 * lyx.[Ch]: replaced by figure_form.[Ch].
4202 * lyxfunc.C: changed headers associated with above changes.
4204 2001-03-27 Juergen Vigna <jug@sad.it>
4206 * BufferView_pimpl.C: set the temporary cursor right!
4208 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
4210 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
4212 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
4214 * LString.h: removed "using std::getline"!
4216 * BufferView_pimpl.C (Dispatch): changes due to changes in
4217 InsetInclude::Params.
4219 * buffer.C (tag_name): removed redundant break statements as they were
4220 producing lots of warnings with my compiler.
4222 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4224 * LString.h: add "using std::getline" when using the real <string>.
4226 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
4228 * buffer.C: removed bitset usage.
4229 PAR_TAG moved to an anonymous name space.
4230 (tag_name): new funtion, also in the anonymous namespace.
4231 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
4232 (makeDocBookFile): clean code. Completed transition from string arrays
4234 (SimpleDocBookOnePar): code clean.
4236 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4238 * tabular.C: add some comments.
4240 2001-03-22 Juergen Vigna <jug@sad.it>
4242 * buffer.C (parseSingleLyXformat2Token): redone the minipage
4243 compatibility read a bit and fixed bug with minipage in different
4246 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
4248 * buffer.C (pop_tag): removed.
4249 (push_tag): removed.
4250 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
4251 array replaced with vector. Added support for CDATA sections.
4252 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
4254 (makeDocBookFile): XML conformant declaration of CDATA section,
4255 fixed bug related to <emphasis> in the first paragraph char.
4256 (sgmlOpenTag): exclude empty tags.
4257 (sgmlCloseTag): ditto.
4259 * buffer.h (pop_tag): removed.
4260 (push_tag): removed.
4262 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
4264 * language.h (Languages): added size_type and size().
4266 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4268 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
4269 response on compability reading of minipages. One probliem is that
4270 the old usage of minipages was «flertydig»
4272 * several files here and in subdirs: don't use static at file
4273 scope use anon namespaces instead.
4275 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
4277 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
4278 LaTeX output. This is necessary for Literate document
4281 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4283 * buffer.C: insert hfill when needed.
4285 * tabular.C (l_getline): use string::erase, small whitespace change.
4287 * BufferView_pimpl.C: try the anon namespace.
4290 2001-03-16 Juergen Vigna <jug@sad.it>
4292 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
4293 otherwise it won't open options-dialogs.
4295 * buffer.C: honor pextraWidth(p) on converting minipages.
4297 * tabular.C (l_getline): changed the functions to strip trailing \r.
4299 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
4301 * BufferView_pimpl.C:
4302 * minibuffer..C: added "using SigC::slot" declaration.
4304 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4306 * lyxlex_pimpl.h: noncopyable is in namespace boost.
4312 * paragraph.C: ditto
4314 * lyxtext.h: NO_PEXTRA
4316 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
4318 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
4319 * ParameterStruct.h: ditto
4320 * ParagraphParameters.h: ditto
4321 * lyxparagraph.h: ditto
4323 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4325 * buffer.C: add compability for minipage alignment.
4326 (latexParagraphs): remove unwanted pextra check.
4328 * several files: remove CXX_WORKING_NAMESPACES
4330 * buffer.C (pop_tag): tie is in namespace boost
4332 * BufferView.h: noncopyable is in namespace boost
4337 * lastfiles.h: ditto
4338 * bufferlist.h: ditto
4339 * ShareContainer.h: ditto
4341 * LyXAction.h: ditto
4344 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
4346 * Merging changes from BRANCH_MVC back into HEAD.
4348 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
4350 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
4352 * BufferView_pimpl.C: change from intl.C
4356 * Makefile.am: move combox.*
4362 * intl.C: remove dialog (covered by prefs)
4364 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
4366 * lyxfunc.C (Dispatch): removed redundant break statement.
4368 2001-03-14 Juergen Vigna <jug@sad.it>
4370 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
4372 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4374 * buffer.C: add hack to fix compability reading of minipages.
4376 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
4378 * buffer.C (getLists): Cleanup.
4380 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4382 * lyxfont.C (update): don't honor toggleall on font size.
4384 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
4388 * Makefile.am: moved to frontends/xforms/
4392 * BufferView_pimpl.C: changes for moved mathpanel
4394 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4396 * gettext.h: fix gettext_init() in --disable-nls
4398 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4400 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
4402 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
4405 * lyx.h: strip external form
4407 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4409 * BufferView_pimpl.C: add comment, destroySplash()
4411 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4413 * BufferView_pimpl.C:
4417 * lyxfunc.C: use re-worked insetinclude
4419 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4421 * buffer.C: add using std::stringstream.
4423 * lyx_cb.C: readd using std::ios.
4425 * buffer.C: add using std::map.
4427 * BufferView_pimpl.C: add using std::vector.
4429 * ShareContainer.h: add std:: to swap.
4431 * buffer.h: add some typedefs
4432 * buffer.C (getLists): use them
4433 (getLists): renamed from getTocList.
4434 add a counter for the different float types and use it in the
4436 (getLists): use the same counter for the NEW_INSETS and the "non"
4439 * lyx_cb.h: remove unused items, includes, using etc.
4441 * ShareContainer.h: remove some commented code, add more comments
4442 and "documentation".
4444 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4446 * buffer.C (getTocList): make the list also when NEW_INSETS is
4449 * buffer.h: remove TocType
4451 * buffer.C (getTocList): change to return a map<string,
4452 vector<TocItem> >, implement for dynamic number of list.
4454 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
4455 * text2.C (PasteSelection): adjust
4456 * CutAndPaste.C (pasteSelection): adjust
4458 * FloatList.C (FloatList): update from the new_insets branch.
4459 * Floating.[Ch]: ditto
4460 * LaTeXFeatures.C: ditto
4462 * lyxlex_pimpl.C: ditto
4464 * paragraph.C (Last): remove when NEW_INSETS is defined.
4466 * other file: changes because of the above.
4468 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4470 * lyxparagraph.h: rename next to next_, previous to previous_,
4471 make them private for NEW_INSETS. Rename Next() to next(),
4472 Previous() to previous().
4474 * other files: changes because of the above.
4476 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
4479 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
4482 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4484 * main.C (main): pass lyx_localedir to gettext_init().
4486 * gettext.h: remove locale_init and gettext_init macros
4488 * gettext.C (locale_init): new function
4489 (gettext_init): new function
4491 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
4494 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
4496 * Moved credits to frontends:
4497 * credits.[Ch]: removed
4498 * credits_form.[Ch]: removed
4499 * lyx_gui_misc.C: remove credits stuff
4502 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4504 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
4506 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
4507 unneeded destructor.
4509 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
4510 a standalone pointer again.
4512 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
4514 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
4520 * ToolbarDefaults.C:
4529 * BufferView_pimpl.C: use new file dialog in GUII
4532 * lyx_cb.C: remove LayoutsCB to Toolbar
4534 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4536 * ShareContainer.h (get): add std:: qualifier
4538 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4540 * ShareContainer.h: define a proper ShareContainer::value_type
4541 type (and use typename to please compaq cxx)
4543 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4545 * lyxparagraph.h: move serveral local vars to
4546 ParameterStruct/ParagraphParameters., use ShareContainer in
4547 FontTable., make vars in FontTable private and add getter and
4550 * paragraph.C: changes because of the above.
4552 * lyxfont.h: remove copy constructor and copy assignment. (the
4553 default ones is ok), move number inside FontBits. move inlines to
4556 * lyxfont.C: add number to initializaton of statics, move several
4557 inlines here. constify several local vars. some whitespace
4558 cleanup. Dont hide outerscope variables.
4560 * Spacing.h: add two new constructors to match the set methods.
4562 * ShareContainer.h: new file, will perhaps be moved to support
4564 * ParameterStruct.h: new file
4566 * ParagraphParameters.h: new file
4568 * ParagraphParameters.C: new file
4570 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
4571 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
4573 * BufferView_pimpl.C: ParagraphParameter changes.
4574 * buffer.C: Likewise.
4575 * bufferview_funcs.C: Likewise.
4577 * text2.C: Likewise.
4579 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4581 * lyxfind.C (LyXReplace): do not redefine default argument in
4583 (IsStringInText): ditto
4584 (SearchForward): ditto
4585 (SearchBackward): ditto
4587 2001-03-06 Juergen Vigna <jug@sad.it>
4589 * lyxfind.C (IsStringInText): put parentes around expressions.
4591 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
4593 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
4595 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
4597 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
4599 * stl_string_fwd.h: add comment
4601 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
4604 * tabular.C: remove unused DocBook methods
4610 killed DO_USE_DEFAULT_LANGUAGE
4612 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4614 * lyx_gui.C: do not include language.h.
4616 * bufferview_funcs.C (ToggleAndShow): do not provide optional
4617 arguments in function implementation.
4619 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4621 * BufferView_pimpl.C: add <ctime>
4623 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4625 * BufferView_pimpl.C: add using std::find_if
4627 2001-02-27 José Matos <jamatos@fep.up.pt>
4629 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
4632 2001-02-11 José Matos <jamatos@fep.up.pt>
4634 * buffer.C (makeDocBookFile): command styles now have a parameter as
4637 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
4639 * layout_forms.[Ch]: removed
4640 * lyx_cb.[Ch]: out character
4641 * lyx_gui.C: out character
4642 * lyx_gui_misc.C: out character
4643 * bufferview_funcs.C: : out character,
4644 added toggleall as parameter in ToggleAndShow
4646 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
4648 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
4650 * text2.C (SetCurrentFont): Disable number property at boundary.
4652 2001-02-26 Juergen Vigna <jug@sad.it>
4654 * lyxfunc.C (getStatus): added a string argument override function so
4655 that this is correctly called from LyXFunc::Dispatch if it contains a
4656 do_not_use_argument which is used!
4657 (Dispatch): added check for "custom" export and call appropriate func.
4659 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
4661 * lyxrc.C: Add language_command_local, language_use_babel and
4662 language_global_options.
4664 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
4666 * buffer.C (makeLaTeXFile): Use language_use_babel and
4667 language_global_options.
4669 2001-02-23 Juergen Vigna <jug@sad.it>
4671 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
4672 which works with LyXText and putted it inside BufferView. Here now we
4673 only call for that part the BufferView::Dispatch() function.
4675 * BufferView.C (Dispatch): added.
4677 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
4678 functions which needs to use a LyXText over from LyXFunc.
4679 (MenuInsertLyXFile): added
4680 (getInsetByCode): added
4681 (moveCursorUpdate): added
4682 (static TEXT): added
4684 2001-02-22 Juergen Vigna <jug@sad.it>
4686 * BufferView_pimpl.C (update): call a status update to see if LyXText
4689 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4691 * vc-backend.C (revert): implement for CVS
4692 (getLog): implement for CVS
4694 2001-02-20 Juergen Vigna <jug@sad.it>
4696 * text2.C (ClearSelection): added BufferView param for inset_owner call
4698 * lyxfunc.C (TEXT): added this function and use it instead of
4699 directly owner->view()-text of getLyXText().
4701 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
4703 * src/layout_forms.C: out preamble
4704 * src/layout_forms.h: out preamble
4705 * src/lyx_cb.C: out preamble
4706 * src/lyx_cb.h: out preamble
4707 * src/lyx_gui.C: out preamble
4708 * src/lyx_gui_misc.C: out preamble
4709 * src/lyxfunc.C: connect with guii preamble
4711 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
4713 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
4715 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
4717 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
4718 whether to run bibtex.
4720 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
4722 * Makefile.am (lyx_SOURCES): Remove BackStack.h
4724 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4726 * Makefile.am (lyx_SOURCES): removed bibforms.h
4730 * text.C (GetVisibleRow): make several local vars const
4732 * tabular.C: small cleanup.
4734 * lyxserver.C (callback): use compare instead of strncmp
4736 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
4737 inlines to after class or to paragraph.C
4739 * lyxfont.h: remove friend operator!=
4741 * converter.h: move friend bool operator< to non friend and after
4744 * combox.h: small cleanup
4746 * buffer.h: doxygen, remove unused constructor, move inclas inlies
4747 to inlines after class def.
4749 * buffer.C (pop_tag): use string operations instead of strcmp
4751 * bmtable.c: doxygen, small cleanup
4753 * LaTeX.h: remove friend operator==
4755 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
4767 * BufferView_pimpl.C:
4768 * BufferView.[Ch]: remove cruft
4770 2001-02-14 Juergen Vigna <jug@sad.it>
4772 * lyxfunc.C: removed #if 0 unused code
4774 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
4776 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
4778 * text2.C (SetSelection): added a BufferView * parameter
4780 2001-02-13 Juergen Vigna <jug@sad.it>
4782 * lyxfunc.C (Dispatch): fixed protected blank problem.
4783 * BufferView2.C (protectedBlank): added LyxText * parameter.
4785 * tabular.C (AppendRow): forgot to set row_info of newly added row.
4786 (AppendColumn): same as above for column_info.
4788 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
4789 (moveCursorUpdate): use a LyXText param for support of InsetText.
4791 * BufferView_pimpl.C (doubleClick): added support for InsetText.
4792 (tripleClick): ditto
4794 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
4796 * BufferView_pimpl.C (update): added LyXText param to honor insets.
4798 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
4800 * text2.C (SetSelection): set correct update status if inset_owner
4803 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
4805 * tabular.C: remove some commented code.
4807 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
4809 * BufferView_pimpl.C: call hideSplash()
4811 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
4814 * bibforms.h: remove
4817 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
4818 add LFUN_CHILD_CREATE
4820 * counters.h: fix tiny typo
4825 * lyx.C: move splash to frontends/xforms/
4827 * lyx_gui_misc.C: move Include and Bibform to frontends
4829 * lyxvc.h: clarify comment
4831 * vspace.C: tiny housekeeping
4833 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
4835 * text.C (PrepareToPrint): RTL Fix.
4837 * paragraph.C (GetUChar): New method.
4838 (String): Use GetUChar.
4840 * buffer.C (asciiParagraph): Use GetUChar.
4842 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
4844 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
4846 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
4849 * buffer.C: rename to getLogName(), handle
4850 build log / latex log nicely
4852 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4855 * MenuBackend.h: remove support for reference menuitem type.
4857 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
4859 * BufferView_pimpl.C: housekeeping
4860 * BufferView_pimpl.h:
4865 * minibuffer.h: move Timeout GUI-I
4867 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
4869 * lyxrc.C (read): Update converters data-structures.
4871 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
4873 * LaTeX.h (operator!=): add operator != for Aux_Info
4875 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
4877 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
4879 * LaTeXLog.C: deleted, useful code moved to Buffer
4882 * buffer.C: new function getLatexLogName()
4888 * lyxfunc.C: use frontends for LaTeX and VC logs
4890 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4892 * LaTeX.h: yet another std:: that Allan forgot.
4894 * Variables.C (set): renamed from isset(), because this clashes
4895 with some HP-UX macros (grr).
4897 2001-02-06 Allan Rae <rae@lyx.org>
4899 * LaTeX.h: Another bug fix. Missing std:: this time.
4901 2001-02-04 Allan Rae <rae@lyx.org>
4903 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
4904 floats problem. I've left it commented out because it's not quite
4905 correct. It should also test that the current object is a table or
4906 figure inset. But I haven't gotten around to figuring out how to do
4907 that. I *think* it'll be something like: "table" == inset.type()
4909 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
4912 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
4914 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
4915 all the citation/databases/styles in the auxilary file.
4916 (run): Rerun latex if there was a babel language error.
4918 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
4920 * text.C (Backspace): Preserve the font when changing newline char
4922 (BreakParagraph): If the cursor is before a space, delete the space.
4924 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
4926 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4928 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
4929 new argument (code).
4930 (ChangeCitationsIfUnique): New method.
4932 * paragraph.C (GetPositionOfInset): Handle bibkey.
4934 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4936 * BufferView_pimpl.h: change type of Position::par_pos to
4937 LyXParagraph::size_type.
4939 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
4941 * BufferView_pimpl.C (savePosition, restorePosition): Write
4942 messages to minibuffer.
4944 2001-01-28 José Matos <jamatos@fep.up.pt>
4946 * buffer.C (makeDocBookFile): adds support for document language.
4947 A silly restriction on the name of LatexCommand types where removed.
4948 Added support for CDATA sections, allows to chars unescaped, used
4949 among others in code, to avoid escape < and >.
4951 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
4953 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
4954 saved positions instrad of a stack. Furthermore, a position is
4955 stored using paragraph id/paragraph position.
4957 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
4958 Remove LFUN_REF_BACK.
4960 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
4962 * converter.C (dvipdfm_options): New method.
4964 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
4966 * vspace.C (isValidLength): Fix for empty input string.
4968 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4970 * LyXAction.C (init): change description of LFUN_FIGURE to
4973 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4975 * LaTeX.C: add using directive
4977 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
4979 * MenuBackend.C (expand): Fix the sorting of the formats.
4981 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
4983 * lyx_main.C: tiny error message fix
4985 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4987 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
4988 calling fl_initialize(). This fixes the problem with ',' as
4989 decimal separator in text files.
4991 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
4993 * trans.C (process): Fix the keymap bug.
4995 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
4997 * LaTeX.C (scanAuxFiles): New method. Provides support for
4998 multiple bibliographies (when using the bibtopic/bibunits pacakges).
4999 (scanLogFile) Scan for "run BibTeX" messages.
5001 * buffer.C (makeLaTeXFile): Do not load the ae package when using
5002 OT1 font encoding. Also, load the aecompl package if the ae
5005 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
5007 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5009 * texrow.C (increasePos): turn two error messages into debug
5012 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
5014 * LaTeX.C (scanAux): Handle the \@input macro.
5015 (runBibTeX): Use scanAux().
5017 * language.C (latex_options_): New field.
5019 * LaTeXFeatures.C (getMacros): Add language macros.
5021 * buffer.C (makeLaTeXFile): Small fix.
5023 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5025 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
5027 * text2.C: add a using directive.
5029 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
5034 * lyxfunc.C: kill LyXBell.
5036 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
5038 * text.C (IsBoundary): Remove the error message
5040 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
5042 * lyxrc.C (setDefaults): Correct initialization value for
5045 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
5047 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
5050 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
5053 * src/LyXAction.C: Added reference-next.
5055 * text.C (InsertChar): Use contains instead of strchr.
5057 * lyx_cb.C (MenuInsertLabel): Enable default value code.
5059 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
5061 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
5062 alignment commands (when needed).
5064 * text.C (InsertChar): Add ':' to number separator chars.