1 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * most files: ws cleanup
5 * buffer.[Ch]: ws changes
7 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9 2002-03-21 Juergen Vigna <jug@sad.it>
11 * tabular.C (SetMultiColumn): collapse also the contents of the
12 cells and set the last border right. Added a Buffer const * param.
14 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
16 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
19 2002-03-19 Juergen Vigna <jug@sad.it>
21 * text2.C (clearSelection): reset also xsel_cache.
23 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
24 where it needs to be called (John tells us to do so too :)
25 (selectionLost): reset sel_cache.
27 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
29 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
31 * text2.C (setCursorIntern): put debuging code in INSETS channel
33 2002-03-19 André Pönitz <poenitz@gmx.net>
35 * lyxfunc.C: tiny whitespace change
37 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
39 * ToolbarDefaults.C (init):
42 * BufferView_pimpl.C (Dispatch):
43 * lyxfunc.C (dispatch): remove LFUN_DEPTH
45 2002-03-19 Allan Rae <rae@lyx.org>
47 * exporter.C (Export): removeAutoInsets before doing anything else.
48 While I've just introduced a dependency on BufferView this really is
49 the best place to clean the buffer otherwise you need to cleanup in
50 a dozen places before calling export or cleanup in a dozen functions
53 * converter.C (runLaTeX):
54 (scanLog): Better handling of removeAutoInsets and screen updates.
56 * lyxfunc.C (dispatch): small whitespace changes
58 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
60 * WorkArea.C (C_WorkAreaEvent): return a value.
61 (event_cb): return 1 if we handled the event, 0 otherwise.
63 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
65 2002-03-18 Juergen Vigna <jug@sad.it>
67 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
68 (GetAdditionalWidth): ditto.
72 * BufferView2.C (copy): use getLyXText() so that we do it inside an
73 inset if we're there actually (probably not used right now but this
74 is the direction to go for unifying code).
75 (paste): disable code to clear the selection.
77 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
78 inside an InsetText and move the check further up as it is in the
81 * text2.C (pasteSelection): set a selection over the pasted text.
83 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
85 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
86 and libgraphics to build on Cygwin.
88 2002-03-15 Juergen Vigna <jug@sad.it>
90 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
91 inserting an Inset into the paragraph. I know this is not the best
92 fix but we already use current_view in CutAndPaste so we will remove
93 all of it's using at the same time.
95 * buffer.C (sgmlError): deactivated function till it is rewritten in
96 the right mode, now it can create problems.
98 * paragraph.C (isLineSeparator): check if getInset returns != 0,
101 2002-03-14 Juergen Vigna <jug@sad.it>
103 * undo_funcs.C (textHandleUndo): do the right thing when updating
104 the inset after the undo/redo.
106 * text2.C (setCursor): just some testcode for #44 not ready yet.
108 * undo_funcs.C (textHandleUndo): set the next() and previous()
109 pointers of the paragraph to 0 before deleting otherwise we have
110 problems with the Paragraph::[destructor].
112 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
113 on a paragraph insertion.
115 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
117 * buffer.C (asciiParagraph): use += operator for char append to
120 * paragraph.C (getFontSettings): compare >= not just >
121 (highestFontInRange): ditto
124 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
126 * paragraph.C: change several algorithm to be more appripriate for
127 the problem domain. This is lookip in FontList and in the InsetList.
129 2002-03-13 André Pönitz <poenitz@gmx.net>
132 * LyXAction.C: remove unused LFUN_MATH_MACROARG
134 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
139 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
141 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
143 * Painter.C (display): anon helper function, adjust code for this
145 (pixmap): remove function.
147 * Painter.h: remove private display variable.
149 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
151 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
153 * WorkArea.[Ch]: remove figinset_canvas cruft.
155 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
157 * lyxtextclass.C (operator): add one item cache optimization.
159 * bufferlist.h: doxy changes
161 * bufferlist.C: ws changes
163 * DepTable.[Ch] (ext_exist): place const in the right spot.
165 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
167 (workAreaExpose): call resizeInsets when the with BufferView changes.
168 (Dispatch): adjust for protectedBlank removal
169 (specialChar): call updateInset if the insert went ok.
171 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
174 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
176 * BufferView.h: doxy change
178 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
180 * lyxtextclass.C (operator[]): remove non-const version
181 (defaultLayout): remove non-const version
183 2002-03-12 Juergen Vigna <jug@sad.it>
185 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
186 did resize the LyXText too.
188 * buffer.C (readLyXformat2): set layout information on newly allocated
191 * tabular.C (OldFormatRead): set layout information on the paragraph.
193 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
195 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
197 2002-03-11 Juergen Vigna <jug@sad.it>
199 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
201 (resizeCurrentBuffer): force also the insets to resize themselfes.
202 (moveCursorUpdate): fixed up for InsetText.
204 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
207 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
208 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
209 value of Dialogs::tooltipsEnabled().
210 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
212 2002-03-08 Juergen Vigna <jug@sad.it>
214 * BufferView_pimpl.C (updateInset): update inset inside inset also
215 if it isn't inside theLockingInset().
217 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
219 * buffer.C (asciiParagraph): redo some of the word and line length
221 (getLists): look for Caption instead of caption.
223 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
225 * buffer.C (Buffer): initialize niceFile to true
228 (makeDocBookFile): make sure niceFile is true on exit
230 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
232 * buffer.C (makeLaTeXFile): escape ~ in \input@path
234 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
236 * LyXSendto.C: remove.
237 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
238 * lyx_gui.C: remove now-redundant comment.
239 * ColorHandler.h: remove forward declaration of class WorkArea.
240 * lyxfunc.C: remove #include "WorkArea.h".
242 2002-03-07 Juergen Vigna <jug@sad.it>
244 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
245 got moved away with the DEPM and also set the inset_owner always
246 right which before could have been omitted.
248 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
250 * buffer.C (parseSingleLyXformat2Token): use default layout is the
251 wanted layout is not found.
253 2002-03-07 Juergen Vigna <jug@sad.it>
255 * CutAndPaste.C (cutSelection): another layout settings forgotten.
257 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
259 * paragraph.C (breakParagraph): use default layout not layout of
261 (Paragraph): clear ParagraphParameters.
263 2002-03-06 Juergen Vigna <jug@sad.it>
265 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
266 otherwise it would not be a valid lenght. Fixed a special case in
267 the minipage compatibility read where we end the document with a
270 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
271 was set as it could be 0 for InsetTexts first entry.
273 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
275 * paragraph.C (writeFile): if layout is empty write out
278 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
279 file without named layout we set layout to defaultLayoutName().
281 2002-03-06 Juergen Vigna <jug@sad.it>
283 * CutAndPaste.C (copySelection): set layout for new paragraph.
285 * text.C (prepareToPrint): leave ERT inset left aligned
286 (leftMargin): don't indent paragraphs inside ERT insets
288 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
290 * paragraph.C (breakParagraph): dont call clear do the work manually
292 * paragraph.[Ch] (clear): remove function
294 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
296 * paragraph.C (Paragraph): dont call clear, the work has already
299 * lyxtextclass.C (operator): assert if n is empty
301 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
302 work manually instead.
304 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
306 * BufferView_pimpl.C: protect selectionLost against text == 0
308 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
310 * text.C (breakParagraph): fix a setting layout to '0' problem.
312 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
314 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
315 final location of file, for the included files, and graphics.
317 2002-03-05 Juergen Vigna <jug@sad.it>
319 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
321 2002-03-04 Juergen Vigna <jug@sad.it>
323 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
325 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
326 last column of multicolumn cells.
327 (SetWidthOfMulticolCell): recalculate NMC and real columns.
329 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
331 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
332 file if it doesn't go to a temporary file.
334 * buffer.C (sgmlOpenTag):
335 (sgmlCloseTag): remove extra newline insertion.
337 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
339 * text.C (getRowNearY): comment out debug msg
341 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
343 * text2.C: first -> first_y
345 * text.C (getRowNearY): add some attemts at a possible
346 optimization, not working.
348 * tabular.[Ch]: add BufferParams to several function so that newly
349 created paragraph can be initialized to he default layotu for the
352 * tabular-old.C (ReadOld): add buf->params to call of Init
354 * screen.C: rename text->first to text->first_y
356 * paragraph.C (breakParagraph): always set layout in the broken
359 * lyxtextclass.C (Read): remove lowercase
362 (delete_layout): ditto
364 * lyxtext.h: rename first -> first_y
366 * lyxlayout.C (Read): remove lowercase
369 (obsoleted_by): ditto
371 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
373 * buffer.C (insertErtContents): add params are to InsetERT
374 (parseSingleLyXformat2Token): add code to check if a paragraphs
376 (parseSingleLyXformat2Token): add params to several inset
378 (asciiParagraph): remove lowercase, do the layout comparisons with
381 * BufferView_pimpl.C (cursorNext): first -> first_y
382 (resizeCurrentBuffer): first -> first_y
383 (updateScrollbar): first -> first_y
384 (scrollCB): first -> first_y
385 (workAreaMotionNotify): first -> first_y
386 (workAreaButtonPress): first -> first_y
387 (checkInsetHit): first -> first_y
388 (cursorPrevious): first -> first_y
389 (cursorNext): first -> first_y
390 (Dispatch): add buffer_->params to severl inset contructors
392 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
394 * lyxlayout.C (Read): remove some debug info that I forgot.
396 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
397 clean up the code slightly.
398 (makeLinuxDocFile): ditto
399 (makeDocBookFile): ditto
401 * text2.C: layout as string
403 * text.C: layout as string
405 * paragraph_pimpl.C: layout as string
407 * paragraph.[Ch]: layout as string
409 * lyxtextclasslist.[Ch]: layout as string
411 * lyxtextclass.[Ch]: layout as string
413 * lyxtext.h: layout as string
415 * lyxlayout.[Ch]: layout as string
417 * lyx_cb.C: layout as string
419 * bufferview_funcs.C: layout as string
421 * bufferparams.C: layout as string
423 * buffer.C: layout as string
425 * LyXView.[Ch]: layout as string
427 * LaTeXFeatures.[Ch]: layout as string
429 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
431 * BufferView_pimpl.C: change current_layout to string, remove
436 (workAreaButtonRelease): layout as string
438 * BufferView2.C (unlockInset): adjust
440 * vspace.C (asLatexCommand): use an explict temp variable.
442 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
444 * Makefile.am: use FRONTEND_*
446 2002-03-01 Juergen Vigna <jug@sad.it>
448 * tabular.C (SetWidthOfMulticolCell): changed to something better
449 I hope but still work in progress.
450 (recalculateMulticolumnsOfColumn): renamed function from
451 recalculateMulticolCells as it is more appropriate now.
452 (SetWidthOfCell): calculate multicols better.
454 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
456 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
458 * lyxfunc.C (processKeySym): print sequence also if it is
461 * kbsequence.C (print): print sequence even if it is deleted
462 (complete would be a better word, actually).
464 * lyxfunc.C (dispatch): print complete options after a prefix key
466 * vspace.C (asLatexCommand): rewrite in a slightly different form.
468 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
470 * text2.C (setCharFont): eliminate setCharFont code duplication.
472 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
474 * BufferView_pimpl.C (Dispatch): remove bogus handling of
475 LFUN_TABULAR_FEATURE (bug #177)
477 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
479 * Makefile.am: remove figure.h
481 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
483 * Bufferview_pimpl.C:
495 * text2.C: remove #include "lyx_gui_misc.h".
497 * LaTeX.C: added #include <cstdio>
499 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
501 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
502 that the paragraph following this one can have.
504 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
506 * vspace.C (asLatexCommand): fix bogus gcc warning
508 * Makefile.am (lyx_SOURCES): remove vms_defines.h
510 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
512 * text2.C (setLayout): get rid of redundant code
514 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
516 * text2.C (incDepth): make sure depth cannot be increased beyond
519 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
521 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
522 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
524 * PainterBase.h (image):
525 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
528 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
532 * BufferView_pimpl.C:
533 * BufferView_pimpl.h:
553 * sp_spell.C: remove fig inset, and the crap house of
554 cards that follows it
556 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
562 * nt_defines.h: move .h into support/
564 * vms_defines.h: remove
566 * WorkArea.C: add space in debug output
570 * buffer.C: add WITH_WARNINGS
574 * bufferlist.C: s/retrive/retrieve/, add docs
585 * lyxgui.C: add ID to X error handler
587 * lyxtestclass.c: fix typo
589 2002-02-26 Juergen Vigna <jug@sad.it>
591 * tabular_funcs.C (write_attribute): changed so that some default
592 attributes are not written at all.
593 (getTokenValue): set default values before trying to read the
594 value so we have the return value always set as default if we don't
595 find the token we search for.
597 * tabular.C (Write): write bools as bools not as strings!
599 2002-02-22 Juergen Vigna <jug@sad.it>
601 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
602 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
604 * text.C (leftMargin): don't add an indent for paragraphs inside
605 tabular cells (fix #208).
607 2002-02-21 José Matos <jamatos@fep.up.pt>
609 * tabular.C (docBook): fixed support for long tables.
611 2002-02-20 Juergen Vigna <jug@sad.it>
613 * text2.C (getFont): get the drawing font of the Inset if this
614 paragraph is inside an inset (only important for InsetERT for now).
616 * buffer.C (insertErtContents): use new lanugage params in ERT
619 * CutAndPaste.C: commenting out seemingly uneeded code.
621 2002-02-19 Allan Rae <rae@lyx.org>
623 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
624 Iterators might be simple to use but they also get invalidated.
625 (removeAutoInsets): renamed saved cursor tracking variables and added
626 some comments to clarify what everything does.
628 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
635 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
636 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
639 * vc-backend.h: remove #include "support/syscall.h"
643 * converter.C: rearrange #includes in Lars' approved fashion.
645 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
646 forward declare class Timeout in the header file.
648 * XFormsView.C: changes due to the above.
650 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
653 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
654 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
656 2002-02-18 José Matos <jamatos@fep.up.pt>
658 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
661 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
663 * a lot of small ws changes
664 * add a lot of using std::XXX
665 * use std construcs some places where approp.
666 * use some exisint stuff from lyxfunctional where approp.
667 * Make file changes to use partial linking (lets test this now...)
669 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
673 remove #include "support/syscontr.h" as it's redundant. Always has been.
681 change Systemcalls::System to Systemcalls::Wait and
682 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
683 No change of functionality, just reflects the stripped down Systemcalls
686 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
688 * debug.[Ch]: add a GRAPHICS type to the enum.
690 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
692 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
694 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
697 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
699 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
700 match the changes below.
702 * text2.C (toggleInset): if there is not editable inset at cursor
703 position, try to see if cursor is _inside_ a collapsable inset
706 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
708 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
709 document menu has a nice checkbox
711 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
713 * lyxlength.C (asLatexString): change PW to output as percent of
716 * lengthcommon.C: change '%' to 't%'
718 * lyxfunc.C (dispatch): a few comments from Martin
720 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
724 * BufferView_pimpl.h:
725 * BufferView_pimpl.C: clear our selection when X tells us we've lost
728 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
730 * vspace.C (inPixels): fix compiler warning
732 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
734 * lyxfunc.C (getStatus): fix status message for disabled commands.
736 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
738 * BufferView_pimpl.C: fix crash on close buffer
739 during selection (#227)
741 2002-01-27 Herbert Voss <voss@lyx.org>
743 * buffer.C: link old Figure to new graphic inset
745 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
747 * FontLoader.C (getFontinfo): Change the latex font names in order
748 to match the names of type1inst.
750 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
752 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
754 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
757 (remove_files_with_extension): ditto
761 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
762 document is smaller than the work area height. Do not initialize
763 static variables to 0.
765 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
767 * lyx_gui.C (init): give the toolbar tooltips a normal font.
769 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
770 LFUN_LAYOUT_PARAGRAPHS.
772 * tabular.C (GetCellFromInset): new method. Finds an inset in a
773 tabular. It is possible to provide a possible cell, which will
774 typically be the actcell from the corresponding insettabular
776 * lyxfunc.C (getStatus): small cleanup; disable
777 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
780 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
782 * tabular.C (Validate): remove broken optimization (fixes bug #201)
784 * paragraph.C (startTeXParParams):
785 (endTeXParParams): new methods. The LaTeX code to
786 start/end paragraph formatting
787 (simpleTeXOnePar): call startTeXParParams also when paragraph is
788 empty (fixes bug #200)
790 * vspace.C (inPixels): adapt to the change below
791 (inPixels): [later] more cleanups (remove unused variables)
793 * lyxlength.C (inPixels): change to use a width and a height as
796 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
798 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
799 Replaced with \paperwidth
801 * DepTable.C (insert): add std:: qualifier
803 2002-01-18 Allan Rae <rae@lyx.org>
805 * text2.C (removeRow): add comment. Should other refresh_?? vars be
808 * text.C (drawInset): Turned out I didn't know enough about how
809 rebreaking worked. This fixes most of the redraw problems. I see
810 an occasional cursor trail when a line is broken now and the cursor
811 placement can seem out by a few pixels also after a rebreak.
813 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
815 * buffer.C (parseSingleLyXformat2Token): update because minipage
816 width is now a LyXLength
818 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
820 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
823 2002-01-17 Juergen Vigna <jug@sad.it>
825 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
827 * BufferView2.C (lockInset): call edit() so that theLockingInset()
828 is set correctly and the inset is updated correctly.
830 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
832 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
833 the beginning of the loop.
835 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
837 * lyxrc.C: improve help for use_scalable_fonts
839 2002-01-17 Allan Rae <rae@lyx.org>
841 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
843 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
845 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
846 make sure to set their inset_owner to the right value (bug #171)
848 2001-12-12 Ben Stanley <bds02@uow.edu.au>
851 * DepTable.C: Implement mtime checking to reduce time spent doing
854 2002-01-16 Juergen Vigna <jug@sad.it>
856 * tabular.C (GetAdditionalHeight): one of error fixed.
858 * lyxrc.C (output): small fix in writing use_pspell.
860 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
862 * sp_base.h: #include LString.h
864 2002-01-16 Allan Rae <rae@lyx.org>
866 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
867 Can someone check this please?
869 * text.C (drawInset): It was possible that p.row would be removed by
870 breakAgainOneRow upsetting a few other settings. There may be another
871 small tweak possible by setting need_break_row = 0 when p.row has been
872 removed but I don't know enough about the logic here.
874 2002-01-15 Allan Rae <rae@lyx.org>
876 * text.C (insertChar): removed conditional truism.
878 * BufferView2.C (removeAutoInsets): More tweaks.
879 cur_par_prev could be a stray pointer. Check for trailing empty line
880 in case last line was cur_par and only had an error inset on it.
882 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
884 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
887 * vc-backend.C (most methods):
888 * exporter.C (Export):
889 * converter.C (convert):
891 * LyXSendto.C (SendtoApplyCB):
892 * lyxfunc.C (dispatch):
896 * lyx_cb.C (AutoSave):
898 * BufferView_pimpl.C (MenuInsertLyXFile):
899 * buffer.C (runChktex): use Buffer::filePath().
901 * buffer.h: rename filename to filename_; rename filepath to
902 filepath_ and make it private
903 (filePath): new method
905 * buffer.C (writeFile): use fileName()
908 * lyx_main.C (init): fix starting of LyX when the binary is a
909 link from so,ewhere else.
911 * minibuffer.C: include <cctype> for isprint
913 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
915 * buffer.C (parseSingleLyXformat2Token): changes associated with the
916 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
917 name clash with InsetCollapsable's width function.
919 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
921 * lastfiles.C: include <iterator>
923 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
925 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
928 * buffer.C (makeLaTeXFile): ditto.
929 Also make loop operation more transparent.
931 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
933 * ToolbarDefaults.C: remove trailing comma closing namespace.
935 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
937 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
940 * trans.C (Load): comment out unused variable, allowed.
942 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
944 * minibuffer.[Ch] (append_char): new method to recieve input from the
945 drop-down completion browser. If a key was pressed, then recieve this
946 char and append it to the existing string.
947 (peek_event): modify the positioning data passed to the completion
948 browser so that it can be placed above the minibuffer rather than below.
949 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
951 * LyXAction.C (init): alloe error-next for readonly documents.
953 * BufferView2.C (ChangeRefsIfUnique): use standard version of
956 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
958 * bufferlist.C (readFile): create the buffer _after_ checking that
961 * lyxfunc.C (verboseDispatch): fix handling of arguments
963 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
965 * lyxrc.C: use string::erase() instead of initializing to "".
968 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
970 * BufferView_pimpl.h:
971 * BufferView_pimpl.C:
974 * text2.C: tell X when we have made a selection for copying
976 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
978 * BufferView_pimpl.C (MenuInsertLyXFile):
979 * lyxfunc.C (menuNew):
981 (doImport): add shortcuts to directory buttons
983 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
986 * lyxfunc.C (setStatusMessage):
987 (getStatusMessage): new methods
988 (getStatus):use setStatusMessage instead of setErrorMessage
989 (dispatch): when function is disabled, set error message here
990 [instead of in getStatus previously]
992 * BufferView_pimpl.C (workAreaButtonRelease): update
993 toolbar/menubar here too.
995 2002-01-13 Allan Rae <rae@lyx.org>
997 * BufferView2.C (removeAutoInsets): finished off earlier fix.
998 Now seems indestructible. Remaining task is to audit all other
999 code affected by deleteEmptyParagraphMechanism. One small quirk
1000 left is that an empty document with an error in the preamble can
1001 be made to report an error but no error box appears. I don't know
1003 (removeAutoInsets): Improved comments.
1005 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
1008 * Thesaurus.C: update for Aiksaurus 0.14
1010 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1012 * text2.C (firstParagraph): removed member function, all uses
1013 replaces with ownerParagraph
1014 (redoParagraphs): here
1016 (toggleAppendix): here
1017 * BufferView2.C (insertErrors): here
1018 (setCursorFromRow): here
1020 2002-01-13 Allan Rae <rae@lyx.org>
1022 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
1023 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
1024 There is still a way to segfault this although you may have to do this
1025 multiple times: Have an InsetERT with an unknown command in it.
1026 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
1027 <down-arrow>, <Enter> again, View->DVI, BANG!
1029 * text2.C (setCursor):
1030 (deleteEmptyParagraphMechanism):
1031 * lyxtext.h (setCursor):
1032 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
1033 Making use of the return value may help fix other bugs.
1035 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1037 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
1039 * LyXView.C (updateMenubar): call MenuBar::update here
1040 (updateToolbar): but not here
1041 (showState): do not update toolbar/menubar
1043 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
1044 should need to care about that.
1046 * lyxfunc.C (verboseDispatch): simplify a bit
1047 (getStatus): have a version which takes a pseudoaction, and
1048 another which requires a (kb_action,string).
1050 * LyXAction.C (retrieveActionArg): make it work also when action
1051 is not a pseudo-action.
1052 (getActionName): simplify a bit
1055 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1057 * lyxfunc.C (verboseDispatch): new families of methods with
1058 several ways to specify a command and a bool to indicate whether
1059 the command name and shortcut should be displayed in minibuffer
1060 (eventually, we could extend that to a finer bitmask like
1061 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
1062 (dispatch): the pristine dispatch command which just, well,
1063 dispatchs! Note it still sets its result to minibuffer; I'm not
1066 * lyxfunc.h: remove setHintMessage
1068 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
1070 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1072 * BufferView_pimpl.C (specialChar): delete new inset if we have
1073 not been able to insert it.
1075 * kbmap.C: revert to using int instead of kb_action, since all we
1076 are dealing with is pseudo-actions.
1078 * LyXAction.C (searchActionArg): change to return int instead of
1079 kb_action, since the result is a pseudoaction.
1081 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
1083 * buffer.C (insertErtContents): Fix (partially) the font bug.
1085 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
1087 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
1088 as the other one is broken on my machine!
1090 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
1093 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
1095 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
1097 * lyxrc.[Ch]: change names and descriptions of popup font variables to
1098 reflect their actual use. Provide compatibility code for older lyxrc
1101 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
1103 change names of popup font variables in line with the changes to lyxrc.C
1105 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1107 * buffer.C (asciiParagraph): avoid outputing a word twice after
1110 * lyxrc.C (getDescription): document that document_path and
1111 template_path can be empty.
1113 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1115 * LaTeXFeatures.C (getMacros):
1116 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
1118 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
1120 * LaTeXFeatures.C (useFloat): require "float" here instead of in
1122 (getPackages): rename feature "floats" to "float". Use an array to
1123 iterate over 'simple' features (i.e. just a \usepackage). Add
1124 handling of "amsmath" (renamed from "amsstyle").
1126 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
1128 * LaTeXFeatures.C (require): Prevent duplicate entries in the
1131 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
1133 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
1134 FuncStaus::FuncStatus & FuncStaus::some_method().
1136 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
1138 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
1139 of the func_satus stuff. Edited and massaged in various ways by
1142 * lyxfunc.C (getStatus): use FuncStatus
1144 2002-01-08 Juergen Vigna <jug@sad.it>
1146 * text.C (nextBreakPoint): use function Inset::isChar().
1148 * paragraph.C (TeXOnePar): use function
1149 Inset::forceDefaultParagraphs.
1151 * buffer.C (latexParagraphs): use function
1152 Inset::forceDefaultParagraphs.
1154 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1156 * lyx_gui.C (init): set the style of the menu popups to
1157 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
1159 2002-01-07 Juergen Vigna <jug@sad.it>
1161 * text.C (setHeightOfRow): small fix
1162 (prepareToPrint): don't look at alignment if we don't have the place
1165 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1167 * box.C: New file. Move the Box methods and functions out of box.h,
1168 following Lars' suggestion.
1170 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1172 * box.h: #include "support/LOstream.h", needed for inlined function.
1175 * lyxtextclasslist.C: added some using std declarations.
1177 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
1179 * box.h: make signed dimensions to allow insets wider than
1180 the screen (bug #162)
1182 * BufferView_pimpl.C: add some insetHit debug
1184 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1186 * vc-backend.C: add FIXME
1188 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1190 * lyxfunc.C (getStatus): enable code for showing math font status
1193 2002-01-07 Juergen Vigna <jug@sad.it>
1195 * text.C (nextBreakPoint): removed debug output not needed anymore.
1197 2002-01-06 Juergen Vigna <jug@sad.it>
1199 * text.C (nextBreakPoint): fixed up this function we had this bug
1200 since ever but now hopefully we break row better.
1201 (insertChar): we have to check if an inset is the next char as it
1202 could now happen that a large inset is causing a break.
1204 2002-01-05 Juergen Vigna <jug@sad.it>
1206 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
1207 if it doesn't like to be drawed.
1209 2002-01-04 Juergen Vigna <jug@sad.it>
1211 * BufferView2.C (lockInset): forgot to set a cursor.
1213 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
1215 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
1220 * form_maths_panel.C:
1221 * form_maths_panel.h:
1222 * form_maths_panel.fd: implemented sub- and super- buttons in math
1225 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
1226 (or ^ space) to be used as in TeX (req'd by André).
1228 * lyxfunc.C: Allow ^ and _ again to be used both as
1229 super/subscript (mathed) and as themselves (in text).
1231 2002-01-03 Allan Rae <rae@lyx.org>
1233 * LyXView.C (updateWindowTitle): Setup a short icon title of either
1234 "LyX" or the filename of the current buffer if it has one. This is a
1235 modified form of John Levon's patch.
1237 * XFormsView.C (setWindowTitle): also set icon title.
1239 * LyXView.h (setWindowTitle): signature changed.
1240 * XFormsView.h (setWindowTitle): ditto.
1242 2002-01-02 Juergen Vigna <jug@sad.it>
1244 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
1246 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1248 * screen.C (topCursorVisible): introduce a temp var for
1249 text->cursor.row(), handle the case where this row is null. (kindo
1252 * text2.C (setCursor): add a couple of asserts.
1254 * paragraph.h (inset_iterator): add -> operator
1256 * paragraph.[Ch] (autoDeleteInsets): remove member function
1258 * BufferView2.C (removeAutoInsets): rewrite to handle the old
1259 cursor pos correctly and handle inset deletion by itself.
1260 (insertErrors): move iterator declaration out of for expression
1262 * lyxtextclass.C: add <algorithm>
1264 * Makefile.am: added the new files to sources, removed layout.C
1266 * layout.C: removed file
1268 * layout.h: remove LYX_DUMMY_LAYOUT
1270 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
1274 * lyxtextclass.[Ch]:
1275 * lyxtextclasslist.[Ch]: new files
1277 * include order changes to a lot of files, also changes because of
1280 2001-12-27 Juergen Vigna <jug@sad.it>
1282 * buffer.C (asciiParagraph): more fixes.
1284 * tabular.C (ascii): make ascii export support export of only the
1285 data separated by a column-delimiter.
1286 (ascii): better support for ascii export.
1288 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
1290 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1292 * tabular_funcs.C: use a "using std::getline" instead of the
1293 previous fix from Angus (necessary for cxx + lyxstring)
1295 2001-12-24 Juergen Vigna <jug@sad.it>
1297 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
1299 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
1300 problems. First check a minipage also if we have some ert-contents
1301 (not only on par->size(), second set the right depth of the paragraph
1302 on the relink to the root-paragraph-list!
1304 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
1305 which then did not anymore update the main paragraphs on undo/redo!
1307 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1309 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
1310 code. Support all font-changing funcs (even those which are not in
1311 menu currently). Support for reporting font settings in
1312 mathed (disabled until Andre provides a function on mathed's side).
1314 * func_status.h (toggle): small helper function to set toggle
1317 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
1319 * tabular_funcs.C: getline -> std::getline
1321 2001-12-21 Juergen Vigna <jug@sad.it>
1323 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
1324 accessed and could be 0 (I couldn't generate this but it seems
1327 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1329 * tabular_funcs.C: add LIstream.h, move write_attribute to..
1330 * tabular_funcs.h: here and include iosfwd
1332 2001-12-20 Juergen Vigna <jug@sad.it>
1334 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
1335 inside inset but undo_par was.
1337 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1339 * Thesaurus.C: always include <config.h> in sources.
1343 * box.h: do not include <config.h> in header files
1345 * text.C (paintLastRow): remove unused variable
1347 * text.C (transformChar):
1349 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
1352 * font.C (width): rewrite to use uppercase() instead of
1355 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
1357 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
1359 * lyxfind.C: clean up of find failure position change
1361 2001-12-20 Juergen Vigna <jug@sad.it>
1363 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
1365 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
1366 (TeXRow): added to LaTeX a single tabular row.
1367 (TeXLongtableHeaderFooter): added to output LT-h/f data.
1368 (Latex): simplified and finally good LT-h/f support.
1369 (various_functions): just small adaptions for LT-h/f support.
1371 * tabular_funcs.[hC]: added and moved here all not classfunctions
1374 2001-12-19 Juergen Vigna <jug@sad.it>
1376 * tabular.[Ch]: better support for longtabular options (not finished
1379 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1381 * text.C (paintLastRow): use the label font instead of the font of
1382 the last character to compute the size of *_BOX. This makes more
1383 sense and avoids a crash with empty paragraphs.
1384 Use Painter::rectangle to draw EMPTY_BOX.
1386 2001-12-19 Juergen Vigna <jug@sad.it>
1388 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
1389 the paragraphs if the replaced paragraph is not the first one!
1390 Tried to delete not used paragraphs but does not work yet so for
1391 now it's inside #ifdef's and by default off!
1393 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1395 * MenuBackend.C: include "lyx_main.h" instead of declaring
1396 lastfiles (actually was declared as LastFiles* instead of a
1399 2001-12-17 Juergen Vigna <jug@sad.it>
1401 * tabular.C (AppendColumn): applied John's fix
1403 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
1407 * BufferView_pimpl.h:
1408 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
1411 * box.h: new start of class for above
1413 * lyxfunc.C: ignore space-only minibuffer dispatches.
1414 Show the command name when it doesn't exist
1416 * minibuffer.C: don't add empty lines to the history
1418 * minibuffer.C: add a space on dropdown completion
1420 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
1422 * text.C: fix line above/below drawing in insets
1424 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
1426 * lyxlength.C (LyXLength): Initialize private variables.
1428 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
1430 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
1431 when inserting error insets.
1433 2001-12-13 Juergen Vigna <jug@sad.it>
1435 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
1436 actually sometimes the before-paragraph.
1437 (setUndo): don't clear the redostack if we're not actually undoing!
1439 2001-12-06 Juergen Vigna <jug@sad.it>
1441 * undo_funcs.C (textHandleUndo): well after John's hint I got here
1442 and fixed redoing of main paragraph, so we can use it now ;)
1444 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
1446 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1448 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
1451 2001-12-13 André Pönitz <poenitz@gmx.net>
1454 * undo_func.C: minor cleanup
1456 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1458 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
1459 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
1460 font in urw-fonts package which is marked as -urw-fontspecific and
1461 does not work (incidentally, changing the encoding in the
1462 fonts.dir of this package to -adobe-fontspecific fixes the
1465 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
1466 is a crash when undoing first paragraph (Juergen, please take a
1467 look). THis does not mean the undo fix is wrong, just that it
1470 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
1471 the (Paragraph*) version when needed instead of duplicating the
1474 * text.C (workWidth): use Inset::parOwner to find out where the
1475 inset has been inserted. This is a huge performance gain for large
1476 documents with lots of insets. If Inset::parOwner is not set, fall
1477 back on the brute force method
1479 * paragraph_pimpl.C (insertInset):
1480 * paragraph.C (Paragraph):
1481 (cutIntoMinibuffer): set parOwner of insets when
1482 inserting/removing them
1484 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
1486 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
1492 * mathed/formulabase.C:
1493 * mathed/math_cursor.[Ch]:
1494 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
1497 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1499 * lyxlength.[Ch] (operator!=): new function
1501 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1503 * text.C (workWidth): use Inset::parOwner to find out where the
1504 inset has been inserted. This is a huge performance gain for large
1505 documents with lots of insets. If Inset::parOwner is not set, fall
1506 back on the brute force method
1508 * paragraph_pimpl.C (insertInset):
1509 * paragraph.C (Paragraph):
1510 (cutIntoMinibuffer): set parOwner of insets when
1511 inserting/removing them
1513 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
1515 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1517 * tabular-old.C (getTokenValue):
1518 * tabular.C (getTokenValue):
1519 (write_attribute): new versions for LyXLength
1520 (everywhere): adjust the use of widths
1522 * tabular.h: change the type of widths from string to LyXLength
1524 2001-12-11 Ben Stanley <bds02@uow.edu.au>
1526 * paragraph.C: fixed missing line number count when exporting
1527 Environments to LaTeX file
1529 * buffer.C: added informational message for checking line numbers.
1531 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1533 * text2.C (deleteEmptyParagraphMechanism): if there is only one
1534 paragraph, do the 'double space' part, but not the 'empty
1537 * text.C (workWidth): small optimization
1538 (getLengthMarkerHeight): use minimal size for negative lengths.
1540 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
1542 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
1544 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
1546 2001-12-11 André Pönitz <poenitz@gmx.net>
1549 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
1551 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1553 * text2.C: keep selection on a setFont()
1555 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1557 * lyx_cb.C: another bv->text misuse, from insert label
1559 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
1562 * kbsequence.C: re-instate nmodifier mask
1564 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
1566 * lyx_main.h: make lyxGUI private.
1568 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1570 * lyxfind.C: place the cursor correctly on failed search
1572 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1574 * text.C (getLengthMarkerHeight): for small heights, the arrows
1575 are not always on top/bottom of the text
1576 (drawLengthMarker): smaller arrows; take the left margin in
1577 account; draw also vfills.
1579 (paintLastRow): remove special code for vfill and standard spaces,
1580 since everything is handled in drawLengthMarker now.
1582 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1584 * buffer.C (insertErtContents): try to handle font and language
1585 interaction a bit better.g
1587 * ColorHandler.C (updateColor): change the hash to cover the whole
1588 LColor enum, ws cleanup
1589 (getGCLinepars): ditto
1590 (getGCLinepars): only lookup in the linecache once.
1592 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
1594 * iterators.C (operator++): Make the iterator more robust
1596 * BufferView2.C (removeAutoInsets): Use paragraph iterators
1598 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
1600 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1603 * text.C: better added space drawing
1605 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1608 * BufferView2.C: fix layout combo update on inset unlock
1610 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1612 * Makefile.am: don't compile unused files
1614 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1618 * LyXAction.C: remove old LFUN_LAYOUTNO
1620 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1622 * paragraph_pimpl.h:
1623 * paragraph_pimpl.C: isTextAt() doesn't need font param
1625 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1628 * lyxlex.C: little cleanup
1630 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1632 * BufferView_pimpl.C: fix insertAscii for insets
1634 2001-12-05 Juergen Vigna <jug@sad.it>
1636 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
1637 set the right font on the "multi" paragraph paste!
1639 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1645 * lyxlength.C: remove out-commented code.
1661 * vc-backend.C: change "while(" to "while ("
1663 * lyxlength.[Ch]: add zero function to check if length is zero or
1665 * lyxgluelength.C: use it
1667 2001-12-05 Allan Rae <rae@lyx.org>
1669 * lyxlength.C: Attempted a fix for the abs(int) header selection.
1670 Works for 2.95.3, from what I understand of Garst's reports this should
1671 work for other g++ versions. We're screwed if the abs(int) definition
1672 changed between bugfix releases of gcc.
1674 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
1676 * text.C: fix chapter label offset !
1678 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
1681 * text.C: fix hfill at end of line, clean up
1683 2001-12-04 Juergen Vigna <jug@sad.it>
1685 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
1686 that we force an update of the inset and it's owners if neccessary.
1688 2001-12-03 Juergen Vigna <jug@sad.it>
1690 * text.C (rowLast): simplified code
1692 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
1694 * lyxfunc.C: fix show options on timeout
1696 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1698 * screen.C (topCursorVisible): scroll half a page when the cursor
1699 reached top of bottom of screen
1701 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
1703 * minibuffer.C: deactivate on loss of focus
1705 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1707 * vspace.[Ch] (operator!=): add operator.
1709 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1711 * BufferView_pimpl.C: refuse to open an inset when
1712 there's a selection.
1714 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
1716 * BufferView_pimpl.C: allow to click on RHS of full row insets
1718 2001-11-30 Juergen Vigna <jug@sad.it>
1720 * tabular.C (LyXTabular): add a same_id to set the same id's in the
1721 insets for undo reasons.
1723 2001-11-28 André Pönitz <poenitz@gmx.net>
1725 * vspace.[Ch]: cosmetical changes
1727 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1737 * kbsequence.C: part re-write of old kb code
1740 * WorkArea.C: remove Lgb_bug_find_hack
1742 2001-11-30 José Matos <jamatos@fep.up.pt>
1744 * buffer.C (makeDocBookFile): add a comment to point a hack.
1745 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
1746 Fixed a double write of labels.
1748 2001-11-29 Ben Stanley <bds02@uow.edu.au>
1751 * LaTeX.h Fixed bug in LaTeX class where it would not
1752 re-run latex if no depfiles were changed, but the .dvi was removed.
1754 2001-11-28 André Pönitz <poenitz@gmx.net>
1756 * all the files from the change on 2001/11/26:
1757 use lyx::layout_type instead of LyXTextClass::size_type
1758 use lyx::textclass_type instead of LyXTextClassList::size_type
1760 2001-11-29 Juergen Vigna <jug@sad.it>
1762 * text.C: added support for paragraph::isFreeSpacing()
1764 * buffer.C: same as above
1766 * paragraph.h: inserted isFreeSpacing() function to enable
1767 FreeSpacing inside InsetERT.
1769 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
1770 of the paragraph's in the cut/copy buffer to 0!
1772 * text2.C (removeRow): remove the assert as it can!
1774 * lyxtext.h: added helper function firstRow returning firstrow and
1775 made firstrow private again.
1777 * BufferView2.C (lockInset): don't relock if we're already locked!
1779 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
1781 (removeRow): added Assert::(firstrow)
1783 * debug.C: forgot to add INSETTEXT here.
1785 2001-11-28 Juergen Vigna <jug@sad.it>
1787 * sp_spell.C (initialize): changed error text to more general
1788 spellchecker command use (not only ispell!)
1790 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
1792 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
1794 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1796 * vspace.C: initialise lyxgluelength on failure
1798 2001-11-28 Allan Rae <rae@lyx.org>
1800 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
1801 declaration & definition that looks like a function declaration.
1803 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1805 * BufferView2.C (copy):
1806 (copyEnvironment): do not clear the selection when doing a copy.
1808 * text.C (paintFirstRow): compilation fix
1810 2001-11-27 Ben Stanley <bds02@uow.edu.au>
1812 * tabular.C (Latex): correct line count when writing latex.
1814 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
1816 * paragraph_pimpl.h:
1817 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
1820 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1824 * LColor.C: change vfillline->added_space
1826 * text.C: add markers and text for added space
1828 * vspace.C: fix comment
1830 2001-11-28 André Pönitz <poenitz@gmx.net>
1832 * paragraph.C: whitespace changes
1833 * all the other files from the change on 2001/11/26:
1834 change *::pos_type into lyx::pos_type
1836 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
1838 * buffer.C (parseSingleLyXformat2Token): Set the language to the
1839 language of the document when inserting error insets.
1841 2001-11-26 André Pönitz <poenitz@gmx.net>
1843 * BufferView_pimpl.[Ch]:
1851 * paragraph_pimpl.[Ch]:
1854 * text2.C: reduce header dependencies, introduce type for positions
1856 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1858 * <various>: change to use Alert.h
1860 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
1862 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
1863 when encountering an unknown token.
1864 (readLyXformat2): Show an error message if there were unknown tokens.
1866 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
1869 * BufferView_pimpl.C:
1873 * text2.C: use par->isInset()
1875 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1877 * paragraph_pimpl.h:
1878 * paragraph_pimpl.C: cleanup
1880 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1882 * text2.C (removeRow):
1883 * text.C (setHeightOfRow): remove useless (and costly) call to
1886 2001-11-20 Allan Rae <rae@lyx.org>
1888 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
1889 Now need Inset*::checkInsertChar() to return true for appropriate
1890 cases so that the characters in the minibuffer will actually be
1893 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
1895 * text.C: change the order of the includes.
1896 (workWidth): initialize it at once.
1897 (workWidth): make maxw unsigned
1898 (setHeightOfRow): remove unused variable (inset)
1899 (selectSelectedWord): remove unused variable (inset)
1900 (paintRowText): fix drawing of hfill characters, and clean up a bit.
1902 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1904 * lyxserver.C (emergencyCleanup): do not try to close pipes if
1905 server is not running.
1907 (closeConnection): add debug info when server is disabled.
1909 * ColorHandler.C (getGCForeground): send debug message to GUI
1912 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
1914 * kbmap.C (bind): modify because return conventions of
1915 kb_sequence::parse have changed.
1917 * kbsequence.C (parse): only ignore spaces and not any stupid
1918 control character. This avoids tests like s[i] <= ' ', which are
1919 guaranteed to fail with 8bit characters and signed chars.
1920 Change return code to string::npos when there have been no error
1921 (0 was a bad idea when error is at first character)
1923 2001-11-14 José Matos <jamatos@fep.up.pt>
1926 * buffer.C (simpleDocBookOnePar): removed unused argument.
1928 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1930 * text.C (selectNextWordToSpellcheck): do not test explicitely for
1931 insets which are part of a word. Paragraph::isLetter takes care of
1932 that now. Use Paragraph::isInset to identify insets.
1933 (selectSelectedWord): do not test for hyphenation break.
1935 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
1936 that protected spaces are considered as spaces.
1938 * paragraph.C (isLetter): cleanup the code for ispell extras; use
1941 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
1944 * lyxserver.C: fix it. and small cleanup.
1946 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
1948 * BufferView_pimpl.C: use inline helpers
1951 * LaTeXFeatures.C: fix typos
1954 * Spacing.C: move spacing_string into class
1956 * ToolbarDefaults.C: move stuff into namespace anon
1958 * layout.h: update enum
1960 * lyxfunc.C: use better debug
1962 * minibuffer.h: fix typo
1966 * WorkArea.C: add and use Debug::WORKAREA
1970 * text2.C: code re-organisation, inline helpers
1972 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
1974 * Layout.C: replaced a few cases of std::vector.size() == 0 with
1975 std::vector.empty().
1977 2001-11-09 Allan Rae <rae@lyx.org>
1979 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
1980 '\n's after tables. Tabular and ERT inset work now makes this no
1983 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
1986 * minibuffer.C: fix crash, improve drop-down completion
1988 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
1991 * lyxserver.C: invalidate fd's when doing endPipe()
1993 2001-11-08 José Matos <jamatos@fep.up.pt>
1995 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
1996 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
1999 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
2001 2001-11-07 José Matos <jamatos@fep.up.pt>
2004 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
2007 * buffer.C (sgmlOpenTag):
2008 * buffer.C (sgmlCloseTag): removed debug info.
2010 * buffer.h (sgmlOpenTag):
2011 * buffer.h (sgmlCloseTag): made public.
2013 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2015 * buffer.C (saveParamsAsDefaults):
2016 * lyx_cb.C (MenuLayoutSave): remove
2018 * LyXAction.C (init):
2020 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
2022 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2024 * buffer.C (setPaperStuff): removed from here...
2026 * bufferparams.C (setPaperStuff): ... and moved there.
2028 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
2032 * XFormsView.C: add support for drop-down completion
2034 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
2036 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
2039 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2041 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
2044 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
2046 * lyx_main.C: change ref to known bugs
2048 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
2050 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
2051 to work around older babel problems.
2053 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
2055 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
2057 2001-10-24 Juergen Vigna <jug@sad.it>
2059 * tabular-old.C (ReadOld): below variable changes reflected.
2061 * tabular.[Ch]: added ltType struct for longtable header/footer
2062 defines and changed all instances where they are used. Added
2063 future support for double top/bottom rows.
2065 2001-10-24 José Matos <jamatos@fep.up.pt>
2067 * buffer.h (docbookHandleCaption):
2068 * buffer.C (docbookHandleCaption): removed unused function.
2069 (makeDocBookFile): moved docbook supported version to v4.1.
2071 2001-10-24 José Matos <jamatos@fep.up.pt>
2074 * tabular.C (docbookRow): new function to export docbook code of a row.
2075 (DocBook): now honors the longtable flags.
2077 2001-10-23 José Matos <jamatos@fep.up.pt>
2080 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
2081 of the lyx defined sgml entities used in a docbook/linuxdoc document.
2083 * buffer.C (makeLinuxDocFile):
2084 (makeDocBookFile): reworked the preamble, more clean, and with
2085 support for lyx defined entities. Changed the document declaration
2086 to be more XML friendly.
2088 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
2089 if we need to output XML that should be done with a filter.
2091 2001-10-22 Juergen Vigna <jug@sad.it>
2093 * sp_pspell.h (class PSpell): add alive function needed in the
2094 controller to see if the spellchecker could be started.
2096 2001-10-22 Juergen Vigna <jug@sad.it>
2098 * buffer.C (insertStringAsLines): modify the font for inserting
2099 chars in certain conditions by calling checkInsertChar(font).
2101 2001-10-19 Juergen Vigna <jug@sad.it>
2103 * text.C (workWidth): use getRow instead of wrong algorithm.
2104 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
2106 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
2111 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
2113 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2115 * text.C (workWidth): do not search for the exact row when
2116 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
2117 optimization for big documents.
2119 2001-10-18 Juergen Vigna <jug@sad.it>
2121 * text.C (workWidth): new function with added Inset * parameter.
2123 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2125 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
2127 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
2128 change return type of getColumnNearX.
2131 * text.C (changeRegionCase): use uppercase/lowercase instead of
2134 (rightMargin): simplify code by factoring out the uses of
2139 (appendParagraph): use Paragraph::size_type
2141 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2143 * vspace.C (asLatexString): add a missing break
2145 2001-10-15 Herbert Voss <voss@perce.de>
2147 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
2149 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2151 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
2154 2001-10-10 André Pönitz <poenitz@gmx.net>
2156 * lyxfunc.C: removed greek_kb_flag.
2158 2001-10-10 Herbert Voss <voss@perce.de>
2160 * lyx_main.C: delete global string help_lyxdir.
2162 2001-10-09 Herbert Voss <voss@perce.de>
2164 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
2166 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
2168 * lyx_main.C: added global string help_lyxdir.
2170 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
2172 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2174 * lyxrc.C (set_font_norm_type): support iso8859-4
2176 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
2178 * LaTeX.C (deplog): add another regex for MikTeX
2180 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
2182 * lyxrc.C (set_font_norm_type): support iso8859-3
2184 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2186 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
2188 * LaTeXFeatures.C: remove special case of french and index
2190 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
2191 before \begin{document}). This solves several incompatibilities.
2193 2001-10-03 Garst Reese <reese@isn.net>
2195 * lyx_cb.C: change CheckTex error msg.
2197 2001-10-03 José Matos <jamatos@fep.up.pt>
2199 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
2201 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2203 * .cvsignore: update
2205 * lyx_main.C (commandLineVersionInfo): use new style version info.
2207 * buffer.C (writeFile):
2210 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
2212 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
2214 * version.h: update to use stuff in version.C
2216 * version.C.in: new file. Contains version information determined
2217 at compile time. This is a merging of version.h and
2220 2001-10-03 Juergen Vigna <jug@sad.it>
2222 * BufferView_pimpl.C (update): don't change "dirty" status in
2225 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
2227 * WorkArea.C (c-tor): re-position version string slightly.
2229 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
2231 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
2232 revert to previous code.
2234 WorkArea.[Ch]: (show, destroySplash): methods removed.
2236 WorkArea.C: rework code so that it's an amalgam of the codes before and
2237 after the splash screen was moved to WorkArea.
2239 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2242 * vspace.C (inPixels):
2245 * buffer.C (insertStringAsLines):
2246 (asciiParagraph): fix types to be large enough
2248 * lyxlex_pimpl.h: change member status from short to int
2250 * layout.h: fix type of endlabeltype
2253 * kbsequence.C (parse): change return type to string::size_type
2255 * LaTeX.C (updateBibtexDependencies): comment out unneeded
2258 * Bullet.C (bulletSize):
2259 (bulletEntry): do not use short ints as parameters
2261 * BufferView2.C (insertLyXFile): change a char to an int.
2263 * WorkArea.C (WorkArea): remove unneeded floats in computation
2265 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
2267 * buffer.C (asciiParagraph): Treat '\\' as other chars.
2269 * paragraph.C (asString): Do not ignore newline/hfill chars when
2270 copying to the clipboard.
2272 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
2274 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
2275 after a multi-line inset.
2277 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
2279 * paragraph.C (validate): Set NeedLyXFootnoteCode
2281 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
2283 * lyxfont.C (LyXSizeNames): changed increase-error to increase
2284 and decrease-error to decrease.
2286 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2288 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
2289 it more readable (should be equivalent)
2291 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
2293 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
2295 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2297 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
2298 of a cursor (row, etc.) after a character has been deleted
2299 (deleteEmptyParagraphMechanism): call the method above on _all_
2300 cursors held by the LyXText when a double space has been
2303 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
2305 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
2307 (resizeCurrentBuff): remove code to destroy the old splash dialog.
2309 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
2310 background. Use greyOut() and the new show() methods to toggle between
2311 the foreground and background. Add code to remove the splash after
2312 its initial showing.
2314 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
2315 (create_forms): no longer call Dialogs::showSplash.
2317 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2319 * .cvsignore: add version_info.h
2321 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2323 * version_info.h.in: new file
2325 * Makefile.am: add version_info.h.in
2327 * lyx_main.C (commandLineVersionInfo): use version_info defined in
2328 version_info.h instead of VERSION_INFO
2330 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
2332 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
2333 The ERT inset now returns string().
2335 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
2337 * lyxtext.h, text.C (selectNextWord): renamed as
2338 selectNextWordToSpellcheck.
2340 * text.C (selectNextWordToSpellcheck): Modified to not select
2341 words inside an ERT inset.
2343 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2345 * lyx_cb.C (MenuLayoutSave): change a bit the question
2347 * sp_base.h: include <sys/types.h>
2349 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
2351 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
2353 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
2355 * several files: fix typos in user-visible strings
2357 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2359 * text2.C (pasteSelection): do not set the selection, since it
2360 will be cleared later. Actually, the intent was to fix the way the
2361 selection was set, but I figured rmoving the code was just as good.
2363 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
2365 * FontLoader.C (available): Check if font is available without
2368 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2370 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
2372 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
2374 * lyxrc.[Ch]: added display_graphics variable and associated code.
2376 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2378 * bufferparams.C (hasClassDefaults): new method. Returns true if
2379 the buffer parameters correspond to known class defaults
2381 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
2383 * XFormsView.C (show): set minimum size to the main window.
2385 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2387 * text2.C (copySelection):
2389 * lyxfind.C (LyXReplace):
2390 * BufferView_pimpl.C (Dispatch): pass the correct flag to
2391 LyXText::selectionAsString.
2393 * paragraph.C (asString): add "label" argument to the second form
2395 * text2.C (selectionAsString): add "label" argument and pass it to
2396 Paragraph::asString.
2398 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2400 * lyx_main.C (commandLineHelp): remove version information
2402 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
2404 * lyx_main.C: add -version commandline option
2406 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
2408 * paragraph.h: make the optional constructor arg required instead.
2409 some modifications to other files because of this.
2411 * minibuffer.C (C_MiniBuffer_peek_event): make it static
2413 * lyxserver.C (C_LyXComm_callback): make it static
2415 * lyx_main.C (error_handler): make it static
2417 * lyx_gui.C (LyX_XErrHandler): make it static
2419 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
2421 * WorkArea.C: make the extern "C" methods static.
2423 * Makefile.am (lyx_LDADD): simplify
2425 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2427 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
2428 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
2430 * LyXAction.C (init):
2431 * lyxfunc.C (dispatch): associated code removal.
2433 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2435 * lyxfont.h (isSymbolFont): shut off warning
2437 * text.C (setHeightOfRow):
2438 (getVisibleRow): fix crash with empty paragraphs which have a
2441 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
2443 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
2446 2001-09-04 José Matos <jamatos@fep.up.pt>
2449 * tabular.C (docbook): rename docBook method to docbook.
2451 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2453 * Makefile.am: add dependencies to main.o.
2455 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
2457 * FontLoader.C (available): Return false if !lyxrc.use_gui
2459 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
2461 * FontInfo.C (query):
2462 * converter.C (view):
2463 * importer.C (Import):
2464 * exporter.C (Export): Can not -> cannot.
2466 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
2468 * BufferView_pimpl.C: allow to create index inset even if
2471 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2473 * buffer.C (getLists): replace boost::tie code with an explicit pair
2474 as boost::tie can break some compilers.
2476 * iterators.h: Added a std:: declaration to the return type of
2479 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
2481 * lyxrc.C: add help for view_dvi_paper_option, default to safe
2484 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
2486 * iterators.[Ch]: New files. Provide paragraph iterators.
2488 * buffer.C (changeLanguage): Use paragraph iterators.
2489 (isMultiLingual): ditto
2491 * BufferView2.C (ChangeInsets): Use paragraph iterators.
2493 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
2495 * FontLoader.C: Support for cmr font.
2497 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
2499 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
2500 (available): New method.
2502 * FontInfo.C (getFontname): Use scalable fonts even when
2503 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
2506 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
2508 * converter.C (Formats::view): reverted! Incorrect fix.
2510 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
2512 * converter.C (Formats::view): only output the -paper option
2513 if the dvi viewer is xdvi, thereby fixing bug #233429.
2515 2001-08-23 Herbert Voss <voss@perce>
2517 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
2519 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
2521 * Spacing.h (Spacing): Set space to Default on in the default
2524 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
2526 * vc-backend.h (RCS::versionString): add RCS to version
2527 (CVS::versionString): add CVS to version
2529 * vc-backend.C (scanMaster): do not add CVS to version.
2530 (scanMaster): do not add RCS to version
2532 * lyxvc.C (versionString): new method
2534 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
2536 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2538 * Spacing.C (set): initialize fval
2540 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
2542 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
2545 2001-08-16 Juergen Vigna <jug@sad.it>
2547 * lyxfunc.C (dispatch): implemented the new FINISHED states.
2549 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
2551 * BufferView_pimpl.C:
2554 * text2.C: setParagraph takes linespacing now
2556 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
2558 * LyxAction.C: add internal LFUN_CITATION_INSERT
2560 * LyXView.C: actually apply fix
2562 * bufferlist.C: fix open non-existent file
2564 * lyxfind.C: fix indentation
2566 * lyxfunc.C: remove unneeded assert, fix typo
2568 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
2570 * MenuBackend.C: use "Floatname List"
2572 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
2574 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
2575 when converting LaTeX layout to insetERT.
2576 Generate a non-collapsed float when reading old float
2578 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
2580 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
2583 2001-08-13 Juergen Vigna <jug@sad.it>
2585 * text.C (fill): return 0 instead of 20 as this seems to be the more
2588 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
2590 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
2593 2001-08-13 Juergen Vigna <jug@sad.it>
2595 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
2597 (SearchBackward): comment out the unlocking of the inset_owner this
2598 should not be needed!
2600 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
2602 * Many files: Remove inherit_language, and add latex_language
2604 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
2607 2001-08-10 Juergen Vigna <jug@sad.it>
2609 * text.C (prepareToPrint): fixed hfill-width in draw!
2611 * BufferView2.C (selectLastWord): save the selection cursor as this
2612 now is cleared in the function LyXText::clearSelection!
2614 2001-08-08 Juergen Vigna <jug@sad.it>
2616 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
2617 BACKSPACE type functions.
2619 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
2620 is only cutted from the document but not put in the cut-buffer, where
2621 still the old stuff should be.
2623 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
2625 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
2627 * tabular.C (SetWidthOfCell): fixed special case where the width
2629 (LeftLine): handle '|' in align_special.
2631 (LeftAlreadyDrawed): ditto
2632 (SetWidthOfCell): ditto
2634 2001-08-07 Juergen Vigna <jug@sad.it>
2636 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
2638 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2640 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
2641 * lyxlex.[hC]: ditto
2643 2001-08-06 Juergen Vigna <jug@sad.it>
2645 * text.C (getVisibleRow): fix up row clearing a bit.
2647 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2649 * minibuffer.C: make sure the X server sees the changes in the input.
2651 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2653 * paragraph.C (getFont): split into...
2654 (getLabelFont): this
2655 (getLayoutFont): and this
2656 * paragraph_pimpl.C (realizeFont): calling this
2658 * text2.C (getFont): split into...
2659 (getLayoutFont): this
2660 (getLabelFont): and this
2661 (realizeFont): all three calling this
2663 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
2666 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2668 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
2670 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
2672 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
2673 layouts from the Quote inset insertion.
2675 2001-08-03 Juergen Vigna <jug@sad.it>
2677 * BufferView_pimpl.C (update): do the fitCursor only at the end!
2679 * screen.C (drawFromTo): don't call fitcursor here and do the loop
2680 only if status not is already CHANGED_IN_DRAW (second level).
2682 * text.C (draw): don't set the need_break_row when inside an
2685 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2687 * buffer.C (parseSingleLyXformat2Token): handle more latex
2690 * bufferview_funcs.[hC]: change function names to
2691 begin with small char, adjust other files.
2693 2001-08-02 André Pönitz <poenitz@gmx.net>
2696 BufferView_pimpl.C: remove broken special code for math-greek
2698 2001-08-02 Juergen Vigna <jug@sad.it>
2700 * BufferView_pimpl.C (update): redone this function so that we
2701 update the text again if there was a CHANGE_IN_DRAW.
2703 * screen.C (cursorToggle): removed LyXText parameter and recoded.
2704 (drawFromTo): added a new internal bool which is used by draw() and
2706 (general): some cursor drawing problems fixed.
2708 2001-08-01 Juergen Vigna <jug@sad.it>
2710 * lyxfind.C (LyXFind): fixed
2711 (SearchForward): ditto
2712 (SearchBackward): ditto
2714 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
2715 spurius drawing of the cursor in the main area.
2717 * text2.C (status): small fix which could lead to a segfault!
2718 (clearSelection): remove unneeded BufferView param.
2720 2001-08-01 André Pönitz <poenitz@gmx.net>
2722 * lyxfunc.C: small change due to changed mathed interface
2724 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2726 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
2728 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
2730 * lyxfunc.c: fail gracefully if file doesn't exist
2735 * BufferView_pimpl.C: IsDirWriteable() proto changed
2737 * LyXView.C: fix updateWindowTitle() to store the last title
2739 2001-07-31 Juergen Vigna <jug@sad.it>
2741 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
2742 the font (wrong since using of Paragraph::highestFontInRange).
2744 * paragraph.C (highestFontInRange): added a default_size parameter.
2746 * text.C (getVisibleRow): minor clear row changes (still not perfect).
2747 (setHeightOfRow): reformat
2749 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2751 * converter.[hC] + affected files: move to (inital-char)lowercase
2754 * ParagraphParameters.C (ParagraphParameters): remove commented code
2756 * PainterBase.[Ch]: remove commented code
2758 * LaTeXFeatures.h: add "bool floats" for float.sty
2760 * LaTeXFeatures.C (LaTeXFeatures): init floats
2761 (require): handle float
2762 (getPackages): do it with floats
2764 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2766 * BufferView_pimpl.C (Dispatch): improve handling of
2767 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
2769 * commandtags.h: #include lyxfont.h here temporarily to avoid
2772 * bufferlist.h: include LString.h here.
2774 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2776 * text2.C (getStringToIndex): new method.
2778 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
2780 * *: Reduced header file dependencies all over.
2782 2001-07-30 Baruch Even <baruch@lyx.org>
2784 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
2786 2001-07-29 Baruch Even <baruch@lyx.org>
2788 * buffer.C (readInset): Changed GRAPHICS to Graphics.
2790 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2792 * ParameterStruct.h (endif): add a default constructor to make
2793 sure that all variables is initialized.
2795 * ParagraphParameters.C (ParagraphParameters): adjust
2797 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2799 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
2800 index; also, check that there is something to index, and that it
2801 does not span over several paragraphs.
2802 (doubleClick): use WHOLE_WORD_STRICT for double click.
2804 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
2806 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
2809 2001-07-26 Baruch Even <baruch@lyx.org>
2811 * buffer.C (readInset): Changed to call up InsetGraphics when reading
2812 an InsetFig figure, backwards compatible reading of old figure code.
2814 2001-07-27 Juergen Vigna <jug@sad.it>
2816 * text2.C: font.realize function adaption.
2818 * text.C (draw): add a warnings lyxerr text if needed.
2820 * layout.C: font.realize function adaption.
2822 * language.C: add inherit_language and implement it's handlings
2824 * bufferview_funcs.C (StyleReset): remove language parameter from
2825 font creation (should be language_inherit now).
2827 * bufferparams.C (writeFile): handle ignore_language.
2829 * paragraph.C (getFontSettings): the language has to be resolved
2830 otherwise we have problems in LyXFont!
2832 * lyxfont.C (lyxWriteChanges): added document_language parameter
2833 (update): removed unneeded language parameter
2835 * paragraph.C (validate): fixed wrong output of color-package when
2836 using interface colors for certain fonts in certain environments,
2837 which should not seen as that on the final output.
2839 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
2841 * BufferView_pimpl.C:
2846 * LyXAction.C: add thesaurus support
2849 * lyxfind.C: add "once" parameter, for thesaurus, to not
2850 move to the next match
2852 2001-07-26 Juergen Vigna <jug@sad.it>
2854 * lyxfont.C (realize): honor ignore_language too!
2857 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
2859 * text.C (draw): one place more for ignore_language to not draw
2862 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
2864 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
2866 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2868 * buffer.C (parseSingleLyXformat2Token): a more general fix for
2869 the minipage conversion problem.
2871 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2873 * buffer.C (parseSingleLyXformat2Token): check minipage if we
2876 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2878 * BufferView.h: don't forward declare WorkArea
2880 * BufferView.C: don't include WorkArea.h
2882 2001-07-25 André Pönitz <poenitz@gmx.net>
2886 * lyxfunc.C: new LFUN 'math-space'
2888 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
2890 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2892 * text2.C (toggleInset): call open/close
2894 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2896 * lyxfunc.C (dispatch): add debug for the disabled case
2898 * font.C (buttonText): make similar to rectText
2900 * buffer.C (readInset): comment out parsing of insetlist and
2903 * PainterBase.C (rectText): small correction
2905 * BufferView_pimpl.C: comment out insettheorem and insetlist
2906 * LyXAction.C: ditto
2907 * commandtags.h: ditto
2909 2001-07-24 Juergen Vigna <jug@sad.it>
2911 * text.C (draw): honor the ignore_language.
2913 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
2915 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2917 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
2920 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2922 * lyxtext.h: remove unused (and unimplemented) methods
2924 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2926 * text.C (getVisibleRow): honor background color
2929 * Painter.h: remove default color argument for fillRectangle
2931 * text.C (backgroundColor): new method
2933 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2935 * text.C (getVisibleRow): adjust
2937 * font.[Ch] (rectText): new method, metrics
2938 (buttonText): new method, metrics
2940 * PainterBase.[hC]: make rectText and buttonText always draw and take
2943 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2945 * ToolbarDefaults.C (read):
2946 * MenuBackend.C (read): allow escaping in all strings
2948 * BufferView_pimpl.C (insertAndEditInset): new method.
2949 (Dispatch): use insertAndEditInset whenever appropriate.
2951 * BufferView_pimpl.C (insertNote): removed
2953 * BufferView_pimpl.C (smartQuote): new method, moved from
2954 BufferView; if an insetquote cannot be inserted, insert a '"'
2957 * BufferView2.C: remove insertCorrectQuote();
2959 * lyxfunc.C (getStatus): Add support for all remaingin
2962 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
2964 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
2965 command (necessary to pass " as parameter of self-insert.
2967 * text.C (selectWordWhenUnderCursor):
2968 (selectWord): add word_location parameter
2969 (selectWordWhenUnderCursor): same + remove special code for word
2971 (selectNextWord): use kind() to guess type of insetspecialchar,
2974 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
2975 (insertErtContents): create ert insets as collapsed.
2976 (readInset): better compatibility code for Info inset.
2978 2001-07-20 Juergen Vigna <jug@sad.it>
2980 * lyxfunc.C (dispatch): use always LyXFind now!
2982 * text2.C (init): add a reinit flag so that the LyXText can be
2983 reinited instead of deleted and reallocated (used in InsetText).
2985 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
2991 2001-07-18 Juergen Vigna <jug@sad.it>
2993 * text.C (selectNextWord): handle insets inside inset by calling
2994 always the bv->text functions so that we can go up the_locking_inset!
2996 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
2997 in strange locations when inside an inset!
2999 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
3000 handling to include insets.
3002 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
3004 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3006 * LyXAction.C (init):
3008 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
3009 LIGATURE_BREAK, since the name is so stupid.
3011 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
3013 * buffer.C (readInset): enable reading of new InsetNotes as well as old
3016 * FontLoader.C: remove FORMS_H_LOCATION cruft.
3018 * sp_form.[Ch]: remove.
3020 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
3022 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
3025 * src/buffer.C (readInset): ditto.
3027 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3029 * BufferView_pimpl.C (specialChar): new method. Obsoletes
3030 menuSeparator(), endOfSentenceDot(), ldots() and
3031 hyphenationPoint(), which are therefore removed.
3032 (Dispatch): handle LFUN_HYPHENATION_BREAK.
3034 * LyXAction.C (init):
3035 * commandtags.h: add LFUN_HYPHENATION_BREAK.
3037 * paragraph.C (getWord): removed.
3039 * BufferView_pimpl.C (Dispatch): use last word or selection for
3040 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
3042 * lyx_main.C (queryUserLyXDir): do not ask before creating
3043 user_dir, except if it has been named explicitely.
3045 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
3047 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
3048 a document of zero size.
3050 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
3052 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
3053 approriately in the c-tor and in require().
3054 (getPackages): output the appropriate LaTeX for natbib support.
3056 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
3057 variables "use_natbib" and "use_numerical_citations" when reading the
3059 (readInset): read the various natbib cite commands.
3060 (validate): white-space change.
3062 * bufferparams.[Ch]: new variables "bool use_natbib" and
3063 "bool use_numerical_citations".
3064 (writeFile): output them in the LyX file.
3066 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3068 * lyxfunc.C (getStatus): add support for all the inset insertion
3071 * text2.C (insertInset):
3072 * paragraph.C (insetAllowed):
3073 * BufferView_pimpl.C (insertInset): update to take in account the
3074 renaming of insertInsetAllowed
3076 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
3078 * text2.C (getInset): new method. returns inset at cursor position.
3080 * BufferView_pimpl.C (Dispatch): changes because of this.
3082 * LyXAction.C (init): rename open-stuff to inset-toggle.
3084 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
3086 * text2.C (toggleInset): renamed from openStuff; use
3089 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3091 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
3093 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
3095 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
3097 * buffer.C (readLyXformat2): Add filename to the error dialog
3099 2001-07-18 Juergen Vigna <jug@sad.it>
3101 * tabular.C (GetCellNumber): put an assert here instead of the check!
3103 2001-07-17 Juergen Vigna <jug@sad.it>
3105 * BufferView_pimpl.C (toggleSelection): adapted too.
3107 * text.C (selectNextWord): adapted for use with insets.
3108 (selectSelectedWord): ditto
3110 2001-07-17 Juergen Vigna <jug@sad.it>
3112 * sp_spell.C (PSpell): fix initialitation order.
3114 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3116 * paragraph.C: spacing
3118 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
3120 * sp_spell.C: repair language selection for pspell
3122 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3124 * lyxfunc.h: change more methods to begin with lower char.
3126 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
3128 * buffer.C (parseSingleLyXformat2Token): Generate error insets
3129 for unknown layouts.
3131 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
3133 * buffer.C (readLyXformat2): Generate an error dialog if there are
3136 2001-07-16 Juergen Vigna <jug@sad.it>
3138 * sp_spell.C: always compile ISpell part.
3140 * lyxrc.C: added use_pspell entry and it's handling.
3142 2001-07-13 Juergen Vigna <jug@sad.it>
3144 * sp_spell.C: removed double includes.
3146 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
3148 Consistent use of Lsstream.h:
3149 * Lsstream.h: added using std::stringstream for consistencies sake.
3151 * buffer.C: removed using std::stringstream
3153 * lyxfont.C (stateText):
3154 * paragraph.C (asString):
3155 * text.C (selectNextWord, selectSelectedWord):
3156 * text2.C (setCounter):
3157 * vspace.C (asString, asLatexString):
3158 std::ostringstream -> ostringstream.
3160 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
3162 * LyXAction.C: add LFUN_HELP_ABOUTLYX
3163 * commandtags.h: add LFUN_HELP_ABOUTLYX
3164 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
3166 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
3168 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
3170 * lyx_gui_misc.C: remove spellchecker
3171 * lyxfunc.C: showSpellchecker
3173 * sp_ispell.h: added
3174 * sp_pspell.h: added
3176 * sp_form.[Ch]: removed
3177 * spellchecker.[Ch]: removed
3179 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
3181 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
3183 (simpleTeXSpecialChars): Simply print the input character without
3184 any special translation if pass_thru is set.
3186 * layout.h: Added bool pass_thru to layout class for being able to
3187 implement pass through of a paragraph for Literate Programming.
3189 * layout.C: add LT_PASS_THRU to LayoutTags enum.
3190 * layout.C (LyXLayout): set pass_thru to flase in constructor.
3191 * layout.C (Read): add "passthru" to list of layout tags and add
3192 code to set the pass_thru boolean when it is read.
3194 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3196 * trans_decl.h: remove allowed from KmodInfo
3198 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
3202 * paragraph_pimpl.C (erase): use boost::prior
3204 * Painter.C (text): use data() instead of c_str() when length is
3206 * WorkArea.C (putClipboard): ditto
3207 * font.h (width): ditto
3209 * BufferView2.C: use it-> instead of (*it). for iterators
3211 * paragraph_pimpl.C: ditto
3212 * paragraph.C: ditto
3213 * minibuffer.C: ditto
3218 * converter.C: ditto
3220 * Variables.C: ditto
3221 * TextCache.C: ditto
3222 * MenuBackend.C: ditto
3223 * LyXAction.C: ditto
3225 * FloatList.C: ditto
3227 * ColorHandler.C (LyXColorHandler): ditto
3229 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3231 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
3233 * text2.C (openStuff): reintroduce this method (which had been
3234 nuked in NEW_INSETS frenzy).
3236 * lyxfunc.C (Dispatch): when an action has not been handled, use
3237 its name in the error message, not its number.
3239 * paragraph.C (inInset): change method name to begin with lowercase.
3242 * text2.C: updates because of this.
3244 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3246 * ToolbarDefaults.C (add): add spaces in error message
3248 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3250 * buffer.C (readLyXformat2): initialize the ert comp. variables.
3251 (readLyXformat2): rename return_par to first_par, use lyxlex's
3252 pushToken and remove the manual push handling.
3253 (parseSingleLyXformat2Token): add another ert comp. variable:
3254 in_tabular, rename return_par to first_par. handle newlines better
3256 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3258 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
3260 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
3262 * text2.C (getParFromID): removed
3264 * buffer.C (getParFromID): new method moved form lyxtext.
3265 * BufferView2.C (insertErrors): adjust
3266 (setCursorFromRow): adjust
3267 * BufferView_pimpl.C (restorePosition): adjust
3268 * lyxfunc.C (Dispatch): adjust
3269 * undo_funcs.C (textUndo): adjust
3271 (textHandleUndo): adjust
3272 (textHandleUndo): adjust
3274 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3276 * buffer.C: up' the LYX_FORMAT
3278 * lyxfont.h: turn NO_LATEX on as default
3280 * buffer.C (insertErtContents): new methods of tex style compability.
3281 (parseSingleLyXformat2Token): use it several places.
3282 * tabular.C (OldFormatRead): and here
3284 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3286 * text2.C: remove some commented code.
3289 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
3290 * trans.C: changes because of the above.
3292 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
3294 * text2.C (setCounter): Fix counters bug with bibliography layout.
3296 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3298 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
3299 own member functions
3300 (simpleTeXSpecialChars): ditto
3302 2001-07-06 Juergen Vigna <jug@sad.it>
3304 * a lot of files: changed the access to LyXText::status and the
3305 call of undo-functions.
3307 * undo.[Ch]: added a inset_id to the undo informations.
3309 * undo_funcs.[Ch]: added and moved here all undo functions.
3311 * lyxtext.h: give the status enum a weight, made status_ a private
3312 variable and made accessor functions for it, removed the whole bunch
3313 of undo-functions as they are now in their own file, make some
3314 functions publically available. Added function ownerParagraph with
3317 * paragraph.[Ch]: added "bool same_ids" to the constructor,
3318 made InInset() a const function, added getParFromID() function.
3320 * buffer.[Ch]: added const version for inset_iterator functions,
3321 added getInsetFromID() function.
3323 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
3324 changed undo functions for new version.
3326 2001-07-05 Juergen Vigna <jug@sad.it>
3328 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
3329 unknow mechanism does not call the proper constructor but only this
3330 one also if I request the other!?
3332 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3334 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
3336 * text2.C (LyXText): use initialization lists.
3338 * lyxtext.h (Selection): initialize set_ and mark_
3339 (init): remove method
3341 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
3343 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
3345 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3347 * screen.[Ch]: change method names to begin with lowercase
3349 * BufferView_pimpl.C (updateScrollbar): simplify further and
3350 hopefully make it a bit faster.
3352 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3354 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
3355 calling directly xforms functions.
3357 * Painter.C (Painter):
3358 * lyx_cb.C (MenuWrite):
3359 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
3362 * lyx_gui.C: remove bogus guiruntime extern declaration.
3364 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3366 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
3368 (redoDrawingOfParagraph): ditto
3369 (redoParagraphs): ditto
3370 (cutSelection): don't create a object for CutAndPaste use the
3371 static method directly
3372 (pasteSelection): ditto
3374 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
3377 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3379 * modifications to some other files because of this.
3381 * Makefile.am (lyx_SOURCES): add XFormsView
3383 * XFormsView.[Ch]: new files
3385 * LyXView.[Ch]: make LyXView a base class for the gui handling for
3386 the main window. Move the gui dependent stuff to XFormsView
3388 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3390 * tabular.C (GetCellInset): update cur_cell also in the row/col
3391 version of this function.
3393 * lyxfunc.C: no need to include figure_form.h here.
3399 * lyxvc.C: no need to include forms.h here.
3401 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3403 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
3405 * lyxfunc.C (Dispatch):
3407 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
3408 constructor argument.
3410 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3412 * paragraph.C (Paragraph): dont't clear, and just set layout.
3413 (makeSameLayout): use params's copy contructor.
3415 * ParagraphParameters.[Ch] (makeSame): delete method
3417 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
3419 * Variables.[Ch]: fix indentation, rename set to isSet
3421 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3423 * lyxfunc.C (Dispatch): fix typo
3425 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3427 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
3430 * bufferlist.C: include assert.h for emergencyWrite().
3432 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3434 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
3435 give up at last (bug #425202) !
3437 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
3443 * spellchecker.C: strip spellchecker options and bring up
3444 preferences tab instead
3446 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3448 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
3449 the istringstream constructor
3451 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3453 * paragraph.C (getLayout): fix return value
3455 * paragraph.h: do not declare getLayout as inline.
3457 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
3459 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3461 * lyxcursor.h (operator<): new func
3462 (operator>): new func
3463 (operator>=): new func
3464 (operator<=): new func
3466 * text.C (changeCase): use selection.start and selection.end
3467 (changeRegionCase): require from to be <= to. Require par to be a
3470 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
3472 2001-06-27 Juergen Vigna <jug@sad.it>
3474 * text.C (cursorLeftOneWord): changed to return the cursor and added
3475 overlay with BufferView * parameter which calls this one.
3477 (selectWord): use new getWord function.
3478 (changeCase): renamed from changeWordCase as and extended to work
3481 * lyxtext.h: added enum word_location
3483 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
3484 changeCase as this operates now also on selections.
3486 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
3488 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
3490 * many files: send debug output to Debug::INFO instead of
3493 * converter.C (View):
3495 (Move): send debug output to Debug::FILES instead of console.
3497 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
3499 * lyxfunc.C (getStatus): use func_status
3501 * func_status.h: new header, describing the results of
3504 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
3507 2001-06-25 The LyX Project <jug@sad.it>
3509 * buffer.C (sgmlOpenTag):
3511 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
3513 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3515 * text2.C: remove some dead code
3517 * tabular.C (GetCellInset): store the last cell checked (gotten)
3519 * tabular.h: add the helper for the speedup
3521 * lyxtext.h: remove some dead code
3523 2001-06-26 The LyX Project <Asger>
3525 * paragraph.C: Change export to LaTeX of alignment to
3526 \begin{center} and family for better roundtrip work with reLyX.
3528 * Tune the math drawing a bit.
3530 2001-06-25 The LyX Project <Asger>
3532 * LColor.C (LColor): New color for math background. New color
3535 2001-06-25 The LyX Project <jug@sad.it>
3537 * lyxfunc.C (MenuNew): remove extra check for .lyx file
3540 * bufferlist.C (newFile): do not restrict to files ending with
3543 * BufferView_pimpl.C (MenuInsertLyXFile):
3545 2001-06-24 The LyX Project <jug@sad.it>
3547 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
3550 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3552 * lyxtext.h: rename most methods to begin with a small char.
3553 Lots of changes because of this.
3555 * paragraph.C (Paragraph): do not call fitToSize
3556 (erase): call Pimpl::erase
3557 (insertChar): call Pimpl::insertChar
3558 (insertInset): call Pipl::insertInset
3559 (breakParagraph): do not call fitToSize
3560 (breakParagraphConservative): do not call fitToSize
3561 (fitToSize): remove method
3563 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
3565 2001-06-24 The LyX Project <Asger>
3567 * Fix Qt compilation^2
3569 2001-06-24 The LyX Project <jug@sad.it>
3571 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
3572 depthHook(getDepth()-1).
3575 * ParagraphParameters.h:
3576 * ParameterStruct.h: change type of depth to unsigned int ==
3577 depth_type. Many adaptations to other files before of that.
3579 2001-06-24 The LyX Project <Asger>
3581 * Fix Qt compilation.
3583 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3585 * paragraph.h: renamed several methods to begin with small letter.
3586 several changes to many parts of the code because of this.
3588 2001-06-23 The LyX Project <jug@sad.it>
3590 * text2.C (InsertStringAsLines): renamed from InsertStringA;
3591 rewritten to discard all double spaces when KeepEmpty is off
3592 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
3593 to only handle newlines but not fiddle with spaces and friends.
3595 * lyxfunc.C (MenuNew): when doing 'new from template', use
3596 template_path as default directory
3598 2001-06-23 The LyX Project <Asger>
3600 * Clean-up of header file includes all over
3601 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
3603 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3605 * paragraph.h: renamed from lyxparagraph.h
3607 2001-06-23 Asger <lyx@violet.home.sad.it>
3609 * Buffer.h: Removed Buffer::resize
3610 * BufferList.h: Removed BufferList::resize
3611 * LyXView.h: Added LyXView::resize. This way, we will only reflow
3612 the document lazily when we change the width, or the font settings.
3614 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3616 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
3618 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3620 * buffer.h: remove out of date comment
3622 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3625 * screen.C: fix "theoretical" GC leak
3627 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3629 * LaTeX.C (scanAuxFile):
3630 (deplog): remove trailing \r when reading stream (useful under
3633 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
3635 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
3636 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
3637 and BufferView::theLockingInset(Inset*), so should use them and not
3638 access bv_->text->the_locking_inset directly.
3640 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
3642 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
3645 * tex-defs.h: remove old unused file
3647 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
3649 * BufferView_pimpl.C: fix typo, remove minibuffer message
3650 when buffer has loaded
3652 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3654 * lyxfunc.C (Dispatch): use stringstream
3655 (MenuNew): use stringstream
3656 (Open): use stringstream
3658 * importer.C (Import): use stringstream
3660 * bufferview_funcs.C (CurrentState): use stringstream
3662 * LaTeX.C (run): use stringstream
3664 * BufferView_pimpl.C (savePosition): use stringstream
3665 (restorePosition): use stringstream
3666 (MenuInsertLyXFile): use stringstream
3668 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
3681 * vspace.C: removed // -*- C++ -*- as first line.
3684 * version.h: added // -*- C++ -*- as first line.
3686 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3688 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
3690 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
3693 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3695 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
3698 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3700 * gettext.C: include LString.h even when --disable-nls is on.
3702 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
3704 * converter.h (Get): changed argument type from int to
3705 FormatList::size_type to avoid unnecessary conversion.
3707 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
3710 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3712 * gettext.h: include LString.h even when --disable-nls is on.
3714 2001-06-07 Juergen Vigna <jug@sad.it>
3716 * text.C (BreakAgain): subst spaces with tabs.
3718 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
3719 (resizeInsetsLyXText): set force on resizeLyXText.
3721 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3723 * gettext.h (gettext_init):
3724 (locale_init): use a real definition instead of a macro
3726 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
3728 * Bufferview_pimpl.C:
3730 * LColor.C: further lcolor tidies
3732 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3734 * BufferView_pimpl.C (updateScrollbar): simplify.
3736 * BufferView2.C: don't include insets/insetinfo.h, change
3737 prototype for insertInset and call the Pimpl version. let
3738 updateInset call Pimpl version.
3740 * BufferView.h: move inset_slept to BufferView::Pimpl, move
3741 gotoInset to BufferView::Pimpl
3743 2001-06-01 Juergen Vigna <jug@sad.it>
3745 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
3746 inside a LockingInset (is the update needed at all?).
3748 2001-05-31 Juergen Vigna <jug@sad.it>
3750 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
3751 here not the old one otherwise how should we compare it afterwards
3754 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3759 * FontInfo.C: bring C functions into global namespace when
3762 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3764 * LString.h: make sure config.h has been loaded before LString.h.
3766 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
3767 (one for each char read by EatLine!).
3769 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
3772 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3774 * paragraph.C (BreakParagraph): set the inset_owner in the new par
3775 to the same as the par we break from
3777 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
3779 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
3781 * MenuBackend.C (expand): also create menu entries for wide
3782 versions of the floats.
3784 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
3786 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
3788 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
3789 frontends/Makefile.am
3795 * tabular.C (getTokenValue): add std::
3797 * tabular-old.C (getTokenValue): add std::
3798 (getTokenValue): ditto
3799 (getTokenValue): ditto
3801 * screen.C (ToggleSelection): adjust
3803 * lyxtext.h: put selection cursors inside a Selection struct.
3805 * lyxfunc.C (moveCursorUpdate): adjust
3807 * lyxfont.C (latexWriteStartChanges): add std::
3811 * font.h: delete with(char const *, LyXFont const &)
3813 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
3815 * FontInfo.C (getFontname): add std::
3817 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3818 (workAreaButtonPress): adjust
3819 (tripleClick): adjust
3821 (moveCursorUpdate): adjust
3824 * BufferView2.C (gotoInset): adjust
3826 2001-05-30 Juergen Vigna <jug@sad.it>
3828 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
3829 to check pspell I add this as default as I now have new pspell
3830 libraries and they seem to use this.
3832 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3834 * text2.C (CutSelection): make the cursor valid before the call to
3837 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3839 * kbsequence.C (parse): de-uglify a bit the parsing code, which
3840 relied on 0 terminated strings and other horrors. Bug found due to
3841 the new assert in lyxstring!
3843 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
3846 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3848 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
3851 * lyxfunc.C (processKeySym): change method of getting to the
3854 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
3855 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
3856 * BufferView_pimpl.[Ch]: here as private methods.
3858 2001-05-28 Juergen Vigna <jug@sad.it>
3860 * text.C (SetHeightOfRow): added the update() call again as it is
3861 needed to initialize inset dimensions!
3863 2001-05-16 Juergen Vigna <jug@sad.it>
3865 * text2.C (SetCharFont): Add new function with BufferView * and
3866 bool toggleall parameters for setting insets internal fonts.
3867 (SetFont): Freeze the undo as we may change fonts in Insets and
3868 all this change should be inside only one Undo!
3870 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
3871 setting font's in insets as for them we have the SetFont function!
3873 2001-05-15 Juergen Vigna <jug@sad.it>
3875 * text2.C (ClearSelection): to be sure we REALLY don't have any
3878 * tabular.C (TeXCellPreamble): fixed the left border problem for
3881 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
3883 * LaTeX.C (deplog): Make sure that the main .tex file is in the
3886 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3888 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
3889 LFUN_BREAKPARAGRAPH.
3891 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
3892 help test to "internal only", similar for LFUN_INSERT_URL
3894 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
3895 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
3896 auto_region_delete and deadkeys.
3898 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
3901 * LColor.C: remove some dead entries, tidy a little
3903 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3905 * lyxfunc.C (processKeySym): comment the Escape handling, remove
3907 (Dispatch): implement LFUN_ESCAPE
3909 * commandtags.h: add LFUN_ESCAPE
3911 * LyXAction.C (init): add entry for LFUN_ESCAPE
3913 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
3914 Remove commented code.
3915 (insertNote): moved here
3916 (open_new_inset): moved here
3918 * BufferView[2].[Ch]: move insertNote and open_new_inset to
3921 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3923 * kbmap.C (findbinding): clean it up and make it work correctly.
3925 * lyx_main.C (init): do not pass argc and argv as parameters
3927 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
3929 * buffer.C: fix path for OS/2 & Win32
3933 * lyx_main.C: Added os:: class.
3935 * os2_defines.h: update
3937 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3939 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
3940 better by trying again with reduced state.
3942 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3944 * lyxrc.C (read): print error about invalid key sequence only when
3945 debugging (because not all latinX keysyms are known to some X
3948 * kbsequence.C (getiso): add a few std:: qualifiers
3949 (getiso): comment out extra return statement.
3951 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
3953 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
3955 (Dispatch): enhance the accent inset a bit. (not perfect)
3957 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3959 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
3961 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3963 * bufferlist.C (emergencyWrite): fix assert() call
3965 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
3967 * text.C (InsertChar): Added trivial patch to only send the "you
3968 can not do multiple spaces this way" message once during a
3971 2001-05-08 Baruch Even <baruch@lyx.org>
3973 * Makefile.am: Changed order of libraries to get LyX to link properly
3974 with the gnome frontend.
3976 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3978 * LaTeXFeatures.h: add a std:: qualifier
3980 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
3982 * paragraph.C (String): use stringstream
3984 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3986 * paragraph.C (writeFile): remove footflag arg
3988 * buffer.C (makeLaTeXFile): use stringstream
3989 (latexParagraphs): remove footnot gurba
3991 * LaTeXFeatures.C (getPackages): use stringstream
3992 (getMacros): likewise
3993 (getTClassPreamble): likewise
3994 (getFloatDefinitions): new method
3996 * paragraph.C (writeFile): reindent
3999 * WorkArea.h: revert the xpos + etc changes.
4001 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
4003 * lyxparagraph.[Ch]: add copy constructor, remove Clone
4005 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
4006 (pasteSelection): likewise
4007 * text2.C (CreateUndo): likewise
4009 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4011 * minibuffer.C (peek_event): temporarily reduce the functionality
4012 of the minibuffer (to allow args on lfuns)
4014 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
4015 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
4017 * buffer.C (readInset): add compability reading of old float
4018 lists, add reading of new style float list.
4019 (readInset): avoid reevaluation of inscmd.getCmdName()
4020 (getLists): reindent
4022 * MenuBackend.C (MenuItem): implement parsing of
4023 md_floatlistinsert and md_floatinsert.
4024 (expand::LastFiles): move initalizaton of iterators out of loop,
4026 (expand::Documents): introduce typdedef vector<string> Strings,
4028 (expand::ExportFormats): introduce typedef vector<Format const *>
4029 Formats, and use it.
4030 (expand): implement FloatListInsert and FloatInsert.
4032 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
4033 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
4034 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
4036 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
4038 (Dispatch::LFUN_FLOAT_LIST): implement
4040 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4042 * LaTeX.C (run): Fix problem with --export code.
4044 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4046 * BufferView.[Ch] (workarea): removed.
4047 (getClipboard) new method; wrapper for workarea()->getClipboard()
4049 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
4052 * WorkArea.h (width, height, xpos, ypos): These methods all
4053 returned the dimensions of the work_area sub-area of WorkArea,
4054 resulting in a position error if the WorkArea were resized. Now
4055 return the dimensions of the entire WorkArea.
4057 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
4059 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4061 * LaTeX.C (deplog): correct the syntax of regex reg1
4063 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4065 * undo.C: remove !NEW_INSETS cruft
4067 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4069 * text2.C: remove !NEW_INSETS cruft
4071 * text.C: remove !NEW_INSETS cruft
4073 * tabular.C: remove !NEW_INSETS cruft
4075 * spellchecker.C: remove !NEW_INSETS cruft
4077 * lyxtext.h: remove !NEW_INSETS cruft
4079 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
4081 * lyxfunc.C: remove !NEW_INSETS cruft
4083 * lyxfind.C: remove !NEW_INSETS cruft
4085 * lyx_cb.C: remove !NEW_INSETS cruft
4087 * figureForm.C: remove !NEW_INSETS cruft
4089 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
4091 * buffer.[Ch]: remove !NEW_INSETS cruft
4093 * ToolbarDefaults.C: remove !NEW_INSETS cruft
4095 * CutAndPaste.C: remove !NEW_INSETS cruft
4097 * BufferView_pimpl.C: remove !NEW_INSETS cruft
4099 * BufferView2.C: remove !NEW_INSETS cruft
4101 * BufferView.h: remove !NEW_INSETS cruft
4103 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4105 * Lsstream.h: include LString.h before the sstream headers to
4106 fix problem with gcc 2.95.3 and lyxstring
4108 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4110 * lyx_main.C: add using directives when needed for C functions
4111 declared in std:: namespace.
4113 2001-04-27 Juergen Vigna <jug@sad.it>
4115 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
4116 (SetHeightOfRow): comment out the update call should not be needed!
4118 2001-04-13 Juergen Vigna <jug@sad.it>
4120 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
4121 (LyXTabular): tried to minimize operator= operations (and realized
4122 hopfully Lars wish).
4124 2001-04-27 Juergen Vigna <jug@sad.it>
4126 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
4128 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
4130 * lyxfunc.C (Dispatch): hack to make listof algorithm work
4132 * buffer.C (readInset): hack to make listof algorithm work
4134 * BufferView_pimpl.C: hack to make listof algorithm work
4136 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4138 * LyXAction.C: removed all !NEW_INSETS cruft
4139 (init): moved lfun_item in method
4141 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
4143 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4145 * BufferView2.C (theLockingInset): white space.
4147 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4149 * minibuffer.C: include <iostream>
4151 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
4153 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
4155 * commandtags.h: add LFUN_TRANSPOSE_CHARS
4157 * text.[Ch] (TransposeChars): new method
4159 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4161 * call message directly through LyXView instead of through LyXFunc
4162 * BufferView2.C: adjust
4163 * BufferView_pimpl.C: adjust
4164 * FontLoader.C: adjust
4166 * bufferview_funcs.C: adjust
4167 * converter.C: adjust
4168 * figureForm.C: adjust
4169 * importer.C: adjust
4171 * lyx_gui_misc.C: adjust
4175 + more files in subdirs
4177 * lyxparagraph.h (size): move up int file
4180 * adjust all uses of Assert to lyx::Assert.
4182 * BufferView2.C (ChangeCitationsIfUnique): adjust for
4183 lyxfunctional in namespace lyx
4184 * layout.C (hasLayout): ditto
4187 (delete_layout): ditto
4188 (NumberOfClass): ditto
4189 * converter.C (GetFormat): ditto
4194 * bufferlist.C (getFileNames): ditto
4195 (emergencyWriteAll): ditto
4198 * MenuBackend.C (hasSubmenu): ditto
4201 * BufferView_pimpl.C (getInsetByCode): ditto
4203 2001-04-18 Juergen Vigna <jug@sad.it>
4205 * vspace.C (asLatexString): fixed the 100% problem.
4207 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4209 * lyxfunc.C (Dispatch):
4211 * minibuffer.h: add a few std:: qualifiers
4213 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4215 * minibuffer.[Ch]: reimplement so that commands is initiated and
4216 run from lyxfunc, simplified som handling, and made the completion
4217 and history code for complete. wip.
4219 * lyxfunc.C (processKeySym): call message
4220 (miniDispatch): new temporary method
4221 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
4222 (LFUN_MESSAGE): implement
4223 (LFUN_MESSAGE_PUSH): implement
4224 (LFUN_MESSAGE_POP): implement
4225 (initMiniBuffer): the initial/defualt minibuffer message.
4227 * lyxfont.[Ch]: inline some more getters
4229 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
4231 * lyx_gui_misc.[Ch] (WriteStatus): remove method
4233 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
4234 (AutoSave): use LFUN_MESSAGE
4235 (Reconfigure): ditto
4237 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
4239 * figureForm.C: use LFUN_MESSAGE
4241 * converter.C (runLaTeX): use LFUN_MESSAGE
4243 * bufferview_funcs.C: use LFUN_MESSAGE
4245 (changeDepth): ditto
4247 * bufferparams.h: use boost::
4249 * bufferlist.h: inherit privately from noncopyable
4251 * bufferlist.C (loadLyXFile): remove some commented code.
4253 * buffer.C (runChktex): use LFUN_MESSAGE
4255 * ShareContainer.h: inherit privately from noncopyable
4257 * ParagraphParameters.[hC] (depth): inline it.
4259 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
4261 (message): new method
4262 (messagePush): ditto
4264 (show): init minibuffer
4265 (showState): direct call
4267 * LaTeX.[Ch]: inherit privately from noncopyable
4268 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
4269 instead of WriteStatus.
4271 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
4273 * BufferView_pimpl.C (buffer): don't init minibuffer
4274 (workAreaButtonPress): use LFUN_MESSAGE
4275 (workAreaButtonRelease): ditto
4276 (savePosition): ditto
4277 (restorePosition): ditto
4278 (MenuInsertLyXFile): ditto
4279 (workAreaExpose): don't init minibuffer
4280 (update): remove commented code, simplify
4282 * BufferView2.C (openStuff): use LFUN_MESSAGE
4283 (toggleFloat): ditto
4286 (copyEnvironment): ditto
4287 (pasteEnvironment): ditto
4292 (updateInset): remove some commented code
4294 * lastfiles.h: inherit privately from noncopyable
4299 * lyxlex_pimpl.h: ditto
4301 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
4302 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
4303 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
4305 * LyXAction.h: inherit privately from noncopyable, add methods
4306 func_begin, func_end, returning iterators to the func map.
4308 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
4309 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
4310 (func_begin): new method
4311 (func_end): new method
4313 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
4315 (copySelection): ditto
4316 (pasteSelection): ditto
4318 * BufferView.C: whitespace change
4319 * BufferView.h: inherit privately from noncopyable
4321 2001-04-16 Allan Rae <rae@lyx.org>
4323 * tabular-old.C (l_getline):
4324 * spellchecker.C (sc_check_word):
4325 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
4326 an unrecognised preprocessor directive. So ensure they're wrapped.
4328 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
4330 * src/exporter.C (Export): Give an error message when path to file
4333 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
4335 * LaTeX.C (deplog): Always check that foundfile exists.
4337 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4340 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
4342 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4344 * tabular.[Ch] (getLabelList): implement new method
4346 * minibuffer.h: comment ouf setTiimer
4348 * minibuffer.C (ExecutingCB): constify res
4349 (peek_event): constify s
4350 (Set): constify ntext
4351 (Init): constify nicename
4353 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
4355 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
4356 (savePosition): use two params to Minibuffer::Set
4357 (restorePosition): ditto
4359 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4361 * lyx_main.C: include language.h
4363 * Makefile.am (lyx_main.o): add language.h
4365 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4371 * CutAndPaste.C: include gettext.h
4373 * lyxfont.h: remove old hack with ON and OFF.
4376 * lyxfont.h: do not include language.h...
4381 * bufferview_funcs.C:
4387 * paragraph.C: ... but do it here instead
4389 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4391 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
4393 * tabular.C: small reformat
4395 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
4398 (BreakParagraph): ditto
4399 (SetOnlyLayout): ditto
4402 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
4405 * lastfiles.C: removed most using decl, add std:: where needed
4407 * buffer.C: ws changes
4409 * MenuBackend.C (class compare_format): put into anon namespace
4410 (expand): constify label, names, action, action2
4413 * text.C (SingleWidth): constify font
4414 (IsBoundary): constify rtl2
4415 (GetVisibleRow): constify ww
4417 * LaTeX.C (deplog): constify logfile
4419 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
4421 (workAreaExpose): constify widthChange, heightChange
4423 * lyxrow.C (par): moved
4426 * lyxrow.h: as inlines here
4428 * lyxfont.h (shape): moved from lyxfont.C
4429 (emph): moved from lyxfont.C
4431 * lyxfont.C (LyXFont): use initialization list for all
4433 (shape): move to lyxfont.h as inline
4434 (emph): move to lyxfont.h as inline
4437 2001-04-04 Juergen Vigna <jug@sad.it>
4439 * vspace.C: had to include stdio.h for use of sscanf
4441 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
4444 * BufferView_pimpl.h: remove xforms cruft. Both classes are
4445 independent of xforms.
4447 2001-04-02 Juergen Vigna <jug@sad.it>
4449 * spellchecker.C: fixed namespace placing!
4451 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
4453 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
4454 the LyXParagraph * is 0.
4456 2001-03-29 Juergen Vigna <jug@sad.it>
4458 * vspace.C: added support for %, c%, p%, l%.
4459 (stringFromUnit): added helper function.
4460 (asLatexString): changed to give right results for the %-values.
4462 * buffer.C: convert the widthp in a width%.
4464 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
4466 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
4469 * figureForm.[Ch]: stripped the FD_from_figure manipulation
4470 code out of lux_cb.[Ch], ready for its (imminent?) removal.
4472 * lyx_cb.[Ch]: see above.
4474 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
4478 * lyx.[Ch]: replaced by figure_form.[Ch].
4482 * lyxfunc.C: changed headers associated with above changes.
4484 2001-03-27 Juergen Vigna <jug@sad.it>
4486 * BufferView_pimpl.C: set the temporary cursor right!
4488 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
4490 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
4492 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
4494 * LString.h: removed "using std::getline"!
4496 * BufferView_pimpl.C (Dispatch): changes due to changes in
4497 InsetInclude::Params.
4499 * buffer.C (tag_name): removed redundant break statements as they were
4500 producing lots of warnings with my compiler.
4502 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4504 * LString.h: add "using std::getline" when using the real <string>.
4506 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
4508 * buffer.C: removed bitset usage.
4509 PAR_TAG moved to an anonymous name space.
4510 (tag_name): new funtion, also in the anonymous namespace.
4511 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
4512 (makeDocBookFile): clean code. Completed transition from string arrays
4514 (SimpleDocBookOnePar): code clean.
4516 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4518 * tabular.C: add some comments.
4520 2001-03-22 Juergen Vigna <jug@sad.it>
4522 * buffer.C (parseSingleLyXformat2Token): redone the minipage
4523 compatibility read a bit and fixed bug with minipage in different
4526 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
4528 * buffer.C (pop_tag): removed.
4529 (push_tag): removed.
4530 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
4531 array replaced with vector. Added support for CDATA sections.
4532 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
4534 (makeDocBookFile): XML conformant declaration of CDATA section,
4535 fixed bug related to <emphasis> in the first paragraph char.
4536 (sgmlOpenTag): exclude empty tags.
4537 (sgmlCloseTag): ditto.
4539 * buffer.h (pop_tag): removed.
4540 (push_tag): removed.
4542 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
4544 * language.h (Languages): added size_type and size().
4546 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4548 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
4549 response on compability reading of minipages. One probliem is that
4550 the old usage of minipages was «flertydig»
4552 * several files here and in subdirs: don't use static at file
4553 scope use anon namespaces instead.
4555 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
4557 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
4558 LaTeX output. This is necessary for Literate document
4561 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4563 * buffer.C: insert hfill when needed.
4565 * tabular.C (l_getline): use string::erase, small whitespace change.
4567 * BufferView_pimpl.C: try the anon namespace.
4570 2001-03-16 Juergen Vigna <jug@sad.it>
4572 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
4573 otherwise it won't open options-dialogs.
4575 * buffer.C: honor pextraWidth(p) on converting minipages.
4577 * tabular.C (l_getline): changed the functions to strip trailing \r.
4579 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
4581 * BufferView_pimpl.C:
4582 * minibuffer..C: added "using SigC::slot" declaration.
4584 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4586 * lyxlex_pimpl.h: noncopyable is in namespace boost.
4592 * paragraph.C: ditto
4594 * lyxtext.h: NO_PEXTRA
4596 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
4598 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
4599 * ParameterStruct.h: ditto
4600 * ParagraphParameters.h: ditto
4601 * lyxparagraph.h: ditto
4603 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4605 * buffer.C: add compability for minipage alignment.
4606 (latexParagraphs): remove unwanted pextra check.
4608 * several files: remove CXX_WORKING_NAMESPACES
4610 * buffer.C (pop_tag): tie is in namespace boost
4612 * BufferView.h: noncopyable is in namespace boost
4617 * lastfiles.h: ditto
4618 * bufferlist.h: ditto
4619 * ShareContainer.h: ditto
4621 * LyXAction.h: ditto
4624 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
4626 * Merging changes from BRANCH_MVC back into HEAD.
4628 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
4630 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
4632 * BufferView_pimpl.C: change from intl.C
4636 * Makefile.am: move combox.*
4642 * intl.C: remove dialog (covered by prefs)
4644 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
4646 * lyxfunc.C (Dispatch): removed redundant break statement.
4648 2001-03-14 Juergen Vigna <jug@sad.it>
4650 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
4652 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4654 * buffer.C: add hack to fix compability reading of minipages.
4656 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
4658 * buffer.C (getLists): Cleanup.
4660 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4662 * lyxfont.C (update): don't honor toggleall on font size.
4664 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
4668 * Makefile.am: moved to frontends/xforms/
4672 * BufferView_pimpl.C: changes for moved mathpanel
4674 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4676 * gettext.h: fix gettext_init() in --disable-nls
4678 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4680 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
4682 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
4685 * lyx.h: strip external form
4687 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4689 * BufferView_pimpl.C: add comment, destroySplash()
4691 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4693 * BufferView_pimpl.C:
4697 * lyxfunc.C: use re-worked insetinclude
4699 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4701 * buffer.C: add using std::stringstream.
4703 * lyx_cb.C: readd using std::ios.
4705 * buffer.C: add using std::map.
4707 * BufferView_pimpl.C: add using std::vector.
4709 * ShareContainer.h: add std:: to swap.
4711 * buffer.h: add some typedefs
4712 * buffer.C (getLists): use them
4713 (getLists): renamed from getTocList.
4714 add a counter for the different float types and use it in the
4716 (getLists): use the same counter for the NEW_INSETS and the "non"
4719 * lyx_cb.h: remove unused items, includes, using etc.
4721 * ShareContainer.h: remove some commented code, add more comments
4722 and "documentation".
4724 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4726 * buffer.C (getTocList): make the list also when NEW_INSETS is
4729 * buffer.h: remove TocType
4731 * buffer.C (getTocList): change to return a map<string,
4732 vector<TocItem> >, implement for dynamic number of list.
4734 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
4735 * text2.C (PasteSelection): adjust
4736 * CutAndPaste.C (pasteSelection): adjust
4738 * FloatList.C (FloatList): update from the new_insets branch.
4739 * Floating.[Ch]: ditto
4740 * LaTeXFeatures.C: ditto
4742 * lyxlex_pimpl.C: ditto
4744 * paragraph.C (Last): remove when NEW_INSETS is defined.
4746 * other file: changes because of the above.
4748 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4750 * lyxparagraph.h: rename next to next_, previous to previous_,
4751 make them private for NEW_INSETS. Rename Next() to next(),
4752 Previous() to previous().
4754 * other files: changes because of the above.
4756 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
4759 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
4762 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4764 * main.C (main): pass lyx_localedir to gettext_init().
4766 * gettext.h: remove locale_init and gettext_init macros
4768 * gettext.C (locale_init): new function
4769 (gettext_init): new function
4771 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
4774 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
4776 * Moved credits to frontends:
4777 * credits.[Ch]: removed
4778 * credits_form.[Ch]: removed
4779 * lyx_gui_misc.C: remove credits stuff
4782 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4784 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
4786 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
4787 unneeded destructor.
4789 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
4790 a standalone pointer again.
4792 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
4794 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
4800 * ToolbarDefaults.C:
4809 * BufferView_pimpl.C: use new file dialog in GUII
4812 * lyx_cb.C: remove LayoutsCB to Toolbar
4814 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4816 * ShareContainer.h (get): add std:: qualifier
4818 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4820 * ShareContainer.h: define a proper ShareContainer::value_type
4821 type (and use typename to please compaq cxx)
4823 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4825 * lyxparagraph.h: move serveral local vars to
4826 ParameterStruct/ParagraphParameters., use ShareContainer in
4827 FontTable., make vars in FontTable private and add getter and
4830 * paragraph.C: changes because of the above.
4832 * lyxfont.h: remove copy constructor and copy assignment. (the
4833 default ones is ok), move number inside FontBits. move inlines to
4836 * lyxfont.C: add number to initializaton of statics, move several
4837 inlines here. constify several local vars. some whitespace
4838 cleanup. Dont hide outerscope variables.
4840 * Spacing.h: add two new constructors to match the set methods.
4842 * ShareContainer.h: new file, will perhaps be moved to support
4844 * ParameterStruct.h: new file
4846 * ParagraphParameters.h: new file
4848 * ParagraphParameters.C: new file
4850 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
4851 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
4853 * BufferView_pimpl.C: ParagraphParameter changes.
4854 * buffer.C: Likewise.
4855 * bufferview_funcs.C: Likewise.
4857 * text2.C: Likewise.
4859 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4861 * lyxfind.C (LyXReplace): do not redefine default argument in
4863 (IsStringInText): ditto
4864 (SearchForward): ditto
4865 (SearchBackward): ditto
4867 2001-03-06 Juergen Vigna <jug@sad.it>
4869 * lyxfind.C (IsStringInText): put parentes around expressions.
4871 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
4873 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
4875 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
4877 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
4879 * stl_string_fwd.h: add comment
4881 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
4884 * tabular.C: remove unused DocBook methods
4890 killed DO_USE_DEFAULT_LANGUAGE
4892 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4894 * lyx_gui.C: do not include language.h.
4896 * bufferview_funcs.C (ToggleAndShow): do not provide optional
4897 arguments in function implementation.
4899 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4901 * BufferView_pimpl.C: add <ctime>
4903 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4905 * BufferView_pimpl.C: add using std::find_if
4907 2001-02-27 José Matos <jamatos@fep.up.pt>
4909 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
4912 2001-02-11 José Matos <jamatos@fep.up.pt>
4914 * buffer.C (makeDocBookFile): command styles now have a parameter as
4917 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
4919 * layout_forms.[Ch]: removed
4920 * lyx_cb.[Ch]: out character
4921 * lyx_gui.C: out character
4922 * lyx_gui_misc.C: out character
4923 * bufferview_funcs.C: : out character,
4924 added toggleall as parameter in ToggleAndShow
4926 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
4928 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
4930 * text2.C (SetCurrentFont): Disable number property at boundary.
4932 2001-02-26 Juergen Vigna <jug@sad.it>
4934 * lyxfunc.C (getStatus): added a string argument override function so
4935 that this is correctly called from LyXFunc::Dispatch if it contains a
4936 do_not_use_argument which is used!
4937 (Dispatch): added check for "custom" export and call appropriate func.
4939 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
4941 * lyxrc.C: Add language_command_local, language_use_babel and
4942 language_global_options.
4944 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
4946 * buffer.C (makeLaTeXFile): Use language_use_babel and
4947 language_global_options.
4949 2001-02-23 Juergen Vigna <jug@sad.it>
4951 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
4952 which works with LyXText and putted it inside BufferView. Here now we
4953 only call for that part the BufferView::Dispatch() function.
4955 * BufferView.C (Dispatch): added.
4957 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
4958 functions which needs to use a LyXText over from LyXFunc.
4959 (MenuInsertLyXFile): added
4960 (getInsetByCode): added
4961 (moveCursorUpdate): added
4962 (static TEXT): added
4964 2001-02-22 Juergen Vigna <jug@sad.it>
4966 * BufferView_pimpl.C (update): call a status update to see if LyXText
4969 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4971 * vc-backend.C (revert): implement for CVS
4972 (getLog): implement for CVS
4974 2001-02-20 Juergen Vigna <jug@sad.it>
4976 * text2.C (ClearSelection): added BufferView param for inset_owner call
4978 * lyxfunc.C (TEXT): added this function and use it instead of
4979 directly owner->view()-text of getLyXText().
4981 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
4983 * src/layout_forms.C: out preamble
4984 * src/layout_forms.h: out preamble
4985 * src/lyx_cb.C: out preamble
4986 * src/lyx_cb.h: out preamble
4987 * src/lyx_gui.C: out preamble
4988 * src/lyx_gui_misc.C: out preamble
4989 * src/lyxfunc.C: connect with guii preamble
4991 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
4993 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
4995 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
4997 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
4998 whether to run bibtex.
5000 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
5002 * Makefile.am (lyx_SOURCES): Remove BackStack.h
5004 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5006 * Makefile.am (lyx_SOURCES): removed bibforms.h
5010 * text.C (GetVisibleRow): make several local vars const
5012 * tabular.C: small cleanup.
5014 * lyxserver.C (callback): use compare instead of strncmp
5016 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
5017 inlines to after class or to paragraph.C
5019 * lyxfont.h: remove friend operator!=
5021 * converter.h: move friend bool operator< to non friend and after
5024 * combox.h: small cleanup
5026 * buffer.h: doxygen, remove unused constructor, move inclas inlies
5027 to inlines after class def.
5029 * buffer.C (pop_tag): use string operations instead of strcmp
5031 * bmtable.c: doxygen, small cleanup
5033 * LaTeX.h: remove friend operator==
5035 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
5047 * BufferView_pimpl.C:
5048 * BufferView.[Ch]: remove cruft
5050 2001-02-14 Juergen Vigna <jug@sad.it>
5052 * lyxfunc.C: removed #if 0 unused code
5054 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
5056 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
5058 * text2.C (SetSelection): added a BufferView * parameter
5060 2001-02-13 Juergen Vigna <jug@sad.it>
5062 * lyxfunc.C (Dispatch): fixed protected blank problem.
5063 * BufferView2.C (protectedBlank): added LyxText * parameter.
5065 * tabular.C (AppendRow): forgot to set row_info of newly added row.
5066 (AppendColumn): same as above for column_info.
5068 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
5069 (moveCursorUpdate): use a LyXText param for support of InsetText.
5071 * BufferView_pimpl.C (doubleClick): added support for InsetText.
5072 (tripleClick): ditto
5074 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
5076 * BufferView_pimpl.C (update): added LyXText param to honor insets.
5078 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
5080 * text2.C (SetSelection): set correct update status if inset_owner
5083 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
5085 * tabular.C: remove some commented code.
5087 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
5089 * BufferView_pimpl.C: call hideSplash()
5091 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
5094 * bibforms.h: remove
5097 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
5098 add LFUN_CHILD_CREATE
5100 * counters.h: fix tiny typo
5105 * lyx.C: move splash to frontends/xforms/
5107 * lyx_gui_misc.C: move Include and Bibform to frontends
5109 * lyxvc.h: clarify comment
5111 * vspace.C: tiny housekeeping
5113 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
5115 * text.C (PrepareToPrint): RTL Fix.
5117 * paragraph.C (GetUChar): New method.
5118 (String): Use GetUChar.
5120 * buffer.C (asciiParagraph): Use GetUChar.
5122 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
5124 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
5126 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
5129 * buffer.C: rename to getLogName(), handle
5130 build log / latex log nicely
5132 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5135 * MenuBackend.h: remove support for reference menuitem type.
5137 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
5139 * BufferView_pimpl.C: housekeeping
5140 * BufferView_pimpl.h:
5145 * minibuffer.h: move Timeout GUI-I
5147 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
5149 * lyxrc.C (read): Update converters data-structures.
5151 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
5153 * LaTeX.h (operator!=): add operator != for Aux_Info
5155 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
5157 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
5159 * LaTeXLog.C: deleted, useful code moved to Buffer
5162 * buffer.C: new function getLatexLogName()
5168 * lyxfunc.C: use frontends for LaTeX and VC logs
5170 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5172 * LaTeX.h: yet another std:: that Allan forgot.
5174 * Variables.C (set): renamed from isset(), because this clashes
5175 with some HP-UX macros (grr).
5177 2001-02-06 Allan Rae <rae@lyx.org>
5179 * LaTeX.h: Another bug fix. Missing std:: this time.
5181 2001-02-04 Allan Rae <rae@lyx.org>
5183 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
5184 floats problem. I've left it commented out because it's not quite
5185 correct. It should also test that the current object is a table or
5186 figure inset. But I haven't gotten around to figuring out how to do
5187 that. I *think* it'll be something like: "table" == inset.type()
5189 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
5192 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
5194 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
5195 all the citation/databases/styles in the auxilary file.
5196 (run): Rerun latex if there was a babel language error.
5198 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
5200 * text.C (Backspace): Preserve the font when changing newline char
5202 (BreakParagraph): If the cursor is before a space, delete the space.
5204 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
5206 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5208 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
5209 new argument (code).
5210 (ChangeCitationsIfUnique): New method.
5212 * paragraph.C (GetPositionOfInset): Handle bibkey.
5214 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5216 * BufferView_pimpl.h: change type of Position::par_pos to
5217 LyXParagraph::size_type.
5219 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
5221 * BufferView_pimpl.C (savePosition, restorePosition): Write
5222 messages to minibuffer.
5224 2001-01-28 José Matos <jamatos@fep.up.pt>
5226 * buffer.C (makeDocBookFile): adds support for document language.
5227 A silly restriction on the name of LatexCommand types where removed.
5228 Added support for CDATA sections, allows to chars unescaped, used
5229 among others in code, to avoid escape < and >.
5231 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
5233 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
5234 saved positions instrad of a stack. Furthermore, a position is
5235 stored using paragraph id/paragraph position.
5237 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
5238 Remove LFUN_REF_BACK.
5240 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
5242 * converter.C (dvipdfm_options): New method.
5244 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
5246 * vspace.C (isValidLength): Fix for empty input string.
5248 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5250 * LyXAction.C (init): change description of LFUN_FIGURE to
5253 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5255 * LaTeX.C: add using directive
5257 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
5259 * MenuBackend.C (expand): Fix the sorting of the formats.
5261 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
5263 * lyx_main.C: tiny error message fix
5265 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5267 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
5268 calling fl_initialize(). This fixes the problem with ',' as
5269 decimal separator in text files.
5271 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
5273 * trans.C (process): Fix the keymap bug.
5275 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
5277 * LaTeX.C (scanAuxFiles): New method. Provides support for
5278 multiple bibliographies (when using the bibtopic/bibunits pacakges).
5279 (scanLogFile) Scan for "run BibTeX" messages.
5281 * buffer.C (makeLaTeXFile): Do not load the ae package when using
5282 OT1 font encoding. Also, load the aecompl package if the ae
5285 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
5287 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5289 * texrow.C (increasePos): turn two error messages into debug
5292 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
5294 * LaTeX.C (scanAux): Handle the \@input macro.
5295 (runBibTeX): Use scanAux().
5297 * language.C (latex_options_): New field.
5299 * LaTeXFeatures.C (getMacros): Add language macros.
5301 * buffer.C (makeLaTeXFile): Small fix.
5303 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5305 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
5307 * text2.C: add a using directive.
5309 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
5314 * lyxfunc.C: kill LyXBell.
5316 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
5318 * text.C (IsBoundary): Remove the error message
5320 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
5322 * lyxrc.C (setDefaults): Correct initialization value for
5325 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
5327 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
5330 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
5333 * src/LyXAction.C: Added reference-next.
5335 * text.C (InsertChar): Use contains instead of strchr.
5337 * lyx_cb.C (MenuInsertLabel): Enable default value code.
5339 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
5341 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
5342 alignment commands (when needed).
5344 * text.C (InsertChar): Add ':' to number separator chars.