1 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * buffer.C (asciiParagraph): redo some of the word and line length
5 (getLists): look for Caption instead of caption.
7 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9 * buffer.C (Buffer): initialize niceFile to true
12 (makeDocBookFile): make sure niceFile is true on exit
14 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
16 * buffer.C (makeLaTeXFile): escape ~ in \input@path
18 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
20 * LyXSendto.C: remove.
21 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
22 * lyx_gui.C: remove now-redundant comment.
23 * ColorHandler.h: remove forward declaration of class WorkArea.
24 * lyxfunc.C: remove #include "WorkArea.h".
26 2002-03-07 Juergen Vigna <jug@sad.it>
28 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
29 got moved away with the DEPM and also set the inset_owner always
30 right which before could have been omitted.
32 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
34 * buffer.C (parseSingleLyXformat2Token): use default layout is the
35 wanted layout is not found.
37 2002-03-07 Juergen Vigna <jug@sad.it>
39 * CutAndPaste.C (cutSelection): another layout settings forgotten.
41 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
43 * paragraph.C (breakParagraph): use default layout not layout of
45 (Paragraph): clear ParagraphParameters.
47 2002-03-06 Juergen Vigna <jug@sad.it>
49 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
50 otherwise it would not be a valid lenght. Fixed a special case in
51 the minipage compatibility read where we end the document with a
54 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
55 was set as it could be 0 for InsetTexts first entry.
57 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
59 * paragraph.C (writeFile): if layout is empty write out
62 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
63 file without named layout we set layout to defaultLayoutName().
65 2002-03-06 Juergen Vigna <jug@sad.it>
67 * CutAndPaste.C (copySelection): set layout for new paragraph.
69 * text.C (prepareToPrint): leave ERT inset left aligned
70 (leftMargin): don't indent paragraphs inside ERT insets
72 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
74 * paragraph.C (breakParagraph): dont call clear do the work manually
76 * paragraph.[Ch] (clear): remove function
78 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
80 * paragraph.C (Paragraph): dont call clear, the work has already
83 * lyxtextclass.C (operator): assert if n is empty
85 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
86 work manually instead.
88 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
90 * BufferView_pimpl.C: protect selectionLost against text == 0
92 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
94 * text.C (breakParagraph): fix a setting layout to '0' problem.
96 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
98 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
99 final location of file, for the included files, and graphics.
101 2002-03-05 Juergen Vigna <jug@sad.it>
103 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
105 2002-03-04 Juergen Vigna <jug@sad.it>
107 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
109 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
110 last column of multicolumn cells.
111 (SetWidthOfMulticolCell): recalculate NMC and real columns.
113 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
115 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
116 file if it doesn't go to a temporary file.
118 * buffer.C (sgmlOpenTag):
119 (sgmlCloseTag): remove extra newline insertion.
121 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
123 * text.C (getRowNearY): comment out debug msg
125 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
127 * text2.C: first -> first_y
129 * text.C (getRowNearY): add some attemts at a possible
130 optimization, not working.
132 * tabular.[Ch]: add BufferParams to several function so that newly
133 created paragraph can be initialized to he default layotu for the
136 * tabular-old.C (ReadOld): add buf->params to call of Init
138 * screen.C: rename text->first to text->first_y
140 * paragraph.C (breakParagraph): always set layout in the broken
143 * lyxtextclass.C (Read): remove lowercase
146 (delete_layout): ditto
148 * lyxtext.h: rename first -> first_y
150 * lyxlayout.C (Read): remove lowercase
153 (obsoleted_by): ditto
155 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
157 * buffer.C (insertErtContents): add params are to InsetERT
158 (parseSingleLyXformat2Token): add code to check if a paragraphs
160 (parseSingleLyXformat2Token): add params to several inset
162 (asciiParagraph): remove lowercase, do the layout comparisons with
165 * BufferView_pimpl.C (cursorNext): first -> first_y
166 (resizeCurrentBuffer): first -> first_y
167 (updateScrollbar): first -> first_y
168 (scrollCB): first -> first_y
169 (workAreaMotionNotify): first -> first_y
170 (workAreaButtonPress): first -> first_y
171 (checkInsetHit): first -> first_y
172 (cursorPrevious): first -> first_y
173 (cursorNext): first -> first_y
174 (Dispatch): add buffer_->params to severl inset contructors
176 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
178 * lyxlayout.C (Read): remove some debug info that I forgot.
180 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
181 clean up the code slightly.
182 (makeLinuxDocFile): ditto
183 (makeDocBookFile): ditto
185 * text2.C: layout as string
187 * text.C: layout as string
189 * paragraph_pimpl.C: layout as string
191 * paragraph.[Ch]: layout as string
193 * lyxtextclasslist.[Ch]: layout as string
195 * lyxtextclass.[Ch]: layout as string
197 * lyxtext.h: layout as string
199 * lyxlayout.[Ch]: layout as string
201 * lyx_cb.C: layout as string
203 * bufferview_funcs.C: layout as string
205 * bufferparams.C: layout as string
207 * buffer.C: layout as string
209 * LyXView.[Ch]: layout as string
211 * LaTeXFeatures.[Ch]: layout as string
213 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
215 * BufferView_pimpl.C: change current_layout to string, remove
220 (workAreaButtonRelease): layout as string
222 * BufferView2.C (unlockInset): adjust
224 * vspace.C (asLatexCommand): use an explict temp variable.
226 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
228 * Makefile.am: use FRONTEND_*
230 2002-03-01 Juergen Vigna <jug@sad.it>
232 * tabular.C (SetWidthOfMulticolCell): changed to something better
233 I hope but still work in progress.
234 (recalculateMulticolumnsOfColumn): renamed function from
235 recalculateMulticolCells as it is more appropriate now.
236 (SetWidthOfCell): calculate multicols better.
238 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
240 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
242 * lyxfunc.C (processKeySym): print sequence also if it is
245 * kbsequence.C (print): print sequence even if it is deleted
246 (complete would be a better word, actually).
248 * lyxfunc.C (dispatch): print complete options after a prefix key
250 * vspace.C (asLatexCommand): rewrite in a slightly different form.
252 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
254 * text2.C (setCharFont): eliminate setCharFont code duplication.
256 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
258 * BufferView_pimpl.C (Dispatch): remove bogus handling of
259 LFUN_TABULAR_FEATURE (bug #177)
261 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
263 * Makefile.am: remove figure.h
265 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
267 * Bufferview_pimpl.C:
279 * text2.C: remove #include "lyx_gui_misc.h".
281 * LaTeX.C: added #include <cstdio>
283 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
285 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
286 that the paragraph following this one can have.
288 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
290 * vspace.C (asLatexCommand): fix bogus gcc warning
292 * Makefile.am (lyx_SOURCES): remove vms_defines.h
294 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
296 * text2.C (setLayout): get rid of redundant code
298 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
300 * text2.C (incDepth): make sure depth cannot be increased beyond
303 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
305 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
306 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
308 * PainterBase.h (image):
309 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
312 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
316 * BufferView_pimpl.C:
317 * BufferView_pimpl.h:
337 * sp_spell.C: remove fig inset, and the crap house of
338 cards that follows it
340 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
346 * nt_defines.h: move .h into support/
348 * vms_defines.h: remove
350 * WorkArea.C: add space in debug output
354 * buffer.C: add WITH_WARNINGS
358 * bufferlist.C: s/retrive/retrieve/, add docs
369 * lyxgui.C: add ID to X error handler
371 * lyxtestclass.c: fix typo
373 2002-02-26 Juergen Vigna <jug@sad.it>
375 * tabular_funcs.C (write_attribute): changed so that some default
376 attributes are not written at all.
377 (getTokenValue): set default values before trying to read the
378 value so we have the return value always set as default if we don't
379 find the token we search for.
381 * tabular.C (Write): write bools as bools not as strings!
383 2002-02-22 Juergen Vigna <jug@sad.it>
385 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
386 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
388 * text.C (leftMargin): don't add an indent for paragraphs inside
389 tabular cells (fix #208).
391 2002-02-21 José Matos <jamatos@fep.up.pt>
393 * tabular.C (docBook): fixed support for long tables.
395 2002-02-20 Juergen Vigna <jug@sad.it>
397 * text2.C (getFont): get the drawing font of the Inset if this
398 paragraph is inside an inset (only important for InsetERT for now).
400 * buffer.C (insertErtContents): use new lanugage params in ERT
403 * CutAndPaste.C: commenting out seemingly uneeded code.
405 2002-02-19 Allan Rae <rae@lyx.org>
407 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
408 Iterators might be simple to use but they also get invalidated.
409 (removeAutoInsets): renamed saved cursor tracking variables and added
410 some comments to clarify what everything does.
412 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
419 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
420 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
423 * vc-backend.h: remove #include "support/syscall.h"
427 * converter.C: rearrange #includes in Lars' approved fashion.
429 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
430 forward declare class Timeout in the header file.
432 * XFormsView.C: changes due to the above.
434 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
437 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
438 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
440 2002-02-18 José Matos <jamatos@fep.up.pt>
442 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
445 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
447 * a lot of small ws changes
448 * add a lot of using std::XXX
449 * use std construcs some places where approp.
450 * use some exisint stuff from lyxfunctional where approp.
451 * Make file changes to use partial linking (lets test this now...)
453 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
457 remove #include "support/syscontr.h" as it's redundant. Always has been.
465 change Systemcalls::System to Systemcalls::Wait and
466 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
467 No change of functionality, just reflects the stripped down Systemcalls
470 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
472 * debug.[Ch]: add a GRAPHICS type to the enum.
474 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
476 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
478 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
481 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
483 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
484 match the changes below.
486 * text2.C (toggleInset): if there is not editable inset at cursor
487 position, try to see if cursor is _inside_ a collapsable inset
490 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
492 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
493 document menu has a nice checkbox
495 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
497 * lyxlength.C (asLatexString): change PW to output as percent of
500 * lengthcommon.C: change '%' to 't%'
502 * lyxfunc.C (dispatch): a few comments from Martin
504 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
508 * BufferView_pimpl.h:
509 * BufferView_pimpl.C: clear our selection when X tells us we've lost
512 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
514 * vspace.C (inPixels): fix compiler warning
516 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
518 * lyxfunc.C (getStatus): fix status message for disabled commands.
520 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
522 * BufferView_pimpl.C: fix crash on close buffer
523 during selection (#227)
525 2002-01-27 Herbert Voss <voss@lyx.org>
527 * buffer.C: link old Figure to new graphic inset
529 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
531 * FontLoader.C (getFontinfo): Change the latex font names in order
532 to match the names of type1inst.
534 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
536 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
538 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
541 (remove_files_with_extension): ditto
545 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
546 document is smaller than the work area height. Do not initialize
547 static variables to 0.
549 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
551 * lyx_gui.C (init): give the toolbar tooltips a normal font.
553 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
554 LFUN_LAYOUT_PARAGRAPHS.
556 * tabular.C (GetCellFromInset): new method. Finds an inset in a
557 tabular. It is possible to provide a possible cell, which will
558 typically be the actcell from the corresponding insettabular
560 * lyxfunc.C (getStatus): small cleanup; disable
561 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
564 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
566 * tabular.C (Validate): remove broken optimization (fixes bug #201)
568 * paragraph.C (startTeXParParams):
569 (endTeXParParams): new methods. The LaTeX code to
570 start/end paragraph formatting
571 (simpleTeXOnePar): call startTeXParParams also when paragraph is
572 empty (fixes bug #200)
574 * vspace.C (inPixels): adapt to the change below
575 (inPixels): [later] more cleanups (remove unused variables)
577 * lyxlength.C (inPixels): change to use a width and a height as
580 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
582 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
583 Replaced with \paperwidth
585 * DepTable.C (insert): add std:: qualifier
587 2002-01-18 Allan Rae <rae@lyx.org>
589 * text2.C (removeRow): add comment. Should other refresh_?? vars be
592 * text.C (drawInset): Turned out I didn't know enough about how
593 rebreaking worked. This fixes most of the redraw problems. I see
594 an occasional cursor trail when a line is broken now and the cursor
595 placement can seem out by a few pixels also after a rebreak.
597 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
599 * buffer.C (parseSingleLyXformat2Token): update because minipage
600 width is now a LyXLength
602 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
604 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
607 2002-01-17 Juergen Vigna <jug@sad.it>
609 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
611 * BufferView2.C (lockInset): call edit() so that theLockingInset()
612 is set correctly and the inset is updated correctly.
614 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
616 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
617 the beginning of the loop.
619 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
621 * lyxrc.C: improve help for use_scalable_fonts
623 2002-01-17 Allan Rae <rae@lyx.org>
625 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
627 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
629 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
630 make sure to set their inset_owner to the right value (bug #171)
632 2001-12-12 Ben Stanley <bds02@uow.edu.au>
635 * DepTable.C: Implement mtime checking to reduce time spent doing
638 2002-01-16 Juergen Vigna <jug@sad.it>
640 * tabular.C (GetAdditionalHeight): one of error fixed.
642 * lyxrc.C (output): small fix in writing use_pspell.
644 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
646 * sp_base.h: #include LString.h
648 2002-01-16 Allan Rae <rae@lyx.org>
650 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
651 Can someone check this please?
653 * text.C (drawInset): It was possible that p.row would be removed by
654 breakAgainOneRow upsetting a few other settings. There may be another
655 small tweak possible by setting need_break_row = 0 when p.row has been
656 removed but I don't know enough about the logic here.
658 2002-01-15 Allan Rae <rae@lyx.org>
660 * text.C (insertChar): removed conditional truism.
662 * BufferView2.C (removeAutoInsets): More tweaks.
663 cur_par_prev could be a stray pointer. Check for trailing empty line
664 in case last line was cur_par and only had an error inset on it.
666 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
668 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
671 * vc-backend.C (most methods):
672 * exporter.C (Export):
673 * converter.C (convert):
675 * LyXSendto.C (SendtoApplyCB):
676 * lyxfunc.C (dispatch):
680 * lyx_cb.C (AutoSave):
682 * BufferView_pimpl.C (MenuInsertLyXFile):
683 * buffer.C (runChktex): use Buffer::filePath().
685 * buffer.h: rename filename to filename_; rename filepath to
686 filepath_ and make it private
687 (filePath): new method
689 * buffer.C (writeFile): use fileName()
692 * lyx_main.C (init): fix starting of LyX when the binary is a
693 link from so,ewhere else.
695 * minibuffer.C: include <cctype> for isprint
697 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
699 * buffer.C (parseSingleLyXformat2Token): changes associated with the
700 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
701 name clash with InsetCollapsable's width function.
703 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
705 * lastfiles.C: include <iterator>
707 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
709 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
712 * buffer.C (makeLaTeXFile): ditto.
713 Also make loop operation more transparent.
715 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
717 * ToolbarDefaults.C: remove trailing comma closing namespace.
719 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
721 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
724 * trans.C (Load): comment out unused variable, allowed.
726 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
728 * minibuffer.[Ch] (append_char): new method to recieve input from the
729 drop-down completion browser. If a key was pressed, then recieve this
730 char and append it to the existing string.
731 (peek_event): modify the positioning data passed to the completion
732 browser so that it can be placed above the minibuffer rather than below.
733 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
735 * LyXAction.C (init): alloe error-next for readonly documents.
737 * BufferView2.C (ChangeRefsIfUnique): use standard version of
740 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
742 * bufferlist.C (readFile): create the buffer _after_ checking that
745 * lyxfunc.C (verboseDispatch): fix handling of arguments
747 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
749 * lyxrc.C: use string::erase() instead of initializing to "".
752 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
754 * BufferView_pimpl.h:
755 * BufferView_pimpl.C:
758 * text2.C: tell X when we have made a selection for copying
760 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
762 * BufferView_pimpl.C (MenuInsertLyXFile):
763 * lyxfunc.C (menuNew):
765 (doImport): add shortcuts to directory buttons
767 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
770 * lyxfunc.C (setStatusMessage):
771 (getStatusMessage): new methods
772 (getStatus):use setStatusMessage instead of setErrorMessage
773 (dispatch): when function is disabled, set error message here
774 [instead of in getStatus previously]
776 * BufferView_pimpl.C (workAreaButtonRelease): update
777 toolbar/menubar here too.
779 2002-01-13 Allan Rae <rae@lyx.org>
781 * BufferView2.C (removeAutoInsets): finished off earlier fix.
782 Now seems indestructible. Remaining task is to audit all other
783 code affected by deleteEmptyParagraphMechanism. One small quirk
784 left is that an empty document with an error in the preamble can
785 be made to report an error but no error box appears. I don't know
787 (removeAutoInsets): Improved comments.
789 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
792 * Thesaurus.C: update for Aiksaurus 0.14
794 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
796 * text2.C (firstParagraph): removed member function, all uses
797 replaces with ownerParagraph
798 (redoParagraphs): here
800 (toggleAppendix): here
801 * BufferView2.C (insertErrors): here
802 (setCursorFromRow): here
804 2002-01-13 Allan Rae <rae@lyx.org>
806 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
807 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
808 There is still a way to segfault this although you may have to do this
809 multiple times: Have an InsetERT with an unknown command in it.
810 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
811 <down-arrow>, <Enter> again, View->DVI, BANG!
813 * text2.C (setCursor):
814 (deleteEmptyParagraphMechanism):
815 * lyxtext.h (setCursor):
816 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
817 Making use of the return value may help fix other bugs.
819 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
821 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
823 * LyXView.C (updateMenubar): call MenuBar::update here
824 (updateToolbar): but not here
825 (showState): do not update toolbar/menubar
827 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
828 should need to care about that.
830 * lyxfunc.C (verboseDispatch): simplify a bit
831 (getStatus): have a version which takes a pseudoaction, and
832 another which requires a (kb_action,string).
834 * LyXAction.C (retrieveActionArg): make it work also when action
835 is not a pseudo-action.
836 (getActionName): simplify a bit
839 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
841 * lyxfunc.C (verboseDispatch): new families of methods with
842 several ways to specify a command and a bool to indicate whether
843 the command name and shortcut should be displayed in minibuffer
844 (eventually, we could extend that to a finer bitmask like
845 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
846 (dispatch): the pristine dispatch command which just, well,
847 dispatchs! Note it still sets its result to minibuffer; I'm not
850 * lyxfunc.h: remove setHintMessage
852 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
854 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
856 * BufferView_pimpl.C (specialChar): delete new inset if we have
857 not been able to insert it.
859 * kbmap.C: revert to using int instead of kb_action, since all we
860 are dealing with is pseudo-actions.
862 * LyXAction.C (searchActionArg): change to return int instead of
863 kb_action, since the result is a pseudoaction.
865 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
867 * buffer.C (insertErtContents): Fix (partially) the font bug.
869 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
871 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
872 as the other one is broken on my machine!
874 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
877 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
879 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
881 * lyxrc.[Ch]: change names and descriptions of popup font variables to
882 reflect their actual use. Provide compatibility code for older lyxrc
885 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
887 change names of popup font variables in line with the changes to lyxrc.C
889 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
891 * buffer.C (asciiParagraph): avoid outputing a word twice after
894 * lyxrc.C (getDescription): document that document_path and
895 template_path can be empty.
897 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
899 * LaTeXFeatures.C (getMacros):
900 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
902 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
904 * LaTeXFeatures.C (useFloat): require "float" here instead of in
906 (getPackages): rename feature "floats" to "float". Use an array to
907 iterate over 'simple' features (i.e. just a \usepackage). Add
908 handling of "amsmath" (renamed from "amsstyle").
910 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
912 * LaTeXFeatures.C (require): Prevent duplicate entries in the
915 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
917 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
918 FuncStaus::FuncStatus & FuncStaus::some_method().
920 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
922 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
923 of the func_satus stuff. Edited and massaged in various ways by
926 * lyxfunc.C (getStatus): use FuncStatus
928 2002-01-08 Juergen Vigna <jug@sad.it>
930 * text.C (nextBreakPoint): use function Inset::isChar().
932 * paragraph.C (TeXOnePar): use function
933 Inset::forceDefaultParagraphs.
935 * buffer.C (latexParagraphs): use function
936 Inset::forceDefaultParagraphs.
938 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
940 * lyx_gui.C (init): set the style of the menu popups to
941 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
943 2002-01-07 Juergen Vigna <jug@sad.it>
945 * text.C (setHeightOfRow): small fix
946 (prepareToPrint): don't look at alignment if we don't have the place
949 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
951 * box.C: New file. Move the Box methods and functions out of box.h,
952 following Lars' suggestion.
954 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
956 * box.h: #include "support/LOstream.h", needed for inlined function.
959 * lyxtextclasslist.C: added some using std declarations.
961 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
963 * box.h: make signed dimensions to allow insets wider than
964 the screen (bug #162)
966 * BufferView_pimpl.C: add some insetHit debug
968 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
970 * vc-backend.C: add FIXME
972 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
974 * lyxfunc.C (getStatus): enable code for showing math font status
977 2002-01-07 Juergen Vigna <jug@sad.it>
979 * text.C (nextBreakPoint): removed debug output not needed anymore.
981 2002-01-06 Juergen Vigna <jug@sad.it>
983 * text.C (nextBreakPoint): fixed up this function we had this bug
984 since ever but now hopefully we break row better.
985 (insertChar): we have to check if an inset is the next char as it
986 could now happen that a large inset is causing a break.
988 2002-01-05 Juergen Vigna <jug@sad.it>
990 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
991 if it doesn't like to be drawed.
993 2002-01-04 Juergen Vigna <jug@sad.it>
995 * BufferView2.C (lockInset): forgot to set a cursor.
997 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
999 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
1004 * form_maths_panel.C:
1005 * form_maths_panel.h:
1006 * form_maths_panel.fd: implemented sub- and super- buttons in math
1009 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
1010 (or ^ space) to be used as in TeX (req'd by André).
1012 * lyxfunc.C: Allow ^ and _ again to be used both as
1013 super/subscript (mathed) and as themselves (in text).
1015 2002-01-03 Allan Rae <rae@lyx.org>
1017 * LyXView.C (updateWindowTitle): Setup a short icon title of either
1018 "LyX" or the filename of the current buffer if it has one. This is a
1019 modified form of John Levon's patch.
1021 * XFormsView.C (setWindowTitle): also set icon title.
1023 * LyXView.h (setWindowTitle): signature changed.
1024 * XFormsView.h (setWindowTitle): ditto.
1026 2002-01-02 Juergen Vigna <jug@sad.it>
1028 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
1030 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1032 * screen.C (topCursorVisible): introduce a temp var for
1033 text->cursor.row(), handle the case where this row is null. (kindo
1036 * text2.C (setCursor): add a couple of asserts.
1038 * paragraph.h (inset_iterator): add -> operator
1040 * paragraph.[Ch] (autoDeleteInsets): remove member function
1042 * BufferView2.C (removeAutoInsets): rewrite to handle the old
1043 cursor pos correctly and handle inset deletion by itself.
1044 (insertErrors): move iterator declaration out of for expression
1046 * lyxtextclass.C: add <algorithm>
1048 * Makefile.am: added the new files to sources, removed layout.C
1050 * layout.C: removed file
1052 * layout.h: remove LYX_DUMMY_LAYOUT
1054 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
1058 * lyxtextclass.[Ch]:
1059 * lyxtextclasslist.[Ch]: new files
1061 * include order changes to a lot of files, also changes because of
1064 2001-12-27 Juergen Vigna <jug@sad.it>
1066 * buffer.C (asciiParagraph): more fixes.
1068 * tabular.C (ascii): make ascii export support export of only the
1069 data separated by a column-delimiter.
1070 (ascii): better support for ascii export.
1072 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
1074 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1076 * tabular_funcs.C: use a "using std::getline" instead of the
1077 previous fix from Angus (necessary for cxx + lyxstring)
1079 2001-12-24 Juergen Vigna <jug@sad.it>
1081 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
1083 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
1084 problems. First check a minipage also if we have some ert-contents
1085 (not only on par->size(), second set the right depth of the paragraph
1086 on the relink to the root-paragraph-list!
1088 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
1089 which then did not anymore update the main paragraphs on undo/redo!
1091 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1093 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
1094 code. Support all font-changing funcs (even those which are not in
1095 menu currently). Support for reporting font settings in
1096 mathed (disabled until Andre provides a function on mathed's side).
1098 * func_status.h (toggle): small helper function to set toggle
1101 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
1103 * tabular_funcs.C: getline -> std::getline
1105 2001-12-21 Juergen Vigna <jug@sad.it>
1107 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
1108 accessed and could be 0 (I couldn't generate this but it seems
1111 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1113 * tabular_funcs.C: add LIstream.h, move write_attribute to..
1114 * tabular_funcs.h: here and include iosfwd
1116 2001-12-20 Juergen Vigna <jug@sad.it>
1118 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
1119 inside inset but undo_par was.
1121 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1123 * Thesaurus.C: always include <config.h> in sources.
1127 * box.h: do not include <config.h> in header files
1129 * text.C (paintLastRow): remove unused variable
1131 * text.C (transformChar):
1133 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
1136 * font.C (width): rewrite to use uppercase() instead of
1139 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
1141 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
1143 * lyxfind.C: clean up of find failure position change
1145 2001-12-20 Juergen Vigna <jug@sad.it>
1147 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
1149 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
1150 (TeXRow): added to LaTeX a single tabular row.
1151 (TeXLongtableHeaderFooter): added to output LT-h/f data.
1152 (Latex): simplified and finally good LT-h/f support.
1153 (various_functions): just small adaptions for LT-h/f support.
1155 * tabular_funcs.[hC]: added and moved here all not classfunctions
1158 2001-12-19 Juergen Vigna <jug@sad.it>
1160 * tabular.[Ch]: better support for longtabular options (not finished
1163 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1165 * text.C (paintLastRow): use the label font instead of the font of
1166 the last character to compute the size of *_BOX. This makes more
1167 sense and avoids a crash with empty paragraphs.
1168 Use Painter::rectangle to draw EMPTY_BOX.
1170 2001-12-19 Juergen Vigna <jug@sad.it>
1172 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
1173 the paragraphs if the replaced paragraph is not the first one!
1174 Tried to delete not used paragraphs but does not work yet so for
1175 now it's inside #ifdef's and by default off!
1177 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1179 * MenuBackend.C: include "lyx_main.h" instead of declaring
1180 lastfiles (actually was declared as LastFiles* instead of a
1183 2001-12-17 Juergen Vigna <jug@sad.it>
1185 * tabular.C (AppendColumn): applied John's fix
1187 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
1191 * BufferView_pimpl.h:
1192 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
1195 * box.h: new start of class for above
1197 * lyxfunc.C: ignore space-only minibuffer dispatches.
1198 Show the command name when it doesn't exist
1200 * minibuffer.C: don't add empty lines to the history
1202 * minibuffer.C: add a space on dropdown completion
1204 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
1206 * text.C: fix line above/below drawing in insets
1208 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
1210 * lyxlength.C (LyXLength): Initialize private variables.
1212 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
1214 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
1215 when inserting error insets.
1217 2001-12-13 Juergen Vigna <jug@sad.it>
1219 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
1220 actually sometimes the before-paragraph.
1221 (setUndo): don't clear the redostack if we're not actually undoing!
1223 2001-12-06 Juergen Vigna <jug@sad.it>
1225 * undo_funcs.C (textHandleUndo): well after John's hint I got here
1226 and fixed redoing of main paragraph, so we can use it now ;)
1228 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
1230 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1232 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
1235 2001-12-13 André Pönitz <poenitz@gmx.net>
1238 * undo_func.C: minor cleanup
1240 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1242 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
1243 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
1244 font in urw-fonts package which is marked as -urw-fontspecific and
1245 does not work (incidentally, changing the encoding in the
1246 fonts.dir of this package to -adobe-fontspecific fixes the
1249 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
1250 is a crash when undoing first paragraph (Juergen, please take a
1251 look). THis does not mean the undo fix is wrong, just that it
1254 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
1255 the (Paragraph*) version when needed instead of duplicating the
1258 * text.C (workWidth): use Inset::parOwner to find out where the
1259 inset has been inserted. This is a huge performance gain for large
1260 documents with lots of insets. If Inset::parOwner is not set, fall
1261 back on the brute force method
1263 * paragraph_pimpl.C (insertInset):
1264 * paragraph.C (Paragraph):
1265 (cutIntoMinibuffer): set parOwner of insets when
1266 inserting/removing them
1268 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
1270 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
1276 * mathed/formulabase.C:
1277 * mathed/math_cursor.[Ch]:
1278 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
1281 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1283 * lyxlength.[Ch] (operator!=): new function
1285 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1287 * text.C (workWidth): use Inset::parOwner to find out where the
1288 inset has been inserted. This is a huge performance gain for large
1289 documents with lots of insets. If Inset::parOwner is not set, fall
1290 back on the brute force method
1292 * paragraph_pimpl.C (insertInset):
1293 * paragraph.C (Paragraph):
1294 (cutIntoMinibuffer): set parOwner of insets when
1295 inserting/removing them
1297 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
1299 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1301 * tabular-old.C (getTokenValue):
1302 * tabular.C (getTokenValue):
1303 (write_attribute): new versions for LyXLength
1304 (everywhere): adjust the use of widths
1306 * tabular.h: change the type of widths from string to LyXLength
1308 2001-12-11 Ben Stanley <bds02@uow.edu.au>
1310 * paragraph.C: fixed missing line number count when exporting
1311 Environments to LaTeX file
1313 * buffer.C: added informational message for checking line numbers.
1315 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1317 * text2.C (deleteEmptyParagraphMechanism): if there is only one
1318 paragraph, do the 'double space' part, but not the 'empty
1321 * text.C (workWidth): small optimization
1322 (getLengthMarkerHeight): use minimal size for negative lengths.
1324 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
1326 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
1328 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
1330 2001-12-11 André Pönitz <poenitz@gmx.net>
1333 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
1335 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1337 * text2.C: keep selection on a setFont()
1339 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1341 * lyx_cb.C: another bv->text misuse, from insert label
1343 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
1346 * kbsequence.C: re-instate nmodifier mask
1348 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
1350 * lyx_main.h: make lyxGUI private.
1352 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1354 * lyxfind.C: place the cursor correctly on failed search
1356 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1358 * text.C (getLengthMarkerHeight): for small heights, the arrows
1359 are not always on top/bottom of the text
1360 (drawLengthMarker): smaller arrows; take the left margin in
1361 account; draw also vfills.
1363 (paintLastRow): remove special code for vfill and standard spaces,
1364 since everything is handled in drawLengthMarker now.
1366 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1368 * buffer.C (insertErtContents): try to handle font and language
1369 interaction a bit better.g
1371 * ColorHandler.C (updateColor): change the hash to cover the whole
1372 LColor enum, ws cleanup
1373 (getGCLinepars): ditto
1374 (getGCLinepars): only lookup in the linecache once.
1376 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
1378 * iterators.C (operator++): Make the iterator more robust
1380 * BufferView2.C (removeAutoInsets): Use paragraph iterators
1382 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
1384 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1387 * text.C: better added space drawing
1389 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1392 * BufferView2.C: fix layout combo update on inset unlock
1394 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1396 * Makefile.am: don't compile unused files
1398 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1402 * LyXAction.C: remove old LFUN_LAYOUTNO
1404 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1406 * paragraph_pimpl.h:
1407 * paragraph_pimpl.C: isTextAt() doesn't need font param
1409 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1412 * lyxlex.C: little cleanup
1414 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1416 * BufferView_pimpl.C: fix insertAscii for insets
1418 2001-12-05 Juergen Vigna <jug@sad.it>
1420 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
1421 set the right font on the "multi" paragraph paste!
1423 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1429 * lyxlength.C: remove out-commented code.
1445 * vc-backend.C: change "while(" to "while ("
1447 * lyxlength.[Ch]: add zero function to check if length is zero or
1449 * lyxgluelength.C: use it
1451 2001-12-05 Allan Rae <rae@lyx.org>
1453 * lyxlength.C: Attempted a fix for the abs(int) header selection.
1454 Works for 2.95.3, from what I understand of Garst's reports this should
1455 work for other g++ versions. We're screwed if the abs(int) definition
1456 changed between bugfix releases of gcc.
1458 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
1460 * text.C: fix chapter label offset !
1462 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
1465 * text.C: fix hfill at end of line, clean up
1467 2001-12-04 Juergen Vigna <jug@sad.it>
1469 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
1470 that we force an update of the inset and it's owners if neccessary.
1472 2001-12-03 Juergen Vigna <jug@sad.it>
1474 * text.C (rowLast): simplified code
1476 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
1478 * lyxfunc.C: fix show options on timeout
1480 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1482 * screen.C (topCursorVisible): scroll half a page when the cursor
1483 reached top of bottom of screen
1485 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
1487 * minibuffer.C: deactivate on loss of focus
1489 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1491 * vspace.[Ch] (operator!=): add operator.
1493 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1495 * BufferView_pimpl.C: refuse to open an inset when
1496 there's a selection.
1498 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
1500 * BufferView_pimpl.C: allow to click on RHS of full row insets
1502 2001-11-30 Juergen Vigna <jug@sad.it>
1504 * tabular.C (LyXTabular): add a same_id to set the same id's in the
1505 insets for undo reasons.
1507 2001-11-28 André Pönitz <poenitz@gmx.net>
1509 * vspace.[Ch]: cosmetical changes
1511 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1521 * kbsequence.C: part re-write of old kb code
1524 * WorkArea.C: remove Lgb_bug_find_hack
1526 2001-11-30 José Matos <jamatos@fep.up.pt>
1528 * buffer.C (makeDocBookFile): add a comment to point a hack.
1529 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
1530 Fixed a double write of labels.
1532 2001-11-29 Ben Stanley <bds02@uow.edu.au>
1535 * LaTeX.h Fixed bug in LaTeX class where it would not
1536 re-run latex if no depfiles were changed, but the .dvi was removed.
1538 2001-11-28 André Pönitz <poenitz@gmx.net>
1540 * all the files from the change on 2001/11/26:
1541 use lyx::layout_type instead of LyXTextClass::size_type
1542 use lyx::textclass_type instead of LyXTextClassList::size_type
1544 2001-11-29 Juergen Vigna <jug@sad.it>
1546 * text.C: added support for paragraph::isFreeSpacing()
1548 * buffer.C: same as above
1550 * paragraph.h: inserted isFreeSpacing() function to enable
1551 FreeSpacing inside InsetERT.
1553 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
1554 of the paragraph's in the cut/copy buffer to 0!
1556 * text2.C (removeRow): remove the assert as it can!
1558 * lyxtext.h: added helper function firstRow returning firstrow and
1559 made firstrow private again.
1561 * BufferView2.C (lockInset): don't relock if we're already locked!
1563 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
1565 (removeRow): added Assert::(firstrow)
1567 * debug.C: forgot to add INSETTEXT here.
1569 2001-11-28 Juergen Vigna <jug@sad.it>
1571 * sp_spell.C (initialize): changed error text to more general
1572 spellchecker command use (not only ispell!)
1574 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
1576 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
1578 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1580 * vspace.C: initialise lyxgluelength on failure
1582 2001-11-28 Allan Rae <rae@lyx.org>
1584 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
1585 declaration & definition that looks like a function declaration.
1587 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1589 * BufferView2.C (copy):
1590 (copyEnvironment): do not clear the selection when doing a copy.
1592 * text.C (paintFirstRow): compilation fix
1594 2001-11-27 Ben Stanley <bds02@uow.edu.au>
1596 * tabular.C (Latex): correct line count when writing latex.
1598 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
1600 * paragraph_pimpl.h:
1601 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
1604 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1608 * LColor.C: change vfillline->added_space
1610 * text.C: add markers and text for added space
1612 * vspace.C: fix comment
1614 2001-11-28 André Pönitz <poenitz@gmx.net>
1616 * paragraph.C: whitespace changes
1617 * all the other files from the change on 2001/11/26:
1618 change *::pos_type into lyx::pos_type
1620 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
1622 * buffer.C (parseSingleLyXformat2Token): Set the language to the
1623 language of the document when inserting error insets.
1625 2001-11-26 André Pönitz <poenitz@gmx.net>
1627 * BufferView_pimpl.[Ch]:
1635 * paragraph_pimpl.[Ch]:
1638 * text2.C: reduce header dependencies, introduce type for positions
1640 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1642 * <various>: change to use Alert.h
1644 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
1646 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
1647 when encountering an unknown token.
1648 (readLyXformat2): Show an error message if there were unknown tokens.
1650 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
1653 * BufferView_pimpl.C:
1657 * text2.C: use par->isInset()
1659 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1661 * paragraph_pimpl.h:
1662 * paragraph_pimpl.C: cleanup
1664 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1666 * text2.C (removeRow):
1667 * text.C (setHeightOfRow): remove useless (and costly) call to
1670 2001-11-20 Allan Rae <rae@lyx.org>
1672 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
1673 Now need Inset*::checkInsertChar() to return true for appropriate
1674 cases so that the characters in the minibuffer will actually be
1677 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
1679 * text.C: change the order of the includes.
1680 (workWidth): initialize it at once.
1681 (workWidth): make maxw unsigned
1682 (setHeightOfRow): remove unused variable (inset)
1683 (selectSelectedWord): remove unused variable (inset)
1684 (paintRowText): fix drawing of hfill characters, and clean up a bit.
1686 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1688 * lyxserver.C (emergencyCleanup): do not try to close pipes if
1689 server is not running.
1691 (closeConnection): add debug info when server is disabled.
1693 * ColorHandler.C (getGCForeground): send debug message to GUI
1696 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
1698 * kbmap.C (bind): modify because return conventions of
1699 kb_sequence::parse have changed.
1701 * kbsequence.C (parse): only ignore spaces and not any stupid
1702 control character. This avoids tests like s[i] <= ' ', which are
1703 guaranteed to fail with 8bit characters and signed chars.
1704 Change return code to string::npos when there have been no error
1705 (0 was a bad idea when error is at first character)
1707 2001-11-14 José Matos <jamatos@fep.up.pt>
1710 * buffer.C (simpleDocBookOnePar): removed unused argument.
1712 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1714 * text.C (selectNextWordToSpellcheck): do not test explicitely for
1715 insets which are part of a word. Paragraph::isLetter takes care of
1716 that now. Use Paragraph::isInset to identify insets.
1717 (selectSelectedWord): do not test for hyphenation break.
1719 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
1720 that protected spaces are considered as spaces.
1722 * paragraph.C (isLetter): cleanup the code for ispell extras; use
1725 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
1728 * lyxserver.C: fix it. and small cleanup.
1730 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
1732 * BufferView_pimpl.C: use inline helpers
1735 * LaTeXFeatures.C: fix typos
1738 * Spacing.C: move spacing_string into class
1740 * ToolbarDefaults.C: move stuff into namespace anon
1742 * layout.h: update enum
1744 * lyxfunc.C: use better debug
1746 * minibuffer.h: fix typo
1750 * WorkArea.C: add and use Debug::WORKAREA
1754 * text2.C: code re-organisation, inline helpers
1756 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
1758 * Layout.C: replaced a few cases of std::vector.size() == 0 with
1759 std::vector.empty().
1761 2001-11-09 Allan Rae <rae@lyx.org>
1763 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
1764 '\n's after tables. Tabular and ERT inset work now makes this no
1767 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
1770 * minibuffer.C: fix crash, improve drop-down completion
1772 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
1775 * lyxserver.C: invalidate fd's when doing endPipe()
1777 2001-11-08 José Matos <jamatos@fep.up.pt>
1779 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
1780 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
1783 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
1785 2001-11-07 José Matos <jamatos@fep.up.pt>
1788 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
1791 * buffer.C (sgmlOpenTag):
1792 * buffer.C (sgmlCloseTag): removed debug info.
1794 * buffer.h (sgmlOpenTag):
1795 * buffer.h (sgmlCloseTag): made public.
1797 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1799 * buffer.C (saveParamsAsDefaults):
1800 * lyx_cb.C (MenuLayoutSave): remove
1802 * LyXAction.C (init):
1804 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
1806 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1808 * buffer.C (setPaperStuff): removed from here...
1810 * bufferparams.C (setPaperStuff): ... and moved there.
1812 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
1816 * XFormsView.C: add support for drop-down completion
1818 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
1820 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
1823 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1825 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
1828 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
1830 * lyx_main.C: change ref to known bugs
1832 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
1834 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
1835 to work around older babel problems.
1837 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1839 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
1841 2001-10-24 Juergen Vigna <jug@sad.it>
1843 * tabular-old.C (ReadOld): below variable changes reflected.
1845 * tabular.[Ch]: added ltType struct for longtable header/footer
1846 defines and changed all instances where they are used. Added
1847 future support for double top/bottom rows.
1849 2001-10-24 José Matos <jamatos@fep.up.pt>
1851 * buffer.h (docbookHandleCaption):
1852 * buffer.C (docbookHandleCaption): removed unused function.
1853 (makeDocBookFile): moved docbook supported version to v4.1.
1855 2001-10-24 José Matos <jamatos@fep.up.pt>
1858 * tabular.C (docbookRow): new function to export docbook code of a row.
1859 (DocBook): now honors the longtable flags.
1861 2001-10-23 José Matos <jamatos@fep.up.pt>
1864 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
1865 of the lyx defined sgml entities used in a docbook/linuxdoc document.
1867 * buffer.C (makeLinuxDocFile):
1868 (makeDocBookFile): reworked the preamble, more clean, and with
1869 support for lyx defined entities. Changed the document declaration
1870 to be more XML friendly.
1872 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
1873 if we need to output XML that should be done with a filter.
1875 2001-10-22 Juergen Vigna <jug@sad.it>
1877 * sp_pspell.h (class PSpell): add alive function needed in the
1878 controller to see if the spellchecker could be started.
1880 2001-10-22 Juergen Vigna <jug@sad.it>
1882 * buffer.C (insertStringAsLines): modify the font for inserting
1883 chars in certain conditions by calling checkInsertChar(font).
1885 2001-10-19 Juergen Vigna <jug@sad.it>
1887 * text.C (workWidth): use getRow instead of wrong algorithm.
1888 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
1890 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1895 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
1897 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1899 * text.C (workWidth): do not search for the exact row when
1900 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
1901 optimization for big documents.
1903 2001-10-18 Juergen Vigna <jug@sad.it>
1905 * text.C (workWidth): new function with added Inset * parameter.
1907 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1909 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
1911 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
1912 change return type of getColumnNearX.
1915 * text.C (changeRegionCase): use uppercase/lowercase instead of
1918 (rightMargin): simplify code by factoring out the uses of
1923 (appendParagraph): use Paragraph::size_type
1925 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1927 * vspace.C (asLatexString): add a missing break
1929 2001-10-15 Herbert Voss <voss@perce.de>
1931 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
1933 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1935 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
1938 2001-10-10 André Pönitz <poenitz@gmx.net>
1940 * lyxfunc.C: removed greek_kb_flag.
1942 2001-10-10 Herbert Voss <voss@perce.de>
1944 * lyx_main.C: delete global string help_lyxdir.
1946 2001-10-09 Herbert Voss <voss@perce.de>
1948 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
1950 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
1952 * lyx_main.C: added global string help_lyxdir.
1954 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
1956 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1958 * lyxrc.C (set_font_norm_type): support iso8859-4
1960 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1962 * LaTeX.C (deplog): add another regex for MikTeX
1964 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
1966 * lyxrc.C (set_font_norm_type): support iso8859-3
1968 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1970 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
1972 * LaTeXFeatures.C: remove special case of french and index
1974 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
1975 before \begin{document}). This solves several incompatibilities.
1977 2001-10-03 Garst Reese <reese@isn.net>
1979 * lyx_cb.C: change CheckTex error msg.
1981 2001-10-03 José Matos <jamatos@fep.up.pt>
1983 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
1985 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1987 * .cvsignore: update
1989 * lyx_main.C (commandLineVersionInfo): use new style version info.
1991 * buffer.C (writeFile):
1994 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
1996 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
1998 * version.h: update to use stuff in version.C
2000 * version.C.in: new file. Contains version information determined
2001 at compile time. This is a merging of version.h and
2004 2001-10-03 Juergen Vigna <jug@sad.it>
2006 * BufferView_pimpl.C (update): don't change "dirty" status in
2009 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
2011 * WorkArea.C (c-tor): re-position version string slightly.
2013 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
2015 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
2016 revert to previous code.
2018 WorkArea.[Ch]: (show, destroySplash): methods removed.
2020 WorkArea.C: rework code so that it's an amalgam of the codes before and
2021 after the splash screen was moved to WorkArea.
2023 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2026 * vspace.C (inPixels):
2029 * buffer.C (insertStringAsLines):
2030 (asciiParagraph): fix types to be large enough
2032 * lyxlex_pimpl.h: change member status from short to int
2034 * layout.h: fix type of endlabeltype
2037 * kbsequence.C (parse): change return type to string::size_type
2039 * LaTeX.C (updateBibtexDependencies): comment out unneeded
2042 * Bullet.C (bulletSize):
2043 (bulletEntry): do not use short ints as parameters
2045 * BufferView2.C (insertLyXFile): change a char to an int.
2047 * WorkArea.C (WorkArea): remove unneeded floats in computation
2049 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
2051 * buffer.C (asciiParagraph): Treat '\\' as other chars.
2053 * paragraph.C (asString): Do not ignore newline/hfill chars when
2054 copying to the clipboard.
2056 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
2058 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
2059 after a multi-line inset.
2061 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
2063 * paragraph.C (validate): Set NeedLyXFootnoteCode
2065 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
2067 * lyxfont.C (LyXSizeNames): changed increase-error to increase
2068 and decrease-error to decrease.
2070 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2072 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
2073 it more readable (should be equivalent)
2075 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
2077 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
2079 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2081 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
2082 of a cursor (row, etc.) after a character has been deleted
2083 (deleteEmptyParagraphMechanism): call the method above on _all_
2084 cursors held by the LyXText when a double space has been
2087 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
2089 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
2091 (resizeCurrentBuff): remove code to destroy the old splash dialog.
2093 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
2094 background. Use greyOut() and the new show() methods to toggle between
2095 the foreground and background. Add code to remove the splash after
2096 its initial showing.
2098 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
2099 (create_forms): no longer call Dialogs::showSplash.
2101 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2103 * .cvsignore: add version_info.h
2105 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2107 * version_info.h.in: new file
2109 * Makefile.am: add version_info.h.in
2111 * lyx_main.C (commandLineVersionInfo): use version_info defined in
2112 version_info.h instead of VERSION_INFO
2114 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
2116 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
2117 The ERT inset now returns string().
2119 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
2121 * lyxtext.h, text.C (selectNextWord): renamed as
2122 selectNextWordToSpellcheck.
2124 * text.C (selectNextWordToSpellcheck): Modified to not select
2125 words inside an ERT inset.
2127 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2129 * lyx_cb.C (MenuLayoutSave): change a bit the question
2131 * sp_base.h: include <sys/types.h>
2133 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
2135 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
2137 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
2139 * several files: fix typos in user-visible strings
2141 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2143 * text2.C (pasteSelection): do not set the selection, since it
2144 will be cleared later. Actually, the intent was to fix the way the
2145 selection was set, but I figured rmoving the code was just as good.
2147 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
2149 * FontLoader.C (available): Check if font is available without
2152 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2154 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
2156 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
2158 * lyxrc.[Ch]: added display_graphics variable and associated code.
2160 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2162 * bufferparams.C (hasClassDefaults): new method. Returns true if
2163 the buffer parameters correspond to known class defaults
2165 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
2167 * XFormsView.C (show): set minimum size to the main window.
2169 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2171 * text2.C (copySelection):
2173 * lyxfind.C (LyXReplace):
2174 * BufferView_pimpl.C (Dispatch): pass the correct flag to
2175 LyXText::selectionAsString.
2177 * paragraph.C (asString): add "label" argument to the second form
2179 * text2.C (selectionAsString): add "label" argument and pass it to
2180 Paragraph::asString.
2182 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2184 * lyx_main.C (commandLineHelp): remove version information
2186 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
2188 * lyx_main.C: add -version commandline option
2190 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
2192 * paragraph.h: make the optional constructor arg required instead.
2193 some modifications to other files because of this.
2195 * minibuffer.C (C_MiniBuffer_peek_event): make it static
2197 * lyxserver.C (C_LyXComm_callback): make it static
2199 * lyx_main.C (error_handler): make it static
2201 * lyx_gui.C (LyX_XErrHandler): make it static
2203 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
2205 * WorkArea.C: make the extern "C" methods static.
2207 * Makefile.am (lyx_LDADD): simplify
2209 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2211 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
2212 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
2214 * LyXAction.C (init):
2215 * lyxfunc.C (dispatch): associated code removal.
2217 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2219 * lyxfont.h (isSymbolFont): shut off warning
2221 * text.C (setHeightOfRow):
2222 (getVisibleRow): fix crash with empty paragraphs which have a
2225 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
2227 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
2230 2001-09-04 José Matos <jamatos@fep.up.pt>
2233 * tabular.C (docbook): rename docBook method to docbook.
2235 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2237 * Makefile.am: add dependencies to main.o.
2239 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
2241 * FontLoader.C (available): Return false if !lyxrc.use_gui
2243 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
2245 * FontInfo.C (query):
2246 * converter.C (view):
2247 * importer.C (Import):
2248 * exporter.C (Export): Can not -> cannot.
2250 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
2252 * BufferView_pimpl.C: allow to create index inset even if
2255 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2257 * buffer.C (getLists): replace boost::tie code with an explicit pair
2258 as boost::tie can break some compilers.
2260 * iterators.h: Added a std:: declaration to the return type of
2263 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
2265 * lyxrc.C: add help for view_dvi_paper_option, default to safe
2268 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
2270 * iterators.[Ch]: New files. Provide paragraph iterators.
2272 * buffer.C (changeLanguage): Use paragraph iterators.
2273 (isMultiLingual): ditto
2275 * BufferView2.C (ChangeInsets): Use paragraph iterators.
2277 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
2279 * FontLoader.C: Support for cmr font.
2281 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
2283 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
2284 (available): New method.
2286 * FontInfo.C (getFontname): Use scalable fonts even when
2287 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
2290 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
2292 * converter.C (Formats::view): reverted! Incorrect fix.
2294 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
2296 * converter.C (Formats::view): only output the -paper option
2297 if the dvi viewer is xdvi, thereby fixing bug #233429.
2299 2001-08-23 Herbert Voss <voss@perce>
2301 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
2303 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
2305 * Spacing.h (Spacing): Set space to Default on in the default
2308 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
2310 * vc-backend.h (RCS::versionString): add RCS to version
2311 (CVS::versionString): add CVS to version
2313 * vc-backend.C (scanMaster): do not add CVS to version.
2314 (scanMaster): do not add RCS to version
2316 * lyxvc.C (versionString): new method
2318 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
2320 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2322 * Spacing.C (set): initialize fval
2324 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
2326 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
2329 2001-08-16 Juergen Vigna <jug@sad.it>
2331 * lyxfunc.C (dispatch): implemented the new FINISHED states.
2333 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
2335 * BufferView_pimpl.C:
2338 * text2.C: setParagraph takes linespacing now
2340 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
2342 * LyxAction.C: add internal LFUN_CITATION_INSERT
2344 * LyXView.C: actually apply fix
2346 * bufferlist.C: fix open non-existent file
2348 * lyxfind.C: fix indentation
2350 * lyxfunc.C: remove unneeded assert, fix typo
2352 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
2354 * MenuBackend.C: use "Floatname List"
2356 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
2358 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
2359 when converting LaTeX layout to insetERT.
2360 Generate a non-collapsed float when reading old float
2362 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
2364 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
2367 2001-08-13 Juergen Vigna <jug@sad.it>
2369 * text.C (fill): return 0 instead of 20 as this seems to be the more
2372 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
2374 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
2377 2001-08-13 Juergen Vigna <jug@sad.it>
2379 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
2381 (SearchBackward): comment out the unlocking of the inset_owner this
2382 should not be needed!
2384 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
2386 * Many files: Remove inherit_language, and add latex_language
2388 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
2391 2001-08-10 Juergen Vigna <jug@sad.it>
2393 * text.C (prepareToPrint): fixed hfill-width in draw!
2395 * BufferView2.C (selectLastWord): save the selection cursor as this
2396 now is cleared in the function LyXText::clearSelection!
2398 2001-08-08 Juergen Vigna <jug@sad.it>
2400 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
2401 BACKSPACE type functions.
2403 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
2404 is only cutted from the document but not put in the cut-buffer, where
2405 still the old stuff should be.
2407 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
2409 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
2411 * tabular.C (SetWidthOfCell): fixed special case where the width
2413 (LeftLine): handle '|' in align_special.
2415 (LeftAlreadyDrawed): ditto
2416 (SetWidthOfCell): ditto
2418 2001-08-07 Juergen Vigna <jug@sad.it>
2420 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
2422 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2424 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
2425 * lyxlex.[hC]: ditto
2427 2001-08-06 Juergen Vigna <jug@sad.it>
2429 * text.C (getVisibleRow): fix up row clearing a bit.
2431 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2433 * minibuffer.C: make sure the X server sees the changes in the input.
2435 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2437 * paragraph.C (getFont): split into...
2438 (getLabelFont): this
2439 (getLayoutFont): and this
2440 * paragraph_pimpl.C (realizeFont): calling this
2442 * text2.C (getFont): split into...
2443 (getLayoutFont): this
2444 (getLabelFont): and this
2445 (realizeFont): all three calling this
2447 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
2450 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2452 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
2454 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
2456 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
2457 layouts from the Quote inset insertion.
2459 2001-08-03 Juergen Vigna <jug@sad.it>
2461 * BufferView_pimpl.C (update): do the fitCursor only at the end!
2463 * screen.C (drawFromTo): don't call fitcursor here and do the loop
2464 only if status not is already CHANGED_IN_DRAW (second level).
2466 * text.C (draw): don't set the need_break_row when inside an
2469 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2471 * buffer.C (parseSingleLyXformat2Token): handle more latex
2474 * bufferview_funcs.[hC]: change function names to
2475 begin with small char, adjust other files.
2477 2001-08-02 André Pönitz <poenitz@gmx.net>
2480 BufferView_pimpl.C: remove broken special code for math-greek
2482 2001-08-02 Juergen Vigna <jug@sad.it>
2484 * BufferView_pimpl.C (update): redone this function so that we
2485 update the text again if there was a CHANGE_IN_DRAW.
2487 * screen.C (cursorToggle): removed LyXText parameter and recoded.
2488 (drawFromTo): added a new internal bool which is used by draw() and
2490 (general): some cursor drawing problems fixed.
2492 2001-08-01 Juergen Vigna <jug@sad.it>
2494 * lyxfind.C (LyXFind): fixed
2495 (SearchForward): ditto
2496 (SearchBackward): ditto
2498 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
2499 spurius drawing of the cursor in the main area.
2501 * text2.C (status): small fix which could lead to a segfault!
2502 (clearSelection): remove unneeded BufferView param.
2504 2001-08-01 André Pönitz <poenitz@gmx.net>
2506 * lyxfunc.C: small change due to changed mathed interface
2508 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2510 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
2512 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
2514 * lyxfunc.c: fail gracefully if file doesn't exist
2519 * BufferView_pimpl.C: IsDirWriteable() proto changed
2521 * LyXView.C: fix updateWindowTitle() to store the last title
2523 2001-07-31 Juergen Vigna <jug@sad.it>
2525 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
2526 the font (wrong since using of Paragraph::highestFontInRange).
2528 * paragraph.C (highestFontInRange): added a default_size parameter.
2530 * text.C (getVisibleRow): minor clear row changes (still not perfect).
2531 (setHeightOfRow): reformat
2533 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2535 * converter.[hC] + affected files: move to (inital-char)lowercase
2538 * ParagraphParameters.C (ParagraphParameters): remove commented code
2540 * PainterBase.[Ch]: remove commented code
2542 * LaTeXFeatures.h: add "bool floats" for float.sty
2544 * LaTeXFeatures.C (LaTeXFeatures): init floats
2545 (require): handle float
2546 (getPackages): do it with floats
2548 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2550 * BufferView_pimpl.C (Dispatch): improve handling of
2551 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
2553 * commandtags.h: #include lyxfont.h here temporarily to avoid
2556 * bufferlist.h: include LString.h here.
2558 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2560 * text2.C (getStringToIndex): new method.
2562 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
2564 * *: Reduced header file dependencies all over.
2566 2001-07-30 Baruch Even <baruch@lyx.org>
2568 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
2570 2001-07-29 Baruch Even <baruch@lyx.org>
2572 * buffer.C (readInset): Changed GRAPHICS to Graphics.
2574 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2576 * ParameterStruct.h (endif): add a default constructor to make
2577 sure that all variables is initialized.
2579 * ParagraphParameters.C (ParagraphParameters): adjust
2581 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2583 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
2584 index; also, check that there is something to index, and that it
2585 does not span over several paragraphs.
2586 (doubleClick): use WHOLE_WORD_STRICT for double click.
2588 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
2590 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
2593 2001-07-26 Baruch Even <baruch@lyx.org>
2595 * buffer.C (readInset): Changed to call up InsetGraphics when reading
2596 an InsetFig figure, backwards compatible reading of old figure code.
2598 2001-07-27 Juergen Vigna <jug@sad.it>
2600 * text2.C: font.realize function adaption.
2602 * text.C (draw): add a warnings lyxerr text if needed.
2604 * layout.C: font.realize function adaption.
2606 * language.C: add inherit_language and implement it's handlings
2608 * bufferview_funcs.C (StyleReset): remove language parameter from
2609 font creation (should be language_inherit now).
2611 * bufferparams.C (writeFile): handle ignore_language.
2613 * paragraph.C (getFontSettings): the language has to be resolved
2614 otherwise we have problems in LyXFont!
2616 * lyxfont.C (lyxWriteChanges): added document_language parameter
2617 (update): removed unneeded language parameter
2619 * paragraph.C (validate): fixed wrong output of color-package when
2620 using interface colors for certain fonts in certain environments,
2621 which should not seen as that on the final output.
2623 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
2625 * BufferView_pimpl.C:
2630 * LyXAction.C: add thesaurus support
2633 * lyxfind.C: add "once" parameter, for thesaurus, to not
2634 move to the next match
2636 2001-07-26 Juergen Vigna <jug@sad.it>
2638 * lyxfont.C (realize): honor ignore_language too!
2641 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
2643 * text.C (draw): one place more for ignore_language to not draw
2646 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
2648 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
2650 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2652 * buffer.C (parseSingleLyXformat2Token): a more general fix for
2653 the minipage conversion problem.
2655 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2657 * buffer.C (parseSingleLyXformat2Token): check minipage if we
2660 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2662 * BufferView.h: don't forward declare WorkArea
2664 * BufferView.C: don't include WorkArea.h
2666 2001-07-25 André Pönitz <poenitz@gmx.net>
2670 * lyxfunc.C: new LFUN 'math-space'
2672 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
2674 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2676 * text2.C (toggleInset): call open/close
2678 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2680 * lyxfunc.C (dispatch): add debug for the disabled case
2682 * font.C (buttonText): make similar to rectText
2684 * buffer.C (readInset): comment out parsing of insetlist and
2687 * PainterBase.C (rectText): small correction
2689 * BufferView_pimpl.C: comment out insettheorem and insetlist
2690 * LyXAction.C: ditto
2691 * commandtags.h: ditto
2693 2001-07-24 Juergen Vigna <jug@sad.it>
2695 * text.C (draw): honor the ignore_language.
2697 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
2699 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2701 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
2704 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2706 * lyxtext.h: remove unused (and unimplemented) methods
2708 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2710 * text.C (getVisibleRow): honor background color
2713 * Painter.h: remove default color argument for fillRectangle
2715 * text.C (backgroundColor): new method
2717 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2719 * text.C (getVisibleRow): adjust
2721 * font.[Ch] (rectText): new method, metrics
2722 (buttonText): new method, metrics
2724 * PainterBase.[hC]: make rectText and buttonText always draw and take
2727 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2729 * ToolbarDefaults.C (read):
2730 * MenuBackend.C (read): allow escaping in all strings
2732 * BufferView_pimpl.C (insertAndEditInset): new method.
2733 (Dispatch): use insertAndEditInset whenever appropriate.
2735 * BufferView_pimpl.C (insertNote): removed
2737 * BufferView_pimpl.C (smartQuote): new method, moved from
2738 BufferView; if an insetquote cannot be inserted, insert a '"'
2741 * BufferView2.C: remove insertCorrectQuote();
2743 * lyxfunc.C (getStatus): Add support for all remaingin
2746 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
2748 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
2749 command (necessary to pass " as parameter of self-insert.
2751 * text.C (selectWordWhenUnderCursor):
2752 (selectWord): add word_location parameter
2753 (selectWordWhenUnderCursor): same + remove special code for word
2755 (selectNextWord): use kind() to guess type of insetspecialchar,
2758 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
2759 (insertErtContents): create ert insets as collapsed.
2760 (readInset): better compatibility code for Info inset.
2762 2001-07-20 Juergen Vigna <jug@sad.it>
2764 * lyxfunc.C (dispatch): use always LyXFind now!
2766 * text2.C (init): add a reinit flag so that the LyXText can be
2767 reinited instead of deleted and reallocated (used in InsetText).
2769 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
2775 2001-07-18 Juergen Vigna <jug@sad.it>
2777 * text.C (selectNextWord): handle insets inside inset by calling
2778 always the bv->text functions so that we can go up the_locking_inset!
2780 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
2781 in strange locations when inside an inset!
2783 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
2784 handling to include insets.
2786 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
2788 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2790 * LyXAction.C (init):
2792 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
2793 LIGATURE_BREAK, since the name is so stupid.
2795 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2797 * buffer.C (readInset): enable reading of new InsetNotes as well as old
2800 * FontLoader.C: remove FORMS_H_LOCATION cruft.
2802 * sp_form.[Ch]: remove.
2804 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
2806 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
2809 * src/buffer.C (readInset): ditto.
2811 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2813 * BufferView_pimpl.C (specialChar): new method. Obsoletes
2814 menuSeparator(), endOfSentenceDot(), ldots() and
2815 hyphenationPoint(), which are therefore removed.
2816 (Dispatch): handle LFUN_HYPHENATION_BREAK.
2818 * LyXAction.C (init):
2819 * commandtags.h: add LFUN_HYPHENATION_BREAK.
2821 * paragraph.C (getWord): removed.
2823 * BufferView_pimpl.C (Dispatch): use last word or selection for
2824 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
2826 * lyx_main.C (queryUserLyXDir): do not ask before creating
2827 user_dir, except if it has been named explicitely.
2829 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2831 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
2832 a document of zero size.
2834 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
2836 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
2837 approriately in the c-tor and in require().
2838 (getPackages): output the appropriate LaTeX for natbib support.
2840 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
2841 variables "use_natbib" and "use_numerical_citations" when reading the
2843 (readInset): read the various natbib cite commands.
2844 (validate): white-space change.
2846 * bufferparams.[Ch]: new variables "bool use_natbib" and
2847 "bool use_numerical_citations".
2848 (writeFile): output them in the LyX file.
2850 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2852 * lyxfunc.C (getStatus): add support for all the inset insertion
2855 * text2.C (insertInset):
2856 * paragraph.C (insetAllowed):
2857 * BufferView_pimpl.C (insertInset): update to take in account the
2858 renaming of insertInsetAllowed
2860 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
2862 * text2.C (getInset): new method. returns inset at cursor position.
2864 * BufferView_pimpl.C (Dispatch): changes because of this.
2866 * LyXAction.C (init): rename open-stuff to inset-toggle.
2868 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
2870 * text2.C (toggleInset): renamed from openStuff; use
2873 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2875 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
2877 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
2879 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
2881 * buffer.C (readLyXformat2): Add filename to the error dialog
2883 2001-07-18 Juergen Vigna <jug@sad.it>
2885 * tabular.C (GetCellNumber): put an assert here instead of the check!
2887 2001-07-17 Juergen Vigna <jug@sad.it>
2889 * BufferView_pimpl.C (toggleSelection): adapted too.
2891 * text.C (selectNextWord): adapted for use with insets.
2892 (selectSelectedWord): ditto
2894 2001-07-17 Juergen Vigna <jug@sad.it>
2896 * sp_spell.C (PSpell): fix initialitation order.
2898 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2900 * paragraph.C: spacing
2902 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
2904 * sp_spell.C: repair language selection for pspell
2906 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2908 * lyxfunc.h: change more methods to begin with lower char.
2910 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
2912 * buffer.C (parseSingleLyXformat2Token): Generate error insets
2913 for unknown layouts.
2915 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
2917 * buffer.C (readLyXformat2): Generate an error dialog if there are
2920 2001-07-16 Juergen Vigna <jug@sad.it>
2922 * sp_spell.C: always compile ISpell part.
2924 * lyxrc.C: added use_pspell entry and it's handling.
2926 2001-07-13 Juergen Vigna <jug@sad.it>
2928 * sp_spell.C: removed double includes.
2930 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
2932 Consistent use of Lsstream.h:
2933 * Lsstream.h: added using std::stringstream for consistencies sake.
2935 * buffer.C: removed using std::stringstream
2937 * lyxfont.C (stateText):
2938 * paragraph.C (asString):
2939 * text.C (selectNextWord, selectSelectedWord):
2940 * text2.C (setCounter):
2941 * vspace.C (asString, asLatexString):
2942 std::ostringstream -> ostringstream.
2944 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2946 * LyXAction.C: add LFUN_HELP_ABOUTLYX
2947 * commandtags.h: add LFUN_HELP_ABOUTLYX
2948 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
2950 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2952 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
2954 * lyx_gui_misc.C: remove spellchecker
2955 * lyxfunc.C: showSpellchecker
2957 * sp_ispell.h: added
2958 * sp_pspell.h: added
2960 * sp_form.[Ch]: removed
2961 * spellchecker.[Ch]: removed
2963 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
2965 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
2967 (simpleTeXSpecialChars): Simply print the input character without
2968 any special translation if pass_thru is set.
2970 * layout.h: Added bool pass_thru to layout class for being able to
2971 implement pass through of a paragraph for Literate Programming.
2973 * layout.C: add LT_PASS_THRU to LayoutTags enum.
2974 * layout.C (LyXLayout): set pass_thru to flase in constructor.
2975 * layout.C (Read): add "passthru" to list of layout tags and add
2976 code to set the pass_thru boolean when it is read.
2978 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2980 * trans_decl.h: remove allowed from KmodInfo
2982 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
2986 * paragraph_pimpl.C (erase): use boost::prior
2988 * Painter.C (text): use data() instead of c_str() when length is
2990 * WorkArea.C (putClipboard): ditto
2991 * font.h (width): ditto
2993 * BufferView2.C: use it-> instead of (*it). for iterators
2995 * paragraph_pimpl.C: ditto
2996 * paragraph.C: ditto
2997 * minibuffer.C: ditto
3002 * converter.C: ditto
3004 * Variables.C: ditto
3005 * TextCache.C: ditto
3006 * MenuBackend.C: ditto
3007 * LyXAction.C: ditto
3009 * FloatList.C: ditto
3011 * ColorHandler.C (LyXColorHandler): ditto
3013 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3015 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
3017 * text2.C (openStuff): reintroduce this method (which had been
3018 nuked in NEW_INSETS frenzy).
3020 * lyxfunc.C (Dispatch): when an action has not been handled, use
3021 its name in the error message, not its number.
3023 * paragraph.C (inInset): change method name to begin with lowercase.
3026 * text2.C: updates because of this.
3028 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3030 * ToolbarDefaults.C (add): add spaces in error message
3032 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3034 * buffer.C (readLyXformat2): initialize the ert comp. variables.
3035 (readLyXformat2): rename return_par to first_par, use lyxlex's
3036 pushToken and remove the manual push handling.
3037 (parseSingleLyXformat2Token): add another ert comp. variable:
3038 in_tabular, rename return_par to first_par. handle newlines better
3040 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3042 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
3044 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
3046 * text2.C (getParFromID): removed
3048 * buffer.C (getParFromID): new method moved form lyxtext.
3049 * BufferView2.C (insertErrors): adjust
3050 (setCursorFromRow): adjust
3051 * BufferView_pimpl.C (restorePosition): adjust
3052 * lyxfunc.C (Dispatch): adjust
3053 * undo_funcs.C (textUndo): adjust
3055 (textHandleUndo): adjust
3056 (textHandleUndo): adjust
3058 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3060 * buffer.C: up' the LYX_FORMAT
3062 * lyxfont.h: turn NO_LATEX on as default
3064 * buffer.C (insertErtContents): new methods of tex style compability.
3065 (parseSingleLyXformat2Token): use it several places.
3066 * tabular.C (OldFormatRead): and here
3068 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3070 * text2.C: remove some commented code.
3073 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
3074 * trans.C: changes because of the above.
3076 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
3078 * text2.C (setCounter): Fix counters bug with bibliography layout.
3080 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3082 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
3083 own member functions
3084 (simpleTeXSpecialChars): ditto
3086 2001-07-06 Juergen Vigna <jug@sad.it>
3088 * a lot of files: changed the access to LyXText::status and the
3089 call of undo-functions.
3091 * undo.[Ch]: added a inset_id to the undo informations.
3093 * undo_funcs.[Ch]: added and moved here all undo functions.
3095 * lyxtext.h: give the status enum a weight, made status_ a private
3096 variable and made accessor functions for it, removed the whole bunch
3097 of undo-functions as they are now in their own file, make some
3098 functions publically available. Added function ownerParagraph with
3101 * paragraph.[Ch]: added "bool same_ids" to the constructor,
3102 made InInset() a const function, added getParFromID() function.
3104 * buffer.[Ch]: added const version for inset_iterator functions,
3105 added getInsetFromID() function.
3107 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
3108 changed undo functions for new version.
3110 2001-07-05 Juergen Vigna <jug@sad.it>
3112 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
3113 unknow mechanism does not call the proper constructor but only this
3114 one also if I request the other!?
3116 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3118 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
3120 * text2.C (LyXText): use initialization lists.
3122 * lyxtext.h (Selection): initialize set_ and mark_
3123 (init): remove method
3125 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
3127 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
3129 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3131 * screen.[Ch]: change method names to begin with lowercase
3133 * BufferView_pimpl.C (updateScrollbar): simplify further and
3134 hopefully make it a bit faster.
3136 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3138 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
3139 calling directly xforms functions.
3141 * Painter.C (Painter):
3142 * lyx_cb.C (MenuWrite):
3143 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
3146 * lyx_gui.C: remove bogus guiruntime extern declaration.
3148 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3150 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
3152 (redoDrawingOfParagraph): ditto
3153 (redoParagraphs): ditto
3154 (cutSelection): don't create a object for CutAndPaste use the
3155 static method directly
3156 (pasteSelection): ditto
3158 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
3161 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3163 * modifications to some other files because of this.
3165 * Makefile.am (lyx_SOURCES): add XFormsView
3167 * XFormsView.[Ch]: new files
3169 * LyXView.[Ch]: make LyXView a base class for the gui handling for
3170 the main window. Move the gui dependent stuff to XFormsView
3172 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3174 * tabular.C (GetCellInset): update cur_cell also in the row/col
3175 version of this function.
3177 * lyxfunc.C: no need to include figure_form.h here.
3183 * lyxvc.C: no need to include forms.h here.
3185 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3187 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
3189 * lyxfunc.C (Dispatch):
3191 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
3192 constructor argument.
3194 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3196 * paragraph.C (Paragraph): dont't clear, and just set layout.
3197 (makeSameLayout): use params's copy contructor.
3199 * ParagraphParameters.[Ch] (makeSame): delete method
3201 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
3203 * Variables.[Ch]: fix indentation, rename set to isSet
3205 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3207 * lyxfunc.C (Dispatch): fix typo
3209 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3211 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
3214 * bufferlist.C: include assert.h for emergencyWrite().
3216 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3218 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
3219 give up at last (bug #425202) !
3221 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
3227 * spellchecker.C: strip spellchecker options and bring up
3228 preferences tab instead
3230 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3232 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
3233 the istringstream constructor
3235 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3237 * paragraph.C (getLayout): fix return value
3239 * paragraph.h: do not declare getLayout as inline.
3241 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
3243 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3245 * lyxcursor.h (operator<): new func
3246 (operator>): new func
3247 (operator>=): new func
3248 (operator<=): new func
3250 * text.C (changeCase): use selection.start and selection.end
3251 (changeRegionCase): require from to be <= to. Require par to be a
3254 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
3256 2001-06-27 Juergen Vigna <jug@sad.it>
3258 * text.C (cursorLeftOneWord): changed to return the cursor and added
3259 overlay with BufferView * parameter which calls this one.
3261 (selectWord): use new getWord function.
3262 (changeCase): renamed from changeWordCase as and extended to work
3265 * lyxtext.h: added enum word_location
3267 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
3268 changeCase as this operates now also on selections.
3270 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
3272 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
3274 * many files: send debug output to Debug::INFO instead of
3277 * converter.C (View):
3279 (Move): send debug output to Debug::FILES instead of console.
3281 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
3283 * lyxfunc.C (getStatus): use func_status
3285 * func_status.h: new header, describing the results of
3288 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
3291 2001-06-25 The LyX Project <jug@sad.it>
3293 * buffer.C (sgmlOpenTag):
3295 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
3297 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3299 * text2.C: remove some dead code
3301 * tabular.C (GetCellInset): store the last cell checked (gotten)
3303 * tabular.h: add the helper for the speedup
3305 * lyxtext.h: remove some dead code
3307 2001-06-26 The LyX Project <Asger>
3309 * paragraph.C: Change export to LaTeX of alignment to
3310 \begin{center} and family for better roundtrip work with reLyX.
3312 * Tune the math drawing a bit.
3314 2001-06-25 The LyX Project <Asger>
3316 * LColor.C (LColor): New color for math background. New color
3319 2001-06-25 The LyX Project <jug@sad.it>
3321 * lyxfunc.C (MenuNew): remove extra check for .lyx file
3324 * bufferlist.C (newFile): do not restrict to files ending with
3327 * BufferView_pimpl.C (MenuInsertLyXFile):
3329 2001-06-24 The LyX Project <jug@sad.it>
3331 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
3334 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3336 * lyxtext.h: rename most methods to begin with a small char.
3337 Lots of changes because of this.
3339 * paragraph.C (Paragraph): do not call fitToSize
3340 (erase): call Pimpl::erase
3341 (insertChar): call Pimpl::insertChar
3342 (insertInset): call Pipl::insertInset
3343 (breakParagraph): do not call fitToSize
3344 (breakParagraphConservative): do not call fitToSize
3345 (fitToSize): remove method
3347 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
3349 2001-06-24 The LyX Project <Asger>
3351 * Fix Qt compilation^2
3353 2001-06-24 The LyX Project <jug@sad.it>
3355 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
3356 depthHook(getDepth()-1).
3359 * ParagraphParameters.h:
3360 * ParameterStruct.h: change type of depth to unsigned int ==
3361 depth_type. Many adaptations to other files before of that.
3363 2001-06-24 The LyX Project <Asger>
3365 * Fix Qt compilation.
3367 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3369 * paragraph.h: renamed several methods to begin with small letter.
3370 several changes to many parts of the code because of this.
3372 2001-06-23 The LyX Project <jug@sad.it>
3374 * text2.C (InsertStringAsLines): renamed from InsertStringA;
3375 rewritten to discard all double spaces when KeepEmpty is off
3376 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
3377 to only handle newlines but not fiddle with spaces and friends.
3379 * lyxfunc.C (MenuNew): when doing 'new from template', use
3380 template_path as default directory
3382 2001-06-23 The LyX Project <Asger>
3384 * Clean-up of header file includes all over
3385 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
3387 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3389 * paragraph.h: renamed from lyxparagraph.h
3391 2001-06-23 Asger <lyx@violet.home.sad.it>
3393 * Buffer.h: Removed Buffer::resize
3394 * BufferList.h: Removed BufferList::resize
3395 * LyXView.h: Added LyXView::resize. This way, we will only reflow
3396 the document lazily when we change the width, or the font settings.
3398 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3400 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
3402 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3404 * buffer.h: remove out of date comment
3406 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3409 * screen.C: fix "theoretical" GC leak
3411 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3413 * LaTeX.C (scanAuxFile):
3414 (deplog): remove trailing \r when reading stream (useful under
3417 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
3419 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
3420 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
3421 and BufferView::theLockingInset(Inset*), so should use them and not
3422 access bv_->text->the_locking_inset directly.
3424 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
3426 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
3429 * tex-defs.h: remove old unused file
3431 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
3433 * BufferView_pimpl.C: fix typo, remove minibuffer message
3434 when buffer has loaded
3436 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3438 * lyxfunc.C (Dispatch): use stringstream
3439 (MenuNew): use stringstream
3440 (Open): use stringstream
3442 * importer.C (Import): use stringstream
3444 * bufferview_funcs.C (CurrentState): use stringstream
3446 * LaTeX.C (run): use stringstream
3448 * BufferView_pimpl.C (savePosition): use stringstream
3449 (restorePosition): use stringstream
3450 (MenuInsertLyXFile): use stringstream
3452 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
3465 * vspace.C: removed // -*- C++ -*- as first line.
3468 * version.h: added // -*- C++ -*- as first line.
3470 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3472 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
3474 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
3477 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3479 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
3482 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3484 * gettext.C: include LString.h even when --disable-nls is on.
3486 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
3488 * converter.h (Get): changed argument type from int to
3489 FormatList::size_type to avoid unnecessary conversion.
3491 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
3494 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3496 * gettext.h: include LString.h even when --disable-nls is on.
3498 2001-06-07 Juergen Vigna <jug@sad.it>
3500 * text.C (BreakAgain): subst spaces with tabs.
3502 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
3503 (resizeInsetsLyXText): set force on resizeLyXText.
3505 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3507 * gettext.h (gettext_init):
3508 (locale_init): use a real definition instead of a macro
3510 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
3512 * Bufferview_pimpl.C:
3514 * LColor.C: further lcolor tidies
3516 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3518 * BufferView_pimpl.C (updateScrollbar): simplify.
3520 * BufferView2.C: don't include insets/insetinfo.h, change
3521 prototype for insertInset and call the Pimpl version. let
3522 updateInset call Pimpl version.
3524 * BufferView.h: move inset_slept to BufferView::Pimpl, move
3525 gotoInset to BufferView::Pimpl
3527 2001-06-01 Juergen Vigna <jug@sad.it>
3529 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
3530 inside a LockingInset (is the update needed at all?).
3532 2001-05-31 Juergen Vigna <jug@sad.it>
3534 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
3535 here not the old one otherwise how should we compare it afterwards
3538 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3543 * FontInfo.C: bring C functions into global namespace when
3546 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3548 * LString.h: make sure config.h has been loaded before LString.h.
3550 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
3551 (one for each char read by EatLine!).
3553 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
3556 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3558 * paragraph.C (BreakParagraph): set the inset_owner in the new par
3559 to the same as the par we break from
3561 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
3563 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
3565 * MenuBackend.C (expand): also create menu entries for wide
3566 versions of the floats.
3568 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
3570 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
3572 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
3573 frontends/Makefile.am
3579 * tabular.C (getTokenValue): add std::
3581 * tabular-old.C (getTokenValue): add std::
3582 (getTokenValue): ditto
3583 (getTokenValue): ditto
3585 * screen.C (ToggleSelection): adjust
3587 * lyxtext.h: put selection cursors inside a Selection struct.
3589 * lyxfunc.C (moveCursorUpdate): adjust
3591 * lyxfont.C (latexWriteStartChanges): add std::
3595 * font.h: delete with(char const *, LyXFont const &)
3597 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
3599 * FontInfo.C (getFontname): add std::
3601 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3602 (workAreaButtonPress): adjust
3603 (tripleClick): adjust
3605 (moveCursorUpdate): adjust
3608 * BufferView2.C (gotoInset): adjust
3610 2001-05-30 Juergen Vigna <jug@sad.it>
3612 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
3613 to check pspell I add this as default as I now have new pspell
3614 libraries and they seem to use this.
3616 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3618 * text2.C (CutSelection): make the cursor valid before the call to
3621 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3623 * kbsequence.C (parse): de-uglify a bit the parsing code, which
3624 relied on 0 terminated strings and other horrors. Bug found due to
3625 the new assert in lyxstring!
3627 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
3630 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3632 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
3635 * lyxfunc.C (processKeySym): change method of getting to the
3638 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
3639 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
3640 * BufferView_pimpl.[Ch]: here as private methods.
3642 2001-05-28 Juergen Vigna <jug@sad.it>
3644 * text.C (SetHeightOfRow): added the update() call again as it is
3645 needed to initialize inset dimensions!
3647 2001-05-16 Juergen Vigna <jug@sad.it>
3649 * text2.C (SetCharFont): Add new function with BufferView * and
3650 bool toggleall parameters for setting insets internal fonts.
3651 (SetFont): Freeze the undo as we may change fonts in Insets and
3652 all this change should be inside only one Undo!
3654 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
3655 setting font's in insets as for them we have the SetFont function!
3657 2001-05-15 Juergen Vigna <jug@sad.it>
3659 * text2.C (ClearSelection): to be sure we REALLY don't have any
3662 * tabular.C (TeXCellPreamble): fixed the left border problem for
3665 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
3667 * LaTeX.C (deplog): Make sure that the main .tex file is in the
3670 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3672 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
3673 LFUN_BREAKPARAGRAPH.
3675 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
3676 help test to "internal only", similar for LFUN_INSERT_URL
3678 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
3679 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
3680 auto_region_delete and deadkeys.
3682 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
3685 * LColor.C: remove some dead entries, tidy a little
3687 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3689 * lyxfunc.C (processKeySym): comment the Escape handling, remove
3691 (Dispatch): implement LFUN_ESCAPE
3693 * commandtags.h: add LFUN_ESCAPE
3695 * LyXAction.C (init): add entry for LFUN_ESCAPE
3697 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
3698 Remove commented code.
3699 (insertNote): moved here
3700 (open_new_inset): moved here
3702 * BufferView[2].[Ch]: move insertNote and open_new_inset to
3705 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3707 * kbmap.C (findbinding): clean it up and make it work correctly.
3709 * lyx_main.C (init): do not pass argc and argv as parameters
3711 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
3713 * buffer.C: fix path for OS/2 & Win32
3717 * lyx_main.C: Added os:: class.
3719 * os2_defines.h: update
3721 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3723 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
3724 better by trying again with reduced state.
3726 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3728 * lyxrc.C (read): print error about invalid key sequence only when
3729 debugging (because not all latinX keysyms are known to some X
3732 * kbsequence.C (getiso): add a few std:: qualifiers
3733 (getiso): comment out extra return statement.
3735 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
3737 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
3739 (Dispatch): enhance the accent inset a bit. (not perfect)
3741 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3743 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
3745 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3747 * bufferlist.C (emergencyWrite): fix assert() call
3749 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
3751 * text.C (InsertChar): Added trivial patch to only send the "you
3752 can not do multiple spaces this way" message once during a
3755 2001-05-08 Baruch Even <baruch@lyx.org>
3757 * Makefile.am: Changed order of libraries to get LyX to link properly
3758 with the gnome frontend.
3760 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3762 * LaTeXFeatures.h: add a std:: qualifier
3764 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
3766 * paragraph.C (String): use stringstream
3768 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3770 * paragraph.C (writeFile): remove footflag arg
3772 * buffer.C (makeLaTeXFile): use stringstream
3773 (latexParagraphs): remove footnot gurba
3775 * LaTeXFeatures.C (getPackages): use stringstream
3776 (getMacros): likewise
3777 (getTClassPreamble): likewise
3778 (getFloatDefinitions): new method
3780 * paragraph.C (writeFile): reindent
3783 * WorkArea.h: revert the xpos + etc changes.
3785 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
3787 * lyxparagraph.[Ch]: add copy constructor, remove Clone
3789 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
3790 (pasteSelection): likewise
3791 * text2.C (CreateUndo): likewise
3793 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3795 * minibuffer.C (peek_event): temporarily reduce the functionality
3796 of the minibuffer (to allow args on lfuns)
3798 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
3799 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
3801 * buffer.C (readInset): add compability reading of old float
3802 lists, add reading of new style float list.
3803 (readInset): avoid reevaluation of inscmd.getCmdName()
3804 (getLists): reindent
3806 * MenuBackend.C (MenuItem): implement parsing of
3807 md_floatlistinsert and md_floatinsert.
3808 (expand::LastFiles): move initalizaton of iterators out of loop,
3810 (expand::Documents): introduce typdedef vector<string> Strings,
3812 (expand::ExportFormats): introduce typedef vector<Format const *>
3813 Formats, and use it.
3814 (expand): implement FloatListInsert and FloatInsert.
3816 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
3817 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
3818 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
3820 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
3822 (Dispatch::LFUN_FLOAT_LIST): implement
3824 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3826 * LaTeX.C (run): Fix problem with --export code.
3828 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3830 * BufferView.[Ch] (workarea): removed.
3831 (getClipboard) new method; wrapper for workarea()->getClipboard()
3833 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
3836 * WorkArea.h (width, height, xpos, ypos): These methods all
3837 returned the dimensions of the work_area sub-area of WorkArea,
3838 resulting in a position error if the WorkArea were resized. Now
3839 return the dimensions of the entire WorkArea.
3841 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
3843 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3845 * LaTeX.C (deplog): correct the syntax of regex reg1
3847 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3849 * undo.C: remove !NEW_INSETS cruft
3851 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3853 * text2.C: remove !NEW_INSETS cruft
3855 * text.C: remove !NEW_INSETS cruft
3857 * tabular.C: remove !NEW_INSETS cruft
3859 * spellchecker.C: remove !NEW_INSETS cruft
3861 * lyxtext.h: remove !NEW_INSETS cruft
3863 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
3865 * lyxfunc.C: remove !NEW_INSETS cruft
3867 * lyxfind.C: remove !NEW_INSETS cruft
3869 * lyx_cb.C: remove !NEW_INSETS cruft
3871 * figureForm.C: remove !NEW_INSETS cruft
3873 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
3875 * buffer.[Ch]: remove !NEW_INSETS cruft
3877 * ToolbarDefaults.C: remove !NEW_INSETS cruft
3879 * CutAndPaste.C: remove !NEW_INSETS cruft
3881 * BufferView_pimpl.C: remove !NEW_INSETS cruft
3883 * BufferView2.C: remove !NEW_INSETS cruft
3885 * BufferView.h: remove !NEW_INSETS cruft
3887 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3889 * Lsstream.h: include LString.h before the sstream headers to
3890 fix problem with gcc 2.95.3 and lyxstring
3892 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3894 * lyx_main.C: add using directives when needed for C functions
3895 declared in std:: namespace.
3897 2001-04-27 Juergen Vigna <jug@sad.it>
3899 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
3900 (SetHeightOfRow): comment out the update call should not be needed!
3902 2001-04-13 Juergen Vigna <jug@sad.it>
3904 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
3905 (LyXTabular): tried to minimize operator= operations (and realized
3906 hopfully Lars wish).
3908 2001-04-27 Juergen Vigna <jug@sad.it>
3910 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
3912 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3914 * lyxfunc.C (Dispatch): hack to make listof algorithm work
3916 * buffer.C (readInset): hack to make listof algorithm work
3918 * BufferView_pimpl.C: hack to make listof algorithm work
3920 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3922 * LyXAction.C: removed all !NEW_INSETS cruft
3923 (init): moved lfun_item in method
3925 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
3927 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3929 * BufferView2.C (theLockingInset): white space.
3931 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3933 * minibuffer.C: include <iostream>
3935 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
3937 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
3939 * commandtags.h: add LFUN_TRANSPOSE_CHARS
3941 * text.[Ch] (TransposeChars): new method
3943 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3945 * call message directly through LyXView instead of through LyXFunc
3946 * BufferView2.C: adjust
3947 * BufferView_pimpl.C: adjust
3948 * FontLoader.C: adjust
3950 * bufferview_funcs.C: adjust
3951 * converter.C: adjust
3952 * figureForm.C: adjust
3953 * importer.C: adjust
3955 * lyx_gui_misc.C: adjust
3959 + more files in subdirs
3961 * lyxparagraph.h (size): move up int file
3964 * adjust all uses of Assert to lyx::Assert.
3966 * BufferView2.C (ChangeCitationsIfUnique): adjust for
3967 lyxfunctional in namespace lyx
3968 * layout.C (hasLayout): ditto
3971 (delete_layout): ditto
3972 (NumberOfClass): ditto
3973 * converter.C (GetFormat): ditto
3978 * bufferlist.C (getFileNames): ditto
3979 (emergencyWriteAll): ditto
3982 * MenuBackend.C (hasSubmenu): ditto
3985 * BufferView_pimpl.C (getInsetByCode): ditto
3987 2001-04-18 Juergen Vigna <jug@sad.it>
3989 * vspace.C (asLatexString): fixed the 100% problem.
3991 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3993 * lyxfunc.C (Dispatch):
3995 * minibuffer.h: add a few std:: qualifiers
3997 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3999 * minibuffer.[Ch]: reimplement so that commands is initiated and
4000 run from lyxfunc, simplified som handling, and made the completion
4001 and history code for complete. wip.
4003 * lyxfunc.C (processKeySym): call message
4004 (miniDispatch): new temporary method
4005 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
4006 (LFUN_MESSAGE): implement
4007 (LFUN_MESSAGE_PUSH): implement
4008 (LFUN_MESSAGE_POP): implement
4009 (initMiniBuffer): the initial/defualt minibuffer message.
4011 * lyxfont.[Ch]: inline some more getters
4013 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
4015 * lyx_gui_misc.[Ch] (WriteStatus): remove method
4017 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
4018 (AutoSave): use LFUN_MESSAGE
4019 (Reconfigure): ditto
4021 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
4023 * figureForm.C: use LFUN_MESSAGE
4025 * converter.C (runLaTeX): use LFUN_MESSAGE
4027 * bufferview_funcs.C: use LFUN_MESSAGE
4029 (changeDepth): ditto
4031 * bufferparams.h: use boost::
4033 * bufferlist.h: inherit privately from noncopyable
4035 * bufferlist.C (loadLyXFile): remove some commented code.
4037 * buffer.C (runChktex): use LFUN_MESSAGE
4039 * ShareContainer.h: inherit privately from noncopyable
4041 * ParagraphParameters.[hC] (depth): inline it.
4043 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
4045 (message): new method
4046 (messagePush): ditto
4048 (show): init minibuffer
4049 (showState): direct call
4051 * LaTeX.[Ch]: inherit privately from noncopyable
4052 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
4053 instead of WriteStatus.
4055 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
4057 * BufferView_pimpl.C (buffer): don't init minibuffer
4058 (workAreaButtonPress): use LFUN_MESSAGE
4059 (workAreaButtonRelease): ditto
4060 (savePosition): ditto
4061 (restorePosition): ditto
4062 (MenuInsertLyXFile): ditto
4063 (workAreaExpose): don't init minibuffer
4064 (update): remove commented code, simplify
4066 * BufferView2.C (openStuff): use LFUN_MESSAGE
4067 (toggleFloat): ditto
4070 (copyEnvironment): ditto
4071 (pasteEnvironment): ditto
4076 (updateInset): remove some commented code
4078 * lastfiles.h: inherit privately from noncopyable
4083 * lyxlex_pimpl.h: ditto
4085 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
4086 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
4087 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
4089 * LyXAction.h: inherit privately from noncopyable, add methods
4090 func_begin, func_end, returning iterators to the func map.
4092 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
4093 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
4094 (func_begin): new method
4095 (func_end): new method
4097 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
4099 (copySelection): ditto
4100 (pasteSelection): ditto
4102 * BufferView.C: whitespace change
4103 * BufferView.h: inherit privately from noncopyable
4105 2001-04-16 Allan Rae <rae@lyx.org>
4107 * tabular-old.C (l_getline):
4108 * spellchecker.C (sc_check_word):
4109 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
4110 an unrecognised preprocessor directive. So ensure they're wrapped.
4112 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
4114 * src/exporter.C (Export): Give an error message when path to file
4117 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
4119 * LaTeX.C (deplog): Always check that foundfile exists.
4121 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4124 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
4126 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4128 * tabular.[Ch] (getLabelList): implement new method
4130 * minibuffer.h: comment ouf setTiimer
4132 * minibuffer.C (ExecutingCB): constify res
4133 (peek_event): constify s
4134 (Set): constify ntext
4135 (Init): constify nicename
4137 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
4139 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
4140 (savePosition): use two params to Minibuffer::Set
4141 (restorePosition): ditto
4143 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4145 * lyx_main.C: include language.h
4147 * Makefile.am (lyx_main.o): add language.h
4149 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4155 * CutAndPaste.C: include gettext.h
4157 * lyxfont.h: remove old hack with ON and OFF.
4160 * lyxfont.h: do not include language.h...
4165 * bufferview_funcs.C:
4171 * paragraph.C: ... but do it here instead
4173 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4175 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
4177 * tabular.C: small reformat
4179 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
4182 (BreakParagraph): ditto
4183 (SetOnlyLayout): ditto
4186 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
4189 * lastfiles.C: removed most using decl, add std:: where needed
4191 * buffer.C: ws changes
4193 * MenuBackend.C (class compare_format): put into anon namespace
4194 (expand): constify label, names, action, action2
4197 * text.C (SingleWidth): constify font
4198 (IsBoundary): constify rtl2
4199 (GetVisibleRow): constify ww
4201 * LaTeX.C (deplog): constify logfile
4203 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
4205 (workAreaExpose): constify widthChange, heightChange
4207 * lyxrow.C (par): moved
4210 * lyxrow.h: as inlines here
4212 * lyxfont.h (shape): moved from lyxfont.C
4213 (emph): moved from lyxfont.C
4215 * lyxfont.C (LyXFont): use initialization list for all
4217 (shape): move to lyxfont.h as inline
4218 (emph): move to lyxfont.h as inline
4221 2001-04-04 Juergen Vigna <jug@sad.it>
4223 * vspace.C: had to include stdio.h for use of sscanf
4225 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
4228 * BufferView_pimpl.h: remove xforms cruft. Both classes are
4229 independent of xforms.
4231 2001-04-02 Juergen Vigna <jug@sad.it>
4233 * spellchecker.C: fixed namespace placing!
4235 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
4237 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
4238 the LyXParagraph * is 0.
4240 2001-03-29 Juergen Vigna <jug@sad.it>
4242 * vspace.C: added support for %, c%, p%, l%.
4243 (stringFromUnit): added helper function.
4244 (asLatexString): changed to give right results for the %-values.
4246 * buffer.C: convert the widthp in a width%.
4248 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
4250 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
4253 * figureForm.[Ch]: stripped the FD_from_figure manipulation
4254 code out of lux_cb.[Ch], ready for its (imminent?) removal.
4256 * lyx_cb.[Ch]: see above.
4258 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
4262 * lyx.[Ch]: replaced by figure_form.[Ch].
4266 * lyxfunc.C: changed headers associated with above changes.
4268 2001-03-27 Juergen Vigna <jug@sad.it>
4270 * BufferView_pimpl.C: set the temporary cursor right!
4272 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
4274 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
4276 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
4278 * LString.h: removed "using std::getline"!
4280 * BufferView_pimpl.C (Dispatch): changes due to changes in
4281 InsetInclude::Params.
4283 * buffer.C (tag_name): removed redundant break statements as they were
4284 producing lots of warnings with my compiler.
4286 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4288 * LString.h: add "using std::getline" when using the real <string>.
4290 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
4292 * buffer.C: removed bitset usage.
4293 PAR_TAG moved to an anonymous name space.
4294 (tag_name): new funtion, also in the anonymous namespace.
4295 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
4296 (makeDocBookFile): clean code. Completed transition from string arrays
4298 (SimpleDocBookOnePar): code clean.
4300 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4302 * tabular.C: add some comments.
4304 2001-03-22 Juergen Vigna <jug@sad.it>
4306 * buffer.C (parseSingleLyXformat2Token): redone the minipage
4307 compatibility read a bit and fixed bug with minipage in different
4310 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
4312 * buffer.C (pop_tag): removed.
4313 (push_tag): removed.
4314 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
4315 array replaced with vector. Added support for CDATA sections.
4316 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
4318 (makeDocBookFile): XML conformant declaration of CDATA section,
4319 fixed bug related to <emphasis> in the first paragraph char.
4320 (sgmlOpenTag): exclude empty tags.
4321 (sgmlCloseTag): ditto.
4323 * buffer.h (pop_tag): removed.
4324 (push_tag): removed.
4326 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
4328 * language.h (Languages): added size_type and size().
4330 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4332 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
4333 response on compability reading of minipages. One probliem is that
4334 the old usage of minipages was «flertydig»
4336 * several files here and in subdirs: don't use static at file
4337 scope use anon namespaces instead.
4339 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
4341 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
4342 LaTeX output. This is necessary for Literate document
4345 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4347 * buffer.C: insert hfill when needed.
4349 * tabular.C (l_getline): use string::erase, small whitespace change.
4351 * BufferView_pimpl.C: try the anon namespace.
4354 2001-03-16 Juergen Vigna <jug@sad.it>
4356 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
4357 otherwise it won't open options-dialogs.
4359 * buffer.C: honor pextraWidth(p) on converting minipages.
4361 * tabular.C (l_getline): changed the functions to strip trailing \r.
4363 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
4365 * BufferView_pimpl.C:
4366 * minibuffer..C: added "using SigC::slot" declaration.
4368 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4370 * lyxlex_pimpl.h: noncopyable is in namespace boost.
4376 * paragraph.C: ditto
4378 * lyxtext.h: NO_PEXTRA
4380 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
4382 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
4383 * ParameterStruct.h: ditto
4384 * ParagraphParameters.h: ditto
4385 * lyxparagraph.h: ditto
4387 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4389 * buffer.C: add compability for minipage alignment.
4390 (latexParagraphs): remove unwanted pextra check.
4392 * several files: remove CXX_WORKING_NAMESPACES
4394 * buffer.C (pop_tag): tie is in namespace boost
4396 * BufferView.h: noncopyable is in namespace boost
4401 * lastfiles.h: ditto
4402 * bufferlist.h: ditto
4403 * ShareContainer.h: ditto
4405 * LyXAction.h: ditto
4408 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
4410 * Merging changes from BRANCH_MVC back into HEAD.
4412 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
4414 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
4416 * BufferView_pimpl.C: change from intl.C
4420 * Makefile.am: move combox.*
4426 * intl.C: remove dialog (covered by prefs)
4428 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
4430 * lyxfunc.C (Dispatch): removed redundant break statement.
4432 2001-03-14 Juergen Vigna <jug@sad.it>
4434 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
4436 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4438 * buffer.C: add hack to fix compability reading of minipages.
4440 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
4442 * buffer.C (getLists): Cleanup.
4444 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4446 * lyxfont.C (update): don't honor toggleall on font size.
4448 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
4452 * Makefile.am: moved to frontends/xforms/
4456 * BufferView_pimpl.C: changes for moved mathpanel
4458 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4460 * gettext.h: fix gettext_init() in --disable-nls
4462 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4464 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
4466 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
4469 * lyx.h: strip external form
4471 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4473 * BufferView_pimpl.C: add comment, destroySplash()
4475 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4477 * BufferView_pimpl.C:
4481 * lyxfunc.C: use re-worked insetinclude
4483 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4485 * buffer.C: add using std::stringstream.
4487 * lyx_cb.C: readd using std::ios.
4489 * buffer.C: add using std::map.
4491 * BufferView_pimpl.C: add using std::vector.
4493 * ShareContainer.h: add std:: to swap.
4495 * buffer.h: add some typedefs
4496 * buffer.C (getLists): use them
4497 (getLists): renamed from getTocList.
4498 add a counter for the different float types and use it in the
4500 (getLists): use the same counter for the NEW_INSETS and the "non"
4503 * lyx_cb.h: remove unused items, includes, using etc.
4505 * ShareContainer.h: remove some commented code, add more comments
4506 and "documentation".
4508 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4510 * buffer.C (getTocList): make the list also when NEW_INSETS is
4513 * buffer.h: remove TocType
4515 * buffer.C (getTocList): change to return a map<string,
4516 vector<TocItem> >, implement for dynamic number of list.
4518 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
4519 * text2.C (PasteSelection): adjust
4520 * CutAndPaste.C (pasteSelection): adjust
4522 * FloatList.C (FloatList): update from the new_insets branch.
4523 * Floating.[Ch]: ditto
4524 * LaTeXFeatures.C: ditto
4526 * lyxlex_pimpl.C: ditto
4528 * paragraph.C (Last): remove when NEW_INSETS is defined.
4530 * other file: changes because of the above.
4532 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4534 * lyxparagraph.h: rename next to next_, previous to previous_,
4535 make them private for NEW_INSETS. Rename Next() to next(),
4536 Previous() to previous().
4538 * other files: changes because of the above.
4540 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
4543 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
4546 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4548 * main.C (main): pass lyx_localedir to gettext_init().
4550 * gettext.h: remove locale_init and gettext_init macros
4552 * gettext.C (locale_init): new function
4553 (gettext_init): new function
4555 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
4558 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
4560 * Moved credits to frontends:
4561 * credits.[Ch]: removed
4562 * credits_form.[Ch]: removed
4563 * lyx_gui_misc.C: remove credits stuff
4566 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4568 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
4570 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
4571 unneeded destructor.
4573 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
4574 a standalone pointer again.
4576 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
4578 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
4584 * ToolbarDefaults.C:
4593 * BufferView_pimpl.C: use new file dialog in GUII
4596 * lyx_cb.C: remove LayoutsCB to Toolbar
4598 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4600 * ShareContainer.h (get): add std:: qualifier
4602 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4604 * ShareContainer.h: define a proper ShareContainer::value_type
4605 type (and use typename to please compaq cxx)
4607 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4609 * lyxparagraph.h: move serveral local vars to
4610 ParameterStruct/ParagraphParameters., use ShareContainer in
4611 FontTable., make vars in FontTable private and add getter and
4614 * paragraph.C: changes because of the above.
4616 * lyxfont.h: remove copy constructor and copy assignment. (the
4617 default ones is ok), move number inside FontBits. move inlines to
4620 * lyxfont.C: add number to initializaton of statics, move several
4621 inlines here. constify several local vars. some whitespace
4622 cleanup. Dont hide outerscope variables.
4624 * Spacing.h: add two new constructors to match the set methods.
4626 * ShareContainer.h: new file, will perhaps be moved to support
4628 * ParameterStruct.h: new file
4630 * ParagraphParameters.h: new file
4632 * ParagraphParameters.C: new file
4634 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
4635 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
4637 * BufferView_pimpl.C: ParagraphParameter changes.
4638 * buffer.C: Likewise.
4639 * bufferview_funcs.C: Likewise.
4641 * text2.C: Likewise.
4643 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4645 * lyxfind.C (LyXReplace): do not redefine default argument in
4647 (IsStringInText): ditto
4648 (SearchForward): ditto
4649 (SearchBackward): ditto
4651 2001-03-06 Juergen Vigna <jug@sad.it>
4653 * lyxfind.C (IsStringInText): put parentes around expressions.
4655 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
4657 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
4659 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
4661 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
4663 * stl_string_fwd.h: add comment
4665 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
4668 * tabular.C: remove unused DocBook methods
4674 killed DO_USE_DEFAULT_LANGUAGE
4676 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4678 * lyx_gui.C: do not include language.h.
4680 * bufferview_funcs.C (ToggleAndShow): do not provide optional
4681 arguments in function implementation.
4683 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4685 * BufferView_pimpl.C: add <ctime>
4687 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4689 * BufferView_pimpl.C: add using std::find_if
4691 2001-02-27 José Matos <jamatos@fep.up.pt>
4693 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
4696 2001-02-11 José Matos <jamatos@fep.up.pt>
4698 * buffer.C (makeDocBookFile): command styles now have a parameter as
4701 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
4703 * layout_forms.[Ch]: removed
4704 * lyx_cb.[Ch]: out character
4705 * lyx_gui.C: out character
4706 * lyx_gui_misc.C: out character
4707 * bufferview_funcs.C: : out character,
4708 added toggleall as parameter in ToggleAndShow
4710 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
4712 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
4714 * text2.C (SetCurrentFont): Disable number property at boundary.
4716 2001-02-26 Juergen Vigna <jug@sad.it>
4718 * lyxfunc.C (getStatus): added a string argument override function so
4719 that this is correctly called from LyXFunc::Dispatch if it contains a
4720 do_not_use_argument which is used!
4721 (Dispatch): added check for "custom" export and call appropriate func.
4723 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
4725 * lyxrc.C: Add language_command_local, language_use_babel and
4726 language_global_options.
4728 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
4730 * buffer.C (makeLaTeXFile): Use language_use_babel and
4731 language_global_options.
4733 2001-02-23 Juergen Vigna <jug@sad.it>
4735 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
4736 which works with LyXText and putted it inside BufferView. Here now we
4737 only call for that part the BufferView::Dispatch() function.
4739 * BufferView.C (Dispatch): added.
4741 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
4742 functions which needs to use a LyXText over from LyXFunc.
4743 (MenuInsertLyXFile): added
4744 (getInsetByCode): added
4745 (moveCursorUpdate): added
4746 (static TEXT): added
4748 2001-02-22 Juergen Vigna <jug@sad.it>
4750 * BufferView_pimpl.C (update): call a status update to see if LyXText
4753 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4755 * vc-backend.C (revert): implement for CVS
4756 (getLog): implement for CVS
4758 2001-02-20 Juergen Vigna <jug@sad.it>
4760 * text2.C (ClearSelection): added BufferView param for inset_owner call
4762 * lyxfunc.C (TEXT): added this function and use it instead of
4763 directly owner->view()-text of getLyXText().
4765 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
4767 * src/layout_forms.C: out preamble
4768 * src/layout_forms.h: out preamble
4769 * src/lyx_cb.C: out preamble
4770 * src/lyx_cb.h: out preamble
4771 * src/lyx_gui.C: out preamble
4772 * src/lyx_gui_misc.C: out preamble
4773 * src/lyxfunc.C: connect with guii preamble
4775 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
4777 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
4779 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
4781 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
4782 whether to run bibtex.
4784 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
4786 * Makefile.am (lyx_SOURCES): Remove BackStack.h
4788 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4790 * Makefile.am (lyx_SOURCES): removed bibforms.h
4794 * text.C (GetVisibleRow): make several local vars const
4796 * tabular.C: small cleanup.
4798 * lyxserver.C (callback): use compare instead of strncmp
4800 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
4801 inlines to after class or to paragraph.C
4803 * lyxfont.h: remove friend operator!=
4805 * converter.h: move friend bool operator< to non friend and after
4808 * combox.h: small cleanup
4810 * buffer.h: doxygen, remove unused constructor, move inclas inlies
4811 to inlines after class def.
4813 * buffer.C (pop_tag): use string operations instead of strcmp
4815 * bmtable.c: doxygen, small cleanup
4817 * LaTeX.h: remove friend operator==
4819 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
4831 * BufferView_pimpl.C:
4832 * BufferView.[Ch]: remove cruft
4834 2001-02-14 Juergen Vigna <jug@sad.it>
4836 * lyxfunc.C: removed #if 0 unused code
4838 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
4840 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
4842 * text2.C (SetSelection): added a BufferView * parameter
4844 2001-02-13 Juergen Vigna <jug@sad.it>
4846 * lyxfunc.C (Dispatch): fixed protected blank problem.
4847 * BufferView2.C (protectedBlank): added LyxText * parameter.
4849 * tabular.C (AppendRow): forgot to set row_info of newly added row.
4850 (AppendColumn): same as above for column_info.
4852 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
4853 (moveCursorUpdate): use a LyXText param for support of InsetText.
4855 * BufferView_pimpl.C (doubleClick): added support for InsetText.
4856 (tripleClick): ditto
4858 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
4860 * BufferView_pimpl.C (update): added LyXText param to honor insets.
4862 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
4864 * text2.C (SetSelection): set correct update status if inset_owner
4867 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
4869 * tabular.C: remove some commented code.
4871 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
4873 * BufferView_pimpl.C: call hideSplash()
4875 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
4878 * bibforms.h: remove
4881 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
4882 add LFUN_CHILD_CREATE
4884 * counters.h: fix tiny typo
4889 * lyx.C: move splash to frontends/xforms/
4891 * lyx_gui_misc.C: move Include and Bibform to frontends
4893 * lyxvc.h: clarify comment
4895 * vspace.C: tiny housekeeping
4897 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
4899 * text.C (PrepareToPrint): RTL Fix.
4901 * paragraph.C (GetUChar): New method.
4902 (String): Use GetUChar.
4904 * buffer.C (asciiParagraph): Use GetUChar.
4906 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
4908 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
4910 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
4913 * buffer.C: rename to getLogName(), handle
4914 build log / latex log nicely
4916 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4919 * MenuBackend.h: remove support for reference menuitem type.
4921 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
4923 * BufferView_pimpl.C: housekeeping
4924 * BufferView_pimpl.h:
4929 * minibuffer.h: move Timeout GUI-I
4931 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
4933 * lyxrc.C (read): Update converters data-structures.
4935 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
4937 * LaTeX.h (operator!=): add operator != for Aux_Info
4939 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
4941 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
4943 * LaTeXLog.C: deleted, useful code moved to Buffer
4946 * buffer.C: new function getLatexLogName()
4952 * lyxfunc.C: use frontends for LaTeX and VC logs
4954 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4956 * LaTeX.h: yet another std:: that Allan forgot.
4958 * Variables.C (set): renamed from isset(), because this clashes
4959 with some HP-UX macros (grr).
4961 2001-02-06 Allan Rae <rae@lyx.org>
4963 * LaTeX.h: Another bug fix. Missing std:: this time.
4965 2001-02-04 Allan Rae <rae@lyx.org>
4967 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
4968 floats problem. I've left it commented out because it's not quite
4969 correct. It should also test that the current object is a table or
4970 figure inset. But I haven't gotten around to figuring out how to do
4971 that. I *think* it'll be something like: "table" == inset.type()
4973 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
4976 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
4978 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
4979 all the citation/databases/styles in the auxilary file.
4980 (run): Rerun latex if there was a babel language error.
4982 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
4984 * text.C (Backspace): Preserve the font when changing newline char
4986 (BreakParagraph): If the cursor is before a space, delete the space.
4988 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
4990 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4992 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
4993 new argument (code).
4994 (ChangeCitationsIfUnique): New method.
4996 * paragraph.C (GetPositionOfInset): Handle bibkey.
4998 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5000 * BufferView_pimpl.h: change type of Position::par_pos to
5001 LyXParagraph::size_type.
5003 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
5005 * BufferView_pimpl.C (savePosition, restorePosition): Write
5006 messages to minibuffer.
5008 2001-01-28 José Matos <jamatos@fep.up.pt>
5010 * buffer.C (makeDocBookFile): adds support for document language.
5011 A silly restriction on the name of LatexCommand types where removed.
5012 Added support for CDATA sections, allows to chars unescaped, used
5013 among others in code, to avoid escape < and >.
5015 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
5017 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
5018 saved positions instrad of a stack. Furthermore, a position is
5019 stored using paragraph id/paragraph position.
5021 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
5022 Remove LFUN_REF_BACK.
5024 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
5026 * converter.C (dvipdfm_options): New method.
5028 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
5030 * vspace.C (isValidLength): Fix for empty input string.
5032 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5034 * LyXAction.C (init): change description of LFUN_FIGURE to
5037 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5039 * LaTeX.C: add using directive
5041 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
5043 * MenuBackend.C (expand): Fix the sorting of the formats.
5045 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
5047 * lyx_main.C: tiny error message fix
5049 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5051 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
5052 calling fl_initialize(). This fixes the problem with ',' as
5053 decimal separator in text files.
5055 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
5057 * trans.C (process): Fix the keymap bug.
5059 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
5061 * LaTeX.C (scanAuxFiles): New method. Provides support for
5062 multiple bibliographies (when using the bibtopic/bibunits pacakges).
5063 (scanLogFile) Scan for "run BibTeX" messages.
5065 * buffer.C (makeLaTeXFile): Do not load the ae package when using
5066 OT1 font encoding. Also, load the aecompl package if the ae
5069 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
5071 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5073 * texrow.C (increasePos): turn two error messages into debug
5076 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
5078 * LaTeX.C (scanAux): Handle the \@input macro.
5079 (runBibTeX): Use scanAux().
5081 * language.C (latex_options_): New field.
5083 * LaTeXFeatures.C (getMacros): Add language macros.
5085 * buffer.C (makeLaTeXFile): Small fix.
5087 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5089 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
5091 * text2.C: add a using directive.
5093 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
5098 * lyxfunc.C: kill LyXBell.
5100 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
5102 * text.C (IsBoundary): Remove the error message
5104 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
5106 * lyxrc.C (setDefaults): Correct initialization value for
5109 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
5111 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
5114 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
5117 * src/LyXAction.C: Added reference-next.
5119 * text.C (InsertChar): Use contains instead of strchr.
5121 * lyx_cb.C (MenuInsertLabel): Enable default value code.
5123 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
5125 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
5126 alignment commands (when needed).
5128 * text.C (InsertChar): Add ':' to number separator chars.