1 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * insetoptarg.C (latexOptional): if the optional argument contains
4 a ']' enclose it in {curly brackets}
6 * insettext.C (editXY):
7 * insettabular.C (editXY):
8 * insetcollapsable.C (editXY):
9 * insetbase.C (editXY): constify
11 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
12 not ask for an update if we did nothing; on a mouse release, make
13 sure that the cursor is moved to the right position; on a mouse
14 release, exit from the inset instead of invoking a
17 * insetbase.C (dispatch): before invoking dispatch, set cursor
18 result to dispatch=update=true.
20 2004-08-13 José Matos <jamatos@lyx.org>
22 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
24 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
26 * insetfoot.C (latex): use OutputParams::intitle instead of
27 parOwner() (avoids time consuming lookup)
29 * insetquotes.C (latex): same as above with OutputParams::lang.
30 Moreover the code actually works now.
32 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
34 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
35 * insetinclude.C, insetgraphics.C, insetfloat.C:
36 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
37 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
38 "support/std_sstream.h" to <sstream>
40 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
42 * insetgraphics.C (prepareFile): remove conversion_needed flag.
43 It made the following fail for a .eps graphics file:
45 2) view->pdf (pdflatex)
46 because the .eps file was already in the temp dir when the pdflatex
47 export happened and therefore no .eps -> pdf conversion was done.
49 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
51 * insetgraphics.C, insettabular.C: s/wether/whether/g
53 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
55 * insetgraphics.C (stripExtension): new
56 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
58 * insetgraphics.C (prepareFile): Handle "nice" exports, too
59 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
61 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
63 * insetfloatlist.C (latex,getScreenLabel): translate according to
64 the document language (bug #1312)
66 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
68 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
69 with external_in_tmpdir and compute filename ourself
70 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
71 use it to store referenced file(s)
72 * ExternalSupport.C (writeExternal): write relative filename if
74 * ExternalTemplate.[Ch]: add ReferencedFile command
75 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
77 * insetgraphics.C (prepareFile): write relative filename if
79 * insetinclude.C (latex, docbook, linuxdoc): add file to
80 runparams.exportdata and write it to the temp dir instead of
81 writing it to the final destination
82 * insetinclude.C (docbook, linuxdoc): don't copy runparams
84 2004-05-19 Angus Leeming <leeming@lyx.org>
86 * insetcite.[Ch]: small change because namespace biblio is
87 now namespace lyx::biblio.
89 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
91 * insettabular.[Ch] (buffer): make Buffer * argument const
93 2004-05-17 Angus Leeming <leeming@lyx.org>
95 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
96 to force the button label to be re-generated.
98 2004-05-14 José Matos <jamatos@lyx.org>
100 * insetlabel (docbook): do not ouput label, for the moment.
102 2004-05-14 Angus Leeming <leeming@lyx.org>
104 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
105 new biblio::asValidLatexString function.
107 2004-05-12 Angus Leeming <leeming@lyx.org>
109 * insetcite.C: use BufferParams::cite_engine rather than the three
110 bools, use_natbib, use_jurabib, use_numerical_citations.
112 2004-05-10 Angus Leeming <leeming@lyx.org>
114 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
115 Ditto with getStyle, moved to biblio::getEngine.
117 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
119 * insetgraphics.C (validate): remove pre 233 file format stuff,
120 handle zipped files for "nice" export
122 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
124 * insetgraphics.C (prepareFile): copy zipped file and corresponding
125 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
126 * insetgraphics.C (prepareFile): unzip zipped file also if it has
127 changed since the last run
128 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
129 and copyFileIfNeeded.
131 2004-04-29 Angus Leeming <leeming@lyx.org>
133 * ExternalTemplate.[Ch]: remove redundant #includes.
135 2004-04-28 Angus Leeming <leeming@lyx.org>
138 s/updateToolbar()/updateToolbars()/
140 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
142 * insetgraphics.C: require file extension (file format change!)
143 * insetgraphics.C (latex): handle zipped files for "nice" export
145 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
147 * insetgraphics.C (latex): strip the extension and replace dots in
148 the filename if doing a "nice" export. This is a partial fix for
149 bug 1231 without reintroducing bug 655.
151 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
153 * insetoptarg.h: remove the editable() method (InsetCollapsable
154 does it better already)
156 * insetbibtex.C (normalize_name): new helper function. Changes the
157 name to be suitable to use in a latex file (relative to master
158 buffer if necessary).
159 (latex): use normalize_name.
161 2004-04-20 Angus Leeming <leeming@lyx.org>
163 * render_preview.C (startLoading): remove lyxerr statement.
165 (getPreviewLoader): new helper function.
167 2004-04-19 Angus Leeming <leeming@lyx.org>
171 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
173 2004-04-19 Angus Leeming <leeming@lyx.org>
175 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
177 (add_preview): renamed as add_preview_and_start_loading. Invoke
178 RenderPreview::startLoading.
180 * insetinclude.C (metrics, draw): changes due to the changed
181 RenderPreview interface.
183 * render_preview.C: remove cached pimage_.
184 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
185 (draw): don't call startLoading. That's up to the user of
188 2004-04-16 Angus Leeming <leeming@lyx.org>
190 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
192 2004-04-13 Angus Leeming <leeming@lyx.org>
194 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
195 the renderer to inform LyX::updateInset that the inset's status
196 has changed and it should be redrawn.
198 * render_button.[Ch] (clone):
199 * render_graphic.[Ch] (c-tors, clone):
200 * render_preview.[Ch] (c-tors, clone): ditto.
202 * render_graphic.[Ch] (connect):
203 * render_preview.[Ch] (connect): removed, as connection is now
204 made in the constructors.
208 * insetinclude.C: ensuing simplification of the client code.
209 (statusChanged): now superfluous. Removed.
211 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
213 * ExternalTemplate.[Ch]: remove editCommand
214 * ExternalSupport.C (editExternal): use formats.edit() instead of
215 the removed editCommand template parameter
216 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
217 * insetgraphics.[Ch] (editGraphics): new method
219 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
221 * insetinclude.C (validate): set/reset features.buffer_ when
224 2004-04-07 Angus Leeming <leeming@lyx.org>
226 * insetexternal.C (priv_dispatch):
227 * insetinclude.C (priv_dispatch): prevent crash by invoking
228 InsetOld::priv_dispatch at the end of the switch, rather than
229 InsetOld::dispatch...
231 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
233 * insetcollapsable.C:
234 * insetbranch.C: 'assign' to open/close branch inset according to
235 selection; also print content on closed branch button
237 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
239 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
240 $$RelPath_Master, $$RelPath_Parent, $$Extension,
241 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
243 * ExternalSupport.C (updateExternal): use absolute and output
244 filename where appropriate
246 2004-04-05 André Pönitz <poenitz@gmx.net>
248 * insetbase.h: use LCursor & in notifyCursorLeave
250 2004-04-05 Angus Leeming <leeming@lyx.org>
252 * insetgraphics.C: remove unused header file "lyxrc.h".
254 * render_graphic.C: squash bug 1372: Misleading graphics label when
255 deactivating lyx view.
257 2004-04-05 Angus Leeming <leeming@lyx.org>
262 * insetlatexaccent.C:
267 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
269 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
271 * insetfloat.C (read): fix yesterday's float fix.
272 * insetwrap.C (read): apply the fixed float fix.
274 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
276 * insetfloat.C (read): fix reading of float params
279 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
281 * insettext.C (edit): comment the call to updateLocal (dangling now)
282 * insettext.h: add allowSpellCheck() returning true
284 2004-03-31 Angus Leeming <leeming@lyx.org>
286 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
288 2004-03-31 Angus Leeming <leeming@lyx.org>
290 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
291 the cursor out of an inset.
293 * insetbranch.C (priv_dispatch):
294 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
295 use getOutOfInset to push the cursor out of the inset when
298 2004-03-30 Angus Leeming <leeming@lyx.org>
300 * insetbase.[Ch] (translate): new static member function, returns
301 an InsetBase::Code corresponding to the input string.
303 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
305 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
306 so that it opens the inset if it refers to the currently active
309 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
311 * insetfloat.C (addToToc): use par_const_iterator_begin and
312 par_const_iterator_end.
314 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
316 * insetbibtex.[Ch]: bibtopic support.
318 * insetfloat.[Ch]: add param \sideways {true|false}
319 (support for sideways floats from rotating.sty).
321 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
323 * insettext.[Ch]: add a default ctor. implement const version of
329 * insetwrap.C: adjust
331 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
333 * insettext.h: add insetAllowed returning true by default (fixing
334 vanishing insets problem)
336 * insettext.C (draw): handle the responsability of adding the
337 ouside offset to collapsable. Clean code a bit.
339 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
340 from insettext correctly, solve a couple of off-by-one drawing
343 2004-03-25 Angus Leeming <leeming@lyx.org>
345 * insetcaption.C (draw): squash warning about unused variable.
347 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
349 * ExternalSupport.C: use the master buffer's temp dir
350 * insetgraphics.C (latex): make relative filename relative to the
352 * insetgraphics.C: use the master buffer's temp dir
353 * insetinclude.C (masterFilename): new function
354 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
355 is always true if loadIfNeeded() returns true)
357 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
359 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
360 set its parent to the current buffer.
361 (latex): use the tmppath of the master buffer, not just the parent
362 buffer (makes a difference with more than one level of include
363 insets). If the file name is relative write in the .tex file a
364 name relative to the master buffer directory.
366 * insetinclude.C: rename masterFilename to parentFilename (this
367 points to the direct parent)
369 2004-03-25 André Pönitz <poenitz@gmx.net>
371 * inset.[Ch]: remover owner
373 * insetcollapsable.[Ch]: derive from InsetText instead having such a
381 * insetcharstyle.[Ch]:
389 * insetwrap.C: adjust
391 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
393 * insetquote.C: use opening quote after '[' char.
395 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
397 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
400 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
402 * insetcite.[Ch]: support jurabib.
404 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
406 * insetcite.C: Support second \cite option.
409 * insetcommandparams.[Ch]: add second optional argument.
411 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
413 * insetcollapsable.C (lfunMouseRelease): right mouse button only
414 shows the inset dialog.
416 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
418 * insetlabel.[Ch]: remove them
419 * Makefile.am: adjust
421 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
423 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
425 * insetinclude.C (latex): show a GUI warning if textclasses don't
427 * insetinclude.C: use mangledFilename() for temp files
428 * insetgraphics.C (readInsetGraphics): remove version check, since
429 the graphics inset has no own fileformat number anymore
431 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
433 * insetquotes.[Ch]: added new member that allows direct access
434 to single/double quotation marks.
436 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
438 2004-02-16 André Pönitz <poenitz@gmx.net>
441 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
442 implicitly assume 'DispatchResult(true, true) with exception of
443 InsetBase::priv_dispatch which does the equivalent of
444 'retrun DispatchResult(false)'
446 * inset*.[Ch] (priv_dispatch): adjust
448 * insettabular.[Ch]: remove remains of the 'update' mechanism,
449 simplify cursor moving function,
450 re-enable horizontal scrolling for large tables
452 2004-02-13 André Pönitz <poenitz@gmx.net>
454 * insettabular.[Ch]: some work after IU
456 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
458 * inset.C (setPosCache): switch to absolute coords in insets
459 * insettext.[Ch] (draw, drawFrame): adjust
460 * insetcollapsable.C (draw): adjust
463 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
465 * insettext.C (edit):
466 (updateLocal): use the cur argument instead of the global cursor
467 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
469 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
471 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
473 * insetfloat.C (validate): "H" -> 'H' in call to contains
475 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
477 2004-01-30 André Pönitz <poenitz@gmx.net>
481 * insetcollapsable.[Ch]:
484 * insetgraphics.[Ch]:
489 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
492 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
494 * insettabular.C: add using statement for std::vector, remove
495 std:: where using was already used.
497 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
499 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
501 * insetinclude.C (validate): use feautures.nice() instead of
504 2004-01-20 André Pönitz <poenitz@gmx.net>
507 * insetbase.[Ch]: move stuff from mathcursor here.
513 * insetcharstyle.[Ch]:
514 * insetcollapsable.[Ch]:
517 * insetexternal.[Ch]:
519 * insetgraphics.[Ch]:
528 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
530 2004-01-15 André Pönitz <poenitz@gmx.net>
537 * insetcharstyle.[Ch]:
538 * insetcollapsable.[Ch]:
541 * insetexternal.[Ch]:
543 * insetgraphics.[Ch]:
552 * updatableinset.[Ch] (priv_dispatch et al): change signature.
554 2004-01-08 André Pönitz <poenitz@gmx.net>
556 * insetcollapsable.[Ch]:
559 * updatableinset.h: use cell index info from global cursor.
561 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
563 * insetnote.C (InsetNoteParams::write): write label only once
565 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
567 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
569 get rid of the SameName functor
571 * insettabular.C: improve the functor.
573 2003-12-29 Angus Leeming <leeming@lyx.org>
575 * insetexternal.C (setParams): update defaultTemplateName.
577 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
579 * insetbox.C: Use term "Box" in button label
581 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
583 * insetcharstyle.C: get getDrawFont working again
585 2003-12-15 André Pönitz <poenitz@gmx.net>
588 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
590 2003-12-12 Angus Leeming <leeming@lyx.org>
592 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
594 (InsetBranchParams): remove the branchlist hack.
595 (isBranchSelected): new function, used to decide whether to
596 print each output format. Also used by InsetList.
597 (read, string2params): repair my own breakage ;-)
599 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
601 * insetminipage.[Ch]: remove from repository.
603 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
606 * insetcollapsable.[Ch]: Move all CollapseStatus code from
607 insetert to insetcollapsable; introduce virtual function
608 setButtonLabel and invoke it from collapsable
610 2003-12-12 Angus Leeming <leeming@lyx.org>
612 * insetinclude.C (draw): cache x,y and so enable the
615 2003-12-12 Angus Leeming <leeming@lyx.org>
617 * mailinset.C (print_mailer_error): tidy up the output.
619 2003-12-11 Angus Leeming <leeming@lyx.org>
621 * mailinset.[Ch] (print_mailer_error): new helper function.
623 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
624 calling InsetCommandMailer.
625 (InsetCommandMailer::string2params): pass the name of the dialog.
627 * insetbibitem.[Ch] (d-tor):
628 * insetbibtex.[Ch] (d-tor):
629 * insetcite.[Ch] (d-tor):
630 * insetfloatlist.[Ch] (d-tor):
631 * insetindex.[Ch] (d-tor):
632 * insetlabel.[Ch] (d-tor):
633 * insetref.[Ch] (d-tor):
634 * insettoc.[Ch] (d-tor):
635 * inseturl.[Ch] (d-tor): removed.
636 Hiding the dialog is handled by InsetCommand.
638 * insetbibtex.[Ch] (draw, metrics):
639 * insetfloatlist.[Ch] (draw, metrics):
640 * insetindex.[Ch] (draw, metrics): removed.
641 Drawing is handled by InsetCommand.
643 * insetbibitem.[Ch] (priv_dispatch):
644 * insetbibtex.[Ch] (priv_dispatch):
645 * insetcite.[Ch] (priv_dispatch):
646 * insetfloatlist.[Ch] (priv_dispatch):
647 * insetindex.[Ch] (priv_dispatch):
648 * insetlabel.[Ch] (priv_dispatch):
649 * insettoc.[Ch] (priv_dispatch):
650 * inseturl.[Ch] (priv_dispatch): removed or simplified.
651 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
652 LFUN_INSET_DIALOG_SHOW.
654 * insetbox.C (string2params):
655 * insetbranch.C (string2params):
656 * insetert.C (string2params):
657 * insetexternal.C (string2params):
658 * insetfloat.C (string2params):
659 * insetinclude.C (string2params):
660 * insetminipage.C (string2params):
661 * insetnote.C (string2params):
662 * insetvspace.C (string2params):
663 * insetwrap.C (string2params): over-hauled.
665 2003-12-10 Angus Leeming <leeming@lyx.org>
667 * insetexternal.[Ch]: add a draft option and respect it when
670 2003-12-10 Angus Leeming <leeming@lyx.org>
672 * insetbox.C: (read, write): now prepend the inset contents with
673 'Box' to identify the inset as a box inset.
675 * insetbox.h: move the translators out of sight.
677 2003-12-10 Angus Leeming <leeming@lyx.org>
679 * insetert.C (string2params): clean-up using the new lyxlex interface.
681 * insetexternal.C: ensure that InsetExternalParams has a default
682 template, 'RasterImage'.
684 2003-12-10 Angus Leeming <leeming@lyx.org>
686 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
687 to an enum. Ensuing clean-ups through out the class.
688 (read, write): now prepend the inset contents with 'Note' to identify
689 the inset as a note inset.
691 2003-12-10 Angus Leeming <leeming@lyx.org>
693 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
694 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
696 2003-12-10 André Pönitz <poenitz@gmx.net>
701 * insettext.[Ch]: remove unused insetInset()
703 * insetert.C: disable some LFUNs
705 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
707 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
709 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
711 2003-12-04 Angus Leeming <leeming@lyx.org>
713 * insetexternal.C (draw): update the xo_, yo_ cache.
715 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
717 (RotationDataType): new helper struct wrapping the
718 RotationData::OriginType enum.
720 2003-12-03 André Pönitz <poenitz@gmx.net>
722 * inset.h: remove getParagraphs()
724 * insetcollapsable.[Ch]:
728 * insettext.C: use getText() instead of getParagraphs()
730 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
732 * insetert.C: fix label text updating bug
734 2003-12-02 Angus Leeming <leeming@lyx.org>
736 * insetvspace.[Ch] (space): new member function. Make space_ private.
737 (read): use the new, simpler lyxlex syntax.
739 2003-12-01 André Pönitz <poenitz@gmx.net>
741 * insetcollapsable.[Ch]:
742 * insetert.[Ch]: move 'inline' state to InsetCollapsable
744 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
746 * insetvspace.C (read): handle 'end_inset' token.
748 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
750 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
752 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
754 * insetcollapsable.[Ch]:
756 * insetcharstyle.C: place inset content on the button when
759 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
761 * insetvspace.C: remove VSpace::NONE; increase inset width
763 2003-12-01 André Pönitz <poenitz@gmx.net>
765 * insetbase.h: whitespace
767 * inset.[Ch]: remove latexTextWidth
768 make setBackgroundColor virtual
770 * insettext.[Ch]: move ParagraphList member to LyXText
772 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
778 * insetminipage.[Ch]:
780 * insetwrap.[Ch]: adjust paragraphs and background color handling,
782 2003-11-28 Angus Leeming <leeming@lyx.org>
784 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
785 hiding and showing the dialog respectively.
786 (priv_dispatch): also actually update the inset contents.
788 2003-11-28 Angus Leeming <leeming@lyx.org>
790 * insetbox.C (d-tor):
791 * insetbranch.C (d-tor):
792 * insetcite.C (d-tor):
793 * insetfloat.C (d-tor):
794 * insetfloatlist.C (d-tor):
795 * insetinclude.C (d-tor):
796 * insetindex.C (d-tor):
797 simplify the invocation of the Mailer::hideDialog() function.
799 * insetminipage.C (showInsetDialog):
800 simplify the invocation of the Mailer::showialog() function.
802 2003-11-28 André Pönitz <poenitz@gmx.net>
805 * insetvspace.[Ch]: new insets
807 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
809 * insetcharstyle.C: Syntax change for CharStyles
811 2003-11-28 André Pönitz <poenitz@gmx.net>
813 * updatableinset.h: remove insetInInsetY
815 * insetcollapsable.[Ch]:
818 * insettext.[Ch]: adjust
820 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
824 * insetcollapsable.[Ch]:
826 * insettabular.[Ch]: remove setFont
828 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
830 * render_graphic.[Ch]: adjust comments
832 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
834 * insetgraphics.C (draw): cache xo_ & yo_
836 2003-11-24 André Pönitz <poenitz@gmx.net>
838 * insettext.C (setViewCache): don't call LyXText::init() anymore
840 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
843 * insetcollapsable.[Ch]:
844 * insetert.[Ch]: remove bufferview parameter in methods
845 open, close, status, and updateStatus.
847 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
849 * insetcollapsable.[Ch]:
851 * insettext.[Ch] (getCursorDim): squash unused variable
853 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
855 * insettext.C (edit): x0_,y0_ -> xo_,yo_
857 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
859 * insettext.C (draw): sets LyXText absolute coordinates
861 2003-11-20 Angus Leeming <leeming@lyx.org>
863 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
864 about unused parameters.
866 * insetcollapsable.C (open):
867 * insettabular.C (pasteSelection):
868 * insettoc.C (draw): ditto.
870 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
872 * insetcollapsable.C:
874 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
875 remove mouse_x mouse_y etc.
877 2003-11-17 André Pönitz <poenitz@gmx.net>
879 * insettext.[Ch] (cx, cy): remove
881 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
883 2003-11-13 André Pönitz <poenitz@gmx.net>
886 * insetcollapsable.[Ch]:
888 * insettext.[Ch] (deleteLyXText): remove
890 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
892 * insetcollapsable.[Ch] (fitInsetCursor): remove
893 * insettabular.[Ch] (fitInsetCursor): remove
894 * insettext.[Ch] (fitInsetCursor): remove
895 * updatableinset.[Ch] (fitInsetCursor): remove
896 (getCursorDIm): add virtual
898 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
900 * src/insets/Makefile.am:
901 * src/insets/inset.h:
902 * src/insets/insetcharstyle.C:
903 * src/insets/insetcharstyle.h: The Character Style /XML short
906 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
908 * insettext.C: remove all update calls
909 * insetcollapsable.C: remove all update calls
911 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
913 * insettext.C (updateLocal, insertInset, setFont): remove
916 2003-11-10 André Pönitz <poenitz@gmx.net>
918 * inset.h: remove Inset::id_
920 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
923 2003-11-10 André Pönitz <poenitz@gmx.net>
927 * insetcollapsable.[Ch]:
934 * updatableinset.[Ch]: remove inset locking & adjust
936 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
938 * inset.h (allowSpellCheck): add (return true)
939 * insetert.h (allowSpellCheck): add (return false)
941 2003-11-05 José Matos <jamatos@lyx.org>
949 * insetcollapsable.[Ch]:
953 * insetexternal.[Ch]:
955 * insetfloatlist.[Ch]:
957 * insetgraphics.[Ch]:
962 * insetlatexaccent.[Ch]:
965 * insetmarginal.[Ch]:
966 * insetminipage.[Ch]:
970 * insetpagebreak.[Ch]:
974 * insetspecialchar.[Ch]:
980 * insetwrap.[Ch]: rename ascii to plaintext
981 and LatexRunParams to OutputParams.
983 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
985 * insetcollapsable.C (edit): add open() all
986 * insettext.C (edit): add setViewCache call
988 2003-11-04 André Pönitz <poenitz@gmx.net>
990 * inset.h (edit): move locking code from dispatch() to edit()
996 * insetcollapsable.[Ch]:
999 * insetexternal.[Ch]:
1000 * insetgraphics.[Ch]:
1005 * insettabular.[Ch]:
1006 * insettext.[Ch]: adjust
1008 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1011 * insetcollapsable.[Ch]:
1013 * insettabular.[Ch]:
1015 * updatableinset.[Ch]: remove dead search code
1017 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1020 * insetcollapsable.[Ch]:
1022 * insettabular.[Ch]:
1024 * updatableinset.[Ch]: remove dead spellcheck code
1026 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1028 * insettabular.C (lockInsetInInset): small fix
1030 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1032 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1033 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1034 from here. Be stricter on DispatchResult returned.
1036 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1038 * Inset::dispatch's: adjust for new DispatchResult semantics.
1040 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1042 * render_base.h: make clone return an auto_ptr
1043 * render_button.C (clone): adjust
1044 * render_graphic.C (clone): adjust
1045 * render_preview.C (clone): adjust
1047 * insettheorem.C (clone): return an auto_ptr
1049 * insettext.C (priv_dispatch): exception safety
1051 * insettabular.C: store the file scope variable paste_tabular in a
1052 scoped_ptr, adjust usage.
1054 * insetexternal.C (setParams): exception safety
1056 * insetbibitem.C (clone): exception safety
1058 2003-11-03 André Pönitz <poenitz@gmx.net>
1061 * insetcollapsable.[Ch]:
1062 * insettabular.[Ch]:
1063 * insettext.[Ch]: remove Inset::id and related functions
1065 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1067 * insets: adjust for DispatchResult changes.
1069 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1071 * insetpagebreak.C: fix screen representation & ascii output.
1073 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1077 * insettabular.[Ch]:
1078 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1080 2003-10-31 José Matos <jamatos@lyx.org>
1082 * inset.h (ascii, linuxdoc, docbook):
1083 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1084 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1085 * insetcaption.[Ch] (ascii, docbook):
1086 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1087 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1088 * insetert.[Ch] (ascii, linuxdoc, docbook):
1089 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1090 * insetfloat.[Ch] (linuxdoc, docbook):
1091 * insetfloatlist.[Ch] (ascii):
1092 * insetfoot.[Ch] (docbook):
1093 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1094 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1095 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1096 * insetindex.[Ch] (docbook):
1097 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1098 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1099 * insetline.[Ch] (ascii, linuxdoc, docbook):
1100 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1101 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1102 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1103 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1104 * insetref.[Ch] (ascii, linuxdoc, docbook):
1105 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1106 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1107 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1108 * insettext.[Ch] (ascii, linuxdoc, docbook):
1109 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1110 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1111 * insetwrap.[Ch] (docbook):
1112 add LatexRunParams argument.
1114 2003-10-30 José Matos <jamatos@lyx.org>
1116 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1118 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1120 * updatableinset.C (priv_dispatch):
1121 * insetwrap.C (priv_dispatch):
1122 * inseturl.C (priv_dispatch):
1123 * insettoc.C (priv_dispatch):
1124 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1125 (moveLeftIntern, moveUp, moveDown):
1126 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1127 (moveLeft, moveUp, moveDown):
1128 * insetref.C (priv_dispatch):
1129 * insetnote.C (priv_dispatch):
1130 * insetminipage.C (priv_dispatch):
1131 * insetlabel.C (priv_dispatch):
1132 * insetindex.C (priv_dispatch):
1133 * insetinclude.C (priv_dispatch):
1134 * insetgraphics.C (priv_dispatch):
1135 * insetfloatlist.C (priv_dispatch):
1136 * insetfloat.C (priv_dispatch):
1137 * insetexternal.C (priv_dispatch):
1138 * insetert.C (priv_dispatch):
1139 * insetcommand.C (priv_dispatch):
1140 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1141 * insetcite.C (priv_dispatch):
1142 * insetbranch.C (priv_dispatch):
1143 * insetbox.C (priv_dispatch):
1144 * insetbibtex.C (priv_dispatch):
1145 * insetbibitem.C (priv_dispatch):
1146 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1148 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1150 * insettext.C: small refactoring of docbook stuff
1152 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1154 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1155 (priv_dispatch): adjust for operator dispatch_result_t removal
1157 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1158 in a DispatchResult, adjust accordingly.
1159 (priv_dispatch): use strange >= construct... (will be removed later)
1161 * most insets: dispatch_result -> DispatchResult
1163 * insetbase.h: move DispatchResult out to dispatchresult.h
1165 2003-10-27 André Pönitz <poenitz@gmx.net>
1167 * insetpagebreak.[Ch]: new inset for page breaks
1169 * insetline.[Ch]: new inset for vertical lines
1174 2003-10-25 Angus Leeming <leeming@lyx.org>
1176 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1177 new virtual member functions, specialised...
1178 * render_button.h (asButton):
1179 * render_graphic.h (asGraphic):
1180 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1182 * insetexternal.C: use these new functions rather than dynamic_cast.
1183 Various other small simplifications.
1185 2003-10-22 Angus Leeming <leeming@lyx.org>
1187 * insetexternal.[Ch]: add the ability to 'preview' the external file
1190 * insetinclude.C: changes due to the changes in the RenderPreview
1193 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1194 message if the preview image is not available. Only initiate the
1195 loading of the preview from draw(). Ditto, start the monitoring
1196 of an external file from RenderMonitoredPreview::draw.
1198 2003-10-22 Angus Leeming <leeming@lyx.org>
1200 * insetcite.[Ch] (setLoadingBuffer): removed.
1201 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1202 ascertain whether to proceed with the (expensive) task of computing
1203 the natbib-style label. Remove the home-grown hack providing
1204 similar functionality.
1206 2003-10-22 Angus Leeming <leeming@lyx.org>
1208 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1209 class and into an anonymous namespace.
1211 2003-10-22 Angus Leeming <leeming@lyx.org>
1213 * insetcommand.h: remove the display method.
1217 * insetindex.h (InsetPrintIndex):
1218 * insettoc.h: add a display method, returning true.
1220 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1222 * insetcollapsable.h:
1226 * insetinclude.h: (1) finish off the inset display() work;
1227 (2) fix the "is a bit silly" bug (accessing char
1230 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1234 * insetfootlike.h: re-introduce display() for insets,
1235 fixing the various bugs (stretch of line above, math inset
1238 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1240 * insetbase.C (dispatch): new func
1241 (priv_dispatch): new func replaces...
1242 (localDispatch): this, deleted.
1244 * all insets with dispatch modified for new code.
1246 2003-10-15 André Pönitz <poenitz@gmx.net>
1248 * insetcollapsable.[Ch]
1250 * inset.h: re-add some edit(bv, index) method called by undo
1252 2003-10-14 Angus Leeming <leeming@lyx.org>
1254 * insetexternal.[Ch] (view, cache, view_):
1255 * insetgraphics.[Ch] (view, cache, view_):
1256 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1257 (statusChanged): call LyX::cref().updateInset.
1259 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1260 the BufferView cache.
1262 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1265 2003-10-14 Angus Leeming <leeming@lyx.org>
1267 * insetinclude.C (metrics, draw): only draw the preview when previews
1270 2003-10-14 André Pönitz <poenitz@gmx.net>
1272 * insetcollapsable.[Ch]:
1273 * insettabular.[Ch]:
1275 * inset.h: getText() as alternative to getParagraphs()
1277 2003-10-13 Angus Leeming <leeming@lyx.org>
1280 * insetgraphicsParams.C: displayTranslator is now a function.
1282 2003-10-13 Angus Leeming <leeming@lyx.org>
1284 * insetinclude.C: remove #include "PreviewImage.h".
1286 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1288 * ExternalSupport.C:
1289 * ExternalTransforms.C:
1291 * insetbox.h: ws changes only
1293 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1295 * insetinclude.C (localDispatch): do not call
1296 InsetOld::localDispatch, just return UNDISPATCHED
1297 * insetgraphics.C (localDispatch): ditto
1298 * insetcommand.C (localDispatch): ditto
1300 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1302 * inset.h: get rid of RESULT typedef for dispatch_result
1304 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1305 * insetert.[Ch] (localDispatch): ditto
1306 * insettabular.[Ch] (localDispatch): ditto
1311 * insettext.[Ch] (localDispatch): ditto
1314 (moveRightIntern): ditto
1315 (moveLeftIntern): ditto
1318 * updatableinset.[Ch] (localDispatch): ditto
1320 2003-10-12 Angus Leeming <leeming@lyx.org>
1322 * renderbase.h (view, view_): removed.
1323 * renderbase.C: removed.
1324 * Makefile.am: remove render_base.C. The shortest lived file in
1327 * renderbutton.C (draw):
1328 * render_graphic.C (draw): don't cache the BufferView.
1330 * insetabase.h (cache, view): removed.
1332 * inset.h (generatePreview) removed.
1334 * insetcallapsable.[Ch] (cache, view, view_): removed.
1336 * insetcollapsable.C (draw): don't cache the BufferView.
1338 * insetcommand.[Ch] (view): removed.
1340 * insetexternal.[Ch] (cache, view, view_):
1341 * insetgraphics.[Ch] (cache, view, view_):
1342 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1344 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1345 when you have direct access to it. In fact, don't use the cache at all.
1347 2003-10-10 Angus Leeming <leeming@lyx.org>
1349 * insetinclude.C (metrics): use preview_->metrics.
1350 (draw): use preview_->draw.
1352 * render_preview.[Ch] (pimage): removed.
1354 2003-10-10 Angus Leeming <leeming@lyx.org>
1356 * renderers.[Ch]: removed.
1359 * render_button.[Ch]:
1360 * render_graphic.[Ch]:
1361 * render_preview.[Ch]: new files. The first three are split out of
1362 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1363 contains a re-worked InsetInclude::PreviewImpl also.
1365 * Makefile.am: reflect the changed files.
1368 * insetexternal.[Ch]:
1369 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1371 * insetinclude.[Ch]: changes reflecting the change from
1372 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1378 * inseturl.C: add #include "support/std_ostream.h"
1380 2003-10-09 Angus Leeming <leeming@lyx.org>
1382 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1383 to PreviewedInset::previewReady.
1385 2003-10-09 Angus Leeming <leeming@lyx.org>
1387 * insetexternal.[Ch] (statusChanged):
1388 * insetgraphics.[Ch] (statusChanged): make a const member function.
1390 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1393 2003-10-09 Angus Leeming <leeming@lyx.org>
1395 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1396 to PreviewedInset's previewReady and removePreview member functions.
1398 2003-10-08 André Pönitz <poenitz@gmx.net>
1400 * insetcollapsable.C:
1401 * insettext.[Ch]: saner 'init' structure
1403 * updatableinset.[Ch]: remove unneeded code
1405 2003-10-08 Angus Leeming <leeming@lyx.org>
1407 Fix doxygen warnings.
1409 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1410 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1412 2003-10-07 Angus Leeming <leeming@lyx.org>
1414 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1415 be applied to InsetExternal.
1417 * Makefile.am: add these new files.
1419 * ExternalTemplate.[Ch]: add a list of available transforms to
1420 class Template and a list of factory functions for transformer classes
1421 that can act on this data to class Format.
1423 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1425 * ExternalSupport.C: Add code to replace transform placeholders
1426 with appropriate output.
1428 2003-10-07 Angus Leeming <leeming@lyx.org>
1430 * ExternalSupport.[Ch]: new files, moving the private member functions
1431 and namespace anon functions out of insetexternal.C to here, so making
1432 it easier to understand what is going on in insetexternal itself.
1434 * Makefile.am: add new files.
1436 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1437 allowing the class to be forward declared. (Also consistent with
1438 all other Params classes.)
1439 (write): moved out of the class. Move this function and those in
1440 namespace anon to ExternalSupport.[Ch].
1442 2003-10-07 Angus Leeming <leeming@lyx.org>
1444 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1445 non-const member function.
1447 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1452 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1454 2003-10-02 André Pönitz <poenitz@gmx.net>
1456 * insettext.C (read): make sure there is at least one par
1457 in the text after reading.
1459 2003-10-01 José Matos <jamatos@lyx.org>
1461 * insetbranch.C (linuxdoc, docbook): minor fix.
1463 2003-10-01 Angus Leeming <leeming@lyx.org>
1465 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1467 * insetexternal.[Ch]: changes due to the introduction of
1468 namespace lyx::external.
1470 2003-09-30 Angus Leeming <leeming@lyx.org>
1472 * insetexternal.[Ch] (Params::read, write): new member functions.
1474 2003-09-25 Angus Leeming <leeming@lyx.org>
1476 * insetexternal.[Ch] (TempName): new (private) nested struct with
1477 fake copy semantics. Enables us to use the generated copy c-tor
1478 in the Params struct.
1479 (Params::templatename, Params::tempname): use accessor functions.
1481 2003-09-25 Angus Leeming <leeming@lyx.org>
1483 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1484 function, returning a const pointer.
1486 2003-09-23 Angus Leeming <leeming@lyx.org>
1488 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1489 store them in a vector, preambleNames.
1491 * insetexternal.C (validate): loop over all preambleNames and call
1492 LaTeXFeatures::addExternalPreamble with each.
1494 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1496 * insetbranch.C: bug fix in branches
1498 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1500 * insetnote.C: small clean-up.
1502 2003-09-19 Angus Leeming <leeming@lyx.org>
1504 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1506 * insetcommand.C (string2params): clear params using the default c-tor.
1508 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1509 InsetInclude::Params. No more data in this struct than in
1510 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1511 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1512 (clone): remove #warning as it's now redundant.
1513 (set): add a 'Buffer const &' arg. Make private.
1514 (loadIfNeeded) move out of the class definition and into namespace anon.
1515 (getMasterFilename, getFileName): ditto.
1517 2003-09-18 Angus Leeming <leeming@lyx.org>
1519 * insetcommand.C (setParams): use the params' copy constructor.
1521 2003-09-18 Angus Leeming <leeming@lyx.org>
1523 * insetinsetbase.h (getLabelList):
1524 * insetinsetcollapsable.[Ch] (getLabelList):
1525 * insetinsetinclude.[Ch] (getLabelList):
1526 * insetinsetlabel.[Ch] (getLabelList):
1527 * insetinsettabular.[Ch] (getLabelList):
1528 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1529 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1531 2003-09-18 Angus Leeming <leeming@lyx.org>
1533 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1534 redundant baggage from yesteryear.
1535 Remove Params::flag as it is redundant; the info is present in
1538 2003-09-18 Angus Leeming <leeming@lyx.org>
1540 * insetinclude.C (latexString): add a Buffer const & arg.
1542 2003-09-18 Angus Leeming <leeming@lyx.org>
1547 * insettext.h: rename EnumLColor as LColor_color.
1549 2003-09-18 Angus Leeming <leeming@lyx.org>
1551 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1552 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1554 2003-09-16 Angus Leeming <leeming@lyx.org>
1556 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1557 set before trying to generate a preview, else we trigger an assert.
1559 2003-09-16 Angus Leeming <leeming@lyx.org>
1561 * insetinclude.C (PreviewImpl::parent): return a const reference.
1563 2003-09-16 Angus Leeming <leeming@lyx.org>
1565 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1567 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1569 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1570 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1572 * insetminipage.C (metrics):
1573 * insetnote.C (metrics):
1574 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1575 access collapsed_ directly.
1577 2003-09-16 Angus Leeming <leeming@lyx.org>
1579 * insetbibitem.C: add #include "lyxfont.h".
1581 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1584 * insetbibtex.C: use namespace alias for lyx::support::os
1586 2003-09-16 Angus Leeming <leeming@lyx.org>
1588 * insetcollapsable.h: remove unused framecolor variable.
1589 Remove #include "LColor.h".
1591 * insetcollapsable.C: remove unused framecolor variable.
1594 * insetcollapsable.C:
1602 Add #include "LColor.h".
1604 2003-09-16 Angus Leeming <leeming@lyx.org>
1606 * insettext.[Ch] (frameColor): new accessor function.
1607 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1613 add #include "LColor.h".
1615 * insetcollapsable.h: add #include "LColor.h"
1616 (for its framecolor member variable).
1618 2003-09-16 Angus Leeming <leeming@lyx.org>
1620 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1622 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1623 rename frame_color as frame_color_. Make private.
1625 * insettext.C: associated changes.
1627 2003-09-16 Angus Leeming <leeming@lyx.org>
1629 * inset.h: store background_color_ as an int, not as an LColor::color to
1630 get LColor.h out of the header file.
1633 * insetlatexaccent.C:
1636 * insetspecialchar.C:
1638 add #include "LColor.h".
1640 2003-09-16 Angus Leeming <leeming@lyx.org>
1642 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1645 2003-09-15 Angus Leeming <leeming@lyx.org>
1647 * inset.[Ch] (setBackgroundColor, backgroundColor):
1648 * insettext.[Ch] (setFrameColor):
1649 pass EnumLColor args, rather than LColor::color ones.
1651 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1661 * insetwrap.C: remove usage of STRCONV
1663 2003-09-15 Angus Leeming <leeming@lyx.org>
1665 * renderers.C (draw):
1666 * insetlatexaccent.C (draw): explicitly define the color passed to
1669 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1671 * insettext.C: remove block causing problems in lockInsetInInset
1672 (mentioned erroneously under Bug #1366)
1674 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1676 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1679 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1681 * several files: change Assert to BOOST_ASSERT
1683 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1685 * insettext.[Ch]: remove drawText[XY]Offset
1687 2003-09-08 Angus Leeming <leeming@lyx.org>
1689 * insetcollapsable.C:
1694 * insetspecialchar.C:
1697 * insettoc.C: remove redundant using directives.
1699 2003-09-07 Angus Leeming <leeming@lyx.org>
1702 * insetspecialchar.h: remove #include "support/std_string.h".
1704 2003-09-06 Angus Leeming <leeming@lyx.org>
1706 * renderers.C: add #include "insets/inset.h"
1708 2003-09-05 Angus Leeming <leeming@lyx.org>
1710 * *.C: strip out redundant #includes. (193 in total.)
1712 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1714 * insets/insetbibtex.[Ch]:
1715 * insets/insetcommand.h:
1716 * insets/insetfloatlist.[Ch]:
1717 * insets/insetinclude.[Ch]:
1718 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1719 of insets like bibtex, include, toc and floatlist to the visible
1720 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1721 up the dialogs. Cursor has to be in front of the inset (i.e.
1722 start of row) for this to function.
1724 2003-09-04 Angus Leeming <leeming@lyx.org>
1726 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1727 structure outside of the Format struct. Format::preambleName refers to
1728 an item in the map of all preamble snippets.
1729 Make use of the new Debug::EXTERNAL flag.
1731 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1732 (validate): Small change due to the changed storage of preamble snippets.
1734 2003-09-04 Angus Leeming <leeming@lyx.org>
1736 * insetgraphics.C: #include "support/os.h"
1738 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1739 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1740 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1742 * insetcollapsable.h:
1744 * insetnote.C: move #include "funcrequest.h" out of the header file.
1746 2003-09-03 Angus Leeming <leeming@lyx.org>
1748 * insetexternal.C (updateExternal):
1749 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1752 2003-09-03 Angus Leeming <leeming@lyx.org>
1754 * insetexternal.C: don't bring namespace lyx::support into the global
1757 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1759 * insetbranch.C: Add Branch: to label
1761 2003-09-02 John Levon <levon@movementarian.org>
1764 * insettext.C: remove cursor.i[xy]()
1766 2003-08-28 Angus Leeming <leeming@lyx.org>
1768 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1769 "sh ", enabling the conversion to be carried out even if the script
1772 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1774 * most files: change to use const Buffer refs
1776 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1778 * insetfootlike.C: whitespace.
1780 2003-08-26 John Levon <levon@movementarian.org>
1784 * insetindex.h: remove remaining mentions of needFullRow()
1786 2003-08-26 André Pönitz <poenitz@gmx.net>
1792 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1794 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1796 * insetbranch.C: Small fix to prevent a crash on loading.
1798 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1803 * insetcollapsable.h:
1805 * insetfloatlist.[Ch]:
1806 * insetfootlike.[Ch]:
1807 * insetinclude.[Ch]:
1813 * insettheorem.[Ch]:
1814 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1815 altogether, putting the logic in metrics/draw in the insets.=20
1816 Draws short single row insets with more or less realistic metrics.
1818 2003-08-19 André Pönitz <poenitz@gmx.net>
1820 * insettext.C: use new RowPainter interface
1822 2003-08-18 John Levon <levon@movementarian.org>
1824 * insetref.C: require amsmath for eqref
1826 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1830 * insetbranch.[Ch]: implements the 'branch inset'
1831 idea. This allows the output of various versions of a document
1832 from a single source version, selectively outputing or suppressing
1833 output of parts of the text.
1834 This implementation contains a 'branch list editor' in a separate
1835 tab of the document settings dialog. Branches are user definable
1836 and have a "display colour" to distinguish them on-screen.
1838 ColorHandler was somewhat cleaned up.
1839 (1) make possible a dynamically growing LColor list by allowing
1840 the graphic context cache to grow along (vector);
1841 (2) eliminate an IMHO unnecessary step in colour allocation.
1843 2003-08-15 André Pönitz <poenitz@gmx.net>
1845 * insettext.[Ch]: adjust after rowlist split
1847 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1849 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1850 rename valign-center to valign-middle;
1851 rename VALIGN_CENTER to VALIGN_MIDDLE
1853 2003-08-11 André Pönitz <poenitz@gmx.net>
1855 * inset.h: remove resizeLyXText
1858 * insetcollapsable.[Ch]:
1860 * insettabular.[Ch]: adjust
1862 * insettext.[Ch]: remove saveLyXTextState,
1863 restoreLyXTextStat, sstate, reinitLyXText
1865 2003-08-07 André Pönitz <poenitz@gmx.net>
1867 * inset.[Ch]: move non-crucial functions out-of-line
1869 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1870 remove duplicated code.
1872 2003-08-05 André Pönitz <poenitz@gmx.net>
1875 * insetcollapsable.[Ch]:
1885 * insettabular.[Ch]:
1888 * updatableinset.[Ch]: rip out "deep update"
1890 * insettext.C (localDispatch): merge cases with default branch
1892 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1894 * insettabular.[Ch] (updateLocal): simplify logic
1896 2003-08-04 André Pönitz <poenitz@gmx.net>
1898 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1899 is 'FULL' all the time.
1901 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1903 * insetert.C (get_new_label): only add ... to the (closed) label
1904 when the string has been shortened
1906 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1908 * Always use std::endl with lyxerr
1910 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1912 * insetnote.C: update \author list
1914 2003-07-31 André Pönitz <poenitz@gmx.net>
1916 * insetcollapsable.h:
1917 * insettabular.[Ch]:
1918 * insettext.[Ch]: remove toggleSelection
1920 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1922 (with help from Juergen Spitzmueller)
1923 * insetnote.C: add add i18n support. Use Prefs-definable
1924 colours for Comment and Greyedout.
1926 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1928 * insetcollapsable.[Ch]:
1930 * insetert.C: factor out the detection of clicking on the inset
1931 button as 'hitButton'. John Levon contributed.
1933 2003-07-30 André Pönitz <poenitz@gmx.net>
1935 * insetcollapsable.C:
1937 * insettabular.C: parantheses, localize vars etc.
1939 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1941 * insetnote.C: Implement a newenvironment in preamble for
1942 greyedout. Patch provided by Jürgen Spitzmüller.
1944 2003-07-29 Angus Leeming <leeming@lyx.org>
1946 * insetcommand.C (localDispatch): default to
1947 InsetOld::localDispatch.
1949 * insetbibitem.C (localDispatch):
1950 * insetbibtex.C (localDispatch): remove call to
1951 ChangeCitationsIfUnique.
1953 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1955 * insetexternal.C (read): use pushpophelper.
1957 2003-07-28 José Matos <jamatos@lyx.org>
1959 * insetext.C (read): \end_document replaces \the_end.
1961 2003-07-28 José Matos <jamatos@fep.up.pt>
1963 * insetert.C (write): \layout -> \begin_layout.
1964 Add missing \end_layout.
1966 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1968 * insetquotes.C: document a bit the format
1970 * insettabular.C (write): remove extra space
1972 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1973 * insetnote.C: Umpf. Hope I *now* get it right :-(
1975 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1976 *insetnote.C: did the right fix to greyedout: \color
1977 instead of \textcolor.
1979 2003-07-28 Angus Leeming <leeming@lyx.org>
1981 * insetbibtex.h: remove extraneous forward declaration.
1984 * insetbibtex.h: Also remove long-dead Holder member class
1987 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1989 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1992 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1994 * insetwrap.C (addToToc): adjust for lyx::toc
1996 * insetfloatlist.C (ascii): adjust for lyx::toc
1998 * insetfloat.C (addToToc): adjust for lyx::toc
2000 2003-07-27 José Matos <jamatos@fep.up.pt>
2002 * insetnote.h (linuxdoc,docbook): update support.
2004 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2006 * insetfloat.C (wide): add a space to label, for consistency
2008 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2010 * insettext.C (nextChange): adjust for lyx::find
2011 (searchForward): ditto
2012 (searchBackward): ditto
2014 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2016 * insetgraphicsParams.C:
2017 * insetexternal.C: declare extern displayTranslator
2020 * renderers.C: add #include "support/LAssert.h"
2022 2003-07-27 José Matos <jamatos@fep.up.pt>
2024 * insetfloat.[Ch] (linuxdoc):
2025 * insetgraphics.C (linuxdoc):
2026 * insettabular.C (linuxdoc):
2027 * insettext.[Ch] (linuxdoc): add support for tables and figures
2030 2003-07-27 José Matos <jamatos@fep.up.pt>
2032 * insetinclude (latex): comply with makeLaTeXFile argument change.
2034 2003-07-26 Asger Alstrup <alstrup@local>
2036 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2037 the undo crashes. We'll see what problems other places this will
2040 2003-07-26 Angus Leeming <leeming@lyx.org>
2042 * insetgraphics.C: remove unused declaration of system_tempdir.
2044 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2046 * rename Inset to InsetOld
2048 * all inset files (clone): return a auto_ptr<InsetBase>
2050 2003-07-23 Angus Leeming <leeming@lyx.org>
2052 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2054 2003-07-23 Angus Leeming <leeming@lyx.org>
2056 * mailinset.[Ch] (inset2string):
2057 * insetcommand.[Ch] (inset2string):
2058 * insetert.[Ch] (inset2string):
2059 * insetexternal.[Ch] (inset2string):
2060 * insetfloat.[Ch] (inset2string):
2061 * insetgraphics.[Ch] (inset2string):
2062 * insetinclude.[Ch] (inset2string):
2063 * insetminipage.[Ch] (inset2string):
2064 * insetnote.[Ch] (inset2string):
2065 * insettabular.[Ch] (inset2string):
2066 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2068 * insetexternal.[Ch]:
2069 * insetgraphics.[Ch]: get rid of the view() function. Associated
2070 changes to the mailers' string2params and params2string functions.
2072 2003-07-23 Angus Leeming <leeming@lyx.org>
2074 * insetexternal.[Ch]: store the external file name in a FileName
2075 member variable rather than a string + associated changes.
2077 2003-07-21 Angus Leeming <leeming@lyx.org>
2079 * insetgraphicsParams.[Ch]: store the graphics file name in
2080 a FileName member variable rather than a string.
2082 * insetgraphics.[Ch]:
2083 * insetgraphicsParams.[Ch]: Associated changes.
2085 2003-07-21 Angus Leeming <leeming@lyx.org>
2087 * insetgraphics.[Ch] (string2params, params2string): passed a
2088 buffer_path argument.
2091 2003-07-21 Angus Leeming <leeming@lyx.org>
2094 * insetgraphicsParams.[Ch]:
2096 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2098 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2100 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2102 2003-07-18 André Pönitz <poenitz@gmx.net>
2105 * insetminipage.[Ch]:
2106 * insettabular.[Ch]:
2109 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2111 2003-07-18 André Pönitz <poenitz@gmx.net>
2115 * insetcollapsable.C:
2119 * insetgraphics.[Ch]:
2120 * insetlatexaccent.[Ch]:
2125 * insetspecialchar.C:
2126 * insettabular.[Ch]:
2128 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2130 2003-07-17 André Pönitz <poenitz@gmx.net>
2132 * insetcollapsable.C:
2134 * insettext.C: don't call Inset::update() anymore
2137 * insettabular.[Ch]: remove unneeded in_update_ members
2139 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2141 2003-07-16 André Pönitz <poenitz@gmx.net>
2143 * insettext.C (selectAll): remove
2145 2003-07-16 John Levon <levon@movementarian.org>
2148 * insetnote.C: implement showInsetDialog()
2150 2003-07-15 André Pönitz <poenitz@gmx.net>
2153 * insettext.C: refresh_status tristate -> need_update bool
2155 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2157 * insettext.C: adjust call to LyXText::init
2159 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2161 * insettext.C: use bufferview_funcs->replaceSelection()
2162 to delete selections in some cases (bugs 441, 673, 702, 954).
2164 2003-07-14 André Pönitz <poenitz@gmx.net>
2166 * insettext.C (draw): use slimmed down rowpainter interface
2168 2003-07-14 André Pönitz <poenitz@gmx.net>
2170 * insetcollapsable.C:
2172 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2173 remove unused BufferView * argument
2175 2003-07-14 André Pönitz <poenitz@gmx.net>
2177 * insettext.[Ch]: used cached metrics a bit more
2179 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2181 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2183 2003-07-10 André Pönitz <poenitz@gmx.net>
2186 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2188 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2190 * introduce namespace lyx::graphics
2192 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2194 * introduce namespace lyx::support
2196 2003-06-30 André Pönitz <poenitz@gmx.net>
2198 * insetcite.C (localDispatch): fix case of missing return value
2200 * insetcite.C (ascii): remove unneeded temporary
2202 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2204 * insetspace.h: fix \file
2206 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2207 * insetinclude.C (fillWithBibKeys): ditto
2209 * insetbibitem.C: fix type const order
2211 * inset.C (getLyXText): add varname for arg
2213 * ExternalTemplate.h: fix type const order
2215 2003-06-27 André Pönitz <poenitz@gmx.net>
2217 * insettext.C: take care of removed LyXCursor::row_ member
2219 * insettext.[Ch]: use new TextCursor struct for sstate
2221 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2223 * inseterror.[Ch]: removed
2225 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2227 * insetinclude.C (docbook): use parseError instead of sgmlError
2229 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2231 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2232 of BufferList::loadLyXFile
2234 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2236 * insettext.C (update): simplify
2237 (updateLocal): remove commented code
2238 (insetUnlock): simplify
2239 (lockInset): simplify
2240 (updateInsetInInset): simplify
2241 (localDispatch): simplify
2243 (resizeLyXText): simplify
2244 (collapseParagraphs): simplify
2246 * insetert.C (get_new_label): simplify
2248 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2250 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2251 pasteSelection with index
2253 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2255 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2257 2003-06-16 André Pönitz <poenitz@gmx.net>
2259 * insetbase.h: new virtual base function clone()
2261 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2262 Inset * clone() -> InsetBase * clone()
2264 2003-06-13 André Pönitz <poenitz@gmx.net>
2266 * insettabular.[Ch]: make tabular a proper member
2268 2003-06-12 André Pönitz <poenitz@gmx.net>
2270 * insettabular.[Ch]: some renaming plus whitespace
2272 2003-06-11 Angus Leeming <leeming@lyx.org>
2274 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2277 * insetbutton.[Ch]: removed.
2278 * graphicinset.[Ch]: renamed as renderers.[Ch].
2280 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2281 Create a new class ButtonRenderer using the InsetButton::metrics() and
2283 Derive both from a common RenderedInset base class.
2285 * insetcommand.[Ch]:
2286 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2287 Give it a ButtonRenderer member variable. Use it.
2288 Give the classes working copy c-tors.
2289 No longer derive from boost::noncopyable.
2291 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2292 display its contents as a button or as a graphic.
2294 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2297 2003-06-11 Angus Leeming <leeming@lyx.org>
2299 * insetcite.C (localDispatch): reformat.
2301 * insetref.C (localDispatch): enable dialog to be lauched.
2303 2003-06-11 John Levon <levon@movementarian.org>
2305 * insettabular.C: correctly mark all cells as erased
2307 2003-06-11 Angus Leeming <leeming@lyx.org>
2309 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2310 ExternalTemplate but its name, templatename. This means that a file
2311 containing a reference to an External Template not installed on the
2312 current machine will be saved retaining this info rather than inserting
2313 the first "valid" template from the list of templates.
2315 As a by product, the visual statement that the Template is missing is
2318 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2320 * insettext.C (appendParagraphs): remove some commented code.
2322 2003-06-10 Angus Leeming <leeming@lyx.org>
2324 * graphicinset.[Ch] (view): removed the publicly accessible function to set
2327 * insetexternal.[Ch]: move tempname_ into the Params struct.
2328 (Params d-tor): new function, to clean-up this temp file.
2329 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2331 (editExternal, doSubstitution): move out of class.
2333 2003-06-10 Angus Leeming <leeming@lyx.org>
2335 * graphicinset.[Ch] (params): removed.
2336 * graphicinset.h (operator=): declared private but not defined.
2337 (statusMessage): made private.
2339 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2341 2003-06-07 John Levon <levon@movementarian.org>
2343 * insetert.C (latex): make a newline mean just that not
2346 2003-06-07 José Matos <jamatos@fep.up.pt>
2348 * insethfill.[Ch] (linuxdoc, docbook): implement output
2349 * insetspace.C (linuxdoc, docbook): remove coments as the code
2352 2003-06-06 José Matos <jamatos@fep.up.pt>
2354 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2356 2003-06-06 André Pönitz <poenitz@gmx.net>
2358 * insetwrap.[Ch]: code compactification
2360 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2362 * mailinset.C (updateDialog): use Dialogs::visible
2364 2003-06-04 Angus Leeming <leeming@lyx.org>
2366 * graphicinset.C (draw): add a comment for the #if 0 block.
2368 * insetexternal.h: remove Params::parameters variable.
2369 * insetexternal.C (read, write): rewrite to output new ExternalInset format
2370 and read it back making full use of LyXLex.
2372 2003-06-04 André Pönitz <poenitz@gmx.net>
2374 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2376 2003-06-04 John Levon <levon@movementarian.org>
2378 * insettabular.C: back out tall table speed up. It was broken
2380 2003-06-03 Angus Leeming <leeming@lyx.org>
2382 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2383 Remove ViewCommand and UpdateCommand.
2385 * graphicinset.C (update): bug fix. Set the params before calling the
2387 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
2388 BufferView cache to enable the InsetExternal::editCommand to be invoked
2389 from the frontends. Would not be needed if this were dispatched properly.
2390 (old_ascent_): variable removed.
2392 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2393 do any necessary conversions of external material. Also use the
2394 new GraphicsInset to display the inset within LyX.
2396 2003-06-03 Angus Leeming <leeming@lyx.org>
2398 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2399 and move it somewhere where InsetExternal can use it too.
2401 * Makefile.am: add the new files.
2403 * insetgraphics.[Ch]: make use of the new GraphicInset.
2405 2003-06-03 John Levon <levon@movementarian.org>
2408 * insetbibitem.[Ch]:
2411 * insetcommand.[Ch]:
2415 * insetexternal.[Ch]:
2419 * insetgraphics.[Ch]:
2421 * insetinclude.[Ch]:
2424 * insetlatexaccent.[Ch]:
2425 * insetmarginal.[Ch]:
2426 * insetminipage.[Ch]:
2433 * insetspecialchar.[Ch]:
2434 * insettabular.[Ch]:
2436 * insetthereom.[Ch]:
2439 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2441 * insetgraphics.[Ch]:
2442 * insetgraphicsParams.[Ch]: always store an absolute
2445 2003-06-02 André Pönitz <poenitz@gmx.net>
2449 * insetlatexaccent.C: remove duplicated call to metrics()
2451 2003-06-02 John Levon <levon@movementarian.org>
2453 * insettabular.C: fix resize of column width
2455 2003-06-02 John Levon <levon@movementarian.org>
2460 * insetparent.C: remove insetparent
2462 2003-06-02 André Pönitz <poenitz@gmx.net>
2469 * insetcollapsable.[Ch]:
2473 * insetgraphics.[Ch]:
2474 * insetinclude.[Ch]:
2475 * insetlatexaccent.[Ch]:
2476 * insetminipage.[Ch]:
2477 * insetnewline.[Ch]:
2480 * insetspecialchar.[Ch]:
2481 * insettabular.[Ch]:
2482 * insettext.[Ch]: unify first drawing phase
2485 * insetbase.h: move validate() to the base
2487 2003-05-31 Angus Leeming <leeming@lyx.org>
2489 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2491 2003-05-30 André Pönitz <poenitz@gmx.net>
2496 * insetcaption.[Ch]:
2497 * insetcollapsable.[Ch]:
2500 * insetgraphics.[Ch]:
2501 * insetinclude.[Ch]:
2502 * insetlatexaccent.[Ch]:
2503 * insetnewline.[Ch]:
2506 * insetspecialchar.[Ch]:
2507 * insettabular.[Ch]:
2509 * updatableinset.[Ch]: unify second drawing phase
2511 2003-05-30 John Levon <levon@movementarian.org>
2513 * insetgraphics.C: fix a bformat
2515 2003-05-29 John Levon <levon@movementarian.org>
2517 * insettabular.C: remove unused bufferOwner()
2519 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2521 * insettext.C (lockInsetInInset): adjust
2522 (getLabelList): use const_iterator, adjust
2523 (getInsetFromID): use const_iterator, adjust
2524 (addPreview): use const_iterator, adjust
2526 * insetwrap.C (clone): remove const_cast
2528 * insetnote.C (clone): remove const_cast
2530 * insetminipage.C (clone): remove const_cast
2532 * insetmarginal.C (clone): remove const_cast
2534 * insetfoot.C (clone): remove const_cast
2536 * insetfloat.C (clone): remove const_cast
2538 * insetert.C (clone): remove const_cast
2540 * delete commented same_id functions from a lot of files.
2542 2003-05-28 John Levon <levon@movementarian.org>
2548 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2550 * insetminipage.C: fix metrics (bug 1144)
2552 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2554 * insettext.C (saveLyXTextState): adjust
2555 (restoreLyXTextState): adjust
2558 (unlockInsetInInset): adjust
2559 (localDispatch): adjust
2560 (getLyXText): adjust
2562 * insettabular.C (insertAsciiString): adjust
2564 2003-05-27 André Pönitz <poenitz@gmx.net>
2567 * insetcollapsable.C:
2570 * insetlatexaccent.C:
2575 * insetspecialchar.C:
2577 * insettext.C: dim.w -> dim.wid
2579 2003-05-26 John Levon <levon@movementarian.org>
2581 * insettabular.C: avoid drawing all of a long table
2582 if it's not needed. A big speedup
2584 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2586 * remove same_id from function signatures, adjust
2588 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2590 * insettext.C (InsetText): adjust
2592 (setParagraphData): separate same_id cases, adjust
2593 (appendParagraphs): adjust
2594 (appendParagraphs): adjust
2596 2003-05-23 André Pönitz <poenitz@gmx.net>
2598 * insetbutton.h: whitespace
2600 * insettabular.C: more compact code
2602 * updatableinset.C: remove const_cast
2605 2003-05-23 Angus Leeming <leeming@lyx.org>
2607 * insetexternal.C (write): check how many lines are output.
2608 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2609 if the template has defined it.
2611 2003-05-23 Angus Leeming <leeming@lyx.org>
2613 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2615 2003-05-23 Angus Leeming <leeming@lyx.org>
2617 * insetfoot.C (latex):
2618 * inseturl.C (latex): rename fragile as moving_arg.
2620 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2622 * inseterror.C (localDispatch): comment out unused var.
2624 2003-05-22 Angus Leeming <leeming@lyx.org>
2626 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2627 passed through the LatexRunParams arg.
2629 2003-05-22 Angus Leeming <leeming@lyx.org>
2631 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2632 through the LatexRunParams arg.
2634 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2635 arg rather than through a global var.
2637 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2639 * insetspecialchar.C (dimension): use a string.
2641 2003-05-22 Angus Leeming <leeming@lyx.org>
2643 * insetbibtex.C (latex):
2644 * insetgraphics.C (latex):
2645 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2646 runparams rather than from the buffer itself.
2648 2003-05-22 Angus Leeming <leeming@lyx.org>
2650 * inset*.[Ch] (latex):
2651 passed a LatexRunParams parameter.
2653 * insetgraphics.C (latex): actually use it ;-)
2655 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2657 * insetfloat.C (addToToc): trivial compile fix
2659 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2661 * insettext.[Ch] (paragraph): delete unused function
2663 * insetfloat.C (addToToc): parlist simplfication
2665 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2667 * insetspace.[Ch]: added (new space insets)
2669 * inset.h: handle new space insets
2671 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2673 * insetfloat.C (addToToc): adjust
2675 2003-05-21 André Pönitz <poenitz@gmx.net>
2677 * insettext.[Ch]: fix drawing bug introduced earlier
2679 2003-05-19 André Pönitz <poenitz@gmx.net>
2681 * insetspecialchar.C: fix bug introduced yesterday
2683 2003-05-19 André Pönitz <poenitz@gmx.net>
2687 * insetcollapsable.[Ch]:
2691 * insetgraphics.[Ch]:
2692 * insetgraphicsParams.[Ch]:
2693 * insetlatexaccent.[Ch]:
2694 * insetminipage.[Ch]:
2695 * insetnewline.[Ch]:
2697 * insetspecialchar.[Ch]:
2698 * insettabular.[Ch]:
2699 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2701 2003-05-19 André Pönitz <poenitz@gmx.net>
2704 * insettext.C: more insetenv
2706 2003-05-16 André Pönitz <poenitz@gmx.net>
2709 * insetminimpage.[Ch]:
2710 * insetcollapsable.[Ch]: fix #832
2712 2003-05-16 André Pönitz <poenitz@gmx.net>
2715 * insetbibitem.[Ch]:
2719 * insetcollapsable.[Ch]:
2720 * insetcommand.[Ch]:
2723 * insetexternal.[Ch]:
2724 * insetfloatlist.[Ch]:
2725 * insetgraphics.[Ch]:
2726 * insetinclude.[Ch]:
2729 * insetlatexaccent.[Ch]:
2732 * insettabular.[Ch]:
2736 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2738 2003-05-13 André Pönitz <poenitz@gmx.net>
2741 * insetcollapsable.C:
2745 * insetwrap.C: tostr from own header
2757 * insetwrap.C: STRCONV
2760 2003-05-12 André Pönitz <poenitz@gmx.net>
2772 * insetwwrap.C: boost::format -> bformat all over the place
2774 2003-05-05 André Pönitz <poenitz@gmx.net>
2776 * insettext.h: add missing #include <map>
2778 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2780 * insettext.C (InsetText): parlist cleanup
2783 (insetUnlock): ditto
2785 (lockInsetInInset): ditto
2789 (searchBackward): ditto
2790 (collapseParagraphs): ditto
2792 2003-05-06 John Levon <levon@movementarian.org>
2794 * insetcaption.C: don't cast wrap inset to InsetFloat
2797 * insetfloat.C: remove unneeded type() function
2799 2003-05-05 André Pönitz <poenitz@gmx.net>
2803 * insettabular.[Ch]:
2804 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2805 replace getFirstParagraph() by getParagraphs()
2807 2003-05-03 John Levon <levon@movementarian.org>
2809 * insetcollapsable.h:
2810 * insetcollapsable.C:
2816 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2817 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2818 getCursor(). Remove explicit cursor hides.
2820 2003-05-02 André Pönitz <poenitz@gmx.net>
2822 * insettext.C: remove unneeded &*
2824 2003-04-30 John Levon <levon@movementarian.org>
2826 * insettabular.C: fix edit message
2828 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2830 * insettext.C (setFont): do not convert iterator -> pointer
2832 * insettabular.C (localDispatch): do not convert iterator -> pointer
2834 (tabularFeatures): ditto
2836 2003-04-29 André Pönitz <poenitz@gmx.net>
2838 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2840 2003-04-28 André Pönitz <poenitz@gmx.net>
2842 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2845 2003-04-25 André Pönitz <poenitz@gmx.net>
2847 * insetenv.C: derive from InsetText instead of InsetCollapsable
2849 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2851 * insetexternal.C (string2params): dont do anything if the string
2853 * insetgraphics.C (string2params): ditto
2854 * insetcommand.C (string2params): ditto
2855 * insetert.C (string2params): ditto
2856 * insetfloat.C (string2params): ditto
2857 * insetinclude.C (string2params): ditto
2858 * insetminipage.C (string2params): ditto
2859 * insettabular.C (string2params): ditto
2860 * insetwrap.C (string2params): ditto
2862 2003-04-24 André Pönitz <poenitz@gmx.net>
2864 * insetref.C: support for eqref
2866 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2868 * insetert.C (read): use ParagraphList::iterator.
2870 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2872 * insetquotes.C (latex): comment some code and add warnings.
2874 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2876 * insetexternal.C (localDispatch): added a missing DISPATCHED
2878 2003-04-12 John Levon <levon@movementarian.org>
2880 * insetwrap.C (addToToc): fix a crash, conversion
2881 from while to for loop forgot to remove the explicit
2884 2003-04-10 John Levon <levon@movementarian.org>
2886 * insettabular.C (tabularFeature): make sure
2887 to update the dialog when we change something
2890 (getStatus): don't disable some lfuns (bug 939)
2892 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2894 * insettext.C (saveLyXTextState): adjust
2895 (localDispatch): adjust
2901 * insettabular.C (localDispatch): adjust
2903 (tabularFeatures): adjust
2905 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2907 * insettabular.C (searchForward,searchBackward): fix bug 782
2909 2003-04-07 John Levon <levon@movementarian.org>
2912 * insettext.C: clear status message on inset exit
2914 2003-04-03 John Levon <levon@movementarian.org>
2916 * insetcommand.C: return dispatched on DIALOG_UPDATE
2918 2003-04-02 John Levon <levon@movementarian.org>
2920 * insettabular.C: tab lfuns renamed
2922 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2924 * insettext.C (update): move towards ParagraphList
2925 (updateLocal): ditto
2927 (insetUnlock): ditto
2929 (lockInsetInInset): ditto
2930 (updateInsetInInset): ditto
2931 (localDispatch): ditto
2934 (resizeLyXText): ditto
2935 (searchBackward): ditto
2936 (collapseParagraphs): ditto
2939 * insetwrap.C (InsetWrap): adjust
2940 (addToToc): adjust and rewrite loop
2942 * insettext.[Ch] (paragraph): delete function
2944 * insettabular.C (moveNextCell): adjust
2945 (movePrevCell): adjust
2946 (insertAsciiString): adjust
2948 * insetfloat.C (InsetFloat): adjust
2951 * insetert.C (InsetERT): adjust
2952 (write): adjust, and rewrite loop
2953 (latex): adjust, and rewrite loop
2954 (linuxdoc): adjust, and rewrite loop
2955 (docbook): adjust, and rewrite loop
2956 (localDispatch): adjust
2957 (get_new_label): adjust
2959 2003-04-01 John Levon <levon@movementarian.org>
2961 From Alfredo Braunstein
2964 * insetbutton.C: add localDispatch()
2966 * insetcommand.C: return DISPATCHED when edit() called
2968 * insettext.C: fix bug 967
2970 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2972 * insettext.C: adjust
2974 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2976 * insettext.C (draw): adjust
2977 (crow): return a RowList::iterator not a Row*
2979 * insetminipage.C (localDispatch): adjust
2981 * insetert.C (localDispatch): adjust
2983 2003-03-31 John Levon <levon@movementarian.org>
2986 * insetgraphicsParams.C: use_gui moved to lyx_gui
2988 2003-03-31 John Levon <levon@movementarian.org>
2990 * insettext.C: Alert fix
2992 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2994 * insettext.C (ascent): adjust for RowList
2997 (getLyXText): adjust
2998 (toggleSelection): adjust
3000 * insetminipage.C (localDispatch): adjust for RowList
3002 * insetert.C (localDispatch): adjust for RowList
3003 (getMaxWidth): adjust for RowList
3005 2003-03-29 John Levon <levon@movementarian.org>
3007 * insetert.C: Alert cleanup
3009 2003-03-29 John Levon <levon@movementarian.org>
3011 * insettabular.C: Alert fix
3013 2003-03-28 John Levon <levon@movementarian.org>
3015 * insetfloat.C: reset label on INSET_MODIFY
3017 2003-03-28 John Levon <levon@movementarian.org>
3019 * insetgraphicsParams.C: read subcaptionText as a whole line
3022 2003-03-28 John Levon <levon@movementarian.org>
3024 * insettext.C: remove unused prototypes
3026 2003-03-25 Angus Leeming <leeming@lyx.org>
3028 * insetbibitem.C (localDispatch): repaint the view after modifying
3029 a bibitem inset in case the maximum InsetBibitem width has changed.
3031 2003-03-25 John Levon <levon@movementarian.org>
3034 * insettabular.C: LyXText renamings
3036 2003-03-24 John Levon <levon@movementarian.org>
3038 * insettext.C: remove some dead code. Fix bug 972 and
3039 related by posting a repaint in updateLocal(), and making
3040 the SEL functions set SELECTION.
3042 2003-03-22 John Levon <levon@movementarian.org>
3045 * inset.C: remove no-longer-needed topx_set
3047 * insetcollapsable.h:
3048 * insetcollapsable.C: remove dead code
3051 * insetert.C: rebreak the rows when a possible
3052 change in size is made, and reset the cursor
3055 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3057 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3058 topx_set. Fix drawing errors for clearInset(). Remove
3059 some unnecessary uses of topx, which should die.
3061 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3062 is no longer needed. Replace it with an ugly hack.
3064 2003-03-20 John Levon <levon@movementarian.org>
3067 * insetcollapsable.h:
3068 * insetcollapsable.C:
3076 * insettext.C: remove spurious font parameter
3077 from update(). Fix drawing of ERT insets inside
3078 insets (bug 966). Remove unused mark_dirty from
3079 tabular's updateLocal()
3081 2003-03-19 John Levon <levon@movementarian.org>
3090 * insetwrap.C: remove unused getter/setters
3092 2003-03-19 John Levon <levon@movementarian.org>
3094 * several files: bv->updateInset() doesn't take
3095 a bool mark_dirty any more
3097 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3099 * adjust for BufferView* arg removal from lyxtext.
3101 2003-03-17 John Levon <levon@movementarian.org>
3103 * most files: remove the "cleared" parameter
3104 to draw in favour of always clearing. Associated
3107 2003-03-16 John Levon <levon@movementarian.org>
3109 * insettext.C: remove unused s.refresh
3111 2003-03-13 Angus Leeming <leeming@lyx.org>
3113 * insettext.C (edit): replace Dialogs::updateParagraph with
3114 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3116 2003-03-13 André Pönitz <poenitz@gmx.net>
3118 * Makefile.am: insert insetenv
3120 * insethenv.[Ch]: new files, currently inactive
3122 2003-03-12 John Levon <levon@movementarian.org>
3132 * insettext.C: use new insetnewline
3134 2003-03-12 John Levon <levon@movementarian.org>
3136 * insettext.C: readToken became readParagraph
3138 2003-03-12 John Levon <levon@movementarian.org>
3140 * insettext.C: use parlist iterator for reading contents
3142 2003-03-12 John Levon <levon@movementarian.org>
3144 * insettext.C: name change to readToken()
3146 2003-03-11 André Pönitz <poenitz@gmx.net>
3148 * Makefile.am: insert insethfill
3150 * insethfill.[Ch]: new files
3152 2003-03-10 Angus Leeming <leeming@lyx.org>
3154 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3156 (hideDialog): calls the new static Dialogs::hide() method.
3158 * insetbibitem.C (edit):
3159 * insetbibtex.C (edit):
3160 * insetcite.C (edit):
3161 * insetcommand.C (localDispatch):
3162 * inseterror.C (d-tor):
3163 * insetert.C (showInsetDialog):
3164 * insetexternal.C (localDispatch, edit):
3165 * insetfloat.C (localDispatch, showInsetDialog):
3166 * insetfloatlist.C (edit):
3167 * insetgraphics.C (localDispatch, edit):
3168 * insetinclude.C (localDispatch, edit):
3169 * insetindex.C (edit):
3170 * insetlabel.C (edit):
3171 * insetminipage.C (localDispatch, showInsetDialog):
3172 * insetref.C (edit):
3173 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3174 resetPos, showInsetDialog, openLayoutDialog):
3175 * insettoc.C (edit):
3176 * inseturl.C (edit):
3177 * insetwrap.C (localDispatch, showInsetDialog):
3178 changes due to the changed MailInset interface.
3180 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3182 * insetfloat.h: Set default placement to an empty string.
3184 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3186 * insettext.C (latex): adjust call to latexParagraphs.
3188 2003-03-10 Angus Leeming <leeming@lyx.org>
3190 * mailinset.C: warn the user if the BufferView has not been cached.
3192 2003-03-10 Angus Leeming <leeming@lyx.org>
3194 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3196 * insetcommand.h (inset):
3197 * insetert.h (inset):
3198 * insetexternal.h (inset):
3199 * insetfloat.h (inset):
3200 * insetgraphics.h (inset):
3201 * insetinclude.h (inset):
3202 * insetminipage.h (inset):
3203 * insettabular.h (inset):
3204 * insetwrap.h (inset):
3205 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3207 2003-03-10 Angus Leeming <leeming@lyx.org>
3209 * insetcommand.C (string2params):
3210 * insetexternal.C (string2params):
3211 * insetfloat.C (string2params):
3212 * insetgraphics.C (string2params):
3213 * insetinclude.C (string2params):
3214 * insetminipage.C (string2params):
3215 * insettabular.C (string2params):
3216 * insetwrap.C (string2params): cure warning message about missing
3219 2003-03-09 Angus Leeming <leeming@lyx.org>
3221 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3222 it to communicate with the frontend dialogs.
3224 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3225 contents of this inset!
3227 2003-03-07 Angus Leeming <leeming@lyx.org>
3229 * inseterror.C (localDispatch): new method; calls edit() on
3232 2003-03-07 Angus Leeming <leeming@lyx.org>
3234 * insetbibitem.C (localDispatch):
3235 * insetbibtex.C (localDispatch):
3236 * insetlabel.C (localDispatch):
3237 rewrite as a switch.
3239 2003-03-07 Angus Leeming <leeming@lyx.org>
3241 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3242 it to communicate with the frontend dialogs.
3244 2003-03-07 Angus Leeming <leeming@lyx.org>
3246 * insetexternal.C: remove operator== and operator!= for
3247 InsetExternal::Params. They were used only by the old controller
3250 2003-03-07 Angus Leeming <leeming@lyx.org>
3252 * insetcommand.C (localDispatch):
3253 * insetexternal.C (localDispatch):
3254 * insetfloat.C (localDispatch):
3255 * insetinclude.C (localDispatch):
3256 * insetminipage.C (localDispatch):
3257 * insetwrap.C (localDispatch):
3258 add LFUN_INSET_DIALOG_UPDATE to the switch.
3260 2003-03-07 Angus Leeming <leeming@lyx.org>
3262 * insetcommand.C (string2params):
3263 * insetexternal.C (string2params):
3264 * insetfloat.C (string2params):
3265 * insetinclude.C (string2params):
3266 * insetwrap.C (string2params): use LyXLeX more.
3269 * insetexternal.[Ch]:
3271 * insetinclude.[Ch]:
3272 * insetwrap.[Ch]: change Mailer::name_ to be static.
3274 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3275 it to communicate with the frontend dialogs.
3277 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3280 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3282 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3284 * insettext.C (updateLocal): un-const function
3285 (updateLocal): adjust
3286 (collapseParagraphs): un-const function
3287 (collapseParagraphs): adjust
3289 2003-03-05 Angus Leeming <leeming@lyx.org>
3291 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3292 it to communicate with the frontend dialogs.
3294 2003-03-05 Angus Leeming <leeming@lyx.org>
3296 * insetcollapsable.C (draw): cache the BufferView.
3298 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3299 it to communicate with the frontend dialogs.
3301 2003-03-05 Angus Leeming <leeming@lyx.org>
3303 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3306 2003-03-05 Angus Leeming <leeming@lyx.org>
3308 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3310 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3311 it to communicate with the frontend dialogs.
3313 2003-03-05 Angus Leeming <leeming@lyx.org>
3315 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3316 it to communicate with the frontend dialogs.
3318 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3320 * insettext.C (collapseParagraphs): adjust
3321 (appendParagraphs): make it take a Buffer* instead of a
3322 BufferParams& as arg.
3323 (appendParagraphs): adjust
3325 2003-03-04 Angus Leeming <leeming@lyx.org>
3327 * insetbibitem.C (localDispatch):
3328 * insetbibtex.C (localDispatch):
3329 * insetcommand.C (localDispatch):
3330 * insetert.C (localDispatch):
3331 * insetlabel.C (localDispatch):
3332 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3334 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3336 * insettext.C (latex): adjust for ParagraphList::iterator
3338 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3340 * insetbutton.C (view): adjust for boost 1.30.0
3341 * insetcollapsable.C (view): ditto
3342 * insetgraphics.C (statusChanged): ditto
3344 * insettext.h: move paragraphs to be public.
3346 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3348 * insetnote.[Ch] (InsetNote): remove unused constructor
3350 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3352 * insetgraphics.C: added include "format.h"
3354 2003-02-27 Angus Leeming <leeming@lyx.org>
3356 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3359 2003-02-27 Angus Leeming <leeming@lyx.org>
3361 * insetbibitem.C (localDispatch):
3362 * insetbibtex.C (localDispatch):
3365 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3367 2003-02-26 Angus Leeming <leeming@lyx.org>
3369 * insetbibitem.[Ch] (localDispatch):
3370 * insetbibtex.[Ch] (localDispatch):
3371 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3373 * insetcommand.C (localDispatch):
3374 act only on receipt of LFUN_XYZ_APPLY.
3376 * insetert.C (localDispatch): reformat.
3377 add LFUN_XYZ_APPLY to the switch.
3379 2003-02-26 John Levon <levon@movementarian.org>
3381 * insettext.C: use RowPainter
3383 * inset.h: make helpers take const *
3385 2003-02-26 Angus Leeming <leeming@lyx.org>
3387 * insetcommand.[Ch] (localDispatch): new method.
3389 2003-02-26 Angus Leeming <leeming@lyx.org>
3391 * insetinclude.C (draw): cache the BufferView* using cache not
3392 PreviewImpl::setView
3394 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3396 * insetgraphics.C (draw)
3397 * insetinclude.C (draw): Eliminate also the other argument (owner
3398 inset inset) in the call to PreviewImage::image
3400 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3402 * insetgraphics.C (draw)
3403 * insetinclude.C (draw): Eliminate Buferview argument in call to
3406 2003-02-25 John Levon <levon@movementarian.org>
3408 * insetgraphicsParams.h:
3409 * insetgraphics.C: don't start a load process if
3410 the inset is set to NoDisplay (bug #920)
3412 2003-02-22 John Levon <levon@movementarian.org>
3415 * insetwrap.C: TocItem changed API (bug 913)
3417 2003-02-21 Angus Leeming <leeming@lyx.org>
3419 * insetcollapsable.[Ch] (cache, edit):
3420 * insetbutton.[Ch] (cache, edit): new methods to cache the
3421 BufferView in the draw method.
3423 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3424 simplify comunication between InsetCommand-derived classes and
3427 * insetbibitem.[Ch]:
3431 * insetfloatlist.[Ch]:
3435 * inseturl.[Ch]: small changes to reflect the new interface to the
3438 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3439 other, similar classes.
3441 * Makefile.am: add new files.
3443 2003-02-21 Angus Leeming <leeming@lyx.org>
3445 * updatableinset.h (setView, view): remove.
3446 * inset.h (view, cache): to be replaced by these.
3448 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3451 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3454 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3456 2003-02-21 Allan Rae <rae@lyx.org>
3458 * insetinclude.C (loadIfNeeded): ensure loading also works when
3459 child document is under version control.
3461 2003-02-17 André Pönitz <poenitz@gmx.net>
3463 * insetbib.[Ch]: Adjust access to bibkeys
3465 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3467 * insetquotes.C (dispString): remove use of acute accent for "'"
3470 2003-02-14 John Levon <levon@movementarian.org>
3472 * insettabular.C: changed method names in tabular.C
3474 2003-02-14 John Levon <levon@movementarian.org>
3478 * insetcollapsable.h:
3479 * insetcollapsable.C:
3483 * insettext.C: remove unused getParFromID()
3485 2003-02-13 John Levon <levon@movementarian.org>
3488 * insettext.C: remove unused beginningofMainBody()
3490 2003-02-08 John Levon <levon@movementarian.org>
3494 * insetcollapsable.h:
3495 * insetcollapsable.C:
3500 add nextChange(). Make allowSpellcheck() const. Add markErased().
3502 * insetert.C: ignore deleted text
3504 * insettabular.C: make sure to keep change tracking working
3507 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3512 * insettext.C: Use error messages with identical spelling and punctuation
3514 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3516 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3518 2002-12-17 Juergen Vigna <jug@lyx.org>
3520 * insettext.C (localDispatch): hopefully fixed cursor up down
3521 movement on leaving other insets.
3523 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3525 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3528 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3530 * insetgraphics.C (prepareFile): do not remove the extension of
3531 the file name if it is not the default extension for the given
3532 format (that is, in latex output, remove extension from foo.eps,
3533 but not from foo.epsi)
3535 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3537 * insettext.C (lfunMouseRelease): hackish solution to the "double
3540 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3542 * insetfloat.C (addToToc): use the floats name not its type
3543 * insetwrap.C (addToToc): ditto
3545 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3547 * insetnote.C (init): make label font smaller
3549 2002-12-04 John Levon <levon@movementarian.org>
3551 * insetinclude.C: ressurect setting of command name
3553 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3555 * insetquotes.C (dispString): disambiguate insert call
3557 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3559 * several files: ws changes
3561 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3563 * insetquotes.C (dispString): use string::insert for prepending a
3566 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3568 * insetparent.C (getScreenLabel): use boost::format
3570 * insetgraphics.C (prepareFile): use boost::format
3573 * insetfloatlist.C (latex): use boost::format
3575 * insetcaption.C (draw): use boost::format
3577 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3579 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3582 2002-11-20 Juergen Vigna <jug@sad.it>
3584 * insettabular.C (resetPos): temporary fix for endless loop in
3585 this function on a redraw.
3587 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3589 * insettabular.C (copySelection): STRCONV
3591 * insetinclude.C (uniqueID): STRCONV
3592 (latexString): ditto
3594 * insetgraphics.C: put VersionNumber inside anon namespace
3595 (createLatexOptions): STRCONV
3597 * insetcommandparams.C: include config.h
3599 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3601 * insetgraphicsParams.C (Write): use lyx::float_equal.
3602 Write height data correctly.
3603 (Read): zero scale when reading height data.
3605 2002-10-30 John Levon <levon@movementarian.org>
3607 * insetfloat.C (addToTOC): recursively traverse all
3608 contents looking for captions (fix #568)
3610 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3612 * insetexternal.C (doSubstitution): do not try to replace
3613 environment variables, this is done when executing the command
3615 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3617 * insetexternal.C (doSubstitution): change order of substitution
3618 to work around ReplaceEnvironmentPath brokenness
3620 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3622 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3624 * insetgraphicsParams.C (init, Write): associated changes
3625 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3626 InsetGraphicsParams::scale.
3628 2002-10-21 John Levon <levon@movementarian.org>
3630 * inset.h: remove unused DISPATCH_RESULT
3632 * insettext.C: sgml open/close tag now in sgml namespace
3634 2002-10-21 Angus Leeming <leeming@lyx.org>
3636 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3637 file path subdir/fig.eps when pasting it into a buffer in a different
3640 2002-10-16 John Levon <levon@movementarian.org>
3642 * insetspecialchar.C: remove \\protected_separator parsing
3644 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3646 * insetquote.C: fix LaTeX output of quotation marks.
3648 2002-10-14 Juergen Vigna <jug@sad.it>
3650 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3651 Backspace functions which confused the Undo handling.
3653 2002-10-09 Angus Leeming <leeming@lyx.org>
3655 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3656 BufferView::dispatch that turns off this optimisation when a new inset
3659 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3660 reload the BibTeX keys.
3662 2002-10-11 André Pönitz <poenitz@gmx.net>
3664 * insettext.h: handle LFUN_PRIOR/NEXT
3666 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3668 * insetfloat.C: fix bug with float settings
3669 (document default != float default).
3671 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3673 * insetwrap.C (addToToc): New method.
3674 (InsetWrap): Set layout to caption.
3676 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3678 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3680 2002-09-16 John Levon <levon@movementarian.org>
3682 * insettabular.h: hasSelection() needs to be public
3684 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3686 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3688 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3690 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3692 2002-09-11 André Pönitz <poenitz@gmx.net>
3694 * insettabular.C: implement LFUN_WORDSEL
3696 2002-09-10 John Levon <levon@movementarian.org>
3698 * insetinclude.h: remove unused param
3700 2002-09-09 John Levon <levon@movementarian.org>
3703 * insetinclude.C: remove noload, default to input
3705 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3707 * insetgraphics.C: disfuscated use of ']' in built output string.
3709 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3711 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3713 2002-08-29 Juergen Vigna <jug@sad.it>
3715 * insettabular.C (lfunMousePress): Pay attention where you set
3716 the x/y values as they depend on which inset in the tabular is
3717 actually locked. So you surely have to reset them if you (un)lock
3720 2002-08-29 André Pönitz <poenitz@gmx.net>
3722 * insetfootlike.h: rename include guard to ALL CAPS
3724 * insettext.C: swap object and first parameter for checkInsetHit calls
3725 as this functions has moved from BufferView to LyXText
3728 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3730 * insetgraphicsParams.C: remove local displayTranslator and use
3731 the one from graphics/GraphicsTypes.h.
3733 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3735 * insetfloat.C (wide): add BufferParams parameter
3737 * insetfloatlist.C (read):
3740 * insetfloat.C (latex):
3742 * insetcaption.C (draw): use LyXTextClass::floats()
3744 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3746 * insetoptarg.h: add std:: qualifier.
3748 2002-08-26 Juergen Vigna <jug@sad.it>
3750 * insettext.C (localDispatch): ditto.
3752 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3754 2002-08-25 John Levon <levon@movementarian.org>
3756 * inseturl.C: elide long URLs (bug 404)
3758 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3760 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3761 remove "Format Version <version_no.>" string from inset header
3764 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3766 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3767 a member of "grfx::Params" anymore.
3769 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3771 2002-08-24 John Levon <levon@movementarian.org>
3774 * insetoptarg.C: ws, pedantry ...
3776 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3778 * insettext.C (collapseParagraphs): pasteParagraph now in global
3780 (appendParagraphs): ditto
3782 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3784 * insetcite.C (latex): Remove spaces only after commmas.
3786 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3788 * insettext.C: remove NO_COMPABILITY stuff
3790 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3792 * insettext.C (edit): use ParagraphList iterators
3794 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3795 (bibitemWidest): ditto
3797 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3799 * insettext.C: include <boost/bind.hpp>
3800 add using std::for_each
3801 (saveLyXTextState): use ParagraphsList::iterator
3802 (init): use for_each on paragraphlist iterators
3803 (InsetText): remove superflous setting cached_bview to 0
3804 (latex): reformat a bit
3805 (ascii): use paragraphlist iterators
3806 (validate): use for_each + boost bind
3807 (getLabelList): use paragraphlist iterators
3808 (deleteLyXText): use for_each + boost::bind
3809 (resizeLyXText): ditto
3810 (reinitLyXText): ditto
3811 (removeNewlines): use paragraphlist iterators
3812 (getParFromID): ditto
3813 (paragraph): use for_each + boost::bind
3814 (getInsetFromID): use paragraphlist iterators
3815 (getLabelList): typo fix
3817 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3819 * insettext.C (read): assign tmp to paragraphs after return from
3820 call to parseSingleLyXformat2Token
3823 2002-08-13 Angus Leeming <leeming@lyx.org>
3842 changes due to the changed LyXView interface that now returns references
3843 to member variables not pointers.
3845 2002-08-13 Angus Leeming <leeming@lyx.org>
3848 * insetcollapsable.h:
3851 * insettext.h: forward-declare WordLangTuple
3852 (selectNextWordToSpellcheck) constify return type.
3855 * insetcollapsable.C:
3858 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3860 2002-08-12 Angus Leeming <leeming@lyx.org>
3862 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3864 2002-08-12 Juergen Vigna <jug@sad.it>
3866 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3869 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3871 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3872 (bibitemWidest): ditto
3873 * insettext.[Ch]: ditto
3875 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3877 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3879 2002-08-09 Angus Leeming <leeming@lyx.org>
3881 * insetinclude.C (latexString): remove fudge now that I've found out
3882 how to enable LaTeX to find the file using input@path.
3884 2002-08-09 John Levon <levon@movementarian.org>
3887 * insettext.C: remove unused xpos
3889 2002-08-07 Juergen Vigna <jug@lyx.org>
3891 * insettabular.C (localDispatch): make delete not put the stuff
3892 in the clipboard only do this on a cut operation.
3894 * insettext.C (localDispatch): make delete and backspace not put
3895 selected stuff to the clipboard.
3897 2002-08-07 André Pönitz <poenitz@gmx.net>
3900 * insetcollapsable.[Ch]:
3904 * insettabular.[Ch]:
3905 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3907 2002-08-06 John Levon <levon@movementarian.org>
3911 * insetcollapsable.h:
3912 * insetcollapsable.C:
3918 * insettext.C: use WordLangTuple for spellcheck
3920 2002-08-06 Angus Leeming <leeming@lyx.org>
3922 * insetinclude.C: add a monitor to the previewed image, so that the
3923 image is refreshed if the \input-ed file changes.
3925 2002-08-04 John Levon <levon@movementarian.org>
3928 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3930 2002-08-02 Angus Leeming <leeming@lyx.org>
3932 * insetcommandparams.[Ch] (preview): new methods returning and setting
3933 a new bool preview_ flag.
3934 (read): read this flag.
3935 (operator==): add flag to check.
3937 * insetinclude.C (write): output new preview() flag.
3938 (previewWanted): use this flag.
3940 2002-08-02 Angus Leeming <leeming@lyx.org>
3942 * insetcollapsable.[Ch] (addPreview):
3943 * insettabular.[Ch] (addPreview):
3944 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3945 for insets in insets.
3947 2002-08-02 Angus Leeming <leeming@lyx.org>
3949 * insetcite.C: fix typo.
3951 * insetgraphics.C: kill current_view and instead cache the BufferView
3954 * insetinclude.C: kill current_view and pass the BufferView to the
3955 PreviewedInset so that it can cache it.
3957 2002-08-01 Angus Leeming <leeming@lyx.org>
3959 * inset.h (generatePreview): renamed as addPreview.
3960 (generatePreview): new method. Allows code to be moved out of
3961 math_nestinset.C and into the new PreviewedInset class.
3963 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3964 add previews to the inset when \input-ing LaTeX.
3966 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3968 * several files: strip,frontStrip -> trim,ltrim,rtrim
3970 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3972 * insetbib.C (latex): modify because of strip changes
3974 * insetnote.C (InsetNote): ditto
3976 2002-07-26 Juergen Vigna <jug@sad.it>
3978 * insettabular.C (searchForward): check for lastcell if we
3979 had a locking inset.
3981 2002-07-25 Juergen Vigna <jug@sad.it>
3983 * insettabular.C (insetMotionNotify): Don't update the screen
3984 if we didn't do nothing.
3985 (searchForward): last cell was not checked.
3987 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3989 * insetfloat.C (read, write): Allow default placement
3990 (floatPlacement_ is empty).
3992 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3994 * insetminipage.h (noFontChange):
3995 * insettabular.h (noFontChange):
3996 * insetfootlike.h (noFontChange):
3997 * insetfloat.h (noFontChange): return true
3999 * inset.h (noFontChange): new method, defaulting to false
4001 2002-07-22 Herbert Voss <voss@lyx.org>
4003 * insetgraphicsParams.[Ch]: support size_type for old docs
4005 2002-07-22 Herbert Voss <voss@lyx.org>
4008 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4011 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4013 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4015 * insetlatexaccent.h: do not include "lyxlex.h"
4017 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4020 * insetlatexaccent.C:
4024 * insetbib.C: #include "lyxlex.h"
4030 * insettext.C: use BufferParams::getLyXTextClass
4033 * insetfloat.C (addToToc): new method. Add to toclist the entries
4034 corresponding to Caption layouts
4035 (InsetFloat): when creating a new float, set the layout to "Caption"
4037 2002-07-21 Herbert Voss <voss@lyx.org>
4039 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4040 image relevant part into graphics/GraphicsImgae.C
4042 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4044 * insettoc.C (ascii):
4045 * insetfloatlist.C (ascii): change to use the new Toc functions
4046 instead of stuff that was in Buffer
4048 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4050 * insettext.C (localDispatch): BufferView::Dispatch has been
4051 renamed to BufferView::dispatch
4053 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4055 * insetgraphicsParams.C (as_grfxParams): use the new
4056 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4057 1.2.0 patch, and I do not really know how to adapt it to the new
4058 grfx::Cache world. Angus, please could you have a look?
4060 2002-05-01 Herbert Voss <voss@lyx.org>
4062 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4064 2002-07-18 Angus Leeming <leeming@lyx.org>
4066 * insetgraphics.C: clean-up comments (from Herbert).
4067 add a new checksum variable to the cache. Use it in PrepareFile.
4068 (draw): start monitoring the file for a change.
4069 (prepareFile): re-arrange a little to avoid unnecessary steps.
4071 2002-07-17 Angus Leeming <leeming@lyx.org>
4073 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4074 a method rather than to the signal directly.
4076 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4078 * insettext.C: use view_state_changed, switchKeyMap
4080 2002-07-17 Herbert Voss <voss@perce.de>
4082 * insetgraphics.C (prepareFile): keep the extension when
4083 exporting to nice file
4085 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4087 * insetcite.C (getNatbibLabel):
4088 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4090 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4092 * insetgraphics.C: use ->isDrawable()
4094 2002-07-12 Angus Leeming <leeming@lyx.org>
4096 * insetgraphics.C: use the new smart loading capabilities of the image
4099 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4101 * insettabular.C (edit): Move into correct cell when entering a
4104 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4107 2002-07-05 Angus Leeming <leeming@lyx.org>
4109 * inset.h (generatePreview): new virtual method.
4111 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4113 * insetcommandparams.[Ch] (operator=): move out of class
4114 (operator!): move out of class
4116 2002-07-04 André Pönitz <poenitz@gmx.net>
4118 * insetcommandparams.[Ch]: new files
4120 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4122 2002-06-15 Herbert Voss <voss@perce.de>
4124 * insetgraphics.C (prepareFile): bugfix; return always
4125 files without extension
4127 2002-06-28 Angus Leeming <leeming@lyx.org>
4129 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4130 rename asGParams -> as_grfxParams.
4132 * insetgraphics.C: reflect above change.
4134 2002-06-26 Angus Leeming <leeming@lyx.org>
4136 * insetgraphics.h: use boost::scoped_ptr in preference to
4139 2002-06-26 Angus Leeming <leeming@lyx.org>
4141 * insetgraphics.C: moved the image loading stuff into a new class
4142 grfx::Loader. Simplifies this file enormously.
4144 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4146 * insetgraphicsParams.C: changes aassociated with moving
4147 grfx::DisplayType out of grfx::GParams.
4149 2002-06-26 André Pönitz <poenitz@gmx.net>
4151 * insetgraphics.C: use os::external_path where necesaary according to a
4152 patch from Claus Hentschel)
4154 2002-06-25 Angus Leeming <leeming@lyx.org>
4156 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4157 generating a pixmap once the graphics file is loaded into memory.
4158 The current_view ugliness that was in grfx::ModifiedImage has been
4159 moved here now that grfx::ModifiedImage is no more.
4161 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4163 * insettext.C: layout as layout
4165 2002-05-28 André Pönitz <poenitz@gmx.net>
4167 * insetfloatlist.h: remove source of compiler warning
4169 * insetref.C: tiny whitespace
4171 2002-06-15 Herbert Voss <voss@perce.de>
4173 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4174 and take always convert when no userdefined converter was
4176 (latex) small changes in the lyxerr output
4178 2002-06-15 LyX Development team <lyx@rilke>
4180 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4181 mixed content. Small white spaces clean.
4183 2002-06-14 Angus Leeming <leeming@lyx.org>
4185 * inseetexternal.C: remove the using std::difftime declaration.
4187 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4189 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4191 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4193 * insetquotes.C (draw): fix drawing of double quotes
4195 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4197 * insettabular.C: s/scrollCB/scrollDocView/
4199 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4201 * insettext.C: change of topCursorVisible()
4204 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4207 * insettext.C: rename/change of LyXScreen
4209 2002-06-07 Angus Leeming <leeming@lyx.org>
4211 Fixes needed to compile with Compaq cxx 6.5.
4213 all c-library variables have been moved into namespace std.
4214 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4216 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4218 * insetinclude.C (uniqueID):
4219 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4220 conflicted with some AIX headers.
4222 2002-05-31 Juergen Vigna <jug@sad.it>
4224 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4228 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4230 * insetexternal.C (clone): fix () bug when using new
4231 (updateExternal): don't only look for difftime in global scope
4233 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4235 * insettabular.C: add const
4237 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4239 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4240 file name, in case there are weird characters like ',' in there.
4243 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4245 * switch from SigC signals to boost::signals.
4247 2002-05-28 André Pönitz <poenitz@gmx.net>
4249 * insets/insetgraphicsParams.[Ch]:
4250 put in inset related stuff from src/graphic
4252 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4260 * insetcollapsable.C:
4261 * insetcollapsable.h:
4289 * inseturl.h: use mouse_state. Kill insetKeyPress
4291 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4296 * insetcollapsable.C:
4299 * insetlatexaccent.C:
4301 * insetspecialchar.C:
4303 * insettext.C: name change for font metrics
4305 2002-05-24 Juergen Vigna <jug@sad.it>
4307 * insetgraphics.h: include inset.h first (for LString.h)
4309 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4311 * insettext.C: screen moved
4313 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4331 * inseturl.C: LyXView moved into frontends/
4333 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4338 * insetcollapsable.C:
4342 * insetgraphicsParams.C:
4343 * insetlatexaccent.C:
4345 * insetspecialchar.C:
4347 * insettext.C: move Painter to frontends/
4349 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4351 * insettabular.h: use more specific smart_ptr header.
4352 * insettext.h: ditto
4354 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4357 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4359 * insettext.C: clear selection on paste (bug 393)
4361 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4363 * insettext.C (latex): Honor the moving_arg argument.
4365 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4367 * insetfoot.C (latex): if a footnote is in a title layout, then it
4368 is a \thanks. And then, its contents is a moving argument.
4370 2002-05-14 Juergen Vigna <jug@sad.it>
4372 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4375 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4377 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4378 when using options "Full author list" or "Upper case".
4380 2002-05-14 Herbert Voss <voss@perce.de>
4382 * insetgraphics.C (prepareFile): allow files with same name
4384 (readFigInset): set the flags from old figinset in the right
4386 (findTargetFormat): more comments
4388 2002-05-14 Juergen Vigna <jug@sad.it>
4390 * insettext.C (edit): tell checkAndActivateInset() that we don't
4391 have a button press.
4392 (checkAndActivateInset): if button < 0 we don't have a button press
4393 on the inset and os we won't call edit on it if it's not a Highly
4394 editable inset (then we have to enter it).
4396 2002-05-13 Juergen Vigna <jug@sad.it>
4398 * insetcollapsable.C (insetButtonRelease): returned wrong return
4401 2002-05-09 Juergen Vigna <jug@sad.it>
4403 * insetcollapsable.C (edit): first_after_edit should only be
4404 set to true if we enter this inset and it was collapsed so we
4405 open it up. This is needed to reclose it after a search/replace
4406 or spellcheck function opened it and was negative.
4408 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4410 * insetfloat.C (latex): Return correct value.
4412 2002-05-04 Herbert Voss <voss@perce.de>
4414 * InsetgraphicsParams.C (read): fix bug with WH
4416 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4418 * insetfloat.C (latex): More sensible latex output
4419 (fix the problem with endfloat).
4421 2002-05-02 José Matos <jamatos@fep.up.pt>
4423 * insetgraphics.C (validate): acess params as everyone else.
4425 2002-05-03 Juergen Vigna <jug@sad.it>
4427 * insettabular.C (fitInsetCursor): recalculate the cursor position
4430 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4432 * InsetgraphicsParams.[Ch]: whitespace.
4434 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4436 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4437 float type do not exist.
4439 2002-04-28 Herbert Voss <voss@perce.de>
4441 * insetgraphics.C (latex): fix bug with missing file-extension.
4442 LaTeX still allows a missing "eps" or "ps".
4444 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4446 * insetfloat.C (c-tor, wide): translate the name of the float.
4448 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4450 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4451 when using natbib and make it work efficiently. Must emphasise that the
4452 real work is Herbert's.
4454 2002-04-23 Herbert Voss <voss@perce.de>
4456 * insetgraphic.C (prepareFile): fix bug with overwriting and
4457 deleting an existing *.eps-file in the doc-dir
4459 2002-04-23 Juergen Vigna <jug@sad.it>
4461 * insettabular.C (drawCellSelection): fix off by 1 error.
4463 2002-04-22 Juergen Vigna <jug@sad.it>
4465 * insettabular.C (setFont): rewoke full selection if it was asked,
4466 after we changed all we had to change.
4468 * insettext.C (insetUnlock): code was uninitialized in some situations.
4470 2002-04-19 Herbert Voss <voss@perce.de>
4472 * insetgraphic.C (prepareFile): return filename without
4473 extension if we only export without compiling
4475 2002-04-19 Juergen Vigna <jug@sad.it>
4477 * insettext.C (draw): call a fullRebreak on the row where we had a
4478 change and reset the cursor and selection-cursors.
4480 * insettabular.C (insetUnlock):
4481 (insetButtonPress): call an update before setting the_locking_inset = 0
4482 as otherwise we don't repaint!
4483 (update): reset the cursor position when we changed dimensions as
4484 otherwise our cursor may be on the wrong spot.
4486 2002-04-18 Juergen Vigna <jug@sad.it>
4488 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4489 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4490 redraw otherwise we won't redraw.
4492 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4493 not really right before, but I only discovered this with the last
4494 changes to Page up/down.
4496 2002-04-17 Juergen Vigna <jug@sad.it>
4498 * insettext.C (checkAndActivateInset): simplified as we now have the
4499 edit(bv, bool) call.
4501 * insettext.h: changed behind variables to front variables to be
4502 equal to the one in the edit call (as it is for that they are used).
4504 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4506 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4507 not output anything at all!
4509 2002-04-16 Juergen Vigna <jug@sad.it>
4511 * insettabular.C (insetButtonPress):
4512 (insetUnlock): call a redraw on unlocking the cell inset.
4514 * insettext.C (insetButtonPress): same as below.
4515 (lockInset): new function to set initial values when inset should
4517 (insetButtonPress): use above function.
4518 (insetUnlock): don't force a repaint only set the updateStatus. The
4519 outside world should repaint if it thinks it should be done!
4521 * insettabular.C (insetButtonPress): init values if not set as locked
4522 as we are locked if someone presses on us and don't call the edit()
4523 call of the InsetText to lock it do it as BufferView does it!
4525 * inset.h (insetInInsetY): make func const and return an int.
4528 * insetcollapsable.C: adapt the above changed function.
4530 2002-04-15 Juergen Vigna <jug@sad.it>
4532 * insettext.C (getCursorPos): return relative position as to be able
4533 to give them directly to the edit() call.
4534 (edit): we have to set also x_fix as it is not set inside the
4535 setCursorFromCoordinates call!
4536 (insetMotionNotify): ditto.
4538 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4540 * insetbib.C (getKeys): strip leading '\t's from the line too.
4541 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4543 2002-04-12 Juergen Vigna <jug@sad.it>
4545 * insettext.h: added cix() helper function and use it where appropriate
4547 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4549 * insetgraphics.C (prepareFile): fix bug when graphics is a
4552 2002-04-12 Juergen Vigna <jug@sad.it>
4554 * insettext.C (insertInset): remove unneeded code!
4555 (updateLocal): fitCursor() fixes.
4556 (collapseParagraphs): fix a possible problem when having a selection
4557 and collapsing the paragraphs.
4559 2002-04-08 Herbert Voss <voss@perce.de>
4561 * insetgraphic.C (write): write the rotating angle as
4562 a float as is. test only for != 0.0
4564 2002-04-11 Juergen Vigna <jug@sad.it>
4566 * insettext.C: new function ciy() and use it for setting inset_y.
4568 * insetert.C (draw): fix the x return for collapsed version.
4570 2002-04-07 Herbert Voss <voss@perce.de>
4572 * insetgraphic.C (readFigInset): fix bug with subcaption and
4575 2002-04-08 Herbert Voss <voss@lyx.org>
4577 * insetgraphicsparam.C: forgot special option and delete old
4580 2002-04-05 Juergen Vigna <jug@sad.it>
4582 * insettext.C (localDispatch): make a CURSOR update if we inserted
4585 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4587 * insetfloatlist.C (getScreenLabel):
4588 (latex): use Floating::listName
4589 (validate): new method
4591 2002-04-03 José Matos <jamatos@fep.up.pt>
4593 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4595 * insetfoot.[Ch] (docbook): added forgotten method.
4597 2002-04-03 Juergen Vigna <jug@sad.it>
4599 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4600 way as in Bufferview_pimpl.
4602 2002-04-03 Allan Rae <rae@lyx.org>
4604 * insetgraphics.C (latex): one % too many makes living on the bleeding
4605 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4607 2002-03-28 Herbert Voss <voss@lyx.org>
4609 * insetgraphic.C (latex): simplify the code for the latex
4610 output when the file doesn't exist
4612 2002-03-29 Juergen Vigna <jug@sad.it>
4614 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4617 * insettabular.C (edit): call fitCursor().
4619 * insettext.C (insetButtonPress): change behaviour of no_selection
4620 to the one in the BufferView selection_possible and fix the spurious
4621 selection bug with it.
4622 (localDispatch): revoke selection on BREAK... functions.
4624 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4626 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4628 2002-03-28 Juergen Vigna <jug@sad.it>
4630 * insettabular.C (insetAllowed): return true as default value otherwise
4631 we're not able to insert insets inside paragraphs of an not locked
4634 2002-03-27 Herbert Voss <voss@lyx.org>
4636 * insetgraphicsparam.C: change c%, p% to col%, page%
4638 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4640 * insetspecialchar.C (isLineSeparator): disable the nice code to
4641 allow linebreaks after hyphenation and menu separators.
4643 2002-03-26 Herbert Voss <voss@lyx.org>
4645 * insetgraphics.C (figinsetRead): set the right lyxview
4647 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4649 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4650 $\backslash$ and pass a "string const &" to the function.
4651 (prepareFile, latex): use Path rather than MakeAbsPath.
4653 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4655 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4656 proper fix to the graphics cache.
4657 (latex): "really" nice output if the file is not found ;-)
4659 2002-03-26 Juergen Vigna <jug@sad.it>
4661 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4662 (collapseParagraphs): fixed inserting of separator ' '
4664 * insettabular.C (insertAsciiString): only check for buffer lenght
4665 not if we have \t or \n inside the buffer as if we don't have we only
4666 have 1 cell and that's it!
4668 * insetert.C (close): don't collapse if inlined.
4670 2002-03-25 Herbert Voss <voss@lyx.org>
4672 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4673 graphics file does not exist.
4675 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4677 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4678 path when preparing export.
4680 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4681 no longer MakeRelPath.
4683 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4685 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4686 Used to determine the absolute path to the graphics file in the
4687 graphics cache and only in the graphics cache.
4688 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4689 make graphics file name absolute if it is stored as a relative path.
4691 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4692 make graphics file name absolute if it is stored as a relative path.
4694 * insettext.C (edit): emit an updateParagraph signal on entering a text
4695 inset. Needs to be emitted when leaving the inset also.
4697 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4699 * all files: ws cleanup
4701 * Makefile.am: remove ld -r stuff
4703 2002-03-21 Juergen Vigna <jug@sad.it>
4705 * insettext.C (appendParagraphs): new function added to append
4706 the paragraphs to this insets paragraphs.
4708 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4710 * Makefile.am: special rules if partial linking
4712 2002-03-19 Juergen Vigna <jug@sad.it>
4714 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4716 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4718 * insetgraphics.C: Clean up Baruch's comments a little.
4719 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4721 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4724 * insettheorem.C: wrap warnings
4726 * insetgraphics.C: improve messages, move cached_status_
4727 setting to safer place
4729 2002-03-18 Juergen Vigna <jug@sad.it>
4731 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4733 (localDispatch): ditto
4735 * insettext.C (edit): removed unneeded showCursor calls.
4736 (localDispatch): ditto.
4738 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4740 * insetgraphics.h: remove display() method.
4742 2002-03-11 Juergen Vigna <jug@sad.it>
4744 * insetgraphics.C (draw): hack to fix the redrawing bug.
4745 (draw): seems this fixes #268 (force redraw of row if we changed).
4747 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4748 this inset text (don't know why I missed this earlier).
4750 2002-03-08 Juergen Vigna <jug@sad.it>
4752 * insettabular.C (updateLocal): do a FULL update if we're not locked
4753 and only a CELL update is asked.
4755 * insettext.C (updateInsetInInset): update insets inside inset also
4756 if it isn't inside the_locking_inset.
4758 * insettabular.C (updateInsetInInset): ditto.
4760 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4762 * insetexternal.C (doSubstitution): check whether we are using a
4763 temp dir for defining $$FPath
4765 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4768 * insettext.C: remove #include "WorkArea.h".
4770 2002-03-06 Juergen Vigna <jug@sad.it>
4772 * insettext.C (draw): fixed frame redrawing.
4773 (clear): forgot to set the inset_owner of the paragraph.
4775 * insetert.C (status): pay attention the bv can be 0 here!
4776 (getMaxWidth): add the default leftMargin
4778 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4780 * insetert.C (getMaxWidth): make w unsigned int.
4782 2002-03-05 Juergen Vigna <jug@sad.it>
4784 * insetert.C (status): change behaviour of Inlined.
4785 (getMaxWidth): added for new inlined behaviour.
4787 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4789 * insetnote.h (linuxdoc, docbook): add empty methods.
4790 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4791 before being initialized.
4793 2002-03-05 Juergen Vigna <jug@sad.it>
4795 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4796 only that one in the inset. Should be enough.
4797 (updateLocal): set the selection cursor always if we don't have a
4798 selection to be sure it's set!
4800 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4802 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4804 * insettext.C (clear): a gross hack to set layout on a newly
4807 2002-03-04 Juergen Vigna <jug@sad.it>
4809 * insettabular.C (localDispatch): inserted handling of
4810 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4811 (insertAsciiString): new helper function.
4813 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4815 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4818 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4820 * insettext.C (InsetText): initalize newly created par with
4821 default layout. add bufferparams parameter
4824 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4825 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4826 * insetert.[Ch] (InsetERT): ditto
4827 * insetfloat.[Ch] (InsetFloat): ditto
4828 * insetfoot.[Ch] (InsetFoot): ditto
4829 * insetfootlike.[Ch] (InsetFootLike): ditto
4830 * insetmarginal.[Ch] (InsetMarginal): ditto
4831 * insetminipage.[Ch] (InsetMinipage): ditto
4832 * insetnote.[Ch] (InsetNote): ditto
4833 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4835 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4837 * insettext.C: layout as string
4839 * insetinclude.C: layout as string
4841 * insetert.C: layout as string
4843 * insetbib.C: layout as string
4845 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4848 * insettabular.C: remove #include "lyx_gui_misc.h".
4850 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4855 * inset.h: remove figinset, yahoo !
4857 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4859 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4860 copy c-tor and initialise member variables in the correct order.
4862 2002-02-28 Juergen Vigna <jug@sad.it>
4864 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4866 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4868 * inset.h: ... and add a better one here.
4870 * insetcommand.C (insetButtonRelease): remove that one which was a
4873 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4875 * insetcommand.C (insetButtonRelease): ... and move it here.
4877 * inseturl.h: remove insetButtonRelease from there...
4879 2002-02-26 Juergen Vigna <jug@sad.it>
4881 * inseturl.h: Added a insetButtonRelease call returning true as
4884 * insetlabel.C (edit): Fixed wrong update handling after change I
4885 leave in the wrong code for the one who wrote it to remove and have
4886 a look what he did wrong.
4888 * insettabular.C (localDispatch): force a SELECTION update if we
4889 had a selection and we passed the event down to the inset (fix #213)
4890 (localDispatch): handle font changing stuff when we have a cell
4891 selection so that the selection is not rewoked. I don't really like
4892 this fix, but it's the only way I see to do it right now.
4894 2002-02-22 Juergen Vigna <jug@sad.it>
4896 * insettext.C (insetUnlock): set the cursor to the second paragraph
4897 if available and if the first one is empty (fix #191).
4899 2002-02-20 Juergen Vigna <jug@sad.it>
4901 * insettext.C (getDrawFont): implemented this function to call the
4902 one of the owner if present as the owner normally knows what to do
4905 * insetert.C: implement getDrawFont() function and comment out all
4906 the crap for setting a special latex font inside this inset.
4907 (InsetERT): added a Lanugage parameter to this constructor.
4909 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4910 change the font for being drawn on screen (used only in InsetERT for
4913 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4914 and also above (was missing).
4915 (updateLocal): don't remove the cell selection if we have one this
4916 should be done where we really want to remove it.
4918 2002-02-20 José Matos <jamatos@fep.up.pt>
4920 * insetinclude.h: include_label made string const.
4922 * insetinclude.C (InsetInclude): moved include_label initialization.
4925 (validate): fix support for temporary directory, for docbook and
4928 * insetgraphics.h : new private member, graphic_label, that holds
4929 the entity name that defines the graphics location (SGML).
4931 * insetgraphics.C (unique_id): new function to give a unique label
4934 (validate): the file locatation is given by an entity reference.
4936 2002-02-18 Herbert Voss <voss@lyx.org>
4938 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4940 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4942 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4943 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4945 2002-02-18 José Matos <jamatos@fep.up.pt>
4947 * insetinclude.C (validate): some code only applies to latex buffers,
4948 it was made conditional.
4950 2002-02-12 Herbert Voss <voss@lyx.org>
4952 * insetgraphics.C: (prepareFile) do not check at this time
4953 if the file is present.
4955 2002-02-12 Herbert Voss <voss@lyx.org>
4957 * insetgraphics.C: latex(), return the correct newlines
4959 2002-02-13 José Matos <jamatos@fep.up.pt>
4961 * inseturl.C (docbook): escape & in url.
4963 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4965 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4966 after HYPHENATION and MENU_SEPARATOR
4968 * inset.h (isLineSeparator): new method, returns false by default.
4970 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4972 * insetert.C (status): do not update the text inset, but the ERT
4975 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4977 * insetnote.C: use notebg for background
4979 2002-02-08 Herbert Voss <voss@lyx.org>
4982 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4983 prevent LyX from unzipping when this should be handled
4984 by latex vis the graphic.cfg.
4987 2002-02-08 Herbert Voss <voss@lyx.org>
4989 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4990 exists, than return filename with extension
4992 2002-02-06 Herbert Voss <voss@lyx.org>
4994 * insetgraphic.C: prepareFile(): don't convert the file, when
4995 it's not viewed in LyX. Saves a lot of time when opening a
4998 2002-02-05 Herbert Voss <voss@lyx.org>
5001 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5002 and adding a rotate bool similiar to subcaption
5004 2002-02-04 Herbert Voss <voss@lyx.org>
5007 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5008 similiar view to the LaTeX one. Get zipped files work.
5010 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5012 * insetgraphicsParams.C (init): set display to DEFAULT.
5013 No longer #include "lyxrc.h".
5015 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5017 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5018 for now (so that the code compiles).
5020 2002-02-02 Herbert Voss <voss@lyx.org>
5022 * insetgraphic.C: delete inVariant() and some minor changes
5023 * insetgraphicsParams.[C]:
5025 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5027 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5028 interogate lyxrc.display_graphics before diaplaying the graphic.
5030 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5031 InsetGraphicsParams::DisplayType.
5033 2002-01-31 Herbert Voss <voss@lyx.org>
5035 * insetgraphic.C: (readfigInset) set display to pref-default
5037 2002-01-30 Herbert Voss <voss@lyx.org>
5039 * insetgraphic.C: get the filetyp from it's contents
5040 * insetgraphicparams.C: add token scale and lyxrc.display when
5041 creating a new inset
5043 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5045 * figinset.C: added using std::ios directive.
5047 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5049 * figinset.C (runqueue): open translation file in binary mode (for
5052 2002-01-27 Herbert Voss <voss@lyx.org>
5054 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5055 all options and to be sure that the old figinsets are correct
5057 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5058 structure and to support all lengths as LyXLength. The Parameter
5059 structure changed again, but reading of "old" 1.2 graphic insets
5062 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5064 * insetert.h (forceDefaultParagraphs): Added
5066 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5068 * insettabular.C (getMaxWidth):
5069 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5071 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5073 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5074 of LyXLength::inPixels
5076 * inset.C (latexTextWidth):
5077 * insetminipage.C (latexTextWidth): new method, which implements
5078 the equivalent of the LaTeX macro \textwidth
5080 * insetminipage.C (getMaxWidth): use latexTextWidth
5082 2002-01-18 Juergen Vigna <jug@sad.it>
5084 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5086 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5088 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5090 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5093 2002-01-17 Juergen Vigna <jug@sad.it>
5095 * insettabular.C (lockInsetInInset): same change as in insettext.
5097 * insettext.C (draw): width() function was called without setting
5098 the right top_x which could lead to wrong insetWidth setting!
5099 (lockInsetInInset): call edit instead of calling lockInset if we
5100 have to lock an inset inside!
5101 (edit): we have to also tell the inset that we have to redraw the
5102 frame on an edit call if this inset draws a frame only if locked.
5104 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5106 * insetbib.C (getFiles): uncomment Path variable.
5108 2002-01-16 Juergen Vigna <jug@sad.it>
5110 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5113 2002-01-16 Allan Rae <rae@lyx.org>
5115 * insetinclude.C (docbook): someone forgot a ";"
5117 2002-01-16 José Matos <jamatos@fep.up.pt>
5119 * figinset.C (docbook): removed a old place holder "@".
5120 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5121 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5122 ascii text version, clearly guarded inside a CDATA section.
5123 (docbook): in docbook 4, inlinegraphics is empty.
5124 * insettabular.C (linuxdoc): export the ascii version of the table
5125 inside a CDATA section.
5127 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5129 * insetparent.C (InsetParent):
5130 * insetgraphicsParams.C (Write):
5132 * insetgraphics.C (prepareFile):
5135 * insetexternal.C (executeCommand):
5136 (doSubstitution): use Buffer::filePath
5138 * insetbib.C (getFiles): add a #warning for Angus
5140 * insetgraphics.C: Add a remark about how filenames should be
5141 considered to be relative to buffer (but absolute is still allowed)
5142 (draw): do not try to get status if lyxrc.use_gui is false
5144 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5147 * insetcollapsable.[Ch]:
5148 * insettabular.[Ch] (searchForward, searchBackward): change the
5149 bool const & params to bool.
5151 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5152 to avoid the name clash with InsetCollapsable's methods of the same
5153 names but different functionality.
5155 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5157 * insettext.C (ascii): use lyx::count rather than countChar.
5159 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5161 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5163 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5165 * insetgraphics.C (updateInset): do not try to render image if
5166 lyxrc.use_gui is false (bug #104)
5168 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5169 if file does not exist
5171 * figinset.C (browseFile): add shortcuts to directory buttons
5173 * insettext.C (updateLocal): update menubar and toolbar here too.
5175 2002-01-13 Allan Rae <rae@lyx.org>
5177 * insettabular.C (InsetTabular): Both constructors now initialise
5178 all class variables.
5180 2002-01-11 Juergen Vigna <jug@sad.it>
5182 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5184 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5186 * insettabular.C (getStatus): add forgotten brace around multiline
5189 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5191 * insetfloat.C (validate): require "float" instead of "floats".
5193 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5195 * insettabular.C (getStatus): use FuncStatus
5197 2002-01-08 Juergen Vigna <jug@sad.it>
5199 * insettabular.C (insetButtonRelease): now this should work too
5202 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5203 if the width is a percentage.
5205 * inset.h: added isChar() function and implemented this for
5206 insetspecialchar insetquotes and insetlatexaccent.
5207 added forceDefaultParagraphs() and implemented it for insettabular.
5209 2002-01-07 Juergen Vigna <jug@sad.it>
5211 * insettext.C (getLyXText): Fixed this function. An insert into the
5212 map is only done if we REALLY have a new BufferView.
5214 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5216 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5218 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5220 * insetinclude.C: fix use of FileInfo
5222 2002-01-07 Juergen Vigna <jug@sad.it>
5224 * insettabular.C (draw): fixed clearing of cell around inset.
5226 2002-01-05 Juergen Vigna <jug@sad.it>
5228 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5229 variables are updated.
5231 * insettabular.C (resetPos): set always the inset_y as it may be
5232 needed in another function.
5233 (searchBackward): don't draw while searching.
5235 2002-01-04 Juergen Vigna <jug@sad.it>
5237 * insettext.C (lockInsetInInset): forgot to set a cursor.
5239 2002-01-02 Juergen Vigna <jug@sad.it>
5241 * insettext.C (insertInset): make the correct undo informations on
5242 inserting new insets.
5244 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5246 * insettabular.C: correct single-cell select vertically
5248 2001-12-27 Juergen Vigna <jug@sad.it>
5250 * insettabular.C (ascii): export as tab-separated-values if the
5251 function was not called from export (f.ex.: clipboard).
5253 * insetcollapsable.h: added default support for ascii, linuxdoc and
5254 docbook export (the insettext is exported by default!)
5256 * insettabular.C (copySelection): suff the clipboard with the tabular
5257 data in a tab separated format, seems more naturals then with all the
5260 2001-12-24 Juergen Vigna <jug@sad.it>
5262 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5263 to check for REAL mouseMotion.
5265 2001-12-20 Juergen Vigna <jug@sad.it>
5267 * inset.C (cursor): return the owners cursor if available instead of
5268 always only the bv->text->cursor.
5270 * insettabular.C (checkLongtableSpecial): works now.
5272 2001-12-19 Juergen Vigna <jug@sad.it>
5274 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5275 this has to be always row + 1 as 0 means not selected!
5276 (checkLongtableSpecial): added
5277 (tabularFeatures): better longtable options support
5279 * insettext.C (resizeLyXText): reinit the text always also on a
5282 2001-12-18 Juergen Vigna <jug@sad.it>
5284 * insettext.C (updateInsetInInset): look if we have to autocollapse
5285 paragraps and return if the update is requested for ourself.
5287 * insetert.C (status): update the insettext not myself as that is what
5290 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5291 function only return if the update was requested with myself.
5293 * insettext.C (insetButtonPress): fixed stupid bug.
5294 (various functions): pay attention that lt is cleared BEFORE calling
5295 updateLocal() and try to use it in the right manner (don't use it
5296 if it's not really neccessary!)
5297 (collapseParagraphs): insert a blank between collapsing paragraphs
5298 if neccessary (not already there!).
5300 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5302 * insettabular.C: move includes around a bit, add a couple of
5305 * insettext.[Ch]: move includes around a bit, other ws changes and
5308 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5310 * insettext.C (insetButtonRelease): fix compile problem
5312 2001-12-17 Juergen Vigna <jug@sad.it>
5314 * insettext.C (insetButtonPress): set the selection cursor!
5315 (insetButtonPress): clear the selection (and set with that the
5316 selection.cursor) if we only hit an inset!
5318 * insetert.C (read): removed piece of compatibility code only needed
5321 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5324 * insetcollapsable.C (insetButtonRelease): changed so that it can
5325 open eventual existing popup dialogs on mousebutton==3.
5327 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5329 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5331 * inset.C (insetButtonRelease): return a bool for telling the outer
5332 world that we opened a dialog.
5334 2001-12-07 Juergen Vigna <jug@sad.it>
5336 * insettext.C (paragraph): remove the deleteing of paragraphs as
5337 it was a WRONG move!
5339 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5342 * insettabular.C: use new setSelection(). Allow
5343 selection of single cells.
5345 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5347 * insetquotes.C (latex): fix to use the local language setting at
5348 the point where the inset is inserted (different macros for
5349 different french packages)
5351 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5353 * inset.h: add par_owner_ member variable and parOwner
5356 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5358 * insettabular.C (everywhere): adapt because widths are now real
5359 widths and not strings
5361 * insettext.C (draw): re-introduce the calls to width(), ascent()
5362 and descent() to initialize the caching variables.
5364 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5366 * insettext.C (draw):
5367 (drawFrame): use insetWidth instead of last_width
5369 * insettext.h: remove variable last_width (insetWidth is exactly
5370 the same) and last_height (computed but never used!)
5372 2001-12-10 Allan Rae <rae@lyx.org>
5374 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5376 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5378 * insettext.C (insetAllowed): add comment
5380 2001-12-05 Juergen Vigna <jug@sad.it>
5382 * insettext.C (insetAllowed): fixed for the case that we directly
5383 ask the insettext from its LyXText.
5384 (paragraph): fixed the crash when assigning the par->next() from
5385 the EmptyParagraphMechanism!
5387 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5391 * insettext.C: change "while(" to "while ("
5393 2001-12-04 Juergen Vigna <jug@sad.it>
5395 * insetert.C (edit): handle Inlined status.
5397 * insettext.C (insertInset): trying John's fix for the trailing cursor
5399 * insetert.C (insetButtonPress): added to handle inlined status
5400 (insetMotionNotify): ditto.
5402 * insettext.C (clearInset): changed Painter & in BufferView * param,
5403 to be able to call ascent,descent methods.
5405 2001-12-03 Juergen Vigna <jug@sad.it>
5407 * insettext.C (updateInsetInInset): use lt variable to forbid
5408 changes of LyXText in an update call.
5409 (updateInsetInInset): fixed updating of non locked insets!
5411 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5413 * insettabular.C: capture some more functions to prevent
5414 selection drawing problems. Bug #451274
5416 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5419 * insetgraphicsParams.C: fix inverted sense of float_equal
5421 2001-11-30 Juergen Vigna <jug@sad.it>
5423 * insettabular.C (InsetTabular): use the save_id flag to create also
5424 the tabular with the same id's.
5426 * insettext.C (setParagraphData): added a same_id function for undo
5427 to set the same paragraph id's as of the paragraph we are setting.
5429 2001-11-30 José Matos <jamatos@fep.up.pt>
5432 * insettoc.[Ch]: DocBook -> docbook.
5434 2001-11-29 André Pönitz <poenitz@gmx.net>
5437 * insettext.C: further reduction of header dependencies by using
5438 lyx::layout_type and lyx::textclass_type from support/types.h
5440 2001-11-29 Juergen Vigna <jug@sad.it>
5442 * insettext.C: inserted a reinitLyXText function everywhere I delete
5443 the paragraphs! This should fixe the crashes we had.
5444 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5445 (paragraph): set the InsetOwner() of the new paragraphs!
5447 2001-11-28 André Pönitz <poenitz@gmx.net>
5449 * insetnote.C: add pos initialization that I removed without
5452 2001-11-28 Juergen Vigna <jug@sad.it>
5454 * insettabular.C (resetPos): hack to not crash with infinite paints.
5456 * insettabular.h: insert missing function allowSpellcheck()!
5458 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5460 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5463 * insetfloatlist.C: derive from InsetCommand so gui can use it
5466 2001-11-26 André Pönitz <poenitz@gmx.net>
5470 * insetnote.C: reduce header dependencies, introduce type for
5473 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5475 * various: update for Alert.h
5477 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5479 * inset.h: fix comment
5481 * insettext.C: use par->isInset()
5483 2001-11-22 Allan Rae <rae@lyx.org>
5485 * insetcollapsable.h:
5486 * inset.h: Changes to checkInsertChar() behaviour.
5487 Now return value indicates whether chars can be inserted.
5489 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5491 * various: updated to use the new LaTeXFeatures
5493 2001-11-14 José Matos <jamatos@fep.up.pt>
5495 * insetspecialchar.C (linuxdoc):
5496 (docbook): don't give a name to a unused variable.
5498 * insettext.C (docbook): removed unused variable.
5500 2001-11-13 Herbert Voss <voss@perce.de>
5502 * insetgraphic.C: fix scale bug
5504 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5506 * inset.h (isSpace):
5507 (isLetter): new virtual methods.
5509 * insetspecialchar.C (isSpace):
5510 (isLetter): implement here.
5512 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5514 * inset.h: new inline helpers
5516 * insettext.C: use new helpers
5518 2001-11-07 José Matos <jamatos@fep.up.pt>
5520 * insettext.C (docbook): full support for paragraphs inside insettext.
5522 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5524 * insetindex.C: added header file for std::ostream.
5526 2001-11-03 José Matos <jamatos@fep.up.pt>
5528 * insetindex.C: added using std::ostream that I forgot yesterday.
5530 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5532 * insetindex.h (docbook):
5533 * insetindex.C (docbook): added support for docbook export.
5535 2001-11-02 José Matos <jamatos@fep.up.pt>
5537 * insetcaption.C(docbook): added support for docbook export.
5539 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5541 * insetexternal.C (updateExternal): Do not run update command if
5542 result file exists and is up to date.
5544 * ExternalTemplate.C (readFormat): Support the updateresult token.
5546 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5548 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5549 external_templates) to use the buffer->fileName() but only if
5550 previewing. Generating a TeX file should make FPath return
5553 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5556 * insetert.C: fix some problems
5558 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5560 * insetexternal.C (doSubstitution): Added $$FPath token
5561 to list of usable substitutions in external inset templates.
5563 2001-10-24 Juergen Vigna <jug@sad.it>
5565 * insettabular.C: use new ltType struct for setting longtable
5566 header and footers also new UNSET enums.
5568 2001-10-24 José Matos <jamatos@fep.up.pt>
5570 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5571 (docbook): If the table is not inside a float then wrap it inside
5572 <informaltable>...</informaltable>.
5574 2001-10-23 José Matos <jamatos@fep.up.pt>
5576 * insetref.C (docbook): removed / terminator to conform SGML.
5578 * insetspecialchar.C (linuxdoc):
5579 (docbook): Added support for special chars, more than ascii export.
5581 2001-10-22 Juergen Vigna <jug@sad.it>
5583 * insettext.C (checkInsertChar): added for REALLY checking the
5584 font of the inserted char in the right inset!
5586 2001-10-19 Juergen Vigna <jug@sad.it>
5588 * inset.h: added method allowSpellcheck() so that insets who do
5589 not have anything to spellcheck can tell and so they are over-jumped.
5590 Implemented for InsetText and co.
5592 2001-10-18 Juergen Vigna <jug@sad.it>
5594 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5596 2001-10-15 José Matos <jamatos@fep.up.pt>
5598 * insetert.C: allow export for docbook and linuxdoc
5600 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5602 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5604 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5606 * insetquotes.C (dispString): fix handling of latin9 quotes
5608 2001-10-03 Juergen Vigna <jug@sad.it>
5612 * insetcollapsable.C: change updateInset calls to not tell BV that
5613 we have changed status.
5615 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5617 * insettabular.C (deletable): make const
5619 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5621 * insetert.C (latex): Fix the returned value
5623 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5625 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5626 Returns string(), so nothing in an ERT inset is spellchecked.
5628 * insetgraphics.C (draw): print the filename if not displaying the
5630 (width): make sure that the width and draw methods are consistent.
5631 (updateInset): don't even load the image into cache if not displaying
5634 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5636 * various files (selectNextWord): renamed as
5637 selectNextWordToSpellcheck.
5639 * insetgraphics.C (draw): remove the previous change. Right place
5640 is in imageLoaderXPM.C.
5641 (draw): don't display the image if params.display == NONE.
5643 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5645 * figinset.C (runqueue):
5646 * insetgraphics.C (draw): set background colour of inset from
5647 background to the user-configurable graphicsbg.
5649 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5651 * insetquotes.C (InsetQuotes): when trying to decide the side of
5652 the quote, choose `left' only after a space or '('
5654 2001-09-04 José Matos <jamatos@fep.up.pt>
5659 * insetcollapsable.h
5677 * insetlatexaccent.C
5678 * insetlatexaccent.h
5683 * insetspecialchar.C
5684 * insetspecialchar.h
5688 * insettext.C (docbook): rename docBook method to docbook.
5690 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5692 * inset.h (getFirstParagraph): New virtual method.
5694 2001-08-20 Herbert Voss <voss@perce.de>
5695 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5696 in the the bibtex-database-gui for inserting a line
5699 If no style is given than there is no tex-output.
5701 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5703 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5707 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5709 * insetert.C (latex): Fix output for multiple paragraphs.
5710 (write): New code for writing paragraph data.
5711 (read): Set font after reading the inset.
5712 (localDispatch): Call set_latex_font() for more cases.
5714 * insetnote.h: Add empty validate method.
5717 * insetnote.C (InsetNote): Set language to the language of the
5720 2001-08-16 Juergen Vigna <jug@sad.it>
5722 * insettext.C: implemented the new FINISHED states.
5724 * insettabular.C: ditto
5726 * inset.h: added more FINISHED states for cursor right,up,down
5728 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5730 * insetfloatlist.C: use "FloatName List"
5732 2001-08-14 Juergen Vigna <jug@sad.it>
5734 * insetert.C (edit): forgot to set status_ in edit calls!
5736 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5738 * insettext.C: Compilation fix
5740 2001-08-13 Juergen Vigna <jug@sad.it>
5742 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5744 * insetcollapsable.C (edit): don't recollapse an already open inset.
5746 * insettext.C: fixed problem when reinitializing LyXText by not doing
5747 it while lt is in use and post this to the next possible time in
5749 (searchForward): fixed not unlocking of inset if nothing found.
5750 (edit): set cursor behind right (was set -1 pos).
5752 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5754 * insettabular.C (tabularFeatures): fixed fix where deleting the
5755 last row didn't get the right actcell!
5757 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5759 * insettext.C (localDispatch): Change language only when the inset
5762 2001-08-10 Juergen Vigna <jug@sad.it>
5764 * insettabular.C (selectNextWordInt): use the front using edit call.
5766 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5767 the parameter overwrite class variable inset.
5769 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5771 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5772 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5774 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5775 update only for fixed with cells.
5776 (resetPos): try to fix the lockup on spellchecking or s&r.
5778 * insettext.C (update): comment this out as it seems first wrong
5779 and second not needed anymore!
5780 (some functions): call reinitLyXText() only in update() in all other
5781 positions set only need_update = INIT.
5783 2001-08-08 Juergen Vigna <jug@sad.it>
5785 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5787 * insettext.C (insetUnlock): remove double-space on inset unlock.
5789 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5791 * insettabular.C (update): fixed cursor positon after an insert.
5792 (insetAllowed): do not allow to insert insets when not inside the
5794 (draw): clear below an inset too as it could have changed height.
5796 * inset.C (getMaxWidth): fixed width for inset in inset.
5798 * insettext.C (update): small fix.
5800 * insettabular.C (tabularFeatures): added selection support to
5801 DELETE_ROW/DELETE_COLUMN.
5803 2001-08-07 Juergen Vigna <jug@sad.it>
5805 * inset.C (getMaxWidth): recoded and all it's implementations!
5807 * insettext.C (init,setParagraph+constructors): cleanups
5808 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5809 are new and I want do a save/restore of the cursor position which is
5810 not possible anymore.
5812 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5813 (searchBackward): ditto
5814 (selectNextWord): ditto
5816 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5818 * insetlatexaccent.C (checkContents): Add some debug messages
5820 2001-08-07 Juergen Vigna <jug@sad.it>
5822 * insetert.C (read): don't use InsetCollapsable::read as we don't
5823 write the collapsed status anymore only the status.
5826 2001-08-06 Juergen Vigna <jug@sad.it>
5828 * insetert.C (set_latex_font): use LyXText's setFont directly.
5830 * insettext.C (drawFrame): fixed one time more the right position
5831 and size of the frame!
5833 * insetert.C (~InsetERT): hide the dialog.
5834 (showInsetDialog): added implementation
5837 (status): new function for the status of the ERT inset (3-state).
5838 (write): output also the status of the inset for readback!
5839 (read): readback the status if available otherwise use collapsed_.
5841 * insettext.C (edit): small fix of setting the position, which could
5844 * insetert.C (width): implement this function for inlined viewing.
5845 Added minimum width of 10 pixels!
5847 * insetminipage.C (InsetMinipage): just change the colors a bit so
5848 that border/background is a bit more visible. We will remove this
5851 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5852 function for getting the important widths for drawing in various
5853 functions and in LyXText.
5854 (draw): fixed up a bit (frame drawing/clearing)
5856 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5858 * inset.C (convertFont): delete method. not used.
5860 2001-08-03 Juergen Vigna <jug@sad.it>
5862 * insettext.C (setFont): don't call for a draw update if we're just
5863 changing the cursor font!
5865 2001-08-02 Juergen Vigna <jug@sad.it>
5867 * insettext.C (draw): clear the background with the right color if
5868 needed. Update myself if x&max-width changed and return without doing
5869 anything. Let the update code handle the right stuff.
5871 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5872 inside another inset.
5874 2001-08-01 Juergen Vigna <jug@sad.it>
5876 * insetcollapsable.C (update): added an in_update bool so we avoid
5879 * insettabular.C (update): added an in_update bool so we avoid
5882 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5884 (update): added an in_update bool so we avoid reentering.
5886 * insettabular.C (localDispatch): clear col/row selection when doing
5887 something else inside an inset.
5889 * insettext.C (getLyXText): fixed bug when requesting a recursive
5892 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5894 * insetcite.C (latex): Paranoia check. Make sure that there is no
5895 whitespace between the citation keys.
5897 2001-07-31 Juergen Vigna <jug@sad.it>
5899 * inset.h (nodraw): make the set function also const so that this
5900 can be called from inside other const functions.
5902 * insetcollapsable.h: removed inline variable and moved it over
5903 to the only user InsetERT.
5905 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5906 inset opening immediately therein lying insets dialogs!
5908 * insetert.C (localDispatch): set the font also if we don't have any
5909 chars in this paragraph, otherwise if we delete all of em and start
5910 writing we have the wrong font.
5912 (draw): implemented for inline support
5913 (insetButtonRelease): ditto.
5915 2001-07-30 Juergen Vigna <jug@sad.it>
5917 * insettext.C (reinitLyXText): new function to reinit the insets
5918 text after lot's of paragraph changes. Use this instead of the
5919 cache.clear() which is VERY dangerous.
5921 * insetfloat.C (insetButtonRelease): we should only show the dialog
5922 if we press on the label otherwise we have problems to open mouse
5923 button 3 dialogs inside this float (f.ex. of a tabular!)
5925 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5927 * insetert.C: change back to "ERT"
5929 * insetfloat.C: handliign of RMB on label added.
5931 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5933 * insetgraphicsParams.C: #include LOstream.h here.
5935 * insetfoot.h: remove InsetFoot:: qualifier.
5937 2001-07-29 Baruch Even <baruch@lyx.org>
5939 * ChangeLog: Hiding time travel evidence.
5941 * insetgraphicsParams.h:
5942 * insetgraphicsParams.C:
5943 * insetgraphics.C: Added horizontal scale option, it actually scales both
5944 directions since it keeps image proportions.
5946 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5948 2001-07-29 Baruch Even <baruch@lyx.org>
5950 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5951 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5953 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5955 2001-07-29 Baruch Even <baruch@lyx.org>
5957 * insetgraphics.C: Added EPSI to be an alias of EPS.
5959 2001-07-29 Baruch Even <baruch@lyx.org>
5961 * insetgraphics.C: Change GRAPHICS to Graphics.
5962 Changed image conversion rules (documented at the beginning of file).
5964 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5966 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5969 * insetgraphics.C: added a using std::endl directive.
5971 * insetcommand.h (getScreenLabel): removed pure virtual function,
5972 as it duplicates that in InsetButton.
5974 * insetbib.[Ch] (getScreenLabel):
5975 * insetbutton.[Ch] (getScreenLabel):
5976 * insetcite.[Ch] (getScreenLabel):
5977 * insetert.[Ch] (getScreenLabel):
5978 * insetexternal.[Ch] (getScreenLabel):
5979 * insetfloatlist.[Ch] (getScreenLabel):
5980 * insetinclude.[Ch] (getScreenLabel):
5981 * insetindex.[Ch] (getScreenLabel):
5982 * insetlabel.h (getScreenLabel):
5983 * insetparent.[Ch] (getScreenLabel):
5984 * insetref.[Ch] (getScreenLabel):
5985 * insettoc.[Ch] (getScreenLabel):
5986 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5988 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5990 (validate): remove check on "cite" when using natbib.
5992 2001-07-26 Baruch Even <baruch@lyx.org>
5994 * insetgraphics.C (draw): changed casting to be in one place rather than
5995 all over the function.
5998 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6000 * insetgraphicsParams.h:
6001 * insetgraphicsParams.C:
6002 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
6004 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6006 * insetfoot.C (validate): Added method to ensure that the
6007 right bit of LaTeX is emitted.
6009 * insetfoot.h: Added validate method to set the correct
6010 LaTeXFeatures bit for the special footnote code.
6012 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6014 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6017 2001-07-27 Juergen Vigna <jug@sad.it>
6019 * inset.h: remove not used font variable in parameter.
6020 removed checkInsertChar in UpdatableInset as it was equal to
6021 the one in Inset and so not needed.
6023 * insetert.C (checkInsertChar): implementation of function
6026 * inset.h: added new function checkInsertChar.
6028 * various files: added c-tor and clone() function.
6030 * insetcollapsable.h: removed clone function here as this should
6031 be only realized in REAL insets and added it to all collapsable
6032 insets! (with the copy-constructor).
6034 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6036 * insetminipage.C (read): handle missing parameters more gracefully
6038 * insetcollapsable.C (read): handel missing collapsed more gracefully
6040 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6042 * insetfloat.C (read): handle missing parameters.
6044 * insettext.C (read): handle old latex end_inset
6046 * insetert.C (setButtonLabel): new method
6047 (init): use it, to set the dynamic label correctly
6050 * Makefile.am (EXTRA_DIST): add files that is not part or the
6053 * insetcollapsable.h: remove autocollapsable (no users), remove
6054 draw_label, change_label_with_text and companion code. Remove args
6056 * insetert.[Ch]: move here instead (only user)
6058 * inset.h: rename private variable name to name_, make
6059 selectNextWord return a const string. make getInsetName return a
6060 string const &. Remove bool from open, add close.
6062 * Makefile.am: don't compile insetlist, insetsection
6065 2001-07-24 Juergen Vigna <jug@sad.it>
6067 * insetert.C (InsetERT): put init after the paragraph initialization,
6068 as otherwise we don't set the draw_label right.
6070 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6071 insets with the mouse without having strange selections.
6072 (edit): if the inset was collapsed and we open it here then put the
6073 cursor always at the beginning of the inset.
6074 (get_new_label): 15 instead of 10 max chars in the label.
6076 * insetert.C (localDispatch): added and handle various stuff we
6077 need to handle here (font setting on paragraph break, not permitted
6078 layout setting, etc.).
6080 * inset.h: added default copy-consturctor and implemented this in
6081 various insets with the change to use this in the clone function!
6083 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6085 * insetminipage.C (InsetMinipage): set background color to red :)
6087 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6089 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6090 draw frame mode is LOCKED.
6092 * insetcollapsable.C (edit):
6093 (insetButtonRelease): set update status to full when
6096 * insettext.C (clearInset):
6097 * insettabular.C (draw):
6098 * insetlatexaccent.C (draw): honor background color.
6100 * inset.h: new member background_color_, initialized to
6103 * inset.C (backgroundColor): new method.
6104 (setBackgroundColor): new method.
6106 * insetert.C (init): new method, called by the ctors.
6107 (InsetERT): when inserting contents, make sure the font is
6110 * insetnote.C (InsetNote): when inserting content, remove trailing
6112 (init): set background color to LColor::note
6114 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6116 * insetcollapsable.C: adjust
6118 * insetbutton.C: adjust
6120 2001-07-23 Juergen Vigna <jug@sad.it>
6122 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6123 parameter on the _collapsed function (was not needed) and call
6124 always width_collapsed().
6126 * insetert.C (InsetERT): use setLabel with "true" flag.
6128 * insetcollapsable.C: modified various functions to set the draw_label
6129 string right in any condition.
6130 (setLabel): added a bool parameter to set change_label_with_text.
6132 * insetcollapsable.h: added draw_label string which is set to the
6133 actual drawn label-string, while label is the original static label
6134 of this collapsable inset. Added bool change_label_with_text to set
6135 if we want that the label changes to the start of the InsetText's
6136 text when collabpsed. You can set this flag with the setLabel funciton.
6137 Added bool inlined for inlined collapsable insets, but not handled
6140 * insetcollapsable.C (get_new_label): added should get a new label
6141 from the InsetText beginning (for now 10 chars).
6143 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6145 * insetquotes.C (latex): fix the handling of french double quotes
6146 when not using the french pachage.
6148 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6150 * insetcollapsable.h: make WidthCollapsed mutable.
6152 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6153 InsetPrintIndex returns INDEX_PRINT_CODE.
6155 * inset.h: add INDEX_PRINT_CODE
6157 * insetcollapsable.C (draw): init widthCollapsed if necessary
6160 * insetquotes.C (width): use the local language, not the document
6163 (dispString): add additional spacing for all french languages,
6165 (validate): make it work when there is no default language
6167 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6169 * insetnote.C (init): new method, called by the constructors
6170 (InsetNote): new constructor with contents passed as a string
6172 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6174 * insetfootlike.C (insetAllowed): disallow float in footlike.
6176 * insetert.C (InsetERT): add collapsed argument to the constrctor
6179 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6181 * insetindex.h: shut off warning
6183 2001-07-20 Juergen Vigna <jug@sad.it>
6185 * insetcollapsable.C (update): recoded hopefully works now!
6187 2001-07-19 Juergen Vigna <jug@sad.it>
6189 * most files: implemented the below new introduced function.
6191 * inset.h: added new edit(BufferView *, bool front) method to be able
6192 to enter an inset from the front/back without knowing x/y positions
6193 and baselines inside the inset. So I just can tell the inset activate
6194 me and set the cursor on the front/back of yourself.
6196 2001-07-18 Juergen Vigna <jug@sad.it>
6198 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6199 is given to the InsetText.
6200 (insetButtonPress): ditto
6201 (insetButtonRelease): ditto
6202 (insetMotionNotify): ditto
6204 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6206 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6207 LIGATURE_BREAK, since the name is so stupid.
6209 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6211 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6212 the default InsetCollapsable methods. I.e., it can insert anything.
6213 (write) output the name of the inset, not some silly hack for
6214 compatability with the old InsetInfo.
6216 * insetinfo.[Ch]: removed.
6217 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6218 now collapsable, but functionality is otherwise identical to InsetInfo.
6220 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6222 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6224 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6227 * insetquotes.C: general cleanup
6228 (dispString): add spaces inside french double quotes.
6229 (latex): ditto. Moreover, treat first the case where the frenchb
6230 or french options have been given.
6232 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6234 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6237 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6239 * figinset.C (RegisterFigure): Print debug message only when
6240 current_view is available.
6242 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6244 * many files: update to match the change below
6246 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6247 implement the version which takes an inset here.
6249 * insetcollapsable.[Ch]: implement open and isOpen
6251 * inset.h: remove insertInsetAllowed from Inset
6252 (open): new method, to open or close an inset
6253 (isOpen): returns the status of an inset
6254 (isCollapsable, colapse): removed
6256 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6258 * insetquotes.C (dispString): display french guillemets when using
6261 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6263 * insetcollapsable.h: remove bogus return statements
6265 2001-07-18 Juergen Vigna <jug@sad.it>
6267 * insettabular.C (selectNextWord): fixed spellchecking for the
6268 first cell of a tabular (wasn't entered!)
6269 (getLyXText): changed to enter automatically insettext and return
6270 it's LyXText if we're locked.
6272 2001-07-17 Juergen Vigna <jug@sad.it>
6274 * various files: implemented the below functions.
6276 * inset.h: added functions
6277 - virtual string selectNextWord(BufferView *, float & value) const;
6278 - virtual void selectSelectedWord(BufferView *) { return; }
6279 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6280 needed for spellchecking correctly!
6282 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6284 * insetert.C (latex): write out all paragraphs.
6286 2001-07-17 Baruch Even <baruch@lyx.org>
6288 * insetgraphics.C (draw): Removed unneeded casts.
6290 2001-07-16 Juergen Vigna <jug@sad.it>
6292 * insettext.C (update): fixed small oversight (reset lt to 0).
6294 2001-07-14 Baruch Even <baruch@lyx.org>
6297 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6299 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6301 Consistent use of Lsstream.h:
6302 * figinset.C: removed using std::ostringstream directive.
6304 * insetgraphics.C (createLatexOptions):
6305 * insetinclude.C (unique_id):
6306 std::ostringstream -> ostringstream.
6307 * insettext.C (localDispatch): std::istringstream -> istringstream.
6309 2001-07-13 Juergen Vigna <jug@sad.it>
6311 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6313 * insetcollapsable.C (getLockingInset): ditto.
6315 2001-07-12 Juergen Vigna <jug@sad.it>
6317 * insetcollapsable.h: added implementation of new function for
6320 * various files: added implementation of new insertInsetAllowed-func
6321 and redone the function a bit more.
6323 * inset.h: added isCollapsable(), bool collapsed(),
6324 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6326 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6328 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6329 LyXText which is marked for removal while we're using it!
6331 * insettext.h: added private LyXText * lt to use it to assure we are
6332 not deleting our LyXText while we're using it!
6334 2001-07-11 Juergen Vigna <jug@sad.it>
6336 * insettext.C (insertInset): check if we are before the inset after
6337 inserting it! This check IS needed. Remove the Undo-Call as it is
6338 called in LyXText::insertInset!
6340 * insettext.h: added struct InnerCache.
6342 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6343 that we ONLY delete the LyXText in the getLyXText() routine. So we
6344 are sure we don't delete LyXText while someone is working with it!
6346 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6348 * insetexternal.C: (*it). -> it->
6349 * insettext.C: ditto
6351 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6353 * insetcollapsable.C (edit): always open collapsed insets (even if
6354 they are not autocollapsable)
6356 * insetcommand.C (operator=): simplify.
6358 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6360 * insetert.C (latex): handle META_NEWLINE
6362 2001-07-09 Juergen Vigna <jug@sad.it>
6364 * insetert.h: a normal InsetText can insert insets, but we won't.
6366 * inset.h: return default "false" on insertInsetAllowed and implement
6367 this function where a returnvalue != "false" is needed.
6369 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6371 * insetert.C (InsetERT): new contructor
6373 2001-07-06 Juergen Vigna <jug@sad.it>
6375 * a lot of files: added implementation of the below new functions
6376 and the change to clone(). Also the call of the new undo-functions
6379 * inset.h: added an inset_id, added functions getParFromID,
6380 getInsetFromID, firstParagraph, cursor and id functions, added
6381 bool same_ids to clone function.
6383 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6385 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6386 of BufferView * and shared_ptr<LyXText>
6388 2001-07-05 Juergen Vigna <jug@sad.it>
6390 * insettext.C (clear): deleted also the cache not only LyXText.
6391 (setParagraphData): ditto.
6393 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6395 * insetfloat.C (latex): let the specific placement take presedence
6396 if set, otherwise choose document placement if set, otherwise just
6397 use float default placement.
6399 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6401 * insettext.C (localDispatch): call CutAndPaste::'s static method
6404 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6406 * insetbib.C: no meed to include forms.h here.
6408 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6410 * insettext.C: added using std::make_pair directive.
6412 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6414 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6416 (deleteLyXText): ditto
6417 (resizeLyXText): ditto
6419 2001-07-02 Juergen Vigna <jug@sad.it>
6421 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6422 following calls are only returned the right pointer without the over
6423 head to search in the map.
6424 (various funcs): reset the cached_bview variable as this signs that
6425 the cache is not valid anymore.
6427 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6429 * insettabular.C (clone): do not copy the LyXTabular twice
6431 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6433 * insettext.h (TEXT): delete method
6435 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6437 * insetmarginal.C (latex):
6438 * insetfoot.C (latex): fix spacing of notes in LaTeX
6440 * insettext.C (localDispatch): use .c_str() on istringstream
6441 constructor argument.
6443 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6448 * inseturl.C: fix method names in these to begin
6449 with small char too, so they inherit
6451 2001-06-28 Juergen Vigna <jug@sad.it>
6453 * insettext.C (setFont): fixed font settings using toggleFree()
6454 instead of setFont().
6456 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6458 * Change a lot of method names to begin with a small char.
6459 Changes to a lot of files because of this.
6461 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6463 * insetfloatlist.C (Write): std:: qualify ostream
6466 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6470 * insetgraphics.C: send debug output to Debug::INFO instead of
6473 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6476 * insettabular.C (getStatus): update to use func_status
6478 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6480 * insetref.C (DocBook): added support for cross-references without
6483 2001-06-26 The LyX Project <jug@sad.it>
6488 * insetlabel.h: removed escape method and moved it to
6491 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6493 * insettabular.C (getMaxWidth): do the speedup in a different way,
6496 2001-06-24 The LyX Project <Asger>
6498 * insettabular.C (getMaxWidth): We cache a mapping from
6499 inset to cell in order to speed this method up.
6501 2001-06-24 The LyX Project <Asger>
6503 * insettext.C: Optimized InsetText::draw or something.
6505 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6507 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6509 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6511 * inset.h: name change from lyxinset.h
6513 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6515 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6517 2001-06-14 Juergen Vigna <jug@sad.it>
6519 * insettext.C (draw): removed warnings.
6521 2001-06-13 Juergen Vigna <jug@sad.it>
6523 * insettabular.C (nodraw): only go down the tree if we don't have
6524 that flag set otherwise it's obvious that we don't want to draw.
6525 (LocalDispatch): do also an update if we have an undispached result.
6527 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6530 * insetgraphicsParams.C:
6531 * insettext.C: removed // -*- C++ -*- as first line.
6533 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6535 * lyxinset.h (resizeLyXText): shut off warning about unused
6538 2001-06-07 Juergen Vigna <jug@sad.it>
6540 * insettext.C (resizeLyXText): honor the new force flag.
6542 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6544 * insettabular.C (deleteLyXText): new function
6546 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6554 * insetcollapsable.C:
6555 * insetcaption.C: LColor tidy
6557 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6559 * figinset.C: fix typo
6561 2001-06-01 Juergen Vigna <jug@sad.it>
6563 * insettabular.C (resetPos): small hack so that scroll is not set to
6564 0 when we are in the last column of a tabular. This is a problem we
6565 have because of constats 20 offset on both directions, so this can
6566 cause on the limit an endless loop.
6568 * insettext.C (SetFont): forgot that we can have locking insets ;)
6570 2001-05-31 Juergen Vigna <jug@sad.it>
6572 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6574 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6576 * figinset.C: add using std:: directive for the C functions which
6579 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6581 * insetfloat.C (Write): write out wide info
6582 (Read): read the wide info
6583 (Latex): use the wide info when creating latex.
6585 * insettext.C: adjust
6587 * insetgraphics.[Ch] (statusMessage): change to return string
6591 * figinset.C (runqueue): add std::
6594 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6596 * insetcite.C (Ascii): add std:: qualifier
6598 2001-05-28 Juergen Vigna <jug@sad.it>
6600 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6601 a endless-width inset (maxWidth < 0).
6602 (Edit): change language only if not equal.
6604 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6606 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6608 2001-05-16 Juergen Vigna <jug@sad.it>
6610 * insettext.C (selectAll): added
6611 (clearSelection): added
6613 * insettabular.C (SetFont): now we may set a font on a whole selection!
6614 (getSelection): added helper function.
6616 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6618 * insetcite.C (Ascii): Add method.
6620 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6623 * insetbib.C: fix path for OS/2 & Win32
6625 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6627 * insetfoot.C (Latex): don't use % after footnote.
6629 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6631 * insettext.C (Read): use clear
6632 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6634 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6636 * insetfloatlist.h: add a bunch of std:: qualifiers.
6638 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6640 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6641 FLOAT_LIST_CODE, renumber code list.
6643 * insettoc.C (getScreenLabel): remove support for float lists
6647 * insetfloatlist.[Ch]: new files
6649 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6651 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6653 * insettabular.C (LocalDispatch):
6654 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6657 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6659 * insettext.C: remvoe !NEW_INSETS cruft
6661 * insettabular.C: remove !NEW_INSETS cruft
6663 * insetcollapsable.h: remove !NEW_INSETS cruft
6665 * insetbib.C: remove !NEW_INSETS cruft
6667 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6669 * insettoc.C: hack to make listof algorithm work
6671 2001-04-20 Juergen Vigna <jug@sad.it>
6673 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6675 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6677 * insetquotes.C (Latex): improve the guard against
6678 unwanted !` and ?` ligatures. This should really be done in
6679 another place (to catch all this ligatures at low-level).
6681 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6683 * insettext.C (init): remvoe leftovers from cursor_visible change
6684 (draw): use c++ cast
6685 (LocalDispatch): dispatch LFUN_MESSAGE
6687 * insettabular.C (InsetTabular): remove leftovers from
6688 cursor_visible, and scoped_ptr changes
6689 (draw): use c++ cast
6691 * insetcollapsable.C (draw): use c++ cast
6693 * ExternalTemplate.h: inherit privaely from noncopyable
6694 * insetcommand.h: ditto
6695 * insetinclude.h: ditto
6697 2001-04-16 Allan Rae <rae@lyx.org>
6699 * insettoc.C (Ascii):
6700 * insettext.C (draw):
6701 * insettabular.C (setPos):
6702 * insetminipage.C (Read):
6703 * insetfloat.C (placement):
6704 * insetcaption.C (Ascii, DocBook):
6705 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6706 an unrecognised preprocessor directive. So ensure they're wrapped.
6708 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6711 * insetexternal.C: set view on Clone. Add _ to private members.
6713 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6715 * insettext.C (InsetText): fix new
6716 (InsetText): reindent some, simplify deletion of par list
6717 (clear): simplify deletion of par list, fix new
6718 (SetParagraphData): simplify deletion of par list
6720 * insettabular.[Ch] (getLabelList): implement new method
6722 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6724 * lyxinset.h: do not include gettext.h...
6732 * insetlatexaccent.C:
6736 * inseturl.C: ... and do it here instead
6738 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6740 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6742 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6744 * insetcollapsable.[Ch] (getLabelList): implement
6746 * insettext.[Ch] (getLabelList): implement
6748 * insettext.h: reindent
6750 * insettabular.h: make tabular a scoped_ptr
6752 * insettext.C (init): adjust for cursor_visible
6753 (ToggleInsetCursor): constify asc and desc, font, adjust for
6755 (ShowInsetCursor): constify asc and desc, font, adjust for
6757 (HideInsetCursor): adjust for cursor_visible
6759 * insettabular.C: reindent some
6760 (InsetTabular): adjust for scoped_ptr and cursor_visible
6761 (InsetTabular): ditto
6762 (~InsetTabular): delete delete
6763 (Clone): adjust for scoped_ptr
6764 (Read): constify old_format, adjust for scoped_ptr, move init of
6766 (draw): constify tx, localize loop vars.
6767 some other localization of variables, remove double initilizatons.
6769 * insetfoot.C: remove using std::ostream, add ostream where needed
6771 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6773 * lyxinset.h: some reindentaion, use initializer list for
6775 UpdatableInset: make cursor_visible a private var add
6776 public isCursorVisible(), add protected toggleCursorVisible() and
6777 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6779 * insettoc.C: remvoe using decl
6780 (getScreenLabel): make cmdname donst
6783 (Ascii): don't use endl
6785 * insetfootlike.C: remove using decl at file scope and add std::
6787 * insetmarginal.C: ditto
6789 * insetfoot.C: some reformatting
6791 * insetfloat.C (InsetButtonRelease): adjust the hit area
6793 * insetert.C (SetFont): some reformatting
6795 * insetcollapsable.C: some reformatting and constification
6796 (Clone): comment out.
6797 * insetcollapsable.h: some reformatting
6798 (Clone): comment out.
6803 2001-03-30 Juergen Vigna <jug@sad.it>
6805 * insetcollapsable.h: changen *inset to be a InsetText inset.
6807 * some files: changed to reflect the above change.
6809 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6811 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6812 InsetExternal::Params.
6813 Added operator==() and operator!=() for the Params struct.
6815 2001-03-29 Juergen Vigna <jug@sad.it>
6817 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6820 * insetminipage.C: removed widthp_ and all it's functions and changed
6821 to use new %-lengths of LyXLength.
6823 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6825 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6827 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6829 * insetgraphicsParams.C (operator!=): new function, needed by the
6830 ControlGraphics class.
6832 2001-03-28 Juergen Vigna <jug@sad.it>
6834 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6835 (checkAndActivateInset): don't use the values returned from
6836 call to bv->checkInsetHit.
6838 * insetminipage.C (Clone): set special minipage values.
6840 * insetcollapsable.C (draw): changed to draw the button in the
6841 upper left corner outside the textinset.
6842 (ascent): changed because of different drawing
6846 (InsetButtonPress): ditto
6847 (InsetButtonRelease): ditto
6848 (InsetMotionNotify): ditto
6850 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6852 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6856 2001-03-26 Juergen Vigna <jug@sad.it>
6858 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6860 * insettext.C (ShowInsetDialog): implemented above function.
6862 * insettabular.C (ShowInsetDialog): ditto
6864 * insetminipage.C (ShowInsetDialog): ditto
6866 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6868 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6869 InsetInclude::Params. Don't store a buffer * in Params. Store the
6870 master file name instead.
6872 2001-03-23 Juergen Vigna <jug@sad.it>
6874 * insetcollapsable.C (InsetMotionNotify):
6875 (InsetButtonRelease):
6876 (InsetButtonPress): fixed y-offset (minipages).
6878 * insettext.C (draw): force a FULL update if cleared == true.
6880 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6881 routine to draw the minipages on its position-flag.
6882 (InsetInInsetY): give back the right y position, because of minipage
6885 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6888 * insetfloat.C (DocBook): docbook export code.
6890 2001-03-22 Juergen Vigna <jug@sad.it>
6892 * insetminipage.C (getMaxWidth): added function to set the drawing
6894 (Read): should work now!
6896 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6897 if we create a new inset.
6899 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6901 * figinset.C (fl_set_preemptive_callback): moved definition outside
6904 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6906 * insetminipage.C (Read): prepare for reading of minipage arguments.
6908 2001-03-18 Baruch Even <baruch@lyx.org>
6910 * insetgraphics.C: Minor cleanups of the comments and code.
6912 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6914 * insetminipage.C (InsetMinipage): default to not collapsed
6916 2001-03-16 Juergen Vigna <jug@sad.it>
6918 * insetminipage.C (width): modified with to be a string
6919 (widthp): added widthp (for % width) support functions.
6920 (InsetButtonRelease): added to open the options dialog on button==3.
6921 (~InsetMinipage): added to hide the dialog.
6923 * insetminipage.h: added hideDialog signal
6925 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6927 * insetminipage.h: change the order or Position to match
6928 LyXParagraph::MINIPAGE_ALIGNMENT
6930 * several files: remvoe CXX_WORKING_NAMESPACES
6932 * ExternalTemplate.h: noncopyable is in namespace boost
6933 * insetinclude.h: ditto
6934 * insetcommand.h: ditto
6936 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6938 * insettext.C (Edit): #else# -> #else.
6939 * insettoc.C: added using directive.
6941 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6943 * insetminipage.h: add pos, inner_pos, width and height. + getters
6944 and setters for all of them.
6946 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6948 * insetinclude.C (Latex): Do not exit when the textclass of the
6949 included file differ from the textclass of the parent file.
6951 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6953 * ExternalTemplate.C (read): the reading of external insets now checks
6954 for \end_inset and removes it form the input stream.
6956 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6958 * ExternalTemplate.h:
6959 * ExternalTemplate.C:
6961 * insetexternal.C: move form to GUII
6963 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6966 * insetinclude.C: add InsetIncludeParams, use
6967 composition rather than derivation of InsetCommand
6969 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6971 * insettoc.C (Ascii): use the Buffer typedefs
6973 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6975 * insettoc.C (Ascii): implement for dynamic number of lists
6977 * insetcaption.[Ch]: update from new_insets branch
6978 * insetfloat.[Ch]: ditto
6980 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6983 * figinset.C: use new File Dialog
6985 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6987 * insettext.C: changes becuase of ParagraphParameters.
6989 2001-02-28 Baruch Even <baruch@ev-en.org>
6991 * insetgraphics.C (updateInset): Changed due to the change in
6994 2001-02-26 Juergen Vigna <jug@sad.it>
6996 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6997 handled in LyXText).
6999 2001-02-23 Juergen Vigna <jug@sad.it>
7001 * insettext.C (draw): some small repainting fixes.
7002 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7004 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7005 should be) and not an int.
7007 * insettabular.C (LocalDispatch): ditto
7009 * insettext.C (LocalDispatch): ditto
7011 * insetcollapsable.C (LocalDispatch): ditto
7013 2001-02-22 Juergen Vigna <jug@sad.it>
7015 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7016 DISPATCH it and we don't have a locking_inset.
7018 2001-02-21 Baruch Even <baruch@ev-en.org>
7020 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
7021 instead of GraphicsCacheItem *.
7023 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7025 * insetcollapsable.C (getLyXText): add const qualifier to second
7028 2001-02-22 Juergen Vigna <jug@sad.it>
7030 * insettext.C (getLyXText): honor the recursive parameter.
7031 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7033 * inset.C (getLyXText): added bool recursive parameter.
7035 * insettext.C (SetUpdateStatus): or the update codes.
7036 (draw): check need_update with &.
7037 (InsetButtonPress): set no_selection to not put a selection when
7038 entering an inset and it is redraws in another spot.
7040 * insettext.h: made need_update an int.
7042 2001-02-20 Baruch Even <baruch@ev-en.org>
7045 * insetgraphisc.C: Changed to use better semantics when loading images
7046 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7048 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7052 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7053 consistent with InsetTabular.
7055 2001-02-19 Juergen Vigna <jug@sad.it>
7057 * insettabular.C (LocalDispatch): implement PAGE up/down.
7059 * insettext.C (draw): clear all of it on need_update==INIT too!
7061 * insettabular.C (InsetUnlock): always clear the selection.
7063 * inset.C (scroll): normally we only want to scroll the inset until
7064 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7066 2001-02-14 Juergen Vigna <jug@sad.it>
7068 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7069 (resetPos): fixed scroll behaviour.
7070 (LocalDispatch): do an update if moving cursor inside a table cell
7071 requests a scroll of the tabular.
7073 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7075 * insettext.C (textWidth): constify local var
7077 * insettabular.C: small cleanup.
7079 * insetfoot.C (Latex): constify local var
7081 * insetcollapsable.C: small cleanup.
7083 * figinset.C (runqueue): use compare instead of strcmp
7085 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7088 * insetinfo.C: remove cruft
7090 2001-02-14 Juergen Vigna <jug@sad.it>
7092 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7094 2001-02-13 Juergen Vigna <jug@sad.it>
7096 * insettext.C (InsertInset): don't move left (is this right?)
7098 * insettabular.C (LocalDispatch): use of the no_draw variable
7100 * insettabular.h: new no_draw variable to stop redraw
7102 * insettabular.C (TabularFeatures): fixed update for alignment change
7104 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7108 * insetbib.C: move dialogs to frontends/
7110 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7112 * insettext.C (LocalDispatch): Restore the language if the inset
7115 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7117 * insettext.C (moveRightIntern): Update the selection cursor.
7118 (moveLeftIntern): Ditto.
7120 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7122 * Makefile.am: remove BoundingBox.h
7124 * BoundingBox.h: removed
7126 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7128 * insettext.C (LocalDispatch): Update selection cursor when moving
7129 cursor to the right.
7130 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7131 (moveLeftIntern): Ditto.
7133 2001-02-05 Baruch Even <baruch.even@writeme.com>
7135 * insetgraphics.C: Updated automatic image conversion, it now goes into
7136 temporary directory instead of with the image itself.
7138 2001-01-21 Baruch Even <baruch@ev-en.org>
7140 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
7141 to EPS or PNG when needed (support bitmap graphics).
7143 2000-11-02 Baruch Even <baruch@ev-en.org>
7146 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
7147 and removal of commented out code.
7149 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7151 * insetbib.C (callback): Update citations if the key has changed.
7153 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7155 * insetbib.C (InsetBibKey): Better computation of default key.
7156 (getScreenLabel) Show both the key and the label.
7157 (getBibLabel): New method.
7158 (callback): Force a redraw if the inset have been changed.
7160 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7162 * insetref.C (getType, getName): Move methods from
7163 src/frontends/xforms/FormRef.C.
7165 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7167 * insettabular.C: Various improvements (use only one dummy position).
7169 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7171 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7172 par->bibkey->width. This fixes the crashes when running without
7173 gui or when having included documents.
7175 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7177 * insetcommand.C (getAsString, setFromString): Cleanup.
7179 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7181 * insetref.C: Add the array InsetRef::types that contains
7182 information about all supported reference types.
7184 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7186 * lyxinset.h: remove trailing comma in enum.
7188 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7190 * insettext.C: kill LyXBell.