1 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
6 2002-11-20 Juergen Vigna <jug@sad.it>
8 * insettabular.C (resetPos): temporary fix for endless loop in
9 this function on a redraw.
11 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
13 * insettabular.C (copySelection): STRCONV
15 * insetinclude.C (uniqueID): STRCONV
18 * insetgraphics.C: put VersionNumber inside anon namespace
19 (createLatexOptions): STRCONV
21 * insetcommandparams.C: include config.h
23 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
25 * insetgraphicsParams.C (Write): use lyx::float_equal.
26 Write height data correctly.
27 (Read): zero scale when reading height data.
29 2002-10-30 John Levon <levon@movementarian.org>
31 * insetfloat.C (addToTOC): recursively traverse all
32 contents looking for captions (fix #568)
34 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
36 * insetexternal.C (doSubstitution): do not try to replace
37 environment variables, this is done when executing the command
39 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
41 * insetexternal.C (doSubstitution): change order of substitution
42 to work around ReplaceEnvironmentPath brokenness
44 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
46 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
48 * insetgraphicsParams.C (init, Write): associated changes
49 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
50 InsetGraphicsParams::scale.
52 2002-10-21 John Levon <levon@movementarian.org>
54 * inset.h: remove unused DISPATCH_RESULT
56 * insettext.C: sgml open/close tag now in sgml namespace
58 2002-10-21 Angus Leeming <leeming@lyx.org>
60 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
61 file path subdir/fig.eps when pasting it into a buffer in a different
64 2002-10-16 John Levon <levon@movementarian.org>
66 * insetspecialchar.C: remove \\protected_separator parsing
68 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
70 * insetquote.C: fix LaTeX output of quotation marks.
72 2002-10-14 Juergen Vigna <jug@sad.it>
74 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
75 Backspace functions which confused the Undo handling.
77 2002-10-09 Angus Leeming <leeming@lyx.org>
79 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
80 BufferView::dispatch that turns off this optimisation when a new inset
83 * insetcite.C (getNatbibLabel): correct logic of when and when not to
84 reload the BibTeX keys.
86 2002-10-11 André Pönitz <poenitz@gmx.net>
88 * insettext.h: handle LFUN_PRIOR/NEXT
90 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
92 * insetfloat.C: fix bug with float settings
93 (document default != float default).
95 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
97 * insetwrap.C (addToToc): New method.
98 (InsetWrap): Set layout to caption.
100 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
102 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
104 2002-09-16 John Levon <levon@movementarian.org>
106 * insettabular.h: hasSelection() needs to be public
108 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
110 * insetgraphicsParams.C: use empty string as default for rotateOrigin
112 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
114 * insetgraphicsParams.C: use empty string as default for rotateOrigin
116 2002-09-11 André Pönitz <poenitz@gmx.net>
118 * insettabular.C: implement LFUN_WORDSEL
120 2002-09-10 John Levon <levon@movementarian.org>
122 * insetinclude.h: remove unused param
124 2002-09-09 John Levon <levon@movementarian.org>
127 * insetinclude.C: remove noload, default to input
129 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
131 * insetgraphics.C: disfuscated use of ']' in built output string.
133 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
135 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
137 2002-08-29 Juergen Vigna <jug@sad.it>
139 * insettabular.C (lfunMousePress): Pay attention where you set
140 the x/y values as they depend on which inset in the tabular is
141 actually locked. So you surely have to reset them if you (un)lock
144 2002-08-29 André Pönitz <poenitz@gmx.net>
146 * insetfootlike.h: rename include guard to ALL CAPS
148 * insettext.C: swap object and first parameter for checkInsetHit calls
149 as this functions has moved from BufferView to LyXText
152 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
154 * insetgraphicsParams.C: remove local displayTranslator and use
155 the one from graphics/GraphicsTypes.h.
157 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
159 * insetfloat.C (wide): add BufferParams parameter
161 * insetfloatlist.C (read):
164 * insetfloat.C (latex):
166 * insetcaption.C (draw): use LyXTextClass::floats()
168 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
170 * insetoptarg.h: add std:: qualifier.
172 2002-08-26 Juergen Vigna <jug@sad.it>
174 * insettext.C (localDispatch): ditto.
176 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
178 2002-08-25 John Levon <levon@movementarian.org>
180 * inseturl.C: elide long URLs (bug 404)
182 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
184 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
185 remove "Format Version <version_no.>" string from inset header
188 * insetgraphicsParams.[Ch]: Implement new graphics dialog
190 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
191 a member of "grfx::Params" anymore.
193 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
195 2002-08-24 John Levon <levon@movementarian.org>
198 * insetoptarg.C: ws, pedantry ...
200 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
202 * insettext.C (collapseParagraphs): pasteParagraph now in global
204 (appendParagraphs): ditto
206 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
208 * insetcite.C (latex): Remove spaces only after commmas.
210 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
212 * insettext.C: remove NO_COMPABILITY stuff
214 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
216 * insettext.C (edit): use ParagraphList iterators
218 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
219 (bibitemWidest): ditto
221 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
223 * insettext.C: include <boost/bind.hpp>
224 add using std::for_each
225 (saveLyXTextState): use ParagraphsList::iterator
226 (init): use for_each on paragraphlist iterators
227 (InsetText): remove superflous setting cached_bview to 0
228 (latex): reformat a bit
229 (ascii): use paragraphlist iterators
230 (validate): use for_each + boost bind
231 (getLabelList): use paragraphlist iterators
232 (deleteLyXText): use for_each + boost::bind
233 (resizeLyXText): ditto
234 (reinitLyXText): ditto
235 (removeNewlines): use paragraphlist iterators
236 (getParFromID): ditto
237 (paragraph): use for_each + boost::bind
238 (getInsetFromID): use paragraphlist iterators
239 (getLabelList): typo fix
241 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
243 * insettext.C (read): assign tmp to paragraphs after return from
244 call to parseSingleLyXformat2Token
247 2002-08-13 Angus Leeming <leeming@lyx.org>
266 changes due to the changed LyXView interface that now returns references
267 to member variables not pointers.
269 2002-08-13 Angus Leeming <leeming@lyx.org>
272 * insetcollapsable.h:
275 * insettext.h: forward-declare WordLangTuple
276 (selectNextWordToSpellcheck) constify return type.
279 * insetcollapsable.C:
282 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
284 2002-08-12 Angus Leeming <leeming@lyx.org>
286 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
288 2002-08-12 Juergen Vigna <jug@sad.it>
290 * insetcollapsable.C (edit): ignore if entered when pressing mouse
293 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
295 * insetbib.C (bibitemMaxWidth): ParagraphList changes
296 (bibitemWidest): ditto
297 * insettext.[Ch]: ditto
299 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
301 * insettext.C, insetert.C: use Paragraph::empty where appropriate
303 2002-08-09 Angus Leeming <leeming@lyx.org>
305 * insetinclude.C (latexString): remove fudge now that I've found out
306 how to enable LaTeX to find the file using input@path.
308 2002-08-09 John Levon <levon@movementarian.org>
311 * insettext.C: remove unused xpos
313 2002-08-07 Juergen Vigna <jug@lyx.org>
315 * insettabular.C (localDispatch): make delete not put the stuff
316 in the clipboard only do this on a cut operation.
318 * insettext.C (localDispatch): make delete and backspace not put
319 selected stuff to the clipboard.
321 2002-08-07 André Pönitz <poenitz@gmx.net>
324 * insetcollapsable.[Ch]:
329 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
331 2002-08-06 John Levon <levon@movementarian.org>
335 * insetcollapsable.h:
336 * insetcollapsable.C:
342 * insettext.C: use WordLangTuple for spellcheck
344 2002-08-06 Angus Leeming <leeming@lyx.org>
346 * insetinclude.C: add a monitor to the previewed image, so that the
347 image is refreshed if the \input-ed file changes.
349 2002-08-04 John Levon <levon@movementarian.org>
352 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
354 2002-08-02 Angus Leeming <leeming@lyx.org>
356 * insetcommandparams.[Ch] (preview): new methods returning and setting
357 a new bool preview_ flag.
358 (read): read this flag.
359 (operator==): add flag to check.
361 * insetinclude.C (write): output new preview() flag.
362 (previewWanted): use this flag.
364 2002-08-02 Angus Leeming <leeming@lyx.org>
366 * insetcollapsable.[Ch] (addPreview):
367 * insettabular.[Ch] (addPreview):
368 * insettext.[Ch] (addPreview): new methods. Can now generate previews
369 for insets in insets.
371 2002-08-02 Angus Leeming <leeming@lyx.org>
373 * insetcite.C: fix typo.
375 * insetgraphics.C: kill current_view and instead cache the BufferView
378 * insetinclude.C: kill current_view and pass the BufferView to the
379 PreviewedInset so that it can cache it.
381 2002-08-01 Angus Leeming <leeming@lyx.org>
383 * inset.h (generatePreview): renamed as addPreview.
384 (generatePreview): new method. Allows code to be moved out of
385 math_nestinset.C and into the new PreviewedInset class.
387 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
388 add previews to the inset when \input-ing LaTeX.
390 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
392 * several files: strip,frontStrip -> trim,ltrim,rtrim
394 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
396 * insetbib.C (latex): modify because of strip changes
398 * insetnote.C (InsetNote): ditto
400 2002-07-26 Juergen Vigna <jug@sad.it>
402 * insettabular.C (searchForward): check for lastcell if we
405 2002-07-25 Juergen Vigna <jug@sad.it>
407 * insettabular.C (insetMotionNotify): Don't update the screen
408 if we didn't do nothing.
409 (searchForward): last cell was not checked.
411 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
413 * insetfloat.C (read, write): Allow default placement
414 (floatPlacement_ is empty).
416 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
418 * insetminipage.h (noFontChange):
419 * insettabular.h (noFontChange):
420 * insetfootlike.h (noFontChange):
421 * insetfloat.h (noFontChange): return true
423 * inset.h (noFontChange): new method, defaulting to false
425 2002-07-22 Herbert Voss <voss@lyx.org>
427 * insetgraphicsParams.[Ch]: support size_type for old docs
429 2002-07-22 Herbert Voss <voss@lyx.org>
432 * insetgraphicsParams.[Ch]: change size_type to size_kind and
435 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
437 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
439 * insetlatexaccent.h: do not include "lyxlex.h"
441 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
444 * insetlatexaccent.C:
448 * insetbib.C: #include "lyxlex.h"
454 * insettext.C: use BufferParams::getLyXTextClass
457 * insetfloat.C (addToToc): new method. Add to toclist the entries
458 corresponding to Caption layouts
459 (InsetFloat): when creating a new float, set the layout to "Caption"
461 2002-07-21 Herbert Voss <voss@lyx.org>
463 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
464 image relevant part into graphics/GraphicsImgae.C
466 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
468 * insettoc.C (ascii):
469 * insetfloatlist.C (ascii): change to use the new Toc functions
470 instead of stuff that was in Buffer
472 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
474 * insettext.C (localDispatch): BufferView::Dispatch has been
475 renamed to BufferView::dispatch
477 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
479 * insetgraphicsParams.C (as_grfxParams): use the new
480 keepLyXAspectRatio parameter. Note that this is an adaptation of a
481 1.2.0 patch, and I do not really know how to adapt it to the new
482 grfx::Cache world. Angus, please could you have a look?
484 2002-05-01 Herbert Voss <voss@lyx.org>
486 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
488 2002-07-18 Angus Leeming <leeming@lyx.org>
490 * insetgraphics.C: clean-up comments (from Herbert).
491 add a new checksum variable to the cache. Use it in PrepareFile.
492 (draw): start monitoring the file for a change.
493 (prepareFile): re-arrange a little to avoid unnecessary steps.
495 2002-07-17 Angus Leeming <leeming@lyx.org>
497 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
498 a method rather than to the signal directly.
500 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
502 * insettext.C: use view_state_changed, switchKeyMap
504 2002-07-17 Herbert Voss <voss@perce.de>
506 * insetgraphics.C (prepareFile): keep the extension when
507 exporting to nice file
509 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
511 * insetcite.C (getNatbibLabel):
512 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
514 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
516 * insetgraphics.C: use ->isDrawable()
518 2002-07-12 Angus Leeming <leeming@lyx.org>
520 * insetgraphics.C: use the new smart loading capabilities of the image
523 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
525 * insettabular.C (edit): Move into correct cell when entering a
528 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
531 2002-07-05 Angus Leeming <leeming@lyx.org>
533 * inset.h (generatePreview): new virtual method.
535 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
537 * insetcommandparams.[Ch] (operator=): move out of class
538 (operator!): move out of class
540 2002-07-04 André Pönitz <poenitz@gmx.net>
542 * insetcommandparams.[Ch]: new files
544 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
546 2002-06-15 Herbert Voss <voss@perce.de>
548 * insetgraphics.C (prepareFile): bugfix; return always
549 files without extension
551 2002-06-28 Angus Leeming <leeming@lyx.org>
553 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
554 rename asGParams -> as_grfxParams.
556 * insetgraphics.C: reflect above change.
558 2002-06-26 Angus Leeming <leeming@lyx.org>
560 * insetgraphics.h: use boost::scoped_ptr in preference to
563 2002-06-26 Angus Leeming <leeming@lyx.org>
565 * insetgraphics.C: moved the image loading stuff into a new class
566 grfx::Loader. Simplifies this file enormously.
568 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
570 * insetgraphicsParams.C: changes aassociated with moving
571 grfx::DisplayType out of grfx::GParams.
573 2002-06-26 André Pönitz <poenitz@gmx.net>
575 * insetgraphics.C: use os::external_path where necesaary according to a
576 patch from Claus Hentschel)
578 2002-06-25 Angus Leeming <leeming@lyx.org>
580 * insetgraphics.[Ch]: The inset now assumes the responsibility for
581 generating a pixmap once the graphics file is loaded into memory.
582 The current_view ugliness that was in grfx::ModifiedImage has been
583 moved here now that grfx::ModifiedImage is no more.
585 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
587 * insettext.C: layout as layout
589 2002-05-28 André Pönitz <poenitz@gmx.net>
591 * insetfloatlist.h: remove source of compiler warning
593 * insetref.C: tiny whitespace
595 2002-06-15 Herbert Voss <voss@perce.de>
597 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
598 and take always convert when no userdefined converter was
600 (latex) small changes in the lyxerr output
602 2002-06-15 LyX Development team <lyx@rilke>
604 * inset*.[Ch] (docbook): Added new argument to take the pernicious
605 mixed content. Small white spaces clean.
607 2002-06-14 Angus Leeming <leeming@lyx.org>
609 * inseetexternal.C: remove the using std::difftime declaration.
611 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
613 * insetquotes.C: change lyxfont::draw to font_metrics::draw
615 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
617 * insetquotes.C (draw): fix drawing of double quotes
619 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
621 * insettabular.C: s/scrollCB/scrollDocView/
623 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
625 * insettext.C: change of topCursorVisible()
628 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
631 * insettext.C: rename/change of LyXScreen
633 2002-06-07 Angus Leeming <leeming@lyx.org>
635 Fixes needed to compile with Compaq cxx 6.5.
637 all c-library variables have been moved into namespace std.
638 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
640 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
642 * insetinclude.C (uniqueID):
643 * insetgraphics.C (uniqueID): renamed from unique_id, since this
644 conflicted with some AIX headers.
646 2002-05-31 Juergen Vigna <jug@sad.it>
648 * insetert.C (get_new_label): add '...' for multi-paragraph ert
652 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
654 * insetexternal.C (clone): fix () bug when using new
655 (updateExternal): don't only look for difftime in global scope
657 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
659 * insettabular.C: add const
661 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
663 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
664 file name, in case there are weird characters like ',' in there.
667 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
669 * switch from SigC signals to boost::signals.
671 2002-05-28 André Pönitz <poenitz@gmx.net>
673 * insets/insetgraphicsParams.[Ch]:
674 put in inset related stuff from src/graphic
676 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
684 * insetcollapsable.C:
685 * insetcollapsable.h:
713 * inseturl.h: use mouse_state. Kill insetKeyPress
715 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
720 * insetcollapsable.C:
723 * insetlatexaccent.C:
725 * insetspecialchar.C:
727 * insettext.C: name change for font metrics
729 2002-05-24 Juergen Vigna <jug@sad.it>
731 * insetgraphics.h: include inset.h first (for LString.h)
733 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
735 * insettext.C: screen moved
737 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
755 * inseturl.C: LyXView moved into frontends/
757 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
762 * insetcollapsable.C:
766 * insetgraphicsParams.C:
767 * insetlatexaccent.C:
769 * insetspecialchar.C:
771 * insettext.C: move Painter to frontends/
773 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
775 * insettabular.h: use more specific smart_ptr header.
778 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
781 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
783 * insettext.C: clear selection on paste (bug 393)
785 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
787 * insettext.C (latex): Honor the moving_arg argument.
789 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
791 * insetfoot.C (latex): if a footnote is in a title layout, then it
792 is a \thanks. And then, its contents is a moving argument.
794 2002-05-14 Juergen Vigna <jug@sad.it>
796 * insetcollapsable.C (InsetCollapsable): forgot to initialize
799 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
801 * Insetcite.C (getNatbibLabel): don't disable natbib label support
802 when using options "Full author list" or "Upper case".
804 2002-05-14 Herbert Voss <voss@perce.de>
806 * insetgraphics.C (prepareFile): allow files with same name
808 (readFigInset): set the flags from old figinset in the right
810 (findTargetFormat): more comments
812 2002-05-14 Juergen Vigna <jug@sad.it>
814 * insettext.C (edit): tell checkAndActivateInset() that we don't
816 (checkAndActivateInset): if button < 0 we don't have a button press
817 on the inset and os we won't call edit on it if it's not a Highly
818 editable inset (then we have to enter it).
820 2002-05-13 Juergen Vigna <jug@sad.it>
822 * insetcollapsable.C (insetButtonRelease): returned wrong return
825 2002-05-09 Juergen Vigna <jug@sad.it>
827 * insetcollapsable.C (edit): first_after_edit should only be
828 set to true if we enter this inset and it was collapsed so we
829 open it up. This is needed to reclose it after a search/replace
830 or spellcheck function opened it and was negative.
832 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
834 * insetfloat.C (latex): Return correct value.
836 2002-05-04 Herbert Voss <voss@perce.de>
838 * InsetgraphicsParams.C (read): fix bug with WH
840 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
842 * insetfloat.C (latex): More sensible latex output
843 (fix the problem with endfloat).
845 2002-05-02 José Matos <jamatos@fep.up.pt>
847 * insetgraphics.C (validate): acess params as everyone else.
849 2002-05-03 Juergen Vigna <jug@sad.it>
851 * insettabular.C (fitInsetCursor): recalculate the cursor position
854 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
856 * InsetgraphicsParams.[Ch]: whitespace.
858 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
860 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
861 float type do not exist.
863 2002-04-28 Herbert Voss <voss@perce.de>
865 * insetgraphics.C (latex): fix bug with missing file-extension.
866 LaTeX still allows a missing "eps" or "ps".
868 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
870 * insetfloat.C (c-tor, wide): translate the name of the float.
872 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
874 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
875 when using natbib and make it work efficiently. Must emphasise that the
876 real work is Herbert's.
878 2002-04-23 Herbert Voss <voss@perce.de>
880 * insetgraphic.C (prepareFile): fix bug with overwriting and
881 deleting an existing *.eps-file in the doc-dir
883 2002-04-23 Juergen Vigna <jug@sad.it>
885 * insettabular.C (drawCellSelection): fix off by 1 error.
887 2002-04-22 Juergen Vigna <jug@sad.it>
889 * insettabular.C (setFont): rewoke full selection if it was asked,
890 after we changed all we had to change.
892 * insettext.C (insetUnlock): code was uninitialized in some situations.
894 2002-04-19 Herbert Voss <voss@perce.de>
896 * insetgraphic.C (prepareFile): return filename without
897 extension if we only export without compiling
899 2002-04-19 Juergen Vigna <jug@sad.it>
901 * insettext.C (draw): call a fullRebreak on the row where we had a
902 change and reset the cursor and selection-cursors.
904 * insettabular.C (insetUnlock):
905 (insetButtonPress): call an update before setting the_locking_inset = 0
906 as otherwise we don't repaint!
907 (update): reset the cursor position when we changed dimensions as
908 otherwise our cursor may be on the wrong spot.
910 2002-04-18 Juergen Vigna <jug@sad.it>
912 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
913 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
914 redraw otherwise we won't redraw.
916 * insettext.C (draw): fixed the setting of LyXText::first_y it was
917 not really right before, but I only discovered this with the last
918 changes to Page up/down.
920 2002-04-17 Juergen Vigna <jug@sad.it>
922 * insettext.C (checkAndActivateInset): simplified as we now have the
925 * insettext.h: changed behind variables to front variables to be
926 equal to the one in the edit call (as it is for that they are used).
928 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
930 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
931 not output anything at all!
933 2002-04-16 Juergen Vigna <jug@sad.it>
935 * insettabular.C (insetButtonPress):
936 (insetUnlock): call a redraw on unlocking the cell inset.
938 * insettext.C (insetButtonPress): same as below.
939 (lockInset): new function to set initial values when inset should
941 (insetButtonPress): use above function.
942 (insetUnlock): don't force a repaint only set the updateStatus. The
943 outside world should repaint if it thinks it should be done!
945 * insettabular.C (insetButtonPress): init values if not set as locked
946 as we are locked if someone presses on us and don't call the edit()
947 call of the InsetText to lock it do it as BufferView does it!
949 * inset.h (insetInInsetY): make func const and return an int.
952 * insetcollapsable.C: adapt the above changed function.
954 2002-04-15 Juergen Vigna <jug@sad.it>
956 * insettext.C (getCursorPos): return relative position as to be able
957 to give them directly to the edit() call.
958 (edit): we have to set also x_fix as it is not set inside the
959 setCursorFromCoordinates call!
960 (insetMotionNotify): ditto.
962 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
964 * insetbib.C (getKeys): strip leading '\t's from the line too.
965 With thanks to Henry Pfister <hpfister@ucsd.edu>.
967 2002-04-12 Juergen Vigna <jug@sad.it>
969 * insettext.h: added cix() helper function and use it where appropriate
971 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
973 * insetgraphics.C (prepareFile): fix bug when graphics is a
976 2002-04-12 Juergen Vigna <jug@sad.it>
978 * insettext.C (insertInset): remove unneeded code!
979 (updateLocal): fitCursor() fixes.
980 (collapseParagraphs): fix a possible problem when having a selection
981 and collapsing the paragraphs.
983 2002-04-08 Herbert Voss <voss@perce.de>
985 * insetgraphic.C (write): write the rotating angle as
986 a float as is. test only for != 0.0
988 2002-04-11 Juergen Vigna <jug@sad.it>
990 * insettext.C: new function ciy() and use it for setting inset_y.
992 * insetert.C (draw): fix the x return for collapsed version.
994 2002-04-07 Herbert Voss <voss@perce.de>
996 * insetgraphic.C (readFigInset): fix bug with subcaption and
999 2002-04-08 Herbert Voss <voss@lyx.org>
1001 * insetgraphicsparam.C: forgot special option and delete old
1004 2002-04-05 Juergen Vigna <jug@sad.it>
1006 * insettext.C (localDispatch): make a CURSOR update if we inserted
1009 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1011 * insetfloatlist.C (getScreenLabel):
1012 (latex): use Floating::listName
1013 (validate): new method
1015 2002-04-03 José Matos <jamatos@fep.up.pt>
1017 * insetlabel.C (docbook): the anchor is an empty element in docbook.
1019 * insetfoot.[Ch] (docbook): added forgotten method.
1021 2002-04-03 Juergen Vigna <jug@sad.it>
1023 * insettext.C (insetButtonPress): fix insetButtonPress events the same
1024 way as in Bufferview_pimpl.
1026 2002-04-03 Allan Rae <rae@lyx.org>
1028 * insetgraphics.C (latex): one % too many makes living on the bleeding
1029 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
1031 2002-03-28 Herbert Voss <voss@lyx.org>
1033 * insetgraphic.C (latex): simplify the code for the latex
1034 output when the file doesn't exist
1036 2002-03-29 Juergen Vigna <jug@sad.it>
1038 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
1041 * insettabular.C (edit): call fitCursor().
1043 * insettext.C (insetButtonPress): change behaviour of no_selection
1044 to the one in the BufferView selection_possible and fix the spurious
1045 selection bug with it.
1046 (localDispatch): revoke selection on BREAK... functions.
1048 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1050 * insetfloatlist.C (getScreenLabel): translate the GUI label.
1052 2002-03-28 Juergen Vigna <jug@sad.it>
1054 * insettabular.C (insetAllowed): return true as default value otherwise
1055 we're not able to insert insets inside paragraphs of an not locked
1058 2002-03-27 Herbert Voss <voss@lyx.org>
1060 * insetgraphicsparam.C: change c%, p% to col%, page%
1062 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1064 * insetspecialchar.C (isLineSeparator): disable the nice code to
1065 allow linebreaks after hyphenation and menu separators.
1067 2002-03-26 Herbert Voss <voss@lyx.org>
1069 * insetgraphics.C (figinsetRead): set the right lyxview
1071 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1073 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
1074 $\backslash$ and pass a "string const &" to the function.
1075 (prepareFile, latex): use Path rather than MakeAbsPath.
1077 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1079 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
1080 proper fix to the graphics cache.
1081 (latex): "really" nice output if the file is not found ;-)
1083 2002-03-26 Juergen Vigna <jug@sad.it>
1085 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
1086 (collapseParagraphs): fixed inserting of separator ' '
1088 * insettabular.C (insertAsciiString): only check for buffer lenght
1089 not if we have \t or \n inside the buffer as if we don't have we only
1090 have 1 cell and that's it!
1092 * insetert.C (close): don't collapse if inlined.
1094 2002-03-25 Herbert Voss <voss@lyx.org>
1096 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
1097 graphics file does not exist.
1099 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
1101 * insetgraphics.C (prepareFile): ensure that the file has an absolute
1102 path when preparing export.
1104 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
1105 no longer MakeRelPath.
1107 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1109 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
1110 Used to determine the absolute path to the graphics file in the
1111 graphics cache and only in the graphics cache.
1112 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
1113 make graphics file name absolute if it is stored as a relative path.
1115 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
1116 make graphics file name absolute if it is stored as a relative path.
1118 * insettext.C (edit): emit an updateParagraph signal on entering a text
1119 inset. Needs to be emitted when leaving the inset also.
1121 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1123 * all files: ws cleanup
1125 * Makefile.am: remove ld -r stuff
1127 2002-03-21 Juergen Vigna <jug@sad.it>
1129 * insettext.C (appendParagraphs): new function added to append
1130 the paragraphs to this insets paragraphs.
1132 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1134 * Makefile.am: special rules if partial linking
1136 2002-03-19 Juergen Vigna <jug@sad.it>
1138 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
1140 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
1142 * insetgraphics.C: Clean up Baruch's comments a little.
1143 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
1145 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
1148 * insettheorem.C: wrap warnings
1150 * insetgraphics.C: improve messages, move cached_status_
1151 setting to safer place
1153 2002-03-18 Juergen Vigna <jug@sad.it>
1155 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
1157 (localDispatch): ditto
1159 * insettext.C (edit): removed unneeded showCursor calls.
1160 (localDispatch): ditto.
1162 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1164 * insetgraphics.h: remove display() method.
1166 2002-03-11 Juergen Vigna <jug@sad.it>
1168 * insetgraphics.C (draw): hack to fix the redrawing bug.
1169 (draw): seems this fixes #268 (force redraw of row if we changed).
1171 * insettext.C (updateInsetInInset): fixed for updates in insets inside
1172 this inset text (don't know why I missed this earlier).
1174 2002-03-08 Juergen Vigna <jug@sad.it>
1176 * insettabular.C (updateLocal): do a FULL update if we're not locked
1177 and only a CELL update is asked.
1179 * insettext.C (updateInsetInInset): update insets inside inset also
1180 if it isn't inside the_locking_inset.
1182 * insettabular.C (updateInsetInInset): ditto.
1184 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1186 * insetexternal.C (doSubstitution): check whether we are using a
1187 temp dir for defining $$FPath
1189 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1192 * insettext.C: remove #include "WorkArea.h".
1194 2002-03-06 Juergen Vigna <jug@sad.it>
1196 * insettext.C (draw): fixed frame redrawing.
1197 (clear): forgot to set the inset_owner of the paragraph.
1199 * insetert.C (status): pay attention the bv can be 0 here!
1200 (getMaxWidth): add the default leftMargin
1202 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1204 * insetert.C (getMaxWidth): make w unsigned int.
1206 2002-03-05 Juergen Vigna <jug@sad.it>
1208 * insetert.C (status): change behaviour of Inlined.
1209 (getMaxWidth): added for new inlined behaviour.
1211 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
1213 * insetnote.h (linuxdoc, docbook): add empty methods.
1214 * insetinclude.C (validate): fix a case where buffer->niceFile was used
1215 before being initialized.
1217 2002-03-05 Juergen Vigna <jug@sad.it>
1219 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
1220 only that one in the inset. Should be enough.
1221 (updateLocal): set the selection cursor always if we don't have a
1222 selection to be sure it's set!
1224 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
1226 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1228 * insettext.C (clear): a gross hack to set layout on a newly
1231 2002-03-04 Juergen Vigna <jug@sad.it>
1233 * insettabular.C (localDispatch): inserted handling of
1234 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
1235 (insertAsciiString): new helper function.
1237 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
1239 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
1242 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1244 * insettext.C (InsetText): initalize newly created par with
1245 default layout. add bufferparams parameter
1248 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
1249 * insetcollapsable.[Ch] (InsetCollapsable): ditto
1250 * insetert.[Ch] (InsetERT): ditto
1251 * insetfloat.[Ch] (InsetFloat): ditto
1252 * insetfoot.[Ch] (InsetFoot): ditto
1253 * insetfootlike.[Ch] (InsetFootLike): ditto
1254 * insetmarginal.[Ch] (InsetMarginal): ditto
1255 * insetminipage.[Ch] (InsetMinipage): ditto
1256 * insetnote.[Ch] (InsetNote): ditto
1257 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
1259 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1261 * insettext.C: layout as string
1263 * insetinclude.C: layout as string
1265 * insetert.C: layout as string
1267 * insetbib.C: layout as string
1269 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
1272 * insettabular.C: remove #include "lyx_gui_misc.h".
1274 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
1279 * inset.h: remove figinset, yahoo !
1281 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
1283 * insetgraphics.C (c-tors): initialise parent classes explicitly in
1284 copy c-tor and initialise member variables in the correct order.
1286 2002-02-28 Juergen Vigna <jug@sad.it>
1288 * insettabular.C (localDispatch): clear selection on PgUp/Down.
1290 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1292 * inset.h: ... and add a better one here.
1294 * insetcommand.C (insetButtonRelease): remove that one which was a
1297 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1299 * insetcommand.C (insetButtonRelease): ... and move it here.
1301 * inseturl.h: remove insetButtonRelease from there...
1303 2002-02-26 Juergen Vigna <jug@sad.it>
1305 * inseturl.h: Added a insetButtonRelease call returning true as
1308 * insetlabel.C (edit): Fixed wrong update handling after change I
1309 leave in the wrong code for the one who wrote it to remove and have
1310 a look what he did wrong.
1312 * insettabular.C (localDispatch): force a SELECTION update if we
1313 had a selection and we passed the event down to the inset (fix #213)
1314 (localDispatch): handle font changing stuff when we have a cell
1315 selection so that the selection is not rewoked. I don't really like
1316 this fix, but it's the only way I see to do it right now.
1318 2002-02-22 Juergen Vigna <jug@sad.it>
1320 * insettext.C (insetUnlock): set the cursor to the second paragraph
1321 if available and if the first one is empty (fix #191).
1323 2002-02-20 Juergen Vigna <jug@sad.it>
1325 * insettext.C (getDrawFont): implemented this function to call the
1326 one of the owner if present as the owner normally knows what to do
1329 * insetert.C: implement getDrawFont() function and comment out all
1330 the crap for setting a special latex font inside this inset.
1331 (InsetERT): added a Lanugage parameter to this constructor.
1333 * inset.h: added function getDrawFont(LyXFont & font) to be able to
1334 change the font for being drawn on screen (used only in InsetERT for
1337 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
1338 and also above (was missing).
1339 (updateLocal): don't remove the cell selection if we have one this
1340 should be done where we really want to remove it.
1342 2002-02-20 José Matos <jamatos@fep.up.pt>
1344 * insetinclude.h: include_label made string const.
1346 * insetinclude.C (InsetInclude): moved include_label initialization.
1349 (validate): fix support for temporary directory, for docbook and
1352 * insetgraphics.h : new private member, graphic_label, that holds
1353 the entity name that defines the graphics location (SGML).
1355 * insetgraphics.C (unique_id): new function to give a unique label
1358 (validate): the file locatation is given by an entity reference.
1360 2002-02-18 Herbert Voss <voss@lyx.org>
1362 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
1364 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1366 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
1367 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
1369 2002-02-18 José Matos <jamatos@fep.up.pt>
1371 * insetinclude.C (validate): some code only applies to latex buffers,
1372 it was made conditional.
1374 2002-02-12 Herbert Voss <voss@lyx.org>
1376 * insetgraphics.C: (prepareFile) do not check at this time
1377 if the file is present.
1379 2002-02-12 Herbert Voss <voss@lyx.org>
1381 * insetgraphics.C: latex(), return the correct newlines
1383 2002-02-13 José Matos <jamatos@fep.up.pt>
1385 * inseturl.C (docbook): escape & in url.
1387 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1389 * insetspecialchar.C (isLineSeparator): line breaking is allowed
1390 after HYPHENATION and MENU_SEPARATOR
1392 * inset.h (isLineSeparator): new method, returns false by default.
1394 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1396 * insetert.C (status): do not update the text inset, but the ERT
1399 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
1401 * insetnote.C: use notebg for background
1403 2002-02-08 Herbert Voss <voss@lyx.org>
1406 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
1407 prevent LyX from unzipping when this should be handled
1408 by latex vis the graphic.cfg.
1411 2002-02-08 Herbert Voss <voss@lyx.org>
1413 * insetgraphic.C: prepareFile(): fix bug when file doesn't
1414 exists, than return filename with extension
1416 2002-02-06 Herbert Voss <voss@lyx.org>
1418 * insetgraphic.C: prepareFile(): don't convert the file, when
1419 it's not viewed in LyX. Saves a lot of time when opening a
1422 2002-02-05 Herbert Voss <voss@lyx.org>
1425 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
1426 and adding a rotate bool similiar to subcaption
1428 2002-02-04 Herbert Voss <voss@lyx.org>
1431 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
1432 similiar view to the LaTeX one. Get zipped files work.
1434 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
1436 * insetgraphicsParams.C (init): set display to DEFAULT.
1437 No longer #include "lyxrc.h".
1439 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
1441 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
1442 for now (so that the code compiles).
1444 2002-02-02 Herbert Voss <voss@lyx.org>
1446 * insetgraphic.C: delete inVariant() and some minor changes
1447 * insetgraphicsParams.[C]:
1449 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
1451 * insetgraphics.C (updateInset): if params.display == DEFAULT,
1452 interogate lyxrc.display_graphics before diaplaying the graphic.
1454 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
1455 InsetGraphicsParams::DisplayType.
1457 2002-01-31 Herbert Voss <voss@lyx.org>
1459 * insetgraphic.C: (readfigInset) set display to pref-default
1461 2002-01-30 Herbert Voss <voss@lyx.org>
1463 * insetgraphic.C: get the filetyp from it's contents
1464 * insetgraphicparams.C: add token scale and lyxrc.display when
1465 creating a new inset
1467 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
1469 * figinset.C: added using std::ios directive.
1471 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1473 * figinset.C (runqueue): open translation file in binary mode (for
1476 2002-01-27 Herbert Voss <voss@lyx.org>
1478 * insetgraphic.[Ch]: mostly newritten to support graphicx with
1479 all options and to be sure that the old figinsets are correct
1481 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
1482 structure and to support all lengths as LyXLength. The Parameter
1483 structure changed again, but reading of "old" 1.2 graphic insets
1486 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
1488 * insetert.h (forceDefaultParagraphs): Added
1490 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1492 * insettabular.C (getMaxWidth):
1493 (forceDefaultParagraphs): use Tabular::GetCellFromInset
1495 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1497 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
1498 of LyXLength::inPixels
1500 * inset.C (latexTextWidth):
1501 * insetminipage.C (latexTextWidth): new method, which implements
1502 the equivalent of the LaTeX macro \textwidth
1504 * insetminipage.C (getMaxWidth): use latexTextWidth
1506 2002-01-18 Juergen Vigna <jug@sad.it>
1508 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
1510 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1512 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
1514 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
1517 2002-01-17 Juergen Vigna <jug@sad.it>
1519 * insettabular.C (lockInsetInInset): same change as in insettext.
1521 * insettext.C (draw): width() function was called without setting
1522 the right top_x which could lead to wrong insetWidth setting!
1523 (lockInsetInInset): call edit instead of calling lockInset if we
1524 have to lock an inset inside!
1525 (edit): we have to also tell the inset that we have to redraw the
1526 frame on an edit call if this inset draws a frame only if locked.
1528 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1530 * insetbib.C (getFiles): uncomment Path variable.
1532 2002-01-16 Juergen Vigna <jug@sad.it>
1534 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
1537 2002-01-16 Allan Rae <rae@lyx.org>
1539 * insetinclude.C (docbook): someone forgot a ";"
1541 2002-01-16 José Matos <jamatos@fep.up.pt>
1543 * figinset.C (docbook): removed a old place holder "@".
1544 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
1545 * insetinclude.C (linuxdoc): if include is verbatim, then export the
1546 ascii text version, clearly guarded inside a CDATA section.
1547 (docbook): in docbook 4, inlinegraphics is empty.
1548 * insettabular.C (linuxdoc): export the ascii version of the table
1549 inside a CDATA section.
1551 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1553 * insetparent.C (InsetParent):
1554 * insetgraphicsParams.C (Write):
1556 * insetgraphics.C (prepareFile):
1559 * insetexternal.C (executeCommand):
1560 (doSubstitution): use Buffer::filePath
1562 * insetbib.C (getFiles): add a #warning for Angus
1564 * insetgraphics.C: Add a remark about how filenames should be
1565 considered to be relative to buffer (but absolute is still allowed)
1566 (draw): do not try to get status if lyxrc.use_gui is false
1568 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1571 * insetcollapsable.[Ch]:
1572 * insettabular.[Ch] (searchForward, searchBackward): change the
1573 bool const & params to bool.
1575 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
1576 to avoid the name clash with InsetCollapsable's methods of the same
1577 names but different functionality.
1579 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1581 * insettext.C (ascii): use lyx::count rather than countChar.
1583 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
1585 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
1587 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1589 * insetgraphics.C (updateInset): do not try to render image if
1590 lyxrc.use_gui is false (bug #104)
1592 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
1593 if file does not exist
1595 * figinset.C (browseFile): add shortcuts to directory buttons
1597 * insettext.C (updateLocal): update menubar and toolbar here too.
1599 2002-01-13 Allan Rae <rae@lyx.org>
1601 * insettabular.C (InsetTabular): Both constructors now initialise
1602 all class variables.
1604 2002-01-11 Juergen Vigna <jug@sad.it>
1606 * insettext.C (insetButtonPress): set the_locking_inset to 0.
1608 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1610 * insettabular.C (getStatus): add forgotten brace around multiline
1613 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1615 * insetfloat.C (validate): require "float" instead of "floats".
1617 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
1619 * insettabular.C (getStatus): use FuncStatus
1621 2002-01-08 Juergen Vigna <jug@sad.it>
1623 * insettabular.C (insetButtonRelease): now this should work too
1626 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
1627 if the width is a percentage.
1629 * inset.h: added isChar() function and implemented this for
1630 insetspecialchar insetquotes and insetlatexaccent.
1631 added forceDefaultParagraphs() and implemented it for insettabular.
1633 2002-01-07 Juergen Vigna <jug@sad.it>
1635 * insettext.C (getLyXText): Fixed this function. An insert into the
1636 map is only done if we REALLY have a new BufferView.
1638 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
1640 * insettext.C: fix bug illustrated by attachment #37 of bug #59
1642 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1644 * insetinclude.C: fix use of FileInfo
1646 2002-01-07 Juergen Vigna <jug@sad.it>
1648 * insettabular.C (draw): fixed clearing of cell around inset.
1650 2002-01-05 Juergen Vigna <jug@sad.it>
1652 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
1653 variables are updated.
1655 * insettabular.C (resetPos): set always the inset_y as it may be
1656 needed in another function.
1657 (searchBackward): don't draw while searching.
1659 2002-01-04 Juergen Vigna <jug@sad.it>
1661 * insettext.C (lockInsetInInset): forgot to set a cursor.
1663 2002-01-02 Juergen Vigna <jug@sad.it>
1665 * insettext.C (insertInset): make the correct undo informations on
1666 inserting new insets.
1668 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
1670 * insettabular.C: correct single-cell select vertically
1672 2001-12-27 Juergen Vigna <jug@sad.it>
1674 * insettabular.C (ascii): export as tab-separated-values if the
1675 function was not called from export (f.ex.: clipboard).
1677 * insetcollapsable.h: added default support for ascii, linuxdoc and
1678 docbook export (the insettext is exported by default!)
1680 * insettabular.C (copySelection): suff the clipboard with the tabular
1681 data in a tab separated format, seems more naturals then with all the
1684 2001-12-24 Juergen Vigna <jug@sad.it>
1686 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
1687 to check for REAL mouseMotion.
1689 2001-12-20 Juergen Vigna <jug@sad.it>
1691 * inset.C (cursor): return the owners cursor if available instead of
1692 always only the bv->text->cursor.
1694 * insettabular.C (checkLongtableSpecial): works now.
1696 2001-12-19 Juergen Vigna <jug@sad.it>
1698 * insettabular.C (tabularFeatures): fix the row setting of ltt as
1699 this has to be always row + 1 as 0 means not selected!
1700 (checkLongtableSpecial): added
1701 (tabularFeatures): better longtable options support
1703 * insettext.C (resizeLyXText): reinit the text always also on a
1706 2001-12-18 Juergen Vigna <jug@sad.it>
1708 * insettext.C (updateInsetInInset): look if we have to autocollapse
1709 paragraps and return if the update is requested for ourself.
1711 * insetert.C (status): update the insettext not myself as that is what
1714 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
1715 function only return if the update was requested with myself.
1717 * insettext.C (insetButtonPress): fixed stupid bug.
1718 (various functions): pay attention that lt is cleared BEFORE calling
1719 updateLocal() and try to use it in the right manner (don't use it
1720 if it's not really neccessary!)
1721 (collapseParagraphs): insert a blank between collapsing paragraphs
1722 if neccessary (not already there!).
1724 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1726 * insettabular.C: move includes around a bit, add a couple of
1729 * insettext.[Ch]: move includes around a bit, other ws changes and
1732 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1734 * insettext.C (insetButtonRelease): fix compile problem
1736 2001-12-17 Juergen Vigna <jug@sad.it>
1738 * insettext.C (insetButtonPress): set the selection cursor!
1739 (insetButtonPress): clear the selection (and set with that the
1740 selection.cursor) if we only hit an inset!
1742 * insetert.C (read): removed piece of compatibility code only needed
1745 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
1748 * insetcollapsable.C (insetButtonRelease): changed so that it can
1749 open eventual existing popup dialogs on mousebutton==3.
1751 * insetfloat.C (insetButtonRelease): removed not needed anymore!
1753 * insetminipage.C (insetButtonRelease): removed not needed anymore!
1755 * inset.C (insetButtonRelease): return a bool for telling the outer
1756 world that we opened a dialog.
1758 2001-12-07 Juergen Vigna <jug@sad.it>
1760 * insettext.C (paragraph): remove the deleteing of paragraphs as
1761 it was a WRONG move!
1763 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1766 * insettabular.C: use new setSelection(). Allow
1767 selection of single cells.
1769 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1771 * insetquotes.C (latex): fix to use the local language setting at
1772 the point where the inset is inserted (different macros for
1773 different french packages)
1775 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1777 * inset.h: add par_owner_ member variable and parOwner
1780 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1782 * insettabular.C (everywhere): adapt because widths are now real
1783 widths and not strings
1785 * insettext.C (draw): re-introduce the calls to width(), ascent()
1786 and descent() to initialize the caching variables.
1788 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1790 * insettext.C (draw):
1791 (drawFrame): use insetWidth instead of last_width
1793 * insettext.h: remove variable last_width (insetWidth is exactly
1794 the same) and last_height (computed but never used!)
1796 2001-12-10 Allan Rae <rae@lyx.org>
1798 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
1800 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1802 * insettext.C (insetAllowed): add comment
1804 2001-12-05 Juergen Vigna <jug@sad.it>
1806 * insettext.C (insetAllowed): fixed for the case that we directly
1807 ask the insettext from its LyXText.
1808 (paragraph): fixed the crash when assigning the par->next() from
1809 the EmptyParagraphMechanism!
1811 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1815 * insettext.C: change "while(" to "while ("
1817 2001-12-04 Juergen Vigna <jug@sad.it>
1819 * insetert.C (edit): handle Inlined status.
1821 * insettext.C (insertInset): trying John's fix for the trailing cursor
1823 * insetert.C (insetButtonPress): added to handle inlined status
1824 (insetMotionNotify): ditto.
1826 * insettext.C (clearInset): changed Painter & in BufferView * param,
1827 to be able to call ascent,descent methods.
1829 2001-12-03 Juergen Vigna <jug@sad.it>
1831 * insettext.C (updateInsetInInset): use lt variable to forbid
1832 changes of LyXText in an update call.
1833 (updateInsetInInset): fixed updating of non locked insets!
1835 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1837 * insettabular.C: capture some more functions to prevent
1838 selection drawing problems. Bug #451274
1840 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1843 * insetgraphicsParams.C: fix inverted sense of float_equal
1845 2001-11-30 Juergen Vigna <jug@sad.it>
1847 * insettabular.C (InsetTabular): use the save_id flag to create also
1848 the tabular with the same id's.
1850 * insettext.C (setParagraphData): added a same_id function for undo
1851 to set the same paragraph id's as of the paragraph we are setting.
1853 2001-11-30 José Matos <jamatos@fep.up.pt>
1856 * insettoc.[Ch]: DocBook -> docbook.
1858 2001-11-29 André Pönitz <poenitz@gmx.net>
1861 * insettext.C: further reduction of header dependencies by using
1862 lyx::layout_type and lyx::textclass_type from support/types.h
1864 2001-11-29 Juergen Vigna <jug@sad.it>
1866 * insettext.C: inserted a reinitLyXText function everywhere I delete
1867 the paragraphs! This should fixe the crashes we had.
1868 Also use the new function firstRow() instead of getRowNearY(dummy_y)
1869 (paragraph): set the InsetOwner() of the new paragraphs!
1871 2001-11-28 André Pönitz <poenitz@gmx.net>
1873 * insetnote.C: add pos initialization that I removed without
1876 2001-11-28 Juergen Vigna <jug@sad.it>
1878 * insettabular.C (resetPos): hack to not crash with infinite paints.
1880 * insettabular.h: insert missing function allowSpellcheck()!
1882 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
1884 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1887 * insetfloatlist.C: derive from InsetCommand so gui can use it
1890 2001-11-26 André Pönitz <poenitz@gmx.net>
1894 * insetnote.C: reduce header dependencies, introduce type for
1897 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1899 * various: update for Alert.h
1901 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
1903 * inset.h: fix comment
1905 * insettext.C: use par->isInset()
1907 2001-11-22 Allan Rae <rae@lyx.org>
1909 * insetcollapsable.h:
1910 * inset.h: Changes to checkInsertChar() behaviour.
1911 Now return value indicates whether chars can be inserted.
1913 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
1915 * various: updated to use the new LaTeXFeatures
1917 2001-11-14 José Matos <jamatos@fep.up.pt>
1919 * insetspecialchar.C (linuxdoc):
1920 (docbook): don't give a name to a unused variable.
1922 * insettext.C (docbook): removed unused variable.
1924 2001-11-13 Herbert Voss <voss@perce.de>
1926 * insetgraphic.C: fix scale bug
1928 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1930 * inset.h (isSpace):
1931 (isLetter): new virtual methods.
1933 * insetspecialchar.C (isSpace):
1934 (isLetter): implement here.
1936 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1938 * inset.h: new inline helpers
1940 * insettext.C: use new helpers
1942 2001-11-07 José Matos <jamatos@fep.up.pt>
1944 * insettext.C (docbook): full support for paragraphs inside insettext.
1946 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
1948 * insetindex.C: added header file for std::ostream.
1950 2001-11-03 José Matos <jamatos@fep.up.pt>
1952 * insetindex.C: added using std::ostream that I forgot yesterday.
1954 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
1956 * insetindex.h (docbook):
1957 * insetindex.C (docbook): added support for docbook export.
1959 2001-11-02 José Matos <jamatos@fep.up.pt>
1961 * insetcaption.C(docbook): added support for docbook export.
1963 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
1965 * insetexternal.C (updateExternal): Do not run update command if
1966 result file exists and is up to date.
1968 * ExternalTemplate.C (readFormat): Support the updateresult token.
1970 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
1972 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
1973 external_templates) to use the buffer->fileName() but only if
1974 previewing. Generating a TeX file should make FPath return
1977 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
1980 * insetert.C: fix some problems
1982 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
1984 * insetexternal.C (doSubstitution): Added $$FPath token
1985 to list of usable substitutions in external inset templates.
1987 2001-10-24 Juergen Vigna <jug@sad.it>
1989 * insettabular.C: use new ltType struct for setting longtable
1990 header and footers also new UNSET enums.
1992 2001-10-24 José Matos <jamatos@fep.up.pt>
1994 * insettabular.C (linuxdoc): Now exports the ascii's table version.
1995 (docbook): If the table is not inside a float then wrap it inside
1996 <informaltable>...</informaltable>.
1998 2001-10-23 José Matos <jamatos@fep.up.pt>
2000 * insetref.C (docbook): removed / terminator to conform SGML.
2002 * insetspecialchar.C (linuxdoc):
2003 (docbook): Added support for special chars, more than ascii export.
2005 2001-10-22 Juergen Vigna <jug@sad.it>
2007 * insettext.C (checkInsertChar): added for REALLY checking the
2008 font of the inserted char in the right inset!
2010 2001-10-19 Juergen Vigna <jug@sad.it>
2012 * inset.h: added method allowSpellcheck() so that insets who do
2013 not have anything to spellcheck can tell and so they are over-jumped.
2014 Implemented for InsetText and co.
2016 2001-10-18 Juergen Vigna <jug@sad.it>
2018 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
2020 2001-10-15 José Matos <jamatos@fep.up.pt>
2022 * insetert.C: allow export for docbook and linuxdoc
2024 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2026 * insetquotes.C (dispString): handles latin3 and latin4 quotes
2028 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2030 * insetquotes.C (dispString): fix handling of latin9 quotes
2032 2001-10-03 Juergen Vigna <jug@sad.it>
2036 * insetcollapsable.C: change updateInset calls to not tell BV that
2037 we have changed status.
2039 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2041 * insettabular.C (deletable): make const
2043 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
2045 * insetert.C (latex): Fix the returned value
2047 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
2049 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
2050 Returns string(), so nothing in an ERT inset is spellchecked.
2052 * insetgraphics.C (draw): print the filename if not displaying the
2054 (width): make sure that the width and draw methods are consistent.
2055 (updateInset): don't even load the image into cache if not displaying
2058 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
2060 * various files (selectNextWord): renamed as
2061 selectNextWordToSpellcheck.
2063 * insetgraphics.C (draw): remove the previous change. Right place
2064 is in imageLoaderXPM.C.
2065 (draw): don't display the image if params.display == NONE.
2067 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
2069 * figinset.C (runqueue):
2070 * insetgraphics.C (draw): set background colour of inset from
2071 background to the user-configurable graphicsbg.
2073 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2075 * insetquotes.C (InsetQuotes): when trying to decide the side of
2076 the quote, choose `left' only after a space or '('
2078 2001-09-04 José Matos <jamatos@fep.up.pt>
2083 * insetcollapsable.h
2101 * insetlatexaccent.C
2102 * insetlatexaccent.h
2107 * insetspecialchar.C
2108 * insetspecialchar.h
2112 * insettext.C (docbook): rename docBook method to docbook.
2114 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
2116 * inset.h (getFirstParagraph): New virtual method.
2118 2001-08-20 Herbert Voss <voss@perce.de>
2119 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
2120 in the the bibtex-database-gui for inserting a line
2123 If no style is given than there is no tex-output.
2125 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
2127 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
2131 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
2133 * insetert.C (latex): Fix output for multiple paragraphs.
2134 (write): New code for writing paragraph data.
2135 (read): Set font after reading the inset.
2136 (localDispatch): Call set_latex_font() for more cases.
2138 * insetnote.h: Add empty validate method.
2141 * insetnote.C (InsetNote): Set language to the language of the
2144 2001-08-16 Juergen Vigna <jug@sad.it>
2146 * insettext.C: implemented the new FINISHED states.
2148 * insettabular.C: ditto
2150 * inset.h: added more FINISHED states for cursor right,up,down
2152 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
2154 * insetfloatlist.C: use "FloatName List"
2156 2001-08-14 Juergen Vigna <jug@sad.it>
2158 * insetert.C (edit): forgot to set status_ in edit calls!
2160 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
2162 * insettext.C: Compilation fix
2164 2001-08-13 Juergen Vigna <jug@sad.it>
2166 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
2168 * insetcollapsable.C (edit): don't recollapse an already open inset.
2170 * insettext.C: fixed problem when reinitializing LyXText by not doing
2171 it while lt is in use and post this to the next possible time in
2173 (searchForward): fixed not unlocking of inset if nothing found.
2174 (edit): set cursor behind right (was set -1 pos).
2176 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
2178 * insettabular.C (tabularFeatures): fixed fix where deleting the
2179 last row didn't get the right actcell!
2181 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
2183 * insettext.C (localDispatch): Change language only when the inset
2186 2001-08-10 Juergen Vigna <jug@sad.it>
2188 * insettabular.C (selectNextWordInt): use the front using edit call.
2190 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
2191 the parameter overwrite class variable inset.
2193 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
2195 * insettext.C (saveLyXTextState): check for invalid cursor-par.
2196 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
2198 * insettabular.C (calculate_dimensions_of_cells): let's try to call
2199 update only for fixed with cells.
2200 (resetPos): try to fix the lockup on spellchecking or s&r.
2202 * insettext.C (update): comment this out as it seems first wrong
2203 and second not needed anymore!
2204 (some functions): call reinitLyXText() only in update() in all other
2205 positions set only need_update = INIT.
2207 2001-08-08 Juergen Vigna <jug@sad.it>
2209 * insettabular.C (setPos): fixed wrong actrow < rows() check.
2211 * insettext.C (insetUnlock): remove double-space on inset unlock.
2213 * insetcollapsable.C (draw): fix returned x when label > inset-width.
2215 * insettabular.C (update): fixed cursor positon after an insert.
2216 (insetAllowed): do not allow to insert insets when not inside the
2218 (draw): clear below an inset too as it could have changed height.
2220 * inset.C (getMaxWidth): fixed width for inset in inset.
2222 * insettext.C (update): small fix.
2224 * insettabular.C (tabularFeatures): added selection support to
2225 DELETE_ROW/DELETE_COLUMN.
2227 2001-08-07 Juergen Vigna <jug@sad.it>
2229 * inset.C (getMaxWidth): recoded and all it's implementations!
2231 * insettext.C (init,setParagraph+constructors): cleanups
2232 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
2233 are new and I want do a save/restore of the cursor position which is
2234 not possible anymore.
2236 * insetcollapsable.C (searchBackward): recollapse inset if not found.
2237 (searchBackward): ditto
2238 (selectNextWord): ditto
2240 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
2242 * insetlatexaccent.C (checkContents): Add some debug messages
2244 2001-08-07 Juergen Vigna <jug@sad.it>
2246 * insetert.C (read): don't use InsetCollapsable::read as we don't
2247 write the collapsed status anymore only the status.
2250 2001-08-06 Juergen Vigna <jug@sad.it>
2252 * insetert.C (set_latex_font): use LyXText's setFont directly.
2254 * insettext.C (drawFrame): fixed one time more the right position
2255 and size of the frame!
2257 * insetert.C (~InsetERT): hide the dialog.
2258 (showInsetDialog): added implementation
2261 (status): new function for the status of the ERT inset (3-state).
2262 (write): output also the status of the inset for readback!
2263 (read): readback the status if available otherwise use collapsed_.
2265 * insettext.C (edit): small fix of setting the position, which could
2268 * insetert.C (width): implement this function for inlined viewing.
2269 Added minimum width of 10 pixels!
2271 * insetminipage.C (InsetMinipage): just change the colors a bit so
2272 that border/background is a bit more visible. We will remove this
2275 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
2276 function for getting the important widths for drawing in various
2277 functions and in LyXText.
2278 (draw): fixed up a bit (frame drawing/clearing)
2280 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2282 * inset.C (convertFont): delete method. not used.
2284 2001-08-03 Juergen Vigna <jug@sad.it>
2286 * insettext.C (setFont): don't call for a draw update if we're just
2287 changing the cursor font!
2289 2001-08-02 Juergen Vigna <jug@sad.it>
2291 * insettext.C (draw): clear the background with the right color if
2292 needed. Update myself if x&max-width changed and return without doing
2293 anything. Let the update code handle the right stuff.
2295 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
2296 inside another inset.
2298 2001-08-01 Juergen Vigna <jug@sad.it>
2300 * insetcollapsable.C (update): added an in_update bool so we avoid
2303 * insettabular.C (update): added an in_update bool so we avoid
2306 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
2308 (update): added an in_update bool so we avoid reentering.
2310 * insettabular.C (localDispatch): clear col/row selection when doing
2311 something else inside an inset.
2313 * insettext.C (getLyXText): fixed bug when requesting a recursive
2316 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
2318 * insetcite.C (latex): Paranoia check. Make sure that there is no
2319 whitespace between the citation keys.
2321 2001-07-31 Juergen Vigna <jug@sad.it>
2323 * inset.h (nodraw): make the set function also const so that this
2324 can be called from inside other const functions.
2326 * insetcollapsable.h: removed inline variable and moved it over
2327 to the only user InsetERT.
2329 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
2330 inset opening immediately therein lying insets dialogs!
2332 * insetert.C (localDispatch): set the font also if we don't have any
2333 chars in this paragraph, otherwise if we delete all of em and start
2334 writing we have the wrong font.
2336 (draw): implemented for inline support
2337 (insetButtonRelease): ditto.
2339 2001-07-30 Juergen Vigna <jug@sad.it>
2341 * insettext.C (reinitLyXText): new function to reinit the insets
2342 text after lot's of paragraph changes. Use this instead of the
2343 cache.clear() which is VERY dangerous.
2345 * insetfloat.C (insetButtonRelease): we should only show the dialog
2346 if we press on the label otherwise we have problems to open mouse
2347 button 3 dialogs inside this float (f.ex. of a tabular!)
2349 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2351 * insetert.C: change back to "ERT"
2353 * insetfloat.C: handliign of RMB on label added.
2355 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2357 * insetgraphicsParams.C: #include LOstream.h here.
2359 * insetfoot.h: remove InsetFoot:: qualifier.
2361 2001-07-29 Baruch Even <baruch@lyx.org>
2363 * ChangeLog: Hiding time travel evidence.
2365 * insetgraphicsParams.h:
2366 * insetgraphicsParams.C:
2367 * insetgraphics.C: Added horizontal scale option, it actually scales both
2368 directions since it keeps image proportions.
2370 * insetgraphics.C: Fixed EPS detection to be non-hacky.
2372 2001-07-29 Baruch Even <baruch@lyx.org>
2374 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
2375 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
2377 HACKY! Will need to add an EPS detection routine like old InsetFig does!
2379 2001-07-29 Baruch Even <baruch@lyx.org>
2381 * insetgraphics.C: Added EPSI to be an alias of EPS.
2383 2001-07-29 Baruch Even <baruch@lyx.org>
2385 * insetgraphics.C: Change GRAPHICS to Graphics.
2386 Changed image conversion rules (documented at the beginning of file).
2388 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
2390 * insetert.C (get_new_label): int -> Paragraph::size_type to get
2393 * insetgraphics.C: added a using std::endl directive.
2395 * insetcommand.h (getScreenLabel): removed pure virtual function,
2396 as it duplicates that in InsetButton.
2398 * insetbib.[Ch] (getScreenLabel):
2399 * insetbutton.[Ch] (getScreenLabel):
2400 * insetcite.[Ch] (getScreenLabel):
2401 * insetert.[Ch] (getScreenLabel):
2402 * insetexternal.[Ch] (getScreenLabel):
2403 * insetfloatlist.[Ch] (getScreenLabel):
2404 * insetinclude.[Ch] (getScreenLabel):
2405 * insetindex.[Ch] (getScreenLabel):
2406 * insetlabel.h (getScreenLabel):
2407 * insetparent.[Ch] (getScreenLabel):
2408 * insetref.[Ch] (getScreenLabel):
2409 * insettoc.[Ch] (getScreenLabel):
2410 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
2412 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
2414 (validate): remove check on "cite" when using natbib.
2416 2001-07-26 Baruch Even <baruch@lyx.org>
2418 * insetgraphics.C (draw): changed casting to be in one place rather than
2419 all over the function.
2422 * insetgraphics.C (read): Added compatibility reads of InsetFig.
2424 * insetgraphicsParams.h:
2425 * insetgraphicsParams.C:
2426 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
2428 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
2430 * insetfoot.C (validate): Added method to ensure that the
2431 right bit of LaTeX is emitted.
2433 * insetfoot.h: Added validate method to set the correct
2434 LaTeXFeatures bit for the special footnote code.
2436 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2438 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
2441 2001-07-27 Juergen Vigna <jug@sad.it>
2443 * inset.h: remove not used font variable in parameter.
2444 removed checkInsertChar in UpdatableInset as it was equal to
2445 the one in Inset and so not needed.
2447 * insetert.C (checkInsertChar): implementation of function
2450 * inset.h: added new function checkInsertChar.
2452 * various files: added c-tor and clone() function.
2454 * insetcollapsable.h: removed clone function here as this should
2455 be only realized in REAL insets and added it to all collapsable
2456 insets! (with the copy-constructor).
2458 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2460 * insetminipage.C (read): handle missing parameters more gracefully
2462 * insetcollapsable.C (read): handel missing collapsed more gracefully
2464 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2466 * insetfloat.C (read): handle missing parameters.
2468 * insettext.C (read): handle old latex end_inset
2470 * insetert.C (setButtonLabel): new method
2471 (init): use it, to set the dynamic label correctly
2474 * Makefile.am (EXTRA_DIST): add files that is not part or the
2477 * insetcollapsable.h: remove autocollapsable (no users), remove
2478 draw_label, change_label_with_text and companion code. Remove args
2480 * insetert.[Ch]: move here instead (only user)
2482 * inset.h: rename private variable name to name_, make
2483 selectNextWord return a const string. make getInsetName return a
2484 string const &. Remove bool from open, add close.
2486 * Makefile.am: don't compile insetlist, insetsection
2489 2001-07-24 Juergen Vigna <jug@sad.it>
2491 * insetert.C (InsetERT): put init after the paragraph initialization,
2492 as otherwise we don't set the draw_label right.
2494 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
2495 insets with the mouse without having strange selections.
2496 (edit): if the inset was collapsed and we open it here then put the
2497 cursor always at the beginning of the inset.
2498 (get_new_label): 15 instead of 10 max chars in the label.
2500 * insetert.C (localDispatch): added and handle various stuff we
2501 need to handle here (font setting on paragraph break, not permitted
2502 layout setting, etc.).
2504 * inset.h: added default copy-consturctor and implemented this in
2505 various insets with the change to use this in the clone function!
2507 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2509 * insetminipage.C (InsetMinipage): set background color to red :)
2511 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2513 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
2514 draw frame mode is LOCKED.
2516 * insetcollapsable.C (edit):
2517 (insetButtonRelease): set update status to full when
2520 * insettext.C (clearInset):
2521 * insettabular.C (draw):
2522 * insetlatexaccent.C (draw): honor background color.
2524 * inset.h: new member background_color_, initialized to
2527 * inset.C (backgroundColor): new method.
2528 (setBackgroundColor): new method.
2530 * insetert.C (init): new method, called by the ctors.
2531 (InsetERT): when inserting contents, make sure the font is
2534 * insetnote.C (InsetNote): when inserting content, remove trailing
2536 (init): set background color to LColor::note
2538 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2540 * insetcollapsable.C: adjust
2542 * insetbutton.C: adjust
2544 2001-07-23 Juergen Vigna <jug@sad.it>
2546 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
2547 parameter on the _collapsed function (was not needed) and call
2548 always width_collapsed().
2550 * insetert.C (InsetERT): use setLabel with "true" flag.
2552 * insetcollapsable.C: modified various functions to set the draw_label
2553 string right in any condition.
2554 (setLabel): added a bool parameter to set change_label_with_text.
2556 * insetcollapsable.h: added draw_label string which is set to the
2557 actual drawn label-string, while label is the original static label
2558 of this collapsable inset. Added bool change_label_with_text to set
2559 if we want that the label changes to the start of the InsetText's
2560 text when collabpsed. You can set this flag with the setLabel funciton.
2561 Added bool inlined for inlined collapsable insets, but not handled
2564 * insetcollapsable.C (get_new_label): added should get a new label
2565 from the InsetText beginning (for now 10 chars).
2567 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2569 * insetquotes.C (latex): fix the handling of french double quotes
2570 when not using the french pachage.
2572 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2574 * insetcollapsable.h: make WidthCollapsed mutable.
2576 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
2577 InsetPrintIndex returns INDEX_PRINT_CODE.
2579 * inset.h: add INDEX_PRINT_CODE
2581 * insetcollapsable.C (draw): init widthCollapsed if necessary
2584 * insetquotes.C (width): use the local language, not the document
2587 (dispString): add additional spacing for all french languages,
2589 (validate): make it work when there is no default language
2591 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
2593 * insetnote.C (init): new method, called by the constructors
2594 (InsetNote): new constructor with contents passed as a string
2596 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2598 * insetfootlike.C (insetAllowed): disallow float in footlike.
2600 * insetert.C (InsetERT): add collapsed argument to the constrctor
2603 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2605 * insetindex.h: shut off warning
2607 2001-07-20 Juergen Vigna <jug@sad.it>
2609 * insetcollapsable.C (update): recoded hopefully works now!
2611 2001-07-19 Juergen Vigna <jug@sad.it>
2613 * most files: implemented the below new introduced function.
2615 * inset.h: added new edit(BufferView *, bool front) method to be able
2616 to enter an inset from the front/back without knowing x/y positions
2617 and baselines inside the inset. So I just can tell the inset activate
2618 me and set the cursor on the front/back of yourself.
2620 2001-07-18 Juergen Vigna <jug@sad.it>
2622 * insetcollapsable.C (edit): fixed hopefully the y parameter which
2623 is given to the InsetText.
2624 (insetButtonPress): ditto
2625 (insetButtonRelease): ditto
2626 (insetMotionNotify): ditto
2628 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2630 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
2631 LIGATURE_BREAK, since the name is so stupid.
2633 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2635 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
2636 the default InsetCollapsable methods. I.e., it can insert anything.
2637 (write) output the name of the inset, not some silly hack for
2638 compatability with the old InsetInfo.
2640 * insetinfo.[Ch]: removed.
2641 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
2642 now collapsable, but functionality is otherwise identical to InsetInfo.
2644 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
2646 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2648 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
2651 * insetquotes.C: general cleanup
2652 (dispString): add spaces inside french double quotes.
2653 (latex): ditto. Moreover, treat first the case where the frenchb
2654 or french options have been given.
2656 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
2658 * insetcite.[Ch] (latex, validate): new methods, required for natbib
2661 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
2663 * figinset.C (RegisterFigure): Print debug message only when
2664 current_view is available.
2666 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2668 * many files: update to match the change below
2670 * inset.h (insetAllowed): renamed from insertInsetAllowed;
2671 implement the version which takes an inset here.
2673 * insetcollapsable.[Ch]: implement open and isOpen
2675 * inset.h: remove insertInsetAllowed from Inset
2676 (open): new method, to open or close an inset
2677 (isOpen): returns the status of an inset
2678 (isCollapsable, colapse): removed
2680 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2682 * insetquotes.C (dispString): display french guillemets when using
2685 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2687 * insetcollapsable.h: remove bogus return statements
2689 2001-07-18 Juergen Vigna <jug@sad.it>
2691 * insettabular.C (selectNextWord): fixed spellchecking for the
2692 first cell of a tabular (wasn't entered!)
2693 (getLyXText): changed to enter automatically insettext and return
2694 it's LyXText if we're locked.
2696 2001-07-17 Juergen Vigna <jug@sad.it>
2698 * various files: implemented the below functions.
2700 * inset.h: added functions
2701 - virtual string selectNextWord(BufferView *, float & value) const;
2702 - virtual void selectSelectedWord(BufferView *) { return; }
2703 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
2704 needed for spellchecking correctly!
2706 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
2708 * insetert.C (latex): write out all paragraphs.
2710 2001-07-17 Baruch Even <baruch@lyx.org>
2712 * insetgraphics.C (draw): Removed unneeded casts.
2714 2001-07-16 Juergen Vigna <jug@sad.it>
2716 * insettext.C (update): fixed small oversight (reset lt to 0).
2718 2001-07-14 Baruch Even <baruch@lyx.org>
2721 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
2723 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
2725 Consistent use of Lsstream.h:
2726 * figinset.C: removed using std::ostringstream directive.
2728 * insetgraphics.C (createLatexOptions):
2729 * insetinclude.C (unique_id):
2730 std::ostringstream -> ostringstream.
2731 * insettext.C (localDispatch): std::istringstream -> istringstream.
2733 2001-07-13 Juergen Vigna <jug@sad.it>
2735 * insetfloat.C (insertInsetAllowed): added missing const_cast.
2737 * insetcollapsable.C (getLockingInset): ditto.
2739 2001-07-12 Juergen Vigna <jug@sad.it>
2741 * insetcollapsable.h: added implementation of new function for
2744 * various files: added implementation of new insertInsetAllowed-func
2745 and redone the function a bit more.
2747 * inset.h: added isCollapsable(), bool collapsed(),
2748 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
2750 * insetfloat.C (insertInsetAllowed): make a bit more checks.
2752 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
2753 LyXText which is marked for removal while we're using it!
2755 * insettext.h: added private LyXText * lt to use it to assure we are
2756 not deleting our LyXText while we're using it!
2758 2001-07-11 Juergen Vigna <jug@sad.it>
2760 * insettext.C (insertInset): check if we are before the inset after
2761 inserting it! This check IS needed. Remove the Undo-Call as it is
2762 called in LyXText::insertInset!
2764 * insettext.h: added struct InnerCache.
2766 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
2767 that we ONLY delete the LyXText in the getLyXText() routine. So we
2768 are sure we don't delete LyXText while someone is working with it!
2770 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2772 * insetexternal.C: (*it). -> it->
2773 * insettext.C: ditto
2775 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2777 * insetcollapsable.C (edit): always open collapsed insets (even if
2778 they are not autocollapsable)
2780 * insetcommand.C (operator=): simplify.
2782 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2784 * insetert.C (latex): handle META_NEWLINE
2786 2001-07-09 Juergen Vigna <jug@sad.it>
2788 * insetert.h: a normal InsetText can insert insets, but we won't.
2790 * inset.h: return default "false" on insertInsetAllowed and implement
2791 this function where a returnvalue != "false" is needed.
2793 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2795 * insetert.C (InsetERT): new contructor
2797 2001-07-06 Juergen Vigna <jug@sad.it>
2799 * a lot of files: added implementation of the below new functions
2800 and the change to clone(). Also the call of the new undo-functions
2803 * inset.h: added an inset_id, added functions getParFromID,
2804 getInsetFromID, firstParagraph, cursor and id functions, added
2805 bool same_ids to clone function.
2807 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2809 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
2810 of BufferView * and shared_ptr<LyXText>
2812 2001-07-05 Juergen Vigna <jug@sad.it>
2814 * insettext.C (clear): deleted also the cache not only LyXText.
2815 (setParagraphData): ditto.
2817 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2819 * insetfloat.C (latex): let the specific placement take presedence
2820 if set, otherwise choose document placement if set, otherwise just
2821 use float default placement.
2823 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2825 * insettext.C (localDispatch): call CutAndPaste::'s static method
2828 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2830 * insetbib.C: no meed to include forms.h here.
2832 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
2834 * insettext.C: added using std::make_pair directive.
2836 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2838 * insettext.C (getLyXText): avoid multiple lookups, and simplify
2840 (deleteLyXText): ditto
2841 (resizeLyXText): ditto
2843 2001-07-02 Juergen Vigna <jug@sad.it>
2845 * insettext.C (getLyXText): introduce a cache in getLyXText so that
2846 following calls are only returned the right pointer without the over
2847 head to search in the map.
2848 (various funcs): reset the cached_bview variable as this signs that
2849 the cache is not valid anymore.
2851 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2853 * insettabular.C (clone): do not copy the LyXTabular twice
2855 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2857 * insettext.h (TEXT): delete method
2859 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2861 * insetmarginal.C (latex):
2862 * insetfoot.C (latex): fix spacing of notes in LaTeX
2864 * insettext.C (localDispatch): use .c_str() on istringstream
2865 constructor argument.
2867 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
2872 * inseturl.C: fix method names in these to begin
2873 with small char too, so they inherit
2875 2001-06-28 Juergen Vigna <jug@sad.it>
2877 * insettext.C (setFont): fixed font settings using toggleFree()
2878 instead of setFont().
2880 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
2882 * Change a lot of method names to begin with a small char.
2883 Changes to a lot of files because of this.
2885 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2887 * insetfloatlist.C (Write): std:: qualify ostream
2890 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
2894 * insetgraphics.C: send debug output to Debug::INFO instead of
2897 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
2900 * insettabular.C (getStatus): update to use func_status
2902 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
2904 * insetref.C (DocBook): added support for cross-references without
2907 2001-06-26 The LyX Project <jug@sad.it>
2912 * insetlabel.h: removed escape method and moved it to
2915 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2917 * insettabular.C (getMaxWidth): do the speedup in a different way,
2920 2001-06-24 The LyX Project <Asger>
2922 * insettabular.C (getMaxWidth): We cache a mapping from
2923 inset to cell in order to speed this method up.
2925 2001-06-24 The LyX Project <Asger>
2927 * insettext.C: Optimized InsetText::draw or something.
2929 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
2931 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
2933 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
2935 * inset.h: name change from lyxinset.h
2937 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
2939 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
2941 2001-06-14 Juergen Vigna <jug@sad.it>
2943 * insettext.C (draw): removed warnings.
2945 2001-06-13 Juergen Vigna <jug@sad.it>
2947 * insettabular.C (nodraw): only go down the tree if we don't have
2948 that flag set otherwise it's obvious that we don't want to draw.
2949 (LocalDispatch): do also an update if we have an undispached result.
2951 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
2954 * insetgraphicsParams.C:
2955 * insettext.C: removed // -*- C++ -*- as first line.
2957 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2959 * lyxinset.h (resizeLyXText): shut off warning about unused
2962 2001-06-07 Juergen Vigna <jug@sad.it>
2964 * insettext.C (resizeLyXText): honor the new force flag.
2966 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
2968 * insettabular.C (deleteLyXText): new function
2970 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
2978 * insetcollapsable.C:
2979 * insetcaption.C: LColor tidy
2981 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2983 * figinset.C: fix typo
2985 2001-06-01 Juergen Vigna <jug@sad.it>
2987 * insettabular.C (resetPos): small hack so that scroll is not set to
2988 0 when we are in the last column of a tabular. This is a problem we
2989 have because of constats 20 offset on both directions, so this can
2990 cause on the limit an endless loop.
2992 * insettext.C (SetFont): forgot that we can have locking insets ;)
2994 2001-05-31 Juergen Vigna <jug@sad.it>
2996 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
2998 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3000 * figinset.C: add using std:: directive for the C functions which
3003 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
3005 * insetfloat.C (Write): write out wide info
3006 (Read): read the wide info
3007 (Latex): use the wide info when creating latex.
3009 * insettext.C: adjust
3011 * insetgraphics.[Ch] (statusMessage): change to return string
3015 * figinset.C (runqueue): add std::
3018 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3020 * insetcite.C (Ascii): add std:: qualifier
3022 2001-05-28 Juergen Vigna <jug@sad.it>
3024 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
3025 a endless-width inset (maxWidth < 0).
3026 (Edit): change language only if not equal.
3028 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
3030 * insettext.C (draw): fixed draw/clear of InsetText-Frame
3032 2001-05-16 Juergen Vigna <jug@sad.it>
3034 * insettext.C (selectAll): added
3035 (clearSelection): added
3037 * insettabular.C (SetFont): now we may set a font on a whole selection!
3038 (getSelection): added helper function.
3040 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
3042 * insetcite.C (Ascii): Add method.
3044 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
3047 * insetbib.C: fix path for OS/2 & Win32
3049 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3051 * insetfoot.C (Latex): don't use % after footnote.
3053 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3055 * insettext.C (Read): use clear
3056 (SetParagraphData): use LyXParagraph copy constructor instead of clone
3058 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3060 * insetfloatlist.h: add a bunch of std:: qualifiers.
3062 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3064 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
3065 FLOAT_LIST_CODE, renumber code list.
3067 * insettoc.C (getScreenLabel): remove support for float lists
3071 * insetfloatlist.[Ch]: new files
3073 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
3075 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
3077 * insettabular.C (LocalDispatch):
3078 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
3081 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3083 * insettext.C: remvoe !NEW_INSETS cruft
3085 * insettabular.C: remove !NEW_INSETS cruft
3087 * insetcollapsable.h: remove !NEW_INSETS cruft
3089 * insetbib.C: remove !NEW_INSETS cruft
3091 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3093 * insettoc.C: hack to make listof algorithm work
3095 2001-04-20 Juergen Vigna <jug@sad.it>
3097 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
3099 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3101 * insetquotes.C (Latex): improve the guard against
3102 unwanted !` and ?` ligatures. This should really be done in
3103 another place (to catch all this ligatures at low-level).
3105 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3107 * insettext.C (init): remvoe leftovers from cursor_visible change
3108 (draw): use c++ cast
3109 (LocalDispatch): dispatch LFUN_MESSAGE
3111 * insettabular.C (InsetTabular): remove leftovers from
3112 cursor_visible, and scoped_ptr changes
3113 (draw): use c++ cast
3115 * insetcollapsable.C (draw): use c++ cast
3117 * ExternalTemplate.h: inherit privaely from noncopyable
3118 * insetcommand.h: ditto
3119 * insetinclude.h: ditto
3121 2001-04-16 Allan Rae <rae@lyx.org>
3123 * insettoc.C (Ascii):
3124 * insettext.C (draw):
3125 * insettabular.C (setPos):
3126 * insetminipage.C (Read):
3127 * insetfloat.C (placement):
3128 * insetcaption.C (Ascii, DocBook):
3129 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
3130 an unrecognised preprocessor directive. So ensure they're wrapped.
3132 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
3135 * insetexternal.C: set view on Clone. Add _ to private members.
3137 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3139 * insettext.C (InsetText): fix new
3140 (InsetText): reindent some, simplify deletion of par list
3141 (clear): simplify deletion of par list, fix new
3142 (SetParagraphData): simplify deletion of par list
3144 * insettabular.[Ch] (getLabelList): implement new method
3146 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3148 * lyxinset.h: do not include gettext.h...
3156 * insetlatexaccent.C:
3160 * inseturl.C: ... and do it here instead
3162 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3164 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
3166 * insettext.[Ch] (getLabelList): add std:: on vector<string>
3168 * insetcollapsable.[Ch] (getLabelList): implement
3170 * insettext.[Ch] (getLabelList): implement
3172 * insettext.h: reindent
3174 * insettabular.h: make tabular a scoped_ptr
3176 * insettext.C (init): adjust for cursor_visible
3177 (ToggleInsetCursor): constify asc and desc, font, adjust for
3179 (ShowInsetCursor): constify asc and desc, font, adjust for
3181 (HideInsetCursor): adjust for cursor_visible
3183 * insettabular.C: reindent some
3184 (InsetTabular): adjust for scoped_ptr and cursor_visible
3185 (InsetTabular): ditto
3186 (~InsetTabular): delete delete
3187 (Clone): adjust for scoped_ptr
3188 (Read): constify old_format, adjust for scoped_ptr, move init of
3190 (draw): constify tx, localize loop vars.
3191 some other localization of variables, remove double initilizatons.
3193 * insetfoot.C: remove using std::ostream, add ostream where needed
3195 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3197 * lyxinset.h: some reindentaion, use initializer list for
3199 UpdatableInset: make cursor_visible a private var add
3200 public isCursorVisible(), add protected toggleCursorVisible() and
3201 proctected setCursorVisible(bool), make scroll call the Inset::scroll
3203 * insettoc.C: remvoe using decl
3204 (getScreenLabel): make cmdname donst
3207 (Ascii): don't use endl
3209 * insetfootlike.C: remove using decl at file scope and add std::
3211 * insetmarginal.C: ditto
3213 * insetfoot.C: some reformatting
3215 * insetfloat.C (InsetButtonRelease): adjust the hit area
3217 * insetert.C (SetFont): some reformatting
3219 * insetcollapsable.C: some reformatting and constification
3220 (Clone): comment out.
3221 * insetcollapsable.h: some reformatting
3222 (Clone): comment out.
3227 2001-03-30 Juergen Vigna <jug@sad.it>
3229 * insetcollapsable.h: changen *inset to be a InsetText inset.
3231 * some files: changed to reflect the above change.
3233 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
3235 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
3236 InsetExternal::Params.
3237 Added operator==() and operator!=() for the Params struct.
3239 2001-03-29 Juergen Vigna <jug@sad.it>
3241 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
3244 * insetminipage.C: removed widthp_ and all it's functions and changed
3245 to use new %-lengths of LyXLength.
3247 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
3249 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
3251 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
3253 * insetgraphicsParams.C (operator!=): new function, needed by the
3254 ControlGraphics class.
3256 2001-03-28 Juergen Vigna <jug@sad.it>
3258 * insettext.C (InsetButtonPress): only enter !inset if button == 2
3259 (checkAndActivateInset): don't use the values returned from
3260 call to bv->checkInsetHit.
3262 * insetminipage.C (Clone): set special minipage values.
3264 * insetcollapsable.C (draw): changed to draw the button in the
3265 upper left corner outside the textinset.
3266 (ascent): changed because of different drawing
3270 (InsetButtonPress): ditto
3271 (InsetButtonRelease): ditto
3272 (InsetMotionNotify): ditto
3274 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
3276 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
3280 2001-03-26 Juergen Vigna <jug@sad.it>
3282 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
3284 * insettext.C (ShowInsetDialog): implemented above function.
3286 * insettabular.C (ShowInsetDialog): ditto
3288 * insetminipage.C (ShowInsetDialog): ditto
3290 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
3292 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
3293 InsetInclude::Params. Don't store a buffer * in Params. Store the
3294 master file name instead.
3296 2001-03-23 Juergen Vigna <jug@sad.it>
3298 * insetcollapsable.C (InsetMotionNotify):
3299 (InsetButtonRelease):
3300 (InsetButtonPress): fixed y-offset (minipages).
3302 * insettext.C (draw): force a FULL update if cleared == true.
3304 * insetcollapsable.C (draw): Lars forgotten entry for changing this
3305 routine to draw the minipages on its position-flag.
3306 (InsetInInsetY): give back the right y position, because of minipage
3309 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
3312 * insetfloat.C (DocBook): docbook export code.
3314 2001-03-22 Juergen Vigna <jug@sad.it>
3316 * insetminipage.C (getMaxWidth): added function to set the drawing
3318 (Read): should work now!
3320 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
3321 if we create a new inset.
3323 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
3325 * figinset.C (fl_set_preemptive_callback): moved definition outside
3328 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3330 * insetminipage.C (Read): prepare for reading of minipage arguments.
3332 2001-03-18 Baruch Even <baruch@lyx.org>
3334 * insetgraphics.C: Minor cleanups of the comments and code.
3336 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3338 * insetminipage.C (InsetMinipage): default to not collapsed
3340 2001-03-16 Juergen Vigna <jug@sad.it>
3342 * insetminipage.C (width): modified with to be a string
3343 (widthp): added widthp (for % width) support functions.
3344 (InsetButtonRelease): added to open the options dialog on button==3.
3345 (~InsetMinipage): added to hide the dialog.
3347 * insetminipage.h: added hideDialog signal
3349 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3351 * insetminipage.h: change the order or Position to match
3352 LyXParagraph::MINIPAGE_ALIGNMENT
3354 * several files: remvoe CXX_WORKING_NAMESPACES
3356 * ExternalTemplate.h: noncopyable is in namespace boost
3357 * insetinclude.h: ditto
3358 * insetcommand.h: ditto
3360 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
3362 * insettext.C (Edit): #else# -> #else.
3363 * insettoc.C: added using directive.
3365 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3367 * insetminipage.h: add pos, inner_pos, width and height. + getters
3368 and setters for all of them.
3370 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
3372 * insetinclude.C (Latex): Do not exit when the textclass of the
3373 included file differ from the textclass of the parent file.
3375 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
3377 * ExternalTemplate.C (read): the reading of external insets now checks
3378 for \end_inset and removes it form the input stream.
3380 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
3382 * ExternalTemplate.h:
3383 * ExternalTemplate.C:
3385 * insetexternal.C: move form to GUII
3387 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3390 * insetinclude.C: add InsetIncludeParams, use
3391 composition rather than derivation of InsetCommand
3393 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3395 * insettoc.C (Ascii): use the Buffer typedefs
3397 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3399 * insettoc.C (Ascii): implement for dynamic number of lists
3401 * insetcaption.[Ch]: update from new_insets branch
3402 * insetfloat.[Ch]: ditto
3404 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
3407 * figinset.C: use new File Dialog
3409 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3411 * insettext.C: changes becuase of ParagraphParameters.
3413 2001-02-28 Baruch Even <baruch@ev-en.org>
3415 * insetgraphics.C (updateInset): Changed due to the change in
3418 2001-02-26 Juergen Vigna <jug@sad.it>
3420 * insettext.C (SetFont): Set Undo only if we have selection (as it is
3421 handled in LyXText).
3423 2001-02-23 Juergen Vigna <jug@sad.it>
3425 * insettext.C (draw): some small repainting fixes.
3426 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
3428 * inset.C (LocalDispatch): changed action to be a kb_action (as it
3429 should be) and not an int.
3431 * insettabular.C (LocalDispatch): ditto
3433 * insettext.C (LocalDispatch): ditto
3435 * insetcollapsable.C (LocalDispatch): ditto
3437 2001-02-22 Juergen Vigna <jug@sad.it>
3439 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
3440 DISPATCH it and we don't have a locking_inset.
3442 2001-02-21 Baruch Even <baruch@ev-en.org>
3444 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
3445 instead of GraphicsCacheItem *.
3447 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3449 * insetcollapsable.C (getLyXText): add const qualifier to second
3452 2001-02-22 Juergen Vigna <jug@sad.it>
3454 * insettext.C (getLyXText): honor the recursive parameter.
3455 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
3457 * inset.C (getLyXText): added bool recursive parameter.
3459 * insettext.C (SetUpdateStatus): or the update codes.
3460 (draw): check need_update with &.
3461 (InsetButtonPress): set no_selection to not put a selection when
3462 entering an inset and it is redraws in another spot.
3464 * insettext.h: made need_update an int.
3466 2001-02-20 Baruch Even <baruch@ev-en.org>
3469 * insetgraphisc.C: Changed to use better semantics when loading images
3470 for inline view. Now it doesn't keep the pixmap itself but it's holder.
3472 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
3476 * insetgraphics.C: change name of "hide" signal to "hideDialog",
3477 consistent with InsetTabular.
3479 2001-02-19 Juergen Vigna <jug@sad.it>
3481 * insettabular.C (LocalDispatch): implement PAGE up/down.
3483 * insettext.C (draw): clear all of it on need_update==INIT too!
3485 * insettabular.C (InsetUnlock): always clear the selection.
3487 * inset.C (scroll): normally we only want to scroll the inset until
3488 it is fully visible so if top_x + offset > 20 then just set scx to 0.
3490 2001-02-14 Juergen Vigna <jug@sad.it>
3492 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
3493 (resetPos): fixed scroll behaviour.
3494 (LocalDispatch): do an update if moving cursor inside a table cell
3495 requests a scroll of the tabular.
3497 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
3499 * insettext.C (textWidth): constify local var
3501 * insettabular.C: small cleanup.
3503 * insetfoot.C (Latex): constify local var
3505 * insetcollapsable.C: small cleanup.
3507 * figinset.C (runqueue): use compare instead of strcmp
3509 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3512 * insetinfo.C: remove cruft
3514 2001-02-14 Juergen Vigna <jug@sad.it>
3516 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
3518 2001-02-13 Juergen Vigna <jug@sad.it>
3520 * insettext.C (InsertInset): don't move left (is this right?)
3522 * insettabular.C (LocalDispatch): use of the no_draw variable
3524 * insettabular.h: new no_draw variable to stop redraw
3526 * insettabular.C (TabularFeatures): fixed update for alignment change
3528 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
3532 * insetbib.C: move dialogs to frontends/
3534 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
3536 * insettext.C (LocalDispatch): Restore the language if the inset
3539 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
3541 * insettext.C (moveRightIntern): Update the selection cursor.
3542 (moveLeftIntern): Ditto.
3544 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3546 * Makefile.am: remove BoundingBox.h
3548 * BoundingBox.h: removed
3550 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
3552 * insettext.C (LocalDispatch): Update selection cursor when moving
3553 cursor to the right.
3554 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
3555 (moveLeftIntern): Ditto.
3557 2001-02-05 Baruch Even <baruch.even@writeme.com>
3559 * insetgraphics.C: Updated automatic image conversion, it now goes into
3560 temporary directory instead of with the image itself.
3562 2001-01-21 Baruch Even <baruch@ev-en.org>
3564 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
3565 to EPS or PNG when needed (support bitmap graphics).
3567 2000-11-02 Baruch Even <baruch@ev-en.org>
3570 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
3571 and removal of commented out code.
3573 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
3575 * insetbib.C (callback): Update citations if the key has changed.
3577 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
3579 * insetbib.C (InsetBibKey): Better computation of default key.
3580 (getScreenLabel) Show both the key and the label.
3581 (getBibLabel): New method.
3582 (callback): Force a redraw if the inset have been changed.
3584 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
3586 * insetref.C (getType, getName): Move methods from
3587 src/frontends/xforms/FormRef.C.
3589 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
3591 * insettabular.C: Various improvements (use only one dummy position).
3593 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
3595 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
3596 par->bibkey->width. This fixes the crashes when running without
3597 gui or when having included documents.
3599 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
3601 * insetcommand.C (getAsString, setFromString): Cleanup.
3603 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
3605 * insetref.C: Add the array InsetRef::types that contains
3606 information about all supported reference types.
3608 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3610 * lyxinset.h: remove trailing comma in enum.
3612 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
3614 * insettext.C: kill LyXBell.