1 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * insetbib.C (latex): modify because of strip changes
5 * insetnote.C (InsetNote): ditto
7 2002-07-26 Juergen Vigna <jug@sad.it>
9 * insettabular.C (searchForward): check for lastcell if we
12 2002-07-25 Juergen Vigna <jug@sad.it>
14 * insettabular.C (insetMotionNotify): Don't update the screen
15 if we didn't do nothing.
16 (searchForward): last cell was not checked.
18 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
20 * insetfloat.C (read, write): Allow default placement
21 (floatPlacement_ is empty).
23 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
25 * insetminipage.h (noFontChange):
26 * insettabular.h (noFontChange):
27 * insetfootlike.h (noFontChange):
28 * insetfloat.h (noFontChange): return true
30 * inset.h (noFontChange): new method, defaulting to false
32 2002-07-22 Herbert Voss <voss@lyx.org>
34 * insetgraphicsParams.[Ch]: support size_type for old docs
36 2002-07-22 Herbert Voss <voss@lyx.org>
39 * insetgraphicsParams.[Ch]: change size_type to size_kind and
42 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
44 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
46 * insetlatexaccent.h: do not include "lyxlex.h"
48 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
55 * insetbib.C: #include "lyxlex.h"
61 * insettext.C: use BufferParams::getLyXTextClass
64 * insetfloat.C (addToToc): new method. Add to toclist the entries
65 corresponding to Caption layouts
66 (InsetFloat): when creating a new float, set the layout to "Caption"
68 2002-07-21 Herbert Voss <voss@lyx.org>
70 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
71 image relevant part into graphics/GraphicsImgae.C
73 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
76 * insetfloatlist.C (ascii): change to use the new Toc functions
77 instead of stuff that was in Buffer
79 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
81 * insettext.C (localDispatch): BufferView::Dispatch has been
82 renamed to BufferView::dispatch
84 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
86 * insetgraphicsParams.C (as_grfxParams): use the new
87 keepLyXAspectRatio parameter. Note that this is an adaptation of a
88 1.2.0 patch, and I do not really know how to adapt it to the new
89 grfx::Cache world. Angus, please could you have a look?
91 2002-05-01 Herbert Voss <voss@lyx.org>
93 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
95 2002-07-18 Angus Leeming <leeming@lyx.org>
97 * insetgraphics.C: clean-up comments (from Herbert).
98 add a new checksum variable to the cache. Use it in PrepareFile.
99 (draw): start monitoring the file for a change.
100 (prepareFile): re-arrange a little to avoid unnecessary steps.
102 2002-07-17 Angus Leeming <leeming@lyx.org>
104 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
105 a method rather than to the signal directly.
107 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
109 * insettext.C: use view_state_changed, switchKeyMap
111 2002-07-17 Herbert Voss <voss@perce.de>
113 * insetgraphics.C (prepareFile): keep the extension when
114 exporting to nice file
116 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
118 * insetcite.C (getNatbibLabel):
119 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
121 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
123 * insetgraphics.C: use ->isDrawable()
125 2002-07-12 Angus Leeming <leeming@lyx.org>
127 * insetgraphics.C: use the new smart loading capabilities of the image
130 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
132 * insettabular.C (edit): Move into correct cell when entering a
135 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
138 2002-07-05 Angus Leeming <leeming@lyx.org>
140 * inset.h (generatePreview): new virtual method.
142 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
144 * insetcommandparams.[Ch] (operator=): move out of class
145 (operator!): move out of class
147 2002-07-04 André Pönitz <poenitz@gmx.net>
149 * insetcommandparams.[Ch]: new files
151 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
153 2002-06-15 Herbert Voss <voss@perce.de>
155 * insetgraphics.C (prepareFile): bugfix; return always
156 files without extension
158 2002-06-28 Angus Leeming <leeming@lyx.org>
160 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
161 rename asGParams -> as_grfxParams.
163 * insetgraphics.C: reflect above change.
165 2002-06-26 Angus Leeming <leeming@lyx.org>
167 * insetgraphics.h: use boost::scoped_ptr in preference to
170 2002-06-26 Angus Leeming <leeming@lyx.org>
172 * insetgraphics.C: moved the image loading stuff into a new class
173 grfx::Loader. Simplifies this file enormously.
175 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
177 * insetgraphicsParams.C: changes aassociated with moving
178 grfx::DisplayType out of grfx::GParams.
180 2002-06-26 André Pönitz <poenitz@gmx.net>
182 * insetgraphics.C: use os::external_path where necesaary according to a
183 patch from Claus Hentschel)
185 2002-06-25 Angus Leeming <leeming@lyx.org>
187 * insetgraphics.[Ch]: The inset now assumes the responsibility for
188 generating a pixmap once the graphics file is loaded into memory.
189 The current_view ugliness that was in grfx::ModifiedImage has been
190 moved here now that grfx::ModifiedImage is no more.
192 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
194 * insettext.C: layout as layout
196 2002-05-28 André Pönitz <poenitz@gmx.net>
198 * insetfloatlist.h: remove source of compiler warning
200 * insetref.C: tiny whitespace
202 2002-06-15 Herbert Voss <voss@perce.de>
204 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
205 and take always convert when no userdefined converter was
207 (latex) small changes in the lyxerr output
209 2002-06-15 LyX Development team <lyx@rilke>
211 * inset*.[Ch] (docbook): Added new argument to take the pernicious
212 mixed content. Small white spaces clean.
214 2002-06-14 Angus Leeming <leeming@lyx.org>
216 * inseetexternal.C: remove the using std::difftime declaration.
218 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
220 * insetquotes.C: change lyxfont::draw to font_metrics::draw
222 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
224 * insetquotes.C (draw): fix drawing of double quotes
226 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
228 * insettabular.C: s/scrollCB/scrollDocView/
230 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
232 * insettext.C: change of topCursorVisible()
235 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
238 * insettext.C: rename/change of LyXScreen
240 2002-06-07 Angus Leeming <leeming@lyx.org>
242 Fixes needed to compile with Compaq cxx 6.5.
244 all c-library variables have been moved into namespace std.
245 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
247 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
249 * insetinclude.C (uniqueID):
250 * insetgraphics.C (uniqueID): renamed from unique_id, since this
251 conflicted with some AIX headers.
253 2002-05-31 Juergen Vigna <jug@sad.it>
255 * insetert.C (get_new_label): add '...' for multi-paragraph ert
259 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
261 * insetexternal.C (clone): fix () bug when using new
262 (updateExternal): don't only look for difftime in global scope
264 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
266 * insettabular.C: add const
268 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
270 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
271 file name, in case there are weird characters like ',' in there.
274 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
276 * switch from SigC signals to boost::signals.
278 2002-05-28 André Pönitz <poenitz@gmx.net>
280 * insets/insetgraphicsParams.[Ch]:
281 put in inset related stuff from src/graphic
283 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
291 * insetcollapsable.C:
292 * insetcollapsable.h:
320 * inseturl.h: use mouse_state. Kill insetKeyPress
322 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
327 * insetcollapsable.C:
330 * insetlatexaccent.C:
332 * insetspecialchar.C:
334 * insettext.C: name change for font metrics
336 2002-05-24 Juergen Vigna <jug@sad.it>
338 * insetgraphics.h: include inset.h first (for LString.h)
340 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
342 * insettext.C: screen moved
344 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
362 * inseturl.C: LyXView moved into frontends/
364 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
369 * insetcollapsable.C:
373 * insetgraphicsParams.C:
374 * insetlatexaccent.C:
376 * insetspecialchar.C:
378 * insettext.C: move Painter to frontends/
380 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
382 * insettabular.h: use more specific smart_ptr header.
385 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
388 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
390 * insettext.C: clear selection on paste (bug 393)
392 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
394 * insettext.C (latex): Honor the moving_arg argument.
396 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
398 * insetfoot.C (latex): if a footnote is in a title layout, then it
399 is a \thanks. And then, its contents is a moving argument.
401 2002-05-14 Juergen Vigna <jug@sad.it>
403 * insetcollapsable.C (InsetCollapsable): forgot to initialize
406 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
408 * Insetcite.C (getNatbibLabel): don't disable natbib label support
409 when using options "Full author list" or "Upper case".
411 2002-05-14 Herbert Voss <voss@perce.de>
413 * insetgraphics.C (prepareFile): allow files with same name
415 (readFigInset): set the flags from old figinset in the right
417 (findTargetFormat): more comments
419 2002-05-14 Juergen Vigna <jug@sad.it>
421 * insettext.C (edit): tell checkAndActivateInset() that we don't
423 (checkAndActivateInset): if button < 0 we don't have a button press
424 on the inset and os we won't call edit on it if it's not a Highly
425 editable inset (then we have to enter it).
427 2002-05-13 Juergen Vigna <jug@sad.it>
429 * insetcollapsable.C (insetButtonRelease): returned wrong return
432 2002-05-09 Juergen Vigna <jug@sad.it>
434 * insetcollapsable.C (edit): first_after_edit should only be
435 set to true if we enter this inset and it was collapsed so we
436 open it up. This is needed to reclose it after a search/replace
437 or spellcheck function opened it and was negative.
439 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
441 * insetfloat.C (latex): Return correct value.
443 2002-05-04 Herbert Voss <voss@perce.de>
445 * InsetgraphicsParams.C (read): fix bug with WH
447 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
449 * insetfloat.C (latex): More sensible latex output
450 (fix the problem with endfloat).
452 2002-05-02 José Matos <jamatos@fep.up.pt>
454 * insetgraphics.C (validate): acess params as everyone else.
456 2002-05-03 Juergen Vigna <jug@sad.it>
458 * insettabular.C (fitInsetCursor): recalculate the cursor position
461 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
463 * InsetgraphicsParams.[Ch]: whitespace.
465 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
467 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
468 float type do not exist.
470 2002-04-28 Herbert Voss <voss@perce.de>
472 * insetgraphics.C (latex): fix bug with missing file-extension.
473 LaTeX still allows a missing "eps" or "ps".
475 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
477 * insetfloat.C (c-tor, wide): translate the name of the float.
479 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
481 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
482 when using natbib and make it work efficiently. Must emphasise that the
483 real work is Herbert's.
485 2002-04-23 Herbert Voss <voss@perce.de>
487 * insetgraphic.C (prepareFile): fix bug with overwriting and
488 deleting an existing *.eps-file in the doc-dir
490 2002-04-23 Juergen Vigna <jug@sad.it>
492 * insettabular.C (drawCellSelection): fix off by 1 error.
494 2002-04-22 Juergen Vigna <jug@sad.it>
496 * insettabular.C (setFont): rewoke full selection if it was asked,
497 after we changed all we had to change.
499 * insettext.C (insetUnlock): code was uninitialized in some situations.
501 2002-04-19 Herbert Voss <voss@perce.de>
503 * insetgraphic.C (prepareFile): return filename without
504 extension if we only export without compiling
506 2002-04-19 Juergen Vigna <jug@sad.it>
508 * insettext.C (draw): call a fullRebreak on the row where we had a
509 change and reset the cursor and selection-cursors.
511 * insettabular.C (insetUnlock):
512 (insetButtonPress): call an update before setting the_locking_inset = 0
513 as otherwise we don't repaint!
514 (update): reset the cursor position when we changed dimensions as
515 otherwise our cursor may be on the wrong spot.
517 2002-04-18 Juergen Vigna <jug@sad.it>
519 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
520 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
521 redraw otherwise we won't redraw.
523 * insettext.C (draw): fixed the setting of LyXText::first_y it was
524 not really right before, but I only discovered this with the last
525 changes to Page up/down.
527 2002-04-17 Juergen Vigna <jug@sad.it>
529 * insettext.C (checkAndActivateInset): simplified as we now have the
532 * insettext.h: changed behind variables to front variables to be
533 equal to the one in the edit call (as it is for that they are used).
535 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
537 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
538 not output anything at all!
540 2002-04-16 Juergen Vigna <jug@sad.it>
542 * insettabular.C (insetButtonPress):
543 (insetUnlock): call a redraw on unlocking the cell inset.
545 * insettext.C (insetButtonPress): same as below.
546 (lockInset): new function to set initial values when inset should
548 (insetButtonPress): use above function.
549 (insetUnlock): don't force a repaint only set the updateStatus. The
550 outside world should repaint if it thinks it should be done!
552 * insettabular.C (insetButtonPress): init values if not set as locked
553 as we are locked if someone presses on us and don't call the edit()
554 call of the InsetText to lock it do it as BufferView does it!
556 * inset.h (insetInInsetY): make func const and return an int.
559 * insetcollapsable.C: adapt the above changed function.
561 2002-04-15 Juergen Vigna <jug@sad.it>
563 * insettext.C (getCursorPos): return relative position as to be able
564 to give them directly to the edit() call.
565 (edit): we have to set also x_fix as it is not set inside the
566 setCursorFromCoordinates call!
567 (insetMotionNotify): ditto.
569 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
571 * insetbib.C (getKeys): strip leading '\t's from the line too.
572 With thanks to Henry Pfister <hpfister@ucsd.edu>.
574 2002-04-12 Juergen Vigna <jug@sad.it>
576 * insettext.h: added cix() helper function and use it where appropriate
578 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
580 * insetgraphics.C (prepareFile): fix bug when graphics is a
583 2002-04-12 Juergen Vigna <jug@sad.it>
585 * insettext.C (insertInset): remove unneeded code!
586 (updateLocal): fitCursor() fixes.
587 (collapseParagraphs): fix a possible problem when having a selection
588 and collapsing the paragraphs.
590 2002-04-08 Herbert Voss <voss@perce.de>
592 * insetgraphic.C (write): write the rotating angle as
593 a float as is. test only for != 0.0
595 2002-04-11 Juergen Vigna <jug@sad.it>
597 * insettext.C: new function ciy() and use it for setting inset_y.
599 * insetert.C (draw): fix the x return for collapsed version.
601 2002-04-07 Herbert Voss <voss@perce.de>
603 * insetgraphic.C (readFigInset): fix bug with subcaption and
606 2002-04-08 Herbert Voss <voss@lyx.org>
608 * insetgraphicsparam.C: forgot special option and delete old
611 2002-04-05 Juergen Vigna <jug@sad.it>
613 * insettext.C (localDispatch): make a CURSOR update if we inserted
616 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
618 * insetfloatlist.C (getScreenLabel):
619 (latex): use Floating::listName
620 (validate): new method
622 2002-04-03 José Matos <jamatos@fep.up.pt>
624 * insetlabel.C (docbook): the anchor is an empty element in docbook.
626 * insetfoot.[Ch] (docbook): added forgotten method.
628 2002-04-03 Juergen Vigna <jug@sad.it>
630 * insettext.C (insetButtonPress): fix insetButtonPress events the same
631 way as in Bufferview_pimpl.
633 2002-04-03 Allan Rae <rae@lyx.org>
635 * insetgraphics.C (latex): one % too many makes living on the bleeding
636 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
638 2002-03-28 Herbert Voss <voss@lyx.org>
640 * insetgraphic.C (latex): simplify the code for the latex
641 output when the file doesn't exist
643 2002-03-29 Juergen Vigna <jug@sad.it>
645 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
648 * insettabular.C (edit): call fitCursor().
650 * insettext.C (insetButtonPress): change behaviour of no_selection
651 to the one in the BufferView selection_possible and fix the spurious
652 selection bug with it.
653 (localDispatch): revoke selection on BREAK... functions.
655 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
657 * insetfloatlist.C (getScreenLabel): translate the GUI label.
659 2002-03-28 Juergen Vigna <jug@sad.it>
661 * insettabular.C (insetAllowed): return true as default value otherwise
662 we're not able to insert insets inside paragraphs of an not locked
665 2002-03-27 Herbert Voss <voss@lyx.org>
667 * insetgraphicsparam.C: change c%, p% to col%, page%
669 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
671 * insetspecialchar.C (isLineSeparator): disable the nice code to
672 allow linebreaks after hyphenation and menu separators.
674 2002-03-26 Herbert Voss <voss@lyx.org>
676 * insetgraphics.C (figinsetRead): set the right lyxview
678 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
680 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
681 $\backslash$ and pass a "string const &" to the function.
682 (prepareFile, latex): use Path rather than MakeAbsPath.
684 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
686 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
687 proper fix to the graphics cache.
688 (latex): "really" nice output if the file is not found ;-)
690 2002-03-26 Juergen Vigna <jug@sad.it>
692 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
693 (collapseParagraphs): fixed inserting of separator ' '
695 * insettabular.C (insertAsciiString): only check for buffer lenght
696 not if we have \t or \n inside the buffer as if we don't have we only
697 have 1 cell and that's it!
699 * insetert.C (close): don't collapse if inlined.
701 2002-03-25 Herbert Voss <voss@lyx.org>
703 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
704 graphics file does not exist.
706 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
708 * insetgraphics.C (prepareFile): ensure that the file has an absolute
709 path when preparing export.
711 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
712 no longer MakeRelPath.
714 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
716 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
717 Used to determine the absolute path to the graphics file in the
718 graphics cache and only in the graphics cache.
719 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
720 make graphics file name absolute if it is stored as a relative path.
722 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
723 make graphics file name absolute if it is stored as a relative path.
725 * insettext.C (edit): emit an updateParagraph signal on entering a text
726 inset. Needs to be emitted when leaving the inset also.
728 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
730 * all files: ws cleanup
732 * Makefile.am: remove ld -r stuff
734 2002-03-21 Juergen Vigna <jug@sad.it>
736 * insettext.C (appendParagraphs): new function added to append
737 the paragraphs to this insets paragraphs.
739 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
741 * Makefile.am: special rules if partial linking
743 2002-03-19 Juergen Vigna <jug@sad.it>
745 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
747 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
749 * insetgraphics.C: Clean up Baruch's comments a little.
750 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
752 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
755 * insettheorem.C: wrap warnings
757 * insetgraphics.C: improve messages, move cached_status_
758 setting to safer place
760 2002-03-18 Juergen Vigna <jug@sad.it>
762 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
764 (localDispatch): ditto
766 * insettext.C (edit): removed unneeded showCursor calls.
767 (localDispatch): ditto.
769 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
771 * insetgraphics.h: remove display() method.
773 2002-03-11 Juergen Vigna <jug@sad.it>
775 * insetgraphics.C (draw): hack to fix the redrawing bug.
776 (draw): seems this fixes #268 (force redraw of row if we changed).
778 * insettext.C (updateInsetInInset): fixed for updates in insets inside
779 this inset text (don't know why I missed this earlier).
781 2002-03-08 Juergen Vigna <jug@sad.it>
783 * insettabular.C (updateLocal): do a FULL update if we're not locked
784 and only a CELL update is asked.
786 * insettext.C (updateInsetInInset): update insets inside inset also
787 if it isn't inside the_locking_inset.
789 * insettabular.C (updateInsetInInset): ditto.
791 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
793 * insetexternal.C (doSubstitution): check whether we are using a
794 temp dir for defining $$FPath
796 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
799 * insettext.C: remove #include "WorkArea.h".
801 2002-03-06 Juergen Vigna <jug@sad.it>
803 * insettext.C (draw): fixed frame redrawing.
804 (clear): forgot to set the inset_owner of the paragraph.
806 * insetert.C (status): pay attention the bv can be 0 here!
807 (getMaxWidth): add the default leftMargin
809 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
811 * insetert.C (getMaxWidth): make w unsigned int.
813 2002-03-05 Juergen Vigna <jug@sad.it>
815 * insetert.C (status): change behaviour of Inlined.
816 (getMaxWidth): added for new inlined behaviour.
818 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
820 * insetnote.h (linuxdoc, docbook): add empty methods.
821 * insetinclude.C (validate): fix a case where buffer->niceFile was used
822 before being initialized.
824 2002-03-05 Juergen Vigna <jug@sad.it>
826 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
827 only that one in the inset. Should be enough.
828 (updateLocal): set the selection cursor always if we don't have a
829 selection to be sure it's set!
831 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
833 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
835 * insettext.C (clear): a gross hack to set layout on a newly
838 2002-03-04 Juergen Vigna <jug@sad.it>
840 * insettabular.C (localDispatch): inserted handling of
841 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
842 (insertAsciiString): new helper function.
844 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
846 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
849 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
851 * insettext.C (InsetText): initalize newly created par with
852 default layout. add bufferparams parameter
855 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
856 * insetcollapsable.[Ch] (InsetCollapsable): ditto
857 * insetert.[Ch] (InsetERT): ditto
858 * insetfloat.[Ch] (InsetFloat): ditto
859 * insetfoot.[Ch] (InsetFoot): ditto
860 * insetfootlike.[Ch] (InsetFootLike): ditto
861 * insetmarginal.[Ch] (InsetMarginal): ditto
862 * insetminipage.[Ch] (InsetMinipage): ditto
863 * insetnote.[Ch] (InsetNote): ditto
864 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
866 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
868 * insettext.C: layout as string
870 * insetinclude.C: layout as string
872 * insetert.C: layout as string
874 * insetbib.C: layout as string
876 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
879 * insettabular.C: remove #include "lyx_gui_misc.h".
881 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
886 * inset.h: remove figinset, yahoo !
888 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
890 * insetgraphics.C (c-tors): initialise parent classes explicitly in
891 copy c-tor and initialise member variables in the correct order.
893 2002-02-28 Juergen Vigna <jug@sad.it>
895 * insettabular.C (localDispatch): clear selection on PgUp/Down.
897 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
899 * inset.h: ... and add a better one here.
901 * insetcommand.C (insetButtonRelease): remove that one which was a
904 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
906 * insetcommand.C (insetButtonRelease): ... and move it here.
908 * inseturl.h: remove insetButtonRelease from there...
910 2002-02-26 Juergen Vigna <jug@sad.it>
912 * inseturl.h: Added a insetButtonRelease call returning true as
915 * insetlabel.C (edit): Fixed wrong update handling after change I
916 leave in the wrong code for the one who wrote it to remove and have
917 a look what he did wrong.
919 * insettabular.C (localDispatch): force a SELECTION update if we
920 had a selection and we passed the event down to the inset (fix #213)
921 (localDispatch): handle font changing stuff when we have a cell
922 selection so that the selection is not rewoked. I don't really like
923 this fix, but it's the only way I see to do it right now.
925 2002-02-22 Juergen Vigna <jug@sad.it>
927 * insettext.C (insetUnlock): set the cursor to the second paragraph
928 if available and if the first one is empty (fix #191).
930 2002-02-20 Juergen Vigna <jug@sad.it>
932 * insettext.C (getDrawFont): implemented this function to call the
933 one of the owner if present as the owner normally knows what to do
936 * insetert.C: implement getDrawFont() function and comment out all
937 the crap for setting a special latex font inside this inset.
938 (InsetERT): added a Lanugage parameter to this constructor.
940 * inset.h: added function getDrawFont(LyXFont & font) to be able to
941 change the font for being drawn on screen (used only in InsetERT for
944 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
945 and also above (was missing).
946 (updateLocal): don't remove the cell selection if we have one this
947 should be done where we really want to remove it.
949 2002-02-20 José Matos <jamatos@fep.up.pt>
951 * insetinclude.h: include_label made string const.
953 * insetinclude.C (InsetInclude): moved include_label initialization.
956 (validate): fix support for temporary directory, for docbook and
959 * insetgraphics.h : new private member, graphic_label, that holds
960 the entity name that defines the graphics location (SGML).
962 * insetgraphics.C (unique_id): new function to give a unique label
965 (validate): the file locatation is given by an entity reference.
967 2002-02-18 Herbert Voss <voss@lyx.org>
969 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
971 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
973 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
974 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
976 2002-02-18 José Matos <jamatos@fep.up.pt>
978 * insetinclude.C (validate): some code only applies to latex buffers,
979 it was made conditional.
981 2002-02-12 Herbert Voss <voss@lyx.org>
983 * insetgraphics.C: (prepareFile) do not check at this time
984 if the file is present.
986 2002-02-12 Herbert Voss <voss@lyx.org>
988 * insetgraphics.C: latex(), return the correct newlines
990 2002-02-13 José Matos <jamatos@fep.up.pt>
992 * inseturl.C (docbook): escape & in url.
994 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
996 * insetspecialchar.C (isLineSeparator): line breaking is allowed
997 after HYPHENATION and MENU_SEPARATOR
999 * inset.h (isLineSeparator): new method, returns false by default.
1001 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1003 * insetert.C (status): do not update the text inset, but the ERT
1006 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
1008 * insetnote.C: use notebg for background
1010 2002-02-08 Herbert Voss <voss@lyx.org>
1013 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
1014 prevent LyX from unzipping when this should be handled
1015 by latex vis the graphic.cfg.
1018 2002-02-08 Herbert Voss <voss@lyx.org>
1020 * insetgraphic.C: prepareFile(): fix bug when file doesn't
1021 exists, than return filename with extension
1023 2002-02-06 Herbert Voss <voss@lyx.org>
1025 * insetgraphic.C: prepareFile(): don't convert the file, when
1026 it's not viewed in LyX. Saves a lot of time when opening a
1029 2002-02-05 Herbert Voss <voss@lyx.org>
1032 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
1033 and adding a rotate bool similiar to subcaption
1035 2002-02-04 Herbert Voss <voss@lyx.org>
1038 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
1039 similiar view to the LaTeX one. Get zipped files work.
1041 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
1043 * insetgraphicsParams.C (init): set display to DEFAULT.
1044 No longer #include "lyxrc.h".
1046 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
1048 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
1049 for now (so that the code compiles).
1051 2002-02-02 Herbert Voss <voss@lyx.org>
1053 * insetgraphic.C: delete inVariant() and some minor changes
1054 * insetgraphicsParams.[C]:
1056 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
1058 * insetgraphics.C (updateInset): if params.display == DEFAULT,
1059 interogate lyxrc.display_graphics before diaplaying the graphic.
1061 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
1062 InsetGraphicsParams::DisplayType.
1064 2002-01-31 Herbert Voss <voss@lyx.org>
1066 * insetgraphic.C: (readfigInset) set display to pref-default
1068 2002-01-30 Herbert Voss <voss@lyx.org>
1070 * insetgraphic.C: get the filetyp from it's contents
1071 * insetgraphicparams.C: add token scale and lyxrc.display when
1072 creating a new inset
1074 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
1076 * figinset.C: added using std::ios directive.
1078 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1080 * figinset.C (runqueue): open translation file in binary mode (for
1083 2002-01-27 Herbert Voss <voss@lyx.org>
1085 * insetgraphic.[Ch]: mostly newritten to support graphicx with
1086 all options and to be sure that the old figinsets are correct
1088 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
1089 structure and to support all lengths as LyXLength. The Parameter
1090 structure changed again, but reading of "old" 1.2 graphic insets
1093 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
1095 * insetert.h (forceDefaultParagraphs): Added
1097 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1099 * insettabular.C (getMaxWidth):
1100 (forceDefaultParagraphs): use Tabular::GetCellFromInset
1102 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1104 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
1105 of LyXLength::inPixels
1107 * inset.C (latexTextWidth):
1108 * insetminipage.C (latexTextWidth): new method, which implements
1109 the equivalent of the LaTeX macro \textwidth
1111 * insetminipage.C (getMaxWidth): use latexTextWidth
1113 2002-01-18 Juergen Vigna <jug@sad.it>
1115 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
1117 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1119 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
1121 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
1124 2002-01-17 Juergen Vigna <jug@sad.it>
1126 * insettabular.C (lockInsetInInset): same change as in insettext.
1128 * insettext.C (draw): width() function was called without setting
1129 the right top_x which could lead to wrong insetWidth setting!
1130 (lockInsetInInset): call edit instead of calling lockInset if we
1131 have to lock an inset inside!
1132 (edit): we have to also tell the inset that we have to redraw the
1133 frame on an edit call if this inset draws a frame only if locked.
1135 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1137 * insetbib.C (getFiles): uncomment Path variable.
1139 2002-01-16 Juergen Vigna <jug@sad.it>
1141 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
1144 2002-01-16 Allan Rae <rae@lyx.org>
1146 * insetinclude.C (docbook): someone forgot a ";"
1148 2002-01-16 José Matos <jamatos@fep.up.pt>
1150 * figinset.C (docbook): removed a old place holder "@".
1151 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
1152 * insetinclude.C (linuxdoc): if include is verbatim, then export the
1153 ascii text version, clearly guarded inside a CDATA section.
1154 (docbook): in docbook 4, inlinegraphics is empty.
1155 * insettabular.C (linuxdoc): export the ascii version of the table
1156 inside a CDATA section.
1158 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1160 * insetparent.C (InsetParent):
1161 * insetgraphicsParams.C (Write):
1163 * insetgraphics.C (prepareFile):
1166 * insetexternal.C (executeCommand):
1167 (doSubstitution): use Buffer::filePath
1169 * insetbib.C (getFiles): add a #warning for Angus
1171 * insetgraphics.C: Add a remark about how filenames should be
1172 considered to be relative to buffer (but absolute is still allowed)
1173 (draw): do not try to get status if lyxrc.use_gui is false
1175 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1178 * insetcollapsable.[Ch]:
1179 * insettabular.[Ch] (searchForward, searchBackward): change the
1180 bool const & params to bool.
1182 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
1183 to avoid the name clash with InsetCollapsable's methods of the same
1184 names but different functionality.
1186 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1188 * insettext.C (ascii): use lyx::count rather than countChar.
1190 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
1192 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
1194 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1196 * insetgraphics.C (updateInset): do not try to render image if
1197 lyxrc.use_gui is false (bug #104)
1199 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
1200 if file does not exist
1202 * figinset.C (browseFile): add shortcuts to directory buttons
1204 * insettext.C (updateLocal): update menubar and toolbar here too.
1206 2002-01-13 Allan Rae <rae@lyx.org>
1208 * insettabular.C (InsetTabular): Both constructors now initialise
1209 all class variables.
1211 2002-01-11 Juergen Vigna <jug@sad.it>
1213 * insettext.C (insetButtonPress): set the_locking_inset to 0.
1215 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1217 * insettabular.C (getStatus): add forgotten brace around multiline
1220 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1222 * insetfloat.C (validate): require "float" instead of "floats".
1224 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
1226 * insettabular.C (getStatus): use FuncStatus
1228 2002-01-08 Juergen Vigna <jug@sad.it>
1230 * insettabular.C (insetButtonRelease): now this should work too
1233 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
1234 if the width is a percentage.
1236 * inset.h: added isChar() function and implemented this for
1237 insetspecialchar insetquotes and insetlatexaccent.
1238 added forceDefaultParagraphs() and implemented it for insettabular.
1240 2002-01-07 Juergen Vigna <jug@sad.it>
1242 * insettext.C (getLyXText): Fixed this function. An insert into the
1243 map is only done if we REALLY have a new BufferView.
1245 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
1247 * insettext.C: fix bug illustrated by attachment #37 of bug #59
1249 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1251 * insetinclude.C: fix use of FileInfo
1253 2002-01-07 Juergen Vigna <jug@sad.it>
1255 * insettabular.C (draw): fixed clearing of cell around inset.
1257 2002-01-05 Juergen Vigna <jug@sad.it>
1259 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
1260 variables are updated.
1262 * insettabular.C (resetPos): set always the inset_y as it may be
1263 needed in another function.
1264 (searchBackward): don't draw while searching.
1266 2002-01-04 Juergen Vigna <jug@sad.it>
1268 * insettext.C (lockInsetInInset): forgot to set a cursor.
1270 2002-01-02 Juergen Vigna <jug@sad.it>
1272 * insettext.C (insertInset): make the correct undo informations on
1273 inserting new insets.
1275 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
1277 * insettabular.C: correct single-cell select vertically
1279 2001-12-27 Juergen Vigna <jug@sad.it>
1281 * insettabular.C (ascii): export as tab-separated-values if the
1282 function was not called from export (f.ex.: clipboard).
1284 * insetcollapsable.h: added default support for ascii, linuxdoc and
1285 docbook export (the insettext is exported by default!)
1287 * insettabular.C (copySelection): suff the clipboard with the tabular
1288 data in a tab separated format, seems more naturals then with all the
1291 2001-12-24 Juergen Vigna <jug@sad.it>
1293 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
1294 to check for REAL mouseMotion.
1296 2001-12-20 Juergen Vigna <jug@sad.it>
1298 * inset.C (cursor): return the owners cursor if available instead of
1299 always only the bv->text->cursor.
1301 * insettabular.C (checkLongtableSpecial): works now.
1303 2001-12-19 Juergen Vigna <jug@sad.it>
1305 * insettabular.C (tabularFeatures): fix the row setting of ltt as
1306 this has to be always row + 1 as 0 means not selected!
1307 (checkLongtableSpecial): added
1308 (tabularFeatures): better longtable options support
1310 * insettext.C (resizeLyXText): reinit the text always also on a
1313 2001-12-18 Juergen Vigna <jug@sad.it>
1315 * insettext.C (updateInsetInInset): look if we have to autocollapse
1316 paragraps and return if the update is requested for ourself.
1318 * insetert.C (status): update the insettext not myself as that is what
1321 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
1322 function only return if the update was requested with myself.
1324 * insettext.C (insetButtonPress): fixed stupid bug.
1325 (various functions): pay attention that lt is cleared BEFORE calling
1326 updateLocal() and try to use it in the right manner (don't use it
1327 if it's not really neccessary!)
1328 (collapseParagraphs): insert a blank between collapsing paragraphs
1329 if neccessary (not already there!).
1331 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1333 * insettabular.C: move includes around a bit, add a couple of
1336 * insettext.[Ch]: move includes around a bit, other ws changes and
1339 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1341 * insettext.C (insetButtonRelease): fix compile problem
1343 2001-12-17 Juergen Vigna <jug@sad.it>
1345 * insettext.C (insetButtonPress): set the selection cursor!
1346 (insetButtonPress): clear the selection (and set with that the
1347 selection.cursor) if we only hit an inset!
1349 * insetert.C (read): removed piece of compatibility code only needed
1352 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
1355 * insetcollapsable.C (insetButtonRelease): changed so that it can
1356 open eventual existing popup dialogs on mousebutton==3.
1358 * insetfloat.C (insetButtonRelease): removed not needed anymore!
1360 * insetminipage.C (insetButtonRelease): removed not needed anymore!
1362 * inset.C (insetButtonRelease): return a bool for telling the outer
1363 world that we opened a dialog.
1365 2001-12-07 Juergen Vigna <jug@sad.it>
1367 * insettext.C (paragraph): remove the deleteing of paragraphs as
1368 it was a WRONG move!
1370 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1373 * insettabular.C: use new setSelection(). Allow
1374 selection of single cells.
1376 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1378 * insetquotes.C (latex): fix to use the local language setting at
1379 the point where the inset is inserted (different macros for
1380 different french packages)
1382 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1384 * inset.h: add par_owner_ member variable and parOwner
1387 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1389 * insettabular.C (everywhere): adapt because widths are now real
1390 widths and not strings
1392 * insettext.C (draw): re-introduce the calls to width(), ascent()
1393 and descent() to initialize the caching variables.
1395 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1397 * insettext.C (draw):
1398 (drawFrame): use insetWidth instead of last_width
1400 * insettext.h: remove variable last_width (insetWidth is exactly
1401 the same) and last_height (computed but never used!)
1403 2001-12-10 Allan Rae <rae@lyx.org>
1405 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
1407 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1409 * insettext.C (insetAllowed): add comment
1411 2001-12-05 Juergen Vigna <jug@sad.it>
1413 * insettext.C (insetAllowed): fixed for the case that we directly
1414 ask the insettext from its LyXText.
1415 (paragraph): fixed the crash when assigning the par->next() from
1416 the EmptyParagraphMechanism!
1418 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1422 * insettext.C: change "while(" to "while ("
1424 2001-12-04 Juergen Vigna <jug@sad.it>
1426 * insetert.C (edit): handle Inlined status.
1428 * insettext.C (insertInset): trying John's fix for the trailing cursor
1430 * insetert.C (insetButtonPress): added to handle inlined status
1431 (insetMotionNotify): ditto.
1433 * insettext.C (clearInset): changed Painter & in BufferView * param,
1434 to be able to call ascent,descent methods.
1436 2001-12-03 Juergen Vigna <jug@sad.it>
1438 * insettext.C (updateInsetInInset): use lt variable to forbid
1439 changes of LyXText in an update call.
1440 (updateInsetInInset): fixed updating of non locked insets!
1442 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1444 * insettabular.C: capture some more functions to prevent
1445 selection drawing problems. Bug #451274
1447 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1450 * insetgraphicsParams.C: fix inverted sense of float_equal
1452 2001-11-30 Juergen Vigna <jug@sad.it>
1454 * insettabular.C (InsetTabular): use the save_id flag to create also
1455 the tabular with the same id's.
1457 * insettext.C (setParagraphData): added a same_id function for undo
1458 to set the same paragraph id's as of the paragraph we are setting.
1460 2001-11-30 José Matos <jamatos@fep.up.pt>
1463 * insettoc.[Ch]: DocBook -> docbook.
1465 2001-11-29 André Pönitz <poenitz@gmx.net>
1468 * insettext.C: further reduction of header dependencies by using
1469 lyx::layout_type and lyx::textclass_type from support/types.h
1471 2001-11-29 Juergen Vigna <jug@sad.it>
1473 * insettext.C: inserted a reinitLyXText function everywhere I delete
1474 the paragraphs! This should fixe the crashes we had.
1475 Also use the new function firstRow() instead of getRowNearY(dummy_y)
1476 (paragraph): set the InsetOwner() of the new paragraphs!
1478 2001-11-28 André Pönitz <poenitz@gmx.net>
1480 * insetnote.C: add pos initialization that I removed without
1483 2001-11-28 Juergen Vigna <jug@sad.it>
1485 * insettabular.C (resetPos): hack to not crash with infinite paints.
1487 * insettabular.h: insert missing function allowSpellcheck()!
1489 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
1491 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1494 * insetfloatlist.C: derive from InsetCommand so gui can use it
1497 2001-11-26 André Pönitz <poenitz@gmx.net>
1501 * insetnote.C: reduce header dependencies, introduce type for
1504 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1506 * various: update for Alert.h
1508 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
1510 * inset.h: fix comment
1512 * insettext.C: use par->isInset()
1514 2001-11-22 Allan Rae <rae@lyx.org>
1516 * insetcollapsable.h:
1517 * inset.h: Changes to checkInsertChar() behaviour.
1518 Now return value indicates whether chars can be inserted.
1520 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
1522 * various: updated to use the new LaTeXFeatures
1524 2001-11-14 José Matos <jamatos@fep.up.pt>
1526 * insetspecialchar.C (linuxdoc):
1527 (docbook): don't give a name to a unused variable.
1529 * insettext.C (docbook): removed unused variable.
1531 2001-11-13 Herbert Voss <voss@perce.de>
1533 * insetgraphic.C: fix scale bug
1535 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1537 * inset.h (isSpace):
1538 (isLetter): new virtual methods.
1540 * insetspecialchar.C (isSpace):
1541 (isLetter): implement here.
1543 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1545 * inset.h: new inline helpers
1547 * insettext.C: use new helpers
1549 2001-11-07 José Matos <jamatos@fep.up.pt>
1551 * insettext.C (docbook): full support for paragraphs inside insettext.
1553 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
1555 * insetindex.C: added header file for std::ostream.
1557 2001-11-03 José Matos <jamatos@fep.up.pt>
1559 * insetindex.C: added using std::ostream that I forgot yesterday.
1561 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
1563 * insetindex.h (docbook):
1564 * insetindex.C (docbook): added support for docbook export.
1566 2001-11-02 José Matos <jamatos@fep.up.pt>
1568 * insetcaption.C(docbook): added support for docbook export.
1570 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
1572 * insetexternal.C (updateExternal): Do not run update command if
1573 result file exists and is up to date.
1575 * ExternalTemplate.C (readFormat): Support the updateresult token.
1577 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
1579 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
1580 external_templates) to use the buffer->fileName() but only if
1581 previewing. Generating a TeX file should make FPath return
1584 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
1587 * insetert.C: fix some problems
1589 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
1591 * insetexternal.C (doSubstitution): Added $$FPath token
1592 to list of usable substitutions in external inset templates.
1594 2001-10-24 Juergen Vigna <jug@sad.it>
1596 * insettabular.C: use new ltType struct for setting longtable
1597 header and footers also new UNSET enums.
1599 2001-10-24 José Matos <jamatos@fep.up.pt>
1601 * insettabular.C (linuxdoc): Now exports the ascii's table version.
1602 (docbook): If the table is not inside a float then wrap it inside
1603 <informaltable>...</informaltable>.
1605 2001-10-23 José Matos <jamatos@fep.up.pt>
1607 * insetref.C (docbook): removed / terminator to conform SGML.
1609 * insetspecialchar.C (linuxdoc):
1610 (docbook): Added support for special chars, more than ascii export.
1612 2001-10-22 Juergen Vigna <jug@sad.it>
1614 * insettext.C (checkInsertChar): added for REALLY checking the
1615 font of the inserted char in the right inset!
1617 2001-10-19 Juergen Vigna <jug@sad.it>
1619 * inset.h: added method allowSpellcheck() so that insets who do
1620 not have anything to spellcheck can tell and so they are over-jumped.
1621 Implemented for InsetText and co.
1623 2001-10-18 Juergen Vigna <jug@sad.it>
1625 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
1627 2001-10-15 José Matos <jamatos@fep.up.pt>
1629 * insetert.C: allow export for docbook and linuxdoc
1631 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1633 * insetquotes.C (dispString): handles latin3 and latin4 quotes
1635 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1637 * insetquotes.C (dispString): fix handling of latin9 quotes
1639 2001-10-03 Juergen Vigna <jug@sad.it>
1643 * insetcollapsable.C: change updateInset calls to not tell BV that
1644 we have changed status.
1646 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1648 * insettabular.C (deletable): make const
1650 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
1652 * insetert.C (latex): Fix the returned value
1654 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1656 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
1657 Returns string(), so nothing in an ERT inset is spellchecked.
1659 * insetgraphics.C (draw): print the filename if not displaying the
1661 (width): make sure that the width and draw methods are consistent.
1662 (updateInset): don't even load the image into cache if not displaying
1665 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1667 * various files (selectNextWord): renamed as
1668 selectNextWordToSpellcheck.
1670 * insetgraphics.C (draw): remove the previous change. Right place
1671 is in imageLoaderXPM.C.
1672 (draw): don't display the image if params.display == NONE.
1674 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
1676 * figinset.C (runqueue):
1677 * insetgraphics.C (draw): set background colour of inset from
1678 background to the user-configurable graphicsbg.
1680 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1682 * insetquotes.C (InsetQuotes): when trying to decide the side of
1683 the quote, choose `left' only after a space or '('
1685 2001-09-04 José Matos <jamatos@fep.up.pt>
1690 * insetcollapsable.h
1708 * insetlatexaccent.C
1709 * insetlatexaccent.h
1714 * insetspecialchar.C
1715 * insetspecialchar.h
1719 * insettext.C (docbook): rename docBook method to docbook.
1721 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
1723 * inset.h (getFirstParagraph): New virtual method.
1725 2001-08-20 Herbert Voss <voss@perce.de>
1726 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
1727 in the the bibtex-database-gui for inserting a line
1730 If no style is given than there is no tex-output.
1732 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
1734 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
1738 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
1740 * insetert.C (latex): Fix output for multiple paragraphs.
1741 (write): New code for writing paragraph data.
1742 (read): Set font after reading the inset.
1743 (localDispatch): Call set_latex_font() for more cases.
1745 * insetnote.h: Add empty validate method.
1748 * insetnote.C (InsetNote): Set language to the language of the
1751 2001-08-16 Juergen Vigna <jug@sad.it>
1753 * insettext.C: implemented the new FINISHED states.
1755 * insettabular.C: ditto
1757 * inset.h: added more FINISHED states for cursor right,up,down
1759 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1761 * insetfloatlist.C: use "FloatName List"
1763 2001-08-14 Juergen Vigna <jug@sad.it>
1765 * insetert.C (edit): forgot to set status_ in edit calls!
1767 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
1769 * insettext.C: Compilation fix
1771 2001-08-13 Juergen Vigna <jug@sad.it>
1773 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
1775 * insetcollapsable.C (edit): don't recollapse an already open inset.
1777 * insettext.C: fixed problem when reinitializing LyXText by not doing
1778 it while lt is in use and post this to the next possible time in
1780 (searchForward): fixed not unlocking of inset if nothing found.
1781 (edit): set cursor behind right (was set -1 pos).
1783 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
1785 * insettabular.C (tabularFeatures): fixed fix where deleting the
1786 last row didn't get the right actcell!
1788 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
1790 * insettext.C (localDispatch): Change language only when the inset
1793 2001-08-10 Juergen Vigna <jug@sad.it>
1795 * insettabular.C (selectNextWordInt): use the front using edit call.
1797 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
1798 the parameter overwrite class variable inset.
1800 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
1802 * insettext.C (saveLyXTextState): check for invalid cursor-par.
1803 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
1805 * insettabular.C (calculate_dimensions_of_cells): let's try to call
1806 update only for fixed with cells.
1807 (resetPos): try to fix the lockup on spellchecking or s&r.
1809 * insettext.C (update): comment this out as it seems first wrong
1810 and second not needed anymore!
1811 (some functions): call reinitLyXText() only in update() in all other
1812 positions set only need_update = INIT.
1814 2001-08-08 Juergen Vigna <jug@sad.it>
1816 * insettabular.C (setPos): fixed wrong actrow < rows() check.
1818 * insettext.C (insetUnlock): remove double-space on inset unlock.
1820 * insetcollapsable.C (draw): fix returned x when label > inset-width.
1822 * insettabular.C (update): fixed cursor positon after an insert.
1823 (insetAllowed): do not allow to insert insets when not inside the
1825 (draw): clear below an inset too as it could have changed height.
1827 * inset.C (getMaxWidth): fixed width for inset in inset.
1829 * insettext.C (update): small fix.
1831 * insettabular.C (tabularFeatures): added selection support to
1832 DELETE_ROW/DELETE_COLUMN.
1834 2001-08-07 Juergen Vigna <jug@sad.it>
1836 * inset.C (getMaxWidth): recoded and all it's implementations!
1838 * insettext.C (init,setParagraph+constructors): cleanups
1839 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
1840 are new and I want do a save/restore of the cursor position which is
1841 not possible anymore.
1843 * insetcollapsable.C (searchBackward): recollapse inset if not found.
1844 (searchBackward): ditto
1845 (selectNextWord): ditto
1847 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1849 * insetlatexaccent.C (checkContents): Add some debug messages
1851 2001-08-07 Juergen Vigna <jug@sad.it>
1853 * insetert.C (read): don't use InsetCollapsable::read as we don't
1854 write the collapsed status anymore only the status.
1857 2001-08-06 Juergen Vigna <jug@sad.it>
1859 * insetert.C (set_latex_font): use LyXText's setFont directly.
1861 * insettext.C (drawFrame): fixed one time more the right position
1862 and size of the frame!
1864 * insetert.C (~InsetERT): hide the dialog.
1865 (showInsetDialog): added implementation
1868 (status): new function for the status of the ERT inset (3-state).
1869 (write): output also the status of the inset for readback!
1870 (read): readback the status if available otherwise use collapsed_.
1872 * insettext.C (edit): small fix of setting the position, which could
1875 * insetert.C (width): implement this function for inlined viewing.
1876 Added minimum width of 10 pixels!
1878 * insetminipage.C (InsetMinipage): just change the colors a bit so
1879 that border/background is a bit more visible. We will remove this
1882 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
1883 function for getting the important widths for drawing in various
1884 functions and in LyXText.
1885 (draw): fixed up a bit (frame drawing/clearing)
1887 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1889 * inset.C (convertFont): delete method. not used.
1891 2001-08-03 Juergen Vigna <jug@sad.it>
1893 * insettext.C (setFont): don't call for a draw update if we're just
1894 changing the cursor font!
1896 2001-08-02 Juergen Vigna <jug@sad.it>
1898 * insettext.C (draw): clear the background with the right color if
1899 needed. Update myself if x&max-width changed and return without doing
1900 anything. Let the update code handle the right stuff.
1902 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
1903 inside another inset.
1905 2001-08-01 Juergen Vigna <jug@sad.it>
1907 * insetcollapsable.C (update): added an in_update bool so we avoid
1910 * insettabular.C (update): added an in_update bool so we avoid
1913 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
1915 (update): added an in_update bool so we avoid reentering.
1917 * insettabular.C (localDispatch): clear col/row selection when doing
1918 something else inside an inset.
1920 * insettext.C (getLyXText): fixed bug when requesting a recursive
1923 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1925 * insetcite.C (latex): Paranoia check. Make sure that there is no
1926 whitespace between the citation keys.
1928 2001-07-31 Juergen Vigna <jug@sad.it>
1930 * inset.h (nodraw): make the set function also const so that this
1931 can be called from inside other const functions.
1933 * insetcollapsable.h: removed inline variable and moved it over
1934 to the only user InsetERT.
1936 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
1937 inset opening immediately therein lying insets dialogs!
1939 * insetert.C (localDispatch): set the font also if we don't have any
1940 chars in this paragraph, otherwise if we delete all of em and start
1941 writing we have the wrong font.
1943 (draw): implemented for inline support
1944 (insetButtonRelease): ditto.
1946 2001-07-30 Juergen Vigna <jug@sad.it>
1948 * insettext.C (reinitLyXText): new function to reinit the insets
1949 text after lot's of paragraph changes. Use this instead of the
1950 cache.clear() which is VERY dangerous.
1952 * insetfloat.C (insetButtonRelease): we should only show the dialog
1953 if we press on the label otherwise we have problems to open mouse
1954 button 3 dialogs inside this float (f.ex. of a tabular!)
1956 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1958 * insetert.C: change back to "ERT"
1960 * insetfloat.C: handliign of RMB on label added.
1962 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1964 * insetgraphicsParams.C: #include LOstream.h here.
1966 * insetfoot.h: remove InsetFoot:: qualifier.
1968 2001-07-29 Baruch Even <baruch@lyx.org>
1970 * ChangeLog: Hiding time travel evidence.
1972 * insetgraphicsParams.h:
1973 * insetgraphicsParams.C:
1974 * insetgraphics.C: Added horizontal scale option, it actually scales both
1975 directions since it keeps image proportions.
1977 * insetgraphics.C: Fixed EPS detection to be non-hacky.
1979 2001-07-29 Baruch Even <baruch@lyx.org>
1981 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
1982 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
1984 HACKY! Will need to add an EPS detection routine like old InsetFig does!
1986 2001-07-29 Baruch Even <baruch@lyx.org>
1988 * insetgraphics.C: Added EPSI to be an alias of EPS.
1990 2001-07-29 Baruch Even <baruch@lyx.org>
1992 * insetgraphics.C: Change GRAPHICS to Graphics.
1993 Changed image conversion rules (documented at the beginning of file).
1995 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
1997 * insetert.C (get_new_label): int -> Paragraph::size_type to get
2000 * insetgraphics.C: added a using std::endl directive.
2002 * insetcommand.h (getScreenLabel): removed pure virtual function,
2003 as it duplicates that in InsetButton.
2005 * insetbib.[Ch] (getScreenLabel):
2006 * insetbutton.[Ch] (getScreenLabel):
2007 * insetcite.[Ch] (getScreenLabel):
2008 * insetert.[Ch] (getScreenLabel):
2009 * insetexternal.[Ch] (getScreenLabel):
2010 * insetfloatlist.[Ch] (getScreenLabel):
2011 * insetinclude.[Ch] (getScreenLabel):
2012 * insetindex.[Ch] (getScreenLabel):
2013 * insetlabel.h (getScreenLabel):
2014 * insetparent.[Ch] (getScreenLabel):
2015 * insetref.[Ch] (getScreenLabel):
2016 * insettoc.[Ch] (getScreenLabel):
2017 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
2019 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
2021 (validate): remove check on "cite" when using natbib.
2023 2001-07-26 Baruch Even <baruch@lyx.org>
2025 * insetgraphics.C (draw): changed casting to be in one place rather than
2026 all over the function.
2029 * insetgraphics.C (read): Added compatibility reads of InsetFig.
2031 * insetgraphicsParams.h:
2032 * insetgraphicsParams.C:
2033 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
2035 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
2037 * insetfoot.C (validate): Added method to ensure that the
2038 right bit of LaTeX is emitted.
2040 * insetfoot.h: Added validate method to set the correct
2041 LaTeXFeatures bit for the special footnote code.
2043 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2045 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
2048 2001-07-27 Juergen Vigna <jug@sad.it>
2050 * inset.h: remove not used font variable in parameter.
2051 removed checkInsertChar in UpdatableInset as it was equal to
2052 the one in Inset and so not needed.
2054 * insetert.C (checkInsertChar): implementation of function
2057 * inset.h: added new function checkInsertChar.
2059 * various files: added c-tor and clone() function.
2061 * insetcollapsable.h: removed clone function here as this should
2062 be only realized in REAL insets and added it to all collapsable
2063 insets! (with the copy-constructor).
2065 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2067 * insetminipage.C (read): handle missing parameters more gracefully
2069 * insetcollapsable.C (read): handel missing collapsed more gracefully
2071 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2073 * insetfloat.C (read): handle missing parameters.
2075 * insettext.C (read): handle old latex end_inset
2077 * insetert.C (setButtonLabel): new method
2078 (init): use it, to set the dynamic label correctly
2081 * Makefile.am (EXTRA_DIST): add files that is not part or the
2084 * insetcollapsable.h: remove autocollapsable (no users), remove
2085 draw_label, change_label_with_text and companion code. Remove args
2087 * insetert.[Ch]: move here instead (only user)
2089 * inset.h: rename private variable name to name_, make
2090 selectNextWord return a const string. make getInsetName return a
2091 string const &. Remove bool from open, add close.
2093 * Makefile.am: don't compile insetlist, insetsection
2096 2001-07-24 Juergen Vigna <jug@sad.it>
2098 * insetert.C (InsetERT): put init after the paragraph initialization,
2099 as otherwise we don't set the draw_label right.
2101 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
2102 insets with the mouse without having strange selections.
2103 (edit): if the inset was collapsed and we open it here then put the
2104 cursor always at the beginning of the inset.
2105 (get_new_label): 15 instead of 10 max chars in the label.
2107 * insetert.C (localDispatch): added and handle various stuff we
2108 need to handle here (font setting on paragraph break, not permitted
2109 layout setting, etc.).
2111 * inset.h: added default copy-consturctor and implemented this in
2112 various insets with the change to use this in the clone function!
2114 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2116 * insetminipage.C (InsetMinipage): set background color to red :)
2118 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2120 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
2121 draw frame mode is LOCKED.
2123 * insetcollapsable.C (edit):
2124 (insetButtonRelease): set update status to full when
2127 * insettext.C (clearInset):
2128 * insettabular.C (draw):
2129 * insetlatexaccent.C (draw): honor background color.
2131 * inset.h: new member background_color_, initialized to
2134 * inset.C (backgroundColor): new method.
2135 (setBackgroundColor): new method.
2137 * insetert.C (init): new method, called by the ctors.
2138 (InsetERT): when inserting contents, make sure the font is
2141 * insetnote.C (InsetNote): when inserting content, remove trailing
2143 (init): set background color to LColor::note
2145 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2147 * insetcollapsable.C: adjust
2149 * insetbutton.C: adjust
2151 2001-07-23 Juergen Vigna <jug@sad.it>
2153 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
2154 parameter on the _collapsed function (was not needed) and call
2155 always width_collapsed().
2157 * insetert.C (InsetERT): use setLabel with "true" flag.
2159 * insetcollapsable.C: modified various functions to set the draw_label
2160 string right in any condition.
2161 (setLabel): added a bool parameter to set change_label_with_text.
2163 * insetcollapsable.h: added draw_label string which is set to the
2164 actual drawn label-string, while label is the original static label
2165 of this collapsable inset. Added bool change_label_with_text to set
2166 if we want that the label changes to the start of the InsetText's
2167 text when collabpsed. You can set this flag with the setLabel funciton.
2168 Added bool inlined for inlined collapsable insets, but not handled
2171 * insetcollapsable.C (get_new_label): added should get a new label
2172 from the InsetText beginning (for now 10 chars).
2174 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2176 * insetquotes.C (latex): fix the handling of french double quotes
2177 when not using the french pachage.
2179 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2181 * insetcollapsable.h: make WidthCollapsed mutable.
2183 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
2184 InsetPrintIndex returns INDEX_PRINT_CODE.
2186 * inset.h: add INDEX_PRINT_CODE
2188 * insetcollapsable.C (draw): init widthCollapsed if necessary
2191 * insetquotes.C (width): use the local language, not the document
2194 (dispString): add additional spacing for all french languages,
2196 (validate): make it work when there is no default language
2198 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
2200 * insetnote.C (init): new method, called by the constructors
2201 (InsetNote): new constructor with contents passed as a string
2203 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2205 * insetfootlike.C (insetAllowed): disallow float in footlike.
2207 * insetert.C (InsetERT): add collapsed argument to the constrctor
2210 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2212 * insetindex.h: shut off warning
2214 2001-07-20 Juergen Vigna <jug@sad.it>
2216 * insetcollapsable.C (update): recoded hopefully works now!
2218 2001-07-19 Juergen Vigna <jug@sad.it>
2220 * most files: implemented the below new introduced function.
2222 * inset.h: added new edit(BufferView *, bool front) method to be able
2223 to enter an inset from the front/back without knowing x/y positions
2224 and baselines inside the inset. So I just can tell the inset activate
2225 me and set the cursor on the front/back of yourself.
2227 2001-07-18 Juergen Vigna <jug@sad.it>
2229 * insetcollapsable.C (edit): fixed hopefully the y parameter which
2230 is given to the InsetText.
2231 (insetButtonPress): ditto
2232 (insetButtonRelease): ditto
2233 (insetMotionNotify): ditto
2235 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2237 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
2238 LIGATURE_BREAK, since the name is so stupid.
2240 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2242 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
2243 the default InsetCollapsable methods. I.e., it can insert anything.
2244 (write) output the name of the inset, not some silly hack for
2245 compatability with the old InsetInfo.
2247 * insetinfo.[Ch]: removed.
2248 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
2249 now collapsable, but functionality is otherwise identical to InsetInfo.
2251 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
2253 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2255 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
2258 * insetquotes.C: general cleanup
2259 (dispString): add spaces inside french double quotes.
2260 (latex): ditto. Moreover, treat first the case where the frenchb
2261 or french options have been given.
2263 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
2265 * insetcite.[Ch] (latex, validate): new methods, required for natbib
2268 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
2270 * figinset.C (RegisterFigure): Print debug message only when
2271 current_view is available.
2273 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2275 * many files: update to match the change below
2277 * inset.h (insetAllowed): renamed from insertInsetAllowed;
2278 implement the version which takes an inset here.
2280 * insetcollapsable.[Ch]: implement open and isOpen
2282 * inset.h: remove insertInsetAllowed from Inset
2283 (open): new method, to open or close an inset
2284 (isOpen): returns the status of an inset
2285 (isCollapsable, colapse): removed
2287 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2289 * insetquotes.C (dispString): display french guillemets when using
2292 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2294 * insetcollapsable.h: remove bogus return statements
2296 2001-07-18 Juergen Vigna <jug@sad.it>
2298 * insettabular.C (selectNextWord): fixed spellchecking for the
2299 first cell of a tabular (wasn't entered!)
2300 (getLyXText): changed to enter automatically insettext and return
2301 it's LyXText if we're locked.
2303 2001-07-17 Juergen Vigna <jug@sad.it>
2305 * various files: implemented the below functions.
2307 * inset.h: added functions
2308 - virtual string selectNextWord(BufferView *, float & value) const;
2309 - virtual void selectSelectedWord(BufferView *) { return; }
2310 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
2311 needed for spellchecking correctly!
2313 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
2315 * insetert.C (latex): write out all paragraphs.
2317 2001-07-17 Baruch Even <baruch@lyx.org>
2319 * insetgraphics.C (draw): Removed unneeded casts.
2321 2001-07-16 Juergen Vigna <jug@sad.it>
2323 * insettext.C (update): fixed small oversight (reset lt to 0).
2325 2001-07-14 Baruch Even <baruch@lyx.org>
2328 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
2330 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
2332 Consistent use of Lsstream.h:
2333 * figinset.C: removed using std::ostringstream directive.
2335 * insetgraphics.C (createLatexOptions):
2336 * insetinclude.C (unique_id):
2337 std::ostringstream -> ostringstream.
2338 * insettext.C (localDispatch): std::istringstream -> istringstream.
2340 2001-07-13 Juergen Vigna <jug@sad.it>
2342 * insetfloat.C (insertInsetAllowed): added missing const_cast.
2344 * insetcollapsable.C (getLockingInset): ditto.
2346 2001-07-12 Juergen Vigna <jug@sad.it>
2348 * insetcollapsable.h: added implementation of new function for
2351 * various files: added implementation of new insertInsetAllowed-func
2352 and redone the function a bit more.
2354 * inset.h: added isCollapsable(), bool collapsed(),
2355 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
2357 * insetfloat.C (insertInsetAllowed): make a bit more checks.
2359 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
2360 LyXText which is marked for removal while we're using it!
2362 * insettext.h: added private LyXText * lt to use it to assure we are
2363 not deleting our LyXText while we're using it!
2365 2001-07-11 Juergen Vigna <jug@sad.it>
2367 * insettext.C (insertInset): check if we are before the inset after
2368 inserting it! This check IS needed. Remove the Undo-Call as it is
2369 called in LyXText::insertInset!
2371 * insettext.h: added struct InnerCache.
2373 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
2374 that we ONLY delete the LyXText in the getLyXText() routine. So we
2375 are sure we don't delete LyXText while someone is working with it!
2377 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2379 * insetexternal.C: (*it). -> it->
2380 * insettext.C: ditto
2382 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2384 * insetcollapsable.C (edit): always open collapsed insets (even if
2385 they are not autocollapsable)
2387 * insetcommand.C (operator=): simplify.
2389 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2391 * insetert.C (latex): handle META_NEWLINE
2393 2001-07-09 Juergen Vigna <jug@sad.it>
2395 * insetert.h: a normal InsetText can insert insets, but we won't.
2397 * inset.h: return default "false" on insertInsetAllowed and implement
2398 this function where a returnvalue != "false" is needed.
2400 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2402 * insetert.C (InsetERT): new contructor
2404 2001-07-06 Juergen Vigna <jug@sad.it>
2406 * a lot of files: added implementation of the below new functions
2407 and the change to clone(). Also the call of the new undo-functions
2410 * inset.h: added an inset_id, added functions getParFromID,
2411 getInsetFromID, firstParagraph, cursor and id functions, added
2412 bool same_ids to clone function.
2414 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2416 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
2417 of BufferView * and shared_ptr<LyXText>
2419 2001-07-05 Juergen Vigna <jug@sad.it>
2421 * insettext.C (clear): deleted also the cache not only LyXText.
2422 (setParagraphData): ditto.
2424 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2426 * insetfloat.C (latex): let the specific placement take presedence
2427 if set, otherwise choose document placement if set, otherwise just
2428 use float default placement.
2430 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2432 * insettext.C (localDispatch): call CutAndPaste::'s static method
2435 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2437 * insetbib.C: no meed to include forms.h here.
2439 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
2441 * insettext.C: added using std::make_pair directive.
2443 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2445 * insettext.C (getLyXText): avoid multiple lookups, and simplify
2447 (deleteLyXText): ditto
2448 (resizeLyXText): ditto
2450 2001-07-02 Juergen Vigna <jug@sad.it>
2452 * insettext.C (getLyXText): introduce a cache in getLyXText so that
2453 following calls are only returned the right pointer without the over
2454 head to search in the map.
2455 (various funcs): reset the cached_bview variable as this signs that
2456 the cache is not valid anymore.
2458 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2460 * insettabular.C (clone): do not copy the LyXTabular twice
2462 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2464 * insettext.h (TEXT): delete method
2466 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2468 * insetmarginal.C (latex):
2469 * insetfoot.C (latex): fix spacing of notes in LaTeX
2471 * insettext.C (localDispatch): use .c_str() on istringstream
2472 constructor argument.
2474 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
2479 * inseturl.C: fix method names in these to begin
2480 with small char too, so they inherit
2482 2001-06-28 Juergen Vigna <jug@sad.it>
2484 * insettext.C (setFont): fixed font settings using toggleFree()
2485 instead of setFont().
2487 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
2489 * Change a lot of method names to begin with a small char.
2490 Changes to a lot of files because of this.
2492 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2494 * insetfloatlist.C (Write): std:: qualify ostream
2497 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
2501 * insetgraphics.C: send debug output to Debug::INFO instead of
2504 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
2507 * insettabular.C (getStatus): update to use func_status
2509 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
2511 * insetref.C (DocBook): added support for cross-references without
2514 2001-06-26 The LyX Project <jug@sad.it>
2519 * insetlabel.h: removed escape method and moved it to
2522 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2524 * insettabular.C (getMaxWidth): do the speedup in a different way,
2527 2001-06-24 The LyX Project <Asger>
2529 * insettabular.C (getMaxWidth): We cache a mapping from
2530 inset to cell in order to speed this method up.
2532 2001-06-24 The LyX Project <Asger>
2534 * insettext.C: Optimized InsetText::draw or something.
2536 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
2538 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
2540 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
2542 * inset.h: name change from lyxinset.h
2544 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
2546 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
2548 2001-06-14 Juergen Vigna <jug@sad.it>
2550 * insettext.C (draw): removed warnings.
2552 2001-06-13 Juergen Vigna <jug@sad.it>
2554 * insettabular.C (nodraw): only go down the tree if we don't have
2555 that flag set otherwise it's obvious that we don't want to draw.
2556 (LocalDispatch): do also an update if we have an undispached result.
2558 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
2561 * insetgraphicsParams.C:
2562 * insettext.C: removed // -*- C++ -*- as first line.
2564 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2566 * lyxinset.h (resizeLyXText): shut off warning about unused
2569 2001-06-07 Juergen Vigna <jug@sad.it>
2571 * insettext.C (resizeLyXText): honor the new force flag.
2573 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
2575 * insettabular.C (deleteLyXText): new function
2577 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
2585 * insetcollapsable.C:
2586 * insetcaption.C: LColor tidy
2588 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2590 * figinset.C: fix typo
2592 2001-06-01 Juergen Vigna <jug@sad.it>
2594 * insettabular.C (resetPos): small hack so that scroll is not set to
2595 0 when we are in the last column of a tabular. This is a problem we
2596 have because of constats 20 offset on both directions, so this can
2597 cause on the limit an endless loop.
2599 * insettext.C (SetFont): forgot that we can have locking insets ;)
2601 2001-05-31 Juergen Vigna <jug@sad.it>
2603 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
2605 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2607 * figinset.C: add using std:: directive for the C functions which
2610 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
2612 * insetfloat.C (Write): write out wide info
2613 (Read): read the wide info
2614 (Latex): use the wide info when creating latex.
2616 * insettext.C: adjust
2618 * insetgraphics.[Ch] (statusMessage): change to return string
2622 * figinset.C (runqueue): add std::
2625 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2627 * insetcite.C (Ascii): add std:: qualifier
2629 2001-05-28 Juergen Vigna <jug@sad.it>
2631 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
2632 a endless-width inset (maxWidth < 0).
2633 (Edit): change language only if not equal.
2635 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
2637 * insettext.C (draw): fixed draw/clear of InsetText-Frame
2639 2001-05-16 Juergen Vigna <jug@sad.it>
2641 * insettext.C (selectAll): added
2642 (clearSelection): added
2644 * insettabular.C (SetFont): now we may set a font on a whole selection!
2645 (getSelection): added helper function.
2647 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
2649 * insetcite.C (Ascii): Add method.
2651 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
2654 * insetbib.C: fix path for OS/2 & Win32
2656 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2658 * insetfoot.C (Latex): don't use % after footnote.
2660 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2662 * insettext.C (Read): use clear
2663 (SetParagraphData): use LyXParagraph copy constructor instead of clone
2665 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2667 * insetfloatlist.h: add a bunch of std:: qualifiers.
2669 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2671 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
2672 FLOAT_LIST_CODE, renumber code list.
2674 * insettoc.C (getScreenLabel): remove support for float lists
2678 * insetfloatlist.[Ch]: new files
2680 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
2682 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
2684 * insettabular.C (LocalDispatch):
2685 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
2688 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2690 * insettext.C: remvoe !NEW_INSETS cruft
2692 * insettabular.C: remove !NEW_INSETS cruft
2694 * insetcollapsable.h: remove !NEW_INSETS cruft
2696 * insetbib.C: remove !NEW_INSETS cruft
2698 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2700 * insettoc.C: hack to make listof algorithm work
2702 2001-04-20 Juergen Vigna <jug@sad.it>
2704 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
2706 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2708 * insetquotes.C (Latex): improve the guard against
2709 unwanted !` and ?` ligatures. This should really be done in
2710 another place (to catch all this ligatures at low-level).
2712 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2714 * insettext.C (init): remvoe leftovers from cursor_visible change
2715 (draw): use c++ cast
2716 (LocalDispatch): dispatch LFUN_MESSAGE
2718 * insettabular.C (InsetTabular): remove leftovers from
2719 cursor_visible, and scoped_ptr changes
2720 (draw): use c++ cast
2722 * insetcollapsable.C (draw): use c++ cast
2724 * ExternalTemplate.h: inherit privaely from noncopyable
2725 * insetcommand.h: ditto
2726 * insetinclude.h: ditto
2728 2001-04-16 Allan Rae <rae@lyx.org>
2730 * insettoc.C (Ascii):
2731 * insettext.C (draw):
2732 * insettabular.C (setPos):
2733 * insetminipage.C (Read):
2734 * insetfloat.C (placement):
2735 * insetcaption.C (Ascii, DocBook):
2736 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
2737 an unrecognised preprocessor directive. So ensure they're wrapped.
2739 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
2742 * insetexternal.C: set view on Clone. Add _ to private members.
2744 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2746 * insettext.C (InsetText): fix new
2747 (InsetText): reindent some, simplify deletion of par list
2748 (clear): simplify deletion of par list, fix new
2749 (SetParagraphData): simplify deletion of par list
2751 * insettabular.[Ch] (getLabelList): implement new method
2753 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2755 * lyxinset.h: do not include gettext.h...
2763 * insetlatexaccent.C:
2767 * inseturl.C: ... and do it here instead
2769 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2771 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
2773 * insettext.[Ch] (getLabelList): add std:: on vector<string>
2775 * insetcollapsable.[Ch] (getLabelList): implement
2777 * insettext.[Ch] (getLabelList): implement
2779 * insettext.h: reindent
2781 * insettabular.h: make tabular a scoped_ptr
2783 * insettext.C (init): adjust for cursor_visible
2784 (ToggleInsetCursor): constify asc and desc, font, adjust for
2786 (ShowInsetCursor): constify asc and desc, font, adjust for
2788 (HideInsetCursor): adjust for cursor_visible
2790 * insettabular.C: reindent some
2791 (InsetTabular): adjust for scoped_ptr and cursor_visible
2792 (InsetTabular): ditto
2793 (~InsetTabular): delete delete
2794 (Clone): adjust for scoped_ptr
2795 (Read): constify old_format, adjust for scoped_ptr, move init of
2797 (draw): constify tx, localize loop vars.
2798 some other localization of variables, remove double initilizatons.
2800 * insetfoot.C: remove using std::ostream, add ostream where needed
2802 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2804 * lyxinset.h: some reindentaion, use initializer list for
2806 UpdatableInset: make cursor_visible a private var add
2807 public isCursorVisible(), add protected toggleCursorVisible() and
2808 proctected setCursorVisible(bool), make scroll call the Inset::scroll
2810 * insettoc.C: remvoe using decl
2811 (getScreenLabel): make cmdname donst
2814 (Ascii): don't use endl
2816 * insetfootlike.C: remove using decl at file scope and add std::
2818 * insetmarginal.C: ditto
2820 * insetfoot.C: some reformatting
2822 * insetfloat.C (InsetButtonRelease): adjust the hit area
2824 * insetert.C (SetFont): some reformatting
2826 * insetcollapsable.C: some reformatting and constification
2827 (Clone): comment out.
2828 * insetcollapsable.h: some reformatting
2829 (Clone): comment out.
2834 2001-03-30 Juergen Vigna <jug@sad.it>
2836 * insetcollapsable.h: changen *inset to be a InsetText inset.
2838 * some files: changed to reflect the above change.
2840 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
2842 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
2843 InsetExternal::Params.
2844 Added operator==() and operator!=() for the Params struct.
2846 2001-03-29 Juergen Vigna <jug@sad.it>
2848 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
2851 * insetminipage.C: removed widthp_ and all it's functions and changed
2852 to use new %-lengths of LyXLength.
2854 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
2856 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
2858 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
2860 * insetgraphicsParams.C (operator!=): new function, needed by the
2861 ControlGraphics class.
2863 2001-03-28 Juergen Vigna <jug@sad.it>
2865 * insettext.C (InsetButtonPress): only enter !inset if button == 2
2866 (checkAndActivateInset): don't use the values returned from
2867 call to bv->checkInsetHit.
2869 * insetminipage.C (Clone): set special minipage values.
2871 * insetcollapsable.C (draw): changed to draw the button in the
2872 upper left corner outside the textinset.
2873 (ascent): changed because of different drawing
2877 (InsetButtonPress): ditto
2878 (InsetButtonRelease): ditto
2879 (InsetMotionNotify): ditto
2881 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
2883 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
2887 2001-03-26 Juergen Vigna <jug@sad.it>
2889 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
2891 * insettext.C (ShowInsetDialog): implemented above function.
2893 * insettabular.C (ShowInsetDialog): ditto
2895 * insetminipage.C (ShowInsetDialog): ditto
2897 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2899 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
2900 InsetInclude::Params. Don't store a buffer * in Params. Store the
2901 master file name instead.
2903 2001-03-23 Juergen Vigna <jug@sad.it>
2905 * insetcollapsable.C (InsetMotionNotify):
2906 (InsetButtonRelease):
2907 (InsetButtonPress): fixed y-offset (minipages).
2909 * insettext.C (draw): force a FULL update if cleared == true.
2911 * insetcollapsable.C (draw): Lars forgotten entry for changing this
2912 routine to draw the minipages on its position-flag.
2913 (InsetInInsetY): give back the right y position, because of minipage
2916 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
2919 * insetfloat.C (DocBook): docbook export code.
2921 2001-03-22 Juergen Vigna <jug@sad.it>
2923 * insetminipage.C (getMaxWidth): added function to set the drawing
2925 (Read): should work now!
2927 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
2928 if we create a new inset.
2930 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2932 * figinset.C (fl_set_preemptive_callback): moved definition outside
2935 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2937 * insetminipage.C (Read): prepare for reading of minipage arguments.
2939 2001-03-18 Baruch Even <baruch@lyx.org>
2941 * insetgraphics.C: Minor cleanups of the comments and code.
2943 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2945 * insetminipage.C (InsetMinipage): default to not collapsed
2947 2001-03-16 Juergen Vigna <jug@sad.it>
2949 * insetminipage.C (width): modified with to be a string
2950 (widthp): added widthp (for % width) support functions.
2951 (InsetButtonRelease): added to open the options dialog on button==3.
2952 (~InsetMinipage): added to hide the dialog.
2954 * insetminipage.h: added hideDialog signal
2956 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2958 * insetminipage.h: change the order or Position to match
2959 LyXParagraph::MINIPAGE_ALIGNMENT
2961 * several files: remvoe CXX_WORKING_NAMESPACES
2963 * ExternalTemplate.h: noncopyable is in namespace boost
2964 * insetinclude.h: ditto
2965 * insetcommand.h: ditto
2967 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2969 * insettext.C (Edit): #else# -> #else.
2970 * insettoc.C: added using directive.
2972 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2974 * insetminipage.h: add pos, inner_pos, width and height. + getters
2975 and setters for all of them.
2977 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
2979 * insetinclude.C (Latex): Do not exit when the textclass of the
2980 included file differ from the textclass of the parent file.
2982 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
2984 * ExternalTemplate.C (read): the reading of external insets now checks
2985 for \end_inset and removes it form the input stream.
2987 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
2989 * ExternalTemplate.h:
2990 * ExternalTemplate.C:
2992 * insetexternal.C: move form to GUII
2994 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2997 * insetinclude.C: add InsetIncludeParams, use
2998 composition rather than derivation of InsetCommand
3000 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3002 * insettoc.C (Ascii): use the Buffer typedefs
3004 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3006 * insettoc.C (Ascii): implement for dynamic number of lists
3008 * insetcaption.[Ch]: update from new_insets branch
3009 * insetfloat.[Ch]: ditto
3011 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
3014 * figinset.C: use new File Dialog
3016 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3018 * insettext.C: changes becuase of ParagraphParameters.
3020 2001-02-28 Baruch Even <baruch@ev-en.org>
3022 * insetgraphics.C (updateInset): Changed due to the change in
3025 2001-02-26 Juergen Vigna <jug@sad.it>
3027 * insettext.C (SetFont): Set Undo only if we have selection (as it is
3028 handled in LyXText).
3030 2001-02-23 Juergen Vigna <jug@sad.it>
3032 * insettext.C (draw): some small repainting fixes.
3033 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
3035 * inset.C (LocalDispatch): changed action to be a kb_action (as it
3036 should be) and not an int.
3038 * insettabular.C (LocalDispatch): ditto
3040 * insettext.C (LocalDispatch): ditto
3042 * insetcollapsable.C (LocalDispatch): ditto
3044 2001-02-22 Juergen Vigna <jug@sad.it>
3046 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
3047 DISPATCH it and we don't have a locking_inset.
3049 2001-02-21 Baruch Even <baruch@ev-en.org>
3051 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
3052 instead of GraphicsCacheItem *.
3054 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3056 * insetcollapsable.C (getLyXText): add const qualifier to second
3059 2001-02-22 Juergen Vigna <jug@sad.it>
3061 * insettext.C (getLyXText): honor the recursive parameter.
3062 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
3064 * inset.C (getLyXText): added bool recursive parameter.
3066 * insettext.C (SetUpdateStatus): or the update codes.
3067 (draw): check need_update with &.
3068 (InsetButtonPress): set no_selection to not put a selection when
3069 entering an inset and it is redraws in another spot.
3071 * insettext.h: made need_update an int.
3073 2001-02-20 Baruch Even <baruch@ev-en.org>
3076 * insetgraphisc.C: Changed to use better semantics when loading images
3077 for inline view. Now it doesn't keep the pixmap itself but it's holder.
3079 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
3083 * insetgraphics.C: change name of "hide" signal to "hideDialog",
3084 consistent with InsetTabular.
3086 2001-02-19 Juergen Vigna <jug@sad.it>
3088 * insettabular.C (LocalDispatch): implement PAGE up/down.
3090 * insettext.C (draw): clear all of it on need_update==INIT too!
3092 * insettabular.C (InsetUnlock): always clear the selection.
3094 * inset.C (scroll): normally we only want to scroll the inset until
3095 it is fully visible so if top_x + offset > 20 then just set scx to 0.
3097 2001-02-14 Juergen Vigna <jug@sad.it>
3099 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
3100 (resetPos): fixed scroll behaviour.
3101 (LocalDispatch): do an update if moving cursor inside a table cell
3102 requests a scroll of the tabular.
3104 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
3106 * insettext.C (textWidth): constify local var
3108 * insettabular.C: small cleanup.
3110 * insetfoot.C (Latex): constify local var
3112 * insetcollapsable.C: small cleanup.
3114 * figinset.C (runqueue): use compare instead of strcmp
3116 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3119 * insetinfo.C: remove cruft
3121 2001-02-14 Juergen Vigna <jug@sad.it>
3123 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
3125 2001-02-13 Juergen Vigna <jug@sad.it>
3127 * insettext.C (InsertInset): don't move left (is this right?)
3129 * insettabular.C (LocalDispatch): use of the no_draw variable
3131 * insettabular.h: new no_draw variable to stop redraw
3133 * insettabular.C (TabularFeatures): fixed update for alignment change
3135 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
3139 * insetbib.C: move dialogs to frontends/
3141 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
3143 * insettext.C (LocalDispatch): Restore the language if the inset
3146 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
3148 * insettext.C (moveRightIntern): Update the selection cursor.
3149 (moveLeftIntern): Ditto.
3151 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3153 * Makefile.am: remove BoundingBox.h
3155 * BoundingBox.h: removed
3157 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
3159 * insettext.C (LocalDispatch): Update selection cursor when moving
3160 cursor to the right.
3161 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
3162 (moveLeftIntern): Ditto.
3164 2001-02-05 Baruch Even <baruch.even@writeme.com>
3166 * insetgraphics.C: Updated automatic image conversion, it now goes into
3167 temporary directory instead of with the image itself.
3169 2001-01-21 Baruch Even <baruch@ev-en.org>
3171 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
3172 to EPS or PNG when needed (support bitmap graphics).
3174 2000-11-02 Baruch Even <baruch@ev-en.org>
3177 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
3178 and removal of commented out code.
3180 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
3182 * insetbib.C (callback): Update citations if the key has changed.
3184 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
3186 * insetbib.C (InsetBibKey): Better computation of default key.
3187 (getScreenLabel) Show both the key and the label.
3188 (getBibLabel): New method.
3189 (callback): Force a redraw if the inset have been changed.
3191 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
3193 * insetref.C (getType, getName): Move methods from
3194 src/frontends/xforms/FormRef.C.
3196 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
3198 * insettabular.C: Various improvements (use only one dummy position).
3200 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
3202 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
3203 par->bibkey->width. This fixes the crashes when running without
3204 gui or when having included documents.
3206 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
3208 * insetcommand.C (getAsString, setFromString): Cleanup.
3210 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
3212 * insetref.C: Add the array InsetRef::types that contains
3213 information about all supported reference types.
3215 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3217 * lyxinset.h: remove trailing comma in enum.
3219 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
3221 * insettext.C: kill LyXBell.