1 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
3 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
6 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
8 * several files: change Assert to BOOST_ASSERT
10 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
12 * insettext.[Ch]: remove drawText[XY]Offset
14 2003-09-08 Angus Leeming <leeming@lyx.org>
24 * insettoc.C: remove redundant using directives.
26 2003-09-07 Angus Leeming <leeming@lyx.org>
29 * insetspecialchar.h: remove #include "support/std_string.h".
31 2003-09-06 Angus Leeming <leeming@lyx.org>
33 * renderers.C: add #include "insets/inset.h"
35 2003-09-05 Angus Leeming <leeming@lyx.org>
37 * *.C: strip out redundant #includes. (193 in total.)
39 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
41 * insets/insetbibtex.[Ch]:
42 * insets/insetcommand.h:
43 * insets/insetfloatlist.[Ch]:
44 * insets/insetinclude.[Ch]:
45 * insets/insettoc.[Ch]: Restricts the mouse click functionality
46 of insets like bibtex, include, toc and floatlist to the visible
47 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
48 up the dialogs. Cursor has to be in front of the inset (i.e.
49 start of row) for this to function.
51 2003-09-04 Angus Leeming <leeming@lyx.org>
53 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
54 structure outside of the Format struct. Format::preambleName refers to
55 an item in the map of all preamble snippets.
56 Make use of the new Debug::EXTERNAL flag.
58 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
59 (validate): Small change due to the changed storage of preamble snippets.
61 2003-09-04 Angus Leeming <leeming@lyx.org>
63 * insetgraphics.C: #include "support/os.h"
65 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
66 * insettabular.h: move #include "FuncStatus.h" out of the header file.
67 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
71 * insetnote.C: move #include "funcrequest.h" out of the header file.
73 2003-09-03 Angus Leeming <leeming@lyx.org>
75 * insetexternal.C (updateExternal):
76 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
79 2003-09-03 Angus Leeming <leeming@lyx.org>
81 * insetexternal.C: don't bring namespace lyx::support into the global
84 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
86 * insetbranch.C: Add Branch: to label
88 2003-09-02 John Levon <levon@movementarian.org>
91 * insettext.C: remove cursor.i[xy]()
93 2003-08-28 Angus Leeming <leeming@lyx.org>
95 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
96 "sh ", enabling the conversion to be carried out even if the script
99 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
101 * most files: change to use const Buffer refs
103 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
105 * insetfootlike.C: whitespace.
107 2003-08-26 John Levon <levon@movementarian.org>
111 * insetindex.h: remove remaining mentions of needFullRow()
113 2003-08-26 André Pönitz <poenitz@gmx.net>
119 * inset.[Ch]: remove InsetOld::par_owner_ & handling
121 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
123 * insetbranch.C: Small fix to prevent a crash on loading.
125 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
130 * insetcollapsable.h:
132 * insetfloatlist.[Ch]:
133 * insetfootlike.[Ch]:
141 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
142 altogether, putting the logic in metrics/draw in the insets.=20
143 Draws short single row insets with more or less realistic metrics.
145 2003-08-19 André Pönitz <poenitz@gmx.net>
147 * insettext.C: use new RowPainter interface
149 2003-08-18 John Levon <levon@movementarian.org>
151 * insetref.C: require amsmath for eqref
153 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
157 * insetbranch.[Ch]: implements the 'branch inset'
158 idea. This allows the output of various versions of a document
159 from a single source version, selectively outputing or suppressing
160 output of parts of the text.
161 This implementation contains a 'branch list editor' in a separate
162 tab of the document settings dialog. Branches are user definable
163 and have a "display colour" to distinguish them on-screen.
165 ColorHandler was somewhat cleaned up.
166 (1) make possible a dynamically growing LColor list by allowing
167 the graphic context cache to grow along (vector);
168 (2) eliminate an IMHO unnecessary step in colour allocation.
170 2003-08-15 André Pönitz <poenitz@gmx.net>
172 * insettext.[Ch]: adjust after rowlist split
174 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
176 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
177 rename valign-center to valign-middle;
178 rename VALIGN_CENTER to VALIGN_MIDDLE
180 2003-08-11 André Pönitz <poenitz@gmx.net>
182 * inset.h: remove resizeLyXText
185 * insetcollapsable.[Ch]:
187 * insettabular.[Ch]: adjust
189 * insettext.[Ch]: remove saveLyXTextState,
190 restoreLyXTextStat, sstate, reinitLyXText
192 2003-08-07 André Pönitz <poenitz@gmx.net>
194 * inset.[Ch]: move non-crucial functions out-of-line
196 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
197 remove duplicated code.
199 2003-08-05 André Pönitz <poenitz@gmx.net>
202 * insetcollapsable.[Ch]:
215 * updatableinset.[Ch]: rip out "deep update"
217 * insettext.C (localDispatch): merge cases with default branch
219 * insettext.C (frame_x,y,w,h): replace member with automatic variables
221 * insettabular.[Ch] (updateLocal): simplify logic
223 2003-08-04 André Pönitz <poenitz@gmx.net>
225 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
226 is 'FULL' all the time.
228 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
230 * insetert.C (get_new_label): only add ... to the (closed) label
231 when the string has been shortened
233 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
235 * Always use std::endl with lyxerr
237 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
239 * insetnote.C: update \author list
241 2003-07-31 André Pönitz <poenitz@gmx.net>
243 * insetcollapsable.h:
245 * insettext.[Ch]: remove toggleSelection
247 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
249 (with help from Juergen Spitzmueller)
250 * insetnote.C: add add i18n support. Use Prefs-definable
251 colours for Comment and Greyedout.
253 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
255 * insetcollapsable.[Ch]:
257 * insetert.C: factor out the detection of clicking on the inset
258 button as 'hitButton'. John Levon contributed.
260 2003-07-30 André Pönitz <poenitz@gmx.net>
262 * insetcollapsable.C:
264 * insettabular.C: parantheses, localize vars etc.
266 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
268 * insetnote.C: Implement a newenvironment in preamble for
269 greyedout. Patch provided by Jürgen Spitzmüller.
271 2003-07-29 Angus Leeming <leeming@lyx.org>
273 * insetcommand.C (localDispatch): default to
274 InsetOld::localDispatch.
276 * insetbibitem.C (localDispatch):
277 * insetbibtex.C (localDispatch): remove call to
278 ChangeCitationsIfUnique.
280 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
282 * insetexternal.C (read): use pushpophelper.
284 2003-07-28 José Matos <jamatos@lyx.org>
286 * insetext.C (read): \end_document replaces \the_end.
288 2003-07-28 José Matos <jamatos@fep.up.pt>
290 * insetert.C (write): \layout -> \begin_layout.
291 Add missing \end_layout.
293 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
295 * insetquotes.C: document a bit the format
297 * insettabular.C (write): remove extra space
299 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
300 * insetnote.C: Umpf. Hope I *now* get it right :-(
302 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
303 *insetnote.C: did the right fix to greyedout: \color
304 instead of \textcolor.
306 2003-07-28 Angus Leeming <leeming@lyx.org>
308 * insetbibtex.h: remove extraneous forward declaration.
311 * insetbibtex.h: Also remove long-dead Holder member class
314 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
316 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
319 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
321 * insetwrap.C (addToToc): adjust for lyx::toc
323 * insetfloatlist.C (ascii): adjust for lyx::toc
325 * insetfloat.C (addToToc): adjust for lyx::toc
327 2003-07-27 José Matos <jamatos@fep.up.pt>
329 * insetnote.h (linuxdoc,docbook): update support.
331 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
333 * insetfloat.C (wide): add a space to label, for consistency
335 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
337 * insettext.C (nextChange): adjust for lyx::find
338 (searchForward): ditto
339 (searchBackward): ditto
341 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
343 * insetgraphicsParams.C:
344 * insetexternal.C: declare extern displayTranslator
347 * renderers.C: add #include "support/LAssert.h"
349 2003-07-27 José Matos <jamatos@fep.up.pt>
351 * insetfloat.[Ch] (linuxdoc):
352 * insetgraphics.C (linuxdoc):
353 * insettabular.C (linuxdoc):
354 * insettext.[Ch] (linuxdoc): add support for tables and figures
357 2003-07-27 José Matos <jamatos@fep.up.pt>
359 * insetinclude (latex): comply with makeLaTeXFile argument change.
361 2003-07-26 Asger Alstrup <alstrup@local>
363 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
364 the undo crashes. We'll see what problems other places this will
367 2003-07-26 Angus Leeming <leeming@lyx.org>
369 * insetgraphics.C: remove unused declaration of system_tempdir.
371 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
373 * rename Inset to InsetOld
375 * all inset files (clone): return a auto_ptr<InsetBase>
377 2003-07-23 Angus Leeming <leeming@lyx.org>
379 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
381 2003-07-23 Angus Leeming <leeming@lyx.org>
383 * mailinset.[Ch] (inset2string):
384 * insetcommand.[Ch] (inset2string):
385 * insetert.[Ch] (inset2string):
386 * insetexternal.[Ch] (inset2string):
387 * insetfloat.[Ch] (inset2string):
388 * insetgraphics.[Ch] (inset2string):
389 * insetinclude.[Ch] (inset2string):
390 * insetminipage.[Ch] (inset2string):
391 * insetnote.[Ch] (inset2string):
392 * insettabular.[Ch] (inset2string):
393 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
395 * insetexternal.[Ch]:
396 * insetgraphics.[Ch]: get rid of the view() function. Associated
397 changes to the mailers' string2params and params2string functions.
399 2003-07-23 Angus Leeming <leeming@lyx.org>
401 * insetexternal.[Ch]: store the external file name in a FileName
402 member variable rather than a string + associated changes.
404 2003-07-21 Angus Leeming <leeming@lyx.org>
406 * insetgraphicsParams.[Ch]: store the graphics file name in
407 a FileName member variable rather than a string.
409 * insetgraphics.[Ch]:
410 * insetgraphicsParams.[Ch]: Associated changes.
412 2003-07-21 Angus Leeming <leeming@lyx.org>
414 * insetgraphics.[Ch] (string2params, params2string): passed a
415 buffer_path argument.
418 2003-07-21 Angus Leeming <leeming@lyx.org>
421 * insetgraphicsParams.[Ch]:
423 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
425 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
427 * insetnote.C: fixed greyout and conditionals layout foul-ups.
429 2003-07-18 André Pönitz <poenitz@gmx.net>
432 * insetminipage.[Ch]:
436 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
438 2003-07-18 André Pönitz <poenitz@gmx.net>
442 * insetcollapsable.C:
446 * insetgraphics.[Ch]:
447 * insetlatexaccent.[Ch]:
452 * insetspecialchar.C:
455 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
457 2003-07-17 André Pönitz <poenitz@gmx.net>
459 * insetcollapsable.C:
461 * insettext.C: don't call Inset::update() anymore
464 * insettabular.[Ch]: remove unneeded in_update_ members
466 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
468 2003-07-16 André Pönitz <poenitz@gmx.net>
470 * insettext.C (selectAll): remove
472 2003-07-16 John Levon <levon@movementarian.org>
475 * insetnote.C: implement showInsetDialog()
477 2003-07-15 André Pönitz <poenitz@gmx.net>
480 * insettext.C: refresh_status tristate -> need_update bool
482 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
484 * insettext.C: adjust call to LyXText::init
486 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
488 * insettext.C: use bufferview_funcs->replaceSelection()
489 to delete selections in some cases (bugs 441, 673, 702, 954).
491 2003-07-14 André Pönitz <poenitz@gmx.net>
493 * insettext.C (draw): use slimmed down rowpainter interface
495 2003-07-14 André Pönitz <poenitz@gmx.net>
497 * insetcollapsable.C:
499 * insettext.[Ch] (cy, ciy, setUpdateStatus):
500 remove unused BufferView * argument
502 2003-07-14 André Pönitz <poenitz@gmx.net>
504 * insettext.[Ch]: used cached metrics a bit more
506 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
508 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
510 2003-07-10 André Pönitz <poenitz@gmx.net>
513 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
515 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
517 * introduce namespace lyx::graphics
519 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
521 * introduce namespace lyx::support
523 2003-06-30 André Pönitz <poenitz@gmx.net>
525 * insetcite.C (localDispatch): fix case of missing return value
527 * insetcite.C (ascii): remove unneeded temporary
529 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
531 * insetspace.h: fix \file
533 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
534 * insetinclude.C (fillWithBibKeys): ditto
536 * insetbibitem.C: fix type const order
538 * inset.C (getLyXText): add varname for arg
540 * ExternalTemplate.h: fix type const order
542 2003-06-27 André Pönitz <poenitz@gmx.net>
544 * insettext.C: take care of removed LyXCursor::row_ member
546 * insettext.[Ch]: use new TextCursor struct for sstate
548 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
550 * inseterror.[Ch]: removed
552 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
554 * insetinclude.C (docbook): use parseError instead of sgmlError
556 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
558 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
559 of BufferList::loadLyXFile
561 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
563 * insettext.C (update): simplify
564 (updateLocal): remove commented code
565 (insetUnlock): simplify
566 (lockInset): simplify
567 (updateInsetInInset): simplify
568 (localDispatch): simplify
570 (resizeLyXText): simplify
571 (collapseParagraphs): simplify
573 * insetert.C (get_new_label): simplify
575 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
577 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
578 pasteSelection with index
580 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
582 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
584 2003-06-16 André Pönitz <poenitz@gmx.net>
586 * insetbase.h: new virtual base function clone()
588 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
589 Inset * clone() -> InsetBase * clone()
591 2003-06-13 André Pönitz <poenitz@gmx.net>
593 * insettabular.[Ch]: make tabular a proper member
595 2003-06-12 André Pönitz <poenitz@gmx.net>
597 * insettabular.[Ch]: some renaming plus whitespace
599 2003-06-11 Angus Leeming <leeming@lyx.org>
601 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
604 * insetbutton.[Ch]: removed.
605 * graphicinset.[Ch]: renamed as renderers.[Ch].
607 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
608 Create a new class ButtonRenderer using the InsetButton::metrics() and
610 Derive both from a common RenderedInset base class.
613 * insetinclude.[Ch]: derive from Inset, not InsetButton.
614 Give it a ButtonRenderer member variable. Use it.
615 Give the classes working copy c-tors.
616 No longer derive from boost::noncopyable.
618 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
619 display its contents as a button or as a graphic.
621 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
624 2003-06-11 Angus Leeming <leeming@lyx.org>
626 * insetcite.C (localDispatch): reformat.
628 * insetref.C (localDispatch): enable dialog to be lauched.
630 2003-06-11 John Levon <levon@movementarian.org>
632 * insettabular.C: correctly mark all cells as erased
634 2003-06-11 Angus Leeming <leeming@lyx.org>
636 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
637 ExternalTemplate but its name, templatename. This means that a file
638 containing a reference to an External Template not installed on the
639 current machine will be saved retaining this info rather than inserting
640 the first "valid" template from the list of templates.
642 As a by product, the visual statement that the Template is missing is
645 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
647 * insettext.C (appendParagraphs): remove some commented code.
649 2003-06-10 Angus Leeming <leeming@lyx.org>
651 * graphicinset.[Ch] (view): removed the publicly accessible function to set
654 * insetexternal.[Ch]: move tempname_ into the Params struct.
655 (Params d-tor): new function, to clean-up this temp file.
656 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
658 (editExternal, doSubstitution): move out of class.
660 2003-06-10 Angus Leeming <leeming@lyx.org>
662 * graphicinset.[Ch] (params): removed.
663 * graphicinset.h (operator=): declared private but not defined.
664 (statusMessage): made private.
666 * insetexternal.[Ch]: graphic_ renamed as renderer_.
668 2003-06-07 John Levon <levon@movementarian.org>
670 * insetert.C (latex): make a newline mean just that not
673 2003-06-07 José Matos <jamatos@fep.up.pt>
675 * insethfill.[Ch] (linuxdoc, docbook): implement output
676 * insetspace.C (linuxdoc, docbook): remove coments as the code
679 2003-06-06 José Matos <jamatos@fep.up.pt>
681 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
683 2003-06-06 André Pönitz <poenitz@gmx.net>
685 * insetwrap.[Ch]: code compactification
687 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
689 * mailinset.C (updateDialog): use Dialogs::visible
691 2003-06-04 Angus Leeming <leeming@lyx.org>
693 * graphicinset.C (draw): add a comment for the #if 0 block.
695 * insetexternal.h: remove Params::parameters variable.
696 * insetexternal.C (read, write): rewrite to output new ExternalInset format
697 and read it back making full use of LyXLex.
699 2003-06-04 André Pönitz <poenitz@gmx.net>
701 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
703 2003-06-04 John Levon <levon@movementarian.org>
705 * insettabular.C: back out tall table speed up. It was broken
707 2003-06-03 Angus Leeming <leeming@lyx.org>
709 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
710 Remove ViewCommand and UpdateCommand.
712 * graphicinset.C (update): bug fix. Set the params before calling the
714 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
715 BufferView cache to enable the InsetExternal::editCommand to be invoked
716 from the frontends. Would not be needed if this were dispatched properly.
717 (old_ascent_): variable removed.
719 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
720 do any necessary conversions of external material. Also use the
721 new GraphicsInset to display the inset within LyX.
723 2003-06-03 Angus Leeming <leeming@lyx.org>
725 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
726 and move it somewhere where InsetExternal can use it too.
728 * Makefile.am: add the new files.
730 * insetgraphics.[Ch]: make use of the new GraphicInset.
732 2003-06-03 John Levon <levon@movementarian.org>
742 * insetexternal.[Ch]:
746 * insetgraphics.[Ch]:
751 * insetlatexaccent.[Ch]:
752 * insetmarginal.[Ch]:
753 * insetminipage.[Ch]:
760 * insetspecialchar.[Ch]:
766 * insetwrap.[Ch]: make clone() not take a Buffer * arg
768 * insetgraphics.[Ch]:
769 * insetgraphicsParams.[Ch]: always store an absolute
772 2003-06-02 André Pönitz <poenitz@gmx.net>
776 * insetlatexaccent.C: remove duplicated call to metrics()
778 2003-06-02 John Levon <levon@movementarian.org>
780 * insettabular.C: fix resize of column width
782 2003-06-02 John Levon <levon@movementarian.org>
787 * insetparent.C: remove insetparent
789 2003-06-02 André Pönitz <poenitz@gmx.net>
796 * insetcollapsable.[Ch]:
800 * insetgraphics.[Ch]:
802 * insetlatexaccent.[Ch]:
803 * insetminipage.[Ch]:
807 * insetspecialchar.[Ch]:
809 * insettext.[Ch]: unify first drawing phase
812 * insetbase.h: move validate() to the base
814 2003-05-31 Angus Leeming <leeming@lyx.org>
816 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
818 2003-05-30 André Pönitz <poenitz@gmx.net>
824 * insetcollapsable.[Ch]:
827 * insetgraphics.[Ch]:
829 * insetlatexaccent.[Ch]:
833 * insetspecialchar.[Ch]:
836 * updatableinset.[Ch]: unify second drawing phase
838 2003-05-30 John Levon <levon@movementarian.org>
840 * insetgraphics.C: fix a bformat
842 2003-05-29 John Levon <levon@movementarian.org>
844 * insettabular.C: remove unused bufferOwner()
846 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
848 * insettext.C (lockInsetInInset): adjust
849 (getLabelList): use const_iterator, adjust
850 (getInsetFromID): use const_iterator, adjust
851 (addPreview): use const_iterator, adjust
853 * insetwrap.C (clone): remove const_cast
855 * insetnote.C (clone): remove const_cast
857 * insetminipage.C (clone): remove const_cast
859 * insetmarginal.C (clone): remove const_cast
861 * insetfoot.C (clone): remove const_cast
863 * insetfloat.C (clone): remove const_cast
865 * insetert.C (clone): remove const_cast
867 * delete commented same_id functions from a lot of files.
869 2003-05-28 John Levon <levon@movementarian.org>
875 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
877 * insetminipage.C: fix metrics (bug 1144)
879 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
881 * insettext.C (saveLyXTextState): adjust
882 (restoreLyXTextState): adjust
885 (unlockInsetInInset): adjust
886 (localDispatch): adjust
889 * insettabular.C (insertAsciiString): adjust
891 2003-05-27 André Pönitz <poenitz@gmx.net>
894 * insetcollapsable.C:
897 * insetlatexaccent.C:
902 * insetspecialchar.C:
904 * insettext.C: dim.w -> dim.wid
906 2003-05-26 John Levon <levon@movementarian.org>
908 * insettabular.C: avoid drawing all of a long table
909 if it's not needed. A big speedup
911 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
913 * remove same_id from function signatures, adjust
915 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
917 * insettext.C (InsetText): adjust
919 (setParagraphData): separate same_id cases, adjust
920 (appendParagraphs): adjust
921 (appendParagraphs): adjust
923 2003-05-23 André Pönitz <poenitz@gmx.net>
925 * insetbutton.h: whitespace
927 * insettabular.C: more compact code
929 * updatableinset.C: remove const_cast
932 2003-05-23 Angus Leeming <leeming@lyx.org>
934 * insetexternal.C (write): check how many lines are output.
935 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
936 if the template has defined it.
938 2003-05-23 Angus Leeming <leeming@lyx.org>
940 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
942 2003-05-23 Angus Leeming <leeming@lyx.org>
944 * insetfoot.C (latex):
945 * inseturl.C (latex): rename fragile as moving_arg.
947 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
949 * inseterror.C (localDispatch): comment out unused var.
951 2003-05-22 Angus Leeming <leeming@lyx.org>
953 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
954 passed through the LatexRunParams arg.
956 2003-05-22 Angus Leeming <leeming@lyx.org>
958 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
959 through the LatexRunParams arg.
961 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
962 arg rather than through a global var.
964 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
966 * insetspecialchar.C (dimension): use a string.
968 2003-05-22 Angus Leeming <leeming@lyx.org>
970 * insetbibtex.C (latex):
971 * insetgraphics.C (latex):
972 * insetinclude.C (latex): extract the buffer's 'nice'ness from
973 runparams rather than from the buffer itself.
975 2003-05-22 Angus Leeming <leeming@lyx.org>
977 * inset*.[Ch] (latex):
978 passed a LatexRunParams parameter.
980 * insetgraphics.C (latex): actually use it ;-)
982 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
984 * insetfloat.C (addToToc): trivial compile fix
986 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
988 * insettext.[Ch] (paragraph): delete unused function
990 * insetfloat.C (addToToc): parlist simplfication
992 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
994 * insetspace.[Ch]: added (new space insets)
996 * inset.h: handle new space insets
998 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1000 * insetfloat.C (addToToc): adjust
1002 2003-05-21 André Pönitz <poenitz@gmx.net>
1004 * insettext.[Ch]: fix drawing bug introduced earlier
1006 2003-05-19 André Pönitz <poenitz@gmx.net>
1008 * insetspecialchar.C: fix bug introduced yesterday
1010 2003-05-19 André Pönitz <poenitz@gmx.net>
1014 * insetcollapsable.[Ch]:
1018 * insetgraphics.[Ch]:
1019 * insetgraphicsParams.[Ch]:
1020 * insetlatexaccent.[Ch]:
1021 * insetminipage.[Ch]:
1022 * insetnewline.[Ch]:
1024 * insetspecialchar.[Ch]:
1025 * insettabular.[Ch]:
1026 * insettext.[Ch]: dimensions() instead of ascend/descend/width
1028 2003-05-19 André Pönitz <poenitz@gmx.net>
1031 * insettext.C: more insetenv
1033 2003-05-16 André Pönitz <poenitz@gmx.net>
1036 * insetminimpage.[Ch]:
1037 * insetcollapsable.[Ch]: fix #832
1039 2003-05-16 André Pönitz <poenitz@gmx.net>
1042 * insetbibitem.[Ch]:
1046 * insetcollapsable.[Ch]:
1047 * insetcommand.[Ch]:
1050 * insetexternal.[Ch]:
1051 * insetfloatlist.[Ch]:
1052 * insetgraphics.[Ch]:
1053 * insetinclude.[Ch]:
1056 * insetlatexaccent.[Ch]:
1059 * insettabular.[Ch]:
1063 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
1065 2003-05-13 André Pönitz <poenitz@gmx.net>
1068 * insetcollapsable.C:
1072 * insetwrap.C: tostr from own header
1084 * insetwrap.C: STRCONV
1087 2003-05-12 André Pönitz <poenitz@gmx.net>
1099 * insetwwrap.C: boost::format -> bformat all over the place
1101 2003-05-05 André Pönitz <poenitz@gmx.net>
1103 * insettext.h: add missing #include <map>
1105 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1107 * insettext.C (InsetText): parlist cleanup
1110 (insetUnlock): ditto
1112 (lockInsetInInset): ditto
1116 (searchBackward): ditto
1117 (collapseParagraphs): ditto
1119 2003-05-06 John Levon <levon@movementarian.org>
1121 * insetcaption.C: don't cast wrap inset to InsetFloat
1124 * insetfloat.C: remove unneeded type() function
1126 2003-05-05 André Pönitz <poenitz@gmx.net>
1130 * insettabular.[Ch]:
1131 * insetcollapsable.[Ch]: remove unused function firstParagraph()
1132 replace getFirstParagraph() by getParagraphs()
1134 2003-05-03 John Levon <levon@movementarian.org>
1136 * insetcollapsable.h:
1137 * insetcollapsable.C:
1143 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
1144 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
1145 getCursor(). Remove explicit cursor hides.
1147 2003-05-02 André Pönitz <poenitz@gmx.net>
1149 * insettext.C: remove unneeded &*
1151 2003-04-30 John Levon <levon@movementarian.org>
1153 * insettabular.C: fix edit message
1155 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1157 * insettext.C (setFont): do not convert iterator -> pointer
1159 * insettabular.C (localDispatch): do not convert iterator -> pointer
1161 (tabularFeatures): ditto
1163 2003-04-29 André Pönitz <poenitz@gmx.net>
1165 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
1167 2003-04-28 André Pönitz <poenitz@gmx.net>
1169 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1172 2003-04-25 André Pönitz <poenitz@gmx.net>
1174 * insetenv.C: derive from InsetText instead of InsetCollapsable
1176 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1178 * insetexternal.C (string2params): dont do anything if the string
1180 * insetgraphics.C (string2params): ditto
1181 * insetcommand.C (string2params): ditto
1182 * insetert.C (string2params): ditto
1183 * insetfloat.C (string2params): ditto
1184 * insetinclude.C (string2params): ditto
1185 * insetminipage.C (string2params): ditto
1186 * insettabular.C (string2params): ditto
1187 * insetwrap.C (string2params): ditto
1189 2003-04-24 André Pönitz <poenitz@gmx.net>
1191 * insetref.C: support for eqref
1193 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1195 * insetert.C (read): use ParagraphList::iterator.
1197 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1199 * insetquotes.C (latex): comment some code and add warnings.
1201 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1203 * insetexternal.C (localDispatch): added a missing DISPATCHED
1205 2003-04-12 John Levon <levon@movementarian.org>
1207 * insetwrap.C (addToToc): fix a crash, conversion
1208 from while to for loop forgot to remove the explicit
1211 2003-04-10 John Levon <levon@movementarian.org>
1213 * insettabular.C (tabularFeature): make sure
1214 to update the dialog when we change something
1217 (getStatus): don't disable some lfuns (bug 939)
1219 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1221 * insettext.C (saveLyXTextState): adjust
1222 (localDispatch): adjust
1228 * insettabular.C (localDispatch): adjust
1230 (tabularFeatures): adjust
1232 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1234 * insettabular.C (searchForward,searchBackward): fix bug 782
1236 2003-04-07 John Levon <levon@movementarian.org>
1239 * insettext.C: clear status message on inset exit
1241 2003-04-03 John Levon <levon@movementarian.org>
1243 * insetcommand.C: return dispatched on DIALOG_UPDATE
1245 2003-04-02 John Levon <levon@movementarian.org>
1247 * insettabular.C: tab lfuns renamed
1249 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1251 * insettext.C (update): move towards ParagraphList
1252 (updateLocal): ditto
1254 (insetUnlock): ditto
1256 (lockInsetInInset): ditto
1257 (updateInsetInInset): ditto
1258 (localDispatch): ditto
1261 (resizeLyXText): ditto
1262 (searchBackward): ditto
1263 (collapseParagraphs): ditto
1266 * insetwrap.C (InsetWrap): adjust
1267 (addToToc): adjust and rewrite loop
1269 * insettext.[Ch] (paragraph): delete function
1271 * insettabular.C (moveNextCell): adjust
1272 (movePrevCell): adjust
1273 (insertAsciiString): adjust
1275 * insetfloat.C (InsetFloat): adjust
1278 * insetert.C (InsetERT): adjust
1279 (write): adjust, and rewrite loop
1280 (latex): adjust, and rewrite loop
1281 (linuxdoc): adjust, and rewrite loop
1282 (docbook): adjust, and rewrite loop
1283 (localDispatch): adjust
1284 (get_new_label): adjust
1286 2003-04-01 John Levon <levon@movementarian.org>
1288 From Alfredo Braunstein
1291 * insetbutton.C: add localDispatch()
1293 * insetcommand.C: return DISPATCHED when edit() called
1295 * insettext.C: fix bug 967
1297 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1299 * insettext.C: adjust
1301 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1303 * insettext.C (draw): adjust
1304 (crow): return a RowList::iterator not a Row*
1306 * insetminipage.C (localDispatch): adjust
1308 * insetert.C (localDispatch): adjust
1310 2003-03-31 John Levon <levon@movementarian.org>
1313 * insetgraphicsParams.C: use_gui moved to lyx_gui
1315 2003-03-31 John Levon <levon@movementarian.org>
1317 * insettext.C: Alert fix
1319 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1321 * insettext.C (ascent): adjust for RowList
1324 (getLyXText): adjust
1325 (toggleSelection): adjust
1327 * insetminipage.C (localDispatch): adjust for RowList
1329 * insetert.C (localDispatch): adjust for RowList
1330 (getMaxWidth): adjust for RowList
1332 2003-03-29 John Levon <levon@movementarian.org>
1334 * insetert.C: Alert cleanup
1336 2003-03-29 John Levon <levon@movementarian.org>
1338 * insettabular.C: Alert fix
1340 2003-03-28 John Levon <levon@movementarian.org>
1342 * insetfloat.C: reset label on INSET_MODIFY
1344 2003-03-28 John Levon <levon@movementarian.org>
1346 * insetgraphicsParams.C: read subcaptionText as a whole line
1349 2003-03-28 John Levon <levon@movementarian.org>
1351 * insettext.C: remove unused prototypes
1353 2003-03-25 Angus Leeming <leeming@lyx.org>
1355 * insetbibitem.C (localDispatch): repaint the view after modifying
1356 a bibitem inset in case the maximum InsetBibitem width has changed.
1358 2003-03-25 John Levon <levon@movementarian.org>
1361 * insettabular.C: LyXText renamings
1363 2003-03-24 John Levon <levon@movementarian.org>
1365 * insettext.C: remove some dead code. Fix bug 972 and
1366 related by posting a repaint in updateLocal(), and making
1367 the SEL functions set SELECTION.
1369 2003-03-22 John Levon <levon@movementarian.org>
1372 * inset.C: remove no-longer-needed topx_set
1374 * insetcollapsable.h:
1375 * insetcollapsable.C: remove dead code
1378 * insetert.C: rebreak the rows when a possible
1379 change in size is made, and reset the cursor
1382 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
1384 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
1385 topx_set. Fix drawing errors for clearInset(). Remove
1386 some unnecessary uses of topx, which should die.
1388 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
1389 is no longer needed. Replace it with an ugly hack.
1391 2003-03-20 John Levon <levon@movementarian.org>
1394 * insetcollapsable.h:
1395 * insetcollapsable.C:
1403 * insettext.C: remove spurious font parameter
1404 from update(). Fix drawing of ERT insets inside
1405 insets (bug 966). Remove unused mark_dirty from
1406 tabular's updateLocal()
1408 2003-03-19 John Levon <levon@movementarian.org>
1417 * insetwrap.C: remove unused getter/setters
1419 2003-03-19 John Levon <levon@movementarian.org>
1421 * several files: bv->updateInset() doesn't take
1422 a bool mark_dirty any more
1424 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1426 * adjust for BufferView* arg removal from lyxtext.
1428 2003-03-17 John Levon <levon@movementarian.org>
1430 * most files: remove the "cleared" parameter
1431 to draw in favour of always clearing. Associated
1434 2003-03-16 John Levon <levon@movementarian.org>
1436 * insettext.C: remove unused s.refresh
1438 2003-03-13 Angus Leeming <leeming@lyx.org>
1440 * insettext.C (edit): replace Dialogs::updateParagraph with
1441 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
1443 2003-03-13 André Pönitz <poenitz@gmx.net>
1445 * Makefile.am: insert insetenv
1447 * insethenv.[Ch]: new files, currently inactive
1449 2003-03-12 John Levon <levon@movementarian.org>
1459 * insettext.C: use new insetnewline
1461 2003-03-12 John Levon <levon@movementarian.org>
1463 * insettext.C: readToken became readParagraph
1465 2003-03-12 John Levon <levon@movementarian.org>
1467 * insettext.C: use parlist iterator for reading contents
1469 2003-03-12 John Levon <levon@movementarian.org>
1471 * insettext.C: name change to readToken()
1473 2003-03-11 André Pönitz <poenitz@gmx.net>
1475 * Makefile.am: insert insethfill
1477 * insethfill.[Ch]: new files
1479 2003-03-10 Angus Leeming <leeming@lyx.org>
1481 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
1483 (hideDialog): calls the new static Dialogs::hide() method.
1485 * insetbibitem.C (edit):
1486 * insetbibtex.C (edit):
1487 * insetcite.C (edit):
1488 * insetcommand.C (localDispatch):
1489 * inseterror.C (d-tor):
1490 * insetert.C (showInsetDialog):
1491 * insetexternal.C (localDispatch, edit):
1492 * insetfloat.C (localDispatch, showInsetDialog):
1493 * insetfloatlist.C (edit):
1494 * insetgraphics.C (localDispatch, edit):
1495 * insetinclude.C (localDispatch, edit):
1496 * insetindex.C (edit):
1497 * insetlabel.C (edit):
1498 * insetminipage.C (localDispatch, showInsetDialog):
1499 * insetref.C (edit):
1500 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
1501 resetPos, showInsetDialog, openLayoutDialog):
1502 * insettoc.C (edit):
1503 * inseturl.C (edit):
1504 * insetwrap.C (localDispatch, showInsetDialog):
1505 changes due to the changed MailInset interface.
1507 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
1509 * insetfloat.h: Set default placement to an empty string.
1511 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1513 * insettext.C (latex): adjust call to latexParagraphs.
1515 2003-03-10 Angus Leeming <leeming@lyx.org>
1517 * mailinset.C: warn the user if the BufferView has not been cached.
1519 2003-03-10 Angus Leeming <leeming@lyx.org>
1521 * inset.h, insetbase.h: move cache() and view() into InsetBase.
1523 * insetcommand.h (inset):
1524 * insetert.h (inset):
1525 * insetexternal.h (inset):
1526 * insetfloat.h (inset):
1527 * insetgraphics.h (inset):
1528 * insetinclude.h (inset):
1529 * insetminipage.h (inset):
1530 * insettabular.h (inset):
1531 * insetwrap.h (inset):
1532 * mailinset.h (inset): return an InsetBase &, not an Inset &.
1534 2003-03-10 Angus Leeming <leeming@lyx.org>
1536 * insetcommand.C (string2params):
1537 * insetexternal.C (string2params):
1538 * insetfloat.C (string2params):
1539 * insetgraphics.C (string2params):
1540 * insetinclude.C (string2params):
1541 * insetminipage.C (string2params):
1542 * insettabular.C (string2params):
1543 * insetwrap.C (string2params): cure warning message about missing
1546 2003-03-09 Angus Leeming <leeming@lyx.org>
1548 * insettabular.[Ch]: define a new class InsetTabularMailer and use
1549 it to communicate with the frontend dialogs.
1551 * mailinset.C (hideDialog): only hide the dialog if it is showing the
1552 contents of this inset!
1554 2003-03-07 Angus Leeming <leeming@lyx.org>
1556 * inseterror.C (localDispatch): new method; calls edit() on
1559 2003-03-07 Angus Leeming <leeming@lyx.org>
1561 * insetbibitem.C (localDispatch):
1562 * insetbibtex.C (localDispatch):
1563 * insetlabel.C (localDispatch):
1564 rewrite as a switch.
1566 2003-03-07 Angus Leeming <leeming@lyx.org>
1568 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
1569 it to communicate with the frontend dialogs.
1571 2003-03-07 Angus Leeming <leeming@lyx.org>
1573 * insetexternal.C: remove operator== and operator!= for
1574 InsetExternal::Params. They were used only by the old controller
1577 2003-03-07 Angus Leeming <leeming@lyx.org>
1579 * insetcommand.C (localDispatch):
1580 * insetexternal.C (localDispatch):
1581 * insetfloat.C (localDispatch):
1582 * insetinclude.C (localDispatch):
1583 * insetminipage.C (localDispatch):
1584 * insetwrap.C (localDispatch):
1585 add LFUN_INSET_DIALOG_UPDATE to the switch.
1587 2003-03-07 Angus Leeming <leeming@lyx.org>
1589 * insetcommand.C (string2params):
1590 * insetexternal.C (string2params):
1591 * insetfloat.C (string2params):
1592 * insetinclude.C (string2params):
1593 * insetwrap.C (string2params): use LyXLeX more.
1596 * insetexternal.[Ch]:
1598 * insetinclude.[Ch]:
1599 * insetwrap.[Ch]: change Mailer::name_ to be static.
1601 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
1602 it to communicate with the frontend dialogs.
1604 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1607 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
1609 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1611 * insettext.C (updateLocal): un-const function
1612 (updateLocal): adjust
1613 (collapseParagraphs): un-const function
1614 (collapseParagraphs): adjust
1616 2003-03-05 Angus Leeming <leeming@lyx.org>
1618 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
1619 it to communicate with the frontend dialogs.
1621 2003-03-05 Angus Leeming <leeming@lyx.org>
1623 * insetcollapsable.C (draw): cache the BufferView.
1625 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
1626 it to communicate with the frontend dialogs.
1628 2003-03-05 Angus Leeming <leeming@lyx.org>
1630 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
1633 2003-03-05 Angus Leeming <leeming@lyx.org>
1635 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
1637 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
1638 it to communicate with the frontend dialogs.
1640 2003-03-05 Angus Leeming <leeming@lyx.org>
1642 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
1643 it to communicate with the frontend dialogs.
1645 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1647 * insettext.C (collapseParagraphs): adjust
1648 (appendParagraphs): make it take a Buffer* instead of a
1649 BufferParams& as arg.
1650 (appendParagraphs): adjust
1652 2003-03-04 Angus Leeming <leeming@lyx.org>
1654 * insetbibitem.C (localDispatch):
1655 * insetbibtex.C (localDispatch):
1656 * insetcommand.C (localDispatch):
1657 * insetert.C (localDispatch):
1658 * insetlabel.C (localDispatch):
1659 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
1661 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1663 * insettext.C (latex): adjust for ParagraphList::iterator
1665 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1667 * insetbutton.C (view): adjust for boost 1.30.0
1668 * insetcollapsable.C (view): ditto
1669 * insetgraphics.C (statusChanged): ditto
1671 * insettext.h: move paragraphs to be public.
1673 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1675 * insetnote.[Ch] (InsetNote): remove unused constructor
1677 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1679 * insetgraphics.C: added include "format.h"
1681 2003-02-27 Angus Leeming <leeming@lyx.org>
1683 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
1686 2003-02-27 Angus Leeming <leeming@lyx.org>
1688 * insetbibitem.C (localDispatch):
1689 * insetbibtex.C (localDispatch):
1692 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1694 2003-02-26 Angus Leeming <leeming@lyx.org>
1696 * insetbibitem.[Ch] (localDispatch):
1697 * insetbibtex.[Ch] (localDispatch):
1698 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
1700 * insetcommand.C (localDispatch):
1701 act only on receipt of LFUN_XYZ_APPLY.
1703 * insetert.C (localDispatch): reformat.
1704 add LFUN_XYZ_APPLY to the switch.
1706 2003-02-26 John Levon <levon@movementarian.org>
1708 * insettext.C: use RowPainter
1710 * inset.h: make helpers take const *
1712 2003-02-26 Angus Leeming <leeming@lyx.org>
1714 * insetcommand.[Ch] (localDispatch): new method.
1716 2003-02-26 Angus Leeming <leeming@lyx.org>
1718 * insetinclude.C (draw): cache the BufferView* using cache not
1719 PreviewImpl::setView
1721 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
1723 * insetgraphics.C (draw)
1724 * insetinclude.C (draw): Eliminate also the other argument (owner
1725 inset inset) in the call to PreviewImage::image
1727 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
1729 * insetgraphics.C (draw)
1730 * insetinclude.C (draw): Eliminate Buferview argument in call to
1733 2003-02-25 John Levon <levon@movementarian.org>
1735 * insetgraphicsParams.h:
1736 * insetgraphics.C: don't start a load process if
1737 the inset is set to NoDisplay (bug #920)
1739 2003-02-22 John Levon <levon@movementarian.org>
1742 * insetwrap.C: TocItem changed API (bug 913)
1744 2003-02-21 Angus Leeming <leeming@lyx.org>
1746 * insetcollapsable.[Ch] (cache, edit):
1747 * insetbutton.[Ch] (cache, edit): new methods to cache the
1748 BufferView in the draw method.
1750 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
1751 simplify comunication between InsetCommand-derived classes and
1754 * insetbibitem.[Ch]:
1758 * insetfloatlist.[Ch]:
1762 * inseturl.[Ch]: small changes to reflect the new interface to the
1765 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
1766 other, similar classes.
1768 * Makefile.am: add new files.
1770 2003-02-21 Angus Leeming <leeming@lyx.org>
1772 * updatableinset.h (setView, view): remove.
1773 * inset.h (view, cache): to be replaced by these.
1775 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
1778 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
1781 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
1783 2003-02-21 Allan Rae <rae@lyx.org>
1785 * insetinclude.C (loadIfNeeded): ensure loading also works when
1786 child document is under version control.
1788 2003-02-17 André Pönitz <poenitz@gmx.net>
1790 * insetbib.[Ch]: Adjust access to bibkeys
1792 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1794 * insetquotes.C (dispString): remove use of acute accent for "'"
1797 2003-02-14 John Levon <levon@movementarian.org>
1799 * insettabular.C: changed method names in tabular.C
1801 2003-02-14 John Levon <levon@movementarian.org>
1805 * insetcollapsable.h:
1806 * insetcollapsable.C:
1810 * insettext.C: remove unused getParFromID()
1812 2003-02-13 John Levon <levon@movementarian.org>
1815 * insettext.C: remove unused beginningofMainBody()
1817 2003-02-08 John Levon <levon@movementarian.org>
1821 * insetcollapsable.h:
1822 * insetcollapsable.C:
1827 add nextChange(). Make allowSpellcheck() const. Add markErased().
1829 * insetert.C: ignore deleted text
1831 * insettabular.C: make sure to keep change tracking working
1834 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1839 * insettext.C: Use error messages with identical spelling and punctuation
1841 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
1843 * insetgraphics.C (draw, width): Fix spacing around graphics inset
1845 2002-12-17 Juergen Vigna <jug@lyx.org>
1847 * insettext.C (localDispatch): hopefully fixed cursor up down
1848 movement on leaving other insets.
1850 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1852 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
1855 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1857 * insetgraphics.C (prepareFile): do not remove the extension of
1858 the file name if it is not the default extension for the given
1859 format (that is, in latex output, remove extension from foo.eps,
1860 but not from foo.epsi)
1862 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1864 * insettext.C (lfunMouseRelease): hackish solution to the "double
1867 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1869 * insetfloat.C (addToToc): use the floats name not its type
1870 * insetwrap.C (addToToc): ditto
1872 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1874 * insetnote.C (init): make label font smaller
1876 2002-12-04 John Levon <levon@movementarian.org>
1878 * insetinclude.C: ressurect setting of command name
1880 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1882 * insetquotes.C (dispString): disambiguate insert call
1884 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1886 * several files: ws changes
1888 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1890 * insetquotes.C (dispString): use string::insert for prepending a
1893 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1895 * insetparent.C (getScreenLabel): use boost::format
1897 * insetgraphics.C (prepareFile): use boost::format
1900 * insetfloatlist.C (latex): use boost::format
1902 * insetcaption.C (draw): use boost::format
1904 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1906 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
1909 2002-11-20 Juergen Vigna <jug@sad.it>
1911 * insettabular.C (resetPos): temporary fix for endless loop in
1912 this function on a redraw.
1914 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1916 * insettabular.C (copySelection): STRCONV
1918 * insetinclude.C (uniqueID): STRCONV
1919 (latexString): ditto
1921 * insetgraphics.C: put VersionNumber inside anon namespace
1922 (createLatexOptions): STRCONV
1924 * insetcommandparams.C: include config.h
1926 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
1928 * insetgraphicsParams.C (Write): use lyx::float_equal.
1929 Write height data correctly.
1930 (Read): zero scale when reading height data.
1932 2002-10-30 John Levon <levon@movementarian.org>
1934 * insetfloat.C (addToTOC): recursively traverse all
1935 contents looking for captions (fix #568)
1937 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1939 * insetexternal.C (doSubstitution): do not try to replace
1940 environment variables, this is done when executing the command
1942 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1944 * insetexternal.C (doSubstitution): change order of substitution
1945 to work around ReplaceEnvironmentPath brokenness
1947 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
1949 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
1951 * insetgraphicsParams.C (init, Write): associated changes
1952 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
1953 InsetGraphicsParams::scale.
1955 2002-10-21 John Levon <levon@movementarian.org>
1957 * inset.h: remove unused DISPATCH_RESULT
1959 * insettext.C: sgml open/close tag now in sgml namespace
1961 2002-10-21 Angus Leeming <leeming@lyx.org>
1963 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
1964 file path subdir/fig.eps when pasting it into a buffer in a different
1967 2002-10-16 John Levon <levon@movementarian.org>
1969 * insetspecialchar.C: remove \\protected_separator parsing
1971 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1973 * insetquote.C: fix LaTeX output of quotation marks.
1975 2002-10-14 Juergen Vigna <jug@sad.it>
1977 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
1978 Backspace functions which confused the Undo handling.
1980 2002-10-09 Angus Leeming <leeming@lyx.org>
1982 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
1983 BufferView::dispatch that turns off this optimisation when a new inset
1986 * insetcite.C (getNatbibLabel): correct logic of when and when not to
1987 reload the BibTeX keys.
1989 2002-10-11 André Pönitz <poenitz@gmx.net>
1991 * insettext.h: handle LFUN_PRIOR/NEXT
1993 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1995 * insetfloat.C: fix bug with float settings
1996 (document default != float default).
1998 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2000 * insetwrap.C (addToToc): New method.
2001 (InsetWrap): Set layout to caption.
2003 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2005 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
2007 2002-09-16 John Levon <levon@movementarian.org>
2009 * insettabular.h: hasSelection() needs to be public
2011 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2013 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2015 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2017 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2019 2002-09-11 André Pönitz <poenitz@gmx.net>
2021 * insettabular.C: implement LFUN_WORDSEL
2023 2002-09-10 John Levon <levon@movementarian.org>
2025 * insetinclude.h: remove unused param
2027 2002-09-09 John Levon <levon@movementarian.org>
2030 * insetinclude.C: remove noload, default to input
2032 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
2034 * insetgraphics.C: disfuscated use of ']' in built output string.
2036 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2038 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
2040 2002-08-29 Juergen Vigna <jug@sad.it>
2042 * insettabular.C (lfunMousePress): Pay attention where you set
2043 the x/y values as they depend on which inset in the tabular is
2044 actually locked. So you surely have to reset them if you (un)lock
2047 2002-08-29 André Pönitz <poenitz@gmx.net>
2049 * insetfootlike.h: rename include guard to ALL CAPS
2051 * insettext.C: swap object and first parameter for checkInsetHit calls
2052 as this functions has moved from BufferView to LyXText
2055 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2057 * insetgraphicsParams.C: remove local displayTranslator and use
2058 the one from graphics/GraphicsTypes.h.
2060 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2062 * insetfloat.C (wide): add BufferParams parameter
2064 * insetfloatlist.C (read):
2067 * insetfloat.C (latex):
2069 * insetcaption.C (draw): use LyXTextClass::floats()
2071 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2073 * insetoptarg.h: add std:: qualifier.
2075 2002-08-26 Juergen Vigna <jug@sad.it>
2077 * insettext.C (localDispatch): ditto.
2079 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
2081 2002-08-25 John Levon <levon@movementarian.org>
2083 * inseturl.C: elide long URLs (bug 404)
2085 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2087 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
2088 remove "Format Version <version_no.>" string from inset header
2091 * insetgraphicsParams.[Ch]: Implement new graphics dialog
2093 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
2094 a member of "grfx::Params" anymore.
2096 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
2098 2002-08-24 John Levon <levon@movementarian.org>
2101 * insetoptarg.C: ws, pedantry ...
2103 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2105 * insettext.C (collapseParagraphs): pasteParagraph now in global
2107 (appendParagraphs): ditto
2109 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
2111 * insetcite.C (latex): Remove spaces only after commmas.
2113 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2115 * insettext.C: remove NO_COMPABILITY stuff
2117 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2119 * insettext.C (edit): use ParagraphList iterators
2121 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
2122 (bibitemWidest): ditto
2124 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2126 * insettext.C: include <boost/bind.hpp>
2127 add using std::for_each
2128 (saveLyXTextState): use ParagraphsList::iterator
2129 (init): use for_each on paragraphlist iterators
2130 (InsetText): remove superflous setting cached_bview to 0
2131 (latex): reformat a bit
2132 (ascii): use paragraphlist iterators
2133 (validate): use for_each + boost bind
2134 (getLabelList): use paragraphlist iterators
2135 (deleteLyXText): use for_each + boost::bind
2136 (resizeLyXText): ditto
2137 (reinitLyXText): ditto
2138 (removeNewlines): use paragraphlist iterators
2139 (getParFromID): ditto
2140 (paragraph): use for_each + boost::bind
2141 (getInsetFromID): use paragraphlist iterators
2142 (getLabelList): typo fix
2144 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2146 * insettext.C (read): assign tmp to paragraphs after return from
2147 call to parseSingleLyXformat2Token
2150 2002-08-13 Angus Leeming <leeming@lyx.org>
2169 changes due to the changed LyXView interface that now returns references
2170 to member variables not pointers.
2172 2002-08-13 Angus Leeming <leeming@lyx.org>
2175 * insetcollapsable.h:
2178 * insettext.h: forward-declare WordLangTuple
2179 (selectNextWordToSpellcheck) constify return type.
2182 * insetcollapsable.C:
2185 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
2187 2002-08-12 Angus Leeming <leeming@lyx.org>
2189 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
2191 2002-08-12 Juergen Vigna <jug@sad.it>
2193 * insetcollapsable.C (edit): ignore if entered when pressing mouse
2196 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2198 * insetbib.C (bibitemMaxWidth): ParagraphList changes
2199 (bibitemWidest): ditto
2200 * insettext.[Ch]: ditto
2202 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2204 * insettext.C, insetert.C: use Paragraph::empty where appropriate
2206 2002-08-09 Angus Leeming <leeming@lyx.org>
2208 * insetinclude.C (latexString): remove fudge now that I've found out
2209 how to enable LaTeX to find the file using input@path.
2211 2002-08-09 John Levon <levon@movementarian.org>
2214 * insettext.C: remove unused xpos
2216 2002-08-07 Juergen Vigna <jug@lyx.org>
2218 * insettabular.C (localDispatch): make delete not put the stuff
2219 in the clipboard only do this on a cut operation.
2221 * insettext.C (localDispatch): make delete and backspace not put
2222 selected stuff to the clipboard.
2224 2002-08-07 André Pönitz <poenitz@gmx.net>
2227 * insetcollapsable.[Ch]:
2231 * insettabular.[Ch]:
2232 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
2234 2002-08-06 John Levon <levon@movementarian.org>
2238 * insetcollapsable.h:
2239 * insetcollapsable.C:
2245 * insettext.C: use WordLangTuple for spellcheck
2247 2002-08-06 Angus Leeming <leeming@lyx.org>
2249 * insetinclude.C: add a monitor to the previewed image, so that the
2250 image is refreshed if the \input-ed file changes.
2252 2002-08-04 John Levon <levon@movementarian.org>
2255 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
2257 2002-08-02 Angus Leeming <leeming@lyx.org>
2259 * insetcommandparams.[Ch] (preview): new methods returning and setting
2260 a new bool preview_ flag.
2261 (read): read this flag.
2262 (operator==): add flag to check.
2264 * insetinclude.C (write): output new preview() flag.
2265 (previewWanted): use this flag.
2267 2002-08-02 Angus Leeming <leeming@lyx.org>
2269 * insetcollapsable.[Ch] (addPreview):
2270 * insettabular.[Ch] (addPreview):
2271 * insettext.[Ch] (addPreview): new methods. Can now generate previews
2272 for insets in insets.
2274 2002-08-02 Angus Leeming <leeming@lyx.org>
2276 * insetcite.C: fix typo.
2278 * insetgraphics.C: kill current_view and instead cache the BufferView
2281 * insetinclude.C: kill current_view and pass the BufferView to the
2282 PreviewedInset so that it can cache it.
2284 2002-08-01 Angus Leeming <leeming@lyx.org>
2286 * inset.h (generatePreview): renamed as addPreview.
2287 (generatePreview): new method. Allows code to be moved out of
2288 math_nestinset.C and into the new PreviewedInset class.
2290 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
2291 add previews to the inset when \input-ing LaTeX.
2293 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2295 * several files: strip,frontStrip -> trim,ltrim,rtrim
2297 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2299 * insetbib.C (latex): modify because of strip changes
2301 * insetnote.C (InsetNote): ditto
2303 2002-07-26 Juergen Vigna <jug@sad.it>
2305 * insettabular.C (searchForward): check for lastcell if we
2306 had a locking inset.
2308 2002-07-25 Juergen Vigna <jug@sad.it>
2310 * insettabular.C (insetMotionNotify): Don't update the screen
2311 if we didn't do nothing.
2312 (searchForward): last cell was not checked.
2314 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2316 * insetfloat.C (read, write): Allow default placement
2317 (floatPlacement_ is empty).
2319 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2321 * insetminipage.h (noFontChange):
2322 * insettabular.h (noFontChange):
2323 * insetfootlike.h (noFontChange):
2324 * insetfloat.h (noFontChange): return true
2326 * inset.h (noFontChange): new method, defaulting to false
2328 2002-07-22 Herbert Voss <voss@lyx.org>
2330 * insetgraphicsParams.[Ch]: support size_type for old docs
2332 2002-07-22 Herbert Voss <voss@lyx.org>
2335 * insetgraphicsParams.[Ch]: change size_type to size_kind and
2338 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2340 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
2342 * insetlatexaccent.h: do not include "lyxlex.h"
2344 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
2347 * insetlatexaccent.C:
2351 * insetbib.C: #include "lyxlex.h"
2357 * insettext.C: use BufferParams::getLyXTextClass
2360 * insetfloat.C (addToToc): new method. Add to toclist the entries
2361 corresponding to Caption layouts
2362 (InsetFloat): when creating a new float, set the layout to "Caption"
2364 2002-07-21 Herbert Voss <voss@lyx.org>
2366 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
2367 image relevant part into graphics/GraphicsImgae.C
2369 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2371 * insettoc.C (ascii):
2372 * insetfloatlist.C (ascii): change to use the new Toc functions
2373 instead of stuff that was in Buffer
2375 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2377 * insettext.C (localDispatch): BufferView::Dispatch has been
2378 renamed to BufferView::dispatch
2380 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2382 * insetgraphicsParams.C (as_grfxParams): use the new
2383 keepLyXAspectRatio parameter. Note that this is an adaptation of a
2384 1.2.0 patch, and I do not really know how to adapt it to the new
2385 grfx::Cache world. Angus, please could you have a look?
2387 2002-05-01 Herbert Voss <voss@lyx.org>
2389 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
2391 2002-07-18 Angus Leeming <leeming@lyx.org>
2393 * insetgraphics.C: clean-up comments (from Herbert).
2394 add a new checksum variable to the cache. Use it in PrepareFile.
2395 (draw): start monitoring the file for a change.
2396 (prepareFile): re-arrange a little to avoid unnecessary steps.
2398 2002-07-17 Angus Leeming <leeming@lyx.org>
2400 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
2401 a method rather than to the signal directly.
2403 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2405 * insettext.C: use view_state_changed, switchKeyMap
2407 2002-07-17 Herbert Voss <voss@perce.de>
2409 * insetgraphics.C (prepareFile): keep the extension when
2410 exporting to nice file
2412 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2414 * insetcite.C (getNatbibLabel):
2415 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
2417 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2419 * insetgraphics.C: use ->isDrawable()
2421 2002-07-12 Angus Leeming <leeming@lyx.org>
2423 * insetgraphics.C: use the new smart loading capabilities of the image
2426 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2428 * insettabular.C (edit): Move into correct cell when entering a
2431 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
2434 2002-07-05 Angus Leeming <leeming@lyx.org>
2436 * inset.h (generatePreview): new virtual method.
2438 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2440 * insetcommandparams.[Ch] (operator=): move out of class
2441 (operator!): move out of class
2443 2002-07-04 André Pönitz <poenitz@gmx.net>
2445 * insetcommandparams.[Ch]: new files
2447 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
2449 2002-06-15 Herbert Voss <voss@perce.de>
2451 * insetgraphics.C (prepareFile): bugfix; return always
2452 files without extension
2454 2002-06-28 Angus Leeming <leeming@lyx.org>
2456 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
2457 rename asGParams -> as_grfxParams.
2459 * insetgraphics.C: reflect above change.
2461 2002-06-26 Angus Leeming <leeming@lyx.org>
2463 * insetgraphics.h: use boost::scoped_ptr in preference to
2466 2002-06-26 Angus Leeming <leeming@lyx.org>
2468 * insetgraphics.C: moved the image loading stuff into a new class
2469 grfx::Loader. Simplifies this file enormously.
2471 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
2473 * insetgraphicsParams.C: changes aassociated with moving
2474 grfx::DisplayType out of grfx::GParams.
2476 2002-06-26 André Pönitz <poenitz@gmx.net>
2478 * insetgraphics.C: use os::external_path where necesaary according to a
2479 patch from Claus Hentschel)
2481 2002-06-25 Angus Leeming <leeming@lyx.org>
2483 * insetgraphics.[Ch]: The inset now assumes the responsibility for
2484 generating a pixmap once the graphics file is loaded into memory.
2485 The current_view ugliness that was in grfx::ModifiedImage has been
2486 moved here now that grfx::ModifiedImage is no more.
2488 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2490 * insettext.C: layout as layout
2492 2002-05-28 André Pönitz <poenitz@gmx.net>
2494 * insetfloatlist.h: remove source of compiler warning
2496 * insetref.C: tiny whitespace
2498 2002-06-15 Herbert Voss <voss@perce.de>
2500 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
2501 and take always convert when no userdefined converter was
2503 (latex) small changes in the lyxerr output
2505 2002-06-15 LyX Development team <lyx@rilke>
2507 * inset*.[Ch] (docbook): Added new argument to take the pernicious
2508 mixed content. Small white spaces clean.
2510 2002-06-14 Angus Leeming <leeming@lyx.org>
2512 * inseetexternal.C: remove the using std::difftime declaration.
2514 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
2516 * insetquotes.C: change lyxfont::draw to font_metrics::draw
2518 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
2520 * insetquotes.C (draw): fix drawing of double quotes
2522 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2524 * insettabular.C: s/scrollCB/scrollDocView/
2526 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2528 * insettext.C: change of topCursorVisible()
2531 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2534 * insettext.C: rename/change of LyXScreen
2536 2002-06-07 Angus Leeming <leeming@lyx.org>
2538 Fixes needed to compile with Compaq cxx 6.5.
2540 all c-library variables have been moved into namespace std.
2541 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2543 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2545 * insetinclude.C (uniqueID):
2546 * insetgraphics.C (uniqueID): renamed from unique_id, since this
2547 conflicted with some AIX headers.
2549 2002-05-31 Juergen Vigna <jug@sad.it>
2551 * insetert.C (get_new_label): add '...' for multi-paragraph ert
2555 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2557 * insetexternal.C (clone): fix () bug when using new
2558 (updateExternal): don't only look for difftime in global scope
2560 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2562 * insettabular.C: add const
2564 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2566 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
2567 file name, in case there are weird characters like ',' in there.
2570 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2572 * switch from SigC signals to boost::signals.
2574 2002-05-28 André Pönitz <poenitz@gmx.net>
2576 * insets/insetgraphicsParams.[Ch]:
2577 put in inset related stuff from src/graphic
2579 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2587 * insetcollapsable.C:
2588 * insetcollapsable.h:
2616 * inseturl.h: use mouse_state. Kill insetKeyPress
2618 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2623 * insetcollapsable.C:
2626 * insetlatexaccent.C:
2628 * insetspecialchar.C:
2630 * insettext.C: name change for font metrics
2632 2002-05-24 Juergen Vigna <jug@sad.it>
2634 * insetgraphics.h: include inset.h first (for LString.h)
2636 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2638 * insettext.C: screen moved
2640 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2658 * inseturl.C: LyXView moved into frontends/
2660 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2665 * insetcollapsable.C:
2669 * insetgraphicsParams.C:
2670 * insetlatexaccent.C:
2672 * insetspecialchar.C:
2674 * insettext.C: move Painter to frontends/
2676 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2678 * insettabular.h: use more specific smart_ptr header.
2679 * insettext.h: ditto
2681 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
2684 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
2686 * insettext.C: clear selection on paste (bug 393)
2688 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
2690 * insettext.C (latex): Honor the moving_arg argument.
2692 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2694 * insetfoot.C (latex): if a footnote is in a title layout, then it
2695 is a \thanks. And then, its contents is a moving argument.
2697 2002-05-14 Juergen Vigna <jug@sad.it>
2699 * insetcollapsable.C (InsetCollapsable): forgot to initialize
2702 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
2704 * Insetcite.C (getNatbibLabel): don't disable natbib label support
2705 when using options "Full author list" or "Upper case".
2707 2002-05-14 Herbert Voss <voss@perce.de>
2709 * insetgraphics.C (prepareFile): allow files with same name
2711 (readFigInset): set the flags from old figinset in the right
2713 (findTargetFormat): more comments
2715 2002-05-14 Juergen Vigna <jug@sad.it>
2717 * insettext.C (edit): tell checkAndActivateInset() that we don't
2718 have a button press.
2719 (checkAndActivateInset): if button < 0 we don't have a button press
2720 on the inset and os we won't call edit on it if it's not a Highly
2721 editable inset (then we have to enter it).
2723 2002-05-13 Juergen Vigna <jug@sad.it>
2725 * insetcollapsable.C (insetButtonRelease): returned wrong return
2728 2002-05-09 Juergen Vigna <jug@sad.it>
2730 * insetcollapsable.C (edit): first_after_edit should only be
2731 set to true if we enter this inset and it was collapsed so we
2732 open it up. This is needed to reclose it after a search/replace
2733 or spellcheck function opened it and was negative.
2735 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
2737 * insetfloat.C (latex): Return correct value.
2739 2002-05-04 Herbert Voss <voss@perce.de>
2741 * InsetgraphicsParams.C (read): fix bug with WH
2743 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
2745 * insetfloat.C (latex): More sensible latex output
2746 (fix the problem with endfloat).
2748 2002-05-02 José Matos <jamatos@fep.up.pt>
2750 * insetgraphics.C (validate): acess params as everyone else.
2752 2002-05-03 Juergen Vigna <jug@sad.it>
2754 * insettabular.C (fitInsetCursor): recalculate the cursor position
2757 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
2759 * InsetgraphicsParams.[Ch]: whitespace.
2761 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
2763 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
2764 float type do not exist.
2766 2002-04-28 Herbert Voss <voss@perce.de>
2768 * insetgraphics.C (latex): fix bug with missing file-extension.
2769 LaTeX still allows a missing "eps" or "ps".
2771 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
2773 * insetfloat.C (c-tor, wide): translate the name of the float.
2775 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
2777 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
2778 when using natbib and make it work efficiently. Must emphasise that the
2779 real work is Herbert's.
2781 2002-04-23 Herbert Voss <voss@perce.de>
2783 * insetgraphic.C (prepareFile): fix bug with overwriting and
2784 deleting an existing *.eps-file in the doc-dir
2786 2002-04-23 Juergen Vigna <jug@sad.it>
2788 * insettabular.C (drawCellSelection): fix off by 1 error.
2790 2002-04-22 Juergen Vigna <jug@sad.it>
2792 * insettabular.C (setFont): rewoke full selection if it was asked,
2793 after we changed all we had to change.
2795 * insettext.C (insetUnlock): code was uninitialized in some situations.
2797 2002-04-19 Herbert Voss <voss@perce.de>
2799 * insetgraphic.C (prepareFile): return filename without
2800 extension if we only export without compiling
2802 2002-04-19 Juergen Vigna <jug@sad.it>
2804 * insettext.C (draw): call a fullRebreak on the row where we had a
2805 change and reset the cursor and selection-cursors.
2807 * insettabular.C (insetUnlock):
2808 (insetButtonPress): call an update before setting the_locking_inset = 0
2809 as otherwise we don't repaint!
2810 (update): reset the cursor position when we changed dimensions as
2811 otherwise our cursor may be on the wrong spot.
2813 2002-04-18 Juergen Vigna <jug@sad.it>
2815 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
2816 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
2817 redraw otherwise we won't redraw.
2819 * insettext.C (draw): fixed the setting of LyXText::first_y it was
2820 not really right before, but I only discovered this with the last
2821 changes to Page up/down.
2823 2002-04-17 Juergen Vigna <jug@sad.it>
2825 * insettext.C (checkAndActivateInset): simplified as we now have the
2826 edit(bv, bool) call.
2828 * insettext.h: changed behind variables to front variables to be
2829 equal to the one in the edit call (as it is for that they are used).
2831 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
2833 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
2834 not output anything at all!
2836 2002-04-16 Juergen Vigna <jug@sad.it>
2838 * insettabular.C (insetButtonPress):
2839 (insetUnlock): call a redraw on unlocking the cell inset.
2841 * insettext.C (insetButtonPress): same as below.
2842 (lockInset): new function to set initial values when inset should
2844 (insetButtonPress): use above function.
2845 (insetUnlock): don't force a repaint only set the updateStatus. The
2846 outside world should repaint if it thinks it should be done!
2848 * insettabular.C (insetButtonPress): init values if not set as locked
2849 as we are locked if someone presses on us and don't call the edit()
2850 call of the InsetText to lock it do it as BufferView does it!
2852 * inset.h (insetInInsetY): make func const and return an int.
2855 * insetcollapsable.C: adapt the above changed function.
2857 2002-04-15 Juergen Vigna <jug@sad.it>
2859 * insettext.C (getCursorPos): return relative position as to be able
2860 to give them directly to the edit() call.
2861 (edit): we have to set also x_fix as it is not set inside the
2862 setCursorFromCoordinates call!
2863 (insetMotionNotify): ditto.
2865 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
2867 * insetbib.C (getKeys): strip leading '\t's from the line too.
2868 With thanks to Henry Pfister <hpfister@ucsd.edu>.
2870 2002-04-12 Juergen Vigna <jug@sad.it>
2872 * insettext.h: added cix() helper function and use it where appropriate
2874 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2876 * insetgraphics.C (prepareFile): fix bug when graphics is a
2879 2002-04-12 Juergen Vigna <jug@sad.it>
2881 * insettext.C (insertInset): remove unneeded code!
2882 (updateLocal): fitCursor() fixes.
2883 (collapseParagraphs): fix a possible problem when having a selection
2884 and collapsing the paragraphs.
2886 2002-04-08 Herbert Voss <voss@perce.de>
2888 * insetgraphic.C (write): write the rotating angle as
2889 a float as is. test only for != 0.0
2891 2002-04-11 Juergen Vigna <jug@sad.it>
2893 * insettext.C: new function ciy() and use it for setting inset_y.
2895 * insetert.C (draw): fix the x return for collapsed version.
2897 2002-04-07 Herbert Voss <voss@perce.de>
2899 * insetgraphic.C (readFigInset): fix bug with subcaption and
2902 2002-04-08 Herbert Voss <voss@lyx.org>
2904 * insetgraphicsparam.C: forgot special option and delete old
2907 2002-04-05 Juergen Vigna <jug@sad.it>
2909 * insettext.C (localDispatch): make a CURSOR update if we inserted
2912 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2914 * insetfloatlist.C (getScreenLabel):
2915 (latex): use Floating::listName
2916 (validate): new method
2918 2002-04-03 José Matos <jamatos@fep.up.pt>
2920 * insetlabel.C (docbook): the anchor is an empty element in docbook.
2922 * insetfoot.[Ch] (docbook): added forgotten method.
2924 2002-04-03 Juergen Vigna <jug@sad.it>
2926 * insettext.C (insetButtonPress): fix insetButtonPress events the same
2927 way as in Bufferview_pimpl.
2929 2002-04-03 Allan Rae <rae@lyx.org>
2931 * insetgraphics.C (latex): one % too many makes living on the bleeding
2932 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
2934 2002-03-28 Herbert Voss <voss@lyx.org>
2936 * insetgraphic.C (latex): simplify the code for the latex
2937 output when the file doesn't exist
2939 2002-03-29 Juergen Vigna <jug@sad.it>
2941 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
2944 * insettabular.C (edit): call fitCursor().
2946 * insettext.C (insetButtonPress): change behaviour of no_selection
2947 to the one in the BufferView selection_possible and fix the spurious
2948 selection bug with it.
2949 (localDispatch): revoke selection on BREAK... functions.
2951 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2953 * insetfloatlist.C (getScreenLabel): translate the GUI label.
2955 2002-03-28 Juergen Vigna <jug@sad.it>
2957 * insettabular.C (insetAllowed): return true as default value otherwise
2958 we're not able to insert insets inside paragraphs of an not locked
2961 2002-03-27 Herbert Voss <voss@lyx.org>
2963 * insetgraphicsparam.C: change c%, p% to col%, page%
2965 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2967 * insetspecialchar.C (isLineSeparator): disable the nice code to
2968 allow linebreaks after hyphenation and menu separators.
2970 2002-03-26 Herbert Voss <voss@lyx.org>
2972 * insetgraphics.C (figinsetRead): set the right lyxview
2974 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
2976 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
2977 $\backslash$ and pass a "string const &" to the function.
2978 (prepareFile, latex): use Path rather than MakeAbsPath.
2980 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
2982 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
2983 proper fix to the graphics cache.
2984 (latex): "really" nice output if the file is not found ;-)
2986 2002-03-26 Juergen Vigna <jug@sad.it>
2988 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
2989 (collapseParagraphs): fixed inserting of separator ' '
2991 * insettabular.C (insertAsciiString): only check for buffer lenght
2992 not if we have \t or \n inside the buffer as if we don't have we only
2993 have 1 cell and that's it!
2995 * insetert.C (close): don't collapse if inlined.
2997 2002-03-25 Herbert Voss <voss@lyx.org>
2999 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
3000 graphics file does not exist.
3002 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
3004 * insetgraphics.C (prepareFile): ensure that the file has an absolute
3005 path when preparing export.
3007 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
3008 no longer MakeRelPath.
3010 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3012 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
3013 Used to determine the absolute path to the graphics file in the
3014 graphics cache and only in the graphics cache.
3015 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
3016 make graphics file name absolute if it is stored as a relative path.
3018 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
3019 make graphics file name absolute if it is stored as a relative path.
3021 * insettext.C (edit): emit an updateParagraph signal on entering a text
3022 inset. Needs to be emitted when leaving the inset also.
3024 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3026 * all files: ws cleanup
3028 * Makefile.am: remove ld -r stuff
3030 2002-03-21 Juergen Vigna <jug@sad.it>
3032 * insettext.C (appendParagraphs): new function added to append
3033 the paragraphs to this insets paragraphs.
3035 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3037 * Makefile.am: special rules if partial linking
3039 2002-03-19 Juergen Vigna <jug@sad.it>
3041 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
3043 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
3045 * insetgraphics.C: Clean up Baruch's comments a little.
3046 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
3048 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
3051 * insettheorem.C: wrap warnings
3053 * insetgraphics.C: improve messages, move cached_status_
3054 setting to safer place
3056 2002-03-18 Juergen Vigna <jug@sad.it>
3058 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
3060 (localDispatch): ditto
3062 * insettext.C (edit): removed unneeded showCursor calls.
3063 (localDispatch): ditto.
3065 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3067 * insetgraphics.h: remove display() method.
3069 2002-03-11 Juergen Vigna <jug@sad.it>
3071 * insetgraphics.C (draw): hack to fix the redrawing bug.
3072 (draw): seems this fixes #268 (force redraw of row if we changed).
3074 * insettext.C (updateInsetInInset): fixed for updates in insets inside
3075 this inset text (don't know why I missed this earlier).
3077 2002-03-08 Juergen Vigna <jug@sad.it>
3079 * insettabular.C (updateLocal): do a FULL update if we're not locked
3080 and only a CELL update is asked.
3082 * insettext.C (updateInsetInInset): update insets inside inset also
3083 if it isn't inside the_locking_inset.
3085 * insettabular.C (updateInsetInInset): ditto.
3087 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3089 * insetexternal.C (doSubstitution): check whether we are using a
3090 temp dir for defining $$FPath
3092 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3095 * insettext.C: remove #include "WorkArea.h".
3097 2002-03-06 Juergen Vigna <jug@sad.it>
3099 * insettext.C (draw): fixed frame redrawing.
3100 (clear): forgot to set the inset_owner of the paragraph.
3102 * insetert.C (status): pay attention the bv can be 0 here!
3103 (getMaxWidth): add the default leftMargin
3105 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3107 * insetert.C (getMaxWidth): make w unsigned int.
3109 2002-03-05 Juergen Vigna <jug@sad.it>
3111 * insetert.C (status): change behaviour of Inlined.
3112 (getMaxWidth): added for new inlined behaviour.
3114 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3116 * insetnote.h (linuxdoc, docbook): add empty methods.
3117 * insetinclude.C (validate): fix a case where buffer->niceFile was used
3118 before being initialized.
3120 2002-03-05 Juergen Vigna <jug@sad.it>
3122 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
3123 only that one in the inset. Should be enough.
3124 (updateLocal): set the selection cursor always if we don't have a
3125 selection to be sure it's set!
3127 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
3129 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3131 * insettext.C (clear): a gross hack to set layout on a newly
3134 2002-03-04 Juergen Vigna <jug@sad.it>
3136 * insettabular.C (localDispatch): inserted handling of
3137 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
3138 (insertAsciiString): new helper function.
3140 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3142 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
3145 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3147 * insettext.C (InsetText): initalize newly created par with
3148 default layout. add bufferparams parameter
3151 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
3152 * insetcollapsable.[Ch] (InsetCollapsable): ditto
3153 * insetert.[Ch] (InsetERT): ditto
3154 * insetfloat.[Ch] (InsetFloat): ditto
3155 * insetfoot.[Ch] (InsetFoot): ditto
3156 * insetfootlike.[Ch] (InsetFootLike): ditto
3157 * insetmarginal.[Ch] (InsetMarginal): ditto
3158 * insetminipage.[Ch] (InsetMinipage): ditto
3159 * insetnote.[Ch] (InsetNote): ditto
3160 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
3162 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3164 * insettext.C: layout as string
3166 * insetinclude.C: layout as string
3168 * insetert.C: layout as string
3170 * insetbib.C: layout as string
3172 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3175 * insettabular.C: remove #include "lyx_gui_misc.h".
3177 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3182 * inset.h: remove figinset, yahoo !
3184 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3186 * insetgraphics.C (c-tors): initialise parent classes explicitly in
3187 copy c-tor and initialise member variables in the correct order.
3189 2002-02-28 Juergen Vigna <jug@sad.it>
3191 * insettabular.C (localDispatch): clear selection on PgUp/Down.
3193 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3195 * inset.h: ... and add a better one here.
3197 * insetcommand.C (insetButtonRelease): remove that one which was a
3200 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3202 * insetcommand.C (insetButtonRelease): ... and move it here.
3204 * inseturl.h: remove insetButtonRelease from there...
3206 2002-02-26 Juergen Vigna <jug@sad.it>
3208 * inseturl.h: Added a insetButtonRelease call returning true as
3211 * insetlabel.C (edit): Fixed wrong update handling after change I
3212 leave in the wrong code for the one who wrote it to remove and have
3213 a look what he did wrong.
3215 * insettabular.C (localDispatch): force a SELECTION update if we
3216 had a selection and we passed the event down to the inset (fix #213)
3217 (localDispatch): handle font changing stuff when we have a cell
3218 selection so that the selection is not rewoked. I don't really like
3219 this fix, but it's the only way I see to do it right now.
3221 2002-02-22 Juergen Vigna <jug@sad.it>
3223 * insettext.C (insetUnlock): set the cursor to the second paragraph
3224 if available and if the first one is empty (fix #191).
3226 2002-02-20 Juergen Vigna <jug@sad.it>
3228 * insettext.C (getDrawFont): implemented this function to call the
3229 one of the owner if present as the owner normally knows what to do
3232 * insetert.C: implement getDrawFont() function and comment out all
3233 the crap for setting a special latex font inside this inset.
3234 (InsetERT): added a Lanugage parameter to this constructor.
3236 * inset.h: added function getDrawFont(LyXFont & font) to be able to
3237 change the font for being drawn on screen (used only in InsetERT for
3240 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
3241 and also above (was missing).
3242 (updateLocal): don't remove the cell selection if we have one this
3243 should be done where we really want to remove it.
3245 2002-02-20 José Matos <jamatos@fep.up.pt>
3247 * insetinclude.h: include_label made string const.
3249 * insetinclude.C (InsetInclude): moved include_label initialization.
3252 (validate): fix support for temporary directory, for docbook and
3255 * insetgraphics.h : new private member, graphic_label, that holds
3256 the entity name that defines the graphics location (SGML).
3258 * insetgraphics.C (unique_id): new function to give a unique label
3261 (validate): the file locatation is given by an entity reference.
3263 2002-02-18 Herbert Voss <voss@lyx.org>
3265 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
3267 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3269 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
3270 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3272 2002-02-18 José Matos <jamatos@fep.up.pt>
3274 * insetinclude.C (validate): some code only applies to latex buffers,
3275 it was made conditional.
3277 2002-02-12 Herbert Voss <voss@lyx.org>
3279 * insetgraphics.C: (prepareFile) do not check at this time
3280 if the file is present.
3282 2002-02-12 Herbert Voss <voss@lyx.org>
3284 * insetgraphics.C: latex(), return the correct newlines
3286 2002-02-13 José Matos <jamatos@fep.up.pt>
3288 * inseturl.C (docbook): escape & in url.
3290 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3292 * insetspecialchar.C (isLineSeparator): line breaking is allowed
3293 after HYPHENATION and MENU_SEPARATOR
3295 * inset.h (isLineSeparator): new method, returns false by default.
3297 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3299 * insetert.C (status): do not update the text inset, but the ERT
3302 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
3304 * insetnote.C: use notebg for background
3306 2002-02-08 Herbert Voss <voss@lyx.org>
3309 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
3310 prevent LyX from unzipping when this should be handled
3311 by latex vis the graphic.cfg.
3314 2002-02-08 Herbert Voss <voss@lyx.org>
3316 * insetgraphic.C: prepareFile(): fix bug when file doesn't
3317 exists, than return filename with extension
3319 2002-02-06 Herbert Voss <voss@lyx.org>
3321 * insetgraphic.C: prepareFile(): don't convert the file, when
3322 it's not viewed in LyX. Saves a lot of time when opening a
3325 2002-02-05 Herbert Voss <voss@lyx.org>
3328 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
3329 and adding a rotate bool similiar to subcaption
3331 2002-02-04 Herbert Voss <voss@lyx.org>
3334 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
3335 similiar view to the LaTeX one. Get zipped files work.
3337 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
3339 * insetgraphicsParams.C (init): set display to DEFAULT.
3340 No longer #include "lyxrc.h".
3342 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
3344 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
3345 for now (so that the code compiles).
3347 2002-02-02 Herbert Voss <voss@lyx.org>
3349 * insetgraphic.C: delete inVariant() and some minor changes
3350 * insetgraphicsParams.[C]:
3352 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
3354 * insetgraphics.C (updateInset): if params.display == DEFAULT,
3355 interogate lyxrc.display_graphics before diaplaying the graphic.
3357 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
3358 InsetGraphicsParams::DisplayType.
3360 2002-01-31 Herbert Voss <voss@lyx.org>
3362 * insetgraphic.C: (readfigInset) set display to pref-default
3364 2002-01-30 Herbert Voss <voss@lyx.org>
3366 * insetgraphic.C: get the filetyp from it's contents
3367 * insetgraphicparams.C: add token scale and lyxrc.display when
3368 creating a new inset
3370 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
3372 * figinset.C: added using std::ios directive.
3374 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3376 * figinset.C (runqueue): open translation file in binary mode (for
3379 2002-01-27 Herbert Voss <voss@lyx.org>
3381 * insetgraphic.[Ch]: mostly newritten to support graphicx with
3382 all options and to be sure that the old figinsets are correct
3384 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
3385 structure and to support all lengths as LyXLength. The Parameter
3386 structure changed again, but reading of "old" 1.2 graphic insets
3389 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
3391 * insetert.h (forceDefaultParagraphs): Added
3393 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3395 * insettabular.C (getMaxWidth):
3396 (forceDefaultParagraphs): use Tabular::GetCellFromInset
3398 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3400 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
3401 of LyXLength::inPixels
3403 * inset.C (latexTextWidth):
3404 * insetminipage.C (latexTextWidth): new method, which implements
3405 the equivalent of the LaTeX macro \textwidth
3407 * insetminipage.C (getMaxWidth): use latexTextWidth
3409 2002-01-18 Juergen Vigna <jug@sad.it>
3411 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
3413 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3415 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
3417 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
3420 2002-01-17 Juergen Vigna <jug@sad.it>
3422 * insettabular.C (lockInsetInInset): same change as in insettext.
3424 * insettext.C (draw): width() function was called without setting
3425 the right top_x which could lead to wrong insetWidth setting!
3426 (lockInsetInInset): call edit instead of calling lockInset if we
3427 have to lock an inset inside!
3428 (edit): we have to also tell the inset that we have to redraw the
3429 frame on an edit call if this inset draws a frame only if locked.
3431 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3433 * insetbib.C (getFiles): uncomment Path variable.
3435 2002-01-16 Juergen Vigna <jug@sad.it>
3437 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
3440 2002-01-16 Allan Rae <rae@lyx.org>
3442 * insetinclude.C (docbook): someone forgot a ";"
3444 2002-01-16 José Matos <jamatos@fep.up.pt>
3446 * figinset.C (docbook): removed a old place holder "@".
3447 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
3448 * insetinclude.C (linuxdoc): if include is verbatim, then export the
3449 ascii text version, clearly guarded inside a CDATA section.
3450 (docbook): in docbook 4, inlinegraphics is empty.
3451 * insettabular.C (linuxdoc): export the ascii version of the table
3452 inside a CDATA section.
3454 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3456 * insetparent.C (InsetParent):
3457 * insetgraphicsParams.C (Write):
3459 * insetgraphics.C (prepareFile):
3462 * insetexternal.C (executeCommand):
3463 (doSubstitution): use Buffer::filePath
3465 * insetbib.C (getFiles): add a #warning for Angus
3467 * insetgraphics.C: Add a remark about how filenames should be
3468 considered to be relative to buffer (but absolute is still allowed)
3469 (draw): do not try to get status if lyxrc.use_gui is false
3471 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3474 * insetcollapsable.[Ch]:
3475 * insettabular.[Ch] (searchForward, searchBackward): change the
3476 bool const & params to bool.
3478 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
3479 to avoid the name clash with InsetCollapsable's methods of the same
3480 names but different functionality.
3482 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3484 * insettext.C (ascii): use lyx::count rather than countChar.
3486 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
3488 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
3490 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3492 * insetgraphics.C (updateInset): do not try to render image if
3493 lyxrc.use_gui is false (bug #104)
3495 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
3496 if file does not exist
3498 * figinset.C (browseFile): add shortcuts to directory buttons
3500 * insettext.C (updateLocal): update menubar and toolbar here too.
3502 2002-01-13 Allan Rae <rae@lyx.org>
3504 * insettabular.C (InsetTabular): Both constructors now initialise
3505 all class variables.
3507 2002-01-11 Juergen Vigna <jug@sad.it>
3509 * insettext.C (insetButtonPress): set the_locking_inset to 0.
3511 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3513 * insettabular.C (getStatus): add forgotten brace around multiline
3516 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3518 * insetfloat.C (validate): require "float" instead of "floats".
3520 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
3522 * insettabular.C (getStatus): use FuncStatus
3524 2002-01-08 Juergen Vigna <jug@sad.it>
3526 * insettabular.C (insetButtonRelease): now this should work too
3529 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
3530 if the width is a percentage.
3532 * inset.h: added isChar() function and implemented this for
3533 insetspecialchar insetquotes and insetlatexaccent.
3534 added forceDefaultParagraphs() and implemented it for insettabular.
3536 2002-01-07 Juergen Vigna <jug@sad.it>
3538 * insettext.C (getLyXText): Fixed this function. An insert into the
3539 map is only done if we REALLY have a new BufferView.
3541 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
3543 * insettext.C: fix bug illustrated by attachment #37 of bug #59
3545 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
3547 * insetinclude.C: fix use of FileInfo
3549 2002-01-07 Juergen Vigna <jug@sad.it>
3551 * insettabular.C (draw): fixed clearing of cell around inset.
3553 2002-01-05 Juergen Vigna <jug@sad.it>
3555 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
3556 variables are updated.
3558 * insettabular.C (resetPos): set always the inset_y as it may be
3559 needed in another function.
3560 (searchBackward): don't draw while searching.
3562 2002-01-04 Juergen Vigna <jug@sad.it>
3564 * insettext.C (lockInsetInInset): forgot to set a cursor.
3566 2002-01-02 Juergen Vigna <jug@sad.it>
3568 * insettext.C (insertInset): make the correct undo informations on
3569 inserting new insets.
3571 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
3573 * insettabular.C: correct single-cell select vertically
3575 2001-12-27 Juergen Vigna <jug@sad.it>
3577 * insettabular.C (ascii): export as tab-separated-values if the
3578 function was not called from export (f.ex.: clipboard).
3580 * insetcollapsable.h: added default support for ascii, linuxdoc and
3581 docbook export (the insettext is exported by default!)
3583 * insettabular.C (copySelection): suff the clipboard with the tabular
3584 data in a tab separated format, seems more naturals then with all the
3587 2001-12-24 Juergen Vigna <jug@sad.it>
3589 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
3590 to check for REAL mouseMotion.
3592 2001-12-20 Juergen Vigna <jug@sad.it>
3594 * inset.C (cursor): return the owners cursor if available instead of
3595 always only the bv->text->cursor.
3597 * insettabular.C (checkLongtableSpecial): works now.
3599 2001-12-19 Juergen Vigna <jug@sad.it>
3601 * insettabular.C (tabularFeatures): fix the row setting of ltt as
3602 this has to be always row + 1 as 0 means not selected!
3603 (checkLongtableSpecial): added
3604 (tabularFeatures): better longtable options support
3606 * insettext.C (resizeLyXText): reinit the text always also on a
3609 2001-12-18 Juergen Vigna <jug@sad.it>
3611 * insettext.C (updateInsetInInset): look if we have to autocollapse
3612 paragraps and return if the update is requested for ourself.
3614 * insetert.C (status): update the insettext not myself as that is what
3617 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
3618 function only return if the update was requested with myself.
3620 * insettext.C (insetButtonPress): fixed stupid bug.
3621 (various functions): pay attention that lt is cleared BEFORE calling
3622 updateLocal() and try to use it in the right manner (don't use it
3623 if it's not really neccessary!)
3624 (collapseParagraphs): insert a blank between collapsing paragraphs
3625 if neccessary (not already there!).
3627 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3629 * insettabular.C: move includes around a bit, add a couple of
3632 * insettext.[Ch]: move includes around a bit, other ws changes and
3635 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3637 * insettext.C (insetButtonRelease): fix compile problem
3639 2001-12-17 Juergen Vigna <jug@sad.it>
3641 * insettext.C (insetButtonPress): set the selection cursor!
3642 (insetButtonPress): clear the selection (and set with that the
3643 selection.cursor) if we only hit an inset!
3645 * insetert.C (read): removed piece of compatibility code only needed
3648 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
3651 * insetcollapsable.C (insetButtonRelease): changed so that it can
3652 open eventual existing popup dialogs on mousebutton==3.
3654 * insetfloat.C (insetButtonRelease): removed not needed anymore!
3656 * insetminipage.C (insetButtonRelease): removed not needed anymore!
3658 * inset.C (insetButtonRelease): return a bool for telling the outer
3659 world that we opened a dialog.
3661 2001-12-07 Juergen Vigna <jug@sad.it>
3663 * insettext.C (paragraph): remove the deleteing of paragraphs as
3664 it was a WRONG move!
3666 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
3669 * insettabular.C: use new setSelection(). Allow
3670 selection of single cells.
3672 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3674 * insetquotes.C (latex): fix to use the local language setting at
3675 the point where the inset is inserted (different macros for
3676 different french packages)
3678 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3680 * inset.h: add par_owner_ member variable and parOwner
3683 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3685 * insettabular.C (everywhere): adapt because widths are now real
3686 widths and not strings
3688 * insettext.C (draw): re-introduce the calls to width(), ascent()
3689 and descent() to initialize the caching variables.
3691 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3693 * insettext.C (draw):
3694 (drawFrame): use insetWidth instead of last_width
3696 * insettext.h: remove variable last_width (insetWidth is exactly
3697 the same) and last_height (computed but never used!)
3699 2001-12-10 Allan Rae <rae@lyx.org>
3701 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
3703 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3705 * insettext.C (insetAllowed): add comment
3707 2001-12-05 Juergen Vigna <jug@sad.it>
3709 * insettext.C (insetAllowed): fixed for the case that we directly
3710 ask the insettext from its LyXText.
3711 (paragraph): fixed the crash when assigning the par->next() from
3712 the EmptyParagraphMechanism!
3714 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3718 * insettext.C: change "while(" to "while ("
3720 2001-12-04 Juergen Vigna <jug@sad.it>
3722 * insetert.C (edit): handle Inlined status.
3724 * insettext.C (insertInset): trying John's fix for the trailing cursor
3726 * insetert.C (insetButtonPress): added to handle inlined status
3727 (insetMotionNotify): ditto.
3729 * insettext.C (clearInset): changed Painter & in BufferView * param,
3730 to be able to call ascent,descent methods.
3732 2001-12-03 Juergen Vigna <jug@sad.it>
3734 * insettext.C (updateInsetInInset): use lt variable to forbid
3735 changes of LyXText in an update call.
3736 (updateInsetInInset): fixed updating of non locked insets!
3738 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
3740 * insettabular.C: capture some more functions to prevent
3741 selection drawing problems. Bug #451274
3743 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
3746 * insetgraphicsParams.C: fix inverted sense of float_equal
3748 2001-11-30 Juergen Vigna <jug@sad.it>
3750 * insettabular.C (InsetTabular): use the save_id flag to create also
3751 the tabular with the same id's.
3753 * insettext.C (setParagraphData): added a same_id function for undo
3754 to set the same paragraph id's as of the paragraph we are setting.
3756 2001-11-30 José Matos <jamatos@fep.up.pt>
3759 * insettoc.[Ch]: DocBook -> docbook.
3761 2001-11-29 André Pönitz <poenitz@gmx.net>
3764 * insettext.C: further reduction of header dependencies by using
3765 lyx::layout_type and lyx::textclass_type from support/types.h
3767 2001-11-29 Juergen Vigna <jug@sad.it>
3769 * insettext.C: inserted a reinitLyXText function everywhere I delete
3770 the paragraphs! This should fixe the crashes we had.
3771 Also use the new function firstRow() instead of getRowNearY(dummy_y)
3772 (paragraph): set the InsetOwner() of the new paragraphs!
3774 2001-11-28 André Pönitz <poenitz@gmx.net>
3776 * insetnote.C: add pos initialization that I removed without
3779 2001-11-28 Juergen Vigna <jug@sad.it>
3781 * insettabular.C (resetPos): hack to not crash with infinite paints.
3783 * insettabular.h: insert missing function allowSpellcheck()!
3785 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
3787 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
3790 * insetfloatlist.C: derive from InsetCommand so gui can use it
3793 2001-11-26 André Pönitz <poenitz@gmx.net>
3797 * insetnote.C: reduce header dependencies, introduce type for
3800 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
3802 * various: update for Alert.h
3804 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
3806 * inset.h: fix comment
3808 * insettext.C: use par->isInset()
3810 2001-11-22 Allan Rae <rae@lyx.org>
3812 * insetcollapsable.h:
3813 * inset.h: Changes to checkInsertChar() behaviour.
3814 Now return value indicates whether chars can be inserted.
3816 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
3818 * various: updated to use the new LaTeXFeatures
3820 2001-11-14 José Matos <jamatos@fep.up.pt>
3822 * insetspecialchar.C (linuxdoc):
3823 (docbook): don't give a name to a unused variable.
3825 * insettext.C (docbook): removed unused variable.
3827 2001-11-13 Herbert Voss <voss@perce.de>
3829 * insetgraphic.C: fix scale bug
3831 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3833 * inset.h (isSpace):
3834 (isLetter): new virtual methods.
3836 * insetspecialchar.C (isSpace):
3837 (isLetter): implement here.
3839 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
3841 * inset.h: new inline helpers
3843 * insettext.C: use new helpers
3845 2001-11-07 José Matos <jamatos@fep.up.pt>
3847 * insettext.C (docbook): full support for paragraphs inside insettext.
3849 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
3851 * insetindex.C: added header file for std::ostream.
3853 2001-11-03 José Matos <jamatos@fep.up.pt>
3855 * insetindex.C: added using std::ostream that I forgot yesterday.
3857 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
3859 * insetindex.h (docbook):
3860 * insetindex.C (docbook): added support for docbook export.
3862 2001-11-02 José Matos <jamatos@fep.up.pt>
3864 * insetcaption.C(docbook): added support for docbook export.
3866 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
3868 * insetexternal.C (updateExternal): Do not run update command if
3869 result file exists and is up to date.
3871 * ExternalTemplate.C (readFormat): Support the updateresult token.
3873 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
3875 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
3876 external_templates) to use the buffer->fileName() but only if
3877 previewing. Generating a TeX file should make FPath return
3880 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
3883 * insetert.C: fix some problems
3885 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
3887 * insetexternal.C (doSubstitution): Added $$FPath token
3888 to list of usable substitutions in external inset templates.
3890 2001-10-24 Juergen Vigna <jug@sad.it>
3892 * insettabular.C: use new ltType struct for setting longtable
3893 header and footers also new UNSET enums.
3895 2001-10-24 José Matos <jamatos@fep.up.pt>
3897 * insettabular.C (linuxdoc): Now exports the ascii's table version.
3898 (docbook): If the table is not inside a float then wrap it inside
3899 <informaltable>...</informaltable>.
3901 2001-10-23 José Matos <jamatos@fep.up.pt>
3903 * insetref.C (docbook): removed / terminator to conform SGML.
3905 * insetspecialchar.C (linuxdoc):
3906 (docbook): Added support for special chars, more than ascii export.
3908 2001-10-22 Juergen Vigna <jug@sad.it>
3910 * insettext.C (checkInsertChar): added for REALLY checking the
3911 font of the inserted char in the right inset!
3913 2001-10-19 Juergen Vigna <jug@sad.it>
3915 * inset.h: added method allowSpellcheck() so that insets who do
3916 not have anything to spellcheck can tell and so they are over-jumped.
3917 Implemented for InsetText and co.
3919 2001-10-18 Juergen Vigna <jug@sad.it>
3921 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
3923 2001-10-15 José Matos <jamatos@fep.up.pt>
3925 * insetert.C: allow export for docbook and linuxdoc
3927 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3929 * insetquotes.C (dispString): handles latin3 and latin4 quotes
3931 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3933 * insetquotes.C (dispString): fix handling of latin9 quotes
3935 2001-10-03 Juergen Vigna <jug@sad.it>
3939 * insetcollapsable.C: change updateInset calls to not tell BV that
3940 we have changed status.
3942 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3944 * insettabular.C (deletable): make const
3946 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
3948 * insetert.C (latex): Fix the returned value
3950 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
3952 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
3953 Returns string(), so nothing in an ERT inset is spellchecked.
3955 * insetgraphics.C (draw): print the filename if not displaying the
3957 (width): make sure that the width and draw methods are consistent.
3958 (updateInset): don't even load the image into cache if not displaying
3961 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
3963 * various files (selectNextWord): renamed as
3964 selectNextWordToSpellcheck.
3966 * insetgraphics.C (draw): remove the previous change. Right place
3967 is in imageLoaderXPM.C.
3968 (draw): don't display the image if params.display == NONE.
3970 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
3972 * figinset.C (runqueue):
3973 * insetgraphics.C (draw): set background colour of inset from
3974 background to the user-configurable graphicsbg.
3976 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3978 * insetquotes.C (InsetQuotes): when trying to decide the side of
3979 the quote, choose `left' only after a space or '('
3981 2001-09-04 José Matos <jamatos@fep.up.pt>
3986 * insetcollapsable.h
4004 * insetlatexaccent.C
4005 * insetlatexaccent.h
4010 * insetspecialchar.C
4011 * insetspecialchar.h
4015 * insettext.C (docbook): rename docBook method to docbook.
4017 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
4019 * inset.h (getFirstParagraph): New virtual method.
4021 2001-08-20 Herbert Voss <voss@perce.de>
4022 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
4023 in the the bibtex-database-gui for inserting a line
4026 If no style is given than there is no tex-output.
4028 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
4030 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
4034 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
4036 * insetert.C (latex): Fix output for multiple paragraphs.
4037 (write): New code for writing paragraph data.
4038 (read): Set font after reading the inset.
4039 (localDispatch): Call set_latex_font() for more cases.
4041 * insetnote.h: Add empty validate method.
4044 * insetnote.C (InsetNote): Set language to the language of the
4047 2001-08-16 Juergen Vigna <jug@sad.it>
4049 * insettext.C: implemented the new FINISHED states.
4051 * insettabular.C: ditto
4053 * inset.h: added more FINISHED states for cursor right,up,down
4055 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
4057 * insetfloatlist.C: use "FloatName List"
4059 2001-08-14 Juergen Vigna <jug@sad.it>
4061 * insetert.C (edit): forgot to set status_ in edit calls!
4063 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
4065 * insettext.C: Compilation fix
4067 2001-08-13 Juergen Vigna <jug@sad.it>
4069 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
4071 * insetcollapsable.C (edit): don't recollapse an already open inset.
4073 * insettext.C: fixed problem when reinitializing LyXText by not doing
4074 it while lt is in use and post this to the next possible time in
4076 (searchForward): fixed not unlocking of inset if nothing found.
4077 (edit): set cursor behind right (was set -1 pos).
4079 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
4081 * insettabular.C (tabularFeatures): fixed fix where deleting the
4082 last row didn't get the right actcell!
4084 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
4086 * insettext.C (localDispatch): Change language only when the inset
4089 2001-08-10 Juergen Vigna <jug@sad.it>
4091 * insettabular.C (selectNextWordInt): use the front using edit call.
4093 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
4094 the parameter overwrite class variable inset.
4096 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
4098 * insettext.C (saveLyXTextState): check for invalid cursor-par.
4099 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
4101 * insettabular.C (calculate_dimensions_of_cells): let's try to call
4102 update only for fixed with cells.
4103 (resetPos): try to fix the lockup on spellchecking or s&r.
4105 * insettext.C (update): comment this out as it seems first wrong
4106 and second not needed anymore!
4107 (some functions): call reinitLyXText() only in update() in all other
4108 positions set only need_update = INIT.
4110 2001-08-08 Juergen Vigna <jug@sad.it>
4112 * insettabular.C (setPos): fixed wrong actrow < rows() check.
4114 * insettext.C (insetUnlock): remove double-space on inset unlock.
4116 * insetcollapsable.C (draw): fix returned x when label > inset-width.
4118 * insettabular.C (update): fixed cursor positon after an insert.
4119 (insetAllowed): do not allow to insert insets when not inside the
4121 (draw): clear below an inset too as it could have changed height.
4123 * inset.C (getMaxWidth): fixed width for inset in inset.
4125 * insettext.C (update): small fix.
4127 * insettabular.C (tabularFeatures): added selection support to
4128 DELETE_ROW/DELETE_COLUMN.
4130 2001-08-07 Juergen Vigna <jug@sad.it>
4132 * inset.C (getMaxWidth): recoded and all it's implementations!
4134 * insettext.C (init,setParagraph+constructors): cleanups
4135 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
4136 are new and I want do a save/restore of the cursor position which is
4137 not possible anymore.
4139 * insetcollapsable.C (searchBackward): recollapse inset if not found.
4140 (searchBackward): ditto
4141 (selectNextWord): ditto
4143 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
4145 * insetlatexaccent.C (checkContents): Add some debug messages
4147 2001-08-07 Juergen Vigna <jug@sad.it>
4149 * insetert.C (read): don't use InsetCollapsable::read as we don't
4150 write the collapsed status anymore only the status.
4153 2001-08-06 Juergen Vigna <jug@sad.it>
4155 * insetert.C (set_latex_font): use LyXText's setFont directly.
4157 * insettext.C (drawFrame): fixed one time more the right position
4158 and size of the frame!
4160 * insetert.C (~InsetERT): hide the dialog.
4161 (showInsetDialog): added implementation
4164 (status): new function for the status of the ERT inset (3-state).
4165 (write): output also the status of the inset for readback!
4166 (read): readback the status if available otherwise use collapsed_.
4168 * insettext.C (edit): small fix of setting the position, which could
4171 * insetert.C (width): implement this function for inlined viewing.
4172 Added minimum width of 10 pixels!
4174 * insetminipage.C (InsetMinipage): just change the colors a bit so
4175 that border/background is a bit more visible. We will remove this
4178 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
4179 function for getting the important widths for drawing in various
4180 functions and in LyXText.
4181 (draw): fixed up a bit (frame drawing/clearing)
4183 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4185 * inset.C (convertFont): delete method. not used.
4187 2001-08-03 Juergen Vigna <jug@sad.it>
4189 * insettext.C (setFont): don't call for a draw update if we're just
4190 changing the cursor font!
4192 2001-08-02 Juergen Vigna <jug@sad.it>
4194 * insettext.C (draw): clear the background with the right color if
4195 needed. Update myself if x&max-width changed and return without doing
4196 anything. Let the update code handle the right stuff.
4198 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
4199 inside another inset.
4201 2001-08-01 Juergen Vigna <jug@sad.it>
4203 * insetcollapsable.C (update): added an in_update bool so we avoid
4206 * insettabular.C (update): added an in_update bool so we avoid
4209 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
4211 (update): added an in_update bool so we avoid reentering.
4213 * insettabular.C (localDispatch): clear col/row selection when doing
4214 something else inside an inset.
4216 * insettext.C (getLyXText): fixed bug when requesting a recursive
4219 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
4221 * insetcite.C (latex): Paranoia check. Make sure that there is no
4222 whitespace between the citation keys.
4224 2001-07-31 Juergen Vigna <jug@sad.it>
4226 * inset.h (nodraw): make the set function also const so that this
4227 can be called from inside other const functions.
4229 * insetcollapsable.h: removed inline variable and moved it over
4230 to the only user InsetERT.
4232 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
4233 inset opening immediately therein lying insets dialogs!
4235 * insetert.C (localDispatch): set the font also if we don't have any
4236 chars in this paragraph, otherwise if we delete all of em and start
4237 writing we have the wrong font.
4239 (draw): implemented for inline support
4240 (insetButtonRelease): ditto.
4242 2001-07-30 Juergen Vigna <jug@sad.it>
4244 * insettext.C (reinitLyXText): new function to reinit the insets
4245 text after lot's of paragraph changes. Use this instead of the
4246 cache.clear() which is VERY dangerous.
4248 * insetfloat.C (insetButtonRelease): we should only show the dialog
4249 if we press on the label otherwise we have problems to open mouse
4250 button 3 dialogs inside this float (f.ex. of a tabular!)
4252 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4254 * insetert.C: change back to "ERT"
4256 * insetfloat.C: handliign of RMB on label added.
4258 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4260 * insetgraphicsParams.C: #include LOstream.h here.
4262 * insetfoot.h: remove InsetFoot:: qualifier.
4264 2001-07-29 Baruch Even <baruch@lyx.org>
4266 * ChangeLog: Hiding time travel evidence.
4268 * insetgraphicsParams.h:
4269 * insetgraphicsParams.C:
4270 * insetgraphics.C: Added horizontal scale option, it actually scales both
4271 directions since it keeps image proportions.
4273 * insetgraphics.C: Fixed EPS detection to be non-hacky.
4275 2001-07-29 Baruch Even <baruch@lyx.org>
4277 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
4278 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
4280 HACKY! Will need to add an EPS detection routine like old InsetFig does!
4282 2001-07-29 Baruch Even <baruch@lyx.org>
4284 * insetgraphics.C: Added EPSI to be an alias of EPS.
4286 2001-07-29 Baruch Even <baruch@lyx.org>
4288 * insetgraphics.C: Change GRAPHICS to Graphics.
4289 Changed image conversion rules (documented at the beginning of file).
4291 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
4293 * insetert.C (get_new_label): int -> Paragraph::size_type to get
4296 * insetgraphics.C: added a using std::endl directive.
4298 * insetcommand.h (getScreenLabel): removed pure virtual function,
4299 as it duplicates that in InsetButton.
4301 * insetbib.[Ch] (getScreenLabel):
4302 * insetbutton.[Ch] (getScreenLabel):
4303 * insetcite.[Ch] (getScreenLabel):
4304 * insetert.[Ch] (getScreenLabel):
4305 * insetexternal.[Ch] (getScreenLabel):
4306 * insetfloatlist.[Ch] (getScreenLabel):
4307 * insetinclude.[Ch] (getScreenLabel):
4308 * insetindex.[Ch] (getScreenLabel):
4309 * insetlabel.h (getScreenLabel):
4310 * insetparent.[Ch] (getScreenLabel):
4311 * insetref.[Ch] (getScreenLabel):
4312 * insettoc.[Ch] (getScreenLabel):
4313 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
4315 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
4317 (validate): remove check on "cite" when using natbib.
4319 2001-07-26 Baruch Even <baruch@lyx.org>
4321 * insetgraphics.C (draw): changed casting to be in one place rather than
4322 all over the function.
4325 * insetgraphics.C (read): Added compatibility reads of InsetFig.
4327 * insetgraphicsParams.h:
4328 * insetgraphicsParams.C:
4329 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
4331 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4333 * insetfoot.C (validate): Added method to ensure that the
4334 right bit of LaTeX is emitted.
4336 * insetfoot.h: Added validate method to set the correct
4337 LaTeXFeatures bit for the special footnote code.
4339 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4341 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
4344 2001-07-27 Juergen Vigna <jug@sad.it>
4346 * inset.h: remove not used font variable in parameter.
4347 removed checkInsertChar in UpdatableInset as it was equal to
4348 the one in Inset and so not needed.
4350 * insetert.C (checkInsertChar): implementation of function
4353 * inset.h: added new function checkInsertChar.
4355 * various files: added c-tor and clone() function.
4357 * insetcollapsable.h: removed clone function here as this should
4358 be only realized in REAL insets and added it to all collapsable
4359 insets! (with the copy-constructor).
4361 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4363 * insetminipage.C (read): handle missing parameters more gracefully
4365 * insetcollapsable.C (read): handel missing collapsed more gracefully
4367 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4369 * insetfloat.C (read): handle missing parameters.
4371 * insettext.C (read): handle old latex end_inset
4373 * insetert.C (setButtonLabel): new method
4374 (init): use it, to set the dynamic label correctly
4377 * Makefile.am (EXTRA_DIST): add files that is not part or the
4380 * insetcollapsable.h: remove autocollapsable (no users), remove
4381 draw_label, change_label_with_text and companion code. Remove args
4383 * insetert.[Ch]: move here instead (only user)
4385 * inset.h: rename private variable name to name_, make
4386 selectNextWord return a const string. make getInsetName return a
4387 string const &. Remove bool from open, add close.
4389 * Makefile.am: don't compile insetlist, insetsection
4392 2001-07-24 Juergen Vigna <jug@sad.it>
4394 * insetert.C (InsetERT): put init after the paragraph initialization,
4395 as otherwise we don't set the draw_label right.
4397 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
4398 insets with the mouse without having strange selections.
4399 (edit): if the inset was collapsed and we open it here then put the
4400 cursor always at the beginning of the inset.
4401 (get_new_label): 15 instead of 10 max chars in the label.
4403 * insetert.C (localDispatch): added and handle various stuff we
4404 need to handle here (font setting on paragraph break, not permitted
4405 layout setting, etc.).
4407 * inset.h: added default copy-consturctor and implemented this in
4408 various insets with the change to use this in the clone function!
4410 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4412 * insetminipage.C (InsetMinipage): set background color to red :)
4414 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4416 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
4417 draw frame mode is LOCKED.
4419 * insetcollapsable.C (edit):
4420 (insetButtonRelease): set update status to full when
4423 * insettext.C (clearInset):
4424 * insettabular.C (draw):
4425 * insetlatexaccent.C (draw): honor background color.
4427 * inset.h: new member background_color_, initialized to
4430 * inset.C (backgroundColor): new method.
4431 (setBackgroundColor): new method.
4433 * insetert.C (init): new method, called by the ctors.
4434 (InsetERT): when inserting contents, make sure the font is
4437 * insetnote.C (InsetNote): when inserting content, remove trailing
4439 (init): set background color to LColor::note
4441 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4443 * insetcollapsable.C: adjust
4445 * insetbutton.C: adjust
4447 2001-07-23 Juergen Vigna <jug@sad.it>
4449 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
4450 parameter on the _collapsed function (was not needed) and call
4451 always width_collapsed().
4453 * insetert.C (InsetERT): use setLabel with "true" flag.
4455 * insetcollapsable.C: modified various functions to set the draw_label
4456 string right in any condition.
4457 (setLabel): added a bool parameter to set change_label_with_text.
4459 * insetcollapsable.h: added draw_label string which is set to the
4460 actual drawn label-string, while label is the original static label
4461 of this collapsable inset. Added bool change_label_with_text to set
4462 if we want that the label changes to the start of the InsetText's
4463 text when collabpsed. You can set this flag with the setLabel funciton.
4464 Added bool inlined for inlined collapsable insets, but not handled
4467 * insetcollapsable.C (get_new_label): added should get a new label
4468 from the InsetText beginning (for now 10 chars).
4470 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4472 * insetquotes.C (latex): fix the handling of french double quotes
4473 when not using the french pachage.
4475 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4477 * insetcollapsable.h: make WidthCollapsed mutable.
4479 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
4480 InsetPrintIndex returns INDEX_PRINT_CODE.
4482 * inset.h: add INDEX_PRINT_CODE
4484 * insetcollapsable.C (draw): init widthCollapsed if necessary
4487 * insetquotes.C (width): use the local language, not the document
4490 (dispString): add additional spacing for all french languages,
4492 (validate): make it work when there is no default language
4494 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
4496 * insetnote.C (init): new method, called by the constructors
4497 (InsetNote): new constructor with contents passed as a string
4499 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4501 * insetfootlike.C (insetAllowed): disallow float in footlike.
4503 * insetert.C (InsetERT): add collapsed argument to the constrctor
4506 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4508 * insetindex.h: shut off warning
4510 2001-07-20 Juergen Vigna <jug@sad.it>
4512 * insetcollapsable.C (update): recoded hopefully works now!
4514 2001-07-19 Juergen Vigna <jug@sad.it>
4516 * most files: implemented the below new introduced function.
4518 * inset.h: added new edit(BufferView *, bool front) method to be able
4519 to enter an inset from the front/back without knowing x/y positions
4520 and baselines inside the inset. So I just can tell the inset activate
4521 me and set the cursor on the front/back of yourself.
4523 2001-07-18 Juergen Vigna <jug@sad.it>
4525 * insetcollapsable.C (edit): fixed hopefully the y parameter which
4526 is given to the InsetText.
4527 (insetButtonPress): ditto
4528 (insetButtonRelease): ditto
4529 (insetMotionNotify): ditto
4531 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4533 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
4534 LIGATURE_BREAK, since the name is so stupid.
4536 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
4538 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
4539 the default InsetCollapsable methods. I.e., it can insert anything.
4540 (write) output the name of the inset, not some silly hack for
4541 compatability with the old InsetInfo.
4543 * insetinfo.[Ch]: removed.
4544 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
4545 now collapsable, but functionality is otherwise identical to InsetInfo.
4547 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
4549 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4551 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
4554 * insetquotes.C: general cleanup
4555 (dispString): add spaces inside french double quotes.
4556 (latex): ditto. Moreover, treat first the case where the frenchb
4557 or french options have been given.
4559 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
4561 * insetcite.[Ch] (latex, validate): new methods, required for natbib
4564 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
4566 * figinset.C (RegisterFigure): Print debug message only when
4567 current_view is available.
4569 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4571 * many files: update to match the change below
4573 * inset.h (insetAllowed): renamed from insertInsetAllowed;
4574 implement the version which takes an inset here.
4576 * insetcollapsable.[Ch]: implement open and isOpen
4578 * inset.h: remove insertInsetAllowed from Inset
4579 (open): new method, to open or close an inset
4580 (isOpen): returns the status of an inset
4581 (isCollapsable, colapse): removed
4583 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4585 * insetquotes.C (dispString): display french guillemets when using
4588 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4590 * insetcollapsable.h: remove bogus return statements
4592 2001-07-18 Juergen Vigna <jug@sad.it>
4594 * insettabular.C (selectNextWord): fixed spellchecking for the
4595 first cell of a tabular (wasn't entered!)
4596 (getLyXText): changed to enter automatically insettext and return
4597 it's LyXText if we're locked.
4599 2001-07-17 Juergen Vigna <jug@sad.it>
4601 * various files: implemented the below functions.
4603 * inset.h: added functions
4604 - virtual string selectNextWord(BufferView *, float & value) const;
4605 - virtual void selectSelectedWord(BufferView *) { return; }
4606 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
4607 needed for spellchecking correctly!
4609 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
4611 * insetert.C (latex): write out all paragraphs.
4613 2001-07-17 Baruch Even <baruch@lyx.org>
4615 * insetgraphics.C (draw): Removed unneeded casts.
4617 2001-07-16 Juergen Vigna <jug@sad.it>
4619 * insettext.C (update): fixed small oversight (reset lt to 0).
4621 2001-07-14 Baruch Even <baruch@lyx.org>
4624 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
4626 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
4628 Consistent use of Lsstream.h:
4629 * figinset.C: removed using std::ostringstream directive.
4631 * insetgraphics.C (createLatexOptions):
4632 * insetinclude.C (unique_id):
4633 std::ostringstream -> ostringstream.
4634 * insettext.C (localDispatch): std::istringstream -> istringstream.
4636 2001-07-13 Juergen Vigna <jug@sad.it>
4638 * insetfloat.C (insertInsetAllowed): added missing const_cast.
4640 * insetcollapsable.C (getLockingInset): ditto.
4642 2001-07-12 Juergen Vigna <jug@sad.it>
4644 * insetcollapsable.h: added implementation of new function for
4647 * various files: added implementation of new insertInsetAllowed-func
4648 and redone the function a bit more.
4650 * inset.h: added isCollapsable(), bool collapsed(),
4651 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
4653 * insetfloat.C (insertInsetAllowed): make a bit more checks.
4655 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
4656 LyXText which is marked for removal while we're using it!
4658 * insettext.h: added private LyXText * lt to use it to assure we are
4659 not deleting our LyXText while we're using it!
4661 2001-07-11 Juergen Vigna <jug@sad.it>
4663 * insettext.C (insertInset): check if we are before the inset after
4664 inserting it! This check IS needed. Remove the Undo-Call as it is
4665 called in LyXText::insertInset!
4667 * insettext.h: added struct InnerCache.
4669 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
4670 that we ONLY delete the LyXText in the getLyXText() routine. So we
4671 are sure we don't delete LyXText while someone is working with it!
4673 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4675 * insetexternal.C: (*it). -> it->
4676 * insettext.C: ditto
4678 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4680 * insetcollapsable.C (edit): always open collapsed insets (even if
4681 they are not autocollapsable)
4683 * insetcommand.C (operator=): simplify.
4685 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4687 * insetert.C (latex): handle META_NEWLINE
4689 2001-07-09 Juergen Vigna <jug@sad.it>
4691 * insetert.h: a normal InsetText can insert insets, but we won't.
4693 * inset.h: return default "false" on insertInsetAllowed and implement
4694 this function where a returnvalue != "false" is needed.
4696 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4698 * insetert.C (InsetERT): new contructor
4700 2001-07-06 Juergen Vigna <jug@sad.it>
4702 * a lot of files: added implementation of the below new functions
4703 and the change to clone(). Also the call of the new undo-functions
4706 * inset.h: added an inset_id, added functions getParFromID,
4707 getInsetFromID, firstParagraph, cursor and id functions, added
4708 bool same_ids to clone function.
4710 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4712 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
4713 of BufferView * and shared_ptr<LyXText>
4715 2001-07-05 Juergen Vigna <jug@sad.it>
4717 * insettext.C (clear): deleted also the cache not only LyXText.
4718 (setParagraphData): ditto.
4720 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4722 * insetfloat.C (latex): let the specific placement take presedence
4723 if set, otherwise choose document placement if set, otherwise just
4724 use float default placement.
4726 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4728 * insettext.C (localDispatch): call CutAndPaste::'s static method
4731 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4733 * insetbib.C: no meed to include forms.h here.
4735 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
4737 * insettext.C: added using std::make_pair directive.
4739 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4741 * insettext.C (getLyXText): avoid multiple lookups, and simplify
4743 (deleteLyXText): ditto
4744 (resizeLyXText): ditto
4746 2001-07-02 Juergen Vigna <jug@sad.it>
4748 * insettext.C (getLyXText): introduce a cache in getLyXText so that
4749 following calls are only returned the right pointer without the over
4750 head to search in the map.
4751 (various funcs): reset the cached_bview variable as this signs that
4752 the cache is not valid anymore.
4754 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4756 * insettabular.C (clone): do not copy the LyXTabular twice
4758 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4760 * insettext.h (TEXT): delete method
4762 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4764 * insetmarginal.C (latex):
4765 * insetfoot.C (latex): fix spacing of notes in LaTeX
4767 * insettext.C (localDispatch): use .c_str() on istringstream
4768 constructor argument.
4770 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
4775 * inseturl.C: fix method names in these to begin
4776 with small char too, so they inherit
4778 2001-06-28 Juergen Vigna <jug@sad.it>
4780 * insettext.C (setFont): fixed font settings using toggleFree()
4781 instead of setFont().
4783 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4785 * Change a lot of method names to begin with a small char.
4786 Changes to a lot of files because of this.
4788 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
4790 * insetfloatlist.C (Write): std:: qualify ostream
4793 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
4797 * insetgraphics.C: send debug output to Debug::INFO instead of
4800 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
4803 * insettabular.C (getStatus): update to use func_status
4805 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
4807 * insetref.C (DocBook): added support for cross-references without
4810 2001-06-26 The LyX Project <jug@sad.it>
4815 * insetlabel.h: removed escape method and moved it to
4818 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4820 * insettabular.C (getMaxWidth): do the speedup in a different way,
4823 2001-06-24 The LyX Project <Asger>
4825 * insettabular.C (getMaxWidth): We cache a mapping from
4826 inset to cell in order to speed this method up.
4828 2001-06-24 The LyX Project <Asger>
4830 * insettext.C: Optimized InsetText::draw or something.
4832 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
4834 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
4836 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
4838 * inset.h: name change from lyxinset.h
4840 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
4842 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
4844 2001-06-14 Juergen Vigna <jug@sad.it>
4846 * insettext.C (draw): removed warnings.
4848 2001-06-13 Juergen Vigna <jug@sad.it>
4850 * insettabular.C (nodraw): only go down the tree if we don't have
4851 that flag set otherwise it's obvious that we don't want to draw.
4852 (LocalDispatch): do also an update if we have an undispached result.
4854 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
4857 * insetgraphicsParams.C:
4858 * insettext.C: removed // -*- C++ -*- as first line.
4860 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4862 * lyxinset.h (resizeLyXText): shut off warning about unused
4865 2001-06-07 Juergen Vigna <jug@sad.it>
4867 * insettext.C (resizeLyXText): honor the new force flag.
4869 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
4871 * insettabular.C (deleteLyXText): new function
4873 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
4881 * insetcollapsable.C:
4882 * insetcaption.C: LColor tidy
4884 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4886 * figinset.C: fix typo
4888 2001-06-01 Juergen Vigna <jug@sad.it>
4890 * insettabular.C (resetPos): small hack so that scroll is not set to
4891 0 when we are in the last column of a tabular. This is a problem we
4892 have because of constats 20 offset on both directions, so this can
4893 cause on the limit an endless loop.
4895 * insettext.C (SetFont): forgot that we can have locking insets ;)
4897 2001-05-31 Juergen Vigna <jug@sad.it>
4899 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
4901 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4903 * figinset.C: add using std:: directive for the C functions which
4906 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
4908 * insetfloat.C (Write): write out wide info
4909 (Read): read the wide info
4910 (Latex): use the wide info when creating latex.
4912 * insettext.C: adjust
4914 * insetgraphics.[Ch] (statusMessage): change to return string
4918 * figinset.C (runqueue): add std::
4921 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4923 * insetcite.C (Ascii): add std:: qualifier
4925 2001-05-28 Juergen Vigna <jug@sad.it>
4927 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
4928 a endless-width inset (maxWidth < 0).
4929 (Edit): change language only if not equal.
4931 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
4933 * insettext.C (draw): fixed draw/clear of InsetText-Frame
4935 2001-05-16 Juergen Vigna <jug@sad.it>
4937 * insettext.C (selectAll): added
4938 (clearSelection): added
4940 * insettabular.C (SetFont): now we may set a font on a whole selection!
4941 (getSelection): added helper function.
4943 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
4945 * insetcite.C (Ascii): Add method.
4947 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
4950 * insetbib.C: fix path for OS/2 & Win32
4952 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4954 * insetfoot.C (Latex): don't use % after footnote.
4956 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4958 * insettext.C (Read): use clear
4959 (SetParagraphData): use LyXParagraph copy constructor instead of clone
4961 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4963 * insetfloatlist.h: add a bunch of std:: qualifiers.
4965 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4967 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
4968 FLOAT_LIST_CODE, renumber code list.
4970 * insettoc.C (getScreenLabel): remove support for float lists
4974 * insetfloatlist.[Ch]: new files
4976 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
4978 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
4980 * insettabular.C (LocalDispatch):
4981 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
4984 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4986 * insettext.C: remvoe !NEW_INSETS cruft
4988 * insettabular.C: remove !NEW_INSETS cruft
4990 * insetcollapsable.h: remove !NEW_INSETS cruft
4992 * insetbib.C: remove !NEW_INSETS cruft
4994 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
4996 * insettoc.C: hack to make listof algorithm work
4998 2001-04-20 Juergen Vigna <jug@sad.it>
5000 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
5002 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5004 * insetquotes.C (Latex): improve the guard against
5005 unwanted !` and ?` ligatures. This should really be done in
5006 another place (to catch all this ligatures at low-level).
5008 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5010 * insettext.C (init): remvoe leftovers from cursor_visible change
5011 (draw): use c++ cast
5012 (LocalDispatch): dispatch LFUN_MESSAGE
5014 * insettabular.C (InsetTabular): remove leftovers from
5015 cursor_visible, and scoped_ptr changes
5016 (draw): use c++ cast
5018 * insetcollapsable.C (draw): use c++ cast
5020 * ExternalTemplate.h: inherit privaely from noncopyable
5021 * insetcommand.h: ditto
5022 * insetinclude.h: ditto
5024 2001-04-16 Allan Rae <rae@lyx.org>
5026 * insettoc.C (Ascii):
5027 * insettext.C (draw):
5028 * insettabular.C (setPos):
5029 * insetminipage.C (Read):
5030 * insetfloat.C (placement):
5031 * insetcaption.C (Ascii, DocBook):
5032 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
5033 an unrecognised preprocessor directive. So ensure they're wrapped.
5035 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
5038 * insetexternal.C: set view on Clone. Add _ to private members.
5040 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5042 * insettext.C (InsetText): fix new
5043 (InsetText): reindent some, simplify deletion of par list
5044 (clear): simplify deletion of par list, fix new
5045 (SetParagraphData): simplify deletion of par list
5047 * insettabular.[Ch] (getLabelList): implement new method
5049 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5051 * lyxinset.h: do not include gettext.h...
5059 * insetlatexaccent.C:
5063 * inseturl.C: ... and do it here instead
5065 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5067 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
5069 * insettext.[Ch] (getLabelList): add std:: on vector<string>
5071 * insetcollapsable.[Ch] (getLabelList): implement
5073 * insettext.[Ch] (getLabelList): implement
5075 * insettext.h: reindent
5077 * insettabular.h: make tabular a scoped_ptr
5079 * insettext.C (init): adjust for cursor_visible
5080 (ToggleInsetCursor): constify asc and desc, font, adjust for
5082 (ShowInsetCursor): constify asc and desc, font, adjust for
5084 (HideInsetCursor): adjust for cursor_visible
5086 * insettabular.C: reindent some
5087 (InsetTabular): adjust for scoped_ptr and cursor_visible
5088 (InsetTabular): ditto
5089 (~InsetTabular): delete delete
5090 (Clone): adjust for scoped_ptr
5091 (Read): constify old_format, adjust for scoped_ptr, move init of
5093 (draw): constify tx, localize loop vars.
5094 some other localization of variables, remove double initilizatons.
5096 * insetfoot.C: remove using std::ostream, add ostream where needed
5098 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5100 * lyxinset.h: some reindentaion, use initializer list for
5102 UpdatableInset: make cursor_visible a private var add
5103 public isCursorVisible(), add protected toggleCursorVisible() and
5104 proctected setCursorVisible(bool), make scroll call the Inset::scroll
5106 * insettoc.C: remvoe using decl
5107 (getScreenLabel): make cmdname donst
5110 (Ascii): don't use endl
5112 * insetfootlike.C: remove using decl at file scope and add std::
5114 * insetmarginal.C: ditto
5116 * insetfoot.C: some reformatting
5118 * insetfloat.C (InsetButtonRelease): adjust the hit area
5120 * insetert.C (SetFont): some reformatting
5122 * insetcollapsable.C: some reformatting and constification
5123 (Clone): comment out.
5124 * insetcollapsable.h: some reformatting
5125 (Clone): comment out.
5130 2001-03-30 Juergen Vigna <jug@sad.it>
5132 * insetcollapsable.h: changen *inset to be a InsetText inset.
5134 * some files: changed to reflect the above change.
5136 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
5138 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
5139 InsetExternal::Params.
5140 Added operator==() and operator!=() for the Params struct.
5142 2001-03-29 Juergen Vigna <jug@sad.it>
5144 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
5147 * insetminipage.C: removed widthp_ and all it's functions and changed
5148 to use new %-lengths of LyXLength.
5150 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
5152 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
5154 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
5156 * insetgraphicsParams.C (operator!=): new function, needed by the
5157 ControlGraphics class.
5159 2001-03-28 Juergen Vigna <jug@sad.it>
5161 * insettext.C (InsetButtonPress): only enter !inset if button == 2
5162 (checkAndActivateInset): don't use the values returned from
5163 call to bv->checkInsetHit.
5165 * insetminipage.C (Clone): set special minipage values.
5167 * insetcollapsable.C (draw): changed to draw the button in the
5168 upper left corner outside the textinset.
5169 (ascent): changed because of different drawing
5173 (InsetButtonPress): ditto
5174 (InsetButtonRelease): ditto
5175 (InsetMotionNotify): ditto
5177 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
5179 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
5183 2001-03-26 Juergen Vigna <jug@sad.it>
5185 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
5187 * insettext.C (ShowInsetDialog): implemented above function.
5189 * insettabular.C (ShowInsetDialog): ditto
5191 * insetminipage.C (ShowInsetDialog): ditto
5193 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
5195 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
5196 InsetInclude::Params. Don't store a buffer * in Params. Store the
5197 master file name instead.
5199 2001-03-23 Juergen Vigna <jug@sad.it>
5201 * insetcollapsable.C (InsetMotionNotify):
5202 (InsetButtonRelease):
5203 (InsetButtonPress): fixed y-offset (minipages).
5205 * insettext.C (draw): force a FULL update if cleared == true.
5207 * insetcollapsable.C (draw): Lars forgotten entry for changing this
5208 routine to draw the minipages on its position-flag.
5209 (InsetInInsetY): give back the right y position, because of minipage
5212 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
5215 * insetfloat.C (DocBook): docbook export code.
5217 2001-03-22 Juergen Vigna <jug@sad.it>
5219 * insetminipage.C (getMaxWidth): added function to set the drawing
5221 (Read): should work now!
5223 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
5224 if we create a new inset.
5226 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
5228 * figinset.C (fl_set_preemptive_callback): moved definition outside
5231 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5233 * insetminipage.C (Read): prepare for reading of minipage arguments.
5235 2001-03-18 Baruch Even <baruch@lyx.org>
5237 * insetgraphics.C: Minor cleanups of the comments and code.
5239 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5241 * insetminipage.C (InsetMinipage): default to not collapsed
5243 2001-03-16 Juergen Vigna <jug@sad.it>
5245 * insetminipage.C (width): modified with to be a string
5246 (widthp): added widthp (for % width) support functions.
5247 (InsetButtonRelease): added to open the options dialog on button==3.
5248 (~InsetMinipage): added to hide the dialog.
5250 * insetminipage.h: added hideDialog signal
5252 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5254 * insetminipage.h: change the order or Position to match
5255 LyXParagraph::MINIPAGE_ALIGNMENT
5257 * several files: remvoe CXX_WORKING_NAMESPACES
5259 * ExternalTemplate.h: noncopyable is in namespace boost
5260 * insetinclude.h: ditto
5261 * insetcommand.h: ditto
5263 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
5265 * insettext.C (Edit): #else# -> #else.
5266 * insettoc.C: added using directive.
5268 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5270 * insetminipage.h: add pos, inner_pos, width and height. + getters
5271 and setters for all of them.
5273 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
5275 * insetinclude.C (Latex): Do not exit when the textclass of the
5276 included file differ from the textclass of the parent file.
5278 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
5280 * ExternalTemplate.C (read): the reading of external insets now checks
5281 for \end_inset and removes it form the input stream.
5283 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
5285 * ExternalTemplate.h:
5286 * ExternalTemplate.C:
5288 * insetexternal.C: move form to GUII
5290 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
5293 * insetinclude.C: add InsetIncludeParams, use
5294 composition rather than derivation of InsetCommand
5296 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5298 * insettoc.C (Ascii): use the Buffer typedefs
5300 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5302 * insettoc.C (Ascii): implement for dynamic number of lists
5304 * insetcaption.[Ch]: update from new_insets branch
5305 * insetfloat.[Ch]: ditto
5307 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
5310 * figinset.C: use new File Dialog
5312 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5314 * insettext.C: changes becuase of ParagraphParameters.
5316 2001-02-28 Baruch Even <baruch@ev-en.org>
5318 * insetgraphics.C (updateInset): Changed due to the change in
5321 2001-02-26 Juergen Vigna <jug@sad.it>
5323 * insettext.C (SetFont): Set Undo only if we have selection (as it is
5324 handled in LyXText).
5326 2001-02-23 Juergen Vigna <jug@sad.it>
5328 * insettext.C (draw): some small repainting fixes.
5329 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
5331 * inset.C (LocalDispatch): changed action to be a kb_action (as it
5332 should be) and not an int.
5334 * insettabular.C (LocalDispatch): ditto
5336 * insettext.C (LocalDispatch): ditto
5338 * insetcollapsable.C (LocalDispatch): ditto
5340 2001-02-22 Juergen Vigna <jug@sad.it>
5342 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
5343 DISPATCH it and we don't have a locking_inset.
5345 2001-02-21 Baruch Even <baruch@ev-en.org>
5347 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
5348 instead of GraphicsCacheItem *.
5350 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5352 * insetcollapsable.C (getLyXText): add const qualifier to second
5355 2001-02-22 Juergen Vigna <jug@sad.it>
5357 * insettext.C (getLyXText): honor the recursive parameter.
5358 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
5360 * inset.C (getLyXText): added bool recursive parameter.
5362 * insettext.C (SetUpdateStatus): or the update codes.
5363 (draw): check need_update with &.
5364 (InsetButtonPress): set no_selection to not put a selection when
5365 entering an inset and it is redraws in another spot.
5367 * insettext.h: made need_update an int.
5369 2001-02-20 Baruch Even <baruch@ev-en.org>
5372 * insetgraphisc.C: Changed to use better semantics when loading images
5373 for inline view. Now it doesn't keep the pixmap itself but it's holder.
5375 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
5379 * insetgraphics.C: change name of "hide" signal to "hideDialog",
5380 consistent with InsetTabular.
5382 2001-02-19 Juergen Vigna <jug@sad.it>
5384 * insettabular.C (LocalDispatch): implement PAGE up/down.
5386 * insettext.C (draw): clear all of it on need_update==INIT too!
5388 * insettabular.C (InsetUnlock): always clear the selection.
5390 * inset.C (scroll): normally we only want to scroll the inset until
5391 it is fully visible so if top_x + offset > 20 then just set scx to 0.
5393 2001-02-14 Juergen Vigna <jug@sad.it>
5395 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
5396 (resetPos): fixed scroll behaviour.
5397 (LocalDispatch): do an update if moving cursor inside a table cell
5398 requests a scroll of the tabular.
5400 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5402 * insettext.C (textWidth): constify local var
5404 * insettabular.C: small cleanup.
5406 * insetfoot.C (Latex): constify local var
5408 * insetcollapsable.C: small cleanup.
5410 * figinset.C (runqueue): use compare instead of strcmp
5412 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
5415 * insetinfo.C: remove cruft
5417 2001-02-14 Juergen Vigna <jug@sad.it>
5419 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
5421 2001-02-13 Juergen Vigna <jug@sad.it>
5423 * insettext.C (InsertInset): don't move left (is this right?)
5425 * insettabular.C (LocalDispatch): use of the no_draw variable
5427 * insettabular.h: new no_draw variable to stop redraw
5429 * insettabular.C (TabularFeatures): fixed update for alignment change
5431 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
5435 * insetbib.C: move dialogs to frontends/
5437 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
5439 * insettext.C (LocalDispatch): Restore the language if the inset
5442 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
5444 * insettext.C (moveRightIntern): Update the selection cursor.
5445 (moveLeftIntern): Ditto.
5447 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5449 * Makefile.am: remove BoundingBox.h
5451 * BoundingBox.h: removed
5453 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
5455 * insettext.C (LocalDispatch): Update selection cursor when moving
5456 cursor to the right.
5457 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
5458 (moveLeftIntern): Ditto.
5460 2001-02-05 Baruch Even <baruch.even@writeme.com>
5462 * insetgraphics.C: Updated automatic image conversion, it now goes into
5463 temporary directory instead of with the image itself.
5465 2001-01-21 Baruch Even <baruch@ev-en.org>
5467 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
5468 to EPS or PNG when needed (support bitmap graphics).
5470 2000-11-02 Baruch Even <baruch@ev-en.org>
5473 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
5474 and removal of commented out code.
5476 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5478 * insetbib.C (callback): Update citations if the key has changed.
5480 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5482 * insetbib.C (InsetBibKey): Better computation of default key.
5483 (getScreenLabel) Show both the key and the label.
5484 (getBibLabel): New method.
5485 (callback): Force a redraw if the inset have been changed.
5487 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
5489 * insetref.C (getType, getName): Move methods from
5490 src/frontends/xforms/FormRef.C.
5492 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
5494 * insettabular.C: Various improvements (use only one dummy position).
5496 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
5498 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
5499 par->bibkey->width. This fixes the crashes when running without
5500 gui or when having included documents.
5502 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
5504 * insetcommand.C (getAsString, setFromString): Cleanup.
5506 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
5508 * insetref.C: Add the array InsetRef::types that contains
5509 information about all supported reference types.
5511 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5513 * lyxinset.h: remove trailing comma in enum.
5515 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
5517 * insettext.C: kill LyXBell.