1 2002-08-01 Angus Leeming <leeming@lyx.org>
3 * inset.h (generatePreview): renamed as addPreview.
4 (generatePreview): new method. Allows code to be moved out of
5 math_nestinset.C and into the new PreviewedInset class.
7 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
8 add previews to the inset when \input-ing LaTeX.
10 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
12 * several files: strip,frontStrip -> trim,ltrim,rtrim
14 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
16 * insetbib.C (latex): modify because of strip changes
18 * insetnote.C (InsetNote): ditto
20 2002-07-26 Juergen Vigna <jug@sad.it>
22 * insettabular.C (searchForward): check for lastcell if we
25 2002-07-25 Juergen Vigna <jug@sad.it>
27 * insettabular.C (insetMotionNotify): Don't update the screen
28 if we didn't do nothing.
29 (searchForward): last cell was not checked.
31 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
33 * insetfloat.C (read, write): Allow default placement
34 (floatPlacement_ is empty).
36 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
38 * insetminipage.h (noFontChange):
39 * insettabular.h (noFontChange):
40 * insetfootlike.h (noFontChange):
41 * insetfloat.h (noFontChange): return true
43 * inset.h (noFontChange): new method, defaulting to false
45 2002-07-22 Herbert Voss <voss@lyx.org>
47 * insetgraphicsParams.[Ch]: support size_type for old docs
49 2002-07-22 Herbert Voss <voss@lyx.org>
52 * insetgraphicsParams.[Ch]: change size_type to size_kind and
55 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
57 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
59 * insetlatexaccent.h: do not include "lyxlex.h"
61 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
68 * insetbib.C: #include "lyxlex.h"
74 * insettext.C: use BufferParams::getLyXTextClass
77 * insetfloat.C (addToToc): new method. Add to toclist the entries
78 corresponding to Caption layouts
79 (InsetFloat): when creating a new float, set the layout to "Caption"
81 2002-07-21 Herbert Voss <voss@lyx.org>
83 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
84 image relevant part into graphics/GraphicsImgae.C
86 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
89 * insetfloatlist.C (ascii): change to use the new Toc functions
90 instead of stuff that was in Buffer
92 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
94 * insettext.C (localDispatch): BufferView::Dispatch has been
95 renamed to BufferView::dispatch
97 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
99 * insetgraphicsParams.C (as_grfxParams): use the new
100 keepLyXAspectRatio parameter. Note that this is an adaptation of a
101 1.2.0 patch, and I do not really know how to adapt it to the new
102 grfx::Cache world. Angus, please could you have a look?
104 2002-05-01 Herbert Voss <voss@lyx.org>
106 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
108 2002-07-18 Angus Leeming <leeming@lyx.org>
110 * insetgraphics.C: clean-up comments (from Herbert).
111 add a new checksum variable to the cache. Use it in PrepareFile.
112 (draw): start monitoring the file for a change.
113 (prepareFile): re-arrange a little to avoid unnecessary steps.
115 2002-07-17 Angus Leeming <leeming@lyx.org>
117 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
118 a method rather than to the signal directly.
120 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
122 * insettext.C: use view_state_changed, switchKeyMap
124 2002-07-17 Herbert Voss <voss@perce.de>
126 * insetgraphics.C (prepareFile): keep the extension when
127 exporting to nice file
129 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
131 * insetcite.C (getNatbibLabel):
132 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
134 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
136 * insetgraphics.C: use ->isDrawable()
138 2002-07-12 Angus Leeming <leeming@lyx.org>
140 * insetgraphics.C: use the new smart loading capabilities of the image
143 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
145 * insettabular.C (edit): Move into correct cell when entering a
148 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
151 2002-07-05 Angus Leeming <leeming@lyx.org>
153 * inset.h (generatePreview): new virtual method.
155 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
157 * insetcommandparams.[Ch] (operator=): move out of class
158 (operator!): move out of class
160 2002-07-04 André Pönitz <poenitz@gmx.net>
162 * insetcommandparams.[Ch]: new files
164 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
166 2002-06-15 Herbert Voss <voss@perce.de>
168 * insetgraphics.C (prepareFile): bugfix; return always
169 files without extension
171 2002-06-28 Angus Leeming <leeming@lyx.org>
173 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
174 rename asGParams -> as_grfxParams.
176 * insetgraphics.C: reflect above change.
178 2002-06-26 Angus Leeming <leeming@lyx.org>
180 * insetgraphics.h: use boost::scoped_ptr in preference to
183 2002-06-26 Angus Leeming <leeming@lyx.org>
185 * insetgraphics.C: moved the image loading stuff into a new class
186 grfx::Loader. Simplifies this file enormously.
188 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
190 * insetgraphicsParams.C: changes aassociated with moving
191 grfx::DisplayType out of grfx::GParams.
193 2002-06-26 André Pönitz <poenitz@gmx.net>
195 * insetgraphics.C: use os::external_path where necesaary according to a
196 patch from Claus Hentschel)
198 2002-06-25 Angus Leeming <leeming@lyx.org>
200 * insetgraphics.[Ch]: The inset now assumes the responsibility for
201 generating a pixmap once the graphics file is loaded into memory.
202 The current_view ugliness that was in grfx::ModifiedImage has been
203 moved here now that grfx::ModifiedImage is no more.
205 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
207 * insettext.C: layout as layout
209 2002-05-28 André Pönitz <poenitz@gmx.net>
211 * insetfloatlist.h: remove source of compiler warning
213 * insetref.C: tiny whitespace
215 2002-06-15 Herbert Voss <voss@perce.de>
217 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
218 and take always convert when no userdefined converter was
220 (latex) small changes in the lyxerr output
222 2002-06-15 LyX Development team <lyx@rilke>
224 * inset*.[Ch] (docbook): Added new argument to take the pernicious
225 mixed content. Small white spaces clean.
227 2002-06-14 Angus Leeming <leeming@lyx.org>
229 * inseetexternal.C: remove the using std::difftime declaration.
231 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
233 * insetquotes.C: change lyxfont::draw to font_metrics::draw
235 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
237 * insetquotes.C (draw): fix drawing of double quotes
239 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
241 * insettabular.C: s/scrollCB/scrollDocView/
243 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
245 * insettext.C: change of topCursorVisible()
248 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
251 * insettext.C: rename/change of LyXScreen
253 2002-06-07 Angus Leeming <leeming@lyx.org>
255 Fixes needed to compile with Compaq cxx 6.5.
257 all c-library variables have been moved into namespace std.
258 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
260 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
262 * insetinclude.C (uniqueID):
263 * insetgraphics.C (uniqueID): renamed from unique_id, since this
264 conflicted with some AIX headers.
266 2002-05-31 Juergen Vigna <jug@sad.it>
268 * insetert.C (get_new_label): add '...' for multi-paragraph ert
272 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
274 * insetexternal.C (clone): fix () bug when using new
275 (updateExternal): don't only look for difftime in global scope
277 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
279 * insettabular.C: add const
281 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
283 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
284 file name, in case there are weird characters like ',' in there.
287 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
289 * switch from SigC signals to boost::signals.
291 2002-05-28 André Pönitz <poenitz@gmx.net>
293 * insets/insetgraphicsParams.[Ch]:
294 put in inset related stuff from src/graphic
296 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
304 * insetcollapsable.C:
305 * insetcollapsable.h:
333 * inseturl.h: use mouse_state. Kill insetKeyPress
335 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
340 * insetcollapsable.C:
343 * insetlatexaccent.C:
345 * insetspecialchar.C:
347 * insettext.C: name change for font metrics
349 2002-05-24 Juergen Vigna <jug@sad.it>
351 * insetgraphics.h: include inset.h first (for LString.h)
353 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
355 * insettext.C: screen moved
357 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
375 * inseturl.C: LyXView moved into frontends/
377 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
382 * insetcollapsable.C:
386 * insetgraphicsParams.C:
387 * insetlatexaccent.C:
389 * insetspecialchar.C:
391 * insettext.C: move Painter to frontends/
393 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
395 * insettabular.h: use more specific smart_ptr header.
398 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
401 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
403 * insettext.C: clear selection on paste (bug 393)
405 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
407 * insettext.C (latex): Honor the moving_arg argument.
409 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
411 * insetfoot.C (latex): if a footnote is in a title layout, then it
412 is a \thanks. And then, its contents is a moving argument.
414 2002-05-14 Juergen Vigna <jug@sad.it>
416 * insetcollapsable.C (InsetCollapsable): forgot to initialize
419 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
421 * Insetcite.C (getNatbibLabel): don't disable natbib label support
422 when using options "Full author list" or "Upper case".
424 2002-05-14 Herbert Voss <voss@perce.de>
426 * insetgraphics.C (prepareFile): allow files with same name
428 (readFigInset): set the flags from old figinset in the right
430 (findTargetFormat): more comments
432 2002-05-14 Juergen Vigna <jug@sad.it>
434 * insettext.C (edit): tell checkAndActivateInset() that we don't
436 (checkAndActivateInset): if button < 0 we don't have a button press
437 on the inset and os we won't call edit on it if it's not a Highly
438 editable inset (then we have to enter it).
440 2002-05-13 Juergen Vigna <jug@sad.it>
442 * insetcollapsable.C (insetButtonRelease): returned wrong return
445 2002-05-09 Juergen Vigna <jug@sad.it>
447 * insetcollapsable.C (edit): first_after_edit should only be
448 set to true if we enter this inset and it was collapsed so we
449 open it up. This is needed to reclose it after a search/replace
450 or spellcheck function opened it and was negative.
452 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
454 * insetfloat.C (latex): Return correct value.
456 2002-05-04 Herbert Voss <voss@perce.de>
458 * InsetgraphicsParams.C (read): fix bug with WH
460 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
462 * insetfloat.C (latex): More sensible latex output
463 (fix the problem with endfloat).
465 2002-05-02 José Matos <jamatos@fep.up.pt>
467 * insetgraphics.C (validate): acess params as everyone else.
469 2002-05-03 Juergen Vigna <jug@sad.it>
471 * insettabular.C (fitInsetCursor): recalculate the cursor position
474 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
476 * InsetgraphicsParams.[Ch]: whitespace.
478 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
480 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
481 float type do not exist.
483 2002-04-28 Herbert Voss <voss@perce.de>
485 * insetgraphics.C (latex): fix bug with missing file-extension.
486 LaTeX still allows a missing "eps" or "ps".
488 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
490 * insetfloat.C (c-tor, wide): translate the name of the float.
492 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
494 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
495 when using natbib and make it work efficiently. Must emphasise that the
496 real work is Herbert's.
498 2002-04-23 Herbert Voss <voss@perce.de>
500 * insetgraphic.C (prepareFile): fix bug with overwriting and
501 deleting an existing *.eps-file in the doc-dir
503 2002-04-23 Juergen Vigna <jug@sad.it>
505 * insettabular.C (drawCellSelection): fix off by 1 error.
507 2002-04-22 Juergen Vigna <jug@sad.it>
509 * insettabular.C (setFont): rewoke full selection if it was asked,
510 after we changed all we had to change.
512 * insettext.C (insetUnlock): code was uninitialized in some situations.
514 2002-04-19 Herbert Voss <voss@perce.de>
516 * insetgraphic.C (prepareFile): return filename without
517 extension if we only export without compiling
519 2002-04-19 Juergen Vigna <jug@sad.it>
521 * insettext.C (draw): call a fullRebreak on the row where we had a
522 change and reset the cursor and selection-cursors.
524 * insettabular.C (insetUnlock):
525 (insetButtonPress): call an update before setting the_locking_inset = 0
526 as otherwise we don't repaint!
527 (update): reset the cursor position when we changed dimensions as
528 otherwise our cursor may be on the wrong spot.
530 2002-04-18 Juergen Vigna <jug@sad.it>
532 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
533 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
534 redraw otherwise we won't redraw.
536 * insettext.C (draw): fixed the setting of LyXText::first_y it was
537 not really right before, but I only discovered this with the last
538 changes to Page up/down.
540 2002-04-17 Juergen Vigna <jug@sad.it>
542 * insettext.C (checkAndActivateInset): simplified as we now have the
545 * insettext.h: changed behind variables to front variables to be
546 equal to the one in the edit call (as it is for that they are used).
548 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
550 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
551 not output anything at all!
553 2002-04-16 Juergen Vigna <jug@sad.it>
555 * insettabular.C (insetButtonPress):
556 (insetUnlock): call a redraw on unlocking the cell inset.
558 * insettext.C (insetButtonPress): same as below.
559 (lockInset): new function to set initial values when inset should
561 (insetButtonPress): use above function.
562 (insetUnlock): don't force a repaint only set the updateStatus. The
563 outside world should repaint if it thinks it should be done!
565 * insettabular.C (insetButtonPress): init values if not set as locked
566 as we are locked if someone presses on us and don't call the edit()
567 call of the InsetText to lock it do it as BufferView does it!
569 * inset.h (insetInInsetY): make func const and return an int.
572 * insetcollapsable.C: adapt the above changed function.
574 2002-04-15 Juergen Vigna <jug@sad.it>
576 * insettext.C (getCursorPos): return relative position as to be able
577 to give them directly to the edit() call.
578 (edit): we have to set also x_fix as it is not set inside the
579 setCursorFromCoordinates call!
580 (insetMotionNotify): ditto.
582 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
584 * insetbib.C (getKeys): strip leading '\t's from the line too.
585 With thanks to Henry Pfister <hpfister@ucsd.edu>.
587 2002-04-12 Juergen Vigna <jug@sad.it>
589 * insettext.h: added cix() helper function and use it where appropriate
591 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
593 * insetgraphics.C (prepareFile): fix bug when graphics is a
596 2002-04-12 Juergen Vigna <jug@sad.it>
598 * insettext.C (insertInset): remove unneeded code!
599 (updateLocal): fitCursor() fixes.
600 (collapseParagraphs): fix a possible problem when having a selection
601 and collapsing the paragraphs.
603 2002-04-08 Herbert Voss <voss@perce.de>
605 * insetgraphic.C (write): write the rotating angle as
606 a float as is. test only for != 0.0
608 2002-04-11 Juergen Vigna <jug@sad.it>
610 * insettext.C: new function ciy() and use it for setting inset_y.
612 * insetert.C (draw): fix the x return for collapsed version.
614 2002-04-07 Herbert Voss <voss@perce.de>
616 * insetgraphic.C (readFigInset): fix bug with subcaption and
619 2002-04-08 Herbert Voss <voss@lyx.org>
621 * insetgraphicsparam.C: forgot special option and delete old
624 2002-04-05 Juergen Vigna <jug@sad.it>
626 * insettext.C (localDispatch): make a CURSOR update if we inserted
629 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
631 * insetfloatlist.C (getScreenLabel):
632 (latex): use Floating::listName
633 (validate): new method
635 2002-04-03 José Matos <jamatos@fep.up.pt>
637 * insetlabel.C (docbook): the anchor is an empty element in docbook.
639 * insetfoot.[Ch] (docbook): added forgotten method.
641 2002-04-03 Juergen Vigna <jug@sad.it>
643 * insettext.C (insetButtonPress): fix insetButtonPress events the same
644 way as in Bufferview_pimpl.
646 2002-04-03 Allan Rae <rae@lyx.org>
648 * insetgraphics.C (latex): one % too many makes living on the bleeding
649 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
651 2002-03-28 Herbert Voss <voss@lyx.org>
653 * insetgraphic.C (latex): simplify the code for the latex
654 output when the file doesn't exist
656 2002-03-29 Juergen Vigna <jug@sad.it>
658 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
661 * insettabular.C (edit): call fitCursor().
663 * insettext.C (insetButtonPress): change behaviour of no_selection
664 to the one in the BufferView selection_possible and fix the spurious
665 selection bug with it.
666 (localDispatch): revoke selection on BREAK... functions.
668 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
670 * insetfloatlist.C (getScreenLabel): translate the GUI label.
672 2002-03-28 Juergen Vigna <jug@sad.it>
674 * insettabular.C (insetAllowed): return true as default value otherwise
675 we're not able to insert insets inside paragraphs of an not locked
678 2002-03-27 Herbert Voss <voss@lyx.org>
680 * insetgraphicsparam.C: change c%, p% to col%, page%
682 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
684 * insetspecialchar.C (isLineSeparator): disable the nice code to
685 allow linebreaks after hyphenation and menu separators.
687 2002-03-26 Herbert Voss <voss@lyx.org>
689 * insetgraphics.C (figinsetRead): set the right lyxview
691 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
693 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
694 $\backslash$ and pass a "string const &" to the function.
695 (prepareFile, latex): use Path rather than MakeAbsPath.
697 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
699 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
700 proper fix to the graphics cache.
701 (latex): "really" nice output if the file is not found ;-)
703 2002-03-26 Juergen Vigna <jug@sad.it>
705 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
706 (collapseParagraphs): fixed inserting of separator ' '
708 * insettabular.C (insertAsciiString): only check for buffer lenght
709 not if we have \t or \n inside the buffer as if we don't have we only
710 have 1 cell and that's it!
712 * insetert.C (close): don't collapse if inlined.
714 2002-03-25 Herbert Voss <voss@lyx.org>
716 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
717 graphics file does not exist.
719 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
721 * insetgraphics.C (prepareFile): ensure that the file has an absolute
722 path when preparing export.
724 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
725 no longer MakeRelPath.
727 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
729 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
730 Used to determine the absolute path to the graphics file in the
731 graphics cache and only in the graphics cache.
732 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
733 make graphics file name absolute if it is stored as a relative path.
735 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
736 make graphics file name absolute if it is stored as a relative path.
738 * insettext.C (edit): emit an updateParagraph signal on entering a text
739 inset. Needs to be emitted when leaving the inset also.
741 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
743 * all files: ws cleanup
745 * Makefile.am: remove ld -r stuff
747 2002-03-21 Juergen Vigna <jug@sad.it>
749 * insettext.C (appendParagraphs): new function added to append
750 the paragraphs to this insets paragraphs.
752 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
754 * Makefile.am: special rules if partial linking
756 2002-03-19 Juergen Vigna <jug@sad.it>
758 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
760 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
762 * insetgraphics.C: Clean up Baruch's comments a little.
763 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
765 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
768 * insettheorem.C: wrap warnings
770 * insetgraphics.C: improve messages, move cached_status_
771 setting to safer place
773 2002-03-18 Juergen Vigna <jug@sad.it>
775 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
777 (localDispatch): ditto
779 * insettext.C (edit): removed unneeded showCursor calls.
780 (localDispatch): ditto.
782 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
784 * insetgraphics.h: remove display() method.
786 2002-03-11 Juergen Vigna <jug@sad.it>
788 * insetgraphics.C (draw): hack to fix the redrawing bug.
789 (draw): seems this fixes #268 (force redraw of row if we changed).
791 * insettext.C (updateInsetInInset): fixed for updates in insets inside
792 this inset text (don't know why I missed this earlier).
794 2002-03-08 Juergen Vigna <jug@sad.it>
796 * insettabular.C (updateLocal): do a FULL update if we're not locked
797 and only a CELL update is asked.
799 * insettext.C (updateInsetInInset): update insets inside inset also
800 if it isn't inside the_locking_inset.
802 * insettabular.C (updateInsetInInset): ditto.
804 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
806 * insetexternal.C (doSubstitution): check whether we are using a
807 temp dir for defining $$FPath
809 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
812 * insettext.C: remove #include "WorkArea.h".
814 2002-03-06 Juergen Vigna <jug@sad.it>
816 * insettext.C (draw): fixed frame redrawing.
817 (clear): forgot to set the inset_owner of the paragraph.
819 * insetert.C (status): pay attention the bv can be 0 here!
820 (getMaxWidth): add the default leftMargin
822 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
824 * insetert.C (getMaxWidth): make w unsigned int.
826 2002-03-05 Juergen Vigna <jug@sad.it>
828 * insetert.C (status): change behaviour of Inlined.
829 (getMaxWidth): added for new inlined behaviour.
831 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
833 * insetnote.h (linuxdoc, docbook): add empty methods.
834 * insetinclude.C (validate): fix a case where buffer->niceFile was used
835 before being initialized.
837 2002-03-05 Juergen Vigna <jug@sad.it>
839 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
840 only that one in the inset. Should be enough.
841 (updateLocal): set the selection cursor always if we don't have a
842 selection to be sure it's set!
844 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
846 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
848 * insettext.C (clear): a gross hack to set layout on a newly
851 2002-03-04 Juergen Vigna <jug@sad.it>
853 * insettabular.C (localDispatch): inserted handling of
854 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
855 (insertAsciiString): new helper function.
857 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
859 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
862 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
864 * insettext.C (InsetText): initalize newly created par with
865 default layout. add bufferparams parameter
868 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
869 * insetcollapsable.[Ch] (InsetCollapsable): ditto
870 * insetert.[Ch] (InsetERT): ditto
871 * insetfloat.[Ch] (InsetFloat): ditto
872 * insetfoot.[Ch] (InsetFoot): ditto
873 * insetfootlike.[Ch] (InsetFootLike): ditto
874 * insetmarginal.[Ch] (InsetMarginal): ditto
875 * insetminipage.[Ch] (InsetMinipage): ditto
876 * insetnote.[Ch] (InsetNote): ditto
877 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
879 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
881 * insettext.C: layout as string
883 * insetinclude.C: layout as string
885 * insetert.C: layout as string
887 * insetbib.C: layout as string
889 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
892 * insettabular.C: remove #include "lyx_gui_misc.h".
894 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
899 * inset.h: remove figinset, yahoo !
901 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
903 * insetgraphics.C (c-tors): initialise parent classes explicitly in
904 copy c-tor and initialise member variables in the correct order.
906 2002-02-28 Juergen Vigna <jug@sad.it>
908 * insettabular.C (localDispatch): clear selection on PgUp/Down.
910 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
912 * inset.h: ... and add a better one here.
914 * insetcommand.C (insetButtonRelease): remove that one which was a
917 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
919 * insetcommand.C (insetButtonRelease): ... and move it here.
921 * inseturl.h: remove insetButtonRelease from there...
923 2002-02-26 Juergen Vigna <jug@sad.it>
925 * inseturl.h: Added a insetButtonRelease call returning true as
928 * insetlabel.C (edit): Fixed wrong update handling after change I
929 leave in the wrong code for the one who wrote it to remove and have
930 a look what he did wrong.
932 * insettabular.C (localDispatch): force a SELECTION update if we
933 had a selection and we passed the event down to the inset (fix #213)
934 (localDispatch): handle font changing stuff when we have a cell
935 selection so that the selection is not rewoked. I don't really like
936 this fix, but it's the only way I see to do it right now.
938 2002-02-22 Juergen Vigna <jug@sad.it>
940 * insettext.C (insetUnlock): set the cursor to the second paragraph
941 if available and if the first one is empty (fix #191).
943 2002-02-20 Juergen Vigna <jug@sad.it>
945 * insettext.C (getDrawFont): implemented this function to call the
946 one of the owner if present as the owner normally knows what to do
949 * insetert.C: implement getDrawFont() function and comment out all
950 the crap for setting a special latex font inside this inset.
951 (InsetERT): added a Lanugage parameter to this constructor.
953 * inset.h: added function getDrawFont(LyXFont & font) to be able to
954 change the font for being drawn on screen (used only in InsetERT for
957 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
958 and also above (was missing).
959 (updateLocal): don't remove the cell selection if we have one this
960 should be done where we really want to remove it.
962 2002-02-20 José Matos <jamatos@fep.up.pt>
964 * insetinclude.h: include_label made string const.
966 * insetinclude.C (InsetInclude): moved include_label initialization.
969 (validate): fix support for temporary directory, for docbook and
972 * insetgraphics.h : new private member, graphic_label, that holds
973 the entity name that defines the graphics location (SGML).
975 * insetgraphics.C (unique_id): new function to give a unique label
978 (validate): the file locatation is given by an entity reference.
980 2002-02-18 Herbert Voss <voss@lyx.org>
982 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
984 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
986 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
987 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
989 2002-02-18 José Matos <jamatos@fep.up.pt>
991 * insetinclude.C (validate): some code only applies to latex buffers,
992 it was made conditional.
994 2002-02-12 Herbert Voss <voss@lyx.org>
996 * insetgraphics.C: (prepareFile) do not check at this time
997 if the file is present.
999 2002-02-12 Herbert Voss <voss@lyx.org>
1001 * insetgraphics.C: latex(), return the correct newlines
1003 2002-02-13 José Matos <jamatos@fep.up.pt>
1005 * inseturl.C (docbook): escape & in url.
1007 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1009 * insetspecialchar.C (isLineSeparator): line breaking is allowed
1010 after HYPHENATION and MENU_SEPARATOR
1012 * inset.h (isLineSeparator): new method, returns false by default.
1014 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1016 * insetert.C (status): do not update the text inset, but the ERT
1019 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
1021 * insetnote.C: use notebg for background
1023 2002-02-08 Herbert Voss <voss@lyx.org>
1026 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
1027 prevent LyX from unzipping when this should be handled
1028 by latex vis the graphic.cfg.
1031 2002-02-08 Herbert Voss <voss@lyx.org>
1033 * insetgraphic.C: prepareFile(): fix bug when file doesn't
1034 exists, than return filename with extension
1036 2002-02-06 Herbert Voss <voss@lyx.org>
1038 * insetgraphic.C: prepareFile(): don't convert the file, when
1039 it's not viewed in LyX. Saves a lot of time when opening a
1042 2002-02-05 Herbert Voss <voss@lyx.org>
1045 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
1046 and adding a rotate bool similiar to subcaption
1048 2002-02-04 Herbert Voss <voss@lyx.org>
1051 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
1052 similiar view to the LaTeX one. Get zipped files work.
1054 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
1056 * insetgraphicsParams.C (init): set display to DEFAULT.
1057 No longer #include "lyxrc.h".
1059 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
1061 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
1062 for now (so that the code compiles).
1064 2002-02-02 Herbert Voss <voss@lyx.org>
1066 * insetgraphic.C: delete inVariant() and some minor changes
1067 * insetgraphicsParams.[C]:
1069 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
1071 * insetgraphics.C (updateInset): if params.display == DEFAULT,
1072 interogate lyxrc.display_graphics before diaplaying the graphic.
1074 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
1075 InsetGraphicsParams::DisplayType.
1077 2002-01-31 Herbert Voss <voss@lyx.org>
1079 * insetgraphic.C: (readfigInset) set display to pref-default
1081 2002-01-30 Herbert Voss <voss@lyx.org>
1083 * insetgraphic.C: get the filetyp from it's contents
1084 * insetgraphicparams.C: add token scale and lyxrc.display when
1085 creating a new inset
1087 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
1089 * figinset.C: added using std::ios directive.
1091 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1093 * figinset.C (runqueue): open translation file in binary mode (for
1096 2002-01-27 Herbert Voss <voss@lyx.org>
1098 * insetgraphic.[Ch]: mostly newritten to support graphicx with
1099 all options and to be sure that the old figinsets are correct
1101 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
1102 structure and to support all lengths as LyXLength. The Parameter
1103 structure changed again, but reading of "old" 1.2 graphic insets
1106 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
1108 * insetert.h (forceDefaultParagraphs): Added
1110 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1112 * insettabular.C (getMaxWidth):
1113 (forceDefaultParagraphs): use Tabular::GetCellFromInset
1115 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1117 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
1118 of LyXLength::inPixels
1120 * inset.C (latexTextWidth):
1121 * insetminipage.C (latexTextWidth): new method, which implements
1122 the equivalent of the LaTeX macro \textwidth
1124 * insetminipage.C (getMaxWidth): use latexTextWidth
1126 2002-01-18 Juergen Vigna <jug@sad.it>
1128 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
1130 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1132 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
1134 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
1137 2002-01-17 Juergen Vigna <jug@sad.it>
1139 * insettabular.C (lockInsetInInset): same change as in insettext.
1141 * insettext.C (draw): width() function was called without setting
1142 the right top_x which could lead to wrong insetWidth setting!
1143 (lockInsetInInset): call edit instead of calling lockInset if we
1144 have to lock an inset inside!
1145 (edit): we have to also tell the inset that we have to redraw the
1146 frame on an edit call if this inset draws a frame only if locked.
1148 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1150 * insetbib.C (getFiles): uncomment Path variable.
1152 2002-01-16 Juergen Vigna <jug@sad.it>
1154 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
1157 2002-01-16 Allan Rae <rae@lyx.org>
1159 * insetinclude.C (docbook): someone forgot a ";"
1161 2002-01-16 José Matos <jamatos@fep.up.pt>
1163 * figinset.C (docbook): removed a old place holder "@".
1164 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
1165 * insetinclude.C (linuxdoc): if include is verbatim, then export the
1166 ascii text version, clearly guarded inside a CDATA section.
1167 (docbook): in docbook 4, inlinegraphics is empty.
1168 * insettabular.C (linuxdoc): export the ascii version of the table
1169 inside a CDATA section.
1171 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1173 * insetparent.C (InsetParent):
1174 * insetgraphicsParams.C (Write):
1176 * insetgraphics.C (prepareFile):
1179 * insetexternal.C (executeCommand):
1180 (doSubstitution): use Buffer::filePath
1182 * insetbib.C (getFiles): add a #warning for Angus
1184 * insetgraphics.C: Add a remark about how filenames should be
1185 considered to be relative to buffer (but absolute is still allowed)
1186 (draw): do not try to get status if lyxrc.use_gui is false
1188 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1191 * insetcollapsable.[Ch]:
1192 * insettabular.[Ch] (searchForward, searchBackward): change the
1193 bool const & params to bool.
1195 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
1196 to avoid the name clash with InsetCollapsable's methods of the same
1197 names but different functionality.
1199 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1201 * insettext.C (ascii): use lyx::count rather than countChar.
1203 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
1205 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
1207 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1209 * insetgraphics.C (updateInset): do not try to render image if
1210 lyxrc.use_gui is false (bug #104)
1212 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
1213 if file does not exist
1215 * figinset.C (browseFile): add shortcuts to directory buttons
1217 * insettext.C (updateLocal): update menubar and toolbar here too.
1219 2002-01-13 Allan Rae <rae@lyx.org>
1221 * insettabular.C (InsetTabular): Both constructors now initialise
1222 all class variables.
1224 2002-01-11 Juergen Vigna <jug@sad.it>
1226 * insettext.C (insetButtonPress): set the_locking_inset to 0.
1228 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1230 * insettabular.C (getStatus): add forgotten brace around multiline
1233 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1235 * insetfloat.C (validate): require "float" instead of "floats".
1237 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
1239 * insettabular.C (getStatus): use FuncStatus
1241 2002-01-08 Juergen Vigna <jug@sad.it>
1243 * insettabular.C (insetButtonRelease): now this should work too
1246 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
1247 if the width is a percentage.
1249 * inset.h: added isChar() function and implemented this for
1250 insetspecialchar insetquotes and insetlatexaccent.
1251 added forceDefaultParagraphs() and implemented it for insettabular.
1253 2002-01-07 Juergen Vigna <jug@sad.it>
1255 * insettext.C (getLyXText): Fixed this function. An insert into the
1256 map is only done if we REALLY have a new BufferView.
1258 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
1260 * insettext.C: fix bug illustrated by attachment #37 of bug #59
1262 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1264 * insetinclude.C: fix use of FileInfo
1266 2002-01-07 Juergen Vigna <jug@sad.it>
1268 * insettabular.C (draw): fixed clearing of cell around inset.
1270 2002-01-05 Juergen Vigna <jug@sad.it>
1272 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
1273 variables are updated.
1275 * insettabular.C (resetPos): set always the inset_y as it may be
1276 needed in another function.
1277 (searchBackward): don't draw while searching.
1279 2002-01-04 Juergen Vigna <jug@sad.it>
1281 * insettext.C (lockInsetInInset): forgot to set a cursor.
1283 2002-01-02 Juergen Vigna <jug@sad.it>
1285 * insettext.C (insertInset): make the correct undo informations on
1286 inserting new insets.
1288 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
1290 * insettabular.C: correct single-cell select vertically
1292 2001-12-27 Juergen Vigna <jug@sad.it>
1294 * insettabular.C (ascii): export as tab-separated-values if the
1295 function was not called from export (f.ex.: clipboard).
1297 * insetcollapsable.h: added default support for ascii, linuxdoc and
1298 docbook export (the insettext is exported by default!)
1300 * insettabular.C (copySelection): suff the clipboard with the tabular
1301 data in a tab separated format, seems more naturals then with all the
1304 2001-12-24 Juergen Vigna <jug@sad.it>
1306 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
1307 to check for REAL mouseMotion.
1309 2001-12-20 Juergen Vigna <jug@sad.it>
1311 * inset.C (cursor): return the owners cursor if available instead of
1312 always only the bv->text->cursor.
1314 * insettabular.C (checkLongtableSpecial): works now.
1316 2001-12-19 Juergen Vigna <jug@sad.it>
1318 * insettabular.C (tabularFeatures): fix the row setting of ltt as
1319 this has to be always row + 1 as 0 means not selected!
1320 (checkLongtableSpecial): added
1321 (tabularFeatures): better longtable options support
1323 * insettext.C (resizeLyXText): reinit the text always also on a
1326 2001-12-18 Juergen Vigna <jug@sad.it>
1328 * insettext.C (updateInsetInInset): look if we have to autocollapse
1329 paragraps and return if the update is requested for ourself.
1331 * insetert.C (status): update the insettext not myself as that is what
1334 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
1335 function only return if the update was requested with myself.
1337 * insettext.C (insetButtonPress): fixed stupid bug.
1338 (various functions): pay attention that lt is cleared BEFORE calling
1339 updateLocal() and try to use it in the right manner (don't use it
1340 if it's not really neccessary!)
1341 (collapseParagraphs): insert a blank between collapsing paragraphs
1342 if neccessary (not already there!).
1344 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1346 * insettabular.C: move includes around a bit, add a couple of
1349 * insettext.[Ch]: move includes around a bit, other ws changes and
1352 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1354 * insettext.C (insetButtonRelease): fix compile problem
1356 2001-12-17 Juergen Vigna <jug@sad.it>
1358 * insettext.C (insetButtonPress): set the selection cursor!
1359 (insetButtonPress): clear the selection (and set with that the
1360 selection.cursor) if we only hit an inset!
1362 * insetert.C (read): removed piece of compatibility code only needed
1365 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
1368 * insetcollapsable.C (insetButtonRelease): changed so that it can
1369 open eventual existing popup dialogs on mousebutton==3.
1371 * insetfloat.C (insetButtonRelease): removed not needed anymore!
1373 * insetminipage.C (insetButtonRelease): removed not needed anymore!
1375 * inset.C (insetButtonRelease): return a bool for telling the outer
1376 world that we opened a dialog.
1378 2001-12-07 Juergen Vigna <jug@sad.it>
1380 * insettext.C (paragraph): remove the deleteing of paragraphs as
1381 it was a WRONG move!
1383 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1386 * insettabular.C: use new setSelection(). Allow
1387 selection of single cells.
1389 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1391 * insetquotes.C (latex): fix to use the local language setting at
1392 the point where the inset is inserted (different macros for
1393 different french packages)
1395 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1397 * inset.h: add par_owner_ member variable and parOwner
1400 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1402 * insettabular.C (everywhere): adapt because widths are now real
1403 widths and not strings
1405 * insettext.C (draw): re-introduce the calls to width(), ascent()
1406 and descent() to initialize the caching variables.
1408 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1410 * insettext.C (draw):
1411 (drawFrame): use insetWidth instead of last_width
1413 * insettext.h: remove variable last_width (insetWidth is exactly
1414 the same) and last_height (computed but never used!)
1416 2001-12-10 Allan Rae <rae@lyx.org>
1418 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
1420 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1422 * insettext.C (insetAllowed): add comment
1424 2001-12-05 Juergen Vigna <jug@sad.it>
1426 * insettext.C (insetAllowed): fixed for the case that we directly
1427 ask the insettext from its LyXText.
1428 (paragraph): fixed the crash when assigning the par->next() from
1429 the EmptyParagraphMechanism!
1431 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1435 * insettext.C: change "while(" to "while ("
1437 2001-12-04 Juergen Vigna <jug@sad.it>
1439 * insetert.C (edit): handle Inlined status.
1441 * insettext.C (insertInset): trying John's fix for the trailing cursor
1443 * insetert.C (insetButtonPress): added to handle inlined status
1444 (insetMotionNotify): ditto.
1446 * insettext.C (clearInset): changed Painter & in BufferView * param,
1447 to be able to call ascent,descent methods.
1449 2001-12-03 Juergen Vigna <jug@sad.it>
1451 * insettext.C (updateInsetInInset): use lt variable to forbid
1452 changes of LyXText in an update call.
1453 (updateInsetInInset): fixed updating of non locked insets!
1455 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1457 * insettabular.C: capture some more functions to prevent
1458 selection drawing problems. Bug #451274
1460 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1463 * insetgraphicsParams.C: fix inverted sense of float_equal
1465 2001-11-30 Juergen Vigna <jug@sad.it>
1467 * insettabular.C (InsetTabular): use the save_id flag to create also
1468 the tabular with the same id's.
1470 * insettext.C (setParagraphData): added a same_id function for undo
1471 to set the same paragraph id's as of the paragraph we are setting.
1473 2001-11-30 José Matos <jamatos@fep.up.pt>
1476 * insettoc.[Ch]: DocBook -> docbook.
1478 2001-11-29 André Pönitz <poenitz@gmx.net>
1481 * insettext.C: further reduction of header dependencies by using
1482 lyx::layout_type and lyx::textclass_type from support/types.h
1484 2001-11-29 Juergen Vigna <jug@sad.it>
1486 * insettext.C: inserted a reinitLyXText function everywhere I delete
1487 the paragraphs! This should fixe the crashes we had.
1488 Also use the new function firstRow() instead of getRowNearY(dummy_y)
1489 (paragraph): set the InsetOwner() of the new paragraphs!
1491 2001-11-28 André Pönitz <poenitz@gmx.net>
1493 * insetnote.C: add pos initialization that I removed without
1496 2001-11-28 Juergen Vigna <jug@sad.it>
1498 * insettabular.C (resetPos): hack to not crash with infinite paints.
1500 * insettabular.h: insert missing function allowSpellcheck()!
1502 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
1504 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1507 * insetfloatlist.C: derive from InsetCommand so gui can use it
1510 2001-11-26 André Pönitz <poenitz@gmx.net>
1514 * insetnote.C: reduce header dependencies, introduce type for
1517 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1519 * various: update for Alert.h
1521 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
1523 * inset.h: fix comment
1525 * insettext.C: use par->isInset()
1527 2001-11-22 Allan Rae <rae@lyx.org>
1529 * insetcollapsable.h:
1530 * inset.h: Changes to checkInsertChar() behaviour.
1531 Now return value indicates whether chars can be inserted.
1533 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
1535 * various: updated to use the new LaTeXFeatures
1537 2001-11-14 José Matos <jamatos@fep.up.pt>
1539 * insetspecialchar.C (linuxdoc):
1540 (docbook): don't give a name to a unused variable.
1542 * insettext.C (docbook): removed unused variable.
1544 2001-11-13 Herbert Voss <voss@perce.de>
1546 * insetgraphic.C: fix scale bug
1548 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1550 * inset.h (isSpace):
1551 (isLetter): new virtual methods.
1553 * insetspecialchar.C (isSpace):
1554 (isLetter): implement here.
1556 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1558 * inset.h: new inline helpers
1560 * insettext.C: use new helpers
1562 2001-11-07 José Matos <jamatos@fep.up.pt>
1564 * insettext.C (docbook): full support for paragraphs inside insettext.
1566 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
1568 * insetindex.C: added header file for std::ostream.
1570 2001-11-03 José Matos <jamatos@fep.up.pt>
1572 * insetindex.C: added using std::ostream that I forgot yesterday.
1574 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
1576 * insetindex.h (docbook):
1577 * insetindex.C (docbook): added support for docbook export.
1579 2001-11-02 José Matos <jamatos@fep.up.pt>
1581 * insetcaption.C(docbook): added support for docbook export.
1583 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
1585 * insetexternal.C (updateExternal): Do not run update command if
1586 result file exists and is up to date.
1588 * ExternalTemplate.C (readFormat): Support the updateresult token.
1590 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
1592 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
1593 external_templates) to use the buffer->fileName() but only if
1594 previewing. Generating a TeX file should make FPath return
1597 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
1600 * insetert.C: fix some problems
1602 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
1604 * insetexternal.C (doSubstitution): Added $$FPath token
1605 to list of usable substitutions in external inset templates.
1607 2001-10-24 Juergen Vigna <jug@sad.it>
1609 * insettabular.C: use new ltType struct for setting longtable
1610 header and footers also new UNSET enums.
1612 2001-10-24 José Matos <jamatos@fep.up.pt>
1614 * insettabular.C (linuxdoc): Now exports the ascii's table version.
1615 (docbook): If the table is not inside a float then wrap it inside
1616 <informaltable>...</informaltable>.
1618 2001-10-23 José Matos <jamatos@fep.up.pt>
1620 * insetref.C (docbook): removed / terminator to conform SGML.
1622 * insetspecialchar.C (linuxdoc):
1623 (docbook): Added support for special chars, more than ascii export.
1625 2001-10-22 Juergen Vigna <jug@sad.it>
1627 * insettext.C (checkInsertChar): added for REALLY checking the
1628 font of the inserted char in the right inset!
1630 2001-10-19 Juergen Vigna <jug@sad.it>
1632 * inset.h: added method allowSpellcheck() so that insets who do
1633 not have anything to spellcheck can tell and so they are over-jumped.
1634 Implemented for InsetText and co.
1636 2001-10-18 Juergen Vigna <jug@sad.it>
1638 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
1640 2001-10-15 José Matos <jamatos@fep.up.pt>
1642 * insetert.C: allow export for docbook and linuxdoc
1644 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1646 * insetquotes.C (dispString): handles latin3 and latin4 quotes
1648 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1650 * insetquotes.C (dispString): fix handling of latin9 quotes
1652 2001-10-03 Juergen Vigna <jug@sad.it>
1656 * insetcollapsable.C: change updateInset calls to not tell BV that
1657 we have changed status.
1659 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1661 * insettabular.C (deletable): make const
1663 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
1665 * insetert.C (latex): Fix the returned value
1667 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1669 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
1670 Returns string(), so nothing in an ERT inset is spellchecked.
1672 * insetgraphics.C (draw): print the filename if not displaying the
1674 (width): make sure that the width and draw methods are consistent.
1675 (updateInset): don't even load the image into cache if not displaying
1678 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1680 * various files (selectNextWord): renamed as
1681 selectNextWordToSpellcheck.
1683 * insetgraphics.C (draw): remove the previous change. Right place
1684 is in imageLoaderXPM.C.
1685 (draw): don't display the image if params.display == NONE.
1687 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
1689 * figinset.C (runqueue):
1690 * insetgraphics.C (draw): set background colour of inset from
1691 background to the user-configurable graphicsbg.
1693 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1695 * insetquotes.C (InsetQuotes): when trying to decide the side of
1696 the quote, choose `left' only after a space or '('
1698 2001-09-04 José Matos <jamatos@fep.up.pt>
1703 * insetcollapsable.h
1721 * insetlatexaccent.C
1722 * insetlatexaccent.h
1727 * insetspecialchar.C
1728 * insetspecialchar.h
1732 * insettext.C (docbook): rename docBook method to docbook.
1734 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
1736 * inset.h (getFirstParagraph): New virtual method.
1738 2001-08-20 Herbert Voss <voss@perce.de>
1739 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
1740 in the the bibtex-database-gui for inserting a line
1743 If no style is given than there is no tex-output.
1745 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
1747 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
1751 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
1753 * insetert.C (latex): Fix output for multiple paragraphs.
1754 (write): New code for writing paragraph data.
1755 (read): Set font after reading the inset.
1756 (localDispatch): Call set_latex_font() for more cases.
1758 * insetnote.h: Add empty validate method.
1761 * insetnote.C (InsetNote): Set language to the language of the
1764 2001-08-16 Juergen Vigna <jug@sad.it>
1766 * insettext.C: implemented the new FINISHED states.
1768 * insettabular.C: ditto
1770 * inset.h: added more FINISHED states for cursor right,up,down
1772 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1774 * insetfloatlist.C: use "FloatName List"
1776 2001-08-14 Juergen Vigna <jug@sad.it>
1778 * insetert.C (edit): forgot to set status_ in edit calls!
1780 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
1782 * insettext.C: Compilation fix
1784 2001-08-13 Juergen Vigna <jug@sad.it>
1786 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
1788 * insetcollapsable.C (edit): don't recollapse an already open inset.
1790 * insettext.C: fixed problem when reinitializing LyXText by not doing
1791 it while lt is in use and post this to the next possible time in
1793 (searchForward): fixed not unlocking of inset if nothing found.
1794 (edit): set cursor behind right (was set -1 pos).
1796 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
1798 * insettabular.C (tabularFeatures): fixed fix where deleting the
1799 last row didn't get the right actcell!
1801 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
1803 * insettext.C (localDispatch): Change language only when the inset
1806 2001-08-10 Juergen Vigna <jug@sad.it>
1808 * insettabular.C (selectNextWordInt): use the front using edit call.
1810 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
1811 the parameter overwrite class variable inset.
1813 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
1815 * insettext.C (saveLyXTextState): check for invalid cursor-par.
1816 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
1818 * insettabular.C (calculate_dimensions_of_cells): let's try to call
1819 update only for fixed with cells.
1820 (resetPos): try to fix the lockup on spellchecking or s&r.
1822 * insettext.C (update): comment this out as it seems first wrong
1823 and second not needed anymore!
1824 (some functions): call reinitLyXText() only in update() in all other
1825 positions set only need_update = INIT.
1827 2001-08-08 Juergen Vigna <jug@sad.it>
1829 * insettabular.C (setPos): fixed wrong actrow < rows() check.
1831 * insettext.C (insetUnlock): remove double-space on inset unlock.
1833 * insetcollapsable.C (draw): fix returned x when label > inset-width.
1835 * insettabular.C (update): fixed cursor positon after an insert.
1836 (insetAllowed): do not allow to insert insets when not inside the
1838 (draw): clear below an inset too as it could have changed height.
1840 * inset.C (getMaxWidth): fixed width for inset in inset.
1842 * insettext.C (update): small fix.
1844 * insettabular.C (tabularFeatures): added selection support to
1845 DELETE_ROW/DELETE_COLUMN.
1847 2001-08-07 Juergen Vigna <jug@sad.it>
1849 * inset.C (getMaxWidth): recoded and all it's implementations!
1851 * insettext.C (init,setParagraph+constructors): cleanups
1852 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
1853 are new and I want do a save/restore of the cursor position which is
1854 not possible anymore.
1856 * insetcollapsable.C (searchBackward): recollapse inset if not found.
1857 (searchBackward): ditto
1858 (selectNextWord): ditto
1860 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1862 * insetlatexaccent.C (checkContents): Add some debug messages
1864 2001-08-07 Juergen Vigna <jug@sad.it>
1866 * insetert.C (read): don't use InsetCollapsable::read as we don't
1867 write the collapsed status anymore only the status.
1870 2001-08-06 Juergen Vigna <jug@sad.it>
1872 * insetert.C (set_latex_font): use LyXText's setFont directly.
1874 * insettext.C (drawFrame): fixed one time more the right position
1875 and size of the frame!
1877 * insetert.C (~InsetERT): hide the dialog.
1878 (showInsetDialog): added implementation
1881 (status): new function for the status of the ERT inset (3-state).
1882 (write): output also the status of the inset for readback!
1883 (read): readback the status if available otherwise use collapsed_.
1885 * insettext.C (edit): small fix of setting the position, which could
1888 * insetert.C (width): implement this function for inlined viewing.
1889 Added minimum width of 10 pixels!
1891 * insetminipage.C (InsetMinipage): just change the colors a bit so
1892 that border/background is a bit more visible. We will remove this
1895 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
1896 function for getting the important widths for drawing in various
1897 functions and in LyXText.
1898 (draw): fixed up a bit (frame drawing/clearing)
1900 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1902 * inset.C (convertFont): delete method. not used.
1904 2001-08-03 Juergen Vigna <jug@sad.it>
1906 * insettext.C (setFont): don't call for a draw update if we're just
1907 changing the cursor font!
1909 2001-08-02 Juergen Vigna <jug@sad.it>
1911 * insettext.C (draw): clear the background with the right color if
1912 needed. Update myself if x&max-width changed and return without doing
1913 anything. Let the update code handle the right stuff.
1915 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
1916 inside another inset.
1918 2001-08-01 Juergen Vigna <jug@sad.it>
1920 * insetcollapsable.C (update): added an in_update bool so we avoid
1923 * insettabular.C (update): added an in_update bool so we avoid
1926 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
1928 (update): added an in_update bool so we avoid reentering.
1930 * insettabular.C (localDispatch): clear col/row selection when doing
1931 something else inside an inset.
1933 * insettext.C (getLyXText): fixed bug when requesting a recursive
1936 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1938 * insetcite.C (latex): Paranoia check. Make sure that there is no
1939 whitespace between the citation keys.
1941 2001-07-31 Juergen Vigna <jug@sad.it>
1943 * inset.h (nodraw): make the set function also const so that this
1944 can be called from inside other const functions.
1946 * insetcollapsable.h: removed inline variable and moved it over
1947 to the only user InsetERT.
1949 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
1950 inset opening immediately therein lying insets dialogs!
1952 * insetert.C (localDispatch): set the font also if we don't have any
1953 chars in this paragraph, otherwise if we delete all of em and start
1954 writing we have the wrong font.
1956 (draw): implemented for inline support
1957 (insetButtonRelease): ditto.
1959 2001-07-30 Juergen Vigna <jug@sad.it>
1961 * insettext.C (reinitLyXText): new function to reinit the insets
1962 text after lot's of paragraph changes. Use this instead of the
1963 cache.clear() which is VERY dangerous.
1965 * insetfloat.C (insetButtonRelease): we should only show the dialog
1966 if we press on the label otherwise we have problems to open mouse
1967 button 3 dialogs inside this float (f.ex. of a tabular!)
1969 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1971 * insetert.C: change back to "ERT"
1973 * insetfloat.C: handliign of RMB on label added.
1975 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1977 * insetgraphicsParams.C: #include LOstream.h here.
1979 * insetfoot.h: remove InsetFoot:: qualifier.
1981 2001-07-29 Baruch Even <baruch@lyx.org>
1983 * ChangeLog: Hiding time travel evidence.
1985 * insetgraphicsParams.h:
1986 * insetgraphicsParams.C:
1987 * insetgraphics.C: Added horizontal scale option, it actually scales both
1988 directions since it keeps image proportions.
1990 * insetgraphics.C: Fixed EPS detection to be non-hacky.
1992 2001-07-29 Baruch Even <baruch@lyx.org>
1994 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
1995 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
1997 HACKY! Will need to add an EPS detection routine like old InsetFig does!
1999 2001-07-29 Baruch Even <baruch@lyx.org>
2001 * insetgraphics.C: Added EPSI to be an alias of EPS.
2003 2001-07-29 Baruch Even <baruch@lyx.org>
2005 * insetgraphics.C: Change GRAPHICS to Graphics.
2006 Changed image conversion rules (documented at the beginning of file).
2008 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
2010 * insetert.C (get_new_label): int -> Paragraph::size_type to get
2013 * insetgraphics.C: added a using std::endl directive.
2015 * insetcommand.h (getScreenLabel): removed pure virtual function,
2016 as it duplicates that in InsetButton.
2018 * insetbib.[Ch] (getScreenLabel):
2019 * insetbutton.[Ch] (getScreenLabel):
2020 * insetcite.[Ch] (getScreenLabel):
2021 * insetert.[Ch] (getScreenLabel):
2022 * insetexternal.[Ch] (getScreenLabel):
2023 * insetfloatlist.[Ch] (getScreenLabel):
2024 * insetinclude.[Ch] (getScreenLabel):
2025 * insetindex.[Ch] (getScreenLabel):
2026 * insetlabel.h (getScreenLabel):
2027 * insetparent.[Ch] (getScreenLabel):
2028 * insetref.[Ch] (getScreenLabel):
2029 * insettoc.[Ch] (getScreenLabel):
2030 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
2032 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
2034 (validate): remove check on "cite" when using natbib.
2036 2001-07-26 Baruch Even <baruch@lyx.org>
2038 * insetgraphics.C (draw): changed casting to be in one place rather than
2039 all over the function.
2042 * insetgraphics.C (read): Added compatibility reads of InsetFig.
2044 * insetgraphicsParams.h:
2045 * insetgraphicsParams.C:
2046 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
2048 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
2050 * insetfoot.C (validate): Added method to ensure that the
2051 right bit of LaTeX is emitted.
2053 * insetfoot.h: Added validate method to set the correct
2054 LaTeXFeatures bit for the special footnote code.
2056 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2058 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
2061 2001-07-27 Juergen Vigna <jug@sad.it>
2063 * inset.h: remove not used font variable in parameter.
2064 removed checkInsertChar in UpdatableInset as it was equal to
2065 the one in Inset and so not needed.
2067 * insetert.C (checkInsertChar): implementation of function
2070 * inset.h: added new function checkInsertChar.
2072 * various files: added c-tor and clone() function.
2074 * insetcollapsable.h: removed clone function here as this should
2075 be only realized in REAL insets and added it to all collapsable
2076 insets! (with the copy-constructor).
2078 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2080 * insetminipage.C (read): handle missing parameters more gracefully
2082 * insetcollapsable.C (read): handel missing collapsed more gracefully
2084 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2086 * insetfloat.C (read): handle missing parameters.
2088 * insettext.C (read): handle old latex end_inset
2090 * insetert.C (setButtonLabel): new method
2091 (init): use it, to set the dynamic label correctly
2094 * Makefile.am (EXTRA_DIST): add files that is not part or the
2097 * insetcollapsable.h: remove autocollapsable (no users), remove
2098 draw_label, change_label_with_text and companion code. Remove args
2100 * insetert.[Ch]: move here instead (only user)
2102 * inset.h: rename private variable name to name_, make
2103 selectNextWord return a const string. make getInsetName return a
2104 string const &. Remove bool from open, add close.
2106 * Makefile.am: don't compile insetlist, insetsection
2109 2001-07-24 Juergen Vigna <jug@sad.it>
2111 * insetert.C (InsetERT): put init after the paragraph initialization,
2112 as otherwise we don't set the draw_label right.
2114 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
2115 insets with the mouse without having strange selections.
2116 (edit): if the inset was collapsed and we open it here then put the
2117 cursor always at the beginning of the inset.
2118 (get_new_label): 15 instead of 10 max chars in the label.
2120 * insetert.C (localDispatch): added and handle various stuff we
2121 need to handle here (font setting on paragraph break, not permitted
2122 layout setting, etc.).
2124 * inset.h: added default copy-consturctor and implemented this in
2125 various insets with the change to use this in the clone function!
2127 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2129 * insetminipage.C (InsetMinipage): set background color to red :)
2131 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2133 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
2134 draw frame mode is LOCKED.
2136 * insetcollapsable.C (edit):
2137 (insetButtonRelease): set update status to full when
2140 * insettext.C (clearInset):
2141 * insettabular.C (draw):
2142 * insetlatexaccent.C (draw): honor background color.
2144 * inset.h: new member background_color_, initialized to
2147 * inset.C (backgroundColor): new method.
2148 (setBackgroundColor): new method.
2150 * insetert.C (init): new method, called by the ctors.
2151 (InsetERT): when inserting contents, make sure the font is
2154 * insetnote.C (InsetNote): when inserting content, remove trailing
2156 (init): set background color to LColor::note
2158 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2160 * insetcollapsable.C: adjust
2162 * insetbutton.C: adjust
2164 2001-07-23 Juergen Vigna <jug@sad.it>
2166 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
2167 parameter on the _collapsed function (was not needed) and call
2168 always width_collapsed().
2170 * insetert.C (InsetERT): use setLabel with "true" flag.
2172 * insetcollapsable.C: modified various functions to set the draw_label
2173 string right in any condition.
2174 (setLabel): added a bool parameter to set change_label_with_text.
2176 * insetcollapsable.h: added draw_label string which is set to the
2177 actual drawn label-string, while label is the original static label
2178 of this collapsable inset. Added bool change_label_with_text to set
2179 if we want that the label changes to the start of the InsetText's
2180 text when collabpsed. You can set this flag with the setLabel funciton.
2181 Added bool inlined for inlined collapsable insets, but not handled
2184 * insetcollapsable.C (get_new_label): added should get a new label
2185 from the InsetText beginning (for now 10 chars).
2187 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2189 * insetquotes.C (latex): fix the handling of french double quotes
2190 when not using the french pachage.
2192 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2194 * insetcollapsable.h: make WidthCollapsed mutable.
2196 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
2197 InsetPrintIndex returns INDEX_PRINT_CODE.
2199 * inset.h: add INDEX_PRINT_CODE
2201 * insetcollapsable.C (draw): init widthCollapsed if necessary
2204 * insetquotes.C (width): use the local language, not the document
2207 (dispString): add additional spacing for all french languages,
2209 (validate): make it work when there is no default language
2211 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
2213 * insetnote.C (init): new method, called by the constructors
2214 (InsetNote): new constructor with contents passed as a string
2216 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2218 * insetfootlike.C (insetAllowed): disallow float in footlike.
2220 * insetert.C (InsetERT): add collapsed argument to the constrctor
2223 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2225 * insetindex.h: shut off warning
2227 2001-07-20 Juergen Vigna <jug@sad.it>
2229 * insetcollapsable.C (update): recoded hopefully works now!
2231 2001-07-19 Juergen Vigna <jug@sad.it>
2233 * most files: implemented the below new introduced function.
2235 * inset.h: added new edit(BufferView *, bool front) method to be able
2236 to enter an inset from the front/back without knowing x/y positions
2237 and baselines inside the inset. So I just can tell the inset activate
2238 me and set the cursor on the front/back of yourself.
2240 2001-07-18 Juergen Vigna <jug@sad.it>
2242 * insetcollapsable.C (edit): fixed hopefully the y parameter which
2243 is given to the InsetText.
2244 (insetButtonPress): ditto
2245 (insetButtonRelease): ditto
2246 (insetMotionNotify): ditto
2248 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2250 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
2251 LIGATURE_BREAK, since the name is so stupid.
2253 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2255 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
2256 the default InsetCollapsable methods. I.e., it can insert anything.
2257 (write) output the name of the inset, not some silly hack for
2258 compatability with the old InsetInfo.
2260 * insetinfo.[Ch]: removed.
2261 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
2262 now collapsable, but functionality is otherwise identical to InsetInfo.
2264 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
2266 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2268 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
2271 * insetquotes.C: general cleanup
2272 (dispString): add spaces inside french double quotes.
2273 (latex): ditto. Moreover, treat first the case where the frenchb
2274 or french options have been given.
2276 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
2278 * insetcite.[Ch] (latex, validate): new methods, required for natbib
2281 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
2283 * figinset.C (RegisterFigure): Print debug message only when
2284 current_view is available.
2286 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2288 * many files: update to match the change below
2290 * inset.h (insetAllowed): renamed from insertInsetAllowed;
2291 implement the version which takes an inset here.
2293 * insetcollapsable.[Ch]: implement open and isOpen
2295 * inset.h: remove insertInsetAllowed from Inset
2296 (open): new method, to open or close an inset
2297 (isOpen): returns the status of an inset
2298 (isCollapsable, colapse): removed
2300 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2302 * insetquotes.C (dispString): display french guillemets when using
2305 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2307 * insetcollapsable.h: remove bogus return statements
2309 2001-07-18 Juergen Vigna <jug@sad.it>
2311 * insettabular.C (selectNextWord): fixed spellchecking for the
2312 first cell of a tabular (wasn't entered!)
2313 (getLyXText): changed to enter automatically insettext and return
2314 it's LyXText if we're locked.
2316 2001-07-17 Juergen Vigna <jug@sad.it>
2318 * various files: implemented the below functions.
2320 * inset.h: added functions
2321 - virtual string selectNextWord(BufferView *, float & value) const;
2322 - virtual void selectSelectedWord(BufferView *) { return; }
2323 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
2324 needed for spellchecking correctly!
2326 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
2328 * insetert.C (latex): write out all paragraphs.
2330 2001-07-17 Baruch Even <baruch@lyx.org>
2332 * insetgraphics.C (draw): Removed unneeded casts.
2334 2001-07-16 Juergen Vigna <jug@sad.it>
2336 * insettext.C (update): fixed small oversight (reset lt to 0).
2338 2001-07-14 Baruch Even <baruch@lyx.org>
2341 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
2343 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
2345 Consistent use of Lsstream.h:
2346 * figinset.C: removed using std::ostringstream directive.
2348 * insetgraphics.C (createLatexOptions):
2349 * insetinclude.C (unique_id):
2350 std::ostringstream -> ostringstream.
2351 * insettext.C (localDispatch): std::istringstream -> istringstream.
2353 2001-07-13 Juergen Vigna <jug@sad.it>
2355 * insetfloat.C (insertInsetAllowed): added missing const_cast.
2357 * insetcollapsable.C (getLockingInset): ditto.
2359 2001-07-12 Juergen Vigna <jug@sad.it>
2361 * insetcollapsable.h: added implementation of new function for
2364 * various files: added implementation of new insertInsetAllowed-func
2365 and redone the function a bit more.
2367 * inset.h: added isCollapsable(), bool collapsed(),
2368 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
2370 * insetfloat.C (insertInsetAllowed): make a bit more checks.
2372 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
2373 LyXText which is marked for removal while we're using it!
2375 * insettext.h: added private LyXText * lt to use it to assure we are
2376 not deleting our LyXText while we're using it!
2378 2001-07-11 Juergen Vigna <jug@sad.it>
2380 * insettext.C (insertInset): check if we are before the inset after
2381 inserting it! This check IS needed. Remove the Undo-Call as it is
2382 called in LyXText::insertInset!
2384 * insettext.h: added struct InnerCache.
2386 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
2387 that we ONLY delete the LyXText in the getLyXText() routine. So we
2388 are sure we don't delete LyXText while someone is working with it!
2390 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2392 * insetexternal.C: (*it). -> it->
2393 * insettext.C: ditto
2395 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2397 * insetcollapsable.C (edit): always open collapsed insets (even if
2398 they are not autocollapsable)
2400 * insetcommand.C (operator=): simplify.
2402 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2404 * insetert.C (latex): handle META_NEWLINE
2406 2001-07-09 Juergen Vigna <jug@sad.it>
2408 * insetert.h: a normal InsetText can insert insets, but we won't.
2410 * inset.h: return default "false" on insertInsetAllowed and implement
2411 this function where a returnvalue != "false" is needed.
2413 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2415 * insetert.C (InsetERT): new contructor
2417 2001-07-06 Juergen Vigna <jug@sad.it>
2419 * a lot of files: added implementation of the below new functions
2420 and the change to clone(). Also the call of the new undo-functions
2423 * inset.h: added an inset_id, added functions getParFromID,
2424 getInsetFromID, firstParagraph, cursor and id functions, added
2425 bool same_ids to clone function.
2427 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2429 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
2430 of BufferView * and shared_ptr<LyXText>
2432 2001-07-05 Juergen Vigna <jug@sad.it>
2434 * insettext.C (clear): deleted also the cache not only LyXText.
2435 (setParagraphData): ditto.
2437 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2439 * insetfloat.C (latex): let the specific placement take presedence
2440 if set, otherwise choose document placement if set, otherwise just
2441 use float default placement.
2443 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2445 * insettext.C (localDispatch): call CutAndPaste::'s static method
2448 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2450 * insetbib.C: no meed to include forms.h here.
2452 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
2454 * insettext.C: added using std::make_pair directive.
2456 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2458 * insettext.C (getLyXText): avoid multiple lookups, and simplify
2460 (deleteLyXText): ditto
2461 (resizeLyXText): ditto
2463 2001-07-02 Juergen Vigna <jug@sad.it>
2465 * insettext.C (getLyXText): introduce a cache in getLyXText so that
2466 following calls are only returned the right pointer without the over
2467 head to search in the map.
2468 (various funcs): reset the cached_bview variable as this signs that
2469 the cache is not valid anymore.
2471 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2473 * insettabular.C (clone): do not copy the LyXTabular twice
2475 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2477 * insettext.h (TEXT): delete method
2479 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2481 * insetmarginal.C (latex):
2482 * insetfoot.C (latex): fix spacing of notes in LaTeX
2484 * insettext.C (localDispatch): use .c_str() on istringstream
2485 constructor argument.
2487 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
2492 * inseturl.C: fix method names in these to begin
2493 with small char too, so they inherit
2495 2001-06-28 Juergen Vigna <jug@sad.it>
2497 * insettext.C (setFont): fixed font settings using toggleFree()
2498 instead of setFont().
2500 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
2502 * Change a lot of method names to begin with a small char.
2503 Changes to a lot of files because of this.
2505 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2507 * insetfloatlist.C (Write): std:: qualify ostream
2510 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
2514 * insetgraphics.C: send debug output to Debug::INFO instead of
2517 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
2520 * insettabular.C (getStatus): update to use func_status
2522 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
2524 * insetref.C (DocBook): added support for cross-references without
2527 2001-06-26 The LyX Project <jug@sad.it>
2532 * insetlabel.h: removed escape method and moved it to
2535 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2537 * insettabular.C (getMaxWidth): do the speedup in a different way,
2540 2001-06-24 The LyX Project <Asger>
2542 * insettabular.C (getMaxWidth): We cache a mapping from
2543 inset to cell in order to speed this method up.
2545 2001-06-24 The LyX Project <Asger>
2547 * insettext.C: Optimized InsetText::draw or something.
2549 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
2551 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
2553 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
2555 * inset.h: name change from lyxinset.h
2557 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
2559 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
2561 2001-06-14 Juergen Vigna <jug@sad.it>
2563 * insettext.C (draw): removed warnings.
2565 2001-06-13 Juergen Vigna <jug@sad.it>
2567 * insettabular.C (nodraw): only go down the tree if we don't have
2568 that flag set otherwise it's obvious that we don't want to draw.
2569 (LocalDispatch): do also an update if we have an undispached result.
2571 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
2574 * insetgraphicsParams.C:
2575 * insettext.C: removed // -*- C++ -*- as first line.
2577 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2579 * lyxinset.h (resizeLyXText): shut off warning about unused
2582 2001-06-07 Juergen Vigna <jug@sad.it>
2584 * insettext.C (resizeLyXText): honor the new force flag.
2586 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
2588 * insettabular.C (deleteLyXText): new function
2590 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
2598 * insetcollapsable.C:
2599 * insetcaption.C: LColor tidy
2601 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2603 * figinset.C: fix typo
2605 2001-06-01 Juergen Vigna <jug@sad.it>
2607 * insettabular.C (resetPos): small hack so that scroll is not set to
2608 0 when we are in the last column of a tabular. This is a problem we
2609 have because of constats 20 offset on both directions, so this can
2610 cause on the limit an endless loop.
2612 * insettext.C (SetFont): forgot that we can have locking insets ;)
2614 2001-05-31 Juergen Vigna <jug@sad.it>
2616 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
2618 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2620 * figinset.C: add using std:: directive for the C functions which
2623 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
2625 * insetfloat.C (Write): write out wide info
2626 (Read): read the wide info
2627 (Latex): use the wide info when creating latex.
2629 * insettext.C: adjust
2631 * insetgraphics.[Ch] (statusMessage): change to return string
2635 * figinset.C (runqueue): add std::
2638 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2640 * insetcite.C (Ascii): add std:: qualifier
2642 2001-05-28 Juergen Vigna <jug@sad.it>
2644 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
2645 a endless-width inset (maxWidth < 0).
2646 (Edit): change language only if not equal.
2648 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
2650 * insettext.C (draw): fixed draw/clear of InsetText-Frame
2652 2001-05-16 Juergen Vigna <jug@sad.it>
2654 * insettext.C (selectAll): added
2655 (clearSelection): added
2657 * insettabular.C (SetFont): now we may set a font on a whole selection!
2658 (getSelection): added helper function.
2660 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
2662 * insetcite.C (Ascii): Add method.
2664 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
2667 * insetbib.C: fix path for OS/2 & Win32
2669 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2671 * insetfoot.C (Latex): don't use % after footnote.
2673 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2675 * insettext.C (Read): use clear
2676 (SetParagraphData): use LyXParagraph copy constructor instead of clone
2678 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2680 * insetfloatlist.h: add a bunch of std:: qualifiers.
2682 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2684 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
2685 FLOAT_LIST_CODE, renumber code list.
2687 * insettoc.C (getScreenLabel): remove support for float lists
2691 * insetfloatlist.[Ch]: new files
2693 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
2695 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
2697 * insettabular.C (LocalDispatch):
2698 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
2701 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2703 * insettext.C: remvoe !NEW_INSETS cruft
2705 * insettabular.C: remove !NEW_INSETS cruft
2707 * insetcollapsable.h: remove !NEW_INSETS cruft
2709 * insetbib.C: remove !NEW_INSETS cruft
2711 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2713 * insettoc.C: hack to make listof algorithm work
2715 2001-04-20 Juergen Vigna <jug@sad.it>
2717 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
2719 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2721 * insetquotes.C (Latex): improve the guard against
2722 unwanted !` and ?` ligatures. This should really be done in
2723 another place (to catch all this ligatures at low-level).
2725 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2727 * insettext.C (init): remvoe leftovers from cursor_visible change
2728 (draw): use c++ cast
2729 (LocalDispatch): dispatch LFUN_MESSAGE
2731 * insettabular.C (InsetTabular): remove leftovers from
2732 cursor_visible, and scoped_ptr changes
2733 (draw): use c++ cast
2735 * insetcollapsable.C (draw): use c++ cast
2737 * ExternalTemplate.h: inherit privaely from noncopyable
2738 * insetcommand.h: ditto
2739 * insetinclude.h: ditto
2741 2001-04-16 Allan Rae <rae@lyx.org>
2743 * insettoc.C (Ascii):
2744 * insettext.C (draw):
2745 * insettabular.C (setPos):
2746 * insetminipage.C (Read):
2747 * insetfloat.C (placement):
2748 * insetcaption.C (Ascii, DocBook):
2749 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
2750 an unrecognised preprocessor directive. So ensure they're wrapped.
2752 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
2755 * insetexternal.C: set view on Clone. Add _ to private members.
2757 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2759 * insettext.C (InsetText): fix new
2760 (InsetText): reindent some, simplify deletion of par list
2761 (clear): simplify deletion of par list, fix new
2762 (SetParagraphData): simplify deletion of par list
2764 * insettabular.[Ch] (getLabelList): implement new method
2766 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2768 * lyxinset.h: do not include gettext.h...
2776 * insetlatexaccent.C:
2780 * inseturl.C: ... and do it here instead
2782 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2784 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
2786 * insettext.[Ch] (getLabelList): add std:: on vector<string>
2788 * insetcollapsable.[Ch] (getLabelList): implement
2790 * insettext.[Ch] (getLabelList): implement
2792 * insettext.h: reindent
2794 * insettabular.h: make tabular a scoped_ptr
2796 * insettext.C (init): adjust for cursor_visible
2797 (ToggleInsetCursor): constify asc and desc, font, adjust for
2799 (ShowInsetCursor): constify asc and desc, font, adjust for
2801 (HideInsetCursor): adjust for cursor_visible
2803 * insettabular.C: reindent some
2804 (InsetTabular): adjust for scoped_ptr and cursor_visible
2805 (InsetTabular): ditto
2806 (~InsetTabular): delete delete
2807 (Clone): adjust for scoped_ptr
2808 (Read): constify old_format, adjust for scoped_ptr, move init of
2810 (draw): constify tx, localize loop vars.
2811 some other localization of variables, remove double initilizatons.
2813 * insetfoot.C: remove using std::ostream, add ostream where needed
2815 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2817 * lyxinset.h: some reindentaion, use initializer list for
2819 UpdatableInset: make cursor_visible a private var add
2820 public isCursorVisible(), add protected toggleCursorVisible() and
2821 proctected setCursorVisible(bool), make scroll call the Inset::scroll
2823 * insettoc.C: remvoe using decl
2824 (getScreenLabel): make cmdname donst
2827 (Ascii): don't use endl
2829 * insetfootlike.C: remove using decl at file scope and add std::
2831 * insetmarginal.C: ditto
2833 * insetfoot.C: some reformatting
2835 * insetfloat.C (InsetButtonRelease): adjust the hit area
2837 * insetert.C (SetFont): some reformatting
2839 * insetcollapsable.C: some reformatting and constification
2840 (Clone): comment out.
2841 * insetcollapsable.h: some reformatting
2842 (Clone): comment out.
2847 2001-03-30 Juergen Vigna <jug@sad.it>
2849 * insetcollapsable.h: changen *inset to be a InsetText inset.
2851 * some files: changed to reflect the above change.
2853 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
2855 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
2856 InsetExternal::Params.
2857 Added operator==() and operator!=() for the Params struct.
2859 2001-03-29 Juergen Vigna <jug@sad.it>
2861 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
2864 * insetminipage.C: removed widthp_ and all it's functions and changed
2865 to use new %-lengths of LyXLength.
2867 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
2869 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
2871 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
2873 * insetgraphicsParams.C (operator!=): new function, needed by the
2874 ControlGraphics class.
2876 2001-03-28 Juergen Vigna <jug@sad.it>
2878 * insettext.C (InsetButtonPress): only enter !inset if button == 2
2879 (checkAndActivateInset): don't use the values returned from
2880 call to bv->checkInsetHit.
2882 * insetminipage.C (Clone): set special minipage values.
2884 * insetcollapsable.C (draw): changed to draw the button in the
2885 upper left corner outside the textinset.
2886 (ascent): changed because of different drawing
2890 (InsetButtonPress): ditto
2891 (InsetButtonRelease): ditto
2892 (InsetMotionNotify): ditto
2894 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
2896 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
2900 2001-03-26 Juergen Vigna <jug@sad.it>
2902 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
2904 * insettext.C (ShowInsetDialog): implemented above function.
2906 * insettabular.C (ShowInsetDialog): ditto
2908 * insetminipage.C (ShowInsetDialog): ditto
2910 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2912 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
2913 InsetInclude::Params. Don't store a buffer * in Params. Store the
2914 master file name instead.
2916 2001-03-23 Juergen Vigna <jug@sad.it>
2918 * insetcollapsable.C (InsetMotionNotify):
2919 (InsetButtonRelease):
2920 (InsetButtonPress): fixed y-offset (minipages).
2922 * insettext.C (draw): force a FULL update if cleared == true.
2924 * insetcollapsable.C (draw): Lars forgotten entry for changing this
2925 routine to draw the minipages on its position-flag.
2926 (InsetInInsetY): give back the right y position, because of minipage
2929 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
2932 * insetfloat.C (DocBook): docbook export code.
2934 2001-03-22 Juergen Vigna <jug@sad.it>
2936 * insetminipage.C (getMaxWidth): added function to set the drawing
2938 (Read): should work now!
2940 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
2941 if we create a new inset.
2943 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2945 * figinset.C (fl_set_preemptive_callback): moved definition outside
2948 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2950 * insetminipage.C (Read): prepare for reading of minipage arguments.
2952 2001-03-18 Baruch Even <baruch@lyx.org>
2954 * insetgraphics.C: Minor cleanups of the comments and code.
2956 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2958 * insetminipage.C (InsetMinipage): default to not collapsed
2960 2001-03-16 Juergen Vigna <jug@sad.it>
2962 * insetminipage.C (width): modified with to be a string
2963 (widthp): added widthp (for % width) support functions.
2964 (InsetButtonRelease): added to open the options dialog on button==3.
2965 (~InsetMinipage): added to hide the dialog.
2967 * insetminipage.h: added hideDialog signal
2969 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2971 * insetminipage.h: change the order or Position to match
2972 LyXParagraph::MINIPAGE_ALIGNMENT
2974 * several files: remvoe CXX_WORKING_NAMESPACES
2976 * ExternalTemplate.h: noncopyable is in namespace boost
2977 * insetinclude.h: ditto
2978 * insetcommand.h: ditto
2980 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2982 * insettext.C (Edit): #else# -> #else.
2983 * insettoc.C: added using directive.
2985 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2987 * insetminipage.h: add pos, inner_pos, width and height. + getters
2988 and setters for all of them.
2990 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
2992 * insetinclude.C (Latex): Do not exit when the textclass of the
2993 included file differ from the textclass of the parent file.
2995 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
2997 * ExternalTemplate.C (read): the reading of external insets now checks
2998 for \end_inset and removes it form the input stream.
3000 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
3002 * ExternalTemplate.h:
3003 * ExternalTemplate.C:
3005 * insetexternal.C: move form to GUII
3007 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3010 * insetinclude.C: add InsetIncludeParams, use
3011 composition rather than derivation of InsetCommand
3013 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3015 * insettoc.C (Ascii): use the Buffer typedefs
3017 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3019 * insettoc.C (Ascii): implement for dynamic number of lists
3021 * insetcaption.[Ch]: update from new_insets branch
3022 * insetfloat.[Ch]: ditto
3024 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
3027 * figinset.C: use new File Dialog
3029 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3031 * insettext.C: changes becuase of ParagraphParameters.
3033 2001-02-28 Baruch Even <baruch@ev-en.org>
3035 * insetgraphics.C (updateInset): Changed due to the change in
3038 2001-02-26 Juergen Vigna <jug@sad.it>
3040 * insettext.C (SetFont): Set Undo only if we have selection (as it is
3041 handled in LyXText).
3043 2001-02-23 Juergen Vigna <jug@sad.it>
3045 * insettext.C (draw): some small repainting fixes.
3046 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
3048 * inset.C (LocalDispatch): changed action to be a kb_action (as it
3049 should be) and not an int.
3051 * insettabular.C (LocalDispatch): ditto
3053 * insettext.C (LocalDispatch): ditto
3055 * insetcollapsable.C (LocalDispatch): ditto
3057 2001-02-22 Juergen Vigna <jug@sad.it>
3059 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
3060 DISPATCH it and we don't have a locking_inset.
3062 2001-02-21 Baruch Even <baruch@ev-en.org>
3064 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
3065 instead of GraphicsCacheItem *.
3067 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3069 * insetcollapsable.C (getLyXText): add const qualifier to second
3072 2001-02-22 Juergen Vigna <jug@sad.it>
3074 * insettext.C (getLyXText): honor the recursive parameter.
3075 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
3077 * inset.C (getLyXText): added bool recursive parameter.
3079 * insettext.C (SetUpdateStatus): or the update codes.
3080 (draw): check need_update with &.
3081 (InsetButtonPress): set no_selection to not put a selection when
3082 entering an inset and it is redraws in another spot.
3084 * insettext.h: made need_update an int.
3086 2001-02-20 Baruch Even <baruch@ev-en.org>
3089 * insetgraphisc.C: Changed to use better semantics when loading images
3090 for inline view. Now it doesn't keep the pixmap itself but it's holder.
3092 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
3096 * insetgraphics.C: change name of "hide" signal to "hideDialog",
3097 consistent with InsetTabular.
3099 2001-02-19 Juergen Vigna <jug@sad.it>
3101 * insettabular.C (LocalDispatch): implement PAGE up/down.
3103 * insettext.C (draw): clear all of it on need_update==INIT too!
3105 * insettabular.C (InsetUnlock): always clear the selection.
3107 * inset.C (scroll): normally we only want to scroll the inset until
3108 it is fully visible so if top_x + offset > 20 then just set scx to 0.
3110 2001-02-14 Juergen Vigna <jug@sad.it>
3112 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
3113 (resetPos): fixed scroll behaviour.
3114 (LocalDispatch): do an update if moving cursor inside a table cell
3115 requests a scroll of the tabular.
3117 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
3119 * insettext.C (textWidth): constify local var
3121 * insettabular.C: small cleanup.
3123 * insetfoot.C (Latex): constify local var
3125 * insetcollapsable.C: small cleanup.
3127 * figinset.C (runqueue): use compare instead of strcmp
3129 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3132 * insetinfo.C: remove cruft
3134 2001-02-14 Juergen Vigna <jug@sad.it>
3136 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
3138 2001-02-13 Juergen Vigna <jug@sad.it>
3140 * insettext.C (InsertInset): don't move left (is this right?)
3142 * insettabular.C (LocalDispatch): use of the no_draw variable
3144 * insettabular.h: new no_draw variable to stop redraw
3146 * insettabular.C (TabularFeatures): fixed update for alignment change
3148 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
3152 * insetbib.C: move dialogs to frontends/
3154 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
3156 * insettext.C (LocalDispatch): Restore the language if the inset
3159 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
3161 * insettext.C (moveRightIntern): Update the selection cursor.
3162 (moveLeftIntern): Ditto.
3164 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3166 * Makefile.am: remove BoundingBox.h
3168 * BoundingBox.h: removed
3170 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
3172 * insettext.C (LocalDispatch): Update selection cursor when moving
3173 cursor to the right.
3174 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
3175 (moveLeftIntern): Ditto.
3177 2001-02-05 Baruch Even <baruch.even@writeme.com>
3179 * insetgraphics.C: Updated automatic image conversion, it now goes into
3180 temporary directory instead of with the image itself.
3182 2001-01-21 Baruch Even <baruch@ev-en.org>
3184 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
3185 to EPS or PNG when needed (support bitmap graphics).
3187 2000-11-02 Baruch Even <baruch@ev-en.org>
3190 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
3191 and removal of commented out code.
3193 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
3195 * insetbib.C (callback): Update citations if the key has changed.
3197 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
3199 * insetbib.C (InsetBibKey): Better computation of default key.
3200 (getScreenLabel) Show both the key and the label.
3201 (getBibLabel): New method.
3202 (callback): Force a redraw if the inset have been changed.
3204 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
3206 * insetref.C (getType, getName): Move methods from
3207 src/frontends/xforms/FormRef.C.
3209 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
3211 * insettabular.C: Various improvements (use only one dummy position).
3213 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
3215 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
3216 par->bibkey->width. This fixes the crashes when running without
3217 gui or when having included documents.
3219 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
3221 * insetcommand.C (getAsString, setFromString): Cleanup.
3223 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
3225 * insetref.C: Add the array InsetRef::types that contains
3226 information about all supported reference types.
3228 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3230 * lyxinset.h: remove trailing comma in enum.
3232 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
3234 * insettext.C: kill LyXBell.