1 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
5 (metrics): the insets is not full width any more.
6 (draw): adjust; fix bad test for PREVIEW_OFF
7 (add_preview): fix bad test for PREVIEW_OFF
8 (display): do not return true when using \input
10 2004-08-14 José Matos <jamatos@lyx.org>
12 * insetbibitem.[Ch] (plaintext): added.
14 * insetcite.[Ch]: fix plaintext export.
16 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
18 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
21 * insetcaption.C (InsetCaption): modify call to setDrawFrame
22 * insetcollapsable.C (InsetCollapsable): ditto
23 * insetenv.C (InsetEnvironment): ditto
25 2004-08-14 André Pönitz <poenitz@gmx.net>
28 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
30 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
32 * insetoptarg.C (latexOptional): if the optional argument contains
33 a ']' enclose it in {curly brackets}
35 * insettext.C (editXY):
36 * insettabular.C (editXY):
37 * insetcollapsable.C (editXY):
38 * insetbase.C (editXY): constify
40 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
41 not ask for an update if we did nothing; on a mouse release, make
42 sure that the cursor is moved to the right position; on a mouse
43 release, exit from the inset instead of invoking a
46 * insetbase.C (dispatch): before invoking dispatch, set cursor
47 result to dispatch=update=true.
49 2004-08-13 José Matos <jamatos@lyx.org>
51 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
53 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
55 * insetfoot.C (latex): use OutputParams::intitle instead of
56 parOwner() (avoids time consuming lookup)
58 * insetquotes.C (latex): same as above with OutputParams::lang.
59 Moreover the code actually works now.
61 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
63 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
64 * insetinclude.C, insetgraphics.C, insetfloat.C:
65 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
66 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
67 "support/std_sstream.h" to <sstream>
69 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
71 * insetgraphics.C (prepareFile): remove conversion_needed flag.
72 It made the following fail for a .eps graphics file:
74 2) view->pdf (pdflatex)
75 because the .eps file was already in the temp dir when the pdflatex
76 export happened and therefore no .eps -> pdf conversion was done.
78 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
80 * insetgraphics.C, insettabular.C: s/wether/whether/g
82 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
84 * insetgraphics.C (stripExtension): new
85 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
87 * insetgraphics.C (prepareFile): Handle "nice" exports, too
88 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
90 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
92 * insetfloatlist.C (latex,getScreenLabel): translate according to
93 the document language (bug #1312)
95 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
97 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
98 with external_in_tmpdir and compute filename ourself
99 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
100 use it to store referenced file(s)
101 * ExternalSupport.C (writeExternal): write relative filename if
103 * ExternalTemplate.[Ch]: add ReferencedFile command
104 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
106 * insetgraphics.C (prepareFile): write relative filename if
108 * insetinclude.C (latex, docbook, linuxdoc): add file to
109 runparams.exportdata and write it to the temp dir instead of
110 writing it to the final destination
111 * insetinclude.C (docbook, linuxdoc): don't copy runparams
113 2004-05-19 Angus Leeming <leeming@lyx.org>
115 * insetcite.[Ch]: small change because namespace biblio is
116 now namespace lyx::biblio.
118 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
120 * insettabular.[Ch] (buffer): make Buffer * argument const
122 2004-05-17 Angus Leeming <leeming@lyx.org>
124 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
125 to force the button label to be re-generated.
127 2004-05-14 José Matos <jamatos@lyx.org>
129 * insetlabel (docbook): do not ouput label, for the moment.
131 2004-05-14 Angus Leeming <leeming@lyx.org>
133 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
134 new biblio::asValidLatexString function.
136 2004-05-12 Angus Leeming <leeming@lyx.org>
138 * insetcite.C: use BufferParams::cite_engine rather than the three
139 bools, use_natbib, use_jurabib, use_numerical_citations.
141 2004-05-10 Angus Leeming <leeming@lyx.org>
143 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
144 Ditto with getStyle, moved to biblio::getEngine.
146 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
148 * insetgraphics.C (validate): remove pre 233 file format stuff,
149 handle zipped files for "nice" export
151 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
153 * insetgraphics.C (prepareFile): copy zipped file and corresponding
154 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
155 * insetgraphics.C (prepareFile): unzip zipped file also if it has
156 changed since the last run
157 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
158 and copyFileIfNeeded.
160 2004-04-29 Angus Leeming <leeming@lyx.org>
162 * ExternalTemplate.[Ch]: remove redundant #includes.
164 2004-04-28 Angus Leeming <leeming@lyx.org>
167 s/updateToolbar()/updateToolbars()/
169 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
171 * insetgraphics.C: require file extension (file format change!)
172 * insetgraphics.C (latex): handle zipped files for "nice" export
174 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
176 * insetgraphics.C (latex): strip the extension and replace dots in
177 the filename if doing a "nice" export. This is a partial fix for
178 bug 1231 without reintroducing bug 655.
180 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
182 * insetoptarg.h: remove the editable() method (InsetCollapsable
183 does it better already)
185 * insetbibtex.C (normalize_name): new helper function. Changes the
186 name to be suitable to use in a latex file (relative to master
187 buffer if necessary).
188 (latex): use normalize_name.
190 2004-04-20 Angus Leeming <leeming@lyx.org>
192 * render_preview.C (startLoading): remove lyxerr statement.
194 (getPreviewLoader): new helper function.
196 2004-04-19 Angus Leeming <leeming@lyx.org>
200 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
202 2004-04-19 Angus Leeming <leeming@lyx.org>
204 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
206 (add_preview): renamed as add_preview_and_start_loading. Invoke
207 RenderPreview::startLoading.
209 * insetinclude.C (metrics, draw): changes due to the changed
210 RenderPreview interface.
212 * render_preview.C: remove cached pimage_.
213 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
214 (draw): don't call startLoading. That's up to the user of
217 2004-04-16 Angus Leeming <leeming@lyx.org>
219 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
221 2004-04-13 Angus Leeming <leeming@lyx.org>
223 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
224 the renderer to inform LyX::updateInset that the inset's status
225 has changed and it should be redrawn.
227 * render_button.[Ch] (clone):
228 * render_graphic.[Ch] (c-tors, clone):
229 * render_preview.[Ch] (c-tors, clone): ditto.
231 * render_graphic.[Ch] (connect):
232 * render_preview.[Ch] (connect): removed, as connection is now
233 made in the constructors.
237 * insetinclude.C: ensuing simplification of the client code.
238 (statusChanged): now superfluous. Removed.
240 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
242 * ExternalTemplate.[Ch]: remove editCommand
243 * ExternalSupport.C (editExternal): use formats.edit() instead of
244 the removed editCommand template parameter
245 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
246 * insetgraphics.[Ch] (editGraphics): new method
248 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
250 * insetinclude.C (validate): set/reset features.buffer_ when
253 2004-04-07 Angus Leeming <leeming@lyx.org>
255 * insetexternal.C (priv_dispatch):
256 * insetinclude.C (priv_dispatch): prevent crash by invoking
257 InsetOld::priv_dispatch at the end of the switch, rather than
258 InsetOld::dispatch...
260 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
262 * insetcollapsable.C:
263 * insetbranch.C: 'assign' to open/close branch inset according to
264 selection; also print content on closed branch button
266 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
268 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
269 $$RelPath_Master, $$RelPath_Parent, $$Extension,
270 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
272 * ExternalSupport.C (updateExternal): use absolute and output
273 filename where appropriate
275 2004-04-05 André Pönitz <poenitz@gmx.net>
277 * insetbase.h: use LCursor & in notifyCursorLeave
279 2004-04-05 Angus Leeming <leeming@lyx.org>
281 * insetgraphics.C: remove unused header file "lyxrc.h".
283 * render_graphic.C: squash bug 1372: Misleading graphics label when
284 deactivating lyx view.
286 2004-04-05 Angus Leeming <leeming@lyx.org>
291 * insetlatexaccent.C:
296 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
298 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
300 * insetfloat.C (read): fix yesterday's float fix.
301 * insetwrap.C (read): apply the fixed float fix.
303 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
305 * insetfloat.C (read): fix reading of float params
308 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
310 * insettext.C (edit): comment the call to updateLocal (dangling now)
311 * insettext.h: add allowSpellCheck() returning true
313 2004-03-31 Angus Leeming <leeming@lyx.org>
315 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
317 2004-03-31 Angus Leeming <leeming@lyx.org>
319 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
320 the cursor out of an inset.
322 * insetbranch.C (priv_dispatch):
323 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
324 use getOutOfInset to push the cursor out of the inset when
327 2004-03-30 Angus Leeming <leeming@lyx.org>
329 * insetbase.[Ch] (translate): new static member function, returns
330 an InsetBase::Code corresponding to the input string.
332 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
334 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
335 so that it opens the inset if it refers to the currently active
338 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
340 * insetfloat.C (addToToc): use par_const_iterator_begin and
341 par_const_iterator_end.
343 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
345 * insetbibtex.[Ch]: bibtopic support.
347 * insetfloat.[Ch]: add param \sideways {true|false}
348 (support for sideways floats from rotating.sty).
350 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
352 * insettext.[Ch]: add a default ctor. implement const version of
358 * insetwrap.C: adjust
360 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
362 * insettext.h: add insetAllowed returning true by default (fixing
363 vanishing insets problem)
365 * insettext.C (draw): handle the responsability of adding the
366 ouside offset to collapsable. Clean code a bit.
368 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
369 from insettext correctly, solve a couple of off-by-one drawing
372 2004-03-25 Angus Leeming <leeming@lyx.org>
374 * insetcaption.C (draw): squash warning about unused variable.
376 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
378 * ExternalSupport.C: use the master buffer's temp dir
379 * insetgraphics.C (latex): make relative filename relative to the
381 * insetgraphics.C: use the master buffer's temp dir
382 * insetinclude.C (masterFilename): new function
383 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
384 is always true if loadIfNeeded() returns true)
386 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
388 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
389 set its parent to the current buffer.
390 (latex): use the tmppath of the master buffer, not just the parent
391 buffer (makes a difference with more than one level of include
392 insets). If the file name is relative write in the .tex file a
393 name relative to the master buffer directory.
395 * insetinclude.C: rename masterFilename to parentFilename (this
396 points to the direct parent)
398 2004-03-25 André Pönitz <poenitz@gmx.net>
400 * inset.[Ch]: remover owner
402 * insetcollapsable.[Ch]: derive from InsetText instead having such a
410 * insetcharstyle.[Ch]:
418 * insetwrap.C: adjust
420 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
422 * insetquote.C: use opening quote after '[' char.
424 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
426 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
429 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
431 * insetcite.[Ch]: support jurabib.
433 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
435 * insetcite.C: Support second \cite option.
438 * insetcommandparams.[Ch]: add second optional argument.
440 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
442 * insetcollapsable.C (lfunMouseRelease): right mouse button only
443 shows the inset dialog.
445 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
447 * insetlabel.[Ch]: remove them
448 * Makefile.am: adjust
450 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
452 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
454 * insetinclude.C (latex): show a GUI warning if textclasses don't
456 * insetinclude.C: use mangledFilename() for temp files
457 * insetgraphics.C (readInsetGraphics): remove version check, since
458 the graphics inset has no own fileformat number anymore
460 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
462 * insetquotes.[Ch]: added new member that allows direct access
463 to single/double quotation marks.
465 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
467 2004-02-16 André Pönitz <poenitz@gmx.net>
470 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
471 implicitly assume 'DispatchResult(true, true) with exception of
472 InsetBase::priv_dispatch which does the equivalent of
473 'retrun DispatchResult(false)'
475 * inset*.[Ch] (priv_dispatch): adjust
477 * insettabular.[Ch]: remove remains of the 'update' mechanism,
478 simplify cursor moving function,
479 re-enable horizontal scrolling for large tables
481 2004-02-13 André Pönitz <poenitz@gmx.net>
483 * insettabular.[Ch]: some work after IU
485 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
487 * inset.C (setPosCache): switch to absolute coords in insets
488 * insettext.[Ch] (draw, drawFrame): adjust
489 * insetcollapsable.C (draw): adjust
492 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
494 * insettext.C (edit):
495 (updateLocal): use the cur argument instead of the global cursor
496 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
498 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
500 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
502 * insetfloat.C (validate): "H" -> 'H' in call to contains
504 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
506 2004-01-30 André Pönitz <poenitz@gmx.net>
510 * insetcollapsable.[Ch]:
513 * insetgraphics.[Ch]:
518 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
521 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
523 * insettabular.C: add using statement for std::vector, remove
524 std:: where using was already used.
526 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
528 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
530 * insetinclude.C (validate): use feautures.nice() instead of
533 2004-01-20 André Pönitz <poenitz@gmx.net>
536 * insetbase.[Ch]: move stuff from mathcursor here.
542 * insetcharstyle.[Ch]:
543 * insetcollapsable.[Ch]:
546 * insetexternal.[Ch]:
548 * insetgraphics.[Ch]:
557 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
559 2004-01-15 André Pönitz <poenitz@gmx.net>
566 * insetcharstyle.[Ch]:
567 * insetcollapsable.[Ch]:
570 * insetexternal.[Ch]:
572 * insetgraphics.[Ch]:
581 * updatableinset.[Ch] (priv_dispatch et al): change signature.
583 2004-01-08 André Pönitz <poenitz@gmx.net>
585 * insetcollapsable.[Ch]:
588 * updatableinset.h: use cell index info from global cursor.
590 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
592 * insetnote.C (InsetNoteParams::write): write label only once
594 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
596 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
598 get rid of the SameName functor
600 * insettabular.C: improve the functor.
602 2003-12-29 Angus Leeming <leeming@lyx.org>
604 * insetexternal.C (setParams): update defaultTemplateName.
606 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
608 * insetbox.C: Use term "Box" in button label
610 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
612 * insetcharstyle.C: get getDrawFont working again
614 2003-12-15 André Pönitz <poenitz@gmx.net>
617 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
619 2003-12-12 Angus Leeming <leeming@lyx.org>
621 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
623 (InsetBranchParams): remove the branchlist hack.
624 (isBranchSelected): new function, used to decide whether to
625 print each output format. Also used by InsetList.
626 (read, string2params): repair my own breakage ;-)
628 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
630 * insetminipage.[Ch]: remove from repository.
632 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
635 * insetcollapsable.[Ch]: Move all CollapseStatus code from
636 insetert to insetcollapsable; introduce virtual function
637 setButtonLabel and invoke it from collapsable
639 2003-12-12 Angus Leeming <leeming@lyx.org>
641 * insetinclude.C (draw): cache x,y and so enable the
644 2003-12-12 Angus Leeming <leeming@lyx.org>
646 * mailinset.C (print_mailer_error): tidy up the output.
648 2003-12-11 Angus Leeming <leeming@lyx.org>
650 * mailinset.[Ch] (print_mailer_error): new helper function.
652 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
653 calling InsetCommandMailer.
654 (InsetCommandMailer::string2params): pass the name of the dialog.
656 * insetbibitem.[Ch] (d-tor):
657 * insetbibtex.[Ch] (d-tor):
658 * insetcite.[Ch] (d-tor):
659 * insetfloatlist.[Ch] (d-tor):
660 * insetindex.[Ch] (d-tor):
661 * insetlabel.[Ch] (d-tor):
662 * insetref.[Ch] (d-tor):
663 * insettoc.[Ch] (d-tor):
664 * inseturl.[Ch] (d-tor): removed.
665 Hiding the dialog is handled by InsetCommand.
667 * insetbibtex.[Ch] (draw, metrics):
668 * insetfloatlist.[Ch] (draw, metrics):
669 * insetindex.[Ch] (draw, metrics): removed.
670 Drawing is handled by InsetCommand.
672 * insetbibitem.[Ch] (priv_dispatch):
673 * insetbibtex.[Ch] (priv_dispatch):
674 * insetcite.[Ch] (priv_dispatch):
675 * insetfloatlist.[Ch] (priv_dispatch):
676 * insetindex.[Ch] (priv_dispatch):
677 * insetlabel.[Ch] (priv_dispatch):
678 * insettoc.[Ch] (priv_dispatch):
679 * inseturl.[Ch] (priv_dispatch): removed or simplified.
680 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
681 LFUN_INSET_DIALOG_SHOW.
683 * insetbox.C (string2params):
684 * insetbranch.C (string2params):
685 * insetert.C (string2params):
686 * insetexternal.C (string2params):
687 * insetfloat.C (string2params):
688 * insetinclude.C (string2params):
689 * insetminipage.C (string2params):
690 * insetnote.C (string2params):
691 * insetvspace.C (string2params):
692 * insetwrap.C (string2params): over-hauled.
694 2003-12-10 Angus Leeming <leeming@lyx.org>
696 * insetexternal.[Ch]: add a draft option and respect it when
699 2003-12-10 Angus Leeming <leeming@lyx.org>
701 * insetbox.C: (read, write): now prepend the inset contents with
702 'Box' to identify the inset as a box inset.
704 * insetbox.h: move the translators out of sight.
706 2003-12-10 Angus Leeming <leeming@lyx.org>
708 * insetert.C (string2params): clean-up using the new lyxlex interface.
710 * insetexternal.C: ensure that InsetExternalParams has a default
711 template, 'RasterImage'.
713 2003-12-10 Angus Leeming <leeming@lyx.org>
715 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
716 to an enum. Ensuing clean-ups through out the class.
717 (read, write): now prepend the inset contents with 'Note' to identify
718 the inset as a note inset.
720 2003-12-10 Angus Leeming <leeming@lyx.org>
722 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
723 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
725 2003-12-10 André Pönitz <poenitz@gmx.net>
730 * insettext.[Ch]: remove unused insetInset()
732 * insetert.C: disable some LFUNs
734 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
736 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
738 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
740 2003-12-04 Angus Leeming <leeming@lyx.org>
742 * insetexternal.C (draw): update the xo_, yo_ cache.
744 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
746 (RotationDataType): new helper struct wrapping the
747 RotationData::OriginType enum.
749 2003-12-03 André Pönitz <poenitz@gmx.net>
751 * inset.h: remove getParagraphs()
753 * insetcollapsable.[Ch]:
757 * insettext.C: use getText() instead of getParagraphs()
759 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
761 * insetert.C: fix label text updating bug
763 2003-12-02 Angus Leeming <leeming@lyx.org>
765 * insetvspace.[Ch] (space): new member function. Make space_ private.
766 (read): use the new, simpler lyxlex syntax.
768 2003-12-01 André Pönitz <poenitz@gmx.net>
770 * insetcollapsable.[Ch]:
771 * insetert.[Ch]: move 'inline' state to InsetCollapsable
773 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
775 * insetvspace.C (read): handle 'end_inset' token.
777 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
779 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
781 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
783 * insetcollapsable.[Ch]:
785 * insetcharstyle.C: place inset content on the button when
788 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
790 * insetvspace.C: remove VSpace::NONE; increase inset width
792 2003-12-01 André Pönitz <poenitz@gmx.net>
794 * insetbase.h: whitespace
796 * inset.[Ch]: remove latexTextWidth
797 make setBackgroundColor virtual
799 * insettext.[Ch]: move ParagraphList member to LyXText
801 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
807 * insetminipage.[Ch]:
809 * insetwrap.[Ch]: adjust paragraphs and background color handling,
811 2003-11-28 Angus Leeming <leeming@lyx.org>
813 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
814 hiding and showing the dialog respectively.
815 (priv_dispatch): also actually update the inset contents.
817 2003-11-28 Angus Leeming <leeming@lyx.org>
819 * insetbox.C (d-tor):
820 * insetbranch.C (d-tor):
821 * insetcite.C (d-tor):
822 * insetfloat.C (d-tor):
823 * insetfloatlist.C (d-tor):
824 * insetinclude.C (d-tor):
825 * insetindex.C (d-tor):
826 simplify the invocation of the Mailer::hideDialog() function.
828 * insetminipage.C (showInsetDialog):
829 simplify the invocation of the Mailer::showialog() function.
831 2003-11-28 André Pönitz <poenitz@gmx.net>
834 * insetvspace.[Ch]: new insets
836 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
838 * insetcharstyle.C: Syntax change for CharStyles
840 2003-11-28 André Pönitz <poenitz@gmx.net>
842 * updatableinset.h: remove insetInInsetY
844 * insetcollapsable.[Ch]:
847 * insettext.[Ch]: adjust
849 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
853 * insetcollapsable.[Ch]:
855 * insettabular.[Ch]: remove setFont
857 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
859 * render_graphic.[Ch]: adjust comments
861 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
863 * insetgraphics.C (draw): cache xo_ & yo_
865 2003-11-24 André Pönitz <poenitz@gmx.net>
867 * insettext.C (setViewCache): don't call LyXText::init() anymore
869 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
872 * insetcollapsable.[Ch]:
873 * insetert.[Ch]: remove bufferview parameter in methods
874 open, close, status, and updateStatus.
876 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
878 * insetcollapsable.[Ch]:
880 * insettext.[Ch] (getCursorDim): squash unused variable
882 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
884 * insettext.C (edit): x0_,y0_ -> xo_,yo_
886 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
888 * insettext.C (draw): sets LyXText absolute coordinates
890 2003-11-20 Angus Leeming <leeming@lyx.org>
892 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
893 about unused parameters.
895 * insetcollapsable.C (open):
896 * insettabular.C (pasteSelection):
897 * insettoc.C (draw): ditto.
899 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
901 * insetcollapsable.C:
903 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
904 remove mouse_x mouse_y etc.
906 2003-11-17 André Pönitz <poenitz@gmx.net>
908 * insettext.[Ch] (cx, cy): remove
910 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
912 2003-11-13 André Pönitz <poenitz@gmx.net>
915 * insetcollapsable.[Ch]:
917 * insettext.[Ch] (deleteLyXText): remove
919 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
921 * insetcollapsable.[Ch] (fitInsetCursor): remove
922 * insettabular.[Ch] (fitInsetCursor): remove
923 * insettext.[Ch] (fitInsetCursor): remove
924 * updatableinset.[Ch] (fitInsetCursor): remove
925 (getCursorDIm): add virtual
927 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
929 * src/insets/Makefile.am:
930 * src/insets/inset.h:
931 * src/insets/insetcharstyle.C:
932 * src/insets/insetcharstyle.h: The Character Style /XML short
935 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
937 * insettext.C: remove all update calls
938 * insetcollapsable.C: remove all update calls
940 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
942 * insettext.C (updateLocal, insertInset, setFont): remove
945 2003-11-10 André Pönitz <poenitz@gmx.net>
947 * inset.h: remove Inset::id_
949 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
952 2003-11-10 André Pönitz <poenitz@gmx.net>
956 * insetcollapsable.[Ch]:
963 * updatableinset.[Ch]: remove inset locking & adjust
965 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
967 * inset.h (allowSpellCheck): add (return true)
968 * insetert.h (allowSpellCheck): add (return false)
970 2003-11-05 José Matos <jamatos@lyx.org>
978 * insetcollapsable.[Ch]:
982 * insetexternal.[Ch]:
984 * insetfloatlist.[Ch]:
986 * insetgraphics.[Ch]:
991 * insetlatexaccent.[Ch]:
994 * insetmarginal.[Ch]:
995 * insetminipage.[Ch]:
999 * insetpagebreak.[Ch]:
1003 * insetspecialchar.[Ch]:
1004 * insettabular.[Ch]:
1006 * insettheorem.[Ch]:
1009 * insetwrap.[Ch]: rename ascii to plaintext
1010 and LatexRunParams to OutputParams.
1012 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1014 * insetcollapsable.C (edit): add open() all
1015 * insettext.C (edit): add setViewCache call
1017 2003-11-04 André Pönitz <poenitz@gmx.net>
1019 * inset.h (edit): move locking code from dispatch() to edit()
1025 * insetcollapsable.[Ch]:
1028 * insetexternal.[Ch]:
1029 * insetgraphics.[Ch]:
1034 * insettabular.[Ch]:
1035 * insettext.[Ch]: adjust
1037 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1040 * insetcollapsable.[Ch]:
1042 * insettabular.[Ch]:
1044 * updatableinset.[Ch]: remove dead search code
1046 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1049 * insetcollapsable.[Ch]:
1051 * insettabular.[Ch]:
1053 * updatableinset.[Ch]: remove dead spellcheck code
1055 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1057 * insettabular.C (lockInsetInInset): small fix
1059 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1061 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1062 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1063 from here. Be stricter on DispatchResult returned.
1065 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1067 * Inset::dispatch's: adjust for new DispatchResult semantics.
1069 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1071 * render_base.h: make clone return an auto_ptr
1072 * render_button.C (clone): adjust
1073 * render_graphic.C (clone): adjust
1074 * render_preview.C (clone): adjust
1076 * insettheorem.C (clone): return an auto_ptr
1078 * insettext.C (priv_dispatch): exception safety
1080 * insettabular.C: store the file scope variable paste_tabular in a
1081 scoped_ptr, adjust usage.
1083 * insetexternal.C (setParams): exception safety
1085 * insetbibitem.C (clone): exception safety
1087 2003-11-03 André Pönitz <poenitz@gmx.net>
1090 * insetcollapsable.[Ch]:
1091 * insettabular.[Ch]:
1092 * insettext.[Ch]: remove Inset::id and related functions
1094 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1096 * insets: adjust for DispatchResult changes.
1098 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1100 * insetpagebreak.C: fix screen representation & ascii output.
1102 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1106 * insettabular.[Ch]:
1107 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1109 2003-10-31 José Matos <jamatos@lyx.org>
1111 * inset.h (ascii, linuxdoc, docbook):
1112 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1113 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1114 * insetcaption.[Ch] (ascii, docbook):
1115 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1116 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1117 * insetert.[Ch] (ascii, linuxdoc, docbook):
1118 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1119 * insetfloat.[Ch] (linuxdoc, docbook):
1120 * insetfloatlist.[Ch] (ascii):
1121 * insetfoot.[Ch] (docbook):
1122 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1123 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1124 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1125 * insetindex.[Ch] (docbook):
1126 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1127 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1128 * insetline.[Ch] (ascii, linuxdoc, docbook):
1129 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1130 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1131 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1132 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1133 * insetref.[Ch] (ascii, linuxdoc, docbook):
1134 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1135 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1136 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1137 * insettext.[Ch] (ascii, linuxdoc, docbook):
1138 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1139 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1140 * insetwrap.[Ch] (docbook):
1141 add LatexRunParams argument.
1143 2003-10-30 José Matos <jamatos@lyx.org>
1145 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1147 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1149 * updatableinset.C (priv_dispatch):
1150 * insetwrap.C (priv_dispatch):
1151 * inseturl.C (priv_dispatch):
1152 * insettoc.C (priv_dispatch):
1153 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1154 (moveLeftIntern, moveUp, moveDown):
1155 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1156 (moveLeft, moveUp, moveDown):
1157 * insetref.C (priv_dispatch):
1158 * insetnote.C (priv_dispatch):
1159 * insetminipage.C (priv_dispatch):
1160 * insetlabel.C (priv_dispatch):
1161 * insetindex.C (priv_dispatch):
1162 * insetinclude.C (priv_dispatch):
1163 * insetgraphics.C (priv_dispatch):
1164 * insetfloatlist.C (priv_dispatch):
1165 * insetfloat.C (priv_dispatch):
1166 * insetexternal.C (priv_dispatch):
1167 * insetert.C (priv_dispatch):
1168 * insetcommand.C (priv_dispatch):
1169 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1170 * insetcite.C (priv_dispatch):
1171 * insetbranch.C (priv_dispatch):
1172 * insetbox.C (priv_dispatch):
1173 * insetbibtex.C (priv_dispatch):
1174 * insetbibitem.C (priv_dispatch):
1175 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1177 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1179 * insettext.C: small refactoring of docbook stuff
1181 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1183 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1184 (priv_dispatch): adjust for operator dispatch_result_t removal
1186 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1187 in a DispatchResult, adjust accordingly.
1188 (priv_dispatch): use strange >= construct... (will be removed later)
1190 * most insets: dispatch_result -> DispatchResult
1192 * insetbase.h: move DispatchResult out to dispatchresult.h
1194 2003-10-27 André Pönitz <poenitz@gmx.net>
1196 * insetpagebreak.[Ch]: new inset for page breaks
1198 * insetline.[Ch]: new inset for vertical lines
1203 2003-10-25 Angus Leeming <leeming@lyx.org>
1205 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1206 new virtual member functions, specialised...
1207 * render_button.h (asButton):
1208 * render_graphic.h (asGraphic):
1209 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1211 * insetexternal.C: use these new functions rather than dynamic_cast.
1212 Various other small simplifications.
1214 2003-10-22 Angus Leeming <leeming@lyx.org>
1216 * insetexternal.[Ch]: add the ability to 'preview' the external file
1219 * insetinclude.C: changes due to the changes in the RenderPreview
1222 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1223 message if the preview image is not available. Only initiate the
1224 loading of the preview from draw(). Ditto, start the monitoring
1225 of an external file from RenderMonitoredPreview::draw.
1227 2003-10-22 Angus Leeming <leeming@lyx.org>
1229 * insetcite.[Ch] (setLoadingBuffer): removed.
1230 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1231 ascertain whether to proceed with the (expensive) task of computing
1232 the natbib-style label. Remove the home-grown hack providing
1233 similar functionality.
1235 2003-10-22 Angus Leeming <leeming@lyx.org>
1237 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1238 class and into an anonymous namespace.
1240 2003-10-22 Angus Leeming <leeming@lyx.org>
1242 * insetcommand.h: remove the display method.
1246 * insetindex.h (InsetPrintIndex):
1247 * insettoc.h: add a display method, returning true.
1249 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1251 * insetcollapsable.h:
1255 * insetinclude.h: (1) finish off the inset display() work;
1256 (2) fix the "is a bit silly" bug (accessing char
1259 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1263 * insetfootlike.h: re-introduce display() for insets,
1264 fixing the various bugs (stretch of line above, math inset
1267 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1269 * insetbase.C (dispatch): new func
1270 (priv_dispatch): new func replaces...
1271 (localDispatch): this, deleted.
1273 * all insets with dispatch modified for new code.
1275 2003-10-15 André Pönitz <poenitz@gmx.net>
1277 * insetcollapsable.[Ch]
1279 * inset.h: re-add some edit(bv, index) method called by undo
1281 2003-10-14 Angus Leeming <leeming@lyx.org>
1283 * insetexternal.[Ch] (view, cache, view_):
1284 * insetgraphics.[Ch] (view, cache, view_):
1285 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1286 (statusChanged): call LyX::cref().updateInset.
1288 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1289 the BufferView cache.
1291 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1294 2003-10-14 Angus Leeming <leeming@lyx.org>
1296 * insetinclude.C (metrics, draw): only draw the preview when previews
1299 2003-10-14 André Pönitz <poenitz@gmx.net>
1301 * insetcollapsable.[Ch]:
1302 * insettabular.[Ch]:
1304 * inset.h: getText() as alternative to getParagraphs()
1306 2003-10-13 Angus Leeming <leeming@lyx.org>
1309 * insetgraphicsParams.C: displayTranslator is now a function.
1311 2003-10-13 Angus Leeming <leeming@lyx.org>
1313 * insetinclude.C: remove #include "PreviewImage.h".
1315 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1317 * ExternalSupport.C:
1318 * ExternalTransforms.C:
1320 * insetbox.h: ws changes only
1322 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1324 * insetinclude.C (localDispatch): do not call
1325 InsetOld::localDispatch, just return UNDISPATCHED
1326 * insetgraphics.C (localDispatch): ditto
1327 * insetcommand.C (localDispatch): ditto
1329 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1331 * inset.h: get rid of RESULT typedef for dispatch_result
1333 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1334 * insetert.[Ch] (localDispatch): ditto
1335 * insettabular.[Ch] (localDispatch): ditto
1340 * insettext.[Ch] (localDispatch): ditto
1343 (moveRightIntern): ditto
1344 (moveLeftIntern): ditto
1347 * updatableinset.[Ch] (localDispatch): ditto
1349 2003-10-12 Angus Leeming <leeming@lyx.org>
1351 * renderbase.h (view, view_): removed.
1352 * renderbase.C: removed.
1353 * Makefile.am: remove render_base.C. The shortest lived file in
1356 * renderbutton.C (draw):
1357 * render_graphic.C (draw): don't cache the BufferView.
1359 * insetabase.h (cache, view): removed.
1361 * inset.h (generatePreview) removed.
1363 * insetcallapsable.[Ch] (cache, view, view_): removed.
1365 * insetcollapsable.C (draw): don't cache the BufferView.
1367 * insetcommand.[Ch] (view): removed.
1369 * insetexternal.[Ch] (cache, view, view_):
1370 * insetgraphics.[Ch] (cache, view, view_):
1371 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1373 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1374 when you have direct access to it. In fact, don't use the cache at all.
1376 2003-10-10 Angus Leeming <leeming@lyx.org>
1378 * insetinclude.C (metrics): use preview_->metrics.
1379 (draw): use preview_->draw.
1381 * render_preview.[Ch] (pimage): removed.
1383 2003-10-10 Angus Leeming <leeming@lyx.org>
1385 * renderers.[Ch]: removed.
1388 * render_button.[Ch]:
1389 * render_graphic.[Ch]:
1390 * render_preview.[Ch]: new files. The first three are split out of
1391 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1392 contains a re-worked InsetInclude::PreviewImpl also.
1394 * Makefile.am: reflect the changed files.
1397 * insetexternal.[Ch]:
1398 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1400 * insetinclude.[Ch]: changes reflecting the change from
1401 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1407 * inseturl.C: add #include "support/std_ostream.h"
1409 2003-10-09 Angus Leeming <leeming@lyx.org>
1411 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1412 to PreviewedInset::previewReady.
1414 2003-10-09 Angus Leeming <leeming@lyx.org>
1416 * insetexternal.[Ch] (statusChanged):
1417 * insetgraphics.[Ch] (statusChanged): make a const member function.
1419 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1422 2003-10-09 Angus Leeming <leeming@lyx.org>
1424 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1425 to PreviewedInset's previewReady and removePreview member functions.
1427 2003-10-08 André Pönitz <poenitz@gmx.net>
1429 * insetcollapsable.C:
1430 * insettext.[Ch]: saner 'init' structure
1432 * updatableinset.[Ch]: remove unneeded code
1434 2003-10-08 Angus Leeming <leeming@lyx.org>
1436 Fix doxygen warnings.
1438 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1439 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1441 2003-10-07 Angus Leeming <leeming@lyx.org>
1443 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1444 be applied to InsetExternal.
1446 * Makefile.am: add these new files.
1448 * ExternalTemplate.[Ch]: add a list of available transforms to
1449 class Template and a list of factory functions for transformer classes
1450 that can act on this data to class Format.
1452 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1454 * ExternalSupport.C: Add code to replace transform placeholders
1455 with appropriate output.
1457 2003-10-07 Angus Leeming <leeming@lyx.org>
1459 * ExternalSupport.[Ch]: new files, moving the private member functions
1460 and namespace anon functions out of insetexternal.C to here, so making
1461 it easier to understand what is going on in insetexternal itself.
1463 * Makefile.am: add new files.
1465 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1466 allowing the class to be forward declared. (Also consistent with
1467 all other Params classes.)
1468 (write): moved out of the class. Move this function and those in
1469 namespace anon to ExternalSupport.[Ch].
1471 2003-10-07 Angus Leeming <leeming@lyx.org>
1473 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1474 non-const member function.
1476 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1481 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1483 2003-10-02 André Pönitz <poenitz@gmx.net>
1485 * insettext.C (read): make sure there is at least one par
1486 in the text after reading.
1488 2003-10-01 José Matos <jamatos@lyx.org>
1490 * insetbranch.C (linuxdoc, docbook): minor fix.
1492 2003-10-01 Angus Leeming <leeming@lyx.org>
1494 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1496 * insetexternal.[Ch]: changes due to the introduction of
1497 namespace lyx::external.
1499 2003-09-30 Angus Leeming <leeming@lyx.org>
1501 * insetexternal.[Ch] (Params::read, write): new member functions.
1503 2003-09-25 Angus Leeming <leeming@lyx.org>
1505 * insetexternal.[Ch] (TempName): new (private) nested struct with
1506 fake copy semantics. Enables us to use the generated copy c-tor
1507 in the Params struct.
1508 (Params::templatename, Params::tempname): use accessor functions.
1510 2003-09-25 Angus Leeming <leeming@lyx.org>
1512 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1513 function, returning a const pointer.
1515 2003-09-23 Angus Leeming <leeming@lyx.org>
1517 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1518 store them in a vector, preambleNames.
1520 * insetexternal.C (validate): loop over all preambleNames and call
1521 LaTeXFeatures::addExternalPreamble with each.
1523 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1525 * insetbranch.C: bug fix in branches
1527 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1529 * insetnote.C: small clean-up.
1531 2003-09-19 Angus Leeming <leeming@lyx.org>
1533 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1535 * insetcommand.C (string2params): clear params using the default c-tor.
1537 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1538 InsetInclude::Params. No more data in this struct than in
1539 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1540 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1541 (clone): remove #warning as it's now redundant.
1542 (set): add a 'Buffer const &' arg. Make private.
1543 (loadIfNeeded) move out of the class definition and into namespace anon.
1544 (getMasterFilename, getFileName): ditto.
1546 2003-09-18 Angus Leeming <leeming@lyx.org>
1548 * insetcommand.C (setParams): use the params' copy constructor.
1550 2003-09-18 Angus Leeming <leeming@lyx.org>
1552 * insetinsetbase.h (getLabelList):
1553 * insetinsetcollapsable.[Ch] (getLabelList):
1554 * insetinsetinclude.[Ch] (getLabelList):
1555 * insetinsetlabel.[Ch] (getLabelList):
1556 * insetinsettabular.[Ch] (getLabelList):
1557 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1558 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1560 2003-09-18 Angus Leeming <leeming@lyx.org>
1562 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1563 redundant baggage from yesteryear.
1564 Remove Params::flag as it is redundant; the info is present in
1567 2003-09-18 Angus Leeming <leeming@lyx.org>
1569 * insetinclude.C (latexString): add a Buffer const & arg.
1571 2003-09-18 Angus Leeming <leeming@lyx.org>
1576 * insettext.h: rename EnumLColor as LColor_color.
1578 2003-09-18 Angus Leeming <leeming@lyx.org>
1580 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1581 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1583 2003-09-16 Angus Leeming <leeming@lyx.org>
1585 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1586 set before trying to generate a preview, else we trigger an assert.
1588 2003-09-16 Angus Leeming <leeming@lyx.org>
1590 * insetinclude.C (PreviewImpl::parent): return a const reference.
1592 2003-09-16 Angus Leeming <leeming@lyx.org>
1594 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1596 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1598 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1599 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1601 * insetminipage.C (metrics):
1602 * insetnote.C (metrics):
1603 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1604 access collapsed_ directly.
1606 2003-09-16 Angus Leeming <leeming@lyx.org>
1608 * insetbibitem.C: add #include "lyxfont.h".
1610 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1613 * insetbibtex.C: use namespace alias for lyx::support::os
1615 2003-09-16 Angus Leeming <leeming@lyx.org>
1617 * insetcollapsable.h: remove unused framecolor variable.
1618 Remove #include "LColor.h".
1620 * insetcollapsable.C: remove unused framecolor variable.
1623 * insetcollapsable.C:
1631 Add #include "LColor.h".
1633 2003-09-16 Angus Leeming <leeming@lyx.org>
1635 * insettext.[Ch] (frameColor): new accessor function.
1636 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1642 add #include "LColor.h".
1644 * insetcollapsable.h: add #include "LColor.h"
1645 (for its framecolor member variable).
1647 2003-09-16 Angus Leeming <leeming@lyx.org>
1649 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1651 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1652 rename frame_color as frame_color_. Make private.
1654 * insettext.C: associated changes.
1656 2003-09-16 Angus Leeming <leeming@lyx.org>
1658 * inset.h: store background_color_ as an int, not as an LColor::color to
1659 get LColor.h out of the header file.
1662 * insetlatexaccent.C:
1665 * insetspecialchar.C:
1667 add #include "LColor.h".
1669 2003-09-16 Angus Leeming <leeming@lyx.org>
1671 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1674 2003-09-15 Angus Leeming <leeming@lyx.org>
1676 * inset.[Ch] (setBackgroundColor, backgroundColor):
1677 * insettext.[Ch] (setFrameColor):
1678 pass EnumLColor args, rather than LColor::color ones.
1680 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1690 * insetwrap.C: remove usage of STRCONV
1692 2003-09-15 Angus Leeming <leeming@lyx.org>
1694 * renderers.C (draw):
1695 * insetlatexaccent.C (draw): explicitly define the color passed to
1698 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1700 * insettext.C: remove block causing problems in lockInsetInInset
1701 (mentioned erroneously under Bug #1366)
1703 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1705 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1708 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1710 * several files: change Assert to BOOST_ASSERT
1712 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1714 * insettext.[Ch]: remove drawText[XY]Offset
1716 2003-09-08 Angus Leeming <leeming@lyx.org>
1718 * insetcollapsable.C:
1723 * insetspecialchar.C:
1726 * insettoc.C: remove redundant using directives.
1728 2003-09-07 Angus Leeming <leeming@lyx.org>
1731 * insetspecialchar.h: remove #include "support/std_string.h".
1733 2003-09-06 Angus Leeming <leeming@lyx.org>
1735 * renderers.C: add #include "insets/inset.h"
1737 2003-09-05 Angus Leeming <leeming@lyx.org>
1739 * *.C: strip out redundant #includes. (193 in total.)
1741 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1743 * insets/insetbibtex.[Ch]:
1744 * insets/insetcommand.h:
1745 * insets/insetfloatlist.[Ch]:
1746 * insets/insetinclude.[Ch]:
1747 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1748 of insets like bibtex, include, toc and floatlist to the visible
1749 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1750 up the dialogs. Cursor has to be in front of the inset (i.e.
1751 start of row) for this to function.
1753 2003-09-04 Angus Leeming <leeming@lyx.org>
1755 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1756 structure outside of the Format struct. Format::preambleName refers to
1757 an item in the map of all preamble snippets.
1758 Make use of the new Debug::EXTERNAL flag.
1760 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1761 (validate): Small change due to the changed storage of preamble snippets.
1763 2003-09-04 Angus Leeming <leeming@lyx.org>
1765 * insetgraphics.C: #include "support/os.h"
1767 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1768 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1769 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1771 * insetcollapsable.h:
1773 * insetnote.C: move #include "funcrequest.h" out of the header file.
1775 2003-09-03 Angus Leeming <leeming@lyx.org>
1777 * insetexternal.C (updateExternal):
1778 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1781 2003-09-03 Angus Leeming <leeming@lyx.org>
1783 * insetexternal.C: don't bring namespace lyx::support into the global
1786 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1788 * insetbranch.C: Add Branch: to label
1790 2003-09-02 John Levon <levon@movementarian.org>
1793 * insettext.C: remove cursor.i[xy]()
1795 2003-08-28 Angus Leeming <leeming@lyx.org>
1797 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1798 "sh ", enabling the conversion to be carried out even if the script
1801 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1803 * most files: change to use const Buffer refs
1805 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1807 * insetfootlike.C: whitespace.
1809 2003-08-26 John Levon <levon@movementarian.org>
1813 * insetindex.h: remove remaining mentions of needFullRow()
1815 2003-08-26 André Pönitz <poenitz@gmx.net>
1821 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1823 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1825 * insetbranch.C: Small fix to prevent a crash on loading.
1827 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1832 * insetcollapsable.h:
1834 * insetfloatlist.[Ch]:
1835 * insetfootlike.[Ch]:
1836 * insetinclude.[Ch]:
1842 * insettheorem.[Ch]:
1843 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1844 altogether, putting the logic in metrics/draw in the insets.=20
1845 Draws short single row insets with more or less realistic metrics.
1847 2003-08-19 André Pönitz <poenitz@gmx.net>
1849 * insettext.C: use new RowPainter interface
1851 2003-08-18 John Levon <levon@movementarian.org>
1853 * insetref.C: require amsmath for eqref
1855 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1859 * insetbranch.[Ch]: implements the 'branch inset'
1860 idea. This allows the output of various versions of a document
1861 from a single source version, selectively outputing or suppressing
1862 output of parts of the text.
1863 This implementation contains a 'branch list editor' in a separate
1864 tab of the document settings dialog. Branches are user definable
1865 and have a "display colour" to distinguish them on-screen.
1867 ColorHandler was somewhat cleaned up.
1868 (1) make possible a dynamically growing LColor list by allowing
1869 the graphic context cache to grow along (vector);
1870 (2) eliminate an IMHO unnecessary step in colour allocation.
1872 2003-08-15 André Pönitz <poenitz@gmx.net>
1874 * insettext.[Ch]: adjust after rowlist split
1876 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1878 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1879 rename valign-center to valign-middle;
1880 rename VALIGN_CENTER to VALIGN_MIDDLE
1882 2003-08-11 André Pönitz <poenitz@gmx.net>
1884 * inset.h: remove resizeLyXText
1887 * insetcollapsable.[Ch]:
1889 * insettabular.[Ch]: adjust
1891 * insettext.[Ch]: remove saveLyXTextState,
1892 restoreLyXTextStat, sstate, reinitLyXText
1894 2003-08-07 André Pönitz <poenitz@gmx.net>
1896 * inset.[Ch]: move non-crucial functions out-of-line
1898 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1899 remove duplicated code.
1901 2003-08-05 André Pönitz <poenitz@gmx.net>
1904 * insetcollapsable.[Ch]:
1914 * insettabular.[Ch]:
1917 * updatableinset.[Ch]: rip out "deep update"
1919 * insettext.C (localDispatch): merge cases with default branch
1921 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1923 * insettabular.[Ch] (updateLocal): simplify logic
1925 2003-08-04 André Pönitz <poenitz@gmx.net>
1927 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1928 is 'FULL' all the time.
1930 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1932 * insetert.C (get_new_label): only add ... to the (closed) label
1933 when the string has been shortened
1935 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1937 * Always use std::endl with lyxerr
1939 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1941 * insetnote.C: update \author list
1943 2003-07-31 André Pönitz <poenitz@gmx.net>
1945 * insetcollapsable.h:
1946 * insettabular.[Ch]:
1947 * insettext.[Ch]: remove toggleSelection
1949 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1951 (with help from Juergen Spitzmueller)
1952 * insetnote.C: add add i18n support. Use Prefs-definable
1953 colours for Comment and Greyedout.
1955 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1957 * insetcollapsable.[Ch]:
1959 * insetert.C: factor out the detection of clicking on the inset
1960 button as 'hitButton'. John Levon contributed.
1962 2003-07-30 André Pönitz <poenitz@gmx.net>
1964 * insetcollapsable.C:
1966 * insettabular.C: parantheses, localize vars etc.
1968 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1970 * insetnote.C: Implement a newenvironment in preamble for
1971 greyedout. Patch provided by Jürgen Spitzmüller.
1973 2003-07-29 Angus Leeming <leeming@lyx.org>
1975 * insetcommand.C (localDispatch): default to
1976 InsetOld::localDispatch.
1978 * insetbibitem.C (localDispatch):
1979 * insetbibtex.C (localDispatch): remove call to
1980 ChangeCitationsIfUnique.
1982 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1984 * insetexternal.C (read): use pushpophelper.
1986 2003-07-28 José Matos <jamatos@lyx.org>
1988 * insetext.C (read): \end_document replaces \the_end.
1990 2003-07-28 José Matos <jamatos@fep.up.pt>
1992 * insetert.C (write): \layout -> \begin_layout.
1993 Add missing \end_layout.
1995 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1997 * insetquotes.C: document a bit the format
1999 * insettabular.C (write): remove extra space
2001 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2002 * insetnote.C: Umpf. Hope I *now* get it right :-(
2004 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2005 *insetnote.C: did the right fix to greyedout: \color
2006 instead of \textcolor.
2008 2003-07-28 Angus Leeming <leeming@lyx.org>
2010 * insetbibtex.h: remove extraneous forward declaration.
2013 * insetbibtex.h: Also remove long-dead Holder member class
2016 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2018 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2021 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2023 * insetwrap.C (addToToc): adjust for lyx::toc
2025 * insetfloatlist.C (ascii): adjust for lyx::toc
2027 * insetfloat.C (addToToc): adjust for lyx::toc
2029 2003-07-27 José Matos <jamatos@fep.up.pt>
2031 * insetnote.h (linuxdoc,docbook): update support.
2033 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2035 * insetfloat.C (wide): add a space to label, for consistency
2037 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2039 * insettext.C (nextChange): adjust for lyx::find
2040 (searchForward): ditto
2041 (searchBackward): ditto
2043 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2045 * insetgraphicsParams.C:
2046 * insetexternal.C: declare extern displayTranslator
2049 * renderers.C: add #include "support/LAssert.h"
2051 2003-07-27 José Matos <jamatos@fep.up.pt>
2053 * insetfloat.[Ch] (linuxdoc):
2054 * insetgraphics.C (linuxdoc):
2055 * insettabular.C (linuxdoc):
2056 * insettext.[Ch] (linuxdoc): add support for tables and figures
2059 2003-07-27 José Matos <jamatos@fep.up.pt>
2061 * insetinclude (latex): comply with makeLaTeXFile argument change.
2063 2003-07-26 Asger Alstrup <alstrup@local>
2065 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2066 the undo crashes. We'll see what problems other places this will
2069 2003-07-26 Angus Leeming <leeming@lyx.org>
2071 * insetgraphics.C: remove unused declaration of system_tempdir.
2073 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2075 * rename Inset to InsetOld
2077 * all inset files (clone): return a auto_ptr<InsetBase>
2079 2003-07-23 Angus Leeming <leeming@lyx.org>
2081 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2083 2003-07-23 Angus Leeming <leeming@lyx.org>
2085 * mailinset.[Ch] (inset2string):
2086 * insetcommand.[Ch] (inset2string):
2087 * insetert.[Ch] (inset2string):
2088 * insetexternal.[Ch] (inset2string):
2089 * insetfloat.[Ch] (inset2string):
2090 * insetgraphics.[Ch] (inset2string):
2091 * insetinclude.[Ch] (inset2string):
2092 * insetminipage.[Ch] (inset2string):
2093 * insetnote.[Ch] (inset2string):
2094 * insettabular.[Ch] (inset2string):
2095 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2097 * insetexternal.[Ch]:
2098 * insetgraphics.[Ch]: get rid of the view() function. Associated
2099 changes to the mailers' string2params and params2string functions.
2101 2003-07-23 Angus Leeming <leeming@lyx.org>
2103 * insetexternal.[Ch]: store the external file name in a FileName
2104 member variable rather than a string + associated changes.
2106 2003-07-21 Angus Leeming <leeming@lyx.org>
2108 * insetgraphicsParams.[Ch]: store the graphics file name in
2109 a FileName member variable rather than a string.
2111 * insetgraphics.[Ch]:
2112 * insetgraphicsParams.[Ch]: Associated changes.
2114 2003-07-21 Angus Leeming <leeming@lyx.org>
2116 * insetgraphics.[Ch] (string2params, params2string): passed a
2117 buffer_path argument.
2120 2003-07-21 Angus Leeming <leeming@lyx.org>
2123 * insetgraphicsParams.[Ch]:
2125 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2127 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2129 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2131 2003-07-18 André Pönitz <poenitz@gmx.net>
2134 * insetminipage.[Ch]:
2135 * insettabular.[Ch]:
2138 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2140 2003-07-18 André Pönitz <poenitz@gmx.net>
2144 * insetcollapsable.C:
2148 * insetgraphics.[Ch]:
2149 * insetlatexaccent.[Ch]:
2154 * insetspecialchar.C:
2155 * insettabular.[Ch]:
2157 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2159 2003-07-17 André Pönitz <poenitz@gmx.net>
2161 * insetcollapsable.C:
2163 * insettext.C: don't call Inset::update() anymore
2166 * insettabular.[Ch]: remove unneeded in_update_ members
2168 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2170 2003-07-16 André Pönitz <poenitz@gmx.net>
2172 * insettext.C (selectAll): remove
2174 2003-07-16 John Levon <levon@movementarian.org>
2177 * insetnote.C: implement showInsetDialog()
2179 2003-07-15 André Pönitz <poenitz@gmx.net>
2182 * insettext.C: refresh_status tristate -> need_update bool
2184 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2186 * insettext.C: adjust call to LyXText::init
2188 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2190 * insettext.C: use bufferview_funcs->replaceSelection()
2191 to delete selections in some cases (bugs 441, 673, 702, 954).
2193 2003-07-14 André Pönitz <poenitz@gmx.net>
2195 * insettext.C (draw): use slimmed down rowpainter interface
2197 2003-07-14 André Pönitz <poenitz@gmx.net>
2199 * insetcollapsable.C:
2201 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2202 remove unused BufferView * argument
2204 2003-07-14 André Pönitz <poenitz@gmx.net>
2206 * insettext.[Ch]: used cached metrics a bit more
2208 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2210 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2212 2003-07-10 André Pönitz <poenitz@gmx.net>
2215 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2217 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2219 * introduce namespace lyx::graphics
2221 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2223 * introduce namespace lyx::support
2225 2003-06-30 André Pönitz <poenitz@gmx.net>
2227 * insetcite.C (localDispatch): fix case of missing return value
2229 * insetcite.C (ascii): remove unneeded temporary
2231 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2233 * insetspace.h: fix \file
2235 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2236 * insetinclude.C (fillWithBibKeys): ditto
2238 * insetbibitem.C: fix type const order
2240 * inset.C (getLyXText): add varname for arg
2242 * ExternalTemplate.h: fix type const order
2244 2003-06-27 André Pönitz <poenitz@gmx.net>
2246 * insettext.C: take care of removed LyXCursor::row_ member
2248 * insettext.[Ch]: use new TextCursor struct for sstate
2250 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2252 * inseterror.[Ch]: removed
2254 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2256 * insetinclude.C (docbook): use parseError instead of sgmlError
2258 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2260 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2261 of BufferList::loadLyXFile
2263 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2265 * insettext.C (update): simplify
2266 (updateLocal): remove commented code
2267 (insetUnlock): simplify
2268 (lockInset): simplify
2269 (updateInsetInInset): simplify
2270 (localDispatch): simplify
2272 (resizeLyXText): simplify
2273 (collapseParagraphs): simplify
2275 * insetert.C (get_new_label): simplify
2277 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2279 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2280 pasteSelection with index
2282 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2284 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2286 2003-06-16 André Pönitz <poenitz@gmx.net>
2288 * insetbase.h: new virtual base function clone()
2290 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2291 Inset * clone() -> InsetBase * clone()
2293 2003-06-13 André Pönitz <poenitz@gmx.net>
2295 * insettabular.[Ch]: make tabular a proper member
2297 2003-06-12 André Pönitz <poenitz@gmx.net>
2299 * insettabular.[Ch]: some renaming plus whitespace
2301 2003-06-11 Angus Leeming <leeming@lyx.org>
2303 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2306 * insetbutton.[Ch]: removed.
2307 * graphicinset.[Ch]: renamed as renderers.[Ch].
2309 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2310 Create a new class ButtonRenderer using the InsetButton::metrics() and
2312 Derive both from a common RenderedInset base class.
2314 * insetcommand.[Ch]:
2315 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2316 Give it a ButtonRenderer member variable. Use it.
2317 Give the classes working copy c-tors.
2318 No longer derive from boost::noncopyable.
2320 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2321 display its contents as a button or as a graphic.
2323 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2326 2003-06-11 Angus Leeming <leeming@lyx.org>
2328 * insetcite.C (localDispatch): reformat.
2330 * insetref.C (localDispatch): enable dialog to be lauched.
2332 2003-06-11 John Levon <levon@movementarian.org>
2334 * insettabular.C: correctly mark all cells as erased
2336 2003-06-11 Angus Leeming <leeming@lyx.org>
2338 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2339 ExternalTemplate but its name, templatename. This means that a file
2340 containing a reference to an External Template not installed on the
2341 current machine will be saved retaining this info rather than inserting
2342 the first "valid" template from the list of templates.
2344 As a by product, the visual statement that the Template is missing is
2347 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2349 * insettext.C (appendParagraphs): remove some commented code.
2351 2003-06-10 Angus Leeming <leeming@lyx.org>
2353 * graphicinset.[Ch] (view): removed the publicly accessible function to set
2356 * insetexternal.[Ch]: move tempname_ into the Params struct.
2357 (Params d-tor): new function, to clean-up this temp file.
2358 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2360 (editExternal, doSubstitution): move out of class.
2362 2003-06-10 Angus Leeming <leeming@lyx.org>
2364 * graphicinset.[Ch] (params): removed.
2365 * graphicinset.h (operator=): declared private but not defined.
2366 (statusMessage): made private.
2368 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2370 2003-06-07 John Levon <levon@movementarian.org>
2372 * insetert.C (latex): make a newline mean just that not
2375 2003-06-07 José Matos <jamatos@fep.up.pt>
2377 * insethfill.[Ch] (linuxdoc, docbook): implement output
2378 * insetspace.C (linuxdoc, docbook): remove coments as the code
2381 2003-06-06 José Matos <jamatos@fep.up.pt>
2383 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2385 2003-06-06 André Pönitz <poenitz@gmx.net>
2387 * insetwrap.[Ch]: code compactification
2389 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2391 * mailinset.C (updateDialog): use Dialogs::visible
2393 2003-06-04 Angus Leeming <leeming@lyx.org>
2395 * graphicinset.C (draw): add a comment for the #if 0 block.
2397 * insetexternal.h: remove Params::parameters variable.
2398 * insetexternal.C (read, write): rewrite to output new ExternalInset format
2399 and read it back making full use of LyXLex.
2401 2003-06-04 André Pönitz <poenitz@gmx.net>
2403 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2405 2003-06-04 John Levon <levon@movementarian.org>
2407 * insettabular.C: back out tall table speed up. It was broken
2409 2003-06-03 Angus Leeming <leeming@lyx.org>
2411 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2412 Remove ViewCommand and UpdateCommand.
2414 * graphicinset.C (update): bug fix. Set the params before calling the
2416 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
2417 BufferView cache to enable the InsetExternal::editCommand to be invoked
2418 from the frontends. Would not be needed if this were dispatched properly.
2419 (old_ascent_): variable removed.
2421 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2422 do any necessary conversions of external material. Also use the
2423 new GraphicsInset to display the inset within LyX.
2425 2003-06-03 Angus Leeming <leeming@lyx.org>
2427 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2428 and move it somewhere where InsetExternal can use it too.
2430 * Makefile.am: add the new files.
2432 * insetgraphics.[Ch]: make use of the new GraphicInset.
2434 2003-06-03 John Levon <levon@movementarian.org>
2437 * insetbibitem.[Ch]:
2440 * insetcommand.[Ch]:
2444 * insetexternal.[Ch]:
2448 * insetgraphics.[Ch]:
2450 * insetinclude.[Ch]:
2453 * insetlatexaccent.[Ch]:
2454 * insetmarginal.[Ch]:
2455 * insetminipage.[Ch]:
2462 * insetspecialchar.[Ch]:
2463 * insettabular.[Ch]:
2465 * insetthereom.[Ch]:
2468 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2470 * insetgraphics.[Ch]:
2471 * insetgraphicsParams.[Ch]: always store an absolute
2474 2003-06-02 André Pönitz <poenitz@gmx.net>
2478 * insetlatexaccent.C: remove duplicated call to metrics()
2480 2003-06-02 John Levon <levon@movementarian.org>
2482 * insettabular.C: fix resize of column width
2484 2003-06-02 John Levon <levon@movementarian.org>
2489 * insetparent.C: remove insetparent
2491 2003-06-02 André Pönitz <poenitz@gmx.net>
2498 * insetcollapsable.[Ch]:
2502 * insetgraphics.[Ch]:
2503 * insetinclude.[Ch]:
2504 * insetlatexaccent.[Ch]:
2505 * insetminipage.[Ch]:
2506 * insetnewline.[Ch]:
2509 * insetspecialchar.[Ch]:
2510 * insettabular.[Ch]:
2511 * insettext.[Ch]: unify first drawing phase
2514 * insetbase.h: move validate() to the base
2516 2003-05-31 Angus Leeming <leeming@lyx.org>
2518 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2520 2003-05-30 André Pönitz <poenitz@gmx.net>
2525 * insetcaption.[Ch]:
2526 * insetcollapsable.[Ch]:
2529 * insetgraphics.[Ch]:
2530 * insetinclude.[Ch]:
2531 * insetlatexaccent.[Ch]:
2532 * insetnewline.[Ch]:
2535 * insetspecialchar.[Ch]:
2536 * insettabular.[Ch]:
2538 * updatableinset.[Ch]: unify second drawing phase
2540 2003-05-30 John Levon <levon@movementarian.org>
2542 * insetgraphics.C: fix a bformat
2544 2003-05-29 John Levon <levon@movementarian.org>
2546 * insettabular.C: remove unused bufferOwner()
2548 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2550 * insettext.C (lockInsetInInset): adjust
2551 (getLabelList): use const_iterator, adjust
2552 (getInsetFromID): use const_iterator, adjust
2553 (addPreview): use const_iterator, adjust
2555 * insetwrap.C (clone): remove const_cast
2557 * insetnote.C (clone): remove const_cast
2559 * insetminipage.C (clone): remove const_cast
2561 * insetmarginal.C (clone): remove const_cast
2563 * insetfoot.C (clone): remove const_cast
2565 * insetfloat.C (clone): remove const_cast
2567 * insetert.C (clone): remove const_cast
2569 * delete commented same_id functions from a lot of files.
2571 2003-05-28 John Levon <levon@movementarian.org>
2577 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2579 * insetminipage.C: fix metrics (bug 1144)
2581 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2583 * insettext.C (saveLyXTextState): adjust
2584 (restoreLyXTextState): adjust
2587 (unlockInsetInInset): adjust
2588 (localDispatch): adjust
2589 (getLyXText): adjust
2591 * insettabular.C (insertAsciiString): adjust
2593 2003-05-27 André Pönitz <poenitz@gmx.net>
2596 * insetcollapsable.C:
2599 * insetlatexaccent.C:
2604 * insetspecialchar.C:
2606 * insettext.C: dim.w -> dim.wid
2608 2003-05-26 John Levon <levon@movementarian.org>
2610 * insettabular.C: avoid drawing all of a long table
2611 if it's not needed. A big speedup
2613 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2615 * remove same_id from function signatures, adjust
2617 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2619 * insettext.C (InsetText): adjust
2621 (setParagraphData): separate same_id cases, adjust
2622 (appendParagraphs): adjust
2623 (appendParagraphs): adjust
2625 2003-05-23 André Pönitz <poenitz@gmx.net>
2627 * insetbutton.h: whitespace
2629 * insettabular.C: more compact code
2631 * updatableinset.C: remove const_cast
2634 2003-05-23 Angus Leeming <leeming@lyx.org>
2636 * insetexternal.C (write): check how many lines are output.
2637 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2638 if the template has defined it.
2640 2003-05-23 Angus Leeming <leeming@lyx.org>
2642 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2644 2003-05-23 Angus Leeming <leeming@lyx.org>
2646 * insetfoot.C (latex):
2647 * inseturl.C (latex): rename fragile as moving_arg.
2649 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2651 * inseterror.C (localDispatch): comment out unused var.
2653 2003-05-22 Angus Leeming <leeming@lyx.org>
2655 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2656 passed through the LatexRunParams arg.
2658 2003-05-22 Angus Leeming <leeming@lyx.org>
2660 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2661 through the LatexRunParams arg.
2663 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2664 arg rather than through a global var.
2666 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2668 * insetspecialchar.C (dimension): use a string.
2670 2003-05-22 Angus Leeming <leeming@lyx.org>
2672 * insetbibtex.C (latex):
2673 * insetgraphics.C (latex):
2674 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2675 runparams rather than from the buffer itself.
2677 2003-05-22 Angus Leeming <leeming@lyx.org>
2679 * inset*.[Ch] (latex):
2680 passed a LatexRunParams parameter.
2682 * insetgraphics.C (latex): actually use it ;-)
2684 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2686 * insetfloat.C (addToToc): trivial compile fix
2688 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2690 * insettext.[Ch] (paragraph): delete unused function
2692 * insetfloat.C (addToToc): parlist simplfication
2694 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2696 * insetspace.[Ch]: added (new space insets)
2698 * inset.h: handle new space insets
2700 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2702 * insetfloat.C (addToToc): adjust
2704 2003-05-21 André Pönitz <poenitz@gmx.net>
2706 * insettext.[Ch]: fix drawing bug introduced earlier
2708 2003-05-19 André Pönitz <poenitz@gmx.net>
2710 * insetspecialchar.C: fix bug introduced yesterday
2712 2003-05-19 André Pönitz <poenitz@gmx.net>
2716 * insetcollapsable.[Ch]:
2720 * insetgraphics.[Ch]:
2721 * insetgraphicsParams.[Ch]:
2722 * insetlatexaccent.[Ch]:
2723 * insetminipage.[Ch]:
2724 * insetnewline.[Ch]:
2726 * insetspecialchar.[Ch]:
2727 * insettabular.[Ch]:
2728 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2730 2003-05-19 André Pönitz <poenitz@gmx.net>
2733 * insettext.C: more insetenv
2735 2003-05-16 André Pönitz <poenitz@gmx.net>
2738 * insetminimpage.[Ch]:
2739 * insetcollapsable.[Ch]: fix #832
2741 2003-05-16 André Pönitz <poenitz@gmx.net>
2744 * insetbibitem.[Ch]:
2748 * insetcollapsable.[Ch]:
2749 * insetcommand.[Ch]:
2752 * insetexternal.[Ch]:
2753 * insetfloatlist.[Ch]:
2754 * insetgraphics.[Ch]:
2755 * insetinclude.[Ch]:
2758 * insetlatexaccent.[Ch]:
2761 * insettabular.[Ch]:
2765 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2767 2003-05-13 André Pönitz <poenitz@gmx.net>
2770 * insetcollapsable.C:
2774 * insetwrap.C: tostr from own header
2786 * insetwrap.C: STRCONV
2789 2003-05-12 André Pönitz <poenitz@gmx.net>
2801 * insetwwrap.C: boost::format -> bformat all over the place
2803 2003-05-05 André Pönitz <poenitz@gmx.net>
2805 * insettext.h: add missing #include <map>
2807 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2809 * insettext.C (InsetText): parlist cleanup
2812 (insetUnlock): ditto
2814 (lockInsetInInset): ditto
2818 (searchBackward): ditto
2819 (collapseParagraphs): ditto
2821 2003-05-06 John Levon <levon@movementarian.org>
2823 * insetcaption.C: don't cast wrap inset to InsetFloat
2826 * insetfloat.C: remove unneeded type() function
2828 2003-05-05 André Pönitz <poenitz@gmx.net>
2832 * insettabular.[Ch]:
2833 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2834 replace getFirstParagraph() by getParagraphs()
2836 2003-05-03 John Levon <levon@movementarian.org>
2838 * insetcollapsable.h:
2839 * insetcollapsable.C:
2845 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2846 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2847 getCursor(). Remove explicit cursor hides.
2849 2003-05-02 André Pönitz <poenitz@gmx.net>
2851 * insettext.C: remove unneeded &*
2853 2003-04-30 John Levon <levon@movementarian.org>
2855 * insettabular.C: fix edit message
2857 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2859 * insettext.C (setFont): do not convert iterator -> pointer
2861 * insettabular.C (localDispatch): do not convert iterator -> pointer
2863 (tabularFeatures): ditto
2865 2003-04-29 André Pönitz <poenitz@gmx.net>
2867 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2869 2003-04-28 André Pönitz <poenitz@gmx.net>
2871 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2874 2003-04-25 André Pönitz <poenitz@gmx.net>
2876 * insetenv.C: derive from InsetText instead of InsetCollapsable
2878 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2880 * insetexternal.C (string2params): dont do anything if the string
2882 * insetgraphics.C (string2params): ditto
2883 * insetcommand.C (string2params): ditto
2884 * insetert.C (string2params): ditto
2885 * insetfloat.C (string2params): ditto
2886 * insetinclude.C (string2params): ditto
2887 * insetminipage.C (string2params): ditto
2888 * insettabular.C (string2params): ditto
2889 * insetwrap.C (string2params): ditto
2891 2003-04-24 André Pönitz <poenitz@gmx.net>
2893 * insetref.C: support for eqref
2895 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2897 * insetert.C (read): use ParagraphList::iterator.
2899 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2901 * insetquotes.C (latex): comment some code and add warnings.
2903 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2905 * insetexternal.C (localDispatch): added a missing DISPATCHED
2907 2003-04-12 John Levon <levon@movementarian.org>
2909 * insetwrap.C (addToToc): fix a crash, conversion
2910 from while to for loop forgot to remove the explicit
2913 2003-04-10 John Levon <levon@movementarian.org>
2915 * insettabular.C (tabularFeature): make sure
2916 to update the dialog when we change something
2919 (getStatus): don't disable some lfuns (bug 939)
2921 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2923 * insettext.C (saveLyXTextState): adjust
2924 (localDispatch): adjust
2930 * insettabular.C (localDispatch): adjust
2932 (tabularFeatures): adjust
2934 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2936 * insettabular.C (searchForward,searchBackward): fix bug 782
2938 2003-04-07 John Levon <levon@movementarian.org>
2941 * insettext.C: clear status message on inset exit
2943 2003-04-03 John Levon <levon@movementarian.org>
2945 * insetcommand.C: return dispatched on DIALOG_UPDATE
2947 2003-04-02 John Levon <levon@movementarian.org>
2949 * insettabular.C: tab lfuns renamed
2951 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2953 * insettext.C (update): move towards ParagraphList
2954 (updateLocal): ditto
2956 (insetUnlock): ditto
2958 (lockInsetInInset): ditto
2959 (updateInsetInInset): ditto
2960 (localDispatch): ditto
2963 (resizeLyXText): ditto
2964 (searchBackward): ditto
2965 (collapseParagraphs): ditto
2968 * insetwrap.C (InsetWrap): adjust
2969 (addToToc): adjust and rewrite loop
2971 * insettext.[Ch] (paragraph): delete function
2973 * insettabular.C (moveNextCell): adjust
2974 (movePrevCell): adjust
2975 (insertAsciiString): adjust
2977 * insetfloat.C (InsetFloat): adjust
2980 * insetert.C (InsetERT): adjust
2981 (write): adjust, and rewrite loop
2982 (latex): adjust, and rewrite loop
2983 (linuxdoc): adjust, and rewrite loop
2984 (docbook): adjust, and rewrite loop
2985 (localDispatch): adjust
2986 (get_new_label): adjust
2988 2003-04-01 John Levon <levon@movementarian.org>
2990 From Alfredo Braunstein
2993 * insetbutton.C: add localDispatch()
2995 * insetcommand.C: return DISPATCHED when edit() called
2997 * insettext.C: fix bug 967
2999 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3001 * insettext.C: adjust
3003 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3005 * insettext.C (draw): adjust
3006 (crow): return a RowList::iterator not a Row*
3008 * insetminipage.C (localDispatch): adjust
3010 * insetert.C (localDispatch): adjust
3012 2003-03-31 John Levon <levon@movementarian.org>
3015 * insetgraphicsParams.C: use_gui moved to lyx_gui
3017 2003-03-31 John Levon <levon@movementarian.org>
3019 * insettext.C: Alert fix
3021 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3023 * insettext.C (ascent): adjust for RowList
3026 (getLyXText): adjust
3027 (toggleSelection): adjust
3029 * insetminipage.C (localDispatch): adjust for RowList
3031 * insetert.C (localDispatch): adjust for RowList
3032 (getMaxWidth): adjust for RowList
3034 2003-03-29 John Levon <levon@movementarian.org>
3036 * insetert.C: Alert cleanup
3038 2003-03-29 John Levon <levon@movementarian.org>
3040 * insettabular.C: Alert fix
3042 2003-03-28 John Levon <levon@movementarian.org>
3044 * insetfloat.C: reset label on INSET_MODIFY
3046 2003-03-28 John Levon <levon@movementarian.org>
3048 * insetgraphicsParams.C: read subcaptionText as a whole line
3051 2003-03-28 John Levon <levon@movementarian.org>
3053 * insettext.C: remove unused prototypes
3055 2003-03-25 Angus Leeming <leeming@lyx.org>
3057 * insetbibitem.C (localDispatch): repaint the view after modifying
3058 a bibitem inset in case the maximum InsetBibitem width has changed.
3060 2003-03-25 John Levon <levon@movementarian.org>
3063 * insettabular.C: LyXText renamings
3065 2003-03-24 John Levon <levon@movementarian.org>
3067 * insettext.C: remove some dead code. Fix bug 972 and
3068 related by posting a repaint in updateLocal(), and making
3069 the SEL functions set SELECTION.
3071 2003-03-22 John Levon <levon@movementarian.org>
3074 * inset.C: remove no-longer-needed topx_set
3076 * insetcollapsable.h:
3077 * insetcollapsable.C: remove dead code
3080 * insetert.C: rebreak the rows when a possible
3081 change in size is made, and reset the cursor
3084 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3086 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3087 topx_set. Fix drawing errors for clearInset(). Remove
3088 some unnecessary uses of topx, which should die.
3090 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3091 is no longer needed. Replace it with an ugly hack.
3093 2003-03-20 John Levon <levon@movementarian.org>
3096 * insetcollapsable.h:
3097 * insetcollapsable.C:
3105 * insettext.C: remove spurious font parameter
3106 from update(). Fix drawing of ERT insets inside
3107 insets (bug 966). Remove unused mark_dirty from
3108 tabular's updateLocal()
3110 2003-03-19 John Levon <levon@movementarian.org>
3119 * insetwrap.C: remove unused getter/setters
3121 2003-03-19 John Levon <levon@movementarian.org>
3123 * several files: bv->updateInset() doesn't take
3124 a bool mark_dirty any more
3126 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3128 * adjust for BufferView* arg removal from lyxtext.
3130 2003-03-17 John Levon <levon@movementarian.org>
3132 * most files: remove the "cleared" parameter
3133 to draw in favour of always clearing. Associated
3136 2003-03-16 John Levon <levon@movementarian.org>
3138 * insettext.C: remove unused s.refresh
3140 2003-03-13 Angus Leeming <leeming@lyx.org>
3142 * insettext.C (edit): replace Dialogs::updateParagraph with
3143 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3145 2003-03-13 André Pönitz <poenitz@gmx.net>
3147 * Makefile.am: insert insetenv
3149 * insethenv.[Ch]: new files, currently inactive
3151 2003-03-12 John Levon <levon@movementarian.org>
3161 * insettext.C: use new insetnewline
3163 2003-03-12 John Levon <levon@movementarian.org>
3165 * insettext.C: readToken became readParagraph
3167 2003-03-12 John Levon <levon@movementarian.org>
3169 * insettext.C: use parlist iterator for reading contents
3171 2003-03-12 John Levon <levon@movementarian.org>
3173 * insettext.C: name change to readToken()
3175 2003-03-11 André Pönitz <poenitz@gmx.net>
3177 * Makefile.am: insert insethfill
3179 * insethfill.[Ch]: new files
3181 2003-03-10 Angus Leeming <leeming@lyx.org>
3183 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3185 (hideDialog): calls the new static Dialogs::hide() method.
3187 * insetbibitem.C (edit):
3188 * insetbibtex.C (edit):
3189 * insetcite.C (edit):
3190 * insetcommand.C (localDispatch):
3191 * inseterror.C (d-tor):
3192 * insetert.C (showInsetDialog):
3193 * insetexternal.C (localDispatch, edit):
3194 * insetfloat.C (localDispatch, showInsetDialog):
3195 * insetfloatlist.C (edit):
3196 * insetgraphics.C (localDispatch, edit):
3197 * insetinclude.C (localDispatch, edit):
3198 * insetindex.C (edit):
3199 * insetlabel.C (edit):
3200 * insetminipage.C (localDispatch, showInsetDialog):
3201 * insetref.C (edit):
3202 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3203 resetPos, showInsetDialog, openLayoutDialog):
3204 * insettoc.C (edit):
3205 * inseturl.C (edit):
3206 * insetwrap.C (localDispatch, showInsetDialog):
3207 changes due to the changed MailInset interface.
3209 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3211 * insetfloat.h: Set default placement to an empty string.
3213 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3215 * insettext.C (latex): adjust call to latexParagraphs.
3217 2003-03-10 Angus Leeming <leeming@lyx.org>
3219 * mailinset.C: warn the user if the BufferView has not been cached.
3221 2003-03-10 Angus Leeming <leeming@lyx.org>
3223 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3225 * insetcommand.h (inset):
3226 * insetert.h (inset):
3227 * insetexternal.h (inset):
3228 * insetfloat.h (inset):
3229 * insetgraphics.h (inset):
3230 * insetinclude.h (inset):
3231 * insetminipage.h (inset):
3232 * insettabular.h (inset):
3233 * insetwrap.h (inset):
3234 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3236 2003-03-10 Angus Leeming <leeming@lyx.org>
3238 * insetcommand.C (string2params):
3239 * insetexternal.C (string2params):
3240 * insetfloat.C (string2params):
3241 * insetgraphics.C (string2params):
3242 * insetinclude.C (string2params):
3243 * insetminipage.C (string2params):
3244 * insettabular.C (string2params):
3245 * insetwrap.C (string2params): cure warning message about missing
3248 2003-03-09 Angus Leeming <leeming@lyx.org>
3250 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3251 it to communicate with the frontend dialogs.
3253 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3254 contents of this inset!
3256 2003-03-07 Angus Leeming <leeming@lyx.org>
3258 * inseterror.C (localDispatch): new method; calls edit() on
3261 2003-03-07 Angus Leeming <leeming@lyx.org>
3263 * insetbibitem.C (localDispatch):
3264 * insetbibtex.C (localDispatch):
3265 * insetlabel.C (localDispatch):
3266 rewrite as a switch.
3268 2003-03-07 Angus Leeming <leeming@lyx.org>
3270 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3271 it to communicate with the frontend dialogs.
3273 2003-03-07 Angus Leeming <leeming@lyx.org>
3275 * insetexternal.C: remove operator== and operator!= for
3276 InsetExternal::Params. They were used only by the old controller
3279 2003-03-07 Angus Leeming <leeming@lyx.org>
3281 * insetcommand.C (localDispatch):
3282 * insetexternal.C (localDispatch):
3283 * insetfloat.C (localDispatch):
3284 * insetinclude.C (localDispatch):
3285 * insetminipage.C (localDispatch):
3286 * insetwrap.C (localDispatch):
3287 add LFUN_INSET_DIALOG_UPDATE to the switch.
3289 2003-03-07 Angus Leeming <leeming@lyx.org>
3291 * insetcommand.C (string2params):
3292 * insetexternal.C (string2params):
3293 * insetfloat.C (string2params):
3294 * insetinclude.C (string2params):
3295 * insetwrap.C (string2params): use LyXLeX more.
3298 * insetexternal.[Ch]:
3300 * insetinclude.[Ch]:
3301 * insetwrap.[Ch]: change Mailer::name_ to be static.
3303 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3304 it to communicate with the frontend dialogs.
3306 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3309 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3311 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3313 * insettext.C (updateLocal): un-const function
3314 (updateLocal): adjust
3315 (collapseParagraphs): un-const function
3316 (collapseParagraphs): adjust
3318 2003-03-05 Angus Leeming <leeming@lyx.org>
3320 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3321 it to communicate with the frontend dialogs.
3323 2003-03-05 Angus Leeming <leeming@lyx.org>
3325 * insetcollapsable.C (draw): cache the BufferView.
3327 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3328 it to communicate with the frontend dialogs.
3330 2003-03-05 Angus Leeming <leeming@lyx.org>
3332 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3335 2003-03-05 Angus Leeming <leeming@lyx.org>
3337 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3339 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3340 it to communicate with the frontend dialogs.
3342 2003-03-05 Angus Leeming <leeming@lyx.org>
3344 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3345 it to communicate with the frontend dialogs.
3347 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3349 * insettext.C (collapseParagraphs): adjust
3350 (appendParagraphs): make it take a Buffer* instead of a
3351 BufferParams& as arg.
3352 (appendParagraphs): adjust
3354 2003-03-04 Angus Leeming <leeming@lyx.org>
3356 * insetbibitem.C (localDispatch):
3357 * insetbibtex.C (localDispatch):
3358 * insetcommand.C (localDispatch):
3359 * insetert.C (localDispatch):
3360 * insetlabel.C (localDispatch):
3361 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3363 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3365 * insettext.C (latex): adjust for ParagraphList::iterator
3367 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3369 * insetbutton.C (view): adjust for boost 1.30.0
3370 * insetcollapsable.C (view): ditto
3371 * insetgraphics.C (statusChanged): ditto
3373 * insettext.h: move paragraphs to be public.
3375 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3377 * insetnote.[Ch] (InsetNote): remove unused constructor
3379 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3381 * insetgraphics.C: added include "format.h"
3383 2003-02-27 Angus Leeming <leeming@lyx.org>
3385 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3388 2003-02-27 Angus Leeming <leeming@lyx.org>
3390 * insetbibitem.C (localDispatch):
3391 * insetbibtex.C (localDispatch):
3394 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3396 2003-02-26 Angus Leeming <leeming@lyx.org>
3398 * insetbibitem.[Ch] (localDispatch):
3399 * insetbibtex.[Ch] (localDispatch):
3400 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3402 * insetcommand.C (localDispatch):
3403 act only on receipt of LFUN_XYZ_APPLY.
3405 * insetert.C (localDispatch): reformat.
3406 add LFUN_XYZ_APPLY to the switch.
3408 2003-02-26 John Levon <levon@movementarian.org>
3410 * insettext.C: use RowPainter
3412 * inset.h: make helpers take const *
3414 2003-02-26 Angus Leeming <leeming@lyx.org>
3416 * insetcommand.[Ch] (localDispatch): new method.
3418 2003-02-26 Angus Leeming <leeming@lyx.org>
3420 * insetinclude.C (draw): cache the BufferView* using cache not
3421 PreviewImpl::setView
3423 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3425 * insetgraphics.C (draw)
3426 * insetinclude.C (draw): Eliminate also the other argument (owner
3427 inset inset) in the call to PreviewImage::image
3429 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3431 * insetgraphics.C (draw)
3432 * insetinclude.C (draw): Eliminate Buferview argument in call to
3435 2003-02-25 John Levon <levon@movementarian.org>
3437 * insetgraphicsParams.h:
3438 * insetgraphics.C: don't start a load process if
3439 the inset is set to NoDisplay (bug #920)
3441 2003-02-22 John Levon <levon@movementarian.org>
3444 * insetwrap.C: TocItem changed API (bug 913)
3446 2003-02-21 Angus Leeming <leeming@lyx.org>
3448 * insetcollapsable.[Ch] (cache, edit):
3449 * insetbutton.[Ch] (cache, edit): new methods to cache the
3450 BufferView in the draw method.
3452 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3453 simplify comunication between InsetCommand-derived classes and
3456 * insetbibitem.[Ch]:
3460 * insetfloatlist.[Ch]:
3464 * inseturl.[Ch]: small changes to reflect the new interface to the
3467 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3468 other, similar classes.
3470 * Makefile.am: add new files.
3472 2003-02-21 Angus Leeming <leeming@lyx.org>
3474 * updatableinset.h (setView, view): remove.
3475 * inset.h (view, cache): to be replaced by these.
3477 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3480 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3483 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3485 2003-02-21 Allan Rae <rae@lyx.org>
3487 * insetinclude.C (loadIfNeeded): ensure loading also works when
3488 child document is under version control.
3490 2003-02-17 André Pönitz <poenitz@gmx.net>
3492 * insetbib.[Ch]: Adjust access to bibkeys
3494 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3496 * insetquotes.C (dispString): remove use of acute accent for "'"
3499 2003-02-14 John Levon <levon@movementarian.org>
3501 * insettabular.C: changed method names in tabular.C
3503 2003-02-14 John Levon <levon@movementarian.org>
3507 * insetcollapsable.h:
3508 * insetcollapsable.C:
3512 * insettext.C: remove unused getParFromID()
3514 2003-02-13 John Levon <levon@movementarian.org>
3517 * insettext.C: remove unused beginningofMainBody()
3519 2003-02-08 John Levon <levon@movementarian.org>
3523 * insetcollapsable.h:
3524 * insetcollapsable.C:
3529 add nextChange(). Make allowSpellcheck() const. Add markErased().
3531 * insetert.C: ignore deleted text
3533 * insettabular.C: make sure to keep change tracking working
3536 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3541 * insettext.C: Use error messages with identical spelling and punctuation
3543 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3545 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3547 2002-12-17 Juergen Vigna <jug@lyx.org>
3549 * insettext.C (localDispatch): hopefully fixed cursor up down
3550 movement on leaving other insets.
3552 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3554 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3557 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3559 * insetgraphics.C (prepareFile): do not remove the extension of
3560 the file name if it is not the default extension for the given
3561 format (that is, in latex output, remove extension from foo.eps,
3562 but not from foo.epsi)
3564 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3566 * insettext.C (lfunMouseRelease): hackish solution to the "double
3569 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3571 * insetfloat.C (addToToc): use the floats name not its type
3572 * insetwrap.C (addToToc): ditto
3574 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3576 * insetnote.C (init): make label font smaller
3578 2002-12-04 John Levon <levon@movementarian.org>
3580 * insetinclude.C: ressurect setting of command name
3582 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3584 * insetquotes.C (dispString): disambiguate insert call
3586 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3588 * several files: ws changes
3590 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3592 * insetquotes.C (dispString): use string::insert for prepending a
3595 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3597 * insetparent.C (getScreenLabel): use boost::format
3599 * insetgraphics.C (prepareFile): use boost::format
3602 * insetfloatlist.C (latex): use boost::format
3604 * insetcaption.C (draw): use boost::format
3606 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3608 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3611 2002-11-20 Juergen Vigna <jug@sad.it>
3613 * insettabular.C (resetPos): temporary fix for endless loop in
3614 this function on a redraw.
3616 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3618 * insettabular.C (copySelection): STRCONV
3620 * insetinclude.C (uniqueID): STRCONV
3621 (latexString): ditto
3623 * insetgraphics.C: put VersionNumber inside anon namespace
3624 (createLatexOptions): STRCONV
3626 * insetcommandparams.C: include config.h
3628 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3630 * insetgraphicsParams.C (Write): use lyx::float_equal.
3631 Write height data correctly.
3632 (Read): zero scale when reading height data.
3634 2002-10-30 John Levon <levon@movementarian.org>
3636 * insetfloat.C (addToTOC): recursively traverse all
3637 contents looking for captions (fix #568)
3639 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3641 * insetexternal.C (doSubstitution): do not try to replace
3642 environment variables, this is done when executing the command
3644 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3646 * insetexternal.C (doSubstitution): change order of substitution
3647 to work around ReplaceEnvironmentPath brokenness
3649 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3651 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3653 * insetgraphicsParams.C (init, Write): associated changes
3654 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3655 InsetGraphicsParams::scale.
3657 2002-10-21 John Levon <levon@movementarian.org>
3659 * inset.h: remove unused DISPATCH_RESULT
3661 * insettext.C: sgml open/close tag now in sgml namespace
3663 2002-10-21 Angus Leeming <leeming@lyx.org>
3665 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3666 file path subdir/fig.eps when pasting it into a buffer in a different
3669 2002-10-16 John Levon <levon@movementarian.org>
3671 * insetspecialchar.C: remove \\protected_separator parsing
3673 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3675 * insetquote.C: fix LaTeX output of quotation marks.
3677 2002-10-14 Juergen Vigna <jug@sad.it>
3679 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3680 Backspace functions which confused the Undo handling.
3682 2002-10-09 Angus Leeming <leeming@lyx.org>
3684 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3685 BufferView::dispatch that turns off this optimisation when a new inset
3688 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3689 reload the BibTeX keys.
3691 2002-10-11 André Pönitz <poenitz@gmx.net>
3693 * insettext.h: handle LFUN_PRIOR/NEXT
3695 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3697 * insetfloat.C: fix bug with float settings
3698 (document default != float default).
3700 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3702 * insetwrap.C (addToToc): New method.
3703 (InsetWrap): Set layout to caption.
3705 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3707 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3709 2002-09-16 John Levon <levon@movementarian.org>
3711 * insettabular.h: hasSelection() needs to be public
3713 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3715 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3717 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3719 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3721 2002-09-11 André Pönitz <poenitz@gmx.net>
3723 * insettabular.C: implement LFUN_WORDSEL
3725 2002-09-10 John Levon <levon@movementarian.org>
3727 * insetinclude.h: remove unused param
3729 2002-09-09 John Levon <levon@movementarian.org>
3732 * insetinclude.C: remove noload, default to input
3734 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3736 * insetgraphics.C: disfuscated use of ']' in built output string.
3738 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3740 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3742 2002-08-29 Juergen Vigna <jug@sad.it>
3744 * insettabular.C (lfunMousePress): Pay attention where you set
3745 the x/y values as they depend on which inset in the tabular is
3746 actually locked. So you surely have to reset them if you (un)lock
3749 2002-08-29 André Pönitz <poenitz@gmx.net>
3751 * insetfootlike.h: rename include guard to ALL CAPS
3753 * insettext.C: swap object and first parameter for checkInsetHit calls
3754 as this functions has moved from BufferView to LyXText
3757 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3759 * insetgraphicsParams.C: remove local displayTranslator and use
3760 the one from graphics/GraphicsTypes.h.
3762 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3764 * insetfloat.C (wide): add BufferParams parameter
3766 * insetfloatlist.C (read):
3769 * insetfloat.C (latex):
3771 * insetcaption.C (draw): use LyXTextClass::floats()
3773 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3775 * insetoptarg.h: add std:: qualifier.
3777 2002-08-26 Juergen Vigna <jug@sad.it>
3779 * insettext.C (localDispatch): ditto.
3781 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3783 2002-08-25 John Levon <levon@movementarian.org>
3785 * inseturl.C: elide long URLs (bug 404)
3787 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3789 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3790 remove "Format Version <version_no.>" string from inset header
3793 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3795 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3796 a member of "grfx::Params" anymore.
3798 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3800 2002-08-24 John Levon <levon@movementarian.org>
3803 * insetoptarg.C: ws, pedantry ...
3805 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3807 * insettext.C (collapseParagraphs): pasteParagraph now in global
3809 (appendParagraphs): ditto
3811 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3813 * insetcite.C (latex): Remove spaces only after commmas.
3815 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3817 * insettext.C: remove NO_COMPABILITY stuff
3819 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3821 * insettext.C (edit): use ParagraphList iterators
3823 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3824 (bibitemWidest): ditto
3826 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3828 * insettext.C: include <boost/bind.hpp>
3829 add using std::for_each
3830 (saveLyXTextState): use ParagraphsList::iterator
3831 (init): use for_each on paragraphlist iterators
3832 (InsetText): remove superflous setting cached_bview to 0
3833 (latex): reformat a bit
3834 (ascii): use paragraphlist iterators
3835 (validate): use for_each + boost bind
3836 (getLabelList): use paragraphlist iterators
3837 (deleteLyXText): use for_each + boost::bind
3838 (resizeLyXText): ditto
3839 (reinitLyXText): ditto
3840 (removeNewlines): use paragraphlist iterators
3841 (getParFromID): ditto
3842 (paragraph): use for_each + boost::bind
3843 (getInsetFromID): use paragraphlist iterators
3844 (getLabelList): typo fix
3846 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3848 * insettext.C (read): assign tmp to paragraphs after return from
3849 call to parseSingleLyXformat2Token
3852 2002-08-13 Angus Leeming <leeming@lyx.org>
3871 changes due to the changed LyXView interface that now returns references
3872 to member variables not pointers.
3874 2002-08-13 Angus Leeming <leeming@lyx.org>
3877 * insetcollapsable.h:
3880 * insettext.h: forward-declare WordLangTuple
3881 (selectNextWordToSpellcheck) constify return type.
3884 * insetcollapsable.C:
3887 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3889 2002-08-12 Angus Leeming <leeming@lyx.org>
3891 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3893 2002-08-12 Juergen Vigna <jug@sad.it>
3895 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3898 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3900 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3901 (bibitemWidest): ditto
3902 * insettext.[Ch]: ditto
3904 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3906 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3908 2002-08-09 Angus Leeming <leeming@lyx.org>
3910 * insetinclude.C (latexString): remove fudge now that I've found out
3911 how to enable LaTeX to find the file using input@path.
3913 2002-08-09 John Levon <levon@movementarian.org>
3916 * insettext.C: remove unused xpos
3918 2002-08-07 Juergen Vigna <jug@lyx.org>
3920 * insettabular.C (localDispatch): make delete not put the stuff
3921 in the clipboard only do this on a cut operation.
3923 * insettext.C (localDispatch): make delete and backspace not put
3924 selected stuff to the clipboard.
3926 2002-08-07 André Pönitz <poenitz@gmx.net>
3929 * insetcollapsable.[Ch]:
3933 * insettabular.[Ch]:
3934 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3936 2002-08-06 John Levon <levon@movementarian.org>
3940 * insetcollapsable.h:
3941 * insetcollapsable.C:
3947 * insettext.C: use WordLangTuple for spellcheck
3949 2002-08-06 Angus Leeming <leeming@lyx.org>
3951 * insetinclude.C: add a monitor to the previewed image, so that the
3952 image is refreshed if the \input-ed file changes.
3954 2002-08-04 John Levon <levon@movementarian.org>
3957 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3959 2002-08-02 Angus Leeming <leeming@lyx.org>
3961 * insetcommandparams.[Ch] (preview): new methods returning and setting
3962 a new bool preview_ flag.
3963 (read): read this flag.
3964 (operator==): add flag to check.
3966 * insetinclude.C (write): output new preview() flag.
3967 (previewWanted): use this flag.
3969 2002-08-02 Angus Leeming <leeming@lyx.org>
3971 * insetcollapsable.[Ch] (addPreview):
3972 * insettabular.[Ch] (addPreview):
3973 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3974 for insets in insets.
3976 2002-08-02 Angus Leeming <leeming@lyx.org>
3978 * insetcite.C: fix typo.
3980 * insetgraphics.C: kill current_view and instead cache the BufferView
3983 * insetinclude.C: kill current_view and pass the BufferView to the
3984 PreviewedInset so that it can cache it.
3986 2002-08-01 Angus Leeming <leeming@lyx.org>
3988 * inset.h (generatePreview): renamed as addPreview.
3989 (generatePreview): new method. Allows code to be moved out of
3990 math_nestinset.C and into the new PreviewedInset class.
3992 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3993 add previews to the inset when \input-ing LaTeX.
3995 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3997 * several files: strip,frontStrip -> trim,ltrim,rtrim
3999 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4001 * insetbib.C (latex): modify because of strip changes
4003 * insetnote.C (InsetNote): ditto
4005 2002-07-26 Juergen Vigna <jug@sad.it>
4007 * insettabular.C (searchForward): check for lastcell if we
4008 had a locking inset.
4010 2002-07-25 Juergen Vigna <jug@sad.it>
4012 * insettabular.C (insetMotionNotify): Don't update the screen
4013 if we didn't do nothing.
4014 (searchForward): last cell was not checked.
4016 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4018 * insetfloat.C (read, write): Allow default placement
4019 (floatPlacement_ is empty).
4021 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4023 * insetminipage.h (noFontChange):
4024 * insettabular.h (noFontChange):
4025 * insetfootlike.h (noFontChange):
4026 * insetfloat.h (noFontChange): return true
4028 * inset.h (noFontChange): new method, defaulting to false
4030 2002-07-22 Herbert Voss <voss@lyx.org>
4032 * insetgraphicsParams.[Ch]: support size_type for old docs
4034 2002-07-22 Herbert Voss <voss@lyx.org>
4037 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4040 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4042 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4044 * insetlatexaccent.h: do not include "lyxlex.h"
4046 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4049 * insetlatexaccent.C:
4053 * insetbib.C: #include "lyxlex.h"
4059 * insettext.C: use BufferParams::getLyXTextClass
4062 * insetfloat.C (addToToc): new method. Add to toclist the entries
4063 corresponding to Caption layouts
4064 (InsetFloat): when creating a new float, set the layout to "Caption"
4066 2002-07-21 Herbert Voss <voss@lyx.org>
4068 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4069 image relevant part into graphics/GraphicsImgae.C
4071 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4073 * insettoc.C (ascii):
4074 * insetfloatlist.C (ascii): change to use the new Toc functions
4075 instead of stuff that was in Buffer
4077 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4079 * insettext.C (localDispatch): BufferView::Dispatch has been
4080 renamed to BufferView::dispatch
4082 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4084 * insetgraphicsParams.C (as_grfxParams): use the new
4085 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4086 1.2.0 patch, and I do not really know how to adapt it to the new
4087 grfx::Cache world. Angus, please could you have a look?
4089 2002-05-01 Herbert Voss <voss@lyx.org>
4091 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4093 2002-07-18 Angus Leeming <leeming@lyx.org>
4095 * insetgraphics.C: clean-up comments (from Herbert).
4096 add a new checksum variable to the cache. Use it in PrepareFile.
4097 (draw): start monitoring the file for a change.
4098 (prepareFile): re-arrange a little to avoid unnecessary steps.
4100 2002-07-17 Angus Leeming <leeming@lyx.org>
4102 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4103 a method rather than to the signal directly.
4105 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4107 * insettext.C: use view_state_changed, switchKeyMap
4109 2002-07-17 Herbert Voss <voss@perce.de>
4111 * insetgraphics.C (prepareFile): keep the extension when
4112 exporting to nice file
4114 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4116 * insetcite.C (getNatbibLabel):
4117 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4119 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4121 * insetgraphics.C: use ->isDrawable()
4123 2002-07-12 Angus Leeming <leeming@lyx.org>
4125 * insetgraphics.C: use the new smart loading capabilities of the image
4128 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4130 * insettabular.C (edit): Move into correct cell when entering a
4133 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4136 2002-07-05 Angus Leeming <leeming@lyx.org>
4138 * inset.h (generatePreview): new virtual method.
4140 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4142 * insetcommandparams.[Ch] (operator=): move out of class
4143 (operator!): move out of class
4145 2002-07-04 André Pönitz <poenitz@gmx.net>
4147 * insetcommandparams.[Ch]: new files
4149 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4151 2002-06-15 Herbert Voss <voss@perce.de>
4153 * insetgraphics.C (prepareFile): bugfix; return always
4154 files without extension
4156 2002-06-28 Angus Leeming <leeming@lyx.org>
4158 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4159 rename asGParams -> as_grfxParams.
4161 * insetgraphics.C: reflect above change.
4163 2002-06-26 Angus Leeming <leeming@lyx.org>
4165 * insetgraphics.h: use boost::scoped_ptr in preference to
4168 2002-06-26 Angus Leeming <leeming@lyx.org>
4170 * insetgraphics.C: moved the image loading stuff into a new class
4171 grfx::Loader. Simplifies this file enormously.
4173 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4175 * insetgraphicsParams.C: changes aassociated with moving
4176 grfx::DisplayType out of grfx::GParams.
4178 2002-06-26 André Pönitz <poenitz@gmx.net>
4180 * insetgraphics.C: use os::external_path where necesaary according to a
4181 patch from Claus Hentschel)
4183 2002-06-25 Angus Leeming <leeming@lyx.org>
4185 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4186 generating a pixmap once the graphics file is loaded into memory.
4187 The current_view ugliness that was in grfx::ModifiedImage has been
4188 moved here now that grfx::ModifiedImage is no more.
4190 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4192 * insettext.C: layout as layout
4194 2002-05-28 André Pönitz <poenitz@gmx.net>
4196 * insetfloatlist.h: remove source of compiler warning
4198 * insetref.C: tiny whitespace
4200 2002-06-15 Herbert Voss <voss@perce.de>
4202 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4203 and take always convert when no userdefined converter was
4205 (latex) small changes in the lyxerr output
4207 2002-06-15 LyX Development team <lyx@rilke>
4209 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4210 mixed content. Small white spaces clean.
4212 2002-06-14 Angus Leeming <leeming@lyx.org>
4214 * inseetexternal.C: remove the using std::difftime declaration.
4216 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4218 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4220 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4222 * insetquotes.C (draw): fix drawing of double quotes
4224 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4226 * insettabular.C: s/scrollCB/scrollDocView/
4228 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4230 * insettext.C: change of topCursorVisible()
4233 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4236 * insettext.C: rename/change of LyXScreen
4238 2002-06-07 Angus Leeming <leeming@lyx.org>
4240 Fixes needed to compile with Compaq cxx 6.5.
4242 all c-library variables have been moved into namespace std.
4243 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4245 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4247 * insetinclude.C (uniqueID):
4248 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4249 conflicted with some AIX headers.
4251 2002-05-31 Juergen Vigna <jug@sad.it>
4253 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4257 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4259 * insetexternal.C (clone): fix () bug when using new
4260 (updateExternal): don't only look for difftime in global scope
4262 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4264 * insettabular.C: add const
4266 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4268 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4269 file name, in case there are weird characters like ',' in there.
4272 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4274 * switch from SigC signals to boost::signals.
4276 2002-05-28 André Pönitz <poenitz@gmx.net>
4278 * insets/insetgraphicsParams.[Ch]:
4279 put in inset related stuff from src/graphic
4281 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4289 * insetcollapsable.C:
4290 * insetcollapsable.h:
4318 * inseturl.h: use mouse_state. Kill insetKeyPress
4320 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4325 * insetcollapsable.C:
4328 * insetlatexaccent.C:
4330 * insetspecialchar.C:
4332 * insettext.C: name change for font metrics
4334 2002-05-24 Juergen Vigna <jug@sad.it>
4336 * insetgraphics.h: include inset.h first (for LString.h)
4338 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4340 * insettext.C: screen moved
4342 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4360 * inseturl.C: LyXView moved into frontends/
4362 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4367 * insetcollapsable.C:
4371 * insetgraphicsParams.C:
4372 * insetlatexaccent.C:
4374 * insetspecialchar.C:
4376 * insettext.C: move Painter to frontends/
4378 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4380 * insettabular.h: use more specific smart_ptr header.
4381 * insettext.h: ditto
4383 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4386 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4388 * insettext.C: clear selection on paste (bug 393)
4390 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4392 * insettext.C (latex): Honor the moving_arg argument.
4394 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4396 * insetfoot.C (latex): if a footnote is in a title layout, then it
4397 is a \thanks. And then, its contents is a moving argument.
4399 2002-05-14 Juergen Vigna <jug@sad.it>
4401 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4404 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4406 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4407 when using options "Full author list" or "Upper case".
4409 2002-05-14 Herbert Voss <voss@perce.de>
4411 * insetgraphics.C (prepareFile): allow files with same name
4413 (readFigInset): set the flags from old figinset in the right
4415 (findTargetFormat): more comments
4417 2002-05-14 Juergen Vigna <jug@sad.it>
4419 * insettext.C (edit): tell checkAndActivateInset() that we don't
4420 have a button press.
4421 (checkAndActivateInset): if button < 0 we don't have a button press
4422 on the inset and os we won't call edit on it if it's not a Highly
4423 editable inset (then we have to enter it).
4425 2002-05-13 Juergen Vigna <jug@sad.it>
4427 * insetcollapsable.C (insetButtonRelease): returned wrong return
4430 2002-05-09 Juergen Vigna <jug@sad.it>
4432 * insetcollapsable.C (edit): first_after_edit should only be
4433 set to true if we enter this inset and it was collapsed so we
4434 open it up. This is needed to reclose it after a search/replace
4435 or spellcheck function opened it and was negative.
4437 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4439 * insetfloat.C (latex): Return correct value.
4441 2002-05-04 Herbert Voss <voss@perce.de>
4443 * InsetgraphicsParams.C (read): fix bug with WH
4445 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4447 * insetfloat.C (latex): More sensible latex output
4448 (fix the problem with endfloat).
4450 2002-05-02 José Matos <jamatos@fep.up.pt>
4452 * insetgraphics.C (validate): acess params as everyone else.
4454 2002-05-03 Juergen Vigna <jug@sad.it>
4456 * insettabular.C (fitInsetCursor): recalculate the cursor position
4459 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4461 * InsetgraphicsParams.[Ch]: whitespace.
4463 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4465 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4466 float type do not exist.
4468 2002-04-28 Herbert Voss <voss@perce.de>
4470 * insetgraphics.C (latex): fix bug with missing file-extension.
4471 LaTeX still allows a missing "eps" or "ps".
4473 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4475 * insetfloat.C (c-tor, wide): translate the name of the float.
4477 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4479 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4480 when using natbib and make it work efficiently. Must emphasise that the
4481 real work is Herbert's.
4483 2002-04-23 Herbert Voss <voss@perce.de>
4485 * insetgraphic.C (prepareFile): fix bug with overwriting and
4486 deleting an existing *.eps-file in the doc-dir
4488 2002-04-23 Juergen Vigna <jug@sad.it>
4490 * insettabular.C (drawCellSelection): fix off by 1 error.
4492 2002-04-22 Juergen Vigna <jug@sad.it>
4494 * insettabular.C (setFont): rewoke full selection if it was asked,
4495 after we changed all we had to change.
4497 * insettext.C (insetUnlock): code was uninitialized in some situations.
4499 2002-04-19 Herbert Voss <voss@perce.de>
4501 * insetgraphic.C (prepareFile): return filename without
4502 extension if we only export without compiling
4504 2002-04-19 Juergen Vigna <jug@sad.it>
4506 * insettext.C (draw): call a fullRebreak on the row where we had a
4507 change and reset the cursor and selection-cursors.
4509 * insettabular.C (insetUnlock):
4510 (insetButtonPress): call an update before setting the_locking_inset = 0
4511 as otherwise we don't repaint!
4512 (update): reset the cursor position when we changed dimensions as
4513 otherwise our cursor may be on the wrong spot.
4515 2002-04-18 Juergen Vigna <jug@sad.it>
4517 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4518 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4519 redraw otherwise we won't redraw.
4521 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4522 not really right before, but I only discovered this with the last
4523 changes to Page up/down.
4525 2002-04-17 Juergen Vigna <jug@sad.it>
4527 * insettext.C (checkAndActivateInset): simplified as we now have the
4528 edit(bv, bool) call.
4530 * insettext.h: changed behind variables to front variables to be
4531 equal to the one in the edit call (as it is for that they are used).
4533 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4535 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4536 not output anything at all!
4538 2002-04-16 Juergen Vigna <jug@sad.it>
4540 * insettabular.C (insetButtonPress):
4541 (insetUnlock): call a redraw on unlocking the cell inset.
4543 * insettext.C (insetButtonPress): same as below.
4544 (lockInset): new function to set initial values when inset should
4546 (insetButtonPress): use above function.
4547 (insetUnlock): don't force a repaint only set the updateStatus. The
4548 outside world should repaint if it thinks it should be done!
4550 * insettabular.C (insetButtonPress): init values if not set as locked
4551 as we are locked if someone presses on us and don't call the edit()
4552 call of the InsetText to lock it do it as BufferView does it!
4554 * inset.h (insetInInsetY): make func const and return an int.
4557 * insetcollapsable.C: adapt the above changed function.
4559 2002-04-15 Juergen Vigna <jug@sad.it>
4561 * insettext.C (getCursorPos): return relative position as to be able
4562 to give them directly to the edit() call.
4563 (edit): we have to set also x_fix as it is not set inside the
4564 setCursorFromCoordinates call!
4565 (insetMotionNotify): ditto.
4567 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4569 * insetbib.C (getKeys): strip leading '\t's from the line too.
4570 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4572 2002-04-12 Juergen Vigna <jug@sad.it>
4574 * insettext.h: added cix() helper function and use it where appropriate
4576 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4578 * insetgraphics.C (prepareFile): fix bug when graphics is a
4581 2002-04-12 Juergen Vigna <jug@sad.it>
4583 * insettext.C (insertInset): remove unneeded code!
4584 (updateLocal): fitCursor() fixes.
4585 (collapseParagraphs): fix a possible problem when having a selection
4586 and collapsing the paragraphs.
4588 2002-04-08 Herbert Voss <voss@perce.de>
4590 * insetgraphic.C (write): write the rotating angle as
4591 a float as is. test only for != 0.0
4593 2002-04-11 Juergen Vigna <jug@sad.it>
4595 * insettext.C: new function ciy() and use it for setting inset_y.
4597 * insetert.C (draw): fix the x return for collapsed version.
4599 2002-04-07 Herbert Voss <voss@perce.de>
4601 * insetgraphic.C (readFigInset): fix bug with subcaption and
4604 2002-04-08 Herbert Voss <voss@lyx.org>
4606 * insetgraphicsparam.C: forgot special option and delete old
4609 2002-04-05 Juergen Vigna <jug@sad.it>
4611 * insettext.C (localDispatch): make a CURSOR update if we inserted
4614 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4616 * insetfloatlist.C (getScreenLabel):
4617 (latex): use Floating::listName
4618 (validate): new method
4620 2002-04-03 José Matos <jamatos@fep.up.pt>
4622 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4624 * insetfoot.[Ch] (docbook): added forgotten method.
4626 2002-04-03 Juergen Vigna <jug@sad.it>
4628 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4629 way as in Bufferview_pimpl.
4631 2002-04-03 Allan Rae <rae@lyx.org>
4633 * insetgraphics.C (latex): one % too many makes living on the bleeding
4634 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4636 2002-03-28 Herbert Voss <voss@lyx.org>
4638 * insetgraphic.C (latex): simplify the code for the latex
4639 output when the file doesn't exist
4641 2002-03-29 Juergen Vigna <jug@sad.it>
4643 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4646 * insettabular.C (edit): call fitCursor().
4648 * insettext.C (insetButtonPress): change behaviour of no_selection
4649 to the one in the BufferView selection_possible and fix the spurious
4650 selection bug with it.
4651 (localDispatch): revoke selection on BREAK... functions.
4653 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4655 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4657 2002-03-28 Juergen Vigna <jug@sad.it>
4659 * insettabular.C (insetAllowed): return true as default value otherwise
4660 we're not able to insert insets inside paragraphs of an not locked
4663 2002-03-27 Herbert Voss <voss@lyx.org>
4665 * insetgraphicsparam.C: change c%, p% to col%, page%
4667 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4669 * insetspecialchar.C (isLineSeparator): disable the nice code to
4670 allow linebreaks after hyphenation and menu separators.
4672 2002-03-26 Herbert Voss <voss@lyx.org>
4674 * insetgraphics.C (figinsetRead): set the right lyxview
4676 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4678 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4679 $\backslash$ and pass a "string const &" to the function.
4680 (prepareFile, latex): use Path rather than MakeAbsPath.
4682 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4684 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4685 proper fix to the graphics cache.
4686 (latex): "really" nice output if the file is not found ;-)
4688 2002-03-26 Juergen Vigna <jug@sad.it>
4690 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4691 (collapseParagraphs): fixed inserting of separator ' '
4693 * insettabular.C (insertAsciiString): only check for buffer lenght
4694 not if we have \t or \n inside the buffer as if we don't have we only
4695 have 1 cell and that's it!
4697 * insetert.C (close): don't collapse if inlined.
4699 2002-03-25 Herbert Voss <voss@lyx.org>
4701 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4702 graphics file does not exist.
4704 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4706 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4707 path when preparing export.
4709 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4710 no longer MakeRelPath.
4712 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4714 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4715 Used to determine the absolute path to the graphics file in the
4716 graphics cache and only in the graphics cache.
4717 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4718 make graphics file name absolute if it is stored as a relative path.
4720 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4721 make graphics file name absolute if it is stored as a relative path.
4723 * insettext.C (edit): emit an updateParagraph signal on entering a text
4724 inset. Needs to be emitted when leaving the inset also.
4726 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4728 * all files: ws cleanup
4730 * Makefile.am: remove ld -r stuff
4732 2002-03-21 Juergen Vigna <jug@sad.it>
4734 * insettext.C (appendParagraphs): new function added to append
4735 the paragraphs to this insets paragraphs.
4737 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4739 * Makefile.am: special rules if partial linking
4741 2002-03-19 Juergen Vigna <jug@sad.it>
4743 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4745 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4747 * insetgraphics.C: Clean up Baruch's comments a little.
4748 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4750 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4753 * insettheorem.C: wrap warnings
4755 * insetgraphics.C: improve messages, move cached_status_
4756 setting to safer place
4758 2002-03-18 Juergen Vigna <jug@sad.it>
4760 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4762 (localDispatch): ditto
4764 * insettext.C (edit): removed unneeded showCursor calls.
4765 (localDispatch): ditto.
4767 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4769 * insetgraphics.h: remove display() method.
4771 2002-03-11 Juergen Vigna <jug@sad.it>
4773 * insetgraphics.C (draw): hack to fix the redrawing bug.
4774 (draw): seems this fixes #268 (force redraw of row if we changed).
4776 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4777 this inset text (don't know why I missed this earlier).
4779 2002-03-08 Juergen Vigna <jug@sad.it>
4781 * insettabular.C (updateLocal): do a FULL update if we're not locked
4782 and only a CELL update is asked.
4784 * insettext.C (updateInsetInInset): update insets inside inset also
4785 if it isn't inside the_locking_inset.
4787 * insettabular.C (updateInsetInInset): ditto.
4789 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4791 * insetexternal.C (doSubstitution): check whether we are using a
4792 temp dir for defining $$FPath
4794 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4797 * insettext.C: remove #include "WorkArea.h".
4799 2002-03-06 Juergen Vigna <jug@sad.it>
4801 * insettext.C (draw): fixed frame redrawing.
4802 (clear): forgot to set the inset_owner of the paragraph.
4804 * insetert.C (status): pay attention the bv can be 0 here!
4805 (getMaxWidth): add the default leftMargin
4807 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4809 * insetert.C (getMaxWidth): make w unsigned int.
4811 2002-03-05 Juergen Vigna <jug@sad.it>
4813 * insetert.C (status): change behaviour of Inlined.
4814 (getMaxWidth): added for new inlined behaviour.
4816 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4818 * insetnote.h (linuxdoc, docbook): add empty methods.
4819 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4820 before being initialized.
4822 2002-03-05 Juergen Vigna <jug@sad.it>
4824 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4825 only that one in the inset. Should be enough.
4826 (updateLocal): set the selection cursor always if we don't have a
4827 selection to be sure it's set!
4829 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4831 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4833 * insettext.C (clear): a gross hack to set layout on a newly
4836 2002-03-04 Juergen Vigna <jug@sad.it>
4838 * insettabular.C (localDispatch): inserted handling of
4839 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4840 (insertAsciiString): new helper function.
4842 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4844 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4847 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4849 * insettext.C (InsetText): initalize newly created par with
4850 default layout. add bufferparams parameter
4853 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4854 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4855 * insetert.[Ch] (InsetERT): ditto
4856 * insetfloat.[Ch] (InsetFloat): ditto
4857 * insetfoot.[Ch] (InsetFoot): ditto
4858 * insetfootlike.[Ch] (InsetFootLike): ditto
4859 * insetmarginal.[Ch] (InsetMarginal): ditto
4860 * insetminipage.[Ch] (InsetMinipage): ditto
4861 * insetnote.[Ch] (InsetNote): ditto
4862 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4864 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4866 * insettext.C: layout as string
4868 * insetinclude.C: layout as string
4870 * insetert.C: layout as string
4872 * insetbib.C: layout as string
4874 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4877 * insettabular.C: remove #include "lyx_gui_misc.h".
4879 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4884 * inset.h: remove figinset, yahoo !
4886 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4888 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4889 copy c-tor and initialise member variables in the correct order.
4891 2002-02-28 Juergen Vigna <jug@sad.it>
4893 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4895 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4897 * inset.h: ... and add a better one here.
4899 * insetcommand.C (insetButtonRelease): remove that one which was a
4902 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4904 * insetcommand.C (insetButtonRelease): ... and move it here.
4906 * inseturl.h: remove insetButtonRelease from there...
4908 2002-02-26 Juergen Vigna <jug@sad.it>
4910 * inseturl.h: Added a insetButtonRelease call returning true as
4913 * insetlabel.C (edit): Fixed wrong update handling after change I
4914 leave in the wrong code for the one who wrote it to remove and have
4915 a look what he did wrong.
4917 * insettabular.C (localDispatch): force a SELECTION update if we
4918 had a selection and we passed the event down to the inset (fix #213)
4919 (localDispatch): handle font changing stuff when we have a cell
4920 selection so that the selection is not rewoked. I don't really like
4921 this fix, but it's the only way I see to do it right now.
4923 2002-02-22 Juergen Vigna <jug@sad.it>
4925 * insettext.C (insetUnlock): set the cursor to the second paragraph
4926 if available and if the first one is empty (fix #191).
4928 2002-02-20 Juergen Vigna <jug@sad.it>
4930 * insettext.C (getDrawFont): implemented this function to call the
4931 one of the owner if present as the owner normally knows what to do
4934 * insetert.C: implement getDrawFont() function and comment out all
4935 the crap for setting a special latex font inside this inset.
4936 (InsetERT): added a Lanugage parameter to this constructor.
4938 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4939 change the font for being drawn on screen (used only in InsetERT for
4942 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4943 and also above (was missing).
4944 (updateLocal): don't remove the cell selection if we have one this
4945 should be done where we really want to remove it.
4947 2002-02-20 José Matos <jamatos@fep.up.pt>
4949 * insetinclude.h: include_label made string const.
4951 * insetinclude.C (InsetInclude): moved include_label initialization.
4954 (validate): fix support for temporary directory, for docbook and
4957 * insetgraphics.h : new private member, graphic_label, that holds
4958 the entity name that defines the graphics location (SGML).
4960 * insetgraphics.C (unique_id): new function to give a unique label
4963 (validate): the file locatation is given by an entity reference.
4965 2002-02-18 Herbert Voss <voss@lyx.org>
4967 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4969 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4971 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4972 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4974 2002-02-18 José Matos <jamatos@fep.up.pt>
4976 * insetinclude.C (validate): some code only applies to latex buffers,
4977 it was made conditional.
4979 2002-02-12 Herbert Voss <voss@lyx.org>
4981 * insetgraphics.C: (prepareFile) do not check at this time
4982 if the file is present.
4984 2002-02-12 Herbert Voss <voss@lyx.org>
4986 * insetgraphics.C: latex(), return the correct newlines
4988 2002-02-13 José Matos <jamatos@fep.up.pt>
4990 * inseturl.C (docbook): escape & in url.
4992 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4994 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4995 after HYPHENATION and MENU_SEPARATOR
4997 * inset.h (isLineSeparator): new method, returns false by default.
4999 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5001 * insetert.C (status): do not update the text inset, but the ERT
5004 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5006 * insetnote.C: use notebg for background
5008 2002-02-08 Herbert Voss <voss@lyx.org>
5011 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5012 prevent LyX from unzipping when this should be handled
5013 by latex vis the graphic.cfg.
5016 2002-02-08 Herbert Voss <voss@lyx.org>
5018 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5019 exists, than return filename with extension
5021 2002-02-06 Herbert Voss <voss@lyx.org>
5023 * insetgraphic.C: prepareFile(): don't convert the file, when
5024 it's not viewed in LyX. Saves a lot of time when opening a
5027 2002-02-05 Herbert Voss <voss@lyx.org>
5030 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5031 and adding a rotate bool similiar to subcaption
5033 2002-02-04 Herbert Voss <voss@lyx.org>
5036 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5037 similiar view to the LaTeX one. Get zipped files work.
5039 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5041 * insetgraphicsParams.C (init): set display to DEFAULT.
5042 No longer #include "lyxrc.h".
5044 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5046 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5047 for now (so that the code compiles).
5049 2002-02-02 Herbert Voss <voss@lyx.org>
5051 * insetgraphic.C: delete inVariant() and some minor changes
5052 * insetgraphicsParams.[C]:
5054 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5056 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5057 interogate lyxrc.display_graphics before diaplaying the graphic.
5059 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5060 InsetGraphicsParams::DisplayType.
5062 2002-01-31 Herbert Voss <voss@lyx.org>
5064 * insetgraphic.C: (readfigInset) set display to pref-default
5066 2002-01-30 Herbert Voss <voss@lyx.org>
5068 * insetgraphic.C: get the filetyp from it's contents
5069 * insetgraphicparams.C: add token scale and lyxrc.display when
5070 creating a new inset
5072 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5074 * figinset.C: added using std::ios directive.
5076 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5078 * figinset.C (runqueue): open translation file in binary mode (for
5081 2002-01-27 Herbert Voss <voss@lyx.org>
5083 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5084 all options and to be sure that the old figinsets are correct
5086 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5087 structure and to support all lengths as LyXLength. The Parameter
5088 structure changed again, but reading of "old" 1.2 graphic insets
5091 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5093 * insetert.h (forceDefaultParagraphs): Added
5095 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5097 * insettabular.C (getMaxWidth):
5098 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5100 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5102 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5103 of LyXLength::inPixels
5105 * inset.C (latexTextWidth):
5106 * insetminipage.C (latexTextWidth): new method, which implements
5107 the equivalent of the LaTeX macro \textwidth
5109 * insetminipage.C (getMaxWidth): use latexTextWidth
5111 2002-01-18 Juergen Vigna <jug@sad.it>
5113 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5115 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5117 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5119 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5122 2002-01-17 Juergen Vigna <jug@sad.it>
5124 * insettabular.C (lockInsetInInset): same change as in insettext.
5126 * insettext.C (draw): width() function was called without setting
5127 the right top_x which could lead to wrong insetWidth setting!
5128 (lockInsetInInset): call edit instead of calling lockInset if we
5129 have to lock an inset inside!
5130 (edit): we have to also tell the inset that we have to redraw the
5131 frame on an edit call if this inset draws a frame only if locked.
5133 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5135 * insetbib.C (getFiles): uncomment Path variable.
5137 2002-01-16 Juergen Vigna <jug@sad.it>
5139 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5142 2002-01-16 Allan Rae <rae@lyx.org>
5144 * insetinclude.C (docbook): someone forgot a ";"
5146 2002-01-16 José Matos <jamatos@fep.up.pt>
5148 * figinset.C (docbook): removed a old place holder "@".
5149 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5150 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5151 ascii text version, clearly guarded inside a CDATA section.
5152 (docbook): in docbook 4, inlinegraphics is empty.
5153 * insettabular.C (linuxdoc): export the ascii version of the table
5154 inside a CDATA section.
5156 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5158 * insetparent.C (InsetParent):
5159 * insetgraphicsParams.C (Write):
5161 * insetgraphics.C (prepareFile):
5164 * insetexternal.C (executeCommand):
5165 (doSubstitution): use Buffer::filePath
5167 * insetbib.C (getFiles): add a #warning for Angus
5169 * insetgraphics.C: Add a remark about how filenames should be
5170 considered to be relative to buffer (but absolute is still allowed)
5171 (draw): do not try to get status if lyxrc.use_gui is false
5173 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5176 * insetcollapsable.[Ch]:
5177 * insettabular.[Ch] (searchForward, searchBackward): change the
5178 bool const & params to bool.
5180 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5181 to avoid the name clash with InsetCollapsable's methods of the same
5182 names but different functionality.
5184 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5186 * insettext.C (ascii): use lyx::count rather than countChar.
5188 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5190 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5192 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5194 * insetgraphics.C (updateInset): do not try to render image if
5195 lyxrc.use_gui is false (bug #104)
5197 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5198 if file does not exist
5200 * figinset.C (browseFile): add shortcuts to directory buttons
5202 * insettext.C (updateLocal): update menubar and toolbar here too.
5204 2002-01-13 Allan Rae <rae@lyx.org>
5206 * insettabular.C (InsetTabular): Both constructors now initialise
5207 all class variables.
5209 2002-01-11 Juergen Vigna <jug@sad.it>
5211 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5213 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5215 * insettabular.C (getStatus): add forgotten brace around multiline
5218 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5220 * insetfloat.C (validate): require "float" instead of "floats".
5222 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5224 * insettabular.C (getStatus): use FuncStatus
5226 2002-01-08 Juergen Vigna <jug@sad.it>
5228 * insettabular.C (insetButtonRelease): now this should work too
5231 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5232 if the width is a percentage.
5234 * inset.h: added isChar() function and implemented this for
5235 insetspecialchar insetquotes and insetlatexaccent.
5236 added forceDefaultParagraphs() and implemented it for insettabular.
5238 2002-01-07 Juergen Vigna <jug@sad.it>
5240 * insettext.C (getLyXText): Fixed this function. An insert into the
5241 map is only done if we REALLY have a new BufferView.
5243 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5245 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5247 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5249 * insetinclude.C: fix use of FileInfo
5251 2002-01-07 Juergen Vigna <jug@sad.it>
5253 * insettabular.C (draw): fixed clearing of cell around inset.
5255 2002-01-05 Juergen Vigna <jug@sad.it>
5257 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5258 variables are updated.
5260 * insettabular.C (resetPos): set always the inset_y as it may be
5261 needed in another function.
5262 (searchBackward): don't draw while searching.
5264 2002-01-04 Juergen Vigna <jug@sad.it>
5266 * insettext.C (lockInsetInInset): forgot to set a cursor.
5268 2002-01-02 Juergen Vigna <jug@sad.it>
5270 * insettext.C (insertInset): make the correct undo informations on
5271 inserting new insets.
5273 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5275 * insettabular.C: correct single-cell select vertically
5277 2001-12-27 Juergen Vigna <jug@sad.it>
5279 * insettabular.C (ascii): export as tab-separated-values if the
5280 function was not called from export (f.ex.: clipboard).
5282 * insetcollapsable.h: added default support for ascii, linuxdoc and
5283 docbook export (the insettext is exported by default!)
5285 * insettabular.C (copySelection): suff the clipboard with the tabular
5286 data in a tab separated format, seems more naturals then with all the
5289 2001-12-24 Juergen Vigna <jug@sad.it>
5291 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5292 to check for REAL mouseMotion.
5294 2001-12-20 Juergen Vigna <jug@sad.it>
5296 * inset.C (cursor): return the owners cursor if available instead of
5297 always only the bv->text->cursor.
5299 * insettabular.C (checkLongtableSpecial): works now.
5301 2001-12-19 Juergen Vigna <jug@sad.it>
5303 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5304 this has to be always row + 1 as 0 means not selected!
5305 (checkLongtableSpecial): added
5306 (tabularFeatures): better longtable options support
5308 * insettext.C (resizeLyXText): reinit the text always also on a
5311 2001-12-18 Juergen Vigna <jug@sad.it>
5313 * insettext.C (updateInsetInInset): look if we have to autocollapse
5314 paragraps and return if the update is requested for ourself.
5316 * insetert.C (status): update the insettext not myself as that is what
5319 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5320 function only return if the update was requested with myself.
5322 * insettext.C (insetButtonPress): fixed stupid bug.
5323 (various functions): pay attention that lt is cleared BEFORE calling
5324 updateLocal() and try to use it in the right manner (don't use it
5325 if it's not really neccessary!)
5326 (collapseParagraphs): insert a blank between collapsing paragraphs
5327 if neccessary (not already there!).
5329 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5331 * insettabular.C: move includes around a bit, add a couple of
5334 * insettext.[Ch]: move includes around a bit, other ws changes and
5337 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5339 * insettext.C (insetButtonRelease): fix compile problem
5341 2001-12-17 Juergen Vigna <jug@sad.it>
5343 * insettext.C (insetButtonPress): set the selection cursor!
5344 (insetButtonPress): clear the selection (and set with that the
5345 selection.cursor) if we only hit an inset!
5347 * insetert.C (read): removed piece of compatibility code only needed
5350 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5353 * insetcollapsable.C (insetButtonRelease): changed so that it can
5354 open eventual existing popup dialogs on mousebutton==3.
5356 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5358 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5360 * inset.C (insetButtonRelease): return a bool for telling the outer
5361 world that we opened a dialog.
5363 2001-12-07 Juergen Vigna <jug@sad.it>
5365 * insettext.C (paragraph): remove the deleteing of paragraphs as
5366 it was a WRONG move!
5368 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5371 * insettabular.C: use new setSelection(). Allow
5372 selection of single cells.
5374 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5376 * insetquotes.C (latex): fix to use the local language setting at
5377 the point where the inset is inserted (different macros for
5378 different french packages)
5380 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5382 * inset.h: add par_owner_ member variable and parOwner
5385 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5387 * insettabular.C (everywhere): adapt because widths are now real
5388 widths and not strings
5390 * insettext.C (draw): re-introduce the calls to width(), ascent()
5391 and descent() to initialize the caching variables.
5393 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5395 * insettext.C (draw):
5396 (drawFrame): use insetWidth instead of last_width
5398 * insettext.h: remove variable last_width (insetWidth is exactly
5399 the same) and last_height (computed but never used!)
5401 2001-12-10 Allan Rae <rae@lyx.org>
5403 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5405 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5407 * insettext.C (insetAllowed): add comment
5409 2001-12-05 Juergen Vigna <jug@sad.it>
5411 * insettext.C (insetAllowed): fixed for the case that we directly
5412 ask the insettext from its LyXText.
5413 (paragraph): fixed the crash when assigning the par->next() from
5414 the EmptyParagraphMechanism!
5416 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5420 * insettext.C: change "while(" to "while ("
5422 2001-12-04 Juergen Vigna <jug@sad.it>
5424 * insetert.C (edit): handle Inlined status.
5426 * insettext.C (insertInset): trying John's fix for the trailing cursor
5428 * insetert.C (insetButtonPress): added to handle inlined status
5429 (insetMotionNotify): ditto.
5431 * insettext.C (clearInset): changed Painter & in BufferView * param,
5432 to be able to call ascent,descent methods.
5434 2001-12-03 Juergen Vigna <jug@sad.it>
5436 * insettext.C (updateInsetInInset): use lt variable to forbid
5437 changes of LyXText in an update call.
5438 (updateInsetInInset): fixed updating of non locked insets!
5440 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5442 * insettabular.C: capture some more functions to prevent
5443 selection drawing problems. Bug #451274
5445 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5448 * insetgraphicsParams.C: fix inverted sense of float_equal
5450 2001-11-30 Juergen Vigna <jug@sad.it>
5452 * insettabular.C (InsetTabular): use the save_id flag to create also
5453 the tabular with the same id's.
5455 * insettext.C (setParagraphData): added a same_id function for undo
5456 to set the same paragraph id's as of the paragraph we are setting.
5458 2001-11-30 José Matos <jamatos@fep.up.pt>
5461 * insettoc.[Ch]: DocBook -> docbook.
5463 2001-11-29 André Pönitz <poenitz@gmx.net>
5466 * insettext.C: further reduction of header dependencies by using
5467 lyx::layout_type and lyx::textclass_type from support/types.h
5469 2001-11-29 Juergen Vigna <jug@sad.it>
5471 * insettext.C: inserted a reinitLyXText function everywhere I delete
5472 the paragraphs! This should fixe the crashes we had.
5473 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5474 (paragraph): set the InsetOwner() of the new paragraphs!
5476 2001-11-28 André Pönitz <poenitz@gmx.net>
5478 * insetnote.C: add pos initialization that I removed without
5481 2001-11-28 Juergen Vigna <jug@sad.it>
5483 * insettabular.C (resetPos): hack to not crash with infinite paints.
5485 * insettabular.h: insert missing function allowSpellcheck()!
5487 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5489 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5492 * insetfloatlist.C: derive from InsetCommand so gui can use it
5495 2001-11-26 André Pönitz <poenitz@gmx.net>
5499 * insetnote.C: reduce header dependencies, introduce type for
5502 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5504 * various: update for Alert.h
5506 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5508 * inset.h: fix comment
5510 * insettext.C: use par->isInset()
5512 2001-11-22 Allan Rae <rae@lyx.org>
5514 * insetcollapsable.h:
5515 * inset.h: Changes to checkInsertChar() behaviour.
5516 Now return value indicates whether chars can be inserted.
5518 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5520 * various: updated to use the new LaTeXFeatures
5522 2001-11-14 José Matos <jamatos@fep.up.pt>
5524 * insetspecialchar.C (linuxdoc):
5525 (docbook): don't give a name to a unused variable.
5527 * insettext.C (docbook): removed unused variable.
5529 2001-11-13 Herbert Voss <voss@perce.de>
5531 * insetgraphic.C: fix scale bug
5533 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5535 * inset.h (isSpace):
5536 (isLetter): new virtual methods.
5538 * insetspecialchar.C (isSpace):
5539 (isLetter): implement here.
5541 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5543 * inset.h: new inline helpers
5545 * insettext.C: use new helpers
5547 2001-11-07 José Matos <jamatos@fep.up.pt>
5549 * insettext.C (docbook): full support for paragraphs inside insettext.
5551 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5553 * insetindex.C: added header file for std::ostream.
5555 2001-11-03 José Matos <jamatos@fep.up.pt>
5557 * insetindex.C: added using std::ostream that I forgot yesterday.
5559 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5561 * insetindex.h (docbook):
5562 * insetindex.C (docbook): added support for docbook export.
5564 2001-11-02 José Matos <jamatos@fep.up.pt>
5566 * insetcaption.C(docbook): added support for docbook export.
5568 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5570 * insetexternal.C (updateExternal): Do not run update command if
5571 result file exists and is up to date.
5573 * ExternalTemplate.C (readFormat): Support the updateresult token.
5575 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5577 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5578 external_templates) to use the buffer->fileName() but only if
5579 previewing. Generating a TeX file should make FPath return
5582 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5585 * insetert.C: fix some problems
5587 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5589 * insetexternal.C (doSubstitution): Added $$FPath token
5590 to list of usable substitutions in external inset templates.
5592 2001-10-24 Juergen Vigna <jug@sad.it>
5594 * insettabular.C: use new ltType struct for setting longtable
5595 header and footers also new UNSET enums.
5597 2001-10-24 José Matos <jamatos@fep.up.pt>
5599 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5600 (docbook): If the table is not inside a float then wrap it inside
5601 <informaltable>...</informaltable>.
5603 2001-10-23 José Matos <jamatos@fep.up.pt>
5605 * insetref.C (docbook): removed / terminator to conform SGML.
5607 * insetspecialchar.C (linuxdoc):
5608 (docbook): Added support for special chars, more than ascii export.
5610 2001-10-22 Juergen Vigna <jug@sad.it>
5612 * insettext.C (checkInsertChar): added for REALLY checking the
5613 font of the inserted char in the right inset!
5615 2001-10-19 Juergen Vigna <jug@sad.it>
5617 * inset.h: added method allowSpellcheck() so that insets who do
5618 not have anything to spellcheck can tell and so they are over-jumped.
5619 Implemented for InsetText and co.
5621 2001-10-18 Juergen Vigna <jug@sad.it>
5623 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5625 2001-10-15 José Matos <jamatos@fep.up.pt>
5627 * insetert.C: allow export for docbook and linuxdoc
5629 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5631 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5633 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5635 * insetquotes.C (dispString): fix handling of latin9 quotes
5637 2001-10-03 Juergen Vigna <jug@sad.it>
5641 * insetcollapsable.C: change updateInset calls to not tell BV that
5642 we have changed status.
5644 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5646 * insettabular.C (deletable): make const
5648 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5650 * insetert.C (latex): Fix the returned value
5652 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5654 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5655 Returns string(), so nothing in an ERT inset is spellchecked.
5657 * insetgraphics.C (draw): print the filename if not displaying the
5659 (width): make sure that the width and draw methods are consistent.
5660 (updateInset): don't even load the image into cache if not displaying
5663 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5665 * various files (selectNextWord): renamed as
5666 selectNextWordToSpellcheck.
5668 * insetgraphics.C (draw): remove the previous change. Right place
5669 is in imageLoaderXPM.C.
5670 (draw): don't display the image if params.display == NONE.
5672 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5674 * figinset.C (runqueue):
5675 * insetgraphics.C (draw): set background colour of inset from
5676 background to the user-configurable graphicsbg.
5678 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5680 * insetquotes.C (InsetQuotes): when trying to decide the side of
5681 the quote, choose `left' only after a space or '('
5683 2001-09-04 José Matos <jamatos@fep.up.pt>
5688 * insetcollapsable.h
5706 * insetlatexaccent.C
5707 * insetlatexaccent.h
5712 * insetspecialchar.C
5713 * insetspecialchar.h
5717 * insettext.C (docbook): rename docBook method to docbook.
5719 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5721 * inset.h (getFirstParagraph): New virtual method.
5723 2001-08-20 Herbert Voss <voss@perce.de>
5724 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5725 in the the bibtex-database-gui for inserting a line
5728 If no style is given than there is no tex-output.
5730 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5732 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5736 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5738 * insetert.C (latex): Fix output for multiple paragraphs.
5739 (write): New code for writing paragraph data.
5740 (read): Set font after reading the inset.
5741 (localDispatch): Call set_latex_font() for more cases.
5743 * insetnote.h: Add empty validate method.
5746 * insetnote.C (InsetNote): Set language to the language of the
5749 2001-08-16 Juergen Vigna <jug@sad.it>
5751 * insettext.C: implemented the new FINISHED states.
5753 * insettabular.C: ditto
5755 * inset.h: added more FINISHED states for cursor right,up,down
5757 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5759 * insetfloatlist.C: use "FloatName List"
5761 2001-08-14 Juergen Vigna <jug@sad.it>
5763 * insetert.C (edit): forgot to set status_ in edit calls!
5765 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5767 * insettext.C: Compilation fix
5769 2001-08-13 Juergen Vigna <jug@sad.it>
5771 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5773 * insetcollapsable.C (edit): don't recollapse an already open inset.
5775 * insettext.C: fixed problem when reinitializing LyXText by not doing
5776 it while lt is in use and post this to the next possible time in
5778 (searchForward): fixed not unlocking of inset if nothing found.
5779 (edit): set cursor behind right (was set -1 pos).
5781 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5783 * insettabular.C (tabularFeatures): fixed fix where deleting the
5784 last row didn't get the right actcell!
5786 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5788 * insettext.C (localDispatch): Change language only when the inset
5791 2001-08-10 Juergen Vigna <jug@sad.it>
5793 * insettabular.C (selectNextWordInt): use the front using edit call.
5795 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5796 the parameter overwrite class variable inset.
5798 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5800 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5801 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5803 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5804 update only for fixed with cells.
5805 (resetPos): try to fix the lockup on spellchecking or s&r.
5807 * insettext.C (update): comment this out as it seems first wrong
5808 and second not needed anymore!
5809 (some functions): call reinitLyXText() only in update() in all other
5810 positions set only need_update = INIT.
5812 2001-08-08 Juergen Vigna <jug@sad.it>
5814 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5816 * insettext.C (insetUnlock): remove double-space on inset unlock.
5818 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5820 * insettabular.C (update): fixed cursor positon after an insert.
5821 (insetAllowed): do not allow to insert insets when not inside the
5823 (draw): clear below an inset too as it could have changed height.
5825 * inset.C (getMaxWidth): fixed width for inset in inset.
5827 * insettext.C (update): small fix.
5829 * insettabular.C (tabularFeatures): added selection support to
5830 DELETE_ROW/DELETE_COLUMN.
5832 2001-08-07 Juergen Vigna <jug@sad.it>
5834 * inset.C (getMaxWidth): recoded and all it's implementations!
5836 * insettext.C (init,setParagraph+constructors): cleanups
5837 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5838 are new and I want do a save/restore of the cursor position which is
5839 not possible anymore.
5841 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5842 (searchBackward): ditto
5843 (selectNextWord): ditto
5845 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5847 * insetlatexaccent.C (checkContents): Add some debug messages
5849 2001-08-07 Juergen Vigna <jug@sad.it>
5851 * insetert.C (read): don't use InsetCollapsable::read as we don't
5852 write the collapsed status anymore only the status.
5855 2001-08-06 Juergen Vigna <jug@sad.it>
5857 * insetert.C (set_latex_font): use LyXText's setFont directly.
5859 * insettext.C (drawFrame): fixed one time more the right position
5860 and size of the frame!
5862 * insetert.C (~InsetERT): hide the dialog.
5863 (showInsetDialog): added implementation
5866 (status): new function for the status of the ERT inset (3-state).
5867 (write): output also the status of the inset for readback!
5868 (read): readback the status if available otherwise use collapsed_.
5870 * insettext.C (edit): small fix of setting the position, which could
5873 * insetert.C (width): implement this function for inlined viewing.
5874 Added minimum width of 10 pixels!
5876 * insetminipage.C (InsetMinipage): just change the colors a bit so
5877 that border/background is a bit more visible. We will remove this
5880 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5881 function for getting the important widths for drawing in various
5882 functions and in LyXText.
5883 (draw): fixed up a bit (frame drawing/clearing)
5885 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5887 * inset.C (convertFont): delete method. not used.
5889 2001-08-03 Juergen Vigna <jug@sad.it>
5891 * insettext.C (setFont): don't call for a draw update if we're just
5892 changing the cursor font!
5894 2001-08-02 Juergen Vigna <jug@sad.it>
5896 * insettext.C (draw): clear the background with the right color if
5897 needed. Update myself if x&max-width changed and return without doing
5898 anything. Let the update code handle the right stuff.
5900 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5901 inside another inset.
5903 2001-08-01 Juergen Vigna <jug@sad.it>
5905 * insetcollapsable.C (update): added an in_update bool so we avoid
5908 * insettabular.C (update): added an in_update bool so we avoid
5911 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5913 (update): added an in_update bool so we avoid reentering.
5915 * insettabular.C (localDispatch): clear col/row selection when doing
5916 something else inside an inset.
5918 * insettext.C (getLyXText): fixed bug when requesting a recursive
5921 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5923 * insetcite.C (latex): Paranoia check. Make sure that there is no
5924 whitespace between the citation keys.
5926 2001-07-31 Juergen Vigna <jug@sad.it>
5928 * inset.h (nodraw): make the set function also const so that this
5929 can be called from inside other const functions.
5931 * insetcollapsable.h: removed inline variable and moved it over
5932 to the only user InsetERT.
5934 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5935 inset opening immediately therein lying insets dialogs!
5937 * insetert.C (localDispatch): set the font also if we don't have any
5938 chars in this paragraph, otherwise if we delete all of em and start
5939 writing we have the wrong font.
5941 (draw): implemented for inline support
5942 (insetButtonRelease): ditto.
5944 2001-07-30 Juergen Vigna <jug@sad.it>
5946 * insettext.C (reinitLyXText): new function to reinit the insets
5947 text after lot's of paragraph changes. Use this instead of the
5948 cache.clear() which is VERY dangerous.
5950 * insetfloat.C (insetButtonRelease): we should only show the dialog
5951 if we press on the label otherwise we have problems to open mouse
5952 button 3 dialogs inside this float (f.ex. of a tabular!)
5954 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5956 * insetert.C: change back to "ERT"
5958 * insetfloat.C: handliign of RMB on label added.
5960 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5962 * insetgraphicsParams.C: #include LOstream.h here.
5964 * insetfoot.h: remove InsetFoot:: qualifier.
5966 2001-07-29 Baruch Even <baruch@lyx.org>
5968 * ChangeLog: Hiding time travel evidence.
5970 * insetgraphicsParams.h:
5971 * insetgraphicsParams.C:
5972 * insetgraphics.C: Added horizontal scale option, it actually scales both
5973 directions since it keeps image proportions.
5975 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5977 2001-07-29 Baruch Even <baruch@lyx.org>
5979 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5980 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5982 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5984 2001-07-29 Baruch Even <baruch@lyx.org>
5986 * insetgraphics.C: Added EPSI to be an alias of EPS.
5988 2001-07-29 Baruch Even <baruch@lyx.org>
5990 * insetgraphics.C: Change GRAPHICS to Graphics.
5991 Changed image conversion rules (documented at the beginning of file).
5993 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5995 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5998 * insetgraphics.C: added a using std::endl directive.
6000 * insetcommand.h (getScreenLabel): removed pure virtual function,
6001 as it duplicates that in InsetButton.
6003 * insetbib.[Ch] (getScreenLabel):
6004 * insetbutton.[Ch] (getScreenLabel):
6005 * insetcite.[Ch] (getScreenLabel):
6006 * insetert.[Ch] (getScreenLabel):
6007 * insetexternal.[Ch] (getScreenLabel):
6008 * insetfloatlist.[Ch] (getScreenLabel):
6009 * insetinclude.[Ch] (getScreenLabel):
6010 * insetindex.[Ch] (getScreenLabel):
6011 * insetlabel.h (getScreenLabel):
6012 * insetparent.[Ch] (getScreenLabel):
6013 * insetref.[Ch] (getScreenLabel):
6014 * insettoc.[Ch] (getScreenLabel):
6015 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6017 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6019 (validate): remove check on "cite" when using natbib.
6021 2001-07-26 Baruch Even <baruch@lyx.org>
6023 * insetgraphics.C (draw): changed casting to be in one place rather than
6024 all over the function.
6027 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6029 * insetgraphicsParams.h:
6030 * insetgraphicsParams.C:
6031 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
6033 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6035 * insetfoot.C (validate): Added method to ensure that the
6036 right bit of LaTeX is emitted.
6038 * insetfoot.h: Added validate method to set the correct
6039 LaTeXFeatures bit for the special footnote code.
6041 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6043 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6046 2001-07-27 Juergen Vigna <jug@sad.it>
6048 * inset.h: remove not used font variable in parameter.
6049 removed checkInsertChar in UpdatableInset as it was equal to
6050 the one in Inset and so not needed.
6052 * insetert.C (checkInsertChar): implementation of function
6055 * inset.h: added new function checkInsertChar.
6057 * various files: added c-tor and clone() function.
6059 * insetcollapsable.h: removed clone function here as this should
6060 be only realized in REAL insets and added it to all collapsable
6061 insets! (with the copy-constructor).
6063 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6065 * insetminipage.C (read): handle missing parameters more gracefully
6067 * insetcollapsable.C (read): handel missing collapsed more gracefully
6069 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6071 * insetfloat.C (read): handle missing parameters.
6073 * insettext.C (read): handle old latex end_inset
6075 * insetert.C (setButtonLabel): new method
6076 (init): use it, to set the dynamic label correctly
6079 * Makefile.am (EXTRA_DIST): add files that is not part or the
6082 * insetcollapsable.h: remove autocollapsable (no users), remove
6083 draw_label, change_label_with_text and companion code. Remove args
6085 * insetert.[Ch]: move here instead (only user)
6087 * inset.h: rename private variable name to name_, make
6088 selectNextWord return a const string. make getInsetName return a
6089 string const &. Remove bool from open, add close.
6091 * Makefile.am: don't compile insetlist, insetsection
6094 2001-07-24 Juergen Vigna <jug@sad.it>
6096 * insetert.C (InsetERT): put init after the paragraph initialization,
6097 as otherwise we don't set the draw_label right.
6099 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6100 insets with the mouse without having strange selections.
6101 (edit): if the inset was collapsed and we open it here then put the
6102 cursor always at the beginning of the inset.
6103 (get_new_label): 15 instead of 10 max chars in the label.
6105 * insetert.C (localDispatch): added and handle various stuff we
6106 need to handle here (font setting on paragraph break, not permitted
6107 layout setting, etc.).
6109 * inset.h: added default copy-consturctor and implemented this in
6110 various insets with the change to use this in the clone function!
6112 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6114 * insetminipage.C (InsetMinipage): set background color to red :)
6116 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6118 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6119 draw frame mode is LOCKED.
6121 * insetcollapsable.C (edit):
6122 (insetButtonRelease): set update status to full when
6125 * insettext.C (clearInset):
6126 * insettabular.C (draw):
6127 * insetlatexaccent.C (draw): honor background color.
6129 * inset.h: new member background_color_, initialized to
6132 * inset.C (backgroundColor): new method.
6133 (setBackgroundColor): new method.
6135 * insetert.C (init): new method, called by the ctors.
6136 (InsetERT): when inserting contents, make sure the font is
6139 * insetnote.C (InsetNote): when inserting content, remove trailing
6141 (init): set background color to LColor::note
6143 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6145 * insetcollapsable.C: adjust
6147 * insetbutton.C: adjust
6149 2001-07-23 Juergen Vigna <jug@sad.it>
6151 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6152 parameter on the _collapsed function (was not needed) and call
6153 always width_collapsed().
6155 * insetert.C (InsetERT): use setLabel with "true" flag.
6157 * insetcollapsable.C: modified various functions to set the draw_label
6158 string right in any condition.
6159 (setLabel): added a bool parameter to set change_label_with_text.
6161 * insetcollapsable.h: added draw_label string which is set to the
6162 actual drawn label-string, while label is the original static label
6163 of this collapsable inset. Added bool change_label_with_text to set
6164 if we want that the label changes to the start of the InsetText's
6165 text when collabpsed. You can set this flag with the setLabel funciton.
6166 Added bool inlined for inlined collapsable insets, but not handled
6169 * insetcollapsable.C (get_new_label): added should get a new label
6170 from the InsetText beginning (for now 10 chars).
6172 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6174 * insetquotes.C (latex): fix the handling of french double quotes
6175 when not using the french pachage.
6177 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6179 * insetcollapsable.h: make WidthCollapsed mutable.
6181 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6182 InsetPrintIndex returns INDEX_PRINT_CODE.
6184 * inset.h: add INDEX_PRINT_CODE
6186 * insetcollapsable.C (draw): init widthCollapsed if necessary
6189 * insetquotes.C (width): use the local language, not the document
6192 (dispString): add additional spacing for all french languages,
6194 (validate): make it work when there is no default language
6196 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6198 * insetnote.C (init): new method, called by the constructors
6199 (InsetNote): new constructor with contents passed as a string
6201 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6203 * insetfootlike.C (insetAllowed): disallow float in footlike.
6205 * insetert.C (InsetERT): add collapsed argument to the constrctor
6208 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6210 * insetindex.h: shut off warning
6212 2001-07-20 Juergen Vigna <jug@sad.it>
6214 * insetcollapsable.C (update): recoded hopefully works now!
6216 2001-07-19 Juergen Vigna <jug@sad.it>
6218 * most files: implemented the below new introduced function.
6220 * inset.h: added new edit(BufferView *, bool front) method to be able
6221 to enter an inset from the front/back without knowing x/y positions
6222 and baselines inside the inset. So I just can tell the inset activate
6223 me and set the cursor on the front/back of yourself.
6225 2001-07-18 Juergen Vigna <jug@sad.it>
6227 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6228 is given to the InsetText.
6229 (insetButtonPress): ditto
6230 (insetButtonRelease): ditto
6231 (insetMotionNotify): ditto
6233 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6235 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6236 LIGATURE_BREAK, since the name is so stupid.
6238 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6240 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6241 the default InsetCollapsable methods. I.e., it can insert anything.
6242 (write) output the name of the inset, not some silly hack for
6243 compatability with the old InsetInfo.
6245 * insetinfo.[Ch]: removed.
6246 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6247 now collapsable, but functionality is otherwise identical to InsetInfo.
6249 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6251 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6253 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6256 * insetquotes.C: general cleanup
6257 (dispString): add spaces inside french double quotes.
6258 (latex): ditto. Moreover, treat first the case where the frenchb
6259 or french options have been given.
6261 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6263 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6266 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6268 * figinset.C (RegisterFigure): Print debug message only when
6269 current_view is available.
6271 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6273 * many files: update to match the change below
6275 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6276 implement the version which takes an inset here.
6278 * insetcollapsable.[Ch]: implement open and isOpen
6280 * inset.h: remove insertInsetAllowed from Inset
6281 (open): new method, to open or close an inset
6282 (isOpen): returns the status of an inset
6283 (isCollapsable, colapse): removed
6285 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6287 * insetquotes.C (dispString): display french guillemets when using
6290 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6292 * insetcollapsable.h: remove bogus return statements
6294 2001-07-18 Juergen Vigna <jug@sad.it>
6296 * insettabular.C (selectNextWord): fixed spellchecking for the
6297 first cell of a tabular (wasn't entered!)
6298 (getLyXText): changed to enter automatically insettext and return
6299 it's LyXText if we're locked.
6301 2001-07-17 Juergen Vigna <jug@sad.it>
6303 * various files: implemented the below functions.
6305 * inset.h: added functions
6306 - virtual string selectNextWord(BufferView *, float & value) const;
6307 - virtual void selectSelectedWord(BufferView *) { return; }
6308 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6309 needed for spellchecking correctly!
6311 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6313 * insetert.C (latex): write out all paragraphs.
6315 2001-07-17 Baruch Even <baruch@lyx.org>
6317 * insetgraphics.C (draw): Removed unneeded casts.
6319 2001-07-16 Juergen Vigna <jug@sad.it>
6321 * insettext.C (update): fixed small oversight (reset lt to 0).
6323 2001-07-14 Baruch Even <baruch@lyx.org>
6326 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6328 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6330 Consistent use of Lsstream.h:
6331 * figinset.C: removed using std::ostringstream directive.
6333 * insetgraphics.C (createLatexOptions):
6334 * insetinclude.C (unique_id):
6335 std::ostringstream -> ostringstream.
6336 * insettext.C (localDispatch): std::istringstream -> istringstream.
6338 2001-07-13 Juergen Vigna <jug@sad.it>
6340 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6342 * insetcollapsable.C (getLockingInset): ditto.
6344 2001-07-12 Juergen Vigna <jug@sad.it>
6346 * insetcollapsable.h: added implementation of new function for
6349 * various files: added implementation of new insertInsetAllowed-func
6350 and redone the function a bit more.
6352 * inset.h: added isCollapsable(), bool collapsed(),
6353 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6355 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6357 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6358 LyXText which is marked for removal while we're using it!
6360 * insettext.h: added private LyXText * lt to use it to assure we are
6361 not deleting our LyXText while we're using it!
6363 2001-07-11 Juergen Vigna <jug@sad.it>
6365 * insettext.C (insertInset): check if we are before the inset after
6366 inserting it! This check IS needed. Remove the Undo-Call as it is
6367 called in LyXText::insertInset!
6369 * insettext.h: added struct InnerCache.
6371 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6372 that we ONLY delete the LyXText in the getLyXText() routine. So we
6373 are sure we don't delete LyXText while someone is working with it!
6375 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6377 * insetexternal.C: (*it). -> it->
6378 * insettext.C: ditto
6380 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6382 * insetcollapsable.C (edit): always open collapsed insets (even if
6383 they are not autocollapsable)
6385 * insetcommand.C (operator=): simplify.
6387 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6389 * insetert.C (latex): handle META_NEWLINE
6391 2001-07-09 Juergen Vigna <jug@sad.it>
6393 * insetert.h: a normal InsetText can insert insets, but we won't.
6395 * inset.h: return default "false" on insertInsetAllowed and implement
6396 this function where a returnvalue != "false" is needed.
6398 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6400 * insetert.C (InsetERT): new contructor
6402 2001-07-06 Juergen Vigna <jug@sad.it>
6404 * a lot of files: added implementation of the below new functions
6405 and the change to clone(). Also the call of the new undo-functions
6408 * inset.h: added an inset_id, added functions getParFromID,
6409 getInsetFromID, firstParagraph, cursor and id functions, added
6410 bool same_ids to clone function.
6412 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6414 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6415 of BufferView * and shared_ptr<LyXText>
6417 2001-07-05 Juergen Vigna <jug@sad.it>
6419 * insettext.C (clear): deleted also the cache not only LyXText.
6420 (setParagraphData): ditto.
6422 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6424 * insetfloat.C (latex): let the specific placement take presedence
6425 if set, otherwise choose document placement if set, otherwise just
6426 use float default placement.
6428 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6430 * insettext.C (localDispatch): call CutAndPaste::'s static method
6433 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6435 * insetbib.C: no meed to include forms.h here.
6437 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6439 * insettext.C: added using std::make_pair directive.
6441 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6443 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6445 (deleteLyXText): ditto
6446 (resizeLyXText): ditto
6448 2001-07-02 Juergen Vigna <jug@sad.it>
6450 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6451 following calls are only returned the right pointer without the over
6452 head to search in the map.
6453 (various funcs): reset the cached_bview variable as this signs that
6454 the cache is not valid anymore.
6456 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6458 * insettabular.C (clone): do not copy the LyXTabular twice
6460 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6462 * insettext.h (TEXT): delete method
6464 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6466 * insetmarginal.C (latex):
6467 * insetfoot.C (latex): fix spacing of notes in LaTeX
6469 * insettext.C (localDispatch): use .c_str() on istringstream
6470 constructor argument.
6472 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6477 * inseturl.C: fix method names in these to begin
6478 with small char too, so they inherit
6480 2001-06-28 Juergen Vigna <jug@sad.it>
6482 * insettext.C (setFont): fixed font settings using toggleFree()
6483 instead of setFont().
6485 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6487 * Change a lot of method names to begin with a small char.
6488 Changes to a lot of files because of this.
6490 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6492 * insetfloatlist.C (Write): std:: qualify ostream
6495 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6499 * insetgraphics.C: send debug output to Debug::INFO instead of
6502 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6505 * insettabular.C (getStatus): update to use func_status
6507 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6509 * insetref.C (DocBook): added support for cross-references without
6512 2001-06-26 The LyX Project <jug@sad.it>
6517 * insetlabel.h: removed escape method and moved it to
6520 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6522 * insettabular.C (getMaxWidth): do the speedup in a different way,
6525 2001-06-24 The LyX Project <Asger>
6527 * insettabular.C (getMaxWidth): We cache a mapping from
6528 inset to cell in order to speed this method up.
6530 2001-06-24 The LyX Project <Asger>
6532 * insettext.C: Optimized InsetText::draw or something.
6534 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6536 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6538 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6540 * inset.h: name change from lyxinset.h
6542 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6544 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6546 2001-06-14 Juergen Vigna <jug@sad.it>
6548 * insettext.C (draw): removed warnings.
6550 2001-06-13 Juergen Vigna <jug@sad.it>
6552 * insettabular.C (nodraw): only go down the tree if we don't have
6553 that flag set otherwise it's obvious that we don't want to draw.
6554 (LocalDispatch): do also an update if we have an undispached result.
6556 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6559 * insetgraphicsParams.C:
6560 * insettext.C: removed // -*- C++ -*- as first line.
6562 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6564 * lyxinset.h (resizeLyXText): shut off warning about unused
6567 2001-06-07 Juergen Vigna <jug@sad.it>
6569 * insettext.C (resizeLyXText): honor the new force flag.
6571 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6573 * insettabular.C (deleteLyXText): new function
6575 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6583 * insetcollapsable.C:
6584 * insetcaption.C: LColor tidy
6586 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6588 * figinset.C: fix typo
6590 2001-06-01 Juergen Vigna <jug@sad.it>
6592 * insettabular.C (resetPos): small hack so that scroll is not set to
6593 0 when we are in the last column of a tabular. This is a problem we
6594 have because of constats 20 offset on both directions, so this can
6595 cause on the limit an endless loop.
6597 * insettext.C (SetFont): forgot that we can have locking insets ;)
6599 2001-05-31 Juergen Vigna <jug@sad.it>
6601 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6603 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6605 * figinset.C: add using std:: directive for the C functions which
6608 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6610 * insetfloat.C (Write): write out wide info
6611 (Read): read the wide info
6612 (Latex): use the wide info when creating latex.
6614 * insettext.C: adjust
6616 * insetgraphics.[Ch] (statusMessage): change to return string
6620 * figinset.C (runqueue): add std::
6623 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6625 * insetcite.C (Ascii): add std:: qualifier
6627 2001-05-28 Juergen Vigna <jug@sad.it>
6629 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6630 a endless-width inset (maxWidth < 0).
6631 (Edit): change language only if not equal.
6633 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6635 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6637 2001-05-16 Juergen Vigna <jug@sad.it>
6639 * insettext.C (selectAll): added
6640 (clearSelection): added
6642 * insettabular.C (SetFont): now we may set a font on a whole selection!
6643 (getSelection): added helper function.
6645 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6647 * insetcite.C (Ascii): Add method.
6649 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6652 * insetbib.C: fix path for OS/2 & Win32
6654 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6656 * insetfoot.C (Latex): don't use % after footnote.
6658 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6660 * insettext.C (Read): use clear
6661 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6663 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6665 * insetfloatlist.h: add a bunch of std:: qualifiers.
6667 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6669 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6670 FLOAT_LIST_CODE, renumber code list.
6672 * insettoc.C (getScreenLabel): remove support for float lists
6676 * insetfloatlist.[Ch]: new files
6678 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6680 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6682 * insettabular.C (LocalDispatch):
6683 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6686 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6688 * insettext.C: remvoe !NEW_INSETS cruft
6690 * insettabular.C: remove !NEW_INSETS cruft
6692 * insetcollapsable.h: remove !NEW_INSETS cruft
6694 * insetbib.C: remove !NEW_INSETS cruft
6696 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6698 * insettoc.C: hack to make listof algorithm work
6700 2001-04-20 Juergen Vigna <jug@sad.it>
6702 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6704 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6706 * insetquotes.C (Latex): improve the guard against
6707 unwanted !` and ?` ligatures. This should really be done in
6708 another place (to catch all this ligatures at low-level).
6710 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6712 * insettext.C (init): remvoe leftovers from cursor_visible change
6713 (draw): use c++ cast
6714 (LocalDispatch): dispatch LFUN_MESSAGE
6716 * insettabular.C (InsetTabular): remove leftovers from
6717 cursor_visible, and scoped_ptr changes
6718 (draw): use c++ cast
6720 * insetcollapsable.C (draw): use c++ cast
6722 * ExternalTemplate.h: inherit privaely from noncopyable
6723 * insetcommand.h: ditto
6724 * insetinclude.h: ditto
6726 2001-04-16 Allan Rae <rae@lyx.org>
6728 * insettoc.C (Ascii):
6729 * insettext.C (draw):
6730 * insettabular.C (setPos):
6731 * insetminipage.C (Read):
6732 * insetfloat.C (placement):
6733 * insetcaption.C (Ascii, DocBook):
6734 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6735 an unrecognised preprocessor directive. So ensure they're wrapped.
6737 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6740 * insetexternal.C: set view on Clone. Add _ to private members.
6742 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6744 * insettext.C (InsetText): fix new
6745 (InsetText): reindent some, simplify deletion of par list
6746 (clear): simplify deletion of par list, fix new
6747 (SetParagraphData): simplify deletion of par list
6749 * insettabular.[Ch] (getLabelList): implement new method
6751 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6753 * lyxinset.h: do not include gettext.h...
6761 * insetlatexaccent.C:
6765 * inseturl.C: ... and do it here instead
6767 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6769 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6771 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6773 * insetcollapsable.[Ch] (getLabelList): implement
6775 * insettext.[Ch] (getLabelList): implement
6777 * insettext.h: reindent
6779 * insettabular.h: make tabular a scoped_ptr
6781 * insettext.C (init): adjust for cursor_visible
6782 (ToggleInsetCursor): constify asc and desc, font, adjust for
6784 (ShowInsetCursor): constify asc and desc, font, adjust for
6786 (HideInsetCursor): adjust for cursor_visible
6788 * insettabular.C: reindent some
6789 (InsetTabular): adjust for scoped_ptr and cursor_visible
6790 (InsetTabular): ditto
6791 (~InsetTabular): delete delete
6792 (Clone): adjust for scoped_ptr
6793 (Read): constify old_format, adjust for scoped_ptr, move init of
6795 (draw): constify tx, localize loop vars.
6796 some other localization of variables, remove double initilizatons.
6798 * insetfoot.C: remove using std::ostream, add ostream where needed
6800 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6802 * lyxinset.h: some reindentaion, use initializer list for
6804 UpdatableInset: make cursor_visible a private var add
6805 public isCursorVisible(), add protected toggleCursorVisible() and
6806 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6808 * insettoc.C: remvoe using decl
6809 (getScreenLabel): make cmdname donst
6812 (Ascii): don't use endl
6814 * insetfootlike.C: remove using decl at file scope and add std::
6816 * insetmarginal.C: ditto
6818 * insetfoot.C: some reformatting
6820 * insetfloat.C (InsetButtonRelease): adjust the hit area
6822 * insetert.C (SetFont): some reformatting
6824 * insetcollapsable.C: some reformatting and constification
6825 (Clone): comment out.
6826 * insetcollapsable.h: some reformatting
6827 (Clone): comment out.
6832 2001-03-30 Juergen Vigna <jug@sad.it>
6834 * insetcollapsable.h: changen *inset to be a InsetText inset.
6836 * some files: changed to reflect the above change.
6838 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6840 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6841 InsetExternal::Params.
6842 Added operator==() and operator!=() for the Params struct.
6844 2001-03-29 Juergen Vigna <jug@sad.it>
6846 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6849 * insetminipage.C: removed widthp_ and all it's functions and changed
6850 to use new %-lengths of LyXLength.
6852 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6854 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6856 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6858 * insetgraphicsParams.C (operator!=): new function, needed by the
6859 ControlGraphics class.
6861 2001-03-28 Juergen Vigna <jug@sad.it>
6863 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6864 (checkAndActivateInset): don't use the values returned from
6865 call to bv->checkInsetHit.
6867 * insetminipage.C (Clone): set special minipage values.
6869 * insetcollapsable.C (draw): changed to draw the button in the
6870 upper left corner outside the textinset.
6871 (ascent): changed because of different drawing
6875 (InsetButtonPress): ditto
6876 (InsetButtonRelease): ditto
6877 (InsetMotionNotify): ditto
6879 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6881 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6885 2001-03-26 Juergen Vigna <jug@sad.it>
6887 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6889 * insettext.C (ShowInsetDialog): implemented above function.
6891 * insettabular.C (ShowInsetDialog): ditto
6893 * insetminipage.C (ShowInsetDialog): ditto
6895 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6897 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6898 InsetInclude::Params. Don't store a buffer * in Params. Store the
6899 master file name instead.
6901 2001-03-23 Juergen Vigna <jug@sad.it>
6903 * insetcollapsable.C (InsetMotionNotify):
6904 (InsetButtonRelease):
6905 (InsetButtonPress): fixed y-offset (minipages).
6907 * insettext.C (draw): force a FULL update if cleared == true.
6909 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6910 routine to draw the minipages on its position-flag.
6911 (InsetInInsetY): give back the right y position, because of minipage
6914 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6917 * insetfloat.C (DocBook): docbook export code.
6919 2001-03-22 Juergen Vigna <jug@sad.it>
6921 * insetminipage.C (getMaxWidth): added function to set the drawing
6923 (Read): should work now!
6925 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6926 if we create a new inset.
6928 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6930 * figinset.C (fl_set_preemptive_callback): moved definition outside
6933 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6935 * insetminipage.C (Read): prepare for reading of minipage arguments.
6937 2001-03-18 Baruch Even <baruch@lyx.org>
6939 * insetgraphics.C: Minor cleanups of the comments and code.
6941 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6943 * insetminipage.C (InsetMinipage): default to not collapsed
6945 2001-03-16 Juergen Vigna <jug@sad.it>
6947 * insetminipage.C (width): modified with to be a string
6948 (widthp): added widthp (for % width) support functions.
6949 (InsetButtonRelease): added to open the options dialog on button==3.
6950 (~InsetMinipage): added to hide the dialog.
6952 * insetminipage.h: added hideDialog signal
6954 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6956 * insetminipage.h: change the order or Position to match
6957 LyXParagraph::MINIPAGE_ALIGNMENT
6959 * several files: remvoe CXX_WORKING_NAMESPACES
6961 * ExternalTemplate.h: noncopyable is in namespace boost
6962 * insetinclude.h: ditto
6963 * insetcommand.h: ditto
6965 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6967 * insettext.C (Edit): #else# -> #else.
6968 * insettoc.C: added using directive.
6970 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6972 * insetminipage.h: add pos, inner_pos, width and height. + getters
6973 and setters for all of them.
6975 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6977 * insetinclude.C (Latex): Do not exit when the textclass of the
6978 included file differ from the textclass of the parent file.
6980 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6982 * ExternalTemplate.C (read): the reading of external insets now checks
6983 for \end_inset and removes it form the input stream.
6985 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6987 * ExternalTemplate.h:
6988 * ExternalTemplate.C:
6990 * insetexternal.C: move form to GUII
6992 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6995 * insetinclude.C: add InsetIncludeParams, use
6996 composition rather than derivation of InsetCommand
6998 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7000 * insettoc.C (Ascii): use the Buffer typedefs
7002 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7004 * insettoc.C (Ascii): implement for dynamic number of lists
7006 * insetcaption.[Ch]: update from new_insets branch
7007 * insetfloat.[Ch]: ditto
7009 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7012 * figinset.C: use new File Dialog
7014 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7016 * insettext.C: changes becuase of ParagraphParameters.
7018 2001-02-28 Baruch Even <baruch@ev-en.org>
7020 * insetgraphics.C (updateInset): Changed due to the change in
7023 2001-02-26 Juergen Vigna <jug@sad.it>
7025 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7026 handled in LyXText).
7028 2001-02-23 Juergen Vigna <jug@sad.it>
7030 * insettext.C (draw): some small repainting fixes.
7031 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7033 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7034 should be) and not an int.
7036 * insettabular.C (LocalDispatch): ditto
7038 * insettext.C (LocalDispatch): ditto
7040 * insetcollapsable.C (LocalDispatch): ditto
7042 2001-02-22 Juergen Vigna <jug@sad.it>
7044 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7045 DISPATCH it and we don't have a locking_inset.
7047 2001-02-21 Baruch Even <baruch@ev-en.org>
7049 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
7050 instead of GraphicsCacheItem *.
7052 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7054 * insetcollapsable.C (getLyXText): add const qualifier to second
7057 2001-02-22 Juergen Vigna <jug@sad.it>
7059 * insettext.C (getLyXText): honor the recursive parameter.
7060 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7062 * inset.C (getLyXText): added bool recursive parameter.
7064 * insettext.C (SetUpdateStatus): or the update codes.
7065 (draw): check need_update with &.
7066 (InsetButtonPress): set no_selection to not put a selection when
7067 entering an inset and it is redraws in another spot.
7069 * insettext.h: made need_update an int.
7071 2001-02-20 Baruch Even <baruch@ev-en.org>
7074 * insetgraphisc.C: Changed to use better semantics when loading images
7075 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7077 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7081 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7082 consistent with InsetTabular.
7084 2001-02-19 Juergen Vigna <jug@sad.it>
7086 * insettabular.C (LocalDispatch): implement PAGE up/down.
7088 * insettext.C (draw): clear all of it on need_update==INIT too!
7090 * insettabular.C (InsetUnlock): always clear the selection.
7092 * inset.C (scroll): normally we only want to scroll the inset until
7093 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7095 2001-02-14 Juergen Vigna <jug@sad.it>
7097 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7098 (resetPos): fixed scroll behaviour.
7099 (LocalDispatch): do an update if moving cursor inside a table cell
7100 requests a scroll of the tabular.
7102 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7104 * insettext.C (textWidth): constify local var
7106 * insettabular.C: small cleanup.
7108 * insetfoot.C (Latex): constify local var
7110 * insetcollapsable.C: small cleanup.
7112 * figinset.C (runqueue): use compare instead of strcmp
7114 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7117 * insetinfo.C: remove cruft
7119 2001-02-14 Juergen Vigna <jug@sad.it>
7121 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7123 2001-02-13 Juergen Vigna <jug@sad.it>
7125 * insettext.C (InsertInset): don't move left (is this right?)
7127 * insettabular.C (LocalDispatch): use of the no_draw variable
7129 * insettabular.h: new no_draw variable to stop redraw
7131 * insettabular.C (TabularFeatures): fixed update for alignment change
7133 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7137 * insetbib.C: move dialogs to frontends/
7139 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7141 * insettext.C (LocalDispatch): Restore the language if the inset
7144 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7146 * insettext.C (moveRightIntern): Update the selection cursor.
7147 (moveLeftIntern): Ditto.
7149 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7151 * Makefile.am: remove BoundingBox.h
7153 * BoundingBox.h: removed
7155 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7157 * insettext.C (LocalDispatch): Update selection cursor when moving
7158 cursor to the right.
7159 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7160 (moveLeftIntern): Ditto.
7162 2001-02-05 Baruch Even <baruch.even@writeme.com>
7164 * insetgraphics.C: Updated automatic image conversion, it now goes into
7165 temporary directory instead of with the image itself.
7167 2001-01-21 Baruch Even <baruch@ev-en.org>
7169 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
7170 to EPS or PNG when needed (support bitmap graphics).
7172 2000-11-02 Baruch Even <baruch@ev-en.org>
7175 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
7176 and removal of commented out code.
7178 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7180 * insetbib.C (callback): Update citations if the key has changed.
7182 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7184 * insetbib.C (InsetBibKey): Better computation of default key.
7185 (getScreenLabel) Show both the key and the label.
7186 (getBibLabel): New method.
7187 (callback): Force a redraw if the inset have been changed.
7189 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7191 * insetref.C (getType, getName): Move methods from
7192 src/frontends/xforms/FormRef.C.
7194 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7196 * insettabular.C: Various improvements (use only one dummy position).
7198 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7200 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7201 par->bibkey->width. This fixes the crashes when running without
7202 gui or when having included documents.
7204 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7206 * insetcommand.C (getAsString, setFromString): Cleanup.
7208 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7210 * insetref.C: Add the array InsetRef::types that contains
7211 information about all supported reference types.
7213 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7215 * lyxinset.h: remove trailing comma in enum.
7217 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7219 * insettext.C: kill LyXBell.