1 2002-03-14 Juergen Vigna <jug@sad.it>
3 * undo_funcs.C (textHandleUndo): do the right thing when updating
4 the inset after the undo/redo.
6 * text2.C (setCursor): just some testcode for #44 not ready yet.
8 * undo_funcs.C (textHandleUndo): set the next() and previous()
9 pointers of the paragraph to 0 before deleting otherwise we have
10 problems with the Paragraph::[destructor].
12 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13 on a paragraph insertion.
15 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17 * buffer.C (asciiParagraph): use += operator for char append to
20 * paragraph.C (getFontSettings): compare >= not just >
21 (highestFontInRange): ditto
24 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
26 * paragraph.C: change several algorithm to be more appripriate for
27 the problem domain. This is lookip in FontList and in the InsetList.
29 2002-03-13 André Pönitz <poenitz@gmx.net>
32 * LyXAction.C: remove unused LFUN_MATH_MACROARG
34 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
39 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
41 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
43 * Painter.C (display): anon helper function, adjust code for this
45 (pixmap): remove function.
47 * Painter.h: remove private display variable.
49 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
51 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
53 * WorkArea.[Ch]: remove figinset_canvas cruft.
55 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
57 * lyxtextclass.C (operator): add one item cache optimization.
59 * bufferlist.h: doxy changes
61 * bufferlist.C: ws changes
63 * DepTable.[Ch] (ext_exist): place const in the right spot.
65 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
67 (workAreaExpose): call resizeInsets when the with BufferView changes.
68 (Dispatch): adjust for protectedBlank removal
69 (specialChar): call updateInset if the insert went ok.
71 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
74 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
76 * BufferView.h: doxy change
78 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
80 * lyxtextclass.C (operator[]): remove non-const version
81 (defaultLayout): remove non-const version
83 2002-03-12 Juergen Vigna <jug@sad.it>
85 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
86 did resize the LyXText too.
88 * buffer.C (readLyXformat2): set layout information on newly allocated
91 * tabular.C (OldFormatRead): set layout information on the paragraph.
93 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
95 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
97 2002-03-11 Juergen Vigna <jug@sad.it>
99 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
101 (resizeCurrentBuffer): force also the insets to resize themselfes.
102 (moveCursorUpdate): fixed up for InsetText.
104 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
107 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
108 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
109 value of Dialogs::tooltipsEnabled().
110 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
112 2002-03-08 Juergen Vigna <jug@sad.it>
114 * BufferView_pimpl.C (updateInset): update inset inside inset also
115 if it isn't inside theLockingInset().
117 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
119 * buffer.C (asciiParagraph): redo some of the word and line length
121 (getLists): look for Caption instead of caption.
123 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
125 * buffer.C (Buffer): initialize niceFile to true
128 (makeDocBookFile): make sure niceFile is true on exit
130 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
132 * buffer.C (makeLaTeXFile): escape ~ in \input@path
134 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
136 * LyXSendto.C: remove.
137 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
138 * lyx_gui.C: remove now-redundant comment.
139 * ColorHandler.h: remove forward declaration of class WorkArea.
140 * lyxfunc.C: remove #include "WorkArea.h".
142 2002-03-07 Juergen Vigna <jug@sad.it>
144 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
145 got moved away with the DEPM and also set the inset_owner always
146 right which before could have been omitted.
148 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
150 * buffer.C (parseSingleLyXformat2Token): use default layout is the
151 wanted layout is not found.
153 2002-03-07 Juergen Vigna <jug@sad.it>
155 * CutAndPaste.C (cutSelection): another layout settings forgotten.
157 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
159 * paragraph.C (breakParagraph): use default layout not layout of
161 (Paragraph): clear ParagraphParameters.
163 2002-03-06 Juergen Vigna <jug@sad.it>
165 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
166 otherwise it would not be a valid lenght. Fixed a special case in
167 the minipage compatibility read where we end the document with a
170 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
171 was set as it could be 0 for InsetTexts first entry.
173 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
175 * paragraph.C (writeFile): if layout is empty write out
178 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
179 file without named layout we set layout to defaultLayoutName().
181 2002-03-06 Juergen Vigna <jug@sad.it>
183 * CutAndPaste.C (copySelection): set layout for new paragraph.
185 * text.C (prepareToPrint): leave ERT inset left aligned
186 (leftMargin): don't indent paragraphs inside ERT insets
188 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
190 * paragraph.C (breakParagraph): dont call clear do the work manually
192 * paragraph.[Ch] (clear): remove function
194 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
196 * paragraph.C (Paragraph): dont call clear, the work has already
199 * lyxtextclass.C (operator): assert if n is empty
201 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
202 work manually instead.
204 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
206 * BufferView_pimpl.C: protect selectionLost against text == 0
208 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
210 * text.C (breakParagraph): fix a setting layout to '0' problem.
212 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
214 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
215 final location of file, for the included files, and graphics.
217 2002-03-05 Juergen Vigna <jug@sad.it>
219 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
221 2002-03-04 Juergen Vigna <jug@sad.it>
223 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
225 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
226 last column of multicolumn cells.
227 (SetWidthOfMulticolCell): recalculate NMC and real columns.
229 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
231 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
232 file if it doesn't go to a temporary file.
234 * buffer.C (sgmlOpenTag):
235 (sgmlCloseTag): remove extra newline insertion.
237 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
239 * text.C (getRowNearY): comment out debug msg
241 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
243 * text2.C: first -> first_y
245 * text.C (getRowNearY): add some attemts at a possible
246 optimization, not working.
248 * tabular.[Ch]: add BufferParams to several function so that newly
249 created paragraph can be initialized to he default layotu for the
252 * tabular-old.C (ReadOld): add buf->params to call of Init
254 * screen.C: rename text->first to text->first_y
256 * paragraph.C (breakParagraph): always set layout in the broken
259 * lyxtextclass.C (Read): remove lowercase
262 (delete_layout): ditto
264 * lyxtext.h: rename first -> first_y
266 * lyxlayout.C (Read): remove lowercase
269 (obsoleted_by): ditto
271 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
273 * buffer.C (insertErtContents): add params are to InsetERT
274 (parseSingleLyXformat2Token): add code to check if a paragraphs
276 (parseSingleLyXformat2Token): add params to several inset
278 (asciiParagraph): remove lowercase, do the layout comparisons with
281 * BufferView_pimpl.C (cursorNext): first -> first_y
282 (resizeCurrentBuffer): first -> first_y
283 (updateScrollbar): first -> first_y
284 (scrollCB): first -> first_y
285 (workAreaMotionNotify): first -> first_y
286 (workAreaButtonPress): first -> first_y
287 (checkInsetHit): first -> first_y
288 (cursorPrevious): first -> first_y
289 (cursorNext): first -> first_y
290 (Dispatch): add buffer_->params to severl inset contructors
292 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
294 * lyxlayout.C (Read): remove some debug info that I forgot.
296 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
297 clean up the code slightly.
298 (makeLinuxDocFile): ditto
299 (makeDocBookFile): ditto
301 * text2.C: layout as string
303 * text.C: layout as string
305 * paragraph_pimpl.C: layout as string
307 * paragraph.[Ch]: layout as string
309 * lyxtextclasslist.[Ch]: layout as string
311 * lyxtextclass.[Ch]: layout as string
313 * lyxtext.h: layout as string
315 * lyxlayout.[Ch]: layout as string
317 * lyx_cb.C: layout as string
319 * bufferview_funcs.C: layout as string
321 * bufferparams.C: layout as string
323 * buffer.C: layout as string
325 * LyXView.[Ch]: layout as string
327 * LaTeXFeatures.[Ch]: layout as string
329 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
331 * BufferView_pimpl.C: change current_layout to string, remove
336 (workAreaButtonRelease): layout as string
338 * BufferView2.C (unlockInset): adjust
340 * vspace.C (asLatexCommand): use an explict temp variable.
342 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
344 * Makefile.am: use FRONTEND_*
346 2002-03-01 Juergen Vigna <jug@sad.it>
348 * tabular.C (SetWidthOfMulticolCell): changed to something better
349 I hope but still work in progress.
350 (recalculateMulticolumnsOfColumn): renamed function from
351 recalculateMulticolCells as it is more appropriate now.
352 (SetWidthOfCell): calculate multicols better.
354 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
356 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
358 * lyxfunc.C (processKeySym): print sequence also if it is
361 * kbsequence.C (print): print sequence even if it is deleted
362 (complete would be a better word, actually).
364 * lyxfunc.C (dispatch): print complete options after a prefix key
366 * vspace.C (asLatexCommand): rewrite in a slightly different form.
368 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
370 * text2.C (setCharFont): eliminate setCharFont code duplication.
372 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
374 * BufferView_pimpl.C (Dispatch): remove bogus handling of
375 LFUN_TABULAR_FEATURE (bug #177)
377 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
379 * Makefile.am: remove figure.h
381 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
383 * Bufferview_pimpl.C:
395 * text2.C: remove #include "lyx_gui_misc.h".
397 * LaTeX.C: added #include <cstdio>
399 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
401 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
402 that the paragraph following this one can have.
404 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
406 * vspace.C (asLatexCommand): fix bogus gcc warning
408 * Makefile.am (lyx_SOURCES): remove vms_defines.h
410 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
412 * text2.C (setLayout): get rid of redundant code
414 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
416 * text2.C (incDepth): make sure depth cannot be increased beyond
419 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
421 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
422 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
424 * PainterBase.h (image):
425 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
428 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
432 * BufferView_pimpl.C:
433 * BufferView_pimpl.h:
453 * sp_spell.C: remove fig inset, and the crap house of
454 cards that follows it
456 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
462 * nt_defines.h: move .h into support/
464 * vms_defines.h: remove
466 * WorkArea.C: add space in debug output
470 * buffer.C: add WITH_WARNINGS
474 * bufferlist.C: s/retrive/retrieve/, add docs
485 * lyxgui.C: add ID to X error handler
487 * lyxtestclass.c: fix typo
489 2002-02-26 Juergen Vigna <jug@sad.it>
491 * tabular_funcs.C (write_attribute): changed so that some default
492 attributes are not written at all.
493 (getTokenValue): set default values before trying to read the
494 value so we have the return value always set as default if we don't
495 find the token we search for.
497 * tabular.C (Write): write bools as bools not as strings!
499 2002-02-22 Juergen Vigna <jug@sad.it>
501 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
502 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
504 * text.C (leftMargin): don't add an indent for paragraphs inside
505 tabular cells (fix #208).
507 2002-02-21 José Matos <jamatos@fep.up.pt>
509 * tabular.C (docBook): fixed support for long tables.
511 2002-02-20 Juergen Vigna <jug@sad.it>
513 * text2.C (getFont): get the drawing font of the Inset if this
514 paragraph is inside an inset (only important for InsetERT for now).
516 * buffer.C (insertErtContents): use new lanugage params in ERT
519 * CutAndPaste.C: commenting out seemingly uneeded code.
521 2002-02-19 Allan Rae <rae@lyx.org>
523 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
524 Iterators might be simple to use but they also get invalidated.
525 (removeAutoInsets): renamed saved cursor tracking variables and added
526 some comments to clarify what everything does.
528 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
535 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
536 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
539 * vc-backend.h: remove #include "support/syscall.h"
543 * converter.C: rearrange #includes in Lars' approved fashion.
545 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
546 forward declare class Timeout in the header file.
548 * XFormsView.C: changes due to the above.
550 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
553 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
554 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
556 2002-02-18 José Matos <jamatos@fep.up.pt>
558 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
561 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
563 * a lot of small ws changes
564 * add a lot of using std::XXX
565 * use std construcs some places where approp.
566 * use some exisint stuff from lyxfunctional where approp.
567 * Make file changes to use partial linking (lets test this now...)
569 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
573 remove #include "support/syscontr.h" as it's redundant. Always has been.
581 change Systemcalls::System to Systemcalls::Wait and
582 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
583 No change of functionality, just reflects the stripped down Systemcalls
586 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
588 * debug.[Ch]: add a GRAPHICS type to the enum.
590 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
592 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
594 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
597 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
599 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
600 match the changes below.
602 * text2.C (toggleInset): if there is not editable inset at cursor
603 position, try to see if cursor is _inside_ a collapsable inset
606 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
608 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
609 document menu has a nice checkbox
611 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
613 * lyxlength.C (asLatexString): change PW to output as percent of
616 * lengthcommon.C: change '%' to 't%'
618 * lyxfunc.C (dispatch): a few comments from Martin
620 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
624 * BufferView_pimpl.h:
625 * BufferView_pimpl.C: clear our selection when X tells us we've lost
628 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
630 * vspace.C (inPixels): fix compiler warning
632 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
634 * lyxfunc.C (getStatus): fix status message for disabled commands.
636 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
638 * BufferView_pimpl.C: fix crash on close buffer
639 during selection (#227)
641 2002-01-27 Herbert Voss <voss@lyx.org>
643 * buffer.C: link old Figure to new graphic inset
645 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
647 * FontLoader.C (getFontinfo): Change the latex font names in order
648 to match the names of type1inst.
650 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
652 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
654 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
657 (remove_files_with_extension): ditto
661 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
662 document is smaller than the work area height. Do not initialize
663 static variables to 0.
665 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
667 * lyx_gui.C (init): give the toolbar tooltips a normal font.
669 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
670 LFUN_LAYOUT_PARAGRAPHS.
672 * tabular.C (GetCellFromInset): new method. Finds an inset in a
673 tabular. It is possible to provide a possible cell, which will
674 typically be the actcell from the corresponding insettabular
676 * lyxfunc.C (getStatus): small cleanup; disable
677 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
680 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
682 * tabular.C (Validate): remove broken optimization (fixes bug #201)
684 * paragraph.C (startTeXParParams):
685 (endTeXParParams): new methods. The LaTeX code to
686 start/end paragraph formatting
687 (simpleTeXOnePar): call startTeXParParams also when paragraph is
688 empty (fixes bug #200)
690 * vspace.C (inPixels): adapt to the change below
691 (inPixels): [later] more cleanups (remove unused variables)
693 * lyxlength.C (inPixels): change to use a width and a height as
696 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
698 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
699 Replaced with \paperwidth
701 * DepTable.C (insert): add std:: qualifier
703 2002-01-18 Allan Rae <rae@lyx.org>
705 * text2.C (removeRow): add comment. Should other refresh_?? vars be
708 * text.C (drawInset): Turned out I didn't know enough about how
709 rebreaking worked. This fixes most of the redraw problems. I see
710 an occasional cursor trail when a line is broken now and the cursor
711 placement can seem out by a few pixels also after a rebreak.
713 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
715 * buffer.C (parseSingleLyXformat2Token): update because minipage
716 width is now a LyXLength
718 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
720 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
723 2002-01-17 Juergen Vigna <jug@sad.it>
725 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
727 * BufferView2.C (lockInset): call edit() so that theLockingInset()
728 is set correctly and the inset is updated correctly.
730 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
732 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
733 the beginning of the loop.
735 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
737 * lyxrc.C: improve help for use_scalable_fonts
739 2002-01-17 Allan Rae <rae@lyx.org>
741 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
743 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
745 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
746 make sure to set their inset_owner to the right value (bug #171)
748 2001-12-12 Ben Stanley <bds02@uow.edu.au>
751 * DepTable.C: Implement mtime checking to reduce time spent doing
754 2002-01-16 Juergen Vigna <jug@sad.it>
756 * tabular.C (GetAdditionalHeight): one of error fixed.
758 * lyxrc.C (output): small fix in writing use_pspell.
760 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
762 * sp_base.h: #include LString.h
764 2002-01-16 Allan Rae <rae@lyx.org>
766 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
767 Can someone check this please?
769 * text.C (drawInset): It was possible that p.row would be removed by
770 breakAgainOneRow upsetting a few other settings. There may be another
771 small tweak possible by setting need_break_row = 0 when p.row has been
772 removed but I don't know enough about the logic here.
774 2002-01-15 Allan Rae <rae@lyx.org>
776 * text.C (insertChar): removed conditional truism.
778 * BufferView2.C (removeAutoInsets): More tweaks.
779 cur_par_prev could be a stray pointer. Check for trailing empty line
780 in case last line was cur_par and only had an error inset on it.
782 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
784 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
787 * vc-backend.C (most methods):
788 * exporter.C (Export):
789 * converter.C (convert):
791 * LyXSendto.C (SendtoApplyCB):
792 * lyxfunc.C (dispatch):
796 * lyx_cb.C (AutoSave):
798 * BufferView_pimpl.C (MenuInsertLyXFile):
799 * buffer.C (runChktex): use Buffer::filePath().
801 * buffer.h: rename filename to filename_; rename filepath to
802 filepath_ and make it private
803 (filePath): new method
805 * buffer.C (writeFile): use fileName()
808 * lyx_main.C (init): fix starting of LyX when the binary is a
809 link from so,ewhere else.
811 * minibuffer.C: include <cctype> for isprint
813 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
815 * buffer.C (parseSingleLyXformat2Token): changes associated with the
816 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
817 name clash with InsetCollapsable's width function.
819 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
821 * lastfiles.C: include <iterator>
823 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
825 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
828 * buffer.C (makeLaTeXFile): ditto.
829 Also make loop operation more transparent.
831 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
833 * ToolbarDefaults.C: remove trailing comma closing namespace.
835 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
837 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
840 * trans.C (Load): comment out unused variable, allowed.
842 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
844 * minibuffer.[Ch] (append_char): new method to recieve input from the
845 drop-down completion browser. If a key was pressed, then recieve this
846 char and append it to the existing string.
847 (peek_event): modify the positioning data passed to the completion
848 browser so that it can be placed above the minibuffer rather than below.
849 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
851 * LyXAction.C (init): alloe error-next for readonly documents.
853 * BufferView2.C (ChangeRefsIfUnique): use standard version of
856 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
858 * bufferlist.C (readFile): create the buffer _after_ checking that
861 * lyxfunc.C (verboseDispatch): fix handling of arguments
863 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
865 * lyxrc.C: use string::erase() instead of initializing to "".
868 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
870 * BufferView_pimpl.h:
871 * BufferView_pimpl.C:
874 * text2.C: tell X when we have made a selection for copying
876 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
878 * BufferView_pimpl.C (MenuInsertLyXFile):
879 * lyxfunc.C (menuNew):
881 (doImport): add shortcuts to directory buttons
883 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
886 * lyxfunc.C (setStatusMessage):
887 (getStatusMessage): new methods
888 (getStatus):use setStatusMessage instead of setErrorMessage
889 (dispatch): when function is disabled, set error message here
890 [instead of in getStatus previously]
892 * BufferView_pimpl.C (workAreaButtonRelease): update
893 toolbar/menubar here too.
895 2002-01-13 Allan Rae <rae@lyx.org>
897 * BufferView2.C (removeAutoInsets): finished off earlier fix.
898 Now seems indestructible. Remaining task is to audit all other
899 code affected by deleteEmptyParagraphMechanism. One small quirk
900 left is that an empty document with an error in the preamble can
901 be made to report an error but no error box appears. I don't know
903 (removeAutoInsets): Improved comments.
905 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
908 * Thesaurus.C: update for Aiksaurus 0.14
910 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
912 * text2.C (firstParagraph): removed member function, all uses
913 replaces with ownerParagraph
914 (redoParagraphs): here
916 (toggleAppendix): here
917 * BufferView2.C (insertErrors): here
918 (setCursorFromRow): here
920 2002-01-13 Allan Rae <rae@lyx.org>
922 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
923 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
924 There is still a way to segfault this although you may have to do this
925 multiple times: Have an InsetERT with an unknown command in it.
926 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
927 <down-arrow>, <Enter> again, View->DVI, BANG!
929 * text2.C (setCursor):
930 (deleteEmptyParagraphMechanism):
931 * lyxtext.h (setCursor):
932 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
933 Making use of the return value may help fix other bugs.
935 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
937 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
939 * LyXView.C (updateMenubar): call MenuBar::update here
940 (updateToolbar): but not here
941 (showState): do not update toolbar/menubar
943 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
944 should need to care about that.
946 * lyxfunc.C (verboseDispatch): simplify a bit
947 (getStatus): have a version which takes a pseudoaction, and
948 another which requires a (kb_action,string).
950 * LyXAction.C (retrieveActionArg): make it work also when action
951 is not a pseudo-action.
952 (getActionName): simplify a bit
955 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
957 * lyxfunc.C (verboseDispatch): new families of methods with
958 several ways to specify a command and a bool to indicate whether
959 the command name and shortcut should be displayed in minibuffer
960 (eventually, we could extend that to a finer bitmask like
961 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
962 (dispatch): the pristine dispatch command which just, well,
963 dispatchs! Note it still sets its result to minibuffer; I'm not
966 * lyxfunc.h: remove setHintMessage
968 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
970 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
972 * BufferView_pimpl.C (specialChar): delete new inset if we have
973 not been able to insert it.
975 * kbmap.C: revert to using int instead of kb_action, since all we
976 are dealing with is pseudo-actions.
978 * LyXAction.C (searchActionArg): change to return int instead of
979 kb_action, since the result is a pseudoaction.
981 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
983 * buffer.C (insertErtContents): Fix (partially) the font bug.
985 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
987 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
988 as the other one is broken on my machine!
990 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
993 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
995 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
997 * lyxrc.[Ch]: change names and descriptions of popup font variables to
998 reflect their actual use. Provide compatibility code for older lyxrc
1001 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
1003 change names of popup font variables in line with the changes to lyxrc.C
1005 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1007 * buffer.C (asciiParagraph): avoid outputing a word twice after
1010 * lyxrc.C (getDescription): document that document_path and
1011 template_path can be empty.
1013 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1015 * LaTeXFeatures.C (getMacros):
1016 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
1018 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
1020 * LaTeXFeatures.C (useFloat): require "float" here instead of in
1022 (getPackages): rename feature "floats" to "float". Use an array to
1023 iterate over 'simple' features (i.e. just a \usepackage). Add
1024 handling of "amsmath" (renamed from "amsstyle").
1026 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
1028 * LaTeXFeatures.C (require): Prevent duplicate entries in the
1031 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
1033 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
1034 FuncStaus::FuncStatus & FuncStaus::some_method().
1036 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
1038 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
1039 of the func_satus stuff. Edited and massaged in various ways by
1042 * lyxfunc.C (getStatus): use FuncStatus
1044 2002-01-08 Juergen Vigna <jug@sad.it>
1046 * text.C (nextBreakPoint): use function Inset::isChar().
1048 * paragraph.C (TeXOnePar): use function
1049 Inset::forceDefaultParagraphs.
1051 * buffer.C (latexParagraphs): use function
1052 Inset::forceDefaultParagraphs.
1054 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1056 * lyx_gui.C (init): set the style of the menu popups to
1057 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
1059 2002-01-07 Juergen Vigna <jug@sad.it>
1061 * text.C (setHeightOfRow): small fix
1062 (prepareToPrint): don't look at alignment if we don't have the place
1065 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1067 * box.C: New file. Move the Box methods and functions out of box.h,
1068 following Lars' suggestion.
1070 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1072 * box.h: #include "support/LOstream.h", needed for inlined function.
1075 * lyxtextclasslist.C: added some using std declarations.
1077 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
1079 * box.h: make signed dimensions to allow insets wider than
1080 the screen (bug #162)
1082 * BufferView_pimpl.C: add some insetHit debug
1084 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1086 * vc-backend.C: add FIXME
1088 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1090 * lyxfunc.C (getStatus): enable code for showing math font status
1093 2002-01-07 Juergen Vigna <jug@sad.it>
1095 * text.C (nextBreakPoint): removed debug output not needed anymore.
1097 2002-01-06 Juergen Vigna <jug@sad.it>
1099 * text.C (nextBreakPoint): fixed up this function we had this bug
1100 since ever but now hopefully we break row better.
1101 (insertChar): we have to check if an inset is the next char as it
1102 could now happen that a large inset is causing a break.
1104 2002-01-05 Juergen Vigna <jug@sad.it>
1106 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
1107 if it doesn't like to be drawed.
1109 2002-01-04 Juergen Vigna <jug@sad.it>
1111 * BufferView2.C (lockInset): forgot to set a cursor.
1113 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
1115 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
1120 * form_maths_panel.C:
1121 * form_maths_panel.h:
1122 * form_maths_panel.fd: implemented sub- and super- buttons in math
1125 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
1126 (or ^ space) to be used as in TeX (req'd by André).
1128 * lyxfunc.C: Allow ^ and _ again to be used both as
1129 super/subscript (mathed) and as themselves (in text).
1131 2002-01-03 Allan Rae <rae@lyx.org>
1133 * LyXView.C (updateWindowTitle): Setup a short icon title of either
1134 "LyX" or the filename of the current buffer if it has one. This is a
1135 modified form of John Levon's patch.
1137 * XFormsView.C (setWindowTitle): also set icon title.
1139 * LyXView.h (setWindowTitle): signature changed.
1140 * XFormsView.h (setWindowTitle): ditto.
1142 2002-01-02 Juergen Vigna <jug@sad.it>
1144 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
1146 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1148 * screen.C (topCursorVisible): introduce a temp var for
1149 text->cursor.row(), handle the case where this row is null. (kindo
1152 * text2.C (setCursor): add a couple of asserts.
1154 * paragraph.h (inset_iterator): add -> operator
1156 * paragraph.[Ch] (autoDeleteInsets): remove member function
1158 * BufferView2.C (removeAutoInsets): rewrite to handle the old
1159 cursor pos correctly and handle inset deletion by itself.
1160 (insertErrors): move iterator declaration out of for expression
1162 * lyxtextclass.C: add <algorithm>
1164 * Makefile.am: added the new files to sources, removed layout.C
1166 * layout.C: removed file
1168 * layout.h: remove LYX_DUMMY_LAYOUT
1170 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
1174 * lyxtextclass.[Ch]:
1175 * lyxtextclasslist.[Ch]: new files
1177 * include order changes to a lot of files, also changes because of
1180 2001-12-27 Juergen Vigna <jug@sad.it>
1182 * buffer.C (asciiParagraph): more fixes.
1184 * tabular.C (ascii): make ascii export support export of only the
1185 data separated by a column-delimiter.
1186 (ascii): better support for ascii export.
1188 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
1190 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1192 * tabular_funcs.C: use a "using std::getline" instead of the
1193 previous fix from Angus (necessary for cxx + lyxstring)
1195 2001-12-24 Juergen Vigna <jug@sad.it>
1197 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
1199 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
1200 problems. First check a minipage also if we have some ert-contents
1201 (not only on par->size(), second set the right depth of the paragraph
1202 on the relink to the root-paragraph-list!
1204 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
1205 which then did not anymore update the main paragraphs on undo/redo!
1207 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1209 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
1210 code. Support all font-changing funcs (even those which are not in
1211 menu currently). Support for reporting font settings in
1212 mathed (disabled until Andre provides a function on mathed's side).
1214 * func_status.h (toggle): small helper function to set toggle
1217 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
1219 * tabular_funcs.C: getline -> std::getline
1221 2001-12-21 Juergen Vigna <jug@sad.it>
1223 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
1224 accessed and could be 0 (I couldn't generate this but it seems
1227 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1229 * tabular_funcs.C: add LIstream.h, move write_attribute to..
1230 * tabular_funcs.h: here and include iosfwd
1232 2001-12-20 Juergen Vigna <jug@sad.it>
1234 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
1235 inside inset but undo_par was.
1237 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1239 * Thesaurus.C: always include <config.h> in sources.
1243 * box.h: do not include <config.h> in header files
1245 * text.C (paintLastRow): remove unused variable
1247 * text.C (transformChar):
1249 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
1252 * font.C (width): rewrite to use uppercase() instead of
1255 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
1257 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
1259 * lyxfind.C: clean up of find failure position change
1261 2001-12-20 Juergen Vigna <jug@sad.it>
1263 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
1265 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
1266 (TeXRow): added to LaTeX a single tabular row.
1267 (TeXLongtableHeaderFooter): added to output LT-h/f data.
1268 (Latex): simplified and finally good LT-h/f support.
1269 (various_functions): just small adaptions for LT-h/f support.
1271 * tabular_funcs.[hC]: added and moved here all not classfunctions
1274 2001-12-19 Juergen Vigna <jug@sad.it>
1276 * tabular.[Ch]: better support for longtabular options (not finished
1279 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1281 * text.C (paintLastRow): use the label font instead of the font of
1282 the last character to compute the size of *_BOX. This makes more
1283 sense and avoids a crash with empty paragraphs.
1284 Use Painter::rectangle to draw EMPTY_BOX.
1286 2001-12-19 Juergen Vigna <jug@sad.it>
1288 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
1289 the paragraphs if the replaced paragraph is not the first one!
1290 Tried to delete not used paragraphs but does not work yet so for
1291 now it's inside #ifdef's and by default off!
1293 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1295 * MenuBackend.C: include "lyx_main.h" instead of declaring
1296 lastfiles (actually was declared as LastFiles* instead of a
1299 2001-12-17 Juergen Vigna <jug@sad.it>
1301 * tabular.C (AppendColumn): applied John's fix
1303 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
1307 * BufferView_pimpl.h:
1308 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
1311 * box.h: new start of class for above
1313 * lyxfunc.C: ignore space-only minibuffer dispatches.
1314 Show the command name when it doesn't exist
1316 * minibuffer.C: don't add empty lines to the history
1318 * minibuffer.C: add a space on dropdown completion
1320 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
1322 * text.C: fix line above/below drawing in insets
1324 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
1326 * lyxlength.C (LyXLength): Initialize private variables.
1328 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
1330 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
1331 when inserting error insets.
1333 2001-12-13 Juergen Vigna <jug@sad.it>
1335 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
1336 actually sometimes the before-paragraph.
1337 (setUndo): don't clear the redostack if we're not actually undoing!
1339 2001-12-06 Juergen Vigna <jug@sad.it>
1341 * undo_funcs.C (textHandleUndo): well after John's hint I got here
1342 and fixed redoing of main paragraph, so we can use it now ;)
1344 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
1346 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1348 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
1351 2001-12-13 André Pönitz <poenitz@gmx.net>
1354 * undo_func.C: minor cleanup
1356 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1358 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
1359 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
1360 font in urw-fonts package which is marked as -urw-fontspecific and
1361 does not work (incidentally, changing the encoding in the
1362 fonts.dir of this package to -adobe-fontspecific fixes the
1365 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
1366 is a crash when undoing first paragraph (Juergen, please take a
1367 look). THis does not mean the undo fix is wrong, just that it
1370 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
1371 the (Paragraph*) version when needed instead of duplicating the
1374 * text.C (workWidth): use Inset::parOwner to find out where the
1375 inset has been inserted. This is a huge performance gain for large
1376 documents with lots of insets. If Inset::parOwner is not set, fall
1377 back on the brute force method
1379 * paragraph_pimpl.C (insertInset):
1380 * paragraph.C (Paragraph):
1381 (cutIntoMinibuffer): set parOwner of insets when
1382 inserting/removing them
1384 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
1386 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
1392 * mathed/formulabase.C:
1393 * mathed/math_cursor.[Ch]:
1394 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
1397 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1399 * lyxlength.[Ch] (operator!=): new function
1401 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1403 * text.C (workWidth): use Inset::parOwner to find out where the
1404 inset has been inserted. This is a huge performance gain for large
1405 documents with lots of insets. If Inset::parOwner is not set, fall
1406 back on the brute force method
1408 * paragraph_pimpl.C (insertInset):
1409 * paragraph.C (Paragraph):
1410 (cutIntoMinibuffer): set parOwner of insets when
1411 inserting/removing them
1413 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
1415 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1417 * tabular-old.C (getTokenValue):
1418 * tabular.C (getTokenValue):
1419 (write_attribute): new versions for LyXLength
1420 (everywhere): adjust the use of widths
1422 * tabular.h: change the type of widths from string to LyXLength
1424 2001-12-11 Ben Stanley <bds02@uow.edu.au>
1426 * paragraph.C: fixed missing line number count when exporting
1427 Environments to LaTeX file
1429 * buffer.C: added informational message for checking line numbers.
1431 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1433 * text2.C (deleteEmptyParagraphMechanism): if there is only one
1434 paragraph, do the 'double space' part, but not the 'empty
1437 * text.C (workWidth): small optimization
1438 (getLengthMarkerHeight): use minimal size for negative lengths.
1440 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
1442 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
1444 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
1446 2001-12-11 André Pönitz <poenitz@gmx.net>
1449 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
1451 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1453 * text2.C: keep selection on a setFont()
1455 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1457 * lyx_cb.C: another bv->text misuse, from insert label
1459 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
1462 * kbsequence.C: re-instate nmodifier mask
1464 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
1466 * lyx_main.h: make lyxGUI private.
1468 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1470 * lyxfind.C: place the cursor correctly on failed search
1472 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1474 * text.C (getLengthMarkerHeight): for small heights, the arrows
1475 are not always on top/bottom of the text
1476 (drawLengthMarker): smaller arrows; take the left margin in
1477 account; draw also vfills.
1479 (paintLastRow): remove special code for vfill and standard spaces,
1480 since everything is handled in drawLengthMarker now.
1482 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1484 * buffer.C (insertErtContents): try to handle font and language
1485 interaction a bit better.g
1487 * ColorHandler.C (updateColor): change the hash to cover the whole
1488 LColor enum, ws cleanup
1489 (getGCLinepars): ditto
1490 (getGCLinepars): only lookup in the linecache once.
1492 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
1494 * iterators.C (operator++): Make the iterator more robust
1496 * BufferView2.C (removeAutoInsets): Use paragraph iterators
1498 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
1500 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1503 * text.C: better added space drawing
1505 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1508 * BufferView2.C: fix layout combo update on inset unlock
1510 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1512 * Makefile.am: don't compile unused files
1514 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1518 * LyXAction.C: remove old LFUN_LAYOUTNO
1520 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1522 * paragraph_pimpl.h:
1523 * paragraph_pimpl.C: isTextAt() doesn't need font param
1525 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1528 * lyxlex.C: little cleanup
1530 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1532 * BufferView_pimpl.C: fix insertAscii for insets
1534 2001-12-05 Juergen Vigna <jug@sad.it>
1536 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
1537 set the right font on the "multi" paragraph paste!
1539 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1545 * lyxlength.C: remove out-commented code.
1561 * vc-backend.C: change "while(" to "while ("
1563 * lyxlength.[Ch]: add zero function to check if length is zero or
1565 * lyxgluelength.C: use it
1567 2001-12-05 Allan Rae <rae@lyx.org>
1569 * lyxlength.C: Attempted a fix for the abs(int) header selection.
1570 Works for 2.95.3, from what I understand of Garst's reports this should
1571 work for other g++ versions. We're screwed if the abs(int) definition
1572 changed between bugfix releases of gcc.
1574 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
1576 * text.C: fix chapter label offset !
1578 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
1581 * text.C: fix hfill at end of line, clean up
1583 2001-12-04 Juergen Vigna <jug@sad.it>
1585 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
1586 that we force an update of the inset and it's owners if neccessary.
1588 2001-12-03 Juergen Vigna <jug@sad.it>
1590 * text.C (rowLast): simplified code
1592 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
1594 * lyxfunc.C: fix show options on timeout
1596 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1598 * screen.C (topCursorVisible): scroll half a page when the cursor
1599 reached top of bottom of screen
1601 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
1603 * minibuffer.C: deactivate on loss of focus
1605 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1607 * vspace.[Ch] (operator!=): add operator.
1609 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1611 * BufferView_pimpl.C: refuse to open an inset when
1612 there's a selection.
1614 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
1616 * BufferView_pimpl.C: allow to click on RHS of full row insets
1618 2001-11-30 Juergen Vigna <jug@sad.it>
1620 * tabular.C (LyXTabular): add a same_id to set the same id's in the
1621 insets for undo reasons.
1623 2001-11-28 André Pönitz <poenitz@gmx.net>
1625 * vspace.[Ch]: cosmetical changes
1627 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1637 * kbsequence.C: part re-write of old kb code
1640 * WorkArea.C: remove Lgb_bug_find_hack
1642 2001-11-30 José Matos <jamatos@fep.up.pt>
1644 * buffer.C (makeDocBookFile): add a comment to point a hack.
1645 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
1646 Fixed a double write of labels.
1648 2001-11-29 Ben Stanley <bds02@uow.edu.au>
1651 * LaTeX.h Fixed bug in LaTeX class where it would not
1652 re-run latex if no depfiles were changed, but the .dvi was removed.
1654 2001-11-28 André Pönitz <poenitz@gmx.net>
1656 * all the files from the change on 2001/11/26:
1657 use lyx::layout_type instead of LyXTextClass::size_type
1658 use lyx::textclass_type instead of LyXTextClassList::size_type
1660 2001-11-29 Juergen Vigna <jug@sad.it>
1662 * text.C: added support for paragraph::isFreeSpacing()
1664 * buffer.C: same as above
1666 * paragraph.h: inserted isFreeSpacing() function to enable
1667 FreeSpacing inside InsetERT.
1669 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
1670 of the paragraph's in the cut/copy buffer to 0!
1672 * text2.C (removeRow): remove the assert as it can!
1674 * lyxtext.h: added helper function firstRow returning firstrow and
1675 made firstrow private again.
1677 * BufferView2.C (lockInset): don't relock if we're already locked!
1679 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
1681 (removeRow): added Assert::(firstrow)
1683 * debug.C: forgot to add INSETTEXT here.
1685 2001-11-28 Juergen Vigna <jug@sad.it>
1687 * sp_spell.C (initialize): changed error text to more general
1688 spellchecker command use (not only ispell!)
1690 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
1692 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
1694 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1696 * vspace.C: initialise lyxgluelength on failure
1698 2001-11-28 Allan Rae <rae@lyx.org>
1700 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
1701 declaration & definition that looks like a function declaration.
1703 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1705 * BufferView2.C (copy):
1706 (copyEnvironment): do not clear the selection when doing a copy.
1708 * text.C (paintFirstRow): compilation fix
1710 2001-11-27 Ben Stanley <bds02@uow.edu.au>
1712 * tabular.C (Latex): correct line count when writing latex.
1714 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
1716 * paragraph_pimpl.h:
1717 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
1720 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1724 * LColor.C: change vfillline->added_space
1726 * text.C: add markers and text for added space
1728 * vspace.C: fix comment
1730 2001-11-28 André Pönitz <poenitz@gmx.net>
1732 * paragraph.C: whitespace changes
1733 * all the other files from the change on 2001/11/26:
1734 change *::pos_type into lyx::pos_type
1736 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
1738 * buffer.C (parseSingleLyXformat2Token): Set the language to the
1739 language of the document when inserting error insets.
1741 2001-11-26 André Pönitz <poenitz@gmx.net>
1743 * BufferView_pimpl.[Ch]:
1751 * paragraph_pimpl.[Ch]:
1754 * text2.C: reduce header dependencies, introduce type for positions
1756 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1758 * <various>: change to use Alert.h
1760 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
1762 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
1763 when encountering an unknown token.
1764 (readLyXformat2): Show an error message if there were unknown tokens.
1766 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
1769 * BufferView_pimpl.C:
1773 * text2.C: use par->isInset()
1775 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1777 * paragraph_pimpl.h:
1778 * paragraph_pimpl.C: cleanup
1780 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1782 * text2.C (removeRow):
1783 * text.C (setHeightOfRow): remove useless (and costly) call to
1786 2001-11-20 Allan Rae <rae@lyx.org>
1788 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
1789 Now need Inset*::checkInsertChar() to return true for appropriate
1790 cases so that the characters in the minibuffer will actually be
1793 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
1795 * text.C: change the order of the includes.
1796 (workWidth): initialize it at once.
1797 (workWidth): make maxw unsigned
1798 (setHeightOfRow): remove unused variable (inset)
1799 (selectSelectedWord): remove unused variable (inset)
1800 (paintRowText): fix drawing of hfill characters, and clean up a bit.
1802 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1804 * lyxserver.C (emergencyCleanup): do not try to close pipes if
1805 server is not running.
1807 (closeConnection): add debug info when server is disabled.
1809 * ColorHandler.C (getGCForeground): send debug message to GUI
1812 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
1814 * kbmap.C (bind): modify because return conventions of
1815 kb_sequence::parse have changed.
1817 * kbsequence.C (parse): only ignore spaces and not any stupid
1818 control character. This avoids tests like s[i] <= ' ', which are
1819 guaranteed to fail with 8bit characters and signed chars.
1820 Change return code to string::npos when there have been no error
1821 (0 was a bad idea when error is at first character)
1823 2001-11-14 José Matos <jamatos@fep.up.pt>
1826 * buffer.C (simpleDocBookOnePar): removed unused argument.
1828 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1830 * text.C (selectNextWordToSpellcheck): do not test explicitely for
1831 insets which are part of a word. Paragraph::isLetter takes care of
1832 that now. Use Paragraph::isInset to identify insets.
1833 (selectSelectedWord): do not test for hyphenation break.
1835 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
1836 that protected spaces are considered as spaces.
1838 * paragraph.C (isLetter): cleanup the code for ispell extras; use
1841 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
1844 * lyxserver.C: fix it. and small cleanup.
1846 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
1848 * BufferView_pimpl.C: use inline helpers
1851 * LaTeXFeatures.C: fix typos
1854 * Spacing.C: move spacing_string into class
1856 * ToolbarDefaults.C: move stuff into namespace anon
1858 * layout.h: update enum
1860 * lyxfunc.C: use better debug
1862 * minibuffer.h: fix typo
1866 * WorkArea.C: add and use Debug::WORKAREA
1870 * text2.C: code re-organisation, inline helpers
1872 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
1874 * Layout.C: replaced a few cases of std::vector.size() == 0 with
1875 std::vector.empty().
1877 2001-11-09 Allan Rae <rae@lyx.org>
1879 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
1880 '\n's after tables. Tabular and ERT inset work now makes this no
1883 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
1886 * minibuffer.C: fix crash, improve drop-down completion
1888 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
1891 * lyxserver.C: invalidate fd's when doing endPipe()
1893 2001-11-08 José Matos <jamatos@fep.up.pt>
1895 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
1896 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
1899 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
1901 2001-11-07 José Matos <jamatos@fep.up.pt>
1904 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
1907 * buffer.C (sgmlOpenTag):
1908 * buffer.C (sgmlCloseTag): removed debug info.
1910 * buffer.h (sgmlOpenTag):
1911 * buffer.h (sgmlCloseTag): made public.
1913 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1915 * buffer.C (saveParamsAsDefaults):
1916 * lyx_cb.C (MenuLayoutSave): remove
1918 * LyXAction.C (init):
1920 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
1922 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1924 * buffer.C (setPaperStuff): removed from here...
1926 * bufferparams.C (setPaperStuff): ... and moved there.
1928 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
1932 * XFormsView.C: add support for drop-down completion
1934 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
1936 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
1939 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1941 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
1944 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
1946 * lyx_main.C: change ref to known bugs
1948 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
1950 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
1951 to work around older babel problems.
1953 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1955 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
1957 2001-10-24 Juergen Vigna <jug@sad.it>
1959 * tabular-old.C (ReadOld): below variable changes reflected.
1961 * tabular.[Ch]: added ltType struct for longtable header/footer
1962 defines and changed all instances where they are used. Added
1963 future support for double top/bottom rows.
1965 2001-10-24 José Matos <jamatos@fep.up.pt>
1967 * buffer.h (docbookHandleCaption):
1968 * buffer.C (docbookHandleCaption): removed unused function.
1969 (makeDocBookFile): moved docbook supported version to v4.1.
1971 2001-10-24 José Matos <jamatos@fep.up.pt>
1974 * tabular.C (docbookRow): new function to export docbook code of a row.
1975 (DocBook): now honors the longtable flags.
1977 2001-10-23 José Matos <jamatos@fep.up.pt>
1980 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
1981 of the lyx defined sgml entities used in a docbook/linuxdoc document.
1983 * buffer.C (makeLinuxDocFile):
1984 (makeDocBookFile): reworked the preamble, more clean, and with
1985 support for lyx defined entities. Changed the document declaration
1986 to be more XML friendly.
1988 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
1989 if we need to output XML that should be done with a filter.
1991 2001-10-22 Juergen Vigna <jug@sad.it>
1993 * sp_pspell.h (class PSpell): add alive function needed in the
1994 controller to see if the spellchecker could be started.
1996 2001-10-22 Juergen Vigna <jug@sad.it>
1998 * buffer.C (insertStringAsLines): modify the font for inserting
1999 chars in certain conditions by calling checkInsertChar(font).
2001 2001-10-19 Juergen Vigna <jug@sad.it>
2003 * text.C (workWidth): use getRow instead of wrong algorithm.
2004 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
2006 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
2011 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
2013 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2015 * text.C (workWidth): do not search for the exact row when
2016 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
2017 optimization for big documents.
2019 2001-10-18 Juergen Vigna <jug@sad.it>
2021 * text.C (workWidth): new function with added Inset * parameter.
2023 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2025 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
2027 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
2028 change return type of getColumnNearX.
2031 * text.C (changeRegionCase): use uppercase/lowercase instead of
2034 (rightMargin): simplify code by factoring out the uses of
2039 (appendParagraph): use Paragraph::size_type
2041 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2043 * vspace.C (asLatexString): add a missing break
2045 2001-10-15 Herbert Voss <voss@perce.de>
2047 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
2049 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2051 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
2054 2001-10-10 André Pönitz <poenitz@gmx.net>
2056 * lyxfunc.C: removed greek_kb_flag.
2058 2001-10-10 Herbert Voss <voss@perce.de>
2060 * lyx_main.C: delete global string help_lyxdir.
2062 2001-10-09 Herbert Voss <voss@perce.de>
2064 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
2066 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
2068 * lyx_main.C: added global string help_lyxdir.
2070 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
2072 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2074 * lyxrc.C (set_font_norm_type): support iso8859-4
2076 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
2078 * LaTeX.C (deplog): add another regex for MikTeX
2080 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
2082 * lyxrc.C (set_font_norm_type): support iso8859-3
2084 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2086 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
2088 * LaTeXFeatures.C: remove special case of french and index
2090 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
2091 before \begin{document}). This solves several incompatibilities.
2093 2001-10-03 Garst Reese <reese@isn.net>
2095 * lyx_cb.C: change CheckTex error msg.
2097 2001-10-03 José Matos <jamatos@fep.up.pt>
2099 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
2101 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2103 * .cvsignore: update
2105 * lyx_main.C (commandLineVersionInfo): use new style version info.
2107 * buffer.C (writeFile):
2110 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
2112 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
2114 * version.h: update to use stuff in version.C
2116 * version.C.in: new file. Contains version information determined
2117 at compile time. This is a merging of version.h and
2120 2001-10-03 Juergen Vigna <jug@sad.it>
2122 * BufferView_pimpl.C (update): don't change "dirty" status in
2125 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
2127 * WorkArea.C (c-tor): re-position version string slightly.
2129 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
2131 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
2132 revert to previous code.
2134 WorkArea.[Ch]: (show, destroySplash): methods removed.
2136 WorkArea.C: rework code so that it's an amalgam of the codes before and
2137 after the splash screen was moved to WorkArea.
2139 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2142 * vspace.C (inPixels):
2145 * buffer.C (insertStringAsLines):
2146 (asciiParagraph): fix types to be large enough
2148 * lyxlex_pimpl.h: change member status from short to int
2150 * layout.h: fix type of endlabeltype
2153 * kbsequence.C (parse): change return type to string::size_type
2155 * LaTeX.C (updateBibtexDependencies): comment out unneeded
2158 * Bullet.C (bulletSize):
2159 (bulletEntry): do not use short ints as parameters
2161 * BufferView2.C (insertLyXFile): change a char to an int.
2163 * WorkArea.C (WorkArea): remove unneeded floats in computation
2165 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
2167 * buffer.C (asciiParagraph): Treat '\\' as other chars.
2169 * paragraph.C (asString): Do not ignore newline/hfill chars when
2170 copying to the clipboard.
2172 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
2174 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
2175 after a multi-line inset.
2177 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
2179 * paragraph.C (validate): Set NeedLyXFootnoteCode
2181 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
2183 * lyxfont.C (LyXSizeNames): changed increase-error to increase
2184 and decrease-error to decrease.
2186 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2188 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
2189 it more readable (should be equivalent)
2191 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
2193 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
2195 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2197 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
2198 of a cursor (row, etc.) after a character has been deleted
2199 (deleteEmptyParagraphMechanism): call the method above on _all_
2200 cursors held by the LyXText when a double space has been
2203 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
2205 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
2207 (resizeCurrentBuff): remove code to destroy the old splash dialog.
2209 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
2210 background. Use greyOut() and the new show() methods to toggle between
2211 the foreground and background. Add code to remove the splash after
2212 its initial showing.
2214 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
2215 (create_forms): no longer call Dialogs::showSplash.
2217 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2219 * .cvsignore: add version_info.h
2221 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2223 * version_info.h.in: new file
2225 * Makefile.am: add version_info.h.in
2227 * lyx_main.C (commandLineVersionInfo): use version_info defined in
2228 version_info.h instead of VERSION_INFO
2230 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
2232 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
2233 The ERT inset now returns string().
2235 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
2237 * lyxtext.h, text.C (selectNextWord): renamed as
2238 selectNextWordToSpellcheck.
2240 * text.C (selectNextWordToSpellcheck): Modified to not select
2241 words inside an ERT inset.
2243 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2245 * lyx_cb.C (MenuLayoutSave): change a bit the question
2247 * sp_base.h: include <sys/types.h>
2249 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
2251 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
2253 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
2255 * several files: fix typos in user-visible strings
2257 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2259 * text2.C (pasteSelection): do not set the selection, since it
2260 will be cleared later. Actually, the intent was to fix the way the
2261 selection was set, but I figured rmoving the code was just as good.
2263 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
2265 * FontLoader.C (available): Check if font is available without
2268 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2270 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
2272 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
2274 * lyxrc.[Ch]: added display_graphics variable and associated code.
2276 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2278 * bufferparams.C (hasClassDefaults): new method. Returns true if
2279 the buffer parameters correspond to known class defaults
2281 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
2283 * XFormsView.C (show): set minimum size to the main window.
2285 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2287 * text2.C (copySelection):
2289 * lyxfind.C (LyXReplace):
2290 * BufferView_pimpl.C (Dispatch): pass the correct flag to
2291 LyXText::selectionAsString.
2293 * paragraph.C (asString): add "label" argument to the second form
2295 * text2.C (selectionAsString): add "label" argument and pass it to
2296 Paragraph::asString.
2298 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2300 * lyx_main.C (commandLineHelp): remove version information
2302 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
2304 * lyx_main.C: add -version commandline option
2306 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
2308 * paragraph.h: make the optional constructor arg required instead.
2309 some modifications to other files because of this.
2311 * minibuffer.C (C_MiniBuffer_peek_event): make it static
2313 * lyxserver.C (C_LyXComm_callback): make it static
2315 * lyx_main.C (error_handler): make it static
2317 * lyx_gui.C (LyX_XErrHandler): make it static
2319 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
2321 * WorkArea.C: make the extern "C" methods static.
2323 * Makefile.am (lyx_LDADD): simplify
2325 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2327 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
2328 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
2330 * LyXAction.C (init):
2331 * lyxfunc.C (dispatch): associated code removal.
2333 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2335 * lyxfont.h (isSymbolFont): shut off warning
2337 * text.C (setHeightOfRow):
2338 (getVisibleRow): fix crash with empty paragraphs which have a
2341 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
2343 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
2346 2001-09-04 José Matos <jamatos@fep.up.pt>
2349 * tabular.C (docbook): rename docBook method to docbook.
2351 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2353 * Makefile.am: add dependencies to main.o.
2355 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
2357 * FontLoader.C (available): Return false if !lyxrc.use_gui
2359 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
2361 * FontInfo.C (query):
2362 * converter.C (view):
2363 * importer.C (Import):
2364 * exporter.C (Export): Can not -> cannot.
2366 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
2368 * BufferView_pimpl.C: allow to create index inset even if
2371 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2373 * buffer.C (getLists): replace boost::tie code with an explicit pair
2374 as boost::tie can break some compilers.
2376 * iterators.h: Added a std:: declaration to the return type of
2379 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
2381 * lyxrc.C: add help for view_dvi_paper_option, default to safe
2384 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
2386 * iterators.[Ch]: New files. Provide paragraph iterators.
2388 * buffer.C (changeLanguage): Use paragraph iterators.
2389 (isMultiLingual): ditto
2391 * BufferView2.C (ChangeInsets): Use paragraph iterators.
2393 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
2395 * FontLoader.C: Support for cmr font.
2397 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
2399 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
2400 (available): New method.
2402 * FontInfo.C (getFontname): Use scalable fonts even when
2403 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
2406 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
2408 * converter.C (Formats::view): reverted! Incorrect fix.
2410 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
2412 * converter.C (Formats::view): only output the -paper option
2413 if the dvi viewer is xdvi, thereby fixing bug #233429.
2415 2001-08-23 Herbert Voss <voss@perce>
2417 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
2419 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
2421 * Spacing.h (Spacing): Set space to Default on in the default
2424 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
2426 * vc-backend.h (RCS::versionString): add RCS to version
2427 (CVS::versionString): add CVS to version
2429 * vc-backend.C (scanMaster): do not add CVS to version.
2430 (scanMaster): do not add RCS to version
2432 * lyxvc.C (versionString): new method
2434 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
2436 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2438 * Spacing.C (set): initialize fval
2440 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
2442 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
2445 2001-08-16 Juergen Vigna <jug@sad.it>
2447 * lyxfunc.C (dispatch): implemented the new FINISHED states.
2449 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
2451 * BufferView_pimpl.C:
2454 * text2.C: setParagraph takes linespacing now
2456 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
2458 * LyxAction.C: add internal LFUN_CITATION_INSERT
2460 * LyXView.C: actually apply fix
2462 * bufferlist.C: fix open non-existent file
2464 * lyxfind.C: fix indentation
2466 * lyxfunc.C: remove unneeded assert, fix typo
2468 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
2470 * MenuBackend.C: use "Floatname List"
2472 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
2474 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
2475 when converting LaTeX layout to insetERT.
2476 Generate a non-collapsed float when reading old float
2478 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
2480 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
2483 2001-08-13 Juergen Vigna <jug@sad.it>
2485 * text.C (fill): return 0 instead of 20 as this seems to be the more
2488 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
2490 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
2493 2001-08-13 Juergen Vigna <jug@sad.it>
2495 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
2497 (SearchBackward): comment out the unlocking of the inset_owner this
2498 should not be needed!
2500 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
2502 * Many files: Remove inherit_language, and add latex_language
2504 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
2507 2001-08-10 Juergen Vigna <jug@sad.it>
2509 * text.C (prepareToPrint): fixed hfill-width in draw!
2511 * BufferView2.C (selectLastWord): save the selection cursor as this
2512 now is cleared in the function LyXText::clearSelection!
2514 2001-08-08 Juergen Vigna <jug@sad.it>
2516 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
2517 BACKSPACE type functions.
2519 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
2520 is only cutted from the document but not put in the cut-buffer, where
2521 still the old stuff should be.
2523 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
2525 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
2527 * tabular.C (SetWidthOfCell): fixed special case where the width
2529 (LeftLine): handle '|' in align_special.
2531 (LeftAlreadyDrawed): ditto
2532 (SetWidthOfCell): ditto
2534 2001-08-07 Juergen Vigna <jug@sad.it>
2536 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
2538 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2540 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
2541 * lyxlex.[hC]: ditto
2543 2001-08-06 Juergen Vigna <jug@sad.it>
2545 * text.C (getVisibleRow): fix up row clearing a bit.
2547 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2549 * minibuffer.C: make sure the X server sees the changes in the input.
2551 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2553 * paragraph.C (getFont): split into...
2554 (getLabelFont): this
2555 (getLayoutFont): and this
2556 * paragraph_pimpl.C (realizeFont): calling this
2558 * text2.C (getFont): split into...
2559 (getLayoutFont): this
2560 (getLabelFont): and this
2561 (realizeFont): all three calling this
2563 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
2566 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2568 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
2570 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
2572 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
2573 layouts from the Quote inset insertion.
2575 2001-08-03 Juergen Vigna <jug@sad.it>
2577 * BufferView_pimpl.C (update): do the fitCursor only at the end!
2579 * screen.C (drawFromTo): don't call fitcursor here and do the loop
2580 only if status not is already CHANGED_IN_DRAW (second level).
2582 * text.C (draw): don't set the need_break_row when inside an
2585 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2587 * buffer.C (parseSingleLyXformat2Token): handle more latex
2590 * bufferview_funcs.[hC]: change function names to
2591 begin with small char, adjust other files.
2593 2001-08-02 André Pönitz <poenitz@gmx.net>
2596 BufferView_pimpl.C: remove broken special code for math-greek
2598 2001-08-02 Juergen Vigna <jug@sad.it>
2600 * BufferView_pimpl.C (update): redone this function so that we
2601 update the text again if there was a CHANGE_IN_DRAW.
2603 * screen.C (cursorToggle): removed LyXText parameter and recoded.
2604 (drawFromTo): added a new internal bool which is used by draw() and
2606 (general): some cursor drawing problems fixed.
2608 2001-08-01 Juergen Vigna <jug@sad.it>
2610 * lyxfind.C (LyXFind): fixed
2611 (SearchForward): ditto
2612 (SearchBackward): ditto
2614 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
2615 spurius drawing of the cursor in the main area.
2617 * text2.C (status): small fix which could lead to a segfault!
2618 (clearSelection): remove unneeded BufferView param.
2620 2001-08-01 André Pönitz <poenitz@gmx.net>
2622 * lyxfunc.C: small change due to changed mathed interface
2624 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2626 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
2628 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
2630 * lyxfunc.c: fail gracefully if file doesn't exist
2635 * BufferView_pimpl.C: IsDirWriteable() proto changed
2637 * LyXView.C: fix updateWindowTitle() to store the last title
2639 2001-07-31 Juergen Vigna <jug@sad.it>
2641 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
2642 the font (wrong since using of Paragraph::highestFontInRange).
2644 * paragraph.C (highestFontInRange): added a default_size parameter.
2646 * text.C (getVisibleRow): minor clear row changes (still not perfect).
2647 (setHeightOfRow): reformat
2649 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2651 * converter.[hC] + affected files: move to (inital-char)lowercase
2654 * ParagraphParameters.C (ParagraphParameters): remove commented code
2656 * PainterBase.[Ch]: remove commented code
2658 * LaTeXFeatures.h: add "bool floats" for float.sty
2660 * LaTeXFeatures.C (LaTeXFeatures): init floats
2661 (require): handle float
2662 (getPackages): do it with floats
2664 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2666 * BufferView_pimpl.C (Dispatch): improve handling of
2667 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
2669 * commandtags.h: #include lyxfont.h here temporarily to avoid
2672 * bufferlist.h: include LString.h here.
2674 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2676 * text2.C (getStringToIndex): new method.
2678 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
2680 * *: Reduced header file dependencies all over.
2682 2001-07-30 Baruch Even <baruch@lyx.org>
2684 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
2686 2001-07-29 Baruch Even <baruch@lyx.org>
2688 * buffer.C (readInset): Changed GRAPHICS to Graphics.
2690 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2692 * ParameterStruct.h (endif): add a default constructor to make
2693 sure that all variables is initialized.
2695 * ParagraphParameters.C (ParagraphParameters): adjust
2697 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2699 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
2700 index; also, check that there is something to index, and that it
2701 does not span over several paragraphs.
2702 (doubleClick): use WHOLE_WORD_STRICT for double click.
2704 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
2706 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
2709 2001-07-26 Baruch Even <baruch@lyx.org>
2711 * buffer.C (readInset): Changed to call up InsetGraphics when reading
2712 an InsetFig figure, backwards compatible reading of old figure code.
2714 2001-07-27 Juergen Vigna <jug@sad.it>
2716 * text2.C: font.realize function adaption.
2718 * text.C (draw): add a warnings lyxerr text if needed.
2720 * layout.C: font.realize function adaption.
2722 * language.C: add inherit_language and implement it's handlings
2724 * bufferview_funcs.C (StyleReset): remove language parameter from
2725 font creation (should be language_inherit now).
2727 * bufferparams.C (writeFile): handle ignore_language.
2729 * paragraph.C (getFontSettings): the language has to be resolved
2730 otherwise we have problems in LyXFont!
2732 * lyxfont.C (lyxWriteChanges): added document_language parameter
2733 (update): removed unneeded language parameter
2735 * paragraph.C (validate): fixed wrong output of color-package when
2736 using interface colors for certain fonts in certain environments,
2737 which should not seen as that on the final output.
2739 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
2741 * BufferView_pimpl.C:
2746 * LyXAction.C: add thesaurus support
2749 * lyxfind.C: add "once" parameter, for thesaurus, to not
2750 move to the next match
2752 2001-07-26 Juergen Vigna <jug@sad.it>
2754 * lyxfont.C (realize): honor ignore_language too!
2757 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
2759 * text.C (draw): one place more for ignore_language to not draw
2762 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
2764 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
2766 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2768 * buffer.C (parseSingleLyXformat2Token): a more general fix for
2769 the minipage conversion problem.
2771 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2773 * buffer.C (parseSingleLyXformat2Token): check minipage if we
2776 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2778 * BufferView.h: don't forward declare WorkArea
2780 * BufferView.C: don't include WorkArea.h
2782 2001-07-25 André Pönitz <poenitz@gmx.net>
2786 * lyxfunc.C: new LFUN 'math-space'
2788 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
2790 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2792 * text2.C (toggleInset): call open/close
2794 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2796 * lyxfunc.C (dispatch): add debug for the disabled case
2798 * font.C (buttonText): make similar to rectText
2800 * buffer.C (readInset): comment out parsing of insetlist and
2803 * PainterBase.C (rectText): small correction
2805 * BufferView_pimpl.C: comment out insettheorem and insetlist
2806 * LyXAction.C: ditto
2807 * commandtags.h: ditto
2809 2001-07-24 Juergen Vigna <jug@sad.it>
2811 * text.C (draw): honor the ignore_language.
2813 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
2815 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2817 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
2820 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2822 * lyxtext.h: remove unused (and unimplemented) methods
2824 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2826 * text.C (getVisibleRow): honor background color
2829 * Painter.h: remove default color argument for fillRectangle
2831 * text.C (backgroundColor): new method
2833 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2835 * text.C (getVisibleRow): adjust
2837 * font.[Ch] (rectText): new method, metrics
2838 (buttonText): new method, metrics
2840 * PainterBase.[hC]: make rectText and buttonText always draw and take
2843 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2845 * ToolbarDefaults.C (read):
2846 * MenuBackend.C (read): allow escaping in all strings
2848 * BufferView_pimpl.C (insertAndEditInset): new method.
2849 (Dispatch): use insertAndEditInset whenever appropriate.
2851 * BufferView_pimpl.C (insertNote): removed
2853 * BufferView_pimpl.C (smartQuote): new method, moved from
2854 BufferView; if an insetquote cannot be inserted, insert a '"'
2857 * BufferView2.C: remove insertCorrectQuote();
2859 * lyxfunc.C (getStatus): Add support for all remaingin
2862 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
2864 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
2865 command (necessary to pass " as parameter of self-insert.
2867 * text.C (selectWordWhenUnderCursor):
2868 (selectWord): add word_location parameter
2869 (selectWordWhenUnderCursor): same + remove special code for word
2871 (selectNextWord): use kind() to guess type of insetspecialchar,
2874 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
2875 (insertErtContents): create ert insets as collapsed.
2876 (readInset): better compatibility code for Info inset.
2878 2001-07-20 Juergen Vigna <jug@sad.it>
2880 * lyxfunc.C (dispatch): use always LyXFind now!
2882 * text2.C (init): add a reinit flag so that the LyXText can be
2883 reinited instead of deleted and reallocated (used in InsetText).
2885 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
2891 2001-07-18 Juergen Vigna <jug@sad.it>
2893 * text.C (selectNextWord): handle insets inside inset by calling
2894 always the bv->text functions so that we can go up the_locking_inset!
2896 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
2897 in strange locations when inside an inset!
2899 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
2900 handling to include insets.
2902 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
2904 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2906 * LyXAction.C (init):
2908 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
2909 LIGATURE_BREAK, since the name is so stupid.
2911 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2913 * buffer.C (readInset): enable reading of new InsetNotes as well as old
2916 * FontLoader.C: remove FORMS_H_LOCATION cruft.
2918 * sp_form.[Ch]: remove.
2920 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
2922 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
2925 * src/buffer.C (readInset): ditto.
2927 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2929 * BufferView_pimpl.C (specialChar): new method. Obsoletes
2930 menuSeparator(), endOfSentenceDot(), ldots() and
2931 hyphenationPoint(), which are therefore removed.
2932 (Dispatch): handle LFUN_HYPHENATION_BREAK.
2934 * LyXAction.C (init):
2935 * commandtags.h: add LFUN_HYPHENATION_BREAK.
2937 * paragraph.C (getWord): removed.
2939 * BufferView_pimpl.C (Dispatch): use last word or selection for
2940 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
2942 * lyx_main.C (queryUserLyXDir): do not ask before creating
2943 user_dir, except if it has been named explicitely.
2945 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2947 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
2948 a document of zero size.
2950 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
2952 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
2953 approriately in the c-tor and in require().
2954 (getPackages): output the appropriate LaTeX for natbib support.
2956 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
2957 variables "use_natbib" and "use_numerical_citations" when reading the
2959 (readInset): read the various natbib cite commands.
2960 (validate): white-space change.
2962 * bufferparams.[Ch]: new variables "bool use_natbib" and
2963 "bool use_numerical_citations".
2964 (writeFile): output them in the LyX file.
2966 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2968 * lyxfunc.C (getStatus): add support for all the inset insertion
2971 * text2.C (insertInset):
2972 * paragraph.C (insetAllowed):
2973 * BufferView_pimpl.C (insertInset): update to take in account the
2974 renaming of insertInsetAllowed
2976 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
2978 * text2.C (getInset): new method. returns inset at cursor position.
2980 * BufferView_pimpl.C (Dispatch): changes because of this.
2982 * LyXAction.C (init): rename open-stuff to inset-toggle.
2984 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
2986 * text2.C (toggleInset): renamed from openStuff; use
2989 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2991 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
2993 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
2995 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
2997 * buffer.C (readLyXformat2): Add filename to the error dialog
2999 2001-07-18 Juergen Vigna <jug@sad.it>
3001 * tabular.C (GetCellNumber): put an assert here instead of the check!
3003 2001-07-17 Juergen Vigna <jug@sad.it>
3005 * BufferView_pimpl.C (toggleSelection): adapted too.
3007 * text.C (selectNextWord): adapted for use with insets.
3008 (selectSelectedWord): ditto
3010 2001-07-17 Juergen Vigna <jug@sad.it>
3012 * sp_spell.C (PSpell): fix initialitation order.
3014 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3016 * paragraph.C: spacing
3018 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
3020 * sp_spell.C: repair language selection for pspell
3022 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3024 * lyxfunc.h: change more methods to begin with lower char.
3026 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
3028 * buffer.C (parseSingleLyXformat2Token): Generate error insets
3029 for unknown layouts.
3031 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
3033 * buffer.C (readLyXformat2): Generate an error dialog if there are
3036 2001-07-16 Juergen Vigna <jug@sad.it>
3038 * sp_spell.C: always compile ISpell part.
3040 * lyxrc.C: added use_pspell entry and it's handling.
3042 2001-07-13 Juergen Vigna <jug@sad.it>
3044 * sp_spell.C: removed double includes.
3046 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
3048 Consistent use of Lsstream.h:
3049 * Lsstream.h: added using std::stringstream for consistencies sake.
3051 * buffer.C: removed using std::stringstream
3053 * lyxfont.C (stateText):
3054 * paragraph.C (asString):
3055 * text.C (selectNextWord, selectSelectedWord):
3056 * text2.C (setCounter):
3057 * vspace.C (asString, asLatexString):
3058 std::ostringstream -> ostringstream.
3060 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
3062 * LyXAction.C: add LFUN_HELP_ABOUTLYX
3063 * commandtags.h: add LFUN_HELP_ABOUTLYX
3064 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
3066 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
3068 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
3070 * lyx_gui_misc.C: remove spellchecker
3071 * lyxfunc.C: showSpellchecker
3073 * sp_ispell.h: added
3074 * sp_pspell.h: added
3076 * sp_form.[Ch]: removed
3077 * spellchecker.[Ch]: removed
3079 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
3081 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
3083 (simpleTeXSpecialChars): Simply print the input character without
3084 any special translation if pass_thru is set.
3086 * layout.h: Added bool pass_thru to layout class for being able to
3087 implement pass through of a paragraph for Literate Programming.
3089 * layout.C: add LT_PASS_THRU to LayoutTags enum.
3090 * layout.C (LyXLayout): set pass_thru to flase in constructor.
3091 * layout.C (Read): add "passthru" to list of layout tags and add
3092 code to set the pass_thru boolean when it is read.
3094 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3096 * trans_decl.h: remove allowed from KmodInfo
3098 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
3102 * paragraph_pimpl.C (erase): use boost::prior
3104 * Painter.C (text): use data() instead of c_str() when length is
3106 * WorkArea.C (putClipboard): ditto
3107 * font.h (width): ditto
3109 * BufferView2.C: use it-> instead of (*it). for iterators
3111 * paragraph_pimpl.C: ditto
3112 * paragraph.C: ditto
3113 * minibuffer.C: ditto
3118 * converter.C: ditto
3120 * Variables.C: ditto
3121 * TextCache.C: ditto
3122 * MenuBackend.C: ditto
3123 * LyXAction.C: ditto
3125 * FloatList.C: ditto
3127 * ColorHandler.C (LyXColorHandler): ditto
3129 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3131 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
3133 * text2.C (openStuff): reintroduce this method (which had been
3134 nuked in NEW_INSETS frenzy).
3136 * lyxfunc.C (Dispatch): when an action has not been handled, use
3137 its name in the error message, not its number.
3139 * paragraph.C (inInset): change method name to begin with lowercase.
3142 * text2.C: updates because of this.
3144 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3146 * ToolbarDefaults.C (add): add spaces in error message
3148 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3150 * buffer.C (readLyXformat2): initialize the ert comp. variables.
3151 (readLyXformat2): rename return_par to first_par, use lyxlex's
3152 pushToken and remove the manual push handling.
3153 (parseSingleLyXformat2Token): add another ert comp. variable:
3154 in_tabular, rename return_par to first_par. handle newlines better
3156 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3158 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
3160 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
3162 * text2.C (getParFromID): removed
3164 * buffer.C (getParFromID): new method moved form lyxtext.
3165 * BufferView2.C (insertErrors): adjust
3166 (setCursorFromRow): adjust
3167 * BufferView_pimpl.C (restorePosition): adjust
3168 * lyxfunc.C (Dispatch): adjust
3169 * undo_funcs.C (textUndo): adjust
3171 (textHandleUndo): adjust
3172 (textHandleUndo): adjust
3174 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3176 * buffer.C: up' the LYX_FORMAT
3178 * lyxfont.h: turn NO_LATEX on as default
3180 * buffer.C (insertErtContents): new methods of tex style compability.
3181 (parseSingleLyXformat2Token): use it several places.
3182 * tabular.C (OldFormatRead): and here
3184 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3186 * text2.C: remove some commented code.
3189 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
3190 * trans.C: changes because of the above.
3192 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
3194 * text2.C (setCounter): Fix counters bug with bibliography layout.
3196 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3198 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
3199 own member functions
3200 (simpleTeXSpecialChars): ditto
3202 2001-07-06 Juergen Vigna <jug@sad.it>
3204 * a lot of files: changed the access to LyXText::status and the
3205 call of undo-functions.
3207 * undo.[Ch]: added a inset_id to the undo informations.
3209 * undo_funcs.[Ch]: added and moved here all undo functions.
3211 * lyxtext.h: give the status enum a weight, made status_ a private
3212 variable and made accessor functions for it, removed the whole bunch
3213 of undo-functions as they are now in their own file, make some
3214 functions publically available. Added function ownerParagraph with
3217 * paragraph.[Ch]: added "bool same_ids" to the constructor,
3218 made InInset() a const function, added getParFromID() function.
3220 * buffer.[Ch]: added const version for inset_iterator functions,
3221 added getInsetFromID() function.
3223 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
3224 changed undo functions for new version.
3226 2001-07-05 Juergen Vigna <jug@sad.it>
3228 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
3229 unknow mechanism does not call the proper constructor but only this
3230 one also if I request the other!?
3232 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3234 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
3236 * text2.C (LyXText): use initialization lists.
3238 * lyxtext.h (Selection): initialize set_ and mark_
3239 (init): remove method
3241 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
3243 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
3245 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3247 * screen.[Ch]: change method names to begin with lowercase
3249 * BufferView_pimpl.C (updateScrollbar): simplify further and
3250 hopefully make it a bit faster.
3252 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3254 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
3255 calling directly xforms functions.
3257 * Painter.C (Painter):
3258 * lyx_cb.C (MenuWrite):
3259 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
3262 * lyx_gui.C: remove bogus guiruntime extern declaration.
3264 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3266 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
3268 (redoDrawingOfParagraph): ditto
3269 (redoParagraphs): ditto
3270 (cutSelection): don't create a object for CutAndPaste use the
3271 static method directly
3272 (pasteSelection): ditto
3274 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
3277 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3279 * modifications to some other files because of this.
3281 * Makefile.am (lyx_SOURCES): add XFormsView
3283 * XFormsView.[Ch]: new files
3285 * LyXView.[Ch]: make LyXView a base class for the gui handling for
3286 the main window. Move the gui dependent stuff to XFormsView
3288 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3290 * tabular.C (GetCellInset): update cur_cell also in the row/col
3291 version of this function.
3293 * lyxfunc.C: no need to include figure_form.h here.
3299 * lyxvc.C: no need to include forms.h here.
3301 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3303 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
3305 * lyxfunc.C (Dispatch):
3307 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
3308 constructor argument.
3310 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3312 * paragraph.C (Paragraph): dont't clear, and just set layout.
3313 (makeSameLayout): use params's copy contructor.
3315 * ParagraphParameters.[Ch] (makeSame): delete method
3317 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
3319 * Variables.[Ch]: fix indentation, rename set to isSet
3321 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3323 * lyxfunc.C (Dispatch): fix typo
3325 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3327 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
3330 * bufferlist.C: include assert.h for emergencyWrite().
3332 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3334 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
3335 give up at last (bug #425202) !
3337 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
3343 * spellchecker.C: strip spellchecker options and bring up
3344 preferences tab instead
3346 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3348 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
3349 the istringstream constructor
3351 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3353 * paragraph.C (getLayout): fix return value
3355 * paragraph.h: do not declare getLayout as inline.
3357 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
3359 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3361 * lyxcursor.h (operator<): new func
3362 (operator>): new func
3363 (operator>=): new func
3364 (operator<=): new func
3366 * text.C (changeCase): use selection.start and selection.end
3367 (changeRegionCase): require from to be <= to. Require par to be a
3370 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
3372 2001-06-27 Juergen Vigna <jug@sad.it>
3374 * text.C (cursorLeftOneWord): changed to return the cursor and added
3375 overlay with BufferView * parameter which calls this one.
3377 (selectWord): use new getWord function.
3378 (changeCase): renamed from changeWordCase as and extended to work
3381 * lyxtext.h: added enum word_location
3383 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
3384 changeCase as this operates now also on selections.
3386 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
3388 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
3390 * many files: send debug output to Debug::INFO instead of
3393 * converter.C (View):
3395 (Move): send debug output to Debug::FILES instead of console.
3397 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
3399 * lyxfunc.C (getStatus): use func_status
3401 * func_status.h: new header, describing the results of
3404 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
3407 2001-06-25 The LyX Project <jug@sad.it>
3409 * buffer.C (sgmlOpenTag):
3411 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
3413 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3415 * text2.C: remove some dead code
3417 * tabular.C (GetCellInset): store the last cell checked (gotten)
3419 * tabular.h: add the helper for the speedup
3421 * lyxtext.h: remove some dead code
3423 2001-06-26 The LyX Project <Asger>
3425 * paragraph.C: Change export to LaTeX of alignment to
3426 \begin{center} and family for better roundtrip work with reLyX.
3428 * Tune the math drawing a bit.
3430 2001-06-25 The LyX Project <Asger>
3432 * LColor.C (LColor): New color for math background. New color
3435 2001-06-25 The LyX Project <jug@sad.it>
3437 * lyxfunc.C (MenuNew): remove extra check for .lyx file
3440 * bufferlist.C (newFile): do not restrict to files ending with
3443 * BufferView_pimpl.C (MenuInsertLyXFile):
3445 2001-06-24 The LyX Project <jug@sad.it>
3447 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
3450 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3452 * lyxtext.h: rename most methods to begin with a small char.
3453 Lots of changes because of this.
3455 * paragraph.C (Paragraph): do not call fitToSize
3456 (erase): call Pimpl::erase
3457 (insertChar): call Pimpl::insertChar
3458 (insertInset): call Pipl::insertInset
3459 (breakParagraph): do not call fitToSize
3460 (breakParagraphConservative): do not call fitToSize
3461 (fitToSize): remove method
3463 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
3465 2001-06-24 The LyX Project <Asger>
3467 * Fix Qt compilation^2
3469 2001-06-24 The LyX Project <jug@sad.it>
3471 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
3472 depthHook(getDepth()-1).
3475 * ParagraphParameters.h:
3476 * ParameterStruct.h: change type of depth to unsigned int ==
3477 depth_type. Many adaptations to other files before of that.
3479 2001-06-24 The LyX Project <Asger>
3481 * Fix Qt compilation.
3483 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3485 * paragraph.h: renamed several methods to begin with small letter.
3486 several changes to many parts of the code because of this.
3488 2001-06-23 The LyX Project <jug@sad.it>
3490 * text2.C (InsertStringAsLines): renamed from InsertStringA;
3491 rewritten to discard all double spaces when KeepEmpty is off
3492 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
3493 to only handle newlines but not fiddle with spaces and friends.
3495 * lyxfunc.C (MenuNew): when doing 'new from template', use
3496 template_path as default directory
3498 2001-06-23 The LyX Project <Asger>
3500 * Clean-up of header file includes all over
3501 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
3503 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3505 * paragraph.h: renamed from lyxparagraph.h
3507 2001-06-23 Asger <lyx@violet.home.sad.it>
3509 * Buffer.h: Removed Buffer::resize
3510 * BufferList.h: Removed BufferList::resize
3511 * LyXView.h: Added LyXView::resize. This way, we will only reflow
3512 the document lazily when we change the width, or the font settings.
3514 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3516 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
3518 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3520 * buffer.h: remove out of date comment
3522 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3525 * screen.C: fix "theoretical" GC leak
3527 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3529 * LaTeX.C (scanAuxFile):
3530 (deplog): remove trailing \r when reading stream (useful under
3533 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
3535 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
3536 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
3537 and BufferView::theLockingInset(Inset*), so should use them and not
3538 access bv_->text->the_locking_inset directly.
3540 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
3542 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
3545 * tex-defs.h: remove old unused file
3547 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
3549 * BufferView_pimpl.C: fix typo, remove minibuffer message
3550 when buffer has loaded
3552 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3554 * lyxfunc.C (Dispatch): use stringstream
3555 (MenuNew): use stringstream
3556 (Open): use stringstream
3558 * importer.C (Import): use stringstream
3560 * bufferview_funcs.C (CurrentState): use stringstream
3562 * LaTeX.C (run): use stringstream
3564 * BufferView_pimpl.C (savePosition): use stringstream
3565 (restorePosition): use stringstream
3566 (MenuInsertLyXFile): use stringstream
3568 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
3581 * vspace.C: removed // -*- C++ -*- as first line.
3584 * version.h: added // -*- C++ -*- as first line.
3586 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3588 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
3590 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
3593 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3595 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
3598 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3600 * gettext.C: include LString.h even when --disable-nls is on.
3602 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
3604 * converter.h (Get): changed argument type from int to
3605 FormatList::size_type to avoid unnecessary conversion.
3607 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
3610 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3612 * gettext.h: include LString.h even when --disable-nls is on.
3614 2001-06-07 Juergen Vigna <jug@sad.it>
3616 * text.C (BreakAgain): subst spaces with tabs.
3618 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
3619 (resizeInsetsLyXText): set force on resizeLyXText.
3621 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3623 * gettext.h (gettext_init):
3624 (locale_init): use a real definition instead of a macro
3626 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
3628 * Bufferview_pimpl.C:
3630 * LColor.C: further lcolor tidies
3632 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3634 * BufferView_pimpl.C (updateScrollbar): simplify.
3636 * BufferView2.C: don't include insets/insetinfo.h, change
3637 prototype for insertInset and call the Pimpl version. let
3638 updateInset call Pimpl version.
3640 * BufferView.h: move inset_slept to BufferView::Pimpl, move
3641 gotoInset to BufferView::Pimpl
3643 2001-06-01 Juergen Vigna <jug@sad.it>
3645 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
3646 inside a LockingInset (is the update needed at all?).
3648 2001-05-31 Juergen Vigna <jug@sad.it>
3650 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
3651 here not the old one otherwise how should we compare it afterwards
3654 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3659 * FontInfo.C: bring C functions into global namespace when
3662 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3664 * LString.h: make sure config.h has been loaded before LString.h.
3666 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
3667 (one for each char read by EatLine!).
3669 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
3672 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3674 * paragraph.C (BreakParagraph): set the inset_owner in the new par
3675 to the same as the par we break from
3677 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
3679 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
3681 * MenuBackend.C (expand): also create menu entries for wide
3682 versions of the floats.
3684 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
3686 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
3688 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
3689 frontends/Makefile.am
3695 * tabular.C (getTokenValue): add std::
3697 * tabular-old.C (getTokenValue): add std::
3698 (getTokenValue): ditto
3699 (getTokenValue): ditto
3701 * screen.C (ToggleSelection): adjust
3703 * lyxtext.h: put selection cursors inside a Selection struct.
3705 * lyxfunc.C (moveCursorUpdate): adjust
3707 * lyxfont.C (latexWriteStartChanges): add std::
3711 * font.h: delete with(char const *, LyXFont const &)
3713 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
3715 * FontInfo.C (getFontname): add std::
3717 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3718 (workAreaButtonPress): adjust
3719 (tripleClick): adjust
3721 (moveCursorUpdate): adjust
3724 * BufferView2.C (gotoInset): adjust
3726 2001-05-30 Juergen Vigna <jug@sad.it>
3728 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
3729 to check pspell I add this as default as I now have new pspell
3730 libraries and they seem to use this.
3732 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3734 * text2.C (CutSelection): make the cursor valid before the call to
3737 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3739 * kbsequence.C (parse): de-uglify a bit the parsing code, which
3740 relied on 0 terminated strings and other horrors. Bug found due to
3741 the new assert in lyxstring!
3743 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
3746 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3748 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
3751 * lyxfunc.C (processKeySym): change method of getting to the
3754 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
3755 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
3756 * BufferView_pimpl.[Ch]: here as private methods.
3758 2001-05-28 Juergen Vigna <jug@sad.it>
3760 * text.C (SetHeightOfRow): added the update() call again as it is
3761 needed to initialize inset dimensions!
3763 2001-05-16 Juergen Vigna <jug@sad.it>
3765 * text2.C (SetCharFont): Add new function with BufferView * and
3766 bool toggleall parameters for setting insets internal fonts.
3767 (SetFont): Freeze the undo as we may change fonts in Insets and
3768 all this change should be inside only one Undo!
3770 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
3771 setting font's in insets as for them we have the SetFont function!
3773 2001-05-15 Juergen Vigna <jug@sad.it>
3775 * text2.C (ClearSelection): to be sure we REALLY don't have any
3778 * tabular.C (TeXCellPreamble): fixed the left border problem for
3781 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
3783 * LaTeX.C (deplog): Make sure that the main .tex file is in the
3786 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3788 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
3789 LFUN_BREAKPARAGRAPH.
3791 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
3792 help test to "internal only", similar for LFUN_INSERT_URL
3794 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
3795 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
3796 auto_region_delete and deadkeys.
3798 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
3801 * LColor.C: remove some dead entries, tidy a little
3803 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3805 * lyxfunc.C (processKeySym): comment the Escape handling, remove
3807 (Dispatch): implement LFUN_ESCAPE
3809 * commandtags.h: add LFUN_ESCAPE
3811 * LyXAction.C (init): add entry for LFUN_ESCAPE
3813 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
3814 Remove commented code.
3815 (insertNote): moved here
3816 (open_new_inset): moved here
3818 * BufferView[2].[Ch]: move insertNote and open_new_inset to
3821 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3823 * kbmap.C (findbinding): clean it up and make it work correctly.
3825 * lyx_main.C (init): do not pass argc and argv as parameters
3827 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
3829 * buffer.C: fix path for OS/2 & Win32
3833 * lyx_main.C: Added os:: class.
3835 * os2_defines.h: update
3837 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3839 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
3840 better by trying again with reduced state.
3842 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3844 * lyxrc.C (read): print error about invalid key sequence only when
3845 debugging (because not all latinX keysyms are known to some X
3848 * kbsequence.C (getiso): add a few std:: qualifiers
3849 (getiso): comment out extra return statement.
3851 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
3853 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
3855 (Dispatch): enhance the accent inset a bit. (not perfect)
3857 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3859 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
3861 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3863 * bufferlist.C (emergencyWrite): fix assert() call
3865 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
3867 * text.C (InsertChar): Added trivial patch to only send the "you
3868 can not do multiple spaces this way" message once during a
3871 2001-05-08 Baruch Even <baruch@lyx.org>
3873 * Makefile.am: Changed order of libraries to get LyX to link properly
3874 with the gnome frontend.
3876 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3878 * LaTeXFeatures.h: add a std:: qualifier
3880 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
3882 * paragraph.C (String): use stringstream
3884 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3886 * paragraph.C (writeFile): remove footflag arg
3888 * buffer.C (makeLaTeXFile): use stringstream
3889 (latexParagraphs): remove footnot gurba
3891 * LaTeXFeatures.C (getPackages): use stringstream
3892 (getMacros): likewise
3893 (getTClassPreamble): likewise
3894 (getFloatDefinitions): new method
3896 * paragraph.C (writeFile): reindent
3899 * WorkArea.h: revert the xpos + etc changes.
3901 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
3903 * lyxparagraph.[Ch]: add copy constructor, remove Clone
3905 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
3906 (pasteSelection): likewise
3907 * text2.C (CreateUndo): likewise
3909 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3911 * minibuffer.C (peek_event): temporarily reduce the functionality
3912 of the minibuffer (to allow args on lfuns)
3914 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
3915 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
3917 * buffer.C (readInset): add compability reading of old float
3918 lists, add reading of new style float list.
3919 (readInset): avoid reevaluation of inscmd.getCmdName()
3920 (getLists): reindent
3922 * MenuBackend.C (MenuItem): implement parsing of
3923 md_floatlistinsert and md_floatinsert.
3924 (expand::LastFiles): move initalizaton of iterators out of loop,
3926 (expand::Documents): introduce typdedef vector<string> Strings,
3928 (expand::ExportFormats): introduce typedef vector<Format const *>
3929 Formats, and use it.
3930 (expand): implement FloatListInsert and FloatInsert.
3932 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
3933 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
3934 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
3936 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
3938 (Dispatch::LFUN_FLOAT_LIST): implement
3940 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3942 * LaTeX.C (run): Fix problem with --export code.
3944 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3946 * BufferView.[Ch] (workarea): removed.
3947 (getClipboard) new method; wrapper for workarea()->getClipboard()
3949 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
3952 * WorkArea.h (width, height, xpos, ypos): These methods all
3953 returned the dimensions of the work_area sub-area of WorkArea,
3954 resulting in a position error if the WorkArea were resized. Now
3955 return the dimensions of the entire WorkArea.
3957 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
3959 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3961 * LaTeX.C (deplog): correct the syntax of regex reg1
3963 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3965 * undo.C: remove !NEW_INSETS cruft
3967 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3969 * text2.C: remove !NEW_INSETS cruft
3971 * text.C: remove !NEW_INSETS cruft
3973 * tabular.C: remove !NEW_INSETS cruft
3975 * spellchecker.C: remove !NEW_INSETS cruft
3977 * lyxtext.h: remove !NEW_INSETS cruft
3979 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
3981 * lyxfunc.C: remove !NEW_INSETS cruft
3983 * lyxfind.C: remove !NEW_INSETS cruft
3985 * lyx_cb.C: remove !NEW_INSETS cruft
3987 * figureForm.C: remove !NEW_INSETS cruft
3989 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
3991 * buffer.[Ch]: remove !NEW_INSETS cruft
3993 * ToolbarDefaults.C: remove !NEW_INSETS cruft
3995 * CutAndPaste.C: remove !NEW_INSETS cruft
3997 * BufferView_pimpl.C: remove !NEW_INSETS cruft
3999 * BufferView2.C: remove !NEW_INSETS cruft
4001 * BufferView.h: remove !NEW_INSETS cruft
4003 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4005 * Lsstream.h: include LString.h before the sstream headers to
4006 fix problem with gcc 2.95.3 and lyxstring
4008 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4010 * lyx_main.C: add using directives when needed for C functions
4011 declared in std:: namespace.
4013 2001-04-27 Juergen Vigna <jug@sad.it>
4015 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
4016 (SetHeightOfRow): comment out the update call should not be needed!
4018 2001-04-13 Juergen Vigna <jug@sad.it>
4020 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
4021 (LyXTabular): tried to minimize operator= operations (and realized
4022 hopfully Lars wish).
4024 2001-04-27 Juergen Vigna <jug@sad.it>
4026 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
4028 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
4030 * lyxfunc.C (Dispatch): hack to make listof algorithm work
4032 * buffer.C (readInset): hack to make listof algorithm work
4034 * BufferView_pimpl.C: hack to make listof algorithm work
4036 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4038 * LyXAction.C: removed all !NEW_INSETS cruft
4039 (init): moved lfun_item in method
4041 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
4043 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4045 * BufferView2.C (theLockingInset): white space.
4047 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4049 * minibuffer.C: include <iostream>
4051 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
4053 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
4055 * commandtags.h: add LFUN_TRANSPOSE_CHARS
4057 * text.[Ch] (TransposeChars): new method
4059 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4061 * call message directly through LyXView instead of through LyXFunc
4062 * BufferView2.C: adjust
4063 * BufferView_pimpl.C: adjust
4064 * FontLoader.C: adjust
4066 * bufferview_funcs.C: adjust
4067 * converter.C: adjust
4068 * figureForm.C: adjust
4069 * importer.C: adjust
4071 * lyx_gui_misc.C: adjust
4075 + more files in subdirs
4077 * lyxparagraph.h (size): move up int file
4080 * adjust all uses of Assert to lyx::Assert.
4082 * BufferView2.C (ChangeCitationsIfUnique): adjust for
4083 lyxfunctional in namespace lyx
4084 * layout.C (hasLayout): ditto
4087 (delete_layout): ditto
4088 (NumberOfClass): ditto
4089 * converter.C (GetFormat): ditto
4094 * bufferlist.C (getFileNames): ditto
4095 (emergencyWriteAll): ditto
4098 * MenuBackend.C (hasSubmenu): ditto
4101 * BufferView_pimpl.C (getInsetByCode): ditto
4103 2001-04-18 Juergen Vigna <jug@sad.it>
4105 * vspace.C (asLatexString): fixed the 100% problem.
4107 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4109 * lyxfunc.C (Dispatch):
4111 * minibuffer.h: add a few std:: qualifiers
4113 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4115 * minibuffer.[Ch]: reimplement so that commands is initiated and
4116 run from lyxfunc, simplified som handling, and made the completion
4117 and history code for complete. wip.
4119 * lyxfunc.C (processKeySym): call message
4120 (miniDispatch): new temporary method
4121 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
4122 (LFUN_MESSAGE): implement
4123 (LFUN_MESSAGE_PUSH): implement
4124 (LFUN_MESSAGE_POP): implement
4125 (initMiniBuffer): the initial/defualt minibuffer message.
4127 * lyxfont.[Ch]: inline some more getters
4129 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
4131 * lyx_gui_misc.[Ch] (WriteStatus): remove method
4133 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
4134 (AutoSave): use LFUN_MESSAGE
4135 (Reconfigure): ditto
4137 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
4139 * figureForm.C: use LFUN_MESSAGE
4141 * converter.C (runLaTeX): use LFUN_MESSAGE
4143 * bufferview_funcs.C: use LFUN_MESSAGE
4145 (changeDepth): ditto
4147 * bufferparams.h: use boost::
4149 * bufferlist.h: inherit privately from noncopyable
4151 * bufferlist.C (loadLyXFile): remove some commented code.
4153 * buffer.C (runChktex): use LFUN_MESSAGE
4155 * ShareContainer.h: inherit privately from noncopyable
4157 * ParagraphParameters.[hC] (depth): inline it.
4159 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
4161 (message): new method
4162 (messagePush): ditto
4164 (show): init minibuffer
4165 (showState): direct call
4167 * LaTeX.[Ch]: inherit privately from noncopyable
4168 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
4169 instead of WriteStatus.
4171 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
4173 * BufferView_pimpl.C (buffer): don't init minibuffer
4174 (workAreaButtonPress): use LFUN_MESSAGE
4175 (workAreaButtonRelease): ditto
4176 (savePosition): ditto
4177 (restorePosition): ditto
4178 (MenuInsertLyXFile): ditto
4179 (workAreaExpose): don't init minibuffer
4180 (update): remove commented code, simplify
4182 * BufferView2.C (openStuff): use LFUN_MESSAGE
4183 (toggleFloat): ditto
4186 (copyEnvironment): ditto
4187 (pasteEnvironment): ditto
4192 (updateInset): remove some commented code
4194 * lastfiles.h: inherit privately from noncopyable
4199 * lyxlex_pimpl.h: ditto
4201 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
4202 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
4203 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
4205 * LyXAction.h: inherit privately from noncopyable, add methods
4206 func_begin, func_end, returning iterators to the func map.
4208 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
4209 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
4210 (func_begin): new method
4211 (func_end): new method
4213 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
4215 (copySelection): ditto
4216 (pasteSelection): ditto
4218 * BufferView.C: whitespace change
4219 * BufferView.h: inherit privately from noncopyable
4221 2001-04-16 Allan Rae <rae@lyx.org>
4223 * tabular-old.C (l_getline):
4224 * spellchecker.C (sc_check_word):
4225 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
4226 an unrecognised preprocessor directive. So ensure they're wrapped.
4228 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
4230 * src/exporter.C (Export): Give an error message when path to file
4233 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
4235 * LaTeX.C (deplog): Always check that foundfile exists.
4237 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4240 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
4242 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4244 * tabular.[Ch] (getLabelList): implement new method
4246 * minibuffer.h: comment ouf setTiimer
4248 * minibuffer.C (ExecutingCB): constify res
4249 (peek_event): constify s
4250 (Set): constify ntext
4251 (Init): constify nicename
4253 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
4255 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
4256 (savePosition): use two params to Minibuffer::Set
4257 (restorePosition): ditto
4259 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4261 * lyx_main.C: include language.h
4263 * Makefile.am (lyx_main.o): add language.h
4265 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4271 * CutAndPaste.C: include gettext.h
4273 * lyxfont.h: remove old hack with ON and OFF.
4276 * lyxfont.h: do not include language.h...
4281 * bufferview_funcs.C:
4287 * paragraph.C: ... but do it here instead
4289 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4291 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
4293 * tabular.C: small reformat
4295 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
4298 (BreakParagraph): ditto
4299 (SetOnlyLayout): ditto
4302 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
4305 * lastfiles.C: removed most using decl, add std:: where needed
4307 * buffer.C: ws changes
4309 * MenuBackend.C (class compare_format): put into anon namespace
4310 (expand): constify label, names, action, action2
4313 * text.C (SingleWidth): constify font
4314 (IsBoundary): constify rtl2
4315 (GetVisibleRow): constify ww
4317 * LaTeX.C (deplog): constify logfile
4319 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
4321 (workAreaExpose): constify widthChange, heightChange
4323 * lyxrow.C (par): moved
4326 * lyxrow.h: as inlines here
4328 * lyxfont.h (shape): moved from lyxfont.C
4329 (emph): moved from lyxfont.C
4331 * lyxfont.C (LyXFont): use initialization list for all
4333 (shape): move to lyxfont.h as inline
4334 (emph): move to lyxfont.h as inline
4337 2001-04-04 Juergen Vigna <jug@sad.it>
4339 * vspace.C: had to include stdio.h for use of sscanf
4341 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
4344 * BufferView_pimpl.h: remove xforms cruft. Both classes are
4345 independent of xforms.
4347 2001-04-02 Juergen Vigna <jug@sad.it>
4349 * spellchecker.C: fixed namespace placing!
4351 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
4353 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
4354 the LyXParagraph * is 0.
4356 2001-03-29 Juergen Vigna <jug@sad.it>
4358 * vspace.C: added support for %, c%, p%, l%.
4359 (stringFromUnit): added helper function.
4360 (asLatexString): changed to give right results for the %-values.
4362 * buffer.C: convert the widthp in a width%.
4364 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
4366 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
4369 * figureForm.[Ch]: stripped the FD_from_figure manipulation
4370 code out of lux_cb.[Ch], ready for its (imminent?) removal.
4372 * lyx_cb.[Ch]: see above.
4374 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
4378 * lyx.[Ch]: replaced by figure_form.[Ch].
4382 * lyxfunc.C: changed headers associated with above changes.
4384 2001-03-27 Juergen Vigna <jug@sad.it>
4386 * BufferView_pimpl.C: set the temporary cursor right!
4388 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
4390 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
4392 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
4394 * LString.h: removed "using std::getline"!
4396 * BufferView_pimpl.C (Dispatch): changes due to changes in
4397 InsetInclude::Params.
4399 * buffer.C (tag_name): removed redundant break statements as they were
4400 producing lots of warnings with my compiler.
4402 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4404 * LString.h: add "using std::getline" when using the real <string>.
4406 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
4408 * buffer.C: removed bitset usage.
4409 PAR_TAG moved to an anonymous name space.
4410 (tag_name): new funtion, also in the anonymous namespace.
4411 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
4412 (makeDocBookFile): clean code. Completed transition from string arrays
4414 (SimpleDocBookOnePar): code clean.
4416 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4418 * tabular.C: add some comments.
4420 2001-03-22 Juergen Vigna <jug@sad.it>
4422 * buffer.C (parseSingleLyXformat2Token): redone the minipage
4423 compatibility read a bit and fixed bug with minipage in different
4426 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
4428 * buffer.C (pop_tag): removed.
4429 (push_tag): removed.
4430 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
4431 array replaced with vector. Added support for CDATA sections.
4432 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
4434 (makeDocBookFile): XML conformant declaration of CDATA section,
4435 fixed bug related to <emphasis> in the first paragraph char.
4436 (sgmlOpenTag): exclude empty tags.
4437 (sgmlCloseTag): ditto.
4439 * buffer.h (pop_tag): removed.
4440 (push_tag): removed.
4442 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
4444 * language.h (Languages): added size_type and size().
4446 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4448 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
4449 response on compability reading of minipages. One probliem is that
4450 the old usage of minipages was «flertydig»
4452 * several files here and in subdirs: don't use static at file
4453 scope use anon namespaces instead.
4455 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
4457 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
4458 LaTeX output. This is necessary for Literate document
4461 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4463 * buffer.C: insert hfill when needed.
4465 * tabular.C (l_getline): use string::erase, small whitespace change.
4467 * BufferView_pimpl.C: try the anon namespace.
4470 2001-03-16 Juergen Vigna <jug@sad.it>
4472 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
4473 otherwise it won't open options-dialogs.
4475 * buffer.C: honor pextraWidth(p) on converting minipages.
4477 * tabular.C (l_getline): changed the functions to strip trailing \r.
4479 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
4481 * BufferView_pimpl.C:
4482 * minibuffer..C: added "using SigC::slot" declaration.
4484 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4486 * lyxlex_pimpl.h: noncopyable is in namespace boost.
4492 * paragraph.C: ditto
4494 * lyxtext.h: NO_PEXTRA
4496 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
4498 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
4499 * ParameterStruct.h: ditto
4500 * ParagraphParameters.h: ditto
4501 * lyxparagraph.h: ditto
4503 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4505 * buffer.C: add compability for minipage alignment.
4506 (latexParagraphs): remove unwanted pextra check.
4508 * several files: remove CXX_WORKING_NAMESPACES
4510 * buffer.C (pop_tag): tie is in namespace boost
4512 * BufferView.h: noncopyable is in namespace boost
4517 * lastfiles.h: ditto
4518 * bufferlist.h: ditto
4519 * ShareContainer.h: ditto
4521 * LyXAction.h: ditto
4524 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
4526 * Merging changes from BRANCH_MVC back into HEAD.
4528 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
4530 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
4532 * BufferView_pimpl.C: change from intl.C
4536 * Makefile.am: move combox.*
4542 * intl.C: remove dialog (covered by prefs)
4544 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
4546 * lyxfunc.C (Dispatch): removed redundant break statement.
4548 2001-03-14 Juergen Vigna <jug@sad.it>
4550 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
4552 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4554 * buffer.C: add hack to fix compability reading of minipages.
4556 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
4558 * buffer.C (getLists): Cleanup.
4560 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4562 * lyxfont.C (update): don't honor toggleall on font size.
4564 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
4568 * Makefile.am: moved to frontends/xforms/
4572 * BufferView_pimpl.C: changes for moved mathpanel
4574 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4576 * gettext.h: fix gettext_init() in --disable-nls
4578 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4580 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
4582 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
4585 * lyx.h: strip external form
4587 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4589 * BufferView_pimpl.C: add comment, destroySplash()
4591 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4593 * BufferView_pimpl.C:
4597 * lyxfunc.C: use re-worked insetinclude
4599 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4601 * buffer.C: add using std::stringstream.
4603 * lyx_cb.C: readd using std::ios.
4605 * buffer.C: add using std::map.
4607 * BufferView_pimpl.C: add using std::vector.
4609 * ShareContainer.h: add std:: to swap.
4611 * buffer.h: add some typedefs
4612 * buffer.C (getLists): use them
4613 (getLists): renamed from getTocList.
4614 add a counter for the different float types and use it in the
4616 (getLists): use the same counter for the NEW_INSETS and the "non"
4619 * lyx_cb.h: remove unused items, includes, using etc.
4621 * ShareContainer.h: remove some commented code, add more comments
4622 and "documentation".
4624 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4626 * buffer.C (getTocList): make the list also when NEW_INSETS is
4629 * buffer.h: remove TocType
4631 * buffer.C (getTocList): change to return a map<string,
4632 vector<TocItem> >, implement for dynamic number of list.
4634 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
4635 * text2.C (PasteSelection): adjust
4636 * CutAndPaste.C (pasteSelection): adjust
4638 * FloatList.C (FloatList): update from the new_insets branch.
4639 * Floating.[Ch]: ditto
4640 * LaTeXFeatures.C: ditto
4642 * lyxlex_pimpl.C: ditto
4644 * paragraph.C (Last): remove when NEW_INSETS is defined.
4646 * other file: changes because of the above.
4648 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4650 * lyxparagraph.h: rename next to next_, previous to previous_,
4651 make them private for NEW_INSETS. Rename Next() to next(),
4652 Previous() to previous().
4654 * other files: changes because of the above.
4656 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
4659 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
4662 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4664 * main.C (main): pass lyx_localedir to gettext_init().
4666 * gettext.h: remove locale_init and gettext_init macros
4668 * gettext.C (locale_init): new function
4669 (gettext_init): new function
4671 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
4674 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
4676 * Moved credits to frontends:
4677 * credits.[Ch]: removed
4678 * credits_form.[Ch]: removed
4679 * lyx_gui_misc.C: remove credits stuff
4682 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4684 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
4686 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
4687 unneeded destructor.
4689 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
4690 a standalone pointer again.
4692 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
4694 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
4700 * ToolbarDefaults.C:
4709 * BufferView_pimpl.C: use new file dialog in GUII
4712 * lyx_cb.C: remove LayoutsCB to Toolbar
4714 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4716 * ShareContainer.h (get): add std:: qualifier
4718 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4720 * ShareContainer.h: define a proper ShareContainer::value_type
4721 type (and use typename to please compaq cxx)
4723 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4725 * lyxparagraph.h: move serveral local vars to
4726 ParameterStruct/ParagraphParameters., use ShareContainer in
4727 FontTable., make vars in FontTable private and add getter and
4730 * paragraph.C: changes because of the above.
4732 * lyxfont.h: remove copy constructor and copy assignment. (the
4733 default ones is ok), move number inside FontBits. move inlines to
4736 * lyxfont.C: add number to initializaton of statics, move several
4737 inlines here. constify several local vars. some whitespace
4738 cleanup. Dont hide outerscope variables.
4740 * Spacing.h: add two new constructors to match the set methods.
4742 * ShareContainer.h: new file, will perhaps be moved to support
4744 * ParameterStruct.h: new file
4746 * ParagraphParameters.h: new file
4748 * ParagraphParameters.C: new file
4750 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
4751 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
4753 * BufferView_pimpl.C: ParagraphParameter changes.
4754 * buffer.C: Likewise.
4755 * bufferview_funcs.C: Likewise.
4757 * text2.C: Likewise.
4759 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4761 * lyxfind.C (LyXReplace): do not redefine default argument in
4763 (IsStringInText): ditto
4764 (SearchForward): ditto
4765 (SearchBackward): ditto
4767 2001-03-06 Juergen Vigna <jug@sad.it>
4769 * lyxfind.C (IsStringInText): put parentes around expressions.
4771 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
4773 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
4775 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
4777 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
4779 * stl_string_fwd.h: add comment
4781 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
4784 * tabular.C: remove unused DocBook methods
4790 killed DO_USE_DEFAULT_LANGUAGE
4792 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4794 * lyx_gui.C: do not include language.h.
4796 * bufferview_funcs.C (ToggleAndShow): do not provide optional
4797 arguments in function implementation.
4799 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4801 * BufferView_pimpl.C: add <ctime>
4803 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4805 * BufferView_pimpl.C: add using std::find_if
4807 2001-02-27 José Matos <jamatos@fep.up.pt>
4809 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
4812 2001-02-11 José Matos <jamatos@fep.up.pt>
4814 * buffer.C (makeDocBookFile): command styles now have a parameter as
4817 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
4819 * layout_forms.[Ch]: removed
4820 * lyx_cb.[Ch]: out character
4821 * lyx_gui.C: out character
4822 * lyx_gui_misc.C: out character
4823 * bufferview_funcs.C: : out character,
4824 added toggleall as parameter in ToggleAndShow
4826 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
4828 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
4830 * text2.C (SetCurrentFont): Disable number property at boundary.
4832 2001-02-26 Juergen Vigna <jug@sad.it>
4834 * lyxfunc.C (getStatus): added a string argument override function so
4835 that this is correctly called from LyXFunc::Dispatch if it contains a
4836 do_not_use_argument which is used!
4837 (Dispatch): added check for "custom" export and call appropriate func.
4839 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
4841 * lyxrc.C: Add language_command_local, language_use_babel and
4842 language_global_options.
4844 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
4846 * buffer.C (makeLaTeXFile): Use language_use_babel and
4847 language_global_options.
4849 2001-02-23 Juergen Vigna <jug@sad.it>
4851 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
4852 which works with LyXText and putted it inside BufferView. Here now we
4853 only call for that part the BufferView::Dispatch() function.
4855 * BufferView.C (Dispatch): added.
4857 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
4858 functions which needs to use a LyXText over from LyXFunc.
4859 (MenuInsertLyXFile): added
4860 (getInsetByCode): added
4861 (moveCursorUpdate): added
4862 (static TEXT): added
4864 2001-02-22 Juergen Vigna <jug@sad.it>
4866 * BufferView_pimpl.C (update): call a status update to see if LyXText
4869 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4871 * vc-backend.C (revert): implement for CVS
4872 (getLog): implement for CVS
4874 2001-02-20 Juergen Vigna <jug@sad.it>
4876 * text2.C (ClearSelection): added BufferView param for inset_owner call
4878 * lyxfunc.C (TEXT): added this function and use it instead of
4879 directly owner->view()-text of getLyXText().
4881 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
4883 * src/layout_forms.C: out preamble
4884 * src/layout_forms.h: out preamble
4885 * src/lyx_cb.C: out preamble
4886 * src/lyx_cb.h: out preamble
4887 * src/lyx_gui.C: out preamble
4888 * src/lyx_gui_misc.C: out preamble
4889 * src/lyxfunc.C: connect with guii preamble
4891 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
4893 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
4895 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
4897 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
4898 whether to run bibtex.
4900 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
4902 * Makefile.am (lyx_SOURCES): Remove BackStack.h
4904 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4906 * Makefile.am (lyx_SOURCES): removed bibforms.h
4910 * text.C (GetVisibleRow): make several local vars const
4912 * tabular.C: small cleanup.
4914 * lyxserver.C (callback): use compare instead of strncmp
4916 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
4917 inlines to after class or to paragraph.C
4919 * lyxfont.h: remove friend operator!=
4921 * converter.h: move friend bool operator< to non friend and after
4924 * combox.h: small cleanup
4926 * buffer.h: doxygen, remove unused constructor, move inclas inlies
4927 to inlines after class def.
4929 * buffer.C (pop_tag): use string operations instead of strcmp
4931 * bmtable.c: doxygen, small cleanup
4933 * LaTeX.h: remove friend operator==
4935 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
4947 * BufferView_pimpl.C:
4948 * BufferView.[Ch]: remove cruft
4950 2001-02-14 Juergen Vigna <jug@sad.it>
4952 * lyxfunc.C: removed #if 0 unused code
4954 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
4956 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
4958 * text2.C (SetSelection): added a BufferView * parameter
4960 2001-02-13 Juergen Vigna <jug@sad.it>
4962 * lyxfunc.C (Dispatch): fixed protected blank problem.
4963 * BufferView2.C (protectedBlank): added LyxText * parameter.
4965 * tabular.C (AppendRow): forgot to set row_info of newly added row.
4966 (AppendColumn): same as above for column_info.
4968 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
4969 (moveCursorUpdate): use a LyXText param for support of InsetText.
4971 * BufferView_pimpl.C (doubleClick): added support for InsetText.
4972 (tripleClick): ditto
4974 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
4976 * BufferView_pimpl.C (update): added LyXText param to honor insets.
4978 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
4980 * text2.C (SetSelection): set correct update status if inset_owner
4983 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
4985 * tabular.C: remove some commented code.
4987 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
4989 * BufferView_pimpl.C: call hideSplash()
4991 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
4994 * bibforms.h: remove
4997 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
4998 add LFUN_CHILD_CREATE
5000 * counters.h: fix tiny typo
5005 * lyx.C: move splash to frontends/xforms/
5007 * lyx_gui_misc.C: move Include and Bibform to frontends
5009 * lyxvc.h: clarify comment
5011 * vspace.C: tiny housekeeping
5013 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
5015 * text.C (PrepareToPrint): RTL Fix.
5017 * paragraph.C (GetUChar): New method.
5018 (String): Use GetUChar.
5020 * buffer.C (asciiParagraph): Use GetUChar.
5022 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
5024 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
5026 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
5029 * buffer.C: rename to getLogName(), handle
5030 build log / latex log nicely
5032 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5035 * MenuBackend.h: remove support for reference menuitem type.
5037 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
5039 * BufferView_pimpl.C: housekeeping
5040 * BufferView_pimpl.h:
5045 * minibuffer.h: move Timeout GUI-I
5047 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
5049 * lyxrc.C (read): Update converters data-structures.
5051 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
5053 * LaTeX.h (operator!=): add operator != for Aux_Info
5055 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
5057 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
5059 * LaTeXLog.C: deleted, useful code moved to Buffer
5062 * buffer.C: new function getLatexLogName()
5068 * lyxfunc.C: use frontends for LaTeX and VC logs
5070 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5072 * LaTeX.h: yet another std:: that Allan forgot.
5074 * Variables.C (set): renamed from isset(), because this clashes
5075 with some HP-UX macros (grr).
5077 2001-02-06 Allan Rae <rae@lyx.org>
5079 * LaTeX.h: Another bug fix. Missing std:: this time.
5081 2001-02-04 Allan Rae <rae@lyx.org>
5083 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
5084 floats problem. I've left it commented out because it's not quite
5085 correct. It should also test that the current object is a table or
5086 figure inset. But I haven't gotten around to figuring out how to do
5087 that. I *think* it'll be something like: "table" == inset.type()
5089 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
5092 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
5094 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
5095 all the citation/databases/styles in the auxilary file.
5096 (run): Rerun latex if there was a babel language error.
5098 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
5100 * text.C (Backspace): Preserve the font when changing newline char
5102 (BreakParagraph): If the cursor is before a space, delete the space.
5104 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
5106 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5108 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
5109 new argument (code).
5110 (ChangeCitationsIfUnique): New method.
5112 * paragraph.C (GetPositionOfInset): Handle bibkey.
5114 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5116 * BufferView_pimpl.h: change type of Position::par_pos to
5117 LyXParagraph::size_type.
5119 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
5121 * BufferView_pimpl.C (savePosition, restorePosition): Write
5122 messages to minibuffer.
5124 2001-01-28 José Matos <jamatos@fep.up.pt>
5126 * buffer.C (makeDocBookFile): adds support for document language.
5127 A silly restriction on the name of LatexCommand types where removed.
5128 Added support for CDATA sections, allows to chars unescaped, used
5129 among others in code, to avoid escape < and >.
5131 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
5133 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
5134 saved positions instrad of a stack. Furthermore, a position is
5135 stored using paragraph id/paragraph position.
5137 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
5138 Remove LFUN_REF_BACK.
5140 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
5142 * converter.C (dvipdfm_options): New method.
5144 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
5146 * vspace.C (isValidLength): Fix for empty input string.
5148 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5150 * LyXAction.C (init): change description of LFUN_FIGURE to
5153 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5155 * LaTeX.C: add using directive
5157 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
5159 * MenuBackend.C (expand): Fix the sorting of the formats.
5161 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
5163 * lyx_main.C: tiny error message fix
5165 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5167 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
5168 calling fl_initialize(). This fixes the problem with ',' as
5169 decimal separator in text files.
5171 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
5173 * trans.C (process): Fix the keymap bug.
5175 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
5177 * LaTeX.C (scanAuxFiles): New method. Provides support for
5178 multiple bibliographies (when using the bibtopic/bibunits pacakges).
5179 (scanLogFile) Scan for "run BibTeX" messages.
5181 * buffer.C (makeLaTeXFile): Do not load the ae package when using
5182 OT1 font encoding. Also, load the aecompl package if the ae
5185 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
5187 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5189 * texrow.C (increasePos): turn two error messages into debug
5192 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
5194 * LaTeX.C (scanAux): Handle the \@input macro.
5195 (runBibTeX): Use scanAux().
5197 * language.C (latex_options_): New field.
5199 * LaTeXFeatures.C (getMacros): Add language macros.
5201 * buffer.C (makeLaTeXFile): Small fix.
5203 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5205 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
5207 * text2.C: add a using directive.
5209 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
5214 * lyxfunc.C: kill LyXBell.
5216 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
5218 * text.C (IsBoundary): Remove the error message
5220 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
5222 * lyxrc.C (setDefaults): Correct initialization value for
5225 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
5227 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
5230 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
5233 * src/LyXAction.C: Added reference-next.
5235 * text.C (InsertChar): Use contains instead of strchr.
5237 * lyx_cb.C (MenuInsertLabel): Enable default value code.
5239 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
5241 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
5242 alignment commands (when needed).
5244 * text.C (InsertChar): Add ':' to number separator chars.