1 2002-08-06 John Levon <levon@movementarian.org>
12 * insettext.C: use WordLangTuple for spellcheck
14 2002-08-06 Angus Leeming <leeming@lyx.org>
16 * insetinclude.C: add a monitor to the previewed image, so that the
17 image is refreshed if the \input-ed file changes.
19 2002-08-04 John Levon <levon@movementarian.org>
22 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
24 2002-08-02 Angus Leeming <leeming@lyx.org>
26 * insetcommandparams.[Ch] (preview): new methods returning and setting
27 a new bool preview_ flag.
28 (read): read this flag.
29 (operator==): add flag to check.
31 * insetinclude.C (write): output new preview() flag.
32 (previewWanted): use this flag.
34 2002-08-02 Angus Leeming <leeming@lyx.org>
36 * insetcollapsable.[Ch] (addPreview):
37 * insettabular.[Ch] (addPreview):
38 * insettext.[Ch] (addPreview): new methods. Can now generate previews
41 2002-08-02 Angus Leeming <leeming@lyx.org>
43 * insetcite.C: fix typo.
45 * insetgraphics.C: kill current_view and instead cache the BufferView
48 * insetinclude.C: kill current_view and pass the BufferView to the
49 PreviewedInset so that it can cache it.
51 2002-08-01 Angus Leeming <leeming@lyx.org>
53 * inset.h (generatePreview): renamed as addPreview.
54 (generatePreview): new method. Allows code to be moved out of
55 math_nestinset.C and into the new PreviewedInset class.
57 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
58 add previews to the inset when \input-ing LaTeX.
60 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
62 * several files: strip,frontStrip -> trim,ltrim,rtrim
64 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
66 * insetbib.C (latex): modify because of strip changes
68 * insetnote.C (InsetNote): ditto
70 2002-07-26 Juergen Vigna <jug@sad.it>
72 * insettabular.C (searchForward): check for lastcell if we
75 2002-07-25 Juergen Vigna <jug@sad.it>
77 * insettabular.C (insetMotionNotify): Don't update the screen
78 if we didn't do nothing.
79 (searchForward): last cell was not checked.
81 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
83 * insetfloat.C (read, write): Allow default placement
84 (floatPlacement_ is empty).
86 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
88 * insetminipage.h (noFontChange):
89 * insettabular.h (noFontChange):
90 * insetfootlike.h (noFontChange):
91 * insetfloat.h (noFontChange): return true
93 * inset.h (noFontChange): new method, defaulting to false
95 2002-07-22 Herbert Voss <voss@lyx.org>
97 * insetgraphicsParams.[Ch]: support size_type for old docs
99 2002-07-22 Herbert Voss <voss@lyx.org>
102 * insetgraphicsParams.[Ch]: change size_type to size_kind and
105 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
107 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
109 * insetlatexaccent.h: do not include "lyxlex.h"
111 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
114 * insetlatexaccent.C:
118 * insetbib.C: #include "lyxlex.h"
124 * insettext.C: use BufferParams::getLyXTextClass
127 * insetfloat.C (addToToc): new method. Add to toclist the entries
128 corresponding to Caption layouts
129 (InsetFloat): when creating a new float, set the layout to "Caption"
131 2002-07-21 Herbert Voss <voss@lyx.org>
133 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
134 image relevant part into graphics/GraphicsImgae.C
136 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
138 * insettoc.C (ascii):
139 * insetfloatlist.C (ascii): change to use the new Toc functions
140 instead of stuff that was in Buffer
142 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
144 * insettext.C (localDispatch): BufferView::Dispatch has been
145 renamed to BufferView::dispatch
147 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
149 * insetgraphicsParams.C (as_grfxParams): use the new
150 keepLyXAspectRatio parameter. Note that this is an adaptation of a
151 1.2.0 patch, and I do not really know how to adapt it to the new
152 grfx::Cache world. Angus, please could you have a look?
154 2002-05-01 Herbert Voss <voss@lyx.org>
156 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
158 2002-07-18 Angus Leeming <leeming@lyx.org>
160 * insetgraphics.C: clean-up comments (from Herbert).
161 add a new checksum variable to the cache. Use it in PrepareFile.
162 (draw): start monitoring the file for a change.
163 (prepareFile): re-arrange a little to avoid unnecessary steps.
165 2002-07-17 Angus Leeming <leeming@lyx.org>
167 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
168 a method rather than to the signal directly.
170 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
172 * insettext.C: use view_state_changed, switchKeyMap
174 2002-07-17 Herbert Voss <voss@perce.de>
176 * insetgraphics.C (prepareFile): keep the extension when
177 exporting to nice file
179 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
181 * insetcite.C (getNatbibLabel):
182 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
184 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
186 * insetgraphics.C: use ->isDrawable()
188 2002-07-12 Angus Leeming <leeming@lyx.org>
190 * insetgraphics.C: use the new smart loading capabilities of the image
193 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
195 * insettabular.C (edit): Move into correct cell when entering a
198 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
201 2002-07-05 Angus Leeming <leeming@lyx.org>
203 * inset.h (generatePreview): new virtual method.
205 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
207 * insetcommandparams.[Ch] (operator=): move out of class
208 (operator!): move out of class
210 2002-07-04 André Pönitz <poenitz@gmx.net>
212 * insetcommandparams.[Ch]: new files
214 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
216 2002-06-15 Herbert Voss <voss@perce.de>
218 * insetgraphics.C (prepareFile): bugfix; return always
219 files without extension
221 2002-06-28 Angus Leeming <leeming@lyx.org>
223 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
224 rename asGParams -> as_grfxParams.
226 * insetgraphics.C: reflect above change.
228 2002-06-26 Angus Leeming <leeming@lyx.org>
230 * insetgraphics.h: use boost::scoped_ptr in preference to
233 2002-06-26 Angus Leeming <leeming@lyx.org>
235 * insetgraphics.C: moved the image loading stuff into a new class
236 grfx::Loader. Simplifies this file enormously.
238 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
240 * insetgraphicsParams.C: changes aassociated with moving
241 grfx::DisplayType out of grfx::GParams.
243 2002-06-26 André Pönitz <poenitz@gmx.net>
245 * insetgraphics.C: use os::external_path where necesaary according to a
246 patch from Claus Hentschel)
248 2002-06-25 Angus Leeming <leeming@lyx.org>
250 * insetgraphics.[Ch]: The inset now assumes the responsibility for
251 generating a pixmap once the graphics file is loaded into memory.
252 The current_view ugliness that was in grfx::ModifiedImage has been
253 moved here now that grfx::ModifiedImage is no more.
255 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
257 * insettext.C: layout as layout
259 2002-05-28 André Pönitz <poenitz@gmx.net>
261 * insetfloatlist.h: remove source of compiler warning
263 * insetref.C: tiny whitespace
265 2002-06-15 Herbert Voss <voss@perce.de>
267 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
268 and take always convert when no userdefined converter was
270 (latex) small changes in the lyxerr output
272 2002-06-15 LyX Development team <lyx@rilke>
274 * inset*.[Ch] (docbook): Added new argument to take the pernicious
275 mixed content. Small white spaces clean.
277 2002-06-14 Angus Leeming <leeming@lyx.org>
279 * inseetexternal.C: remove the using std::difftime declaration.
281 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
283 * insetquotes.C: change lyxfont::draw to font_metrics::draw
285 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
287 * insetquotes.C (draw): fix drawing of double quotes
289 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
291 * insettabular.C: s/scrollCB/scrollDocView/
293 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
295 * insettext.C: change of topCursorVisible()
298 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
301 * insettext.C: rename/change of LyXScreen
303 2002-06-07 Angus Leeming <leeming@lyx.org>
305 Fixes needed to compile with Compaq cxx 6.5.
307 all c-library variables have been moved into namespace std.
308 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
310 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
312 * insetinclude.C (uniqueID):
313 * insetgraphics.C (uniqueID): renamed from unique_id, since this
314 conflicted with some AIX headers.
316 2002-05-31 Juergen Vigna <jug@sad.it>
318 * insetert.C (get_new_label): add '...' for multi-paragraph ert
322 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
324 * insetexternal.C (clone): fix () bug when using new
325 (updateExternal): don't only look for difftime in global scope
327 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
329 * insettabular.C: add const
331 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
333 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
334 file name, in case there are weird characters like ',' in there.
337 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
339 * switch from SigC signals to boost::signals.
341 2002-05-28 André Pönitz <poenitz@gmx.net>
343 * insets/insetgraphicsParams.[Ch]:
344 put in inset related stuff from src/graphic
346 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
354 * insetcollapsable.C:
355 * insetcollapsable.h:
383 * inseturl.h: use mouse_state. Kill insetKeyPress
385 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
390 * insetcollapsable.C:
393 * insetlatexaccent.C:
395 * insetspecialchar.C:
397 * insettext.C: name change for font metrics
399 2002-05-24 Juergen Vigna <jug@sad.it>
401 * insetgraphics.h: include inset.h first (for LString.h)
403 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
405 * insettext.C: screen moved
407 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
425 * inseturl.C: LyXView moved into frontends/
427 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
432 * insetcollapsable.C:
436 * insetgraphicsParams.C:
437 * insetlatexaccent.C:
439 * insetspecialchar.C:
441 * insettext.C: move Painter to frontends/
443 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
445 * insettabular.h: use more specific smart_ptr header.
448 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
451 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
453 * insettext.C: clear selection on paste (bug 393)
455 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
457 * insettext.C (latex): Honor the moving_arg argument.
459 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
461 * insetfoot.C (latex): if a footnote is in a title layout, then it
462 is a \thanks. And then, its contents is a moving argument.
464 2002-05-14 Juergen Vigna <jug@sad.it>
466 * insetcollapsable.C (InsetCollapsable): forgot to initialize
469 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
471 * Insetcite.C (getNatbibLabel): don't disable natbib label support
472 when using options "Full author list" or "Upper case".
474 2002-05-14 Herbert Voss <voss@perce.de>
476 * insetgraphics.C (prepareFile): allow files with same name
478 (readFigInset): set the flags from old figinset in the right
480 (findTargetFormat): more comments
482 2002-05-14 Juergen Vigna <jug@sad.it>
484 * insettext.C (edit): tell checkAndActivateInset() that we don't
486 (checkAndActivateInset): if button < 0 we don't have a button press
487 on the inset and os we won't call edit on it if it's not a Highly
488 editable inset (then we have to enter it).
490 2002-05-13 Juergen Vigna <jug@sad.it>
492 * insetcollapsable.C (insetButtonRelease): returned wrong return
495 2002-05-09 Juergen Vigna <jug@sad.it>
497 * insetcollapsable.C (edit): first_after_edit should only be
498 set to true if we enter this inset and it was collapsed so we
499 open it up. This is needed to reclose it after a search/replace
500 or spellcheck function opened it and was negative.
502 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
504 * insetfloat.C (latex): Return correct value.
506 2002-05-04 Herbert Voss <voss@perce.de>
508 * InsetgraphicsParams.C (read): fix bug with WH
510 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
512 * insetfloat.C (latex): More sensible latex output
513 (fix the problem with endfloat).
515 2002-05-02 José Matos <jamatos@fep.up.pt>
517 * insetgraphics.C (validate): acess params as everyone else.
519 2002-05-03 Juergen Vigna <jug@sad.it>
521 * insettabular.C (fitInsetCursor): recalculate the cursor position
524 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
526 * InsetgraphicsParams.[Ch]: whitespace.
528 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
530 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
531 float type do not exist.
533 2002-04-28 Herbert Voss <voss@perce.de>
535 * insetgraphics.C (latex): fix bug with missing file-extension.
536 LaTeX still allows a missing "eps" or "ps".
538 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
540 * insetfloat.C (c-tor, wide): translate the name of the float.
542 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
544 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
545 when using natbib and make it work efficiently. Must emphasise that the
546 real work is Herbert's.
548 2002-04-23 Herbert Voss <voss@perce.de>
550 * insetgraphic.C (prepareFile): fix bug with overwriting and
551 deleting an existing *.eps-file in the doc-dir
553 2002-04-23 Juergen Vigna <jug@sad.it>
555 * insettabular.C (drawCellSelection): fix off by 1 error.
557 2002-04-22 Juergen Vigna <jug@sad.it>
559 * insettabular.C (setFont): rewoke full selection if it was asked,
560 after we changed all we had to change.
562 * insettext.C (insetUnlock): code was uninitialized in some situations.
564 2002-04-19 Herbert Voss <voss@perce.de>
566 * insetgraphic.C (prepareFile): return filename without
567 extension if we only export without compiling
569 2002-04-19 Juergen Vigna <jug@sad.it>
571 * insettext.C (draw): call a fullRebreak on the row where we had a
572 change and reset the cursor and selection-cursors.
574 * insettabular.C (insetUnlock):
575 (insetButtonPress): call an update before setting the_locking_inset = 0
576 as otherwise we don't repaint!
577 (update): reset the cursor position when we changed dimensions as
578 otherwise our cursor may be on the wrong spot.
580 2002-04-18 Juergen Vigna <jug@sad.it>
582 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
583 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
584 redraw otherwise we won't redraw.
586 * insettext.C (draw): fixed the setting of LyXText::first_y it was
587 not really right before, but I only discovered this with the last
588 changes to Page up/down.
590 2002-04-17 Juergen Vigna <jug@sad.it>
592 * insettext.C (checkAndActivateInset): simplified as we now have the
595 * insettext.h: changed behind variables to front variables to be
596 equal to the one in the edit call (as it is for that they are used).
598 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
600 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
601 not output anything at all!
603 2002-04-16 Juergen Vigna <jug@sad.it>
605 * insettabular.C (insetButtonPress):
606 (insetUnlock): call a redraw on unlocking the cell inset.
608 * insettext.C (insetButtonPress): same as below.
609 (lockInset): new function to set initial values when inset should
611 (insetButtonPress): use above function.
612 (insetUnlock): don't force a repaint only set the updateStatus. The
613 outside world should repaint if it thinks it should be done!
615 * insettabular.C (insetButtonPress): init values if not set as locked
616 as we are locked if someone presses on us and don't call the edit()
617 call of the InsetText to lock it do it as BufferView does it!
619 * inset.h (insetInInsetY): make func const and return an int.
622 * insetcollapsable.C: adapt the above changed function.
624 2002-04-15 Juergen Vigna <jug@sad.it>
626 * insettext.C (getCursorPos): return relative position as to be able
627 to give them directly to the edit() call.
628 (edit): we have to set also x_fix as it is not set inside the
629 setCursorFromCoordinates call!
630 (insetMotionNotify): ditto.
632 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
634 * insetbib.C (getKeys): strip leading '\t's from the line too.
635 With thanks to Henry Pfister <hpfister@ucsd.edu>.
637 2002-04-12 Juergen Vigna <jug@sad.it>
639 * insettext.h: added cix() helper function and use it where appropriate
641 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
643 * insetgraphics.C (prepareFile): fix bug when graphics is a
646 2002-04-12 Juergen Vigna <jug@sad.it>
648 * insettext.C (insertInset): remove unneeded code!
649 (updateLocal): fitCursor() fixes.
650 (collapseParagraphs): fix a possible problem when having a selection
651 and collapsing the paragraphs.
653 2002-04-08 Herbert Voss <voss@perce.de>
655 * insetgraphic.C (write): write the rotating angle as
656 a float as is. test only for != 0.0
658 2002-04-11 Juergen Vigna <jug@sad.it>
660 * insettext.C: new function ciy() and use it for setting inset_y.
662 * insetert.C (draw): fix the x return for collapsed version.
664 2002-04-07 Herbert Voss <voss@perce.de>
666 * insetgraphic.C (readFigInset): fix bug with subcaption and
669 2002-04-08 Herbert Voss <voss@lyx.org>
671 * insetgraphicsparam.C: forgot special option and delete old
674 2002-04-05 Juergen Vigna <jug@sad.it>
676 * insettext.C (localDispatch): make a CURSOR update if we inserted
679 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
681 * insetfloatlist.C (getScreenLabel):
682 (latex): use Floating::listName
683 (validate): new method
685 2002-04-03 José Matos <jamatos@fep.up.pt>
687 * insetlabel.C (docbook): the anchor is an empty element in docbook.
689 * insetfoot.[Ch] (docbook): added forgotten method.
691 2002-04-03 Juergen Vigna <jug@sad.it>
693 * insettext.C (insetButtonPress): fix insetButtonPress events the same
694 way as in Bufferview_pimpl.
696 2002-04-03 Allan Rae <rae@lyx.org>
698 * insetgraphics.C (latex): one % too many makes living on the bleeding
699 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
701 2002-03-28 Herbert Voss <voss@lyx.org>
703 * insetgraphic.C (latex): simplify the code for the latex
704 output when the file doesn't exist
706 2002-03-29 Juergen Vigna <jug@sad.it>
708 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
711 * insettabular.C (edit): call fitCursor().
713 * insettext.C (insetButtonPress): change behaviour of no_selection
714 to the one in the BufferView selection_possible and fix the spurious
715 selection bug with it.
716 (localDispatch): revoke selection on BREAK... functions.
718 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
720 * insetfloatlist.C (getScreenLabel): translate the GUI label.
722 2002-03-28 Juergen Vigna <jug@sad.it>
724 * insettabular.C (insetAllowed): return true as default value otherwise
725 we're not able to insert insets inside paragraphs of an not locked
728 2002-03-27 Herbert Voss <voss@lyx.org>
730 * insetgraphicsparam.C: change c%, p% to col%, page%
732 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
734 * insetspecialchar.C (isLineSeparator): disable the nice code to
735 allow linebreaks after hyphenation and menu separators.
737 2002-03-26 Herbert Voss <voss@lyx.org>
739 * insetgraphics.C (figinsetRead): set the right lyxview
741 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
743 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
744 $\backslash$ and pass a "string const &" to the function.
745 (prepareFile, latex): use Path rather than MakeAbsPath.
747 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
749 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
750 proper fix to the graphics cache.
751 (latex): "really" nice output if the file is not found ;-)
753 2002-03-26 Juergen Vigna <jug@sad.it>
755 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
756 (collapseParagraphs): fixed inserting of separator ' '
758 * insettabular.C (insertAsciiString): only check for buffer lenght
759 not if we have \t or \n inside the buffer as if we don't have we only
760 have 1 cell and that's it!
762 * insetert.C (close): don't collapse if inlined.
764 2002-03-25 Herbert Voss <voss@lyx.org>
766 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
767 graphics file does not exist.
769 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
771 * insetgraphics.C (prepareFile): ensure that the file has an absolute
772 path when preparing export.
774 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
775 no longer MakeRelPath.
777 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
779 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
780 Used to determine the absolute path to the graphics file in the
781 graphics cache and only in the graphics cache.
782 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
783 make graphics file name absolute if it is stored as a relative path.
785 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
786 make graphics file name absolute if it is stored as a relative path.
788 * insettext.C (edit): emit an updateParagraph signal on entering a text
789 inset. Needs to be emitted when leaving the inset also.
791 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
793 * all files: ws cleanup
795 * Makefile.am: remove ld -r stuff
797 2002-03-21 Juergen Vigna <jug@sad.it>
799 * insettext.C (appendParagraphs): new function added to append
800 the paragraphs to this insets paragraphs.
802 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
804 * Makefile.am: special rules if partial linking
806 2002-03-19 Juergen Vigna <jug@sad.it>
808 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
810 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
812 * insetgraphics.C: Clean up Baruch's comments a little.
813 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
815 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
818 * insettheorem.C: wrap warnings
820 * insetgraphics.C: improve messages, move cached_status_
821 setting to safer place
823 2002-03-18 Juergen Vigna <jug@sad.it>
825 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
827 (localDispatch): ditto
829 * insettext.C (edit): removed unneeded showCursor calls.
830 (localDispatch): ditto.
832 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
834 * insetgraphics.h: remove display() method.
836 2002-03-11 Juergen Vigna <jug@sad.it>
838 * insetgraphics.C (draw): hack to fix the redrawing bug.
839 (draw): seems this fixes #268 (force redraw of row if we changed).
841 * insettext.C (updateInsetInInset): fixed for updates in insets inside
842 this inset text (don't know why I missed this earlier).
844 2002-03-08 Juergen Vigna <jug@sad.it>
846 * insettabular.C (updateLocal): do a FULL update if we're not locked
847 and only a CELL update is asked.
849 * insettext.C (updateInsetInInset): update insets inside inset also
850 if it isn't inside the_locking_inset.
852 * insettabular.C (updateInsetInInset): ditto.
854 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
856 * insetexternal.C (doSubstitution): check whether we are using a
857 temp dir for defining $$FPath
859 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
862 * insettext.C: remove #include "WorkArea.h".
864 2002-03-06 Juergen Vigna <jug@sad.it>
866 * insettext.C (draw): fixed frame redrawing.
867 (clear): forgot to set the inset_owner of the paragraph.
869 * insetert.C (status): pay attention the bv can be 0 here!
870 (getMaxWidth): add the default leftMargin
872 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
874 * insetert.C (getMaxWidth): make w unsigned int.
876 2002-03-05 Juergen Vigna <jug@sad.it>
878 * insetert.C (status): change behaviour of Inlined.
879 (getMaxWidth): added for new inlined behaviour.
881 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
883 * insetnote.h (linuxdoc, docbook): add empty methods.
884 * insetinclude.C (validate): fix a case where buffer->niceFile was used
885 before being initialized.
887 2002-03-05 Juergen Vigna <jug@sad.it>
889 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
890 only that one in the inset. Should be enough.
891 (updateLocal): set the selection cursor always if we don't have a
892 selection to be sure it's set!
894 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
896 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
898 * insettext.C (clear): a gross hack to set layout on a newly
901 2002-03-04 Juergen Vigna <jug@sad.it>
903 * insettabular.C (localDispatch): inserted handling of
904 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
905 (insertAsciiString): new helper function.
907 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
909 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
912 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
914 * insettext.C (InsetText): initalize newly created par with
915 default layout. add bufferparams parameter
918 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
919 * insetcollapsable.[Ch] (InsetCollapsable): ditto
920 * insetert.[Ch] (InsetERT): ditto
921 * insetfloat.[Ch] (InsetFloat): ditto
922 * insetfoot.[Ch] (InsetFoot): ditto
923 * insetfootlike.[Ch] (InsetFootLike): ditto
924 * insetmarginal.[Ch] (InsetMarginal): ditto
925 * insetminipage.[Ch] (InsetMinipage): ditto
926 * insetnote.[Ch] (InsetNote): ditto
927 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
929 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
931 * insettext.C: layout as string
933 * insetinclude.C: layout as string
935 * insetert.C: layout as string
937 * insetbib.C: layout as string
939 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
942 * insettabular.C: remove #include "lyx_gui_misc.h".
944 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
949 * inset.h: remove figinset, yahoo !
951 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
953 * insetgraphics.C (c-tors): initialise parent classes explicitly in
954 copy c-tor and initialise member variables in the correct order.
956 2002-02-28 Juergen Vigna <jug@sad.it>
958 * insettabular.C (localDispatch): clear selection on PgUp/Down.
960 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
962 * inset.h: ... and add a better one here.
964 * insetcommand.C (insetButtonRelease): remove that one which was a
967 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
969 * insetcommand.C (insetButtonRelease): ... and move it here.
971 * inseturl.h: remove insetButtonRelease from there...
973 2002-02-26 Juergen Vigna <jug@sad.it>
975 * inseturl.h: Added a insetButtonRelease call returning true as
978 * insetlabel.C (edit): Fixed wrong update handling after change I
979 leave in the wrong code for the one who wrote it to remove and have
980 a look what he did wrong.
982 * insettabular.C (localDispatch): force a SELECTION update if we
983 had a selection and we passed the event down to the inset (fix #213)
984 (localDispatch): handle font changing stuff when we have a cell
985 selection so that the selection is not rewoked. I don't really like
986 this fix, but it's the only way I see to do it right now.
988 2002-02-22 Juergen Vigna <jug@sad.it>
990 * insettext.C (insetUnlock): set the cursor to the second paragraph
991 if available and if the first one is empty (fix #191).
993 2002-02-20 Juergen Vigna <jug@sad.it>
995 * insettext.C (getDrawFont): implemented this function to call the
996 one of the owner if present as the owner normally knows what to do
999 * insetert.C: implement getDrawFont() function and comment out all
1000 the crap for setting a special latex font inside this inset.
1001 (InsetERT): added a Lanugage parameter to this constructor.
1003 * inset.h: added function getDrawFont(LyXFont & font) to be able to
1004 change the font for being drawn on screen (used only in InsetERT for
1007 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
1008 and also above (was missing).
1009 (updateLocal): don't remove the cell selection if we have one this
1010 should be done where we really want to remove it.
1012 2002-02-20 José Matos <jamatos@fep.up.pt>
1014 * insetinclude.h: include_label made string const.
1016 * insetinclude.C (InsetInclude): moved include_label initialization.
1019 (validate): fix support for temporary directory, for docbook and
1022 * insetgraphics.h : new private member, graphic_label, that holds
1023 the entity name that defines the graphics location (SGML).
1025 * insetgraphics.C (unique_id): new function to give a unique label
1028 (validate): the file locatation is given by an entity reference.
1030 2002-02-18 Herbert Voss <voss@lyx.org>
1032 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
1034 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1036 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
1037 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
1039 2002-02-18 José Matos <jamatos@fep.up.pt>
1041 * insetinclude.C (validate): some code only applies to latex buffers,
1042 it was made conditional.
1044 2002-02-12 Herbert Voss <voss@lyx.org>
1046 * insetgraphics.C: (prepareFile) do not check at this time
1047 if the file is present.
1049 2002-02-12 Herbert Voss <voss@lyx.org>
1051 * insetgraphics.C: latex(), return the correct newlines
1053 2002-02-13 José Matos <jamatos@fep.up.pt>
1055 * inseturl.C (docbook): escape & in url.
1057 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1059 * insetspecialchar.C (isLineSeparator): line breaking is allowed
1060 after HYPHENATION and MENU_SEPARATOR
1062 * inset.h (isLineSeparator): new method, returns false by default.
1064 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1066 * insetert.C (status): do not update the text inset, but the ERT
1069 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
1071 * insetnote.C: use notebg for background
1073 2002-02-08 Herbert Voss <voss@lyx.org>
1076 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
1077 prevent LyX from unzipping when this should be handled
1078 by latex vis the graphic.cfg.
1081 2002-02-08 Herbert Voss <voss@lyx.org>
1083 * insetgraphic.C: prepareFile(): fix bug when file doesn't
1084 exists, than return filename with extension
1086 2002-02-06 Herbert Voss <voss@lyx.org>
1088 * insetgraphic.C: prepareFile(): don't convert the file, when
1089 it's not viewed in LyX. Saves a lot of time when opening a
1092 2002-02-05 Herbert Voss <voss@lyx.org>
1095 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
1096 and adding a rotate bool similiar to subcaption
1098 2002-02-04 Herbert Voss <voss@lyx.org>
1101 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
1102 similiar view to the LaTeX one. Get zipped files work.
1104 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
1106 * insetgraphicsParams.C (init): set display to DEFAULT.
1107 No longer #include "lyxrc.h".
1109 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
1111 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
1112 for now (so that the code compiles).
1114 2002-02-02 Herbert Voss <voss@lyx.org>
1116 * insetgraphic.C: delete inVariant() and some minor changes
1117 * insetgraphicsParams.[C]:
1119 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
1121 * insetgraphics.C (updateInset): if params.display == DEFAULT,
1122 interogate lyxrc.display_graphics before diaplaying the graphic.
1124 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
1125 InsetGraphicsParams::DisplayType.
1127 2002-01-31 Herbert Voss <voss@lyx.org>
1129 * insetgraphic.C: (readfigInset) set display to pref-default
1131 2002-01-30 Herbert Voss <voss@lyx.org>
1133 * insetgraphic.C: get the filetyp from it's contents
1134 * insetgraphicparams.C: add token scale and lyxrc.display when
1135 creating a new inset
1137 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
1139 * figinset.C: added using std::ios directive.
1141 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1143 * figinset.C (runqueue): open translation file in binary mode (for
1146 2002-01-27 Herbert Voss <voss@lyx.org>
1148 * insetgraphic.[Ch]: mostly newritten to support graphicx with
1149 all options and to be sure that the old figinsets are correct
1151 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
1152 structure and to support all lengths as LyXLength. The Parameter
1153 structure changed again, but reading of "old" 1.2 graphic insets
1156 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
1158 * insetert.h (forceDefaultParagraphs): Added
1160 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1162 * insettabular.C (getMaxWidth):
1163 (forceDefaultParagraphs): use Tabular::GetCellFromInset
1165 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1167 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
1168 of LyXLength::inPixels
1170 * inset.C (latexTextWidth):
1171 * insetminipage.C (latexTextWidth): new method, which implements
1172 the equivalent of the LaTeX macro \textwidth
1174 * insetminipage.C (getMaxWidth): use latexTextWidth
1176 2002-01-18 Juergen Vigna <jug@sad.it>
1178 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
1180 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1182 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
1184 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
1187 2002-01-17 Juergen Vigna <jug@sad.it>
1189 * insettabular.C (lockInsetInInset): same change as in insettext.
1191 * insettext.C (draw): width() function was called without setting
1192 the right top_x which could lead to wrong insetWidth setting!
1193 (lockInsetInInset): call edit instead of calling lockInset if we
1194 have to lock an inset inside!
1195 (edit): we have to also tell the inset that we have to redraw the
1196 frame on an edit call if this inset draws a frame only if locked.
1198 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1200 * insetbib.C (getFiles): uncomment Path variable.
1202 2002-01-16 Juergen Vigna <jug@sad.it>
1204 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
1207 2002-01-16 Allan Rae <rae@lyx.org>
1209 * insetinclude.C (docbook): someone forgot a ";"
1211 2002-01-16 José Matos <jamatos@fep.up.pt>
1213 * figinset.C (docbook): removed a old place holder "@".
1214 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
1215 * insetinclude.C (linuxdoc): if include is verbatim, then export the
1216 ascii text version, clearly guarded inside a CDATA section.
1217 (docbook): in docbook 4, inlinegraphics is empty.
1218 * insettabular.C (linuxdoc): export the ascii version of the table
1219 inside a CDATA section.
1221 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1223 * insetparent.C (InsetParent):
1224 * insetgraphicsParams.C (Write):
1226 * insetgraphics.C (prepareFile):
1229 * insetexternal.C (executeCommand):
1230 (doSubstitution): use Buffer::filePath
1232 * insetbib.C (getFiles): add a #warning for Angus
1234 * insetgraphics.C: Add a remark about how filenames should be
1235 considered to be relative to buffer (but absolute is still allowed)
1236 (draw): do not try to get status if lyxrc.use_gui is false
1238 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1241 * insetcollapsable.[Ch]:
1242 * insettabular.[Ch] (searchForward, searchBackward): change the
1243 bool const & params to bool.
1245 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
1246 to avoid the name clash with InsetCollapsable's methods of the same
1247 names but different functionality.
1249 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1251 * insettext.C (ascii): use lyx::count rather than countChar.
1253 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
1255 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
1257 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1259 * insetgraphics.C (updateInset): do not try to render image if
1260 lyxrc.use_gui is false (bug #104)
1262 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
1263 if file does not exist
1265 * figinset.C (browseFile): add shortcuts to directory buttons
1267 * insettext.C (updateLocal): update menubar and toolbar here too.
1269 2002-01-13 Allan Rae <rae@lyx.org>
1271 * insettabular.C (InsetTabular): Both constructors now initialise
1272 all class variables.
1274 2002-01-11 Juergen Vigna <jug@sad.it>
1276 * insettext.C (insetButtonPress): set the_locking_inset to 0.
1278 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1280 * insettabular.C (getStatus): add forgotten brace around multiline
1283 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1285 * insetfloat.C (validate): require "float" instead of "floats".
1287 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
1289 * insettabular.C (getStatus): use FuncStatus
1291 2002-01-08 Juergen Vigna <jug@sad.it>
1293 * insettabular.C (insetButtonRelease): now this should work too
1296 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
1297 if the width is a percentage.
1299 * inset.h: added isChar() function and implemented this for
1300 insetspecialchar insetquotes and insetlatexaccent.
1301 added forceDefaultParagraphs() and implemented it for insettabular.
1303 2002-01-07 Juergen Vigna <jug@sad.it>
1305 * insettext.C (getLyXText): Fixed this function. An insert into the
1306 map is only done if we REALLY have a new BufferView.
1308 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
1310 * insettext.C: fix bug illustrated by attachment #37 of bug #59
1312 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1314 * insetinclude.C: fix use of FileInfo
1316 2002-01-07 Juergen Vigna <jug@sad.it>
1318 * insettabular.C (draw): fixed clearing of cell around inset.
1320 2002-01-05 Juergen Vigna <jug@sad.it>
1322 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
1323 variables are updated.
1325 * insettabular.C (resetPos): set always the inset_y as it may be
1326 needed in another function.
1327 (searchBackward): don't draw while searching.
1329 2002-01-04 Juergen Vigna <jug@sad.it>
1331 * insettext.C (lockInsetInInset): forgot to set a cursor.
1333 2002-01-02 Juergen Vigna <jug@sad.it>
1335 * insettext.C (insertInset): make the correct undo informations on
1336 inserting new insets.
1338 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
1340 * insettabular.C: correct single-cell select vertically
1342 2001-12-27 Juergen Vigna <jug@sad.it>
1344 * insettabular.C (ascii): export as tab-separated-values if the
1345 function was not called from export (f.ex.: clipboard).
1347 * insetcollapsable.h: added default support for ascii, linuxdoc and
1348 docbook export (the insettext is exported by default!)
1350 * insettabular.C (copySelection): suff the clipboard with the tabular
1351 data in a tab separated format, seems more naturals then with all the
1354 2001-12-24 Juergen Vigna <jug@sad.it>
1356 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
1357 to check for REAL mouseMotion.
1359 2001-12-20 Juergen Vigna <jug@sad.it>
1361 * inset.C (cursor): return the owners cursor if available instead of
1362 always only the bv->text->cursor.
1364 * insettabular.C (checkLongtableSpecial): works now.
1366 2001-12-19 Juergen Vigna <jug@sad.it>
1368 * insettabular.C (tabularFeatures): fix the row setting of ltt as
1369 this has to be always row + 1 as 0 means not selected!
1370 (checkLongtableSpecial): added
1371 (tabularFeatures): better longtable options support
1373 * insettext.C (resizeLyXText): reinit the text always also on a
1376 2001-12-18 Juergen Vigna <jug@sad.it>
1378 * insettext.C (updateInsetInInset): look if we have to autocollapse
1379 paragraps and return if the update is requested for ourself.
1381 * insetert.C (status): update the insettext not myself as that is what
1384 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
1385 function only return if the update was requested with myself.
1387 * insettext.C (insetButtonPress): fixed stupid bug.
1388 (various functions): pay attention that lt is cleared BEFORE calling
1389 updateLocal() and try to use it in the right manner (don't use it
1390 if it's not really neccessary!)
1391 (collapseParagraphs): insert a blank between collapsing paragraphs
1392 if neccessary (not already there!).
1394 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1396 * insettabular.C: move includes around a bit, add a couple of
1399 * insettext.[Ch]: move includes around a bit, other ws changes and
1402 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1404 * insettext.C (insetButtonRelease): fix compile problem
1406 2001-12-17 Juergen Vigna <jug@sad.it>
1408 * insettext.C (insetButtonPress): set the selection cursor!
1409 (insetButtonPress): clear the selection (and set with that the
1410 selection.cursor) if we only hit an inset!
1412 * insetert.C (read): removed piece of compatibility code only needed
1415 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
1418 * insetcollapsable.C (insetButtonRelease): changed so that it can
1419 open eventual existing popup dialogs on mousebutton==3.
1421 * insetfloat.C (insetButtonRelease): removed not needed anymore!
1423 * insetminipage.C (insetButtonRelease): removed not needed anymore!
1425 * inset.C (insetButtonRelease): return a bool for telling the outer
1426 world that we opened a dialog.
1428 2001-12-07 Juergen Vigna <jug@sad.it>
1430 * insettext.C (paragraph): remove the deleteing of paragraphs as
1431 it was a WRONG move!
1433 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1436 * insettabular.C: use new setSelection(). Allow
1437 selection of single cells.
1439 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1441 * insetquotes.C (latex): fix to use the local language setting at
1442 the point where the inset is inserted (different macros for
1443 different french packages)
1445 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1447 * inset.h: add par_owner_ member variable and parOwner
1450 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1452 * insettabular.C (everywhere): adapt because widths are now real
1453 widths and not strings
1455 * insettext.C (draw): re-introduce the calls to width(), ascent()
1456 and descent() to initialize the caching variables.
1458 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1460 * insettext.C (draw):
1461 (drawFrame): use insetWidth instead of last_width
1463 * insettext.h: remove variable last_width (insetWidth is exactly
1464 the same) and last_height (computed but never used!)
1466 2001-12-10 Allan Rae <rae@lyx.org>
1468 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
1470 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1472 * insettext.C (insetAllowed): add comment
1474 2001-12-05 Juergen Vigna <jug@sad.it>
1476 * insettext.C (insetAllowed): fixed for the case that we directly
1477 ask the insettext from its LyXText.
1478 (paragraph): fixed the crash when assigning the par->next() from
1479 the EmptyParagraphMechanism!
1481 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1485 * insettext.C: change "while(" to "while ("
1487 2001-12-04 Juergen Vigna <jug@sad.it>
1489 * insetert.C (edit): handle Inlined status.
1491 * insettext.C (insertInset): trying John's fix for the trailing cursor
1493 * insetert.C (insetButtonPress): added to handle inlined status
1494 (insetMotionNotify): ditto.
1496 * insettext.C (clearInset): changed Painter & in BufferView * param,
1497 to be able to call ascent,descent methods.
1499 2001-12-03 Juergen Vigna <jug@sad.it>
1501 * insettext.C (updateInsetInInset): use lt variable to forbid
1502 changes of LyXText in an update call.
1503 (updateInsetInInset): fixed updating of non locked insets!
1505 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1507 * insettabular.C: capture some more functions to prevent
1508 selection drawing problems. Bug #451274
1510 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1513 * insetgraphicsParams.C: fix inverted sense of float_equal
1515 2001-11-30 Juergen Vigna <jug@sad.it>
1517 * insettabular.C (InsetTabular): use the save_id flag to create also
1518 the tabular with the same id's.
1520 * insettext.C (setParagraphData): added a same_id function for undo
1521 to set the same paragraph id's as of the paragraph we are setting.
1523 2001-11-30 José Matos <jamatos@fep.up.pt>
1526 * insettoc.[Ch]: DocBook -> docbook.
1528 2001-11-29 André Pönitz <poenitz@gmx.net>
1531 * insettext.C: further reduction of header dependencies by using
1532 lyx::layout_type and lyx::textclass_type from support/types.h
1534 2001-11-29 Juergen Vigna <jug@sad.it>
1536 * insettext.C: inserted a reinitLyXText function everywhere I delete
1537 the paragraphs! This should fixe the crashes we had.
1538 Also use the new function firstRow() instead of getRowNearY(dummy_y)
1539 (paragraph): set the InsetOwner() of the new paragraphs!
1541 2001-11-28 André Pönitz <poenitz@gmx.net>
1543 * insetnote.C: add pos initialization that I removed without
1546 2001-11-28 Juergen Vigna <jug@sad.it>
1548 * insettabular.C (resetPos): hack to not crash with infinite paints.
1550 * insettabular.h: insert missing function allowSpellcheck()!
1552 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
1554 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1557 * insetfloatlist.C: derive from InsetCommand so gui can use it
1560 2001-11-26 André Pönitz <poenitz@gmx.net>
1564 * insetnote.C: reduce header dependencies, introduce type for
1567 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1569 * various: update for Alert.h
1571 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
1573 * inset.h: fix comment
1575 * insettext.C: use par->isInset()
1577 2001-11-22 Allan Rae <rae@lyx.org>
1579 * insetcollapsable.h:
1580 * inset.h: Changes to checkInsertChar() behaviour.
1581 Now return value indicates whether chars can be inserted.
1583 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
1585 * various: updated to use the new LaTeXFeatures
1587 2001-11-14 José Matos <jamatos@fep.up.pt>
1589 * insetspecialchar.C (linuxdoc):
1590 (docbook): don't give a name to a unused variable.
1592 * insettext.C (docbook): removed unused variable.
1594 2001-11-13 Herbert Voss <voss@perce.de>
1596 * insetgraphic.C: fix scale bug
1598 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1600 * inset.h (isSpace):
1601 (isLetter): new virtual methods.
1603 * insetspecialchar.C (isSpace):
1604 (isLetter): implement here.
1606 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1608 * inset.h: new inline helpers
1610 * insettext.C: use new helpers
1612 2001-11-07 José Matos <jamatos@fep.up.pt>
1614 * insettext.C (docbook): full support for paragraphs inside insettext.
1616 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
1618 * insetindex.C: added header file for std::ostream.
1620 2001-11-03 José Matos <jamatos@fep.up.pt>
1622 * insetindex.C: added using std::ostream that I forgot yesterday.
1624 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
1626 * insetindex.h (docbook):
1627 * insetindex.C (docbook): added support for docbook export.
1629 2001-11-02 José Matos <jamatos@fep.up.pt>
1631 * insetcaption.C(docbook): added support for docbook export.
1633 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
1635 * insetexternal.C (updateExternal): Do not run update command if
1636 result file exists and is up to date.
1638 * ExternalTemplate.C (readFormat): Support the updateresult token.
1640 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
1642 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
1643 external_templates) to use the buffer->fileName() but only if
1644 previewing. Generating a TeX file should make FPath return
1647 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
1650 * insetert.C: fix some problems
1652 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
1654 * insetexternal.C (doSubstitution): Added $$FPath token
1655 to list of usable substitutions in external inset templates.
1657 2001-10-24 Juergen Vigna <jug@sad.it>
1659 * insettabular.C: use new ltType struct for setting longtable
1660 header and footers also new UNSET enums.
1662 2001-10-24 José Matos <jamatos@fep.up.pt>
1664 * insettabular.C (linuxdoc): Now exports the ascii's table version.
1665 (docbook): If the table is not inside a float then wrap it inside
1666 <informaltable>...</informaltable>.
1668 2001-10-23 José Matos <jamatos@fep.up.pt>
1670 * insetref.C (docbook): removed / terminator to conform SGML.
1672 * insetspecialchar.C (linuxdoc):
1673 (docbook): Added support for special chars, more than ascii export.
1675 2001-10-22 Juergen Vigna <jug@sad.it>
1677 * insettext.C (checkInsertChar): added for REALLY checking the
1678 font of the inserted char in the right inset!
1680 2001-10-19 Juergen Vigna <jug@sad.it>
1682 * inset.h: added method allowSpellcheck() so that insets who do
1683 not have anything to spellcheck can tell and so they are over-jumped.
1684 Implemented for InsetText and co.
1686 2001-10-18 Juergen Vigna <jug@sad.it>
1688 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
1690 2001-10-15 José Matos <jamatos@fep.up.pt>
1692 * insetert.C: allow export for docbook and linuxdoc
1694 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1696 * insetquotes.C (dispString): handles latin3 and latin4 quotes
1698 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1700 * insetquotes.C (dispString): fix handling of latin9 quotes
1702 2001-10-03 Juergen Vigna <jug@sad.it>
1706 * insetcollapsable.C: change updateInset calls to not tell BV that
1707 we have changed status.
1709 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1711 * insettabular.C (deletable): make const
1713 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
1715 * insetert.C (latex): Fix the returned value
1717 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1719 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
1720 Returns string(), so nothing in an ERT inset is spellchecked.
1722 * insetgraphics.C (draw): print the filename if not displaying the
1724 (width): make sure that the width and draw methods are consistent.
1725 (updateInset): don't even load the image into cache if not displaying
1728 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1730 * various files (selectNextWord): renamed as
1731 selectNextWordToSpellcheck.
1733 * insetgraphics.C (draw): remove the previous change. Right place
1734 is in imageLoaderXPM.C.
1735 (draw): don't display the image if params.display == NONE.
1737 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
1739 * figinset.C (runqueue):
1740 * insetgraphics.C (draw): set background colour of inset from
1741 background to the user-configurable graphicsbg.
1743 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1745 * insetquotes.C (InsetQuotes): when trying to decide the side of
1746 the quote, choose `left' only after a space or '('
1748 2001-09-04 José Matos <jamatos@fep.up.pt>
1753 * insetcollapsable.h
1771 * insetlatexaccent.C
1772 * insetlatexaccent.h
1777 * insetspecialchar.C
1778 * insetspecialchar.h
1782 * insettext.C (docbook): rename docBook method to docbook.
1784 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
1786 * inset.h (getFirstParagraph): New virtual method.
1788 2001-08-20 Herbert Voss <voss@perce.de>
1789 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
1790 in the the bibtex-database-gui for inserting a line
1793 If no style is given than there is no tex-output.
1795 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
1797 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
1801 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
1803 * insetert.C (latex): Fix output for multiple paragraphs.
1804 (write): New code for writing paragraph data.
1805 (read): Set font after reading the inset.
1806 (localDispatch): Call set_latex_font() for more cases.
1808 * insetnote.h: Add empty validate method.
1811 * insetnote.C (InsetNote): Set language to the language of the
1814 2001-08-16 Juergen Vigna <jug@sad.it>
1816 * insettext.C: implemented the new FINISHED states.
1818 * insettabular.C: ditto
1820 * inset.h: added more FINISHED states for cursor right,up,down
1822 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1824 * insetfloatlist.C: use "FloatName List"
1826 2001-08-14 Juergen Vigna <jug@sad.it>
1828 * insetert.C (edit): forgot to set status_ in edit calls!
1830 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
1832 * insettext.C: Compilation fix
1834 2001-08-13 Juergen Vigna <jug@sad.it>
1836 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
1838 * insetcollapsable.C (edit): don't recollapse an already open inset.
1840 * insettext.C: fixed problem when reinitializing LyXText by not doing
1841 it while lt is in use and post this to the next possible time in
1843 (searchForward): fixed not unlocking of inset if nothing found.
1844 (edit): set cursor behind right (was set -1 pos).
1846 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
1848 * insettabular.C (tabularFeatures): fixed fix where deleting the
1849 last row didn't get the right actcell!
1851 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
1853 * insettext.C (localDispatch): Change language only when the inset
1856 2001-08-10 Juergen Vigna <jug@sad.it>
1858 * insettabular.C (selectNextWordInt): use the front using edit call.
1860 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
1861 the parameter overwrite class variable inset.
1863 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
1865 * insettext.C (saveLyXTextState): check for invalid cursor-par.
1866 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
1868 * insettabular.C (calculate_dimensions_of_cells): let's try to call
1869 update only for fixed with cells.
1870 (resetPos): try to fix the lockup on spellchecking or s&r.
1872 * insettext.C (update): comment this out as it seems first wrong
1873 and second not needed anymore!
1874 (some functions): call reinitLyXText() only in update() in all other
1875 positions set only need_update = INIT.
1877 2001-08-08 Juergen Vigna <jug@sad.it>
1879 * insettabular.C (setPos): fixed wrong actrow < rows() check.
1881 * insettext.C (insetUnlock): remove double-space on inset unlock.
1883 * insetcollapsable.C (draw): fix returned x when label > inset-width.
1885 * insettabular.C (update): fixed cursor positon after an insert.
1886 (insetAllowed): do not allow to insert insets when not inside the
1888 (draw): clear below an inset too as it could have changed height.
1890 * inset.C (getMaxWidth): fixed width for inset in inset.
1892 * insettext.C (update): small fix.
1894 * insettabular.C (tabularFeatures): added selection support to
1895 DELETE_ROW/DELETE_COLUMN.
1897 2001-08-07 Juergen Vigna <jug@sad.it>
1899 * inset.C (getMaxWidth): recoded and all it's implementations!
1901 * insettext.C (init,setParagraph+constructors): cleanups
1902 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
1903 are new and I want do a save/restore of the cursor position which is
1904 not possible anymore.
1906 * insetcollapsable.C (searchBackward): recollapse inset if not found.
1907 (searchBackward): ditto
1908 (selectNextWord): ditto
1910 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1912 * insetlatexaccent.C (checkContents): Add some debug messages
1914 2001-08-07 Juergen Vigna <jug@sad.it>
1916 * insetert.C (read): don't use InsetCollapsable::read as we don't
1917 write the collapsed status anymore only the status.
1920 2001-08-06 Juergen Vigna <jug@sad.it>
1922 * insetert.C (set_latex_font): use LyXText's setFont directly.
1924 * insettext.C (drawFrame): fixed one time more the right position
1925 and size of the frame!
1927 * insetert.C (~InsetERT): hide the dialog.
1928 (showInsetDialog): added implementation
1931 (status): new function for the status of the ERT inset (3-state).
1932 (write): output also the status of the inset for readback!
1933 (read): readback the status if available otherwise use collapsed_.
1935 * insettext.C (edit): small fix of setting the position, which could
1938 * insetert.C (width): implement this function for inlined viewing.
1939 Added minimum width of 10 pixels!
1941 * insetminipage.C (InsetMinipage): just change the colors a bit so
1942 that border/background is a bit more visible. We will remove this
1945 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
1946 function for getting the important widths for drawing in various
1947 functions and in LyXText.
1948 (draw): fixed up a bit (frame drawing/clearing)
1950 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1952 * inset.C (convertFont): delete method. not used.
1954 2001-08-03 Juergen Vigna <jug@sad.it>
1956 * insettext.C (setFont): don't call for a draw update if we're just
1957 changing the cursor font!
1959 2001-08-02 Juergen Vigna <jug@sad.it>
1961 * insettext.C (draw): clear the background with the right color if
1962 needed. Update myself if x&max-width changed and return without doing
1963 anything. Let the update code handle the right stuff.
1965 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
1966 inside another inset.
1968 2001-08-01 Juergen Vigna <jug@sad.it>
1970 * insetcollapsable.C (update): added an in_update bool so we avoid
1973 * insettabular.C (update): added an in_update bool so we avoid
1976 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
1978 (update): added an in_update bool so we avoid reentering.
1980 * insettabular.C (localDispatch): clear col/row selection when doing
1981 something else inside an inset.
1983 * insettext.C (getLyXText): fixed bug when requesting a recursive
1986 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1988 * insetcite.C (latex): Paranoia check. Make sure that there is no
1989 whitespace between the citation keys.
1991 2001-07-31 Juergen Vigna <jug@sad.it>
1993 * inset.h (nodraw): make the set function also const so that this
1994 can be called from inside other const functions.
1996 * insetcollapsable.h: removed inline variable and moved it over
1997 to the only user InsetERT.
1999 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
2000 inset opening immediately therein lying insets dialogs!
2002 * insetert.C (localDispatch): set the font also if we don't have any
2003 chars in this paragraph, otherwise if we delete all of em and start
2004 writing we have the wrong font.
2006 (draw): implemented for inline support
2007 (insetButtonRelease): ditto.
2009 2001-07-30 Juergen Vigna <jug@sad.it>
2011 * insettext.C (reinitLyXText): new function to reinit the insets
2012 text after lot's of paragraph changes. Use this instead of the
2013 cache.clear() which is VERY dangerous.
2015 * insetfloat.C (insetButtonRelease): we should only show the dialog
2016 if we press on the label otherwise we have problems to open mouse
2017 button 3 dialogs inside this float (f.ex. of a tabular!)
2019 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2021 * insetert.C: change back to "ERT"
2023 * insetfloat.C: handliign of RMB on label added.
2025 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2027 * insetgraphicsParams.C: #include LOstream.h here.
2029 * insetfoot.h: remove InsetFoot:: qualifier.
2031 2001-07-29 Baruch Even <baruch@lyx.org>
2033 * ChangeLog: Hiding time travel evidence.
2035 * insetgraphicsParams.h:
2036 * insetgraphicsParams.C:
2037 * insetgraphics.C: Added horizontal scale option, it actually scales both
2038 directions since it keeps image proportions.
2040 * insetgraphics.C: Fixed EPS detection to be non-hacky.
2042 2001-07-29 Baruch Even <baruch@lyx.org>
2044 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
2045 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
2047 HACKY! Will need to add an EPS detection routine like old InsetFig does!
2049 2001-07-29 Baruch Even <baruch@lyx.org>
2051 * insetgraphics.C: Added EPSI to be an alias of EPS.
2053 2001-07-29 Baruch Even <baruch@lyx.org>
2055 * insetgraphics.C: Change GRAPHICS to Graphics.
2056 Changed image conversion rules (documented at the beginning of file).
2058 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
2060 * insetert.C (get_new_label): int -> Paragraph::size_type to get
2063 * insetgraphics.C: added a using std::endl directive.
2065 * insetcommand.h (getScreenLabel): removed pure virtual function,
2066 as it duplicates that in InsetButton.
2068 * insetbib.[Ch] (getScreenLabel):
2069 * insetbutton.[Ch] (getScreenLabel):
2070 * insetcite.[Ch] (getScreenLabel):
2071 * insetert.[Ch] (getScreenLabel):
2072 * insetexternal.[Ch] (getScreenLabel):
2073 * insetfloatlist.[Ch] (getScreenLabel):
2074 * insetinclude.[Ch] (getScreenLabel):
2075 * insetindex.[Ch] (getScreenLabel):
2076 * insetlabel.h (getScreenLabel):
2077 * insetparent.[Ch] (getScreenLabel):
2078 * insetref.[Ch] (getScreenLabel):
2079 * insettoc.[Ch] (getScreenLabel):
2080 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
2082 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
2084 (validate): remove check on "cite" when using natbib.
2086 2001-07-26 Baruch Even <baruch@lyx.org>
2088 * insetgraphics.C (draw): changed casting to be in one place rather than
2089 all over the function.
2092 * insetgraphics.C (read): Added compatibility reads of InsetFig.
2094 * insetgraphicsParams.h:
2095 * insetgraphicsParams.C:
2096 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
2098 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
2100 * insetfoot.C (validate): Added method to ensure that the
2101 right bit of LaTeX is emitted.
2103 * insetfoot.h: Added validate method to set the correct
2104 LaTeXFeatures bit for the special footnote code.
2106 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2108 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
2111 2001-07-27 Juergen Vigna <jug@sad.it>
2113 * inset.h: remove not used font variable in parameter.
2114 removed checkInsertChar in UpdatableInset as it was equal to
2115 the one in Inset and so not needed.
2117 * insetert.C (checkInsertChar): implementation of function
2120 * inset.h: added new function checkInsertChar.
2122 * various files: added c-tor and clone() function.
2124 * insetcollapsable.h: removed clone function here as this should
2125 be only realized in REAL insets and added it to all collapsable
2126 insets! (with the copy-constructor).
2128 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2130 * insetminipage.C (read): handle missing parameters more gracefully
2132 * insetcollapsable.C (read): handel missing collapsed more gracefully
2134 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2136 * insetfloat.C (read): handle missing parameters.
2138 * insettext.C (read): handle old latex end_inset
2140 * insetert.C (setButtonLabel): new method
2141 (init): use it, to set the dynamic label correctly
2144 * Makefile.am (EXTRA_DIST): add files that is not part or the
2147 * insetcollapsable.h: remove autocollapsable (no users), remove
2148 draw_label, change_label_with_text and companion code. Remove args
2150 * insetert.[Ch]: move here instead (only user)
2152 * inset.h: rename private variable name to name_, make
2153 selectNextWord return a const string. make getInsetName return a
2154 string const &. Remove bool from open, add close.
2156 * Makefile.am: don't compile insetlist, insetsection
2159 2001-07-24 Juergen Vigna <jug@sad.it>
2161 * insetert.C (InsetERT): put init after the paragraph initialization,
2162 as otherwise we don't set the draw_label right.
2164 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
2165 insets with the mouse without having strange selections.
2166 (edit): if the inset was collapsed and we open it here then put the
2167 cursor always at the beginning of the inset.
2168 (get_new_label): 15 instead of 10 max chars in the label.
2170 * insetert.C (localDispatch): added and handle various stuff we
2171 need to handle here (font setting on paragraph break, not permitted
2172 layout setting, etc.).
2174 * inset.h: added default copy-consturctor and implemented this in
2175 various insets with the change to use this in the clone function!
2177 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2179 * insetminipage.C (InsetMinipage): set background color to red :)
2181 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2183 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
2184 draw frame mode is LOCKED.
2186 * insetcollapsable.C (edit):
2187 (insetButtonRelease): set update status to full when
2190 * insettext.C (clearInset):
2191 * insettabular.C (draw):
2192 * insetlatexaccent.C (draw): honor background color.
2194 * inset.h: new member background_color_, initialized to
2197 * inset.C (backgroundColor): new method.
2198 (setBackgroundColor): new method.
2200 * insetert.C (init): new method, called by the ctors.
2201 (InsetERT): when inserting contents, make sure the font is
2204 * insetnote.C (InsetNote): when inserting content, remove trailing
2206 (init): set background color to LColor::note
2208 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2210 * insetcollapsable.C: adjust
2212 * insetbutton.C: adjust
2214 2001-07-23 Juergen Vigna <jug@sad.it>
2216 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
2217 parameter on the _collapsed function (was not needed) and call
2218 always width_collapsed().
2220 * insetert.C (InsetERT): use setLabel with "true" flag.
2222 * insetcollapsable.C: modified various functions to set the draw_label
2223 string right in any condition.
2224 (setLabel): added a bool parameter to set change_label_with_text.
2226 * insetcollapsable.h: added draw_label string which is set to the
2227 actual drawn label-string, while label is the original static label
2228 of this collapsable inset. Added bool change_label_with_text to set
2229 if we want that the label changes to the start of the InsetText's
2230 text when collabpsed. You can set this flag with the setLabel funciton.
2231 Added bool inlined for inlined collapsable insets, but not handled
2234 * insetcollapsable.C (get_new_label): added should get a new label
2235 from the InsetText beginning (for now 10 chars).
2237 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2239 * insetquotes.C (latex): fix the handling of french double quotes
2240 when not using the french pachage.
2242 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2244 * insetcollapsable.h: make WidthCollapsed mutable.
2246 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
2247 InsetPrintIndex returns INDEX_PRINT_CODE.
2249 * inset.h: add INDEX_PRINT_CODE
2251 * insetcollapsable.C (draw): init widthCollapsed if necessary
2254 * insetquotes.C (width): use the local language, not the document
2257 (dispString): add additional spacing for all french languages,
2259 (validate): make it work when there is no default language
2261 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
2263 * insetnote.C (init): new method, called by the constructors
2264 (InsetNote): new constructor with contents passed as a string
2266 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2268 * insetfootlike.C (insetAllowed): disallow float in footlike.
2270 * insetert.C (InsetERT): add collapsed argument to the constrctor
2273 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2275 * insetindex.h: shut off warning
2277 2001-07-20 Juergen Vigna <jug@sad.it>
2279 * insetcollapsable.C (update): recoded hopefully works now!
2281 2001-07-19 Juergen Vigna <jug@sad.it>
2283 * most files: implemented the below new introduced function.
2285 * inset.h: added new edit(BufferView *, bool front) method to be able
2286 to enter an inset from the front/back without knowing x/y positions
2287 and baselines inside the inset. So I just can tell the inset activate
2288 me and set the cursor on the front/back of yourself.
2290 2001-07-18 Juergen Vigna <jug@sad.it>
2292 * insetcollapsable.C (edit): fixed hopefully the y parameter which
2293 is given to the InsetText.
2294 (insetButtonPress): ditto
2295 (insetButtonRelease): ditto
2296 (insetMotionNotify): ditto
2298 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2300 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
2301 LIGATURE_BREAK, since the name is so stupid.
2303 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2305 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
2306 the default InsetCollapsable methods. I.e., it can insert anything.
2307 (write) output the name of the inset, not some silly hack for
2308 compatability with the old InsetInfo.
2310 * insetinfo.[Ch]: removed.
2311 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
2312 now collapsable, but functionality is otherwise identical to InsetInfo.
2314 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
2316 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2318 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
2321 * insetquotes.C: general cleanup
2322 (dispString): add spaces inside french double quotes.
2323 (latex): ditto. Moreover, treat first the case where the frenchb
2324 or french options have been given.
2326 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
2328 * insetcite.[Ch] (latex, validate): new methods, required for natbib
2331 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
2333 * figinset.C (RegisterFigure): Print debug message only when
2334 current_view is available.
2336 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2338 * many files: update to match the change below
2340 * inset.h (insetAllowed): renamed from insertInsetAllowed;
2341 implement the version which takes an inset here.
2343 * insetcollapsable.[Ch]: implement open and isOpen
2345 * inset.h: remove insertInsetAllowed from Inset
2346 (open): new method, to open or close an inset
2347 (isOpen): returns the status of an inset
2348 (isCollapsable, colapse): removed
2350 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2352 * insetquotes.C (dispString): display french guillemets when using
2355 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2357 * insetcollapsable.h: remove bogus return statements
2359 2001-07-18 Juergen Vigna <jug@sad.it>
2361 * insettabular.C (selectNextWord): fixed spellchecking for the
2362 first cell of a tabular (wasn't entered!)
2363 (getLyXText): changed to enter automatically insettext and return
2364 it's LyXText if we're locked.
2366 2001-07-17 Juergen Vigna <jug@sad.it>
2368 * various files: implemented the below functions.
2370 * inset.h: added functions
2371 - virtual string selectNextWord(BufferView *, float & value) const;
2372 - virtual void selectSelectedWord(BufferView *) { return; }
2373 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
2374 needed for spellchecking correctly!
2376 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
2378 * insetert.C (latex): write out all paragraphs.
2380 2001-07-17 Baruch Even <baruch@lyx.org>
2382 * insetgraphics.C (draw): Removed unneeded casts.
2384 2001-07-16 Juergen Vigna <jug@sad.it>
2386 * insettext.C (update): fixed small oversight (reset lt to 0).
2388 2001-07-14 Baruch Even <baruch@lyx.org>
2391 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
2393 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
2395 Consistent use of Lsstream.h:
2396 * figinset.C: removed using std::ostringstream directive.
2398 * insetgraphics.C (createLatexOptions):
2399 * insetinclude.C (unique_id):
2400 std::ostringstream -> ostringstream.
2401 * insettext.C (localDispatch): std::istringstream -> istringstream.
2403 2001-07-13 Juergen Vigna <jug@sad.it>
2405 * insetfloat.C (insertInsetAllowed): added missing const_cast.
2407 * insetcollapsable.C (getLockingInset): ditto.
2409 2001-07-12 Juergen Vigna <jug@sad.it>
2411 * insetcollapsable.h: added implementation of new function for
2414 * various files: added implementation of new insertInsetAllowed-func
2415 and redone the function a bit more.
2417 * inset.h: added isCollapsable(), bool collapsed(),
2418 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
2420 * insetfloat.C (insertInsetAllowed): make a bit more checks.
2422 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
2423 LyXText which is marked for removal while we're using it!
2425 * insettext.h: added private LyXText * lt to use it to assure we are
2426 not deleting our LyXText while we're using it!
2428 2001-07-11 Juergen Vigna <jug@sad.it>
2430 * insettext.C (insertInset): check if we are before the inset after
2431 inserting it! This check IS needed. Remove the Undo-Call as it is
2432 called in LyXText::insertInset!
2434 * insettext.h: added struct InnerCache.
2436 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
2437 that we ONLY delete the LyXText in the getLyXText() routine. So we
2438 are sure we don't delete LyXText while someone is working with it!
2440 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2442 * insetexternal.C: (*it). -> it->
2443 * insettext.C: ditto
2445 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2447 * insetcollapsable.C (edit): always open collapsed insets (even if
2448 they are not autocollapsable)
2450 * insetcommand.C (operator=): simplify.
2452 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2454 * insetert.C (latex): handle META_NEWLINE
2456 2001-07-09 Juergen Vigna <jug@sad.it>
2458 * insetert.h: a normal InsetText can insert insets, but we won't.
2460 * inset.h: return default "false" on insertInsetAllowed and implement
2461 this function where a returnvalue != "false" is needed.
2463 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2465 * insetert.C (InsetERT): new contructor
2467 2001-07-06 Juergen Vigna <jug@sad.it>
2469 * a lot of files: added implementation of the below new functions
2470 and the change to clone(). Also the call of the new undo-functions
2473 * inset.h: added an inset_id, added functions getParFromID,
2474 getInsetFromID, firstParagraph, cursor and id functions, added
2475 bool same_ids to clone function.
2477 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2479 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
2480 of BufferView * and shared_ptr<LyXText>
2482 2001-07-05 Juergen Vigna <jug@sad.it>
2484 * insettext.C (clear): deleted also the cache not only LyXText.
2485 (setParagraphData): ditto.
2487 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2489 * insetfloat.C (latex): let the specific placement take presedence
2490 if set, otherwise choose document placement if set, otherwise just
2491 use float default placement.
2493 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2495 * insettext.C (localDispatch): call CutAndPaste::'s static method
2498 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2500 * insetbib.C: no meed to include forms.h here.
2502 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
2504 * insettext.C: added using std::make_pair directive.
2506 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2508 * insettext.C (getLyXText): avoid multiple lookups, and simplify
2510 (deleteLyXText): ditto
2511 (resizeLyXText): ditto
2513 2001-07-02 Juergen Vigna <jug@sad.it>
2515 * insettext.C (getLyXText): introduce a cache in getLyXText so that
2516 following calls are only returned the right pointer without the over
2517 head to search in the map.
2518 (various funcs): reset the cached_bview variable as this signs that
2519 the cache is not valid anymore.
2521 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2523 * insettabular.C (clone): do not copy the LyXTabular twice
2525 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2527 * insettext.h (TEXT): delete method
2529 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2531 * insetmarginal.C (latex):
2532 * insetfoot.C (latex): fix spacing of notes in LaTeX
2534 * insettext.C (localDispatch): use .c_str() on istringstream
2535 constructor argument.
2537 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
2542 * inseturl.C: fix method names in these to begin
2543 with small char too, so they inherit
2545 2001-06-28 Juergen Vigna <jug@sad.it>
2547 * insettext.C (setFont): fixed font settings using toggleFree()
2548 instead of setFont().
2550 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
2552 * Change a lot of method names to begin with a small char.
2553 Changes to a lot of files because of this.
2555 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2557 * insetfloatlist.C (Write): std:: qualify ostream
2560 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
2564 * insetgraphics.C: send debug output to Debug::INFO instead of
2567 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
2570 * insettabular.C (getStatus): update to use func_status
2572 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
2574 * insetref.C (DocBook): added support for cross-references without
2577 2001-06-26 The LyX Project <jug@sad.it>
2582 * insetlabel.h: removed escape method and moved it to
2585 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2587 * insettabular.C (getMaxWidth): do the speedup in a different way,
2590 2001-06-24 The LyX Project <Asger>
2592 * insettabular.C (getMaxWidth): We cache a mapping from
2593 inset to cell in order to speed this method up.
2595 2001-06-24 The LyX Project <Asger>
2597 * insettext.C: Optimized InsetText::draw or something.
2599 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
2601 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
2603 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
2605 * inset.h: name change from lyxinset.h
2607 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
2609 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
2611 2001-06-14 Juergen Vigna <jug@sad.it>
2613 * insettext.C (draw): removed warnings.
2615 2001-06-13 Juergen Vigna <jug@sad.it>
2617 * insettabular.C (nodraw): only go down the tree if we don't have
2618 that flag set otherwise it's obvious that we don't want to draw.
2619 (LocalDispatch): do also an update if we have an undispached result.
2621 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
2624 * insetgraphicsParams.C:
2625 * insettext.C: removed // -*- C++ -*- as first line.
2627 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2629 * lyxinset.h (resizeLyXText): shut off warning about unused
2632 2001-06-07 Juergen Vigna <jug@sad.it>
2634 * insettext.C (resizeLyXText): honor the new force flag.
2636 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
2638 * insettabular.C (deleteLyXText): new function
2640 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
2648 * insetcollapsable.C:
2649 * insetcaption.C: LColor tidy
2651 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2653 * figinset.C: fix typo
2655 2001-06-01 Juergen Vigna <jug@sad.it>
2657 * insettabular.C (resetPos): small hack so that scroll is not set to
2658 0 when we are in the last column of a tabular. This is a problem we
2659 have because of constats 20 offset on both directions, so this can
2660 cause on the limit an endless loop.
2662 * insettext.C (SetFont): forgot that we can have locking insets ;)
2664 2001-05-31 Juergen Vigna <jug@sad.it>
2666 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
2668 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2670 * figinset.C: add using std:: directive for the C functions which
2673 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
2675 * insetfloat.C (Write): write out wide info
2676 (Read): read the wide info
2677 (Latex): use the wide info when creating latex.
2679 * insettext.C: adjust
2681 * insetgraphics.[Ch] (statusMessage): change to return string
2685 * figinset.C (runqueue): add std::
2688 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2690 * insetcite.C (Ascii): add std:: qualifier
2692 2001-05-28 Juergen Vigna <jug@sad.it>
2694 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
2695 a endless-width inset (maxWidth < 0).
2696 (Edit): change language only if not equal.
2698 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
2700 * insettext.C (draw): fixed draw/clear of InsetText-Frame
2702 2001-05-16 Juergen Vigna <jug@sad.it>
2704 * insettext.C (selectAll): added
2705 (clearSelection): added
2707 * insettabular.C (SetFont): now we may set a font on a whole selection!
2708 (getSelection): added helper function.
2710 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
2712 * insetcite.C (Ascii): Add method.
2714 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
2717 * insetbib.C: fix path for OS/2 & Win32
2719 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2721 * insetfoot.C (Latex): don't use % after footnote.
2723 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2725 * insettext.C (Read): use clear
2726 (SetParagraphData): use LyXParagraph copy constructor instead of clone
2728 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2730 * insetfloatlist.h: add a bunch of std:: qualifiers.
2732 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2734 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
2735 FLOAT_LIST_CODE, renumber code list.
2737 * insettoc.C (getScreenLabel): remove support for float lists
2741 * insetfloatlist.[Ch]: new files
2743 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
2745 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
2747 * insettabular.C (LocalDispatch):
2748 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
2751 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2753 * insettext.C: remvoe !NEW_INSETS cruft
2755 * insettabular.C: remove !NEW_INSETS cruft
2757 * insetcollapsable.h: remove !NEW_INSETS cruft
2759 * insetbib.C: remove !NEW_INSETS cruft
2761 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2763 * insettoc.C: hack to make listof algorithm work
2765 2001-04-20 Juergen Vigna <jug@sad.it>
2767 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
2769 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2771 * insetquotes.C (Latex): improve the guard against
2772 unwanted !` and ?` ligatures. This should really be done in
2773 another place (to catch all this ligatures at low-level).
2775 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2777 * insettext.C (init): remvoe leftovers from cursor_visible change
2778 (draw): use c++ cast
2779 (LocalDispatch): dispatch LFUN_MESSAGE
2781 * insettabular.C (InsetTabular): remove leftovers from
2782 cursor_visible, and scoped_ptr changes
2783 (draw): use c++ cast
2785 * insetcollapsable.C (draw): use c++ cast
2787 * ExternalTemplate.h: inherit privaely from noncopyable
2788 * insetcommand.h: ditto
2789 * insetinclude.h: ditto
2791 2001-04-16 Allan Rae <rae@lyx.org>
2793 * insettoc.C (Ascii):
2794 * insettext.C (draw):
2795 * insettabular.C (setPos):
2796 * insetminipage.C (Read):
2797 * insetfloat.C (placement):
2798 * insetcaption.C (Ascii, DocBook):
2799 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
2800 an unrecognised preprocessor directive. So ensure they're wrapped.
2802 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
2805 * insetexternal.C: set view on Clone. Add _ to private members.
2807 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2809 * insettext.C (InsetText): fix new
2810 (InsetText): reindent some, simplify deletion of par list
2811 (clear): simplify deletion of par list, fix new
2812 (SetParagraphData): simplify deletion of par list
2814 * insettabular.[Ch] (getLabelList): implement new method
2816 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2818 * lyxinset.h: do not include gettext.h...
2826 * insetlatexaccent.C:
2830 * inseturl.C: ... and do it here instead
2832 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2834 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
2836 * insettext.[Ch] (getLabelList): add std:: on vector<string>
2838 * insetcollapsable.[Ch] (getLabelList): implement
2840 * insettext.[Ch] (getLabelList): implement
2842 * insettext.h: reindent
2844 * insettabular.h: make tabular a scoped_ptr
2846 * insettext.C (init): adjust for cursor_visible
2847 (ToggleInsetCursor): constify asc and desc, font, adjust for
2849 (ShowInsetCursor): constify asc and desc, font, adjust for
2851 (HideInsetCursor): adjust for cursor_visible
2853 * insettabular.C: reindent some
2854 (InsetTabular): adjust for scoped_ptr and cursor_visible
2855 (InsetTabular): ditto
2856 (~InsetTabular): delete delete
2857 (Clone): adjust for scoped_ptr
2858 (Read): constify old_format, adjust for scoped_ptr, move init of
2860 (draw): constify tx, localize loop vars.
2861 some other localization of variables, remove double initilizatons.
2863 * insetfoot.C: remove using std::ostream, add ostream where needed
2865 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2867 * lyxinset.h: some reindentaion, use initializer list for
2869 UpdatableInset: make cursor_visible a private var add
2870 public isCursorVisible(), add protected toggleCursorVisible() and
2871 proctected setCursorVisible(bool), make scroll call the Inset::scroll
2873 * insettoc.C: remvoe using decl
2874 (getScreenLabel): make cmdname donst
2877 (Ascii): don't use endl
2879 * insetfootlike.C: remove using decl at file scope and add std::
2881 * insetmarginal.C: ditto
2883 * insetfoot.C: some reformatting
2885 * insetfloat.C (InsetButtonRelease): adjust the hit area
2887 * insetert.C (SetFont): some reformatting
2889 * insetcollapsable.C: some reformatting and constification
2890 (Clone): comment out.
2891 * insetcollapsable.h: some reformatting
2892 (Clone): comment out.
2897 2001-03-30 Juergen Vigna <jug@sad.it>
2899 * insetcollapsable.h: changen *inset to be a InsetText inset.
2901 * some files: changed to reflect the above change.
2903 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
2905 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
2906 InsetExternal::Params.
2907 Added operator==() and operator!=() for the Params struct.
2909 2001-03-29 Juergen Vigna <jug@sad.it>
2911 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
2914 * insetminipage.C: removed widthp_ and all it's functions and changed
2915 to use new %-lengths of LyXLength.
2917 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
2919 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
2921 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
2923 * insetgraphicsParams.C (operator!=): new function, needed by the
2924 ControlGraphics class.
2926 2001-03-28 Juergen Vigna <jug@sad.it>
2928 * insettext.C (InsetButtonPress): only enter !inset if button == 2
2929 (checkAndActivateInset): don't use the values returned from
2930 call to bv->checkInsetHit.
2932 * insetminipage.C (Clone): set special minipage values.
2934 * insetcollapsable.C (draw): changed to draw the button in the
2935 upper left corner outside the textinset.
2936 (ascent): changed because of different drawing
2940 (InsetButtonPress): ditto
2941 (InsetButtonRelease): ditto
2942 (InsetMotionNotify): ditto
2944 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
2946 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
2950 2001-03-26 Juergen Vigna <jug@sad.it>
2952 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
2954 * insettext.C (ShowInsetDialog): implemented above function.
2956 * insettabular.C (ShowInsetDialog): ditto
2958 * insetminipage.C (ShowInsetDialog): ditto
2960 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2962 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
2963 InsetInclude::Params. Don't store a buffer * in Params. Store the
2964 master file name instead.
2966 2001-03-23 Juergen Vigna <jug@sad.it>
2968 * insetcollapsable.C (InsetMotionNotify):
2969 (InsetButtonRelease):
2970 (InsetButtonPress): fixed y-offset (minipages).
2972 * insettext.C (draw): force a FULL update if cleared == true.
2974 * insetcollapsable.C (draw): Lars forgotten entry for changing this
2975 routine to draw the minipages on its position-flag.
2976 (InsetInInsetY): give back the right y position, because of minipage
2979 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
2982 * insetfloat.C (DocBook): docbook export code.
2984 2001-03-22 Juergen Vigna <jug@sad.it>
2986 * insetminipage.C (getMaxWidth): added function to set the drawing
2988 (Read): should work now!
2990 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
2991 if we create a new inset.
2993 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2995 * figinset.C (fl_set_preemptive_callback): moved definition outside
2998 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3000 * insetminipage.C (Read): prepare for reading of minipage arguments.
3002 2001-03-18 Baruch Even <baruch@lyx.org>
3004 * insetgraphics.C: Minor cleanups of the comments and code.
3006 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3008 * insetminipage.C (InsetMinipage): default to not collapsed
3010 2001-03-16 Juergen Vigna <jug@sad.it>
3012 * insetminipage.C (width): modified with to be a string
3013 (widthp): added widthp (for % width) support functions.
3014 (InsetButtonRelease): added to open the options dialog on button==3.
3015 (~InsetMinipage): added to hide the dialog.
3017 * insetminipage.h: added hideDialog signal
3019 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3021 * insetminipage.h: change the order or Position to match
3022 LyXParagraph::MINIPAGE_ALIGNMENT
3024 * several files: remvoe CXX_WORKING_NAMESPACES
3026 * ExternalTemplate.h: noncopyable is in namespace boost
3027 * insetinclude.h: ditto
3028 * insetcommand.h: ditto
3030 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
3032 * insettext.C (Edit): #else# -> #else.
3033 * insettoc.C: added using directive.
3035 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3037 * insetminipage.h: add pos, inner_pos, width and height. + getters
3038 and setters for all of them.
3040 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
3042 * insetinclude.C (Latex): Do not exit when the textclass of the
3043 included file differ from the textclass of the parent file.
3045 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
3047 * ExternalTemplate.C (read): the reading of external insets now checks
3048 for \end_inset and removes it form the input stream.
3050 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
3052 * ExternalTemplate.h:
3053 * ExternalTemplate.C:
3055 * insetexternal.C: move form to GUII
3057 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3060 * insetinclude.C: add InsetIncludeParams, use
3061 composition rather than derivation of InsetCommand
3063 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3065 * insettoc.C (Ascii): use the Buffer typedefs
3067 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3069 * insettoc.C (Ascii): implement for dynamic number of lists
3071 * insetcaption.[Ch]: update from new_insets branch
3072 * insetfloat.[Ch]: ditto
3074 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
3077 * figinset.C: use new File Dialog
3079 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3081 * insettext.C: changes becuase of ParagraphParameters.
3083 2001-02-28 Baruch Even <baruch@ev-en.org>
3085 * insetgraphics.C (updateInset): Changed due to the change in
3088 2001-02-26 Juergen Vigna <jug@sad.it>
3090 * insettext.C (SetFont): Set Undo only if we have selection (as it is
3091 handled in LyXText).
3093 2001-02-23 Juergen Vigna <jug@sad.it>
3095 * insettext.C (draw): some small repainting fixes.
3096 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
3098 * inset.C (LocalDispatch): changed action to be a kb_action (as it
3099 should be) and not an int.
3101 * insettabular.C (LocalDispatch): ditto
3103 * insettext.C (LocalDispatch): ditto
3105 * insetcollapsable.C (LocalDispatch): ditto
3107 2001-02-22 Juergen Vigna <jug@sad.it>
3109 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
3110 DISPATCH it and we don't have a locking_inset.
3112 2001-02-21 Baruch Even <baruch@ev-en.org>
3114 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
3115 instead of GraphicsCacheItem *.
3117 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3119 * insetcollapsable.C (getLyXText): add const qualifier to second
3122 2001-02-22 Juergen Vigna <jug@sad.it>
3124 * insettext.C (getLyXText): honor the recursive parameter.
3125 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
3127 * inset.C (getLyXText): added bool recursive parameter.
3129 * insettext.C (SetUpdateStatus): or the update codes.
3130 (draw): check need_update with &.
3131 (InsetButtonPress): set no_selection to not put a selection when
3132 entering an inset and it is redraws in another spot.
3134 * insettext.h: made need_update an int.
3136 2001-02-20 Baruch Even <baruch@ev-en.org>
3139 * insetgraphisc.C: Changed to use better semantics when loading images
3140 for inline view. Now it doesn't keep the pixmap itself but it's holder.
3142 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
3146 * insetgraphics.C: change name of "hide" signal to "hideDialog",
3147 consistent with InsetTabular.
3149 2001-02-19 Juergen Vigna <jug@sad.it>
3151 * insettabular.C (LocalDispatch): implement PAGE up/down.
3153 * insettext.C (draw): clear all of it on need_update==INIT too!
3155 * insettabular.C (InsetUnlock): always clear the selection.
3157 * inset.C (scroll): normally we only want to scroll the inset until
3158 it is fully visible so if top_x + offset > 20 then just set scx to 0.
3160 2001-02-14 Juergen Vigna <jug@sad.it>
3162 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
3163 (resetPos): fixed scroll behaviour.
3164 (LocalDispatch): do an update if moving cursor inside a table cell
3165 requests a scroll of the tabular.
3167 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
3169 * insettext.C (textWidth): constify local var
3171 * insettabular.C: small cleanup.
3173 * insetfoot.C (Latex): constify local var
3175 * insetcollapsable.C: small cleanup.
3177 * figinset.C (runqueue): use compare instead of strcmp
3179 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3182 * insetinfo.C: remove cruft
3184 2001-02-14 Juergen Vigna <jug@sad.it>
3186 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
3188 2001-02-13 Juergen Vigna <jug@sad.it>
3190 * insettext.C (InsertInset): don't move left (is this right?)
3192 * insettabular.C (LocalDispatch): use of the no_draw variable
3194 * insettabular.h: new no_draw variable to stop redraw
3196 * insettabular.C (TabularFeatures): fixed update for alignment change
3198 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
3202 * insetbib.C: move dialogs to frontends/
3204 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
3206 * insettext.C (LocalDispatch): Restore the language if the inset
3209 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
3211 * insettext.C (moveRightIntern): Update the selection cursor.
3212 (moveLeftIntern): Ditto.
3214 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3216 * Makefile.am: remove BoundingBox.h
3218 * BoundingBox.h: removed
3220 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
3222 * insettext.C (LocalDispatch): Update selection cursor when moving
3223 cursor to the right.
3224 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
3225 (moveLeftIntern): Ditto.
3227 2001-02-05 Baruch Even <baruch.even@writeme.com>
3229 * insetgraphics.C: Updated automatic image conversion, it now goes into
3230 temporary directory instead of with the image itself.
3232 2001-01-21 Baruch Even <baruch@ev-en.org>
3234 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
3235 to EPS or PNG when needed (support bitmap graphics).
3237 2000-11-02 Baruch Even <baruch@ev-en.org>
3240 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
3241 and removal of commented out code.
3243 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
3245 * insetbib.C (callback): Update citations if the key has changed.
3247 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
3249 * insetbib.C (InsetBibKey): Better computation of default key.
3250 (getScreenLabel) Show both the key and the label.
3251 (getBibLabel): New method.
3252 (callback): Force a redraw if the inset have been changed.
3254 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
3256 * insetref.C (getType, getName): Move methods from
3257 src/frontends/xforms/FormRef.C.
3259 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
3261 * insettabular.C: Various improvements (use only one dummy position).
3263 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
3265 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
3266 par->bibkey->width. This fixes the crashes when running without
3267 gui or when having included documents.
3269 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
3271 * insetcommand.C (getAsString, setFromString): Cleanup.
3273 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
3275 * insetref.C: Add the array InsetRef::types that contains
3276 information about all supported reference types.
3278 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3280 * lyxinset.h: remove trailing comma in enum.
3282 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
3284 * insettext.C: kill LyXBell.