1 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * insettext.C (editXY):
5 * insettabular.C (editXY):
6 * insetcollapsable.C (editXY):
7 * insetbase.C (editXY): constify
9 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
10 not ask for an update if we did nothing; on a mouse release, make
11 sure that the cursor is moved to the right position; on a mouse
12 release, exit from the inset instead of invoking a
15 * insetbase.C (dispatch): before invoking dispatch, set cursor
16 result to dispatch=update=true.
18 2004-08-13 José Matos <jamatos@lyx.org>
20 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
22 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
24 * insetfoot.C (latex): use OutputParams::intitle instead of
25 parOwner() (avoids time consuming lookup)
27 * insetquotes.C (latex): same as above with OutputParams::lang.
28 Moreover the code actually works now.
30 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
32 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
33 * insetinclude.C, insetgraphics.C, insetfloat.C:
34 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
35 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
36 "support/std_sstream.h" to <sstream>
38 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
40 * insetgraphics.C (prepareFile): remove conversion_needed flag.
41 It made the following fail for a .eps graphics file:
43 2) view->pdf (pdflatex)
44 because the .eps file was already in the temp dir when the pdflatex
45 export happened and therefore no .eps -> pdf conversion was done.
47 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
49 * insetgraphics.C, insettabular.C: s/wether/whether/g
51 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
53 * insetgraphics.C (stripExtension): new
54 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
56 * insetgraphics.C (prepareFile): Handle "nice" exports, too
57 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
59 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
61 * insetfloatlist.C (latex,getScreenLabel): translate according to
62 the document language (bug #1312)
64 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
66 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
67 with external_in_tmpdir and compute filename ourself
68 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
69 use it to store referenced file(s)
70 * ExternalSupport.C (writeExternal): write relative filename if
72 * ExternalTemplate.[Ch]: add ReferencedFile command
73 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
75 * insetgraphics.C (prepareFile): write relative filename if
77 * insetinclude.C (latex, docbook, linuxdoc): add file to
78 runparams.exportdata and write it to the temp dir instead of
79 writing it to the final destination
80 * insetinclude.C (docbook, linuxdoc): don't copy runparams
82 2004-05-19 Angus Leeming <leeming@lyx.org>
84 * insetcite.[Ch]: small change because namespace biblio is
85 now namespace lyx::biblio.
87 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
89 * insettabular.[Ch] (buffer): make Buffer * argument const
91 2004-05-17 Angus Leeming <leeming@lyx.org>
93 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
94 to force the button label to be re-generated.
96 2004-05-14 José Matos <jamatos@lyx.org>
98 * insetlabel (docbook): do not ouput label, for the moment.
100 2004-05-14 Angus Leeming <leeming@lyx.org>
102 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
103 new biblio::asValidLatexString function.
105 2004-05-12 Angus Leeming <leeming@lyx.org>
107 * insetcite.C: use BufferParams::cite_engine rather than the three
108 bools, use_natbib, use_jurabib, use_numerical_citations.
110 2004-05-10 Angus Leeming <leeming@lyx.org>
112 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
113 Ditto with getStyle, moved to biblio::getEngine.
115 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
117 * insetgraphics.C (validate): remove pre 233 file format stuff,
118 handle zipped files for "nice" export
120 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
122 * insetgraphics.C (prepareFile): copy zipped file and corresponding
123 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
124 * insetgraphics.C (prepareFile): unzip zipped file also if it has
125 changed since the last run
126 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
127 and copyFileIfNeeded.
129 2004-04-29 Angus Leeming <leeming@lyx.org>
131 * ExternalTemplate.[Ch]: remove redundant #includes.
133 2004-04-28 Angus Leeming <leeming@lyx.org>
136 s/updateToolbar()/updateToolbars()/
138 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
140 * insetgraphics.C: require file extension (file format change!)
141 * insetgraphics.C (latex): handle zipped files for "nice" export
143 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
145 * insetgraphics.C (latex): strip the extension and replace dots in
146 the filename if doing a "nice" export. This is a partial fix for
147 bug 1231 without reintroducing bug 655.
149 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
151 * insetoptarg.h: remove the editable() method (InsetCollapsable
152 does it better already)
154 * insetbibtex.C (normalize_name): new helper function. Changes the
155 name to be suitable to use in a latex file (relative to master
156 buffer if necessary).
157 (latex): use normalize_name.
159 2004-04-20 Angus Leeming <leeming@lyx.org>
161 * render_preview.C (startLoading): remove lyxerr statement.
163 (getPreviewLoader): new helper function.
165 2004-04-19 Angus Leeming <leeming@lyx.org>
169 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
171 2004-04-19 Angus Leeming <leeming@lyx.org>
173 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
175 (add_preview): renamed as add_preview_and_start_loading. Invoke
176 RenderPreview::startLoading.
178 * insetinclude.C (metrics, draw): changes due to the changed
179 RenderPreview interface.
181 * render_preview.C: remove cached pimage_.
182 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
183 (draw): don't call startLoading. That's up to the user of
186 2004-04-16 Angus Leeming <leeming@lyx.org>
188 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
190 2004-04-13 Angus Leeming <leeming@lyx.org>
192 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
193 the renderer to inform LyX::updateInset that the inset's status
194 has changed and it should be redrawn.
196 * render_button.[Ch] (clone):
197 * render_graphic.[Ch] (c-tors, clone):
198 * render_preview.[Ch] (c-tors, clone): ditto.
200 * render_graphic.[Ch] (connect):
201 * render_preview.[Ch] (connect): removed, as connection is now
202 made in the constructors.
206 * insetinclude.C: ensuing simplification of the client code.
207 (statusChanged): now superfluous. Removed.
209 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
211 * ExternalTemplate.[Ch]: remove editCommand
212 * ExternalSupport.C (editExternal): use formats.edit() instead of
213 the removed editCommand template parameter
214 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
215 * insetgraphics.[Ch] (editGraphics): new method
217 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
219 * insetinclude.C (validate): set/reset features.buffer_ when
222 2004-04-07 Angus Leeming <leeming@lyx.org>
224 * insetexternal.C (priv_dispatch):
225 * insetinclude.C (priv_dispatch): prevent crash by invoking
226 InsetOld::priv_dispatch at the end of the switch, rather than
227 InsetOld::dispatch...
229 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
231 * insetcollapsable.C:
232 * insetbranch.C: 'assign' to open/close branch inset according to
233 selection; also print content on closed branch button
235 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
237 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
238 $$RelPath_Master, $$RelPath_Parent, $$Extension,
239 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
241 * ExternalSupport.C (updateExternal): use absolute and output
242 filename where appropriate
244 2004-04-05 André Pönitz <poenitz@gmx.net>
246 * insetbase.h: use LCursor & in notifyCursorLeave
248 2004-04-05 Angus Leeming <leeming@lyx.org>
250 * insetgraphics.C: remove unused header file "lyxrc.h".
252 * render_graphic.C: squash bug 1372: Misleading graphics label when
253 deactivating lyx view.
255 2004-04-05 Angus Leeming <leeming@lyx.org>
260 * insetlatexaccent.C:
265 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
267 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
269 * insetfloat.C (read): fix yesterday's float fix.
270 * insetwrap.C (read): apply the fixed float fix.
272 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
274 * insetfloat.C (read): fix reading of float params
277 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
279 * insettext.C (edit): comment the call to updateLocal (dangling now)
280 * insettext.h: add allowSpellCheck() returning true
282 2004-03-31 Angus Leeming <leeming@lyx.org>
284 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
286 2004-03-31 Angus Leeming <leeming@lyx.org>
288 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
289 the cursor out of an inset.
291 * insetbranch.C (priv_dispatch):
292 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
293 use getOutOfInset to push the cursor out of the inset when
296 2004-03-30 Angus Leeming <leeming@lyx.org>
298 * insetbase.[Ch] (translate): new static member function, returns
299 an InsetBase::Code corresponding to the input string.
301 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
303 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
304 so that it opens the inset if it refers to the currently active
307 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
309 * insetfloat.C (addToToc): use par_const_iterator_begin and
310 par_const_iterator_end.
312 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
314 * insetbibtex.[Ch]: bibtopic support.
316 * insetfloat.[Ch]: add param \sideways {true|false}
317 (support for sideways floats from rotating.sty).
319 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
321 * insettext.[Ch]: add a default ctor. implement const version of
327 * insetwrap.C: adjust
329 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
331 * insettext.h: add insetAllowed returning true by default (fixing
332 vanishing insets problem)
334 * insettext.C (draw): handle the responsability of adding the
335 ouside offset to collapsable. Clean code a bit.
337 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
338 from insettext correctly, solve a couple of off-by-one drawing
341 2004-03-25 Angus Leeming <leeming@lyx.org>
343 * insetcaption.C (draw): squash warning about unused variable.
345 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
347 * ExternalSupport.C: use the master buffer's temp dir
348 * insetgraphics.C (latex): make relative filename relative to the
350 * insetgraphics.C: use the master buffer's temp dir
351 * insetinclude.C (masterFilename): new function
352 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
353 is always true if loadIfNeeded() returns true)
355 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
357 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
358 set its parent to the current buffer.
359 (latex): use the tmppath of the master buffer, not just the parent
360 buffer (makes a difference with more than one level of include
361 insets). If the file name is relative write in the .tex file a
362 name relative to the master buffer directory.
364 * insetinclude.C: rename masterFilename to parentFilename (this
365 points to the direct parent)
367 2004-03-25 André Pönitz <poenitz@gmx.net>
369 * inset.[Ch]: remover owner
371 * insetcollapsable.[Ch]: derive from InsetText instead having such a
379 * insetcharstyle.[Ch]:
387 * insetwrap.C: adjust
389 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
391 * insetquote.C: use opening quote after '[' char.
393 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
395 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
398 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
400 * insetcite.[Ch]: support jurabib.
402 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
404 * insetcite.C: Support second \cite option.
407 * insetcommandparams.[Ch]: add second optional argument.
409 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
411 * insetcollapsable.C (lfunMouseRelease): right mouse button only
412 shows the inset dialog.
414 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
416 * insetlabel.[Ch]: remove them
417 * Makefile.am: adjust
419 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
421 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
423 * insetinclude.C (latex): show a GUI warning if textclasses don't
425 * insetinclude.C: use mangledFilename() for temp files
426 * insetgraphics.C (readInsetGraphics): remove version check, since
427 the graphics inset has no own fileformat number anymore
429 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
431 * insetquotes.[Ch]: added new member that allows direct access
432 to single/double quotation marks.
434 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
436 2004-02-16 André Pönitz <poenitz@gmx.net>
439 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
440 implicitly assume 'DispatchResult(true, true) with exception of
441 InsetBase::priv_dispatch which does the equivalent of
442 'retrun DispatchResult(false)'
444 * inset*.[Ch] (priv_dispatch): adjust
446 * insettabular.[Ch]: remove remains of the 'update' mechanism,
447 simplify cursor moving function,
448 re-enable horizontal scrolling for large tables
450 2004-02-13 André Pönitz <poenitz@gmx.net>
452 * insettabular.[Ch]: some work after IU
454 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
456 * inset.C (setPosCache): switch to absolute coords in insets
457 * insettext.[Ch] (draw, drawFrame): adjust
458 * insetcollapsable.C (draw): adjust
461 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
463 * insettext.C (edit):
464 (updateLocal): use the cur argument instead of the global cursor
465 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
467 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
469 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
471 * insetfloat.C (validate): "H" -> 'H' in call to contains
473 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
475 2004-01-30 André Pönitz <poenitz@gmx.net>
479 * insetcollapsable.[Ch]:
482 * insetgraphics.[Ch]:
487 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
490 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
492 * insettabular.C: add using statement for std::vector, remove
493 std:: where using was already used.
495 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
497 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
499 * insetinclude.C (validate): use feautures.nice() instead of
502 2004-01-20 André Pönitz <poenitz@gmx.net>
505 * insetbase.[Ch]: move stuff from mathcursor here.
511 * insetcharstyle.[Ch]:
512 * insetcollapsable.[Ch]:
515 * insetexternal.[Ch]:
517 * insetgraphics.[Ch]:
526 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
528 2004-01-15 André Pönitz <poenitz@gmx.net>
535 * insetcharstyle.[Ch]:
536 * insetcollapsable.[Ch]:
539 * insetexternal.[Ch]:
541 * insetgraphics.[Ch]:
550 * updatableinset.[Ch] (priv_dispatch et al): change signature.
552 2004-01-08 André Pönitz <poenitz@gmx.net>
554 * insetcollapsable.[Ch]:
557 * updatableinset.h: use cell index info from global cursor.
559 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
561 * insetnote.C (InsetNoteParams::write): write label only once
563 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
565 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
567 get rid of the SameName functor
569 * insettabular.C: improve the functor.
571 2003-12-29 Angus Leeming <leeming@lyx.org>
573 * insetexternal.C (setParams): update defaultTemplateName.
575 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
577 * insetbox.C: Use term "Box" in button label
579 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
581 * insetcharstyle.C: get getDrawFont working again
583 2003-12-15 André Pönitz <poenitz@gmx.net>
586 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
588 2003-12-12 Angus Leeming <leeming@lyx.org>
590 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
592 (InsetBranchParams): remove the branchlist hack.
593 (isBranchSelected): new function, used to decide whether to
594 print each output format. Also used by InsetList.
595 (read, string2params): repair my own breakage ;-)
597 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
599 * insetminipage.[Ch]: remove from repository.
601 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
604 * insetcollapsable.[Ch]: Move all CollapseStatus code from
605 insetert to insetcollapsable; introduce virtual function
606 setButtonLabel and invoke it from collapsable
608 2003-12-12 Angus Leeming <leeming@lyx.org>
610 * insetinclude.C (draw): cache x,y and so enable the
613 2003-12-12 Angus Leeming <leeming@lyx.org>
615 * mailinset.C (print_mailer_error): tidy up the output.
617 2003-12-11 Angus Leeming <leeming@lyx.org>
619 * mailinset.[Ch] (print_mailer_error): new helper function.
621 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
622 calling InsetCommandMailer.
623 (InsetCommandMailer::string2params): pass the name of the dialog.
625 * insetbibitem.[Ch] (d-tor):
626 * insetbibtex.[Ch] (d-tor):
627 * insetcite.[Ch] (d-tor):
628 * insetfloatlist.[Ch] (d-tor):
629 * insetindex.[Ch] (d-tor):
630 * insetlabel.[Ch] (d-tor):
631 * insetref.[Ch] (d-tor):
632 * insettoc.[Ch] (d-tor):
633 * inseturl.[Ch] (d-tor): removed.
634 Hiding the dialog is handled by InsetCommand.
636 * insetbibtex.[Ch] (draw, metrics):
637 * insetfloatlist.[Ch] (draw, metrics):
638 * insetindex.[Ch] (draw, metrics): removed.
639 Drawing is handled by InsetCommand.
641 * insetbibitem.[Ch] (priv_dispatch):
642 * insetbibtex.[Ch] (priv_dispatch):
643 * insetcite.[Ch] (priv_dispatch):
644 * insetfloatlist.[Ch] (priv_dispatch):
645 * insetindex.[Ch] (priv_dispatch):
646 * insetlabel.[Ch] (priv_dispatch):
647 * insettoc.[Ch] (priv_dispatch):
648 * inseturl.[Ch] (priv_dispatch): removed or simplified.
649 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
650 LFUN_INSET_DIALOG_SHOW.
652 * insetbox.C (string2params):
653 * insetbranch.C (string2params):
654 * insetert.C (string2params):
655 * insetexternal.C (string2params):
656 * insetfloat.C (string2params):
657 * insetinclude.C (string2params):
658 * insetminipage.C (string2params):
659 * insetnote.C (string2params):
660 * insetvspace.C (string2params):
661 * insetwrap.C (string2params): over-hauled.
663 2003-12-10 Angus Leeming <leeming@lyx.org>
665 * insetexternal.[Ch]: add a draft option and respect it when
668 2003-12-10 Angus Leeming <leeming@lyx.org>
670 * insetbox.C: (read, write): now prepend the inset contents with
671 'Box' to identify the inset as a box inset.
673 * insetbox.h: move the translators out of sight.
675 2003-12-10 Angus Leeming <leeming@lyx.org>
677 * insetert.C (string2params): clean-up using the new lyxlex interface.
679 * insetexternal.C: ensure that InsetExternalParams has a default
680 template, 'RasterImage'.
682 2003-12-10 Angus Leeming <leeming@lyx.org>
684 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
685 to an enum. Ensuing clean-ups through out the class.
686 (read, write): now prepend the inset contents with 'Note' to identify
687 the inset as a note inset.
689 2003-12-10 Angus Leeming <leeming@lyx.org>
691 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
692 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
694 2003-12-10 André Pönitz <poenitz@gmx.net>
699 * insettext.[Ch]: remove unused insetInset()
701 * insetert.C: disable some LFUNs
703 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
705 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
707 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
709 2003-12-04 Angus Leeming <leeming@lyx.org>
711 * insetexternal.C (draw): update the xo_, yo_ cache.
713 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
715 (RotationDataType): new helper struct wrapping the
716 RotationData::OriginType enum.
718 2003-12-03 André Pönitz <poenitz@gmx.net>
720 * inset.h: remove getParagraphs()
722 * insetcollapsable.[Ch]:
726 * insettext.C: use getText() instead of getParagraphs()
728 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
730 * insetert.C: fix label text updating bug
732 2003-12-02 Angus Leeming <leeming@lyx.org>
734 * insetvspace.[Ch] (space): new member function. Make space_ private.
735 (read): use the new, simpler lyxlex syntax.
737 2003-12-01 André Pönitz <poenitz@gmx.net>
739 * insetcollapsable.[Ch]:
740 * insetert.[Ch]: move 'inline' state to InsetCollapsable
742 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
744 * insetvspace.C (read): handle 'end_inset' token.
746 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
748 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
750 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
752 * insetcollapsable.[Ch]:
754 * insetcharstyle.C: place inset content on the button when
757 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
759 * insetvspace.C: remove VSpace::NONE; increase inset width
761 2003-12-01 André Pönitz <poenitz@gmx.net>
763 * insetbase.h: whitespace
765 * inset.[Ch]: remove latexTextWidth
766 make setBackgroundColor virtual
768 * insettext.[Ch]: move ParagraphList member to LyXText
770 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
776 * insetminipage.[Ch]:
778 * insetwrap.[Ch]: adjust paragraphs and background color handling,
780 2003-11-28 Angus Leeming <leeming@lyx.org>
782 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
783 hiding and showing the dialog respectively.
784 (priv_dispatch): also actually update the inset contents.
786 2003-11-28 Angus Leeming <leeming@lyx.org>
788 * insetbox.C (d-tor):
789 * insetbranch.C (d-tor):
790 * insetcite.C (d-tor):
791 * insetfloat.C (d-tor):
792 * insetfloatlist.C (d-tor):
793 * insetinclude.C (d-tor):
794 * insetindex.C (d-tor):
795 simplify the invocation of the Mailer::hideDialog() function.
797 * insetminipage.C (showInsetDialog):
798 simplify the invocation of the Mailer::showialog() function.
800 2003-11-28 André Pönitz <poenitz@gmx.net>
803 * insetvspace.[Ch]: new insets
805 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
807 * insetcharstyle.C: Syntax change for CharStyles
809 2003-11-28 André Pönitz <poenitz@gmx.net>
811 * updatableinset.h: remove insetInInsetY
813 * insetcollapsable.[Ch]:
816 * insettext.[Ch]: adjust
818 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
822 * insetcollapsable.[Ch]:
824 * insettabular.[Ch]: remove setFont
826 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
828 * render_graphic.[Ch]: adjust comments
830 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
832 * insetgraphics.C (draw): cache xo_ & yo_
834 2003-11-24 André Pönitz <poenitz@gmx.net>
836 * insettext.C (setViewCache): don't call LyXText::init() anymore
838 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
841 * insetcollapsable.[Ch]:
842 * insetert.[Ch]: remove bufferview parameter in methods
843 open, close, status, and updateStatus.
845 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
847 * insetcollapsable.[Ch]:
849 * insettext.[Ch] (getCursorDim): squash unused variable
851 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
853 * insettext.C (edit): x0_,y0_ -> xo_,yo_
855 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
857 * insettext.C (draw): sets LyXText absolute coordinates
859 2003-11-20 Angus Leeming <leeming@lyx.org>
861 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
862 about unused parameters.
864 * insetcollapsable.C (open):
865 * insettabular.C (pasteSelection):
866 * insettoc.C (draw): ditto.
868 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
870 * insetcollapsable.C:
872 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
873 remove mouse_x mouse_y etc.
875 2003-11-17 André Pönitz <poenitz@gmx.net>
877 * insettext.[Ch] (cx, cy): remove
879 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
881 2003-11-13 André Pönitz <poenitz@gmx.net>
884 * insetcollapsable.[Ch]:
886 * insettext.[Ch] (deleteLyXText): remove
888 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
890 * insetcollapsable.[Ch] (fitInsetCursor): remove
891 * insettabular.[Ch] (fitInsetCursor): remove
892 * insettext.[Ch] (fitInsetCursor): remove
893 * updatableinset.[Ch] (fitInsetCursor): remove
894 (getCursorDIm): add virtual
896 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
898 * src/insets/Makefile.am:
899 * src/insets/inset.h:
900 * src/insets/insetcharstyle.C:
901 * src/insets/insetcharstyle.h: The Character Style /XML short
904 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
906 * insettext.C: remove all update calls
907 * insetcollapsable.C: remove all update calls
909 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
911 * insettext.C (updateLocal, insertInset, setFont): remove
914 2003-11-10 André Pönitz <poenitz@gmx.net>
916 * inset.h: remove Inset::id_
918 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
921 2003-11-10 André Pönitz <poenitz@gmx.net>
925 * insetcollapsable.[Ch]:
932 * updatableinset.[Ch]: remove inset locking & adjust
934 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
936 * inset.h (allowSpellCheck): add (return true)
937 * insetert.h (allowSpellCheck): add (return false)
939 2003-11-05 José Matos <jamatos@lyx.org>
947 * insetcollapsable.[Ch]:
951 * insetexternal.[Ch]:
953 * insetfloatlist.[Ch]:
955 * insetgraphics.[Ch]:
960 * insetlatexaccent.[Ch]:
963 * insetmarginal.[Ch]:
964 * insetminipage.[Ch]:
968 * insetpagebreak.[Ch]:
972 * insetspecialchar.[Ch]:
978 * insetwrap.[Ch]: rename ascii to plaintext
979 and LatexRunParams to OutputParams.
981 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
983 * insetcollapsable.C (edit): add open() all
984 * insettext.C (edit): add setViewCache call
986 2003-11-04 André Pönitz <poenitz@gmx.net>
988 * inset.h (edit): move locking code from dispatch() to edit()
994 * insetcollapsable.[Ch]:
997 * insetexternal.[Ch]:
998 * insetgraphics.[Ch]:
1003 * insettabular.[Ch]:
1004 * insettext.[Ch]: adjust
1006 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1009 * insetcollapsable.[Ch]:
1011 * insettabular.[Ch]:
1013 * updatableinset.[Ch]: remove dead search code
1015 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1018 * insetcollapsable.[Ch]:
1020 * insettabular.[Ch]:
1022 * updatableinset.[Ch]: remove dead spellcheck code
1024 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1026 * insettabular.C (lockInsetInInset): small fix
1028 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1030 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1031 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1032 from here. Be stricter on DispatchResult returned.
1034 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1036 * Inset::dispatch's: adjust for new DispatchResult semantics.
1038 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1040 * render_base.h: make clone return an auto_ptr
1041 * render_button.C (clone): adjust
1042 * render_graphic.C (clone): adjust
1043 * render_preview.C (clone): adjust
1045 * insettheorem.C (clone): return an auto_ptr
1047 * insettext.C (priv_dispatch): exception safety
1049 * insettabular.C: store the file scope variable paste_tabular in a
1050 scoped_ptr, adjust usage.
1052 * insetexternal.C (setParams): exception safety
1054 * insetbibitem.C (clone): exception safety
1056 2003-11-03 André Pönitz <poenitz@gmx.net>
1059 * insetcollapsable.[Ch]:
1060 * insettabular.[Ch]:
1061 * insettext.[Ch]: remove Inset::id and related functions
1063 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1065 * insets: adjust for DispatchResult changes.
1067 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1069 * insetpagebreak.C: fix screen representation & ascii output.
1071 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1075 * insettabular.[Ch]:
1076 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1078 2003-10-31 José Matos <jamatos@lyx.org>
1080 * inset.h (ascii, linuxdoc, docbook):
1081 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1082 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1083 * insetcaption.[Ch] (ascii, docbook):
1084 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1085 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1086 * insetert.[Ch] (ascii, linuxdoc, docbook):
1087 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1088 * insetfloat.[Ch] (linuxdoc, docbook):
1089 * insetfloatlist.[Ch] (ascii):
1090 * insetfoot.[Ch] (docbook):
1091 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1092 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1093 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1094 * insetindex.[Ch] (docbook):
1095 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1096 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1097 * insetline.[Ch] (ascii, linuxdoc, docbook):
1098 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1099 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1100 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1101 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1102 * insetref.[Ch] (ascii, linuxdoc, docbook):
1103 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1104 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1105 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1106 * insettext.[Ch] (ascii, linuxdoc, docbook):
1107 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1108 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1109 * insetwrap.[Ch] (docbook):
1110 add LatexRunParams argument.
1112 2003-10-30 José Matos <jamatos@lyx.org>
1114 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1116 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1118 * updatableinset.C (priv_dispatch):
1119 * insetwrap.C (priv_dispatch):
1120 * inseturl.C (priv_dispatch):
1121 * insettoc.C (priv_dispatch):
1122 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1123 (moveLeftIntern, moveUp, moveDown):
1124 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1125 (moveLeft, moveUp, moveDown):
1126 * insetref.C (priv_dispatch):
1127 * insetnote.C (priv_dispatch):
1128 * insetminipage.C (priv_dispatch):
1129 * insetlabel.C (priv_dispatch):
1130 * insetindex.C (priv_dispatch):
1131 * insetinclude.C (priv_dispatch):
1132 * insetgraphics.C (priv_dispatch):
1133 * insetfloatlist.C (priv_dispatch):
1134 * insetfloat.C (priv_dispatch):
1135 * insetexternal.C (priv_dispatch):
1136 * insetert.C (priv_dispatch):
1137 * insetcommand.C (priv_dispatch):
1138 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1139 * insetcite.C (priv_dispatch):
1140 * insetbranch.C (priv_dispatch):
1141 * insetbox.C (priv_dispatch):
1142 * insetbibtex.C (priv_dispatch):
1143 * insetbibitem.C (priv_dispatch):
1144 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1146 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1148 * insettext.C: small refactoring of docbook stuff
1150 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1152 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1153 (priv_dispatch): adjust for operator dispatch_result_t removal
1155 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1156 in a DispatchResult, adjust accordingly.
1157 (priv_dispatch): use strange >= construct... (will be removed later)
1159 * most insets: dispatch_result -> DispatchResult
1161 * insetbase.h: move DispatchResult out to dispatchresult.h
1163 2003-10-27 André Pönitz <poenitz@gmx.net>
1165 * insetpagebreak.[Ch]: new inset for page breaks
1167 * insetline.[Ch]: new inset for vertical lines
1172 2003-10-25 Angus Leeming <leeming@lyx.org>
1174 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1175 new virtual member functions, specialised...
1176 * render_button.h (asButton):
1177 * render_graphic.h (asGraphic):
1178 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1180 * insetexternal.C: use these new functions rather than dynamic_cast.
1181 Various other small simplifications.
1183 2003-10-22 Angus Leeming <leeming@lyx.org>
1185 * insetexternal.[Ch]: add the ability to 'preview' the external file
1188 * insetinclude.C: changes due to the changes in the RenderPreview
1191 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1192 message if the preview image is not available. Only initiate the
1193 loading of the preview from draw(). Ditto, start the monitoring
1194 of an external file from RenderMonitoredPreview::draw.
1196 2003-10-22 Angus Leeming <leeming@lyx.org>
1198 * insetcite.[Ch] (setLoadingBuffer): removed.
1199 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1200 ascertain whether to proceed with the (expensive) task of computing
1201 the natbib-style label. Remove the home-grown hack providing
1202 similar functionality.
1204 2003-10-22 Angus Leeming <leeming@lyx.org>
1206 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1207 class and into an anonymous namespace.
1209 2003-10-22 Angus Leeming <leeming@lyx.org>
1211 * insetcommand.h: remove the display method.
1215 * insetindex.h (InsetPrintIndex):
1216 * insettoc.h: add a display method, returning true.
1218 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1220 * insetcollapsable.h:
1224 * insetinclude.h: (1) finish off the inset display() work;
1225 (2) fix the "is a bit silly" bug (accessing char
1228 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1232 * insetfootlike.h: re-introduce display() for insets,
1233 fixing the various bugs (stretch of line above, math inset
1236 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1238 * insetbase.C (dispatch): new func
1239 (priv_dispatch): new func replaces...
1240 (localDispatch): this, deleted.
1242 * all insets with dispatch modified for new code.
1244 2003-10-15 André Pönitz <poenitz@gmx.net>
1246 * insetcollapsable.[Ch]
1248 * inset.h: re-add some edit(bv, index) method called by undo
1250 2003-10-14 Angus Leeming <leeming@lyx.org>
1252 * insetexternal.[Ch] (view, cache, view_):
1253 * insetgraphics.[Ch] (view, cache, view_):
1254 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1255 (statusChanged): call LyX::cref().updateInset.
1257 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1258 the BufferView cache.
1260 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1263 2003-10-14 Angus Leeming <leeming@lyx.org>
1265 * insetinclude.C (metrics, draw): only draw the preview when previews
1268 2003-10-14 André Pönitz <poenitz@gmx.net>
1270 * insetcollapsable.[Ch]:
1271 * insettabular.[Ch]:
1273 * inset.h: getText() as alternative to getParagraphs()
1275 2003-10-13 Angus Leeming <leeming@lyx.org>
1278 * insetgraphicsParams.C: displayTranslator is now a function.
1280 2003-10-13 Angus Leeming <leeming@lyx.org>
1282 * insetinclude.C: remove #include "PreviewImage.h".
1284 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1286 * ExternalSupport.C:
1287 * ExternalTransforms.C:
1289 * insetbox.h: ws changes only
1291 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1293 * insetinclude.C (localDispatch): do not call
1294 InsetOld::localDispatch, just return UNDISPATCHED
1295 * insetgraphics.C (localDispatch): ditto
1296 * insetcommand.C (localDispatch): ditto
1298 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1300 * inset.h: get rid of RESULT typedef for dispatch_result
1302 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1303 * insetert.[Ch] (localDispatch): ditto
1304 * insettabular.[Ch] (localDispatch): ditto
1309 * insettext.[Ch] (localDispatch): ditto
1312 (moveRightIntern): ditto
1313 (moveLeftIntern): ditto
1316 * updatableinset.[Ch] (localDispatch): ditto
1318 2003-10-12 Angus Leeming <leeming@lyx.org>
1320 * renderbase.h (view, view_): removed.
1321 * renderbase.C: removed.
1322 * Makefile.am: remove render_base.C. The shortest lived file in
1325 * renderbutton.C (draw):
1326 * render_graphic.C (draw): don't cache the BufferView.
1328 * insetabase.h (cache, view): removed.
1330 * inset.h (generatePreview) removed.
1332 * insetcallapsable.[Ch] (cache, view, view_): removed.
1334 * insetcollapsable.C (draw): don't cache the BufferView.
1336 * insetcommand.[Ch] (view): removed.
1338 * insetexternal.[Ch] (cache, view, view_):
1339 * insetgraphics.[Ch] (cache, view, view_):
1340 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1342 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1343 when you have direct access to it. In fact, don't use the cache at all.
1345 2003-10-10 Angus Leeming <leeming@lyx.org>
1347 * insetinclude.C (metrics): use preview_->metrics.
1348 (draw): use preview_->draw.
1350 * render_preview.[Ch] (pimage): removed.
1352 2003-10-10 Angus Leeming <leeming@lyx.org>
1354 * renderers.[Ch]: removed.
1357 * render_button.[Ch]:
1358 * render_graphic.[Ch]:
1359 * render_preview.[Ch]: new files. The first three are split out of
1360 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1361 contains a re-worked InsetInclude::PreviewImpl also.
1363 * Makefile.am: reflect the changed files.
1366 * insetexternal.[Ch]:
1367 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1369 * insetinclude.[Ch]: changes reflecting the change from
1370 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1376 * inseturl.C: add #include "support/std_ostream.h"
1378 2003-10-09 Angus Leeming <leeming@lyx.org>
1380 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1381 to PreviewedInset::previewReady.
1383 2003-10-09 Angus Leeming <leeming@lyx.org>
1385 * insetexternal.[Ch] (statusChanged):
1386 * insetgraphics.[Ch] (statusChanged): make a const member function.
1388 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1391 2003-10-09 Angus Leeming <leeming@lyx.org>
1393 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1394 to PreviewedInset's previewReady and removePreview member functions.
1396 2003-10-08 André Pönitz <poenitz@gmx.net>
1398 * insetcollapsable.C:
1399 * insettext.[Ch]: saner 'init' structure
1401 * updatableinset.[Ch]: remove unneeded code
1403 2003-10-08 Angus Leeming <leeming@lyx.org>
1405 Fix doxygen warnings.
1407 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1408 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1410 2003-10-07 Angus Leeming <leeming@lyx.org>
1412 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1413 be applied to InsetExternal.
1415 * Makefile.am: add these new files.
1417 * ExternalTemplate.[Ch]: add a list of available transforms to
1418 class Template and a list of factory functions for transformer classes
1419 that can act on this data to class Format.
1421 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1423 * ExternalSupport.C: Add code to replace transform placeholders
1424 with appropriate output.
1426 2003-10-07 Angus Leeming <leeming@lyx.org>
1428 * ExternalSupport.[Ch]: new files, moving the private member functions
1429 and namespace anon functions out of insetexternal.C to here, so making
1430 it easier to understand what is going on in insetexternal itself.
1432 * Makefile.am: add new files.
1434 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1435 allowing the class to be forward declared. (Also consistent with
1436 all other Params classes.)
1437 (write): moved out of the class. Move this function and those in
1438 namespace anon to ExternalSupport.[Ch].
1440 2003-10-07 Angus Leeming <leeming@lyx.org>
1442 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1443 non-const member function.
1445 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1450 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1452 2003-10-02 André Pönitz <poenitz@gmx.net>
1454 * insettext.C (read): make sure there is at least one par
1455 in the text after reading.
1457 2003-10-01 José Matos <jamatos@lyx.org>
1459 * insetbranch.C (linuxdoc, docbook): minor fix.
1461 2003-10-01 Angus Leeming <leeming@lyx.org>
1463 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1465 * insetexternal.[Ch]: changes due to the introduction of
1466 namespace lyx::external.
1468 2003-09-30 Angus Leeming <leeming@lyx.org>
1470 * insetexternal.[Ch] (Params::read, write): new member functions.
1472 2003-09-25 Angus Leeming <leeming@lyx.org>
1474 * insetexternal.[Ch] (TempName): new (private) nested struct with
1475 fake copy semantics. Enables us to use the generated copy c-tor
1476 in the Params struct.
1477 (Params::templatename, Params::tempname): use accessor functions.
1479 2003-09-25 Angus Leeming <leeming@lyx.org>
1481 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1482 function, returning a const pointer.
1484 2003-09-23 Angus Leeming <leeming@lyx.org>
1486 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1487 store them in a vector, preambleNames.
1489 * insetexternal.C (validate): loop over all preambleNames and call
1490 LaTeXFeatures::addExternalPreamble with each.
1492 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1494 * insetbranch.C: bug fix in branches
1496 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1498 * insetnote.C: small clean-up.
1500 2003-09-19 Angus Leeming <leeming@lyx.org>
1502 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1504 * insetcommand.C (string2params): clear params using the default c-tor.
1506 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1507 InsetInclude::Params. No more data in this struct than in
1508 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1509 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1510 (clone): remove #warning as it's now redundant.
1511 (set): add a 'Buffer const &' arg. Make private.
1512 (loadIfNeeded) move out of the class definition and into namespace anon.
1513 (getMasterFilename, getFileName): ditto.
1515 2003-09-18 Angus Leeming <leeming@lyx.org>
1517 * insetcommand.C (setParams): use the params' copy constructor.
1519 2003-09-18 Angus Leeming <leeming@lyx.org>
1521 * insetinsetbase.h (getLabelList):
1522 * insetinsetcollapsable.[Ch] (getLabelList):
1523 * insetinsetinclude.[Ch] (getLabelList):
1524 * insetinsetlabel.[Ch] (getLabelList):
1525 * insetinsettabular.[Ch] (getLabelList):
1526 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1527 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1529 2003-09-18 Angus Leeming <leeming@lyx.org>
1531 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1532 redundant baggage from yesteryear.
1533 Remove Params::flag as it is redundant; the info is present in
1536 2003-09-18 Angus Leeming <leeming@lyx.org>
1538 * insetinclude.C (latexString): add a Buffer const & arg.
1540 2003-09-18 Angus Leeming <leeming@lyx.org>
1545 * insettext.h: rename EnumLColor as LColor_color.
1547 2003-09-18 Angus Leeming <leeming@lyx.org>
1549 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1550 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1552 2003-09-16 Angus Leeming <leeming@lyx.org>
1554 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1555 set before trying to generate a preview, else we trigger an assert.
1557 2003-09-16 Angus Leeming <leeming@lyx.org>
1559 * insetinclude.C (PreviewImpl::parent): return a const reference.
1561 2003-09-16 Angus Leeming <leeming@lyx.org>
1563 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1565 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1567 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1568 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1570 * insetminipage.C (metrics):
1571 * insetnote.C (metrics):
1572 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1573 access collapsed_ directly.
1575 2003-09-16 Angus Leeming <leeming@lyx.org>
1577 * insetbibitem.C: add #include "lyxfont.h".
1579 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1582 * insetbibtex.C: use namespace alias for lyx::support::os
1584 2003-09-16 Angus Leeming <leeming@lyx.org>
1586 * insetcollapsable.h: remove unused framecolor variable.
1587 Remove #include "LColor.h".
1589 * insetcollapsable.C: remove unused framecolor variable.
1592 * insetcollapsable.C:
1600 Add #include "LColor.h".
1602 2003-09-16 Angus Leeming <leeming@lyx.org>
1604 * insettext.[Ch] (frameColor): new accessor function.
1605 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1611 add #include "LColor.h".
1613 * insetcollapsable.h: add #include "LColor.h"
1614 (for its framecolor member variable).
1616 2003-09-16 Angus Leeming <leeming@lyx.org>
1618 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1620 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1621 rename frame_color as frame_color_. Make private.
1623 * insettext.C: associated changes.
1625 2003-09-16 Angus Leeming <leeming@lyx.org>
1627 * inset.h: store background_color_ as an int, not as an LColor::color to
1628 get LColor.h out of the header file.
1631 * insetlatexaccent.C:
1634 * insetspecialchar.C:
1636 add #include "LColor.h".
1638 2003-09-16 Angus Leeming <leeming@lyx.org>
1640 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1643 2003-09-15 Angus Leeming <leeming@lyx.org>
1645 * inset.[Ch] (setBackgroundColor, backgroundColor):
1646 * insettext.[Ch] (setFrameColor):
1647 pass EnumLColor args, rather than LColor::color ones.
1649 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1659 * insetwrap.C: remove usage of STRCONV
1661 2003-09-15 Angus Leeming <leeming@lyx.org>
1663 * renderers.C (draw):
1664 * insetlatexaccent.C (draw): explicitly define the color passed to
1667 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1669 * insettext.C: remove block causing problems in lockInsetInInset
1670 (mentioned erroneously under Bug #1366)
1672 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1674 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1677 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1679 * several files: change Assert to BOOST_ASSERT
1681 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1683 * insettext.[Ch]: remove drawText[XY]Offset
1685 2003-09-08 Angus Leeming <leeming@lyx.org>
1687 * insetcollapsable.C:
1692 * insetspecialchar.C:
1695 * insettoc.C: remove redundant using directives.
1697 2003-09-07 Angus Leeming <leeming@lyx.org>
1700 * insetspecialchar.h: remove #include "support/std_string.h".
1702 2003-09-06 Angus Leeming <leeming@lyx.org>
1704 * renderers.C: add #include "insets/inset.h"
1706 2003-09-05 Angus Leeming <leeming@lyx.org>
1708 * *.C: strip out redundant #includes. (193 in total.)
1710 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1712 * insets/insetbibtex.[Ch]:
1713 * insets/insetcommand.h:
1714 * insets/insetfloatlist.[Ch]:
1715 * insets/insetinclude.[Ch]:
1716 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1717 of insets like bibtex, include, toc and floatlist to the visible
1718 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1719 up the dialogs. Cursor has to be in front of the inset (i.e.
1720 start of row) for this to function.
1722 2003-09-04 Angus Leeming <leeming@lyx.org>
1724 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1725 structure outside of the Format struct. Format::preambleName refers to
1726 an item in the map of all preamble snippets.
1727 Make use of the new Debug::EXTERNAL flag.
1729 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1730 (validate): Small change due to the changed storage of preamble snippets.
1732 2003-09-04 Angus Leeming <leeming@lyx.org>
1734 * insetgraphics.C: #include "support/os.h"
1736 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1737 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1738 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1740 * insetcollapsable.h:
1742 * insetnote.C: move #include "funcrequest.h" out of the header file.
1744 2003-09-03 Angus Leeming <leeming@lyx.org>
1746 * insetexternal.C (updateExternal):
1747 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1750 2003-09-03 Angus Leeming <leeming@lyx.org>
1752 * insetexternal.C: don't bring namespace lyx::support into the global
1755 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1757 * insetbranch.C: Add Branch: to label
1759 2003-09-02 John Levon <levon@movementarian.org>
1762 * insettext.C: remove cursor.i[xy]()
1764 2003-08-28 Angus Leeming <leeming@lyx.org>
1766 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1767 "sh ", enabling the conversion to be carried out even if the script
1770 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1772 * most files: change to use const Buffer refs
1774 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1776 * insetfootlike.C: whitespace.
1778 2003-08-26 John Levon <levon@movementarian.org>
1782 * insetindex.h: remove remaining mentions of needFullRow()
1784 2003-08-26 André Pönitz <poenitz@gmx.net>
1790 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1792 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1794 * insetbranch.C: Small fix to prevent a crash on loading.
1796 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1801 * insetcollapsable.h:
1803 * insetfloatlist.[Ch]:
1804 * insetfootlike.[Ch]:
1805 * insetinclude.[Ch]:
1811 * insettheorem.[Ch]:
1812 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1813 altogether, putting the logic in metrics/draw in the insets.=20
1814 Draws short single row insets with more or less realistic metrics.
1816 2003-08-19 André Pönitz <poenitz@gmx.net>
1818 * insettext.C: use new RowPainter interface
1820 2003-08-18 John Levon <levon@movementarian.org>
1822 * insetref.C: require amsmath for eqref
1824 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1828 * insetbranch.[Ch]: implements the 'branch inset'
1829 idea. This allows the output of various versions of a document
1830 from a single source version, selectively outputing or suppressing
1831 output of parts of the text.
1832 This implementation contains a 'branch list editor' in a separate
1833 tab of the document settings dialog. Branches are user definable
1834 and have a "display colour" to distinguish them on-screen.
1836 ColorHandler was somewhat cleaned up.
1837 (1) make possible a dynamically growing LColor list by allowing
1838 the graphic context cache to grow along (vector);
1839 (2) eliminate an IMHO unnecessary step in colour allocation.
1841 2003-08-15 André Pönitz <poenitz@gmx.net>
1843 * insettext.[Ch]: adjust after rowlist split
1845 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1847 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1848 rename valign-center to valign-middle;
1849 rename VALIGN_CENTER to VALIGN_MIDDLE
1851 2003-08-11 André Pönitz <poenitz@gmx.net>
1853 * inset.h: remove resizeLyXText
1856 * insetcollapsable.[Ch]:
1858 * insettabular.[Ch]: adjust
1860 * insettext.[Ch]: remove saveLyXTextState,
1861 restoreLyXTextStat, sstate, reinitLyXText
1863 2003-08-07 André Pönitz <poenitz@gmx.net>
1865 * inset.[Ch]: move non-crucial functions out-of-line
1867 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1868 remove duplicated code.
1870 2003-08-05 André Pönitz <poenitz@gmx.net>
1873 * insetcollapsable.[Ch]:
1883 * insettabular.[Ch]:
1886 * updatableinset.[Ch]: rip out "deep update"
1888 * insettext.C (localDispatch): merge cases with default branch
1890 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1892 * insettabular.[Ch] (updateLocal): simplify logic
1894 2003-08-04 André Pönitz <poenitz@gmx.net>
1896 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1897 is 'FULL' all the time.
1899 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1901 * insetert.C (get_new_label): only add ... to the (closed) label
1902 when the string has been shortened
1904 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1906 * Always use std::endl with lyxerr
1908 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1910 * insetnote.C: update \author list
1912 2003-07-31 André Pönitz <poenitz@gmx.net>
1914 * insetcollapsable.h:
1915 * insettabular.[Ch]:
1916 * insettext.[Ch]: remove toggleSelection
1918 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1920 (with help from Juergen Spitzmueller)
1921 * insetnote.C: add add i18n support. Use Prefs-definable
1922 colours for Comment and Greyedout.
1924 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1926 * insetcollapsable.[Ch]:
1928 * insetert.C: factor out the detection of clicking on the inset
1929 button as 'hitButton'. John Levon contributed.
1931 2003-07-30 André Pönitz <poenitz@gmx.net>
1933 * insetcollapsable.C:
1935 * insettabular.C: parantheses, localize vars etc.
1937 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1939 * insetnote.C: Implement a newenvironment in preamble for
1940 greyedout. Patch provided by Jürgen Spitzmüller.
1942 2003-07-29 Angus Leeming <leeming@lyx.org>
1944 * insetcommand.C (localDispatch): default to
1945 InsetOld::localDispatch.
1947 * insetbibitem.C (localDispatch):
1948 * insetbibtex.C (localDispatch): remove call to
1949 ChangeCitationsIfUnique.
1951 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1953 * insetexternal.C (read): use pushpophelper.
1955 2003-07-28 José Matos <jamatos@lyx.org>
1957 * insetext.C (read): \end_document replaces \the_end.
1959 2003-07-28 José Matos <jamatos@fep.up.pt>
1961 * insetert.C (write): \layout -> \begin_layout.
1962 Add missing \end_layout.
1964 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1966 * insetquotes.C: document a bit the format
1968 * insettabular.C (write): remove extra space
1970 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1971 * insetnote.C: Umpf. Hope I *now* get it right :-(
1973 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1974 *insetnote.C: did the right fix to greyedout: \color
1975 instead of \textcolor.
1977 2003-07-28 Angus Leeming <leeming@lyx.org>
1979 * insetbibtex.h: remove extraneous forward declaration.
1982 * insetbibtex.h: Also remove long-dead Holder member class
1985 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1987 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1990 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1992 * insetwrap.C (addToToc): adjust for lyx::toc
1994 * insetfloatlist.C (ascii): adjust for lyx::toc
1996 * insetfloat.C (addToToc): adjust for lyx::toc
1998 2003-07-27 José Matos <jamatos@fep.up.pt>
2000 * insetnote.h (linuxdoc,docbook): update support.
2002 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2004 * insetfloat.C (wide): add a space to label, for consistency
2006 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2008 * insettext.C (nextChange): adjust for lyx::find
2009 (searchForward): ditto
2010 (searchBackward): ditto
2012 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2014 * insetgraphicsParams.C:
2015 * insetexternal.C: declare extern displayTranslator
2018 * renderers.C: add #include "support/LAssert.h"
2020 2003-07-27 José Matos <jamatos@fep.up.pt>
2022 * insetfloat.[Ch] (linuxdoc):
2023 * insetgraphics.C (linuxdoc):
2024 * insettabular.C (linuxdoc):
2025 * insettext.[Ch] (linuxdoc): add support for tables and figures
2028 2003-07-27 José Matos <jamatos@fep.up.pt>
2030 * insetinclude (latex): comply with makeLaTeXFile argument change.
2032 2003-07-26 Asger Alstrup <alstrup@local>
2034 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2035 the undo crashes. We'll see what problems other places this will
2038 2003-07-26 Angus Leeming <leeming@lyx.org>
2040 * insetgraphics.C: remove unused declaration of system_tempdir.
2042 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2044 * rename Inset to InsetOld
2046 * all inset files (clone): return a auto_ptr<InsetBase>
2048 2003-07-23 Angus Leeming <leeming@lyx.org>
2050 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2052 2003-07-23 Angus Leeming <leeming@lyx.org>
2054 * mailinset.[Ch] (inset2string):
2055 * insetcommand.[Ch] (inset2string):
2056 * insetert.[Ch] (inset2string):
2057 * insetexternal.[Ch] (inset2string):
2058 * insetfloat.[Ch] (inset2string):
2059 * insetgraphics.[Ch] (inset2string):
2060 * insetinclude.[Ch] (inset2string):
2061 * insetminipage.[Ch] (inset2string):
2062 * insetnote.[Ch] (inset2string):
2063 * insettabular.[Ch] (inset2string):
2064 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2066 * insetexternal.[Ch]:
2067 * insetgraphics.[Ch]: get rid of the view() function. Associated
2068 changes to the mailers' string2params and params2string functions.
2070 2003-07-23 Angus Leeming <leeming@lyx.org>
2072 * insetexternal.[Ch]: store the external file name in a FileName
2073 member variable rather than a string + associated changes.
2075 2003-07-21 Angus Leeming <leeming@lyx.org>
2077 * insetgraphicsParams.[Ch]: store the graphics file name in
2078 a FileName member variable rather than a string.
2080 * insetgraphics.[Ch]:
2081 * insetgraphicsParams.[Ch]: Associated changes.
2083 2003-07-21 Angus Leeming <leeming@lyx.org>
2085 * insetgraphics.[Ch] (string2params, params2string): passed a
2086 buffer_path argument.
2089 2003-07-21 Angus Leeming <leeming@lyx.org>
2092 * insetgraphicsParams.[Ch]:
2094 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2096 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2098 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2100 2003-07-18 André Pönitz <poenitz@gmx.net>
2103 * insetminipage.[Ch]:
2104 * insettabular.[Ch]:
2107 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2109 2003-07-18 André Pönitz <poenitz@gmx.net>
2113 * insetcollapsable.C:
2117 * insetgraphics.[Ch]:
2118 * insetlatexaccent.[Ch]:
2123 * insetspecialchar.C:
2124 * insettabular.[Ch]:
2126 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2128 2003-07-17 André Pönitz <poenitz@gmx.net>
2130 * insetcollapsable.C:
2132 * insettext.C: don't call Inset::update() anymore
2135 * insettabular.[Ch]: remove unneeded in_update_ members
2137 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2139 2003-07-16 André Pönitz <poenitz@gmx.net>
2141 * insettext.C (selectAll): remove
2143 2003-07-16 John Levon <levon@movementarian.org>
2146 * insetnote.C: implement showInsetDialog()
2148 2003-07-15 André Pönitz <poenitz@gmx.net>
2151 * insettext.C: refresh_status tristate -> need_update bool
2153 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2155 * insettext.C: adjust call to LyXText::init
2157 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2159 * insettext.C: use bufferview_funcs->replaceSelection()
2160 to delete selections in some cases (bugs 441, 673, 702, 954).
2162 2003-07-14 André Pönitz <poenitz@gmx.net>
2164 * insettext.C (draw): use slimmed down rowpainter interface
2166 2003-07-14 André Pönitz <poenitz@gmx.net>
2168 * insetcollapsable.C:
2170 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2171 remove unused BufferView * argument
2173 2003-07-14 André Pönitz <poenitz@gmx.net>
2175 * insettext.[Ch]: used cached metrics a bit more
2177 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2179 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2181 2003-07-10 André Pönitz <poenitz@gmx.net>
2184 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2186 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2188 * introduce namespace lyx::graphics
2190 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2192 * introduce namespace lyx::support
2194 2003-06-30 André Pönitz <poenitz@gmx.net>
2196 * insetcite.C (localDispatch): fix case of missing return value
2198 * insetcite.C (ascii): remove unneeded temporary
2200 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2202 * insetspace.h: fix \file
2204 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2205 * insetinclude.C (fillWithBibKeys): ditto
2207 * insetbibitem.C: fix type const order
2209 * inset.C (getLyXText): add varname for arg
2211 * ExternalTemplate.h: fix type const order
2213 2003-06-27 André Pönitz <poenitz@gmx.net>
2215 * insettext.C: take care of removed LyXCursor::row_ member
2217 * insettext.[Ch]: use new TextCursor struct for sstate
2219 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2221 * inseterror.[Ch]: removed
2223 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2225 * insetinclude.C (docbook): use parseError instead of sgmlError
2227 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2229 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2230 of BufferList::loadLyXFile
2232 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2234 * insettext.C (update): simplify
2235 (updateLocal): remove commented code
2236 (insetUnlock): simplify
2237 (lockInset): simplify
2238 (updateInsetInInset): simplify
2239 (localDispatch): simplify
2241 (resizeLyXText): simplify
2242 (collapseParagraphs): simplify
2244 * insetert.C (get_new_label): simplify
2246 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2248 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2249 pasteSelection with index
2251 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2253 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2255 2003-06-16 André Pönitz <poenitz@gmx.net>
2257 * insetbase.h: new virtual base function clone()
2259 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2260 Inset * clone() -> InsetBase * clone()
2262 2003-06-13 André Pönitz <poenitz@gmx.net>
2264 * insettabular.[Ch]: make tabular a proper member
2266 2003-06-12 André Pönitz <poenitz@gmx.net>
2268 * insettabular.[Ch]: some renaming plus whitespace
2270 2003-06-11 Angus Leeming <leeming@lyx.org>
2272 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2275 * insetbutton.[Ch]: removed.
2276 * graphicinset.[Ch]: renamed as renderers.[Ch].
2278 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2279 Create a new class ButtonRenderer using the InsetButton::metrics() and
2281 Derive both from a common RenderedInset base class.
2283 * insetcommand.[Ch]:
2284 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2285 Give it a ButtonRenderer member variable. Use it.
2286 Give the classes working copy c-tors.
2287 No longer derive from boost::noncopyable.
2289 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2290 display its contents as a button or as a graphic.
2292 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2295 2003-06-11 Angus Leeming <leeming@lyx.org>
2297 * insetcite.C (localDispatch): reformat.
2299 * insetref.C (localDispatch): enable dialog to be lauched.
2301 2003-06-11 John Levon <levon@movementarian.org>
2303 * insettabular.C: correctly mark all cells as erased
2305 2003-06-11 Angus Leeming <leeming@lyx.org>
2307 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2308 ExternalTemplate but its name, templatename. This means that a file
2309 containing a reference to an External Template not installed on the
2310 current machine will be saved retaining this info rather than inserting
2311 the first "valid" template from the list of templates.
2313 As a by product, the visual statement that the Template is missing is
2316 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2318 * insettext.C (appendParagraphs): remove some commented code.
2320 2003-06-10 Angus Leeming <leeming@lyx.org>
2322 * graphicinset.[Ch] (view): removed the publicly accessible function to set
2325 * insetexternal.[Ch]: move tempname_ into the Params struct.
2326 (Params d-tor): new function, to clean-up this temp file.
2327 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2329 (editExternal, doSubstitution): move out of class.
2331 2003-06-10 Angus Leeming <leeming@lyx.org>
2333 * graphicinset.[Ch] (params): removed.
2334 * graphicinset.h (operator=): declared private but not defined.
2335 (statusMessage): made private.
2337 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2339 2003-06-07 John Levon <levon@movementarian.org>
2341 * insetert.C (latex): make a newline mean just that not
2344 2003-06-07 José Matos <jamatos@fep.up.pt>
2346 * insethfill.[Ch] (linuxdoc, docbook): implement output
2347 * insetspace.C (linuxdoc, docbook): remove coments as the code
2350 2003-06-06 José Matos <jamatos@fep.up.pt>
2352 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2354 2003-06-06 André Pönitz <poenitz@gmx.net>
2356 * insetwrap.[Ch]: code compactification
2358 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2360 * mailinset.C (updateDialog): use Dialogs::visible
2362 2003-06-04 Angus Leeming <leeming@lyx.org>
2364 * graphicinset.C (draw): add a comment for the #if 0 block.
2366 * insetexternal.h: remove Params::parameters variable.
2367 * insetexternal.C (read, write): rewrite to output new ExternalInset format
2368 and read it back making full use of LyXLex.
2370 2003-06-04 André Pönitz <poenitz@gmx.net>
2372 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2374 2003-06-04 John Levon <levon@movementarian.org>
2376 * insettabular.C: back out tall table speed up. It was broken
2378 2003-06-03 Angus Leeming <leeming@lyx.org>
2380 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2381 Remove ViewCommand and UpdateCommand.
2383 * graphicinset.C (update): bug fix. Set the params before calling the
2385 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
2386 BufferView cache to enable the InsetExternal::editCommand to be invoked
2387 from the frontends. Would not be needed if this were dispatched properly.
2388 (old_ascent_): variable removed.
2390 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2391 do any necessary conversions of external material. Also use the
2392 new GraphicsInset to display the inset within LyX.
2394 2003-06-03 Angus Leeming <leeming@lyx.org>
2396 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2397 and move it somewhere where InsetExternal can use it too.
2399 * Makefile.am: add the new files.
2401 * insetgraphics.[Ch]: make use of the new GraphicInset.
2403 2003-06-03 John Levon <levon@movementarian.org>
2406 * insetbibitem.[Ch]:
2409 * insetcommand.[Ch]:
2413 * insetexternal.[Ch]:
2417 * insetgraphics.[Ch]:
2419 * insetinclude.[Ch]:
2422 * insetlatexaccent.[Ch]:
2423 * insetmarginal.[Ch]:
2424 * insetminipage.[Ch]:
2431 * insetspecialchar.[Ch]:
2432 * insettabular.[Ch]:
2434 * insetthereom.[Ch]:
2437 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2439 * insetgraphics.[Ch]:
2440 * insetgraphicsParams.[Ch]: always store an absolute
2443 2003-06-02 André Pönitz <poenitz@gmx.net>
2447 * insetlatexaccent.C: remove duplicated call to metrics()
2449 2003-06-02 John Levon <levon@movementarian.org>
2451 * insettabular.C: fix resize of column width
2453 2003-06-02 John Levon <levon@movementarian.org>
2458 * insetparent.C: remove insetparent
2460 2003-06-02 André Pönitz <poenitz@gmx.net>
2467 * insetcollapsable.[Ch]:
2471 * insetgraphics.[Ch]:
2472 * insetinclude.[Ch]:
2473 * insetlatexaccent.[Ch]:
2474 * insetminipage.[Ch]:
2475 * insetnewline.[Ch]:
2478 * insetspecialchar.[Ch]:
2479 * insettabular.[Ch]:
2480 * insettext.[Ch]: unify first drawing phase
2483 * insetbase.h: move validate() to the base
2485 2003-05-31 Angus Leeming <leeming@lyx.org>
2487 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2489 2003-05-30 André Pönitz <poenitz@gmx.net>
2494 * insetcaption.[Ch]:
2495 * insetcollapsable.[Ch]:
2498 * insetgraphics.[Ch]:
2499 * insetinclude.[Ch]:
2500 * insetlatexaccent.[Ch]:
2501 * insetnewline.[Ch]:
2504 * insetspecialchar.[Ch]:
2505 * insettabular.[Ch]:
2507 * updatableinset.[Ch]: unify second drawing phase
2509 2003-05-30 John Levon <levon@movementarian.org>
2511 * insetgraphics.C: fix a bformat
2513 2003-05-29 John Levon <levon@movementarian.org>
2515 * insettabular.C: remove unused bufferOwner()
2517 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2519 * insettext.C (lockInsetInInset): adjust
2520 (getLabelList): use const_iterator, adjust
2521 (getInsetFromID): use const_iterator, adjust
2522 (addPreview): use const_iterator, adjust
2524 * insetwrap.C (clone): remove const_cast
2526 * insetnote.C (clone): remove const_cast
2528 * insetminipage.C (clone): remove const_cast
2530 * insetmarginal.C (clone): remove const_cast
2532 * insetfoot.C (clone): remove const_cast
2534 * insetfloat.C (clone): remove const_cast
2536 * insetert.C (clone): remove const_cast
2538 * delete commented same_id functions from a lot of files.
2540 2003-05-28 John Levon <levon@movementarian.org>
2546 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2548 * insetminipage.C: fix metrics (bug 1144)
2550 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2552 * insettext.C (saveLyXTextState): adjust
2553 (restoreLyXTextState): adjust
2556 (unlockInsetInInset): adjust
2557 (localDispatch): adjust
2558 (getLyXText): adjust
2560 * insettabular.C (insertAsciiString): adjust
2562 2003-05-27 André Pönitz <poenitz@gmx.net>
2565 * insetcollapsable.C:
2568 * insetlatexaccent.C:
2573 * insetspecialchar.C:
2575 * insettext.C: dim.w -> dim.wid
2577 2003-05-26 John Levon <levon@movementarian.org>
2579 * insettabular.C: avoid drawing all of a long table
2580 if it's not needed. A big speedup
2582 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2584 * remove same_id from function signatures, adjust
2586 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2588 * insettext.C (InsetText): adjust
2590 (setParagraphData): separate same_id cases, adjust
2591 (appendParagraphs): adjust
2592 (appendParagraphs): adjust
2594 2003-05-23 André Pönitz <poenitz@gmx.net>
2596 * insetbutton.h: whitespace
2598 * insettabular.C: more compact code
2600 * updatableinset.C: remove const_cast
2603 2003-05-23 Angus Leeming <leeming@lyx.org>
2605 * insetexternal.C (write): check how many lines are output.
2606 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2607 if the template has defined it.
2609 2003-05-23 Angus Leeming <leeming@lyx.org>
2611 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2613 2003-05-23 Angus Leeming <leeming@lyx.org>
2615 * insetfoot.C (latex):
2616 * inseturl.C (latex): rename fragile as moving_arg.
2618 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2620 * inseterror.C (localDispatch): comment out unused var.
2622 2003-05-22 Angus Leeming <leeming@lyx.org>
2624 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2625 passed through the LatexRunParams arg.
2627 2003-05-22 Angus Leeming <leeming@lyx.org>
2629 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2630 through the LatexRunParams arg.
2632 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2633 arg rather than through a global var.
2635 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2637 * insetspecialchar.C (dimension): use a string.
2639 2003-05-22 Angus Leeming <leeming@lyx.org>
2641 * insetbibtex.C (latex):
2642 * insetgraphics.C (latex):
2643 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2644 runparams rather than from the buffer itself.
2646 2003-05-22 Angus Leeming <leeming@lyx.org>
2648 * inset*.[Ch] (latex):
2649 passed a LatexRunParams parameter.
2651 * insetgraphics.C (latex): actually use it ;-)
2653 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2655 * insetfloat.C (addToToc): trivial compile fix
2657 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2659 * insettext.[Ch] (paragraph): delete unused function
2661 * insetfloat.C (addToToc): parlist simplfication
2663 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2665 * insetspace.[Ch]: added (new space insets)
2667 * inset.h: handle new space insets
2669 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2671 * insetfloat.C (addToToc): adjust
2673 2003-05-21 André Pönitz <poenitz@gmx.net>
2675 * insettext.[Ch]: fix drawing bug introduced earlier
2677 2003-05-19 André Pönitz <poenitz@gmx.net>
2679 * insetspecialchar.C: fix bug introduced yesterday
2681 2003-05-19 André Pönitz <poenitz@gmx.net>
2685 * insetcollapsable.[Ch]:
2689 * insetgraphics.[Ch]:
2690 * insetgraphicsParams.[Ch]:
2691 * insetlatexaccent.[Ch]:
2692 * insetminipage.[Ch]:
2693 * insetnewline.[Ch]:
2695 * insetspecialchar.[Ch]:
2696 * insettabular.[Ch]:
2697 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2699 2003-05-19 André Pönitz <poenitz@gmx.net>
2702 * insettext.C: more insetenv
2704 2003-05-16 André Pönitz <poenitz@gmx.net>
2707 * insetminimpage.[Ch]:
2708 * insetcollapsable.[Ch]: fix #832
2710 2003-05-16 André Pönitz <poenitz@gmx.net>
2713 * insetbibitem.[Ch]:
2717 * insetcollapsable.[Ch]:
2718 * insetcommand.[Ch]:
2721 * insetexternal.[Ch]:
2722 * insetfloatlist.[Ch]:
2723 * insetgraphics.[Ch]:
2724 * insetinclude.[Ch]:
2727 * insetlatexaccent.[Ch]:
2730 * insettabular.[Ch]:
2734 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2736 2003-05-13 André Pönitz <poenitz@gmx.net>
2739 * insetcollapsable.C:
2743 * insetwrap.C: tostr from own header
2755 * insetwrap.C: STRCONV
2758 2003-05-12 André Pönitz <poenitz@gmx.net>
2770 * insetwwrap.C: boost::format -> bformat all over the place
2772 2003-05-05 André Pönitz <poenitz@gmx.net>
2774 * insettext.h: add missing #include <map>
2776 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2778 * insettext.C (InsetText): parlist cleanup
2781 (insetUnlock): ditto
2783 (lockInsetInInset): ditto
2787 (searchBackward): ditto
2788 (collapseParagraphs): ditto
2790 2003-05-06 John Levon <levon@movementarian.org>
2792 * insetcaption.C: don't cast wrap inset to InsetFloat
2795 * insetfloat.C: remove unneeded type() function
2797 2003-05-05 André Pönitz <poenitz@gmx.net>
2801 * insettabular.[Ch]:
2802 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2803 replace getFirstParagraph() by getParagraphs()
2805 2003-05-03 John Levon <levon@movementarian.org>
2807 * insetcollapsable.h:
2808 * insetcollapsable.C:
2814 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2815 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2816 getCursor(). Remove explicit cursor hides.
2818 2003-05-02 André Pönitz <poenitz@gmx.net>
2820 * insettext.C: remove unneeded &*
2822 2003-04-30 John Levon <levon@movementarian.org>
2824 * insettabular.C: fix edit message
2826 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2828 * insettext.C (setFont): do not convert iterator -> pointer
2830 * insettabular.C (localDispatch): do not convert iterator -> pointer
2832 (tabularFeatures): ditto
2834 2003-04-29 André Pönitz <poenitz@gmx.net>
2836 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2838 2003-04-28 André Pönitz <poenitz@gmx.net>
2840 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2843 2003-04-25 André Pönitz <poenitz@gmx.net>
2845 * insetenv.C: derive from InsetText instead of InsetCollapsable
2847 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2849 * insetexternal.C (string2params): dont do anything if the string
2851 * insetgraphics.C (string2params): ditto
2852 * insetcommand.C (string2params): ditto
2853 * insetert.C (string2params): ditto
2854 * insetfloat.C (string2params): ditto
2855 * insetinclude.C (string2params): ditto
2856 * insetminipage.C (string2params): ditto
2857 * insettabular.C (string2params): ditto
2858 * insetwrap.C (string2params): ditto
2860 2003-04-24 André Pönitz <poenitz@gmx.net>
2862 * insetref.C: support for eqref
2864 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2866 * insetert.C (read): use ParagraphList::iterator.
2868 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2870 * insetquotes.C (latex): comment some code and add warnings.
2872 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2874 * insetexternal.C (localDispatch): added a missing DISPATCHED
2876 2003-04-12 John Levon <levon@movementarian.org>
2878 * insetwrap.C (addToToc): fix a crash, conversion
2879 from while to for loop forgot to remove the explicit
2882 2003-04-10 John Levon <levon@movementarian.org>
2884 * insettabular.C (tabularFeature): make sure
2885 to update the dialog when we change something
2888 (getStatus): don't disable some lfuns (bug 939)
2890 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2892 * insettext.C (saveLyXTextState): adjust
2893 (localDispatch): adjust
2899 * insettabular.C (localDispatch): adjust
2901 (tabularFeatures): adjust
2903 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2905 * insettabular.C (searchForward,searchBackward): fix bug 782
2907 2003-04-07 John Levon <levon@movementarian.org>
2910 * insettext.C: clear status message on inset exit
2912 2003-04-03 John Levon <levon@movementarian.org>
2914 * insetcommand.C: return dispatched on DIALOG_UPDATE
2916 2003-04-02 John Levon <levon@movementarian.org>
2918 * insettabular.C: tab lfuns renamed
2920 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2922 * insettext.C (update): move towards ParagraphList
2923 (updateLocal): ditto
2925 (insetUnlock): ditto
2927 (lockInsetInInset): ditto
2928 (updateInsetInInset): ditto
2929 (localDispatch): ditto
2932 (resizeLyXText): ditto
2933 (searchBackward): ditto
2934 (collapseParagraphs): ditto
2937 * insetwrap.C (InsetWrap): adjust
2938 (addToToc): adjust and rewrite loop
2940 * insettext.[Ch] (paragraph): delete function
2942 * insettabular.C (moveNextCell): adjust
2943 (movePrevCell): adjust
2944 (insertAsciiString): adjust
2946 * insetfloat.C (InsetFloat): adjust
2949 * insetert.C (InsetERT): adjust
2950 (write): adjust, and rewrite loop
2951 (latex): adjust, and rewrite loop
2952 (linuxdoc): adjust, and rewrite loop
2953 (docbook): adjust, and rewrite loop
2954 (localDispatch): adjust
2955 (get_new_label): adjust
2957 2003-04-01 John Levon <levon@movementarian.org>
2959 From Alfredo Braunstein
2962 * insetbutton.C: add localDispatch()
2964 * insetcommand.C: return DISPATCHED when edit() called
2966 * insettext.C: fix bug 967
2968 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2970 * insettext.C: adjust
2972 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2974 * insettext.C (draw): adjust
2975 (crow): return a RowList::iterator not a Row*
2977 * insetminipage.C (localDispatch): adjust
2979 * insetert.C (localDispatch): adjust
2981 2003-03-31 John Levon <levon@movementarian.org>
2984 * insetgraphicsParams.C: use_gui moved to lyx_gui
2986 2003-03-31 John Levon <levon@movementarian.org>
2988 * insettext.C: Alert fix
2990 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2992 * insettext.C (ascent): adjust for RowList
2995 (getLyXText): adjust
2996 (toggleSelection): adjust
2998 * insetminipage.C (localDispatch): adjust for RowList
3000 * insetert.C (localDispatch): adjust for RowList
3001 (getMaxWidth): adjust for RowList
3003 2003-03-29 John Levon <levon@movementarian.org>
3005 * insetert.C: Alert cleanup
3007 2003-03-29 John Levon <levon@movementarian.org>
3009 * insettabular.C: Alert fix
3011 2003-03-28 John Levon <levon@movementarian.org>
3013 * insetfloat.C: reset label on INSET_MODIFY
3015 2003-03-28 John Levon <levon@movementarian.org>
3017 * insetgraphicsParams.C: read subcaptionText as a whole line
3020 2003-03-28 John Levon <levon@movementarian.org>
3022 * insettext.C: remove unused prototypes
3024 2003-03-25 Angus Leeming <leeming@lyx.org>
3026 * insetbibitem.C (localDispatch): repaint the view after modifying
3027 a bibitem inset in case the maximum InsetBibitem width has changed.
3029 2003-03-25 John Levon <levon@movementarian.org>
3032 * insettabular.C: LyXText renamings
3034 2003-03-24 John Levon <levon@movementarian.org>
3036 * insettext.C: remove some dead code. Fix bug 972 and
3037 related by posting a repaint in updateLocal(), and making
3038 the SEL functions set SELECTION.
3040 2003-03-22 John Levon <levon@movementarian.org>
3043 * inset.C: remove no-longer-needed topx_set
3045 * insetcollapsable.h:
3046 * insetcollapsable.C: remove dead code
3049 * insetert.C: rebreak the rows when a possible
3050 change in size is made, and reset the cursor
3053 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3055 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3056 topx_set. Fix drawing errors for clearInset(). Remove
3057 some unnecessary uses of topx, which should die.
3059 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3060 is no longer needed. Replace it with an ugly hack.
3062 2003-03-20 John Levon <levon@movementarian.org>
3065 * insetcollapsable.h:
3066 * insetcollapsable.C:
3074 * insettext.C: remove spurious font parameter
3075 from update(). Fix drawing of ERT insets inside
3076 insets (bug 966). Remove unused mark_dirty from
3077 tabular's updateLocal()
3079 2003-03-19 John Levon <levon@movementarian.org>
3088 * insetwrap.C: remove unused getter/setters
3090 2003-03-19 John Levon <levon@movementarian.org>
3092 * several files: bv->updateInset() doesn't take
3093 a bool mark_dirty any more
3095 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3097 * adjust for BufferView* arg removal from lyxtext.
3099 2003-03-17 John Levon <levon@movementarian.org>
3101 * most files: remove the "cleared" parameter
3102 to draw in favour of always clearing. Associated
3105 2003-03-16 John Levon <levon@movementarian.org>
3107 * insettext.C: remove unused s.refresh
3109 2003-03-13 Angus Leeming <leeming@lyx.org>
3111 * insettext.C (edit): replace Dialogs::updateParagraph with
3112 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3114 2003-03-13 André Pönitz <poenitz@gmx.net>
3116 * Makefile.am: insert insetenv
3118 * insethenv.[Ch]: new files, currently inactive
3120 2003-03-12 John Levon <levon@movementarian.org>
3130 * insettext.C: use new insetnewline
3132 2003-03-12 John Levon <levon@movementarian.org>
3134 * insettext.C: readToken became readParagraph
3136 2003-03-12 John Levon <levon@movementarian.org>
3138 * insettext.C: use parlist iterator for reading contents
3140 2003-03-12 John Levon <levon@movementarian.org>
3142 * insettext.C: name change to readToken()
3144 2003-03-11 André Pönitz <poenitz@gmx.net>
3146 * Makefile.am: insert insethfill
3148 * insethfill.[Ch]: new files
3150 2003-03-10 Angus Leeming <leeming@lyx.org>
3152 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3154 (hideDialog): calls the new static Dialogs::hide() method.
3156 * insetbibitem.C (edit):
3157 * insetbibtex.C (edit):
3158 * insetcite.C (edit):
3159 * insetcommand.C (localDispatch):
3160 * inseterror.C (d-tor):
3161 * insetert.C (showInsetDialog):
3162 * insetexternal.C (localDispatch, edit):
3163 * insetfloat.C (localDispatch, showInsetDialog):
3164 * insetfloatlist.C (edit):
3165 * insetgraphics.C (localDispatch, edit):
3166 * insetinclude.C (localDispatch, edit):
3167 * insetindex.C (edit):
3168 * insetlabel.C (edit):
3169 * insetminipage.C (localDispatch, showInsetDialog):
3170 * insetref.C (edit):
3171 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3172 resetPos, showInsetDialog, openLayoutDialog):
3173 * insettoc.C (edit):
3174 * inseturl.C (edit):
3175 * insetwrap.C (localDispatch, showInsetDialog):
3176 changes due to the changed MailInset interface.
3178 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3180 * insetfloat.h: Set default placement to an empty string.
3182 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3184 * insettext.C (latex): adjust call to latexParagraphs.
3186 2003-03-10 Angus Leeming <leeming@lyx.org>
3188 * mailinset.C: warn the user if the BufferView has not been cached.
3190 2003-03-10 Angus Leeming <leeming@lyx.org>
3192 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3194 * insetcommand.h (inset):
3195 * insetert.h (inset):
3196 * insetexternal.h (inset):
3197 * insetfloat.h (inset):
3198 * insetgraphics.h (inset):
3199 * insetinclude.h (inset):
3200 * insetminipage.h (inset):
3201 * insettabular.h (inset):
3202 * insetwrap.h (inset):
3203 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3205 2003-03-10 Angus Leeming <leeming@lyx.org>
3207 * insetcommand.C (string2params):
3208 * insetexternal.C (string2params):
3209 * insetfloat.C (string2params):
3210 * insetgraphics.C (string2params):
3211 * insetinclude.C (string2params):
3212 * insetminipage.C (string2params):
3213 * insettabular.C (string2params):
3214 * insetwrap.C (string2params): cure warning message about missing
3217 2003-03-09 Angus Leeming <leeming@lyx.org>
3219 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3220 it to communicate with the frontend dialogs.
3222 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3223 contents of this inset!
3225 2003-03-07 Angus Leeming <leeming@lyx.org>
3227 * inseterror.C (localDispatch): new method; calls edit() on
3230 2003-03-07 Angus Leeming <leeming@lyx.org>
3232 * insetbibitem.C (localDispatch):
3233 * insetbibtex.C (localDispatch):
3234 * insetlabel.C (localDispatch):
3235 rewrite as a switch.
3237 2003-03-07 Angus Leeming <leeming@lyx.org>
3239 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3240 it to communicate with the frontend dialogs.
3242 2003-03-07 Angus Leeming <leeming@lyx.org>
3244 * insetexternal.C: remove operator== and operator!= for
3245 InsetExternal::Params. They were used only by the old controller
3248 2003-03-07 Angus Leeming <leeming@lyx.org>
3250 * insetcommand.C (localDispatch):
3251 * insetexternal.C (localDispatch):
3252 * insetfloat.C (localDispatch):
3253 * insetinclude.C (localDispatch):
3254 * insetminipage.C (localDispatch):
3255 * insetwrap.C (localDispatch):
3256 add LFUN_INSET_DIALOG_UPDATE to the switch.
3258 2003-03-07 Angus Leeming <leeming@lyx.org>
3260 * insetcommand.C (string2params):
3261 * insetexternal.C (string2params):
3262 * insetfloat.C (string2params):
3263 * insetinclude.C (string2params):
3264 * insetwrap.C (string2params): use LyXLeX more.
3267 * insetexternal.[Ch]:
3269 * insetinclude.[Ch]:
3270 * insetwrap.[Ch]: change Mailer::name_ to be static.
3272 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3273 it to communicate with the frontend dialogs.
3275 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3278 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3280 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3282 * insettext.C (updateLocal): un-const function
3283 (updateLocal): adjust
3284 (collapseParagraphs): un-const function
3285 (collapseParagraphs): adjust
3287 2003-03-05 Angus Leeming <leeming@lyx.org>
3289 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3290 it to communicate with the frontend dialogs.
3292 2003-03-05 Angus Leeming <leeming@lyx.org>
3294 * insetcollapsable.C (draw): cache the BufferView.
3296 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3297 it to communicate with the frontend dialogs.
3299 2003-03-05 Angus Leeming <leeming@lyx.org>
3301 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3304 2003-03-05 Angus Leeming <leeming@lyx.org>
3306 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3308 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3309 it to communicate with the frontend dialogs.
3311 2003-03-05 Angus Leeming <leeming@lyx.org>
3313 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3314 it to communicate with the frontend dialogs.
3316 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3318 * insettext.C (collapseParagraphs): adjust
3319 (appendParagraphs): make it take a Buffer* instead of a
3320 BufferParams& as arg.
3321 (appendParagraphs): adjust
3323 2003-03-04 Angus Leeming <leeming@lyx.org>
3325 * insetbibitem.C (localDispatch):
3326 * insetbibtex.C (localDispatch):
3327 * insetcommand.C (localDispatch):
3328 * insetert.C (localDispatch):
3329 * insetlabel.C (localDispatch):
3330 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3332 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3334 * insettext.C (latex): adjust for ParagraphList::iterator
3336 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3338 * insetbutton.C (view): adjust for boost 1.30.0
3339 * insetcollapsable.C (view): ditto
3340 * insetgraphics.C (statusChanged): ditto
3342 * insettext.h: move paragraphs to be public.
3344 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3346 * insetnote.[Ch] (InsetNote): remove unused constructor
3348 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3350 * insetgraphics.C: added include "format.h"
3352 2003-02-27 Angus Leeming <leeming@lyx.org>
3354 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3357 2003-02-27 Angus Leeming <leeming@lyx.org>
3359 * insetbibitem.C (localDispatch):
3360 * insetbibtex.C (localDispatch):
3363 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3365 2003-02-26 Angus Leeming <leeming@lyx.org>
3367 * insetbibitem.[Ch] (localDispatch):
3368 * insetbibtex.[Ch] (localDispatch):
3369 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3371 * insetcommand.C (localDispatch):
3372 act only on receipt of LFUN_XYZ_APPLY.
3374 * insetert.C (localDispatch): reformat.
3375 add LFUN_XYZ_APPLY to the switch.
3377 2003-02-26 John Levon <levon@movementarian.org>
3379 * insettext.C: use RowPainter
3381 * inset.h: make helpers take const *
3383 2003-02-26 Angus Leeming <leeming@lyx.org>
3385 * insetcommand.[Ch] (localDispatch): new method.
3387 2003-02-26 Angus Leeming <leeming@lyx.org>
3389 * insetinclude.C (draw): cache the BufferView* using cache not
3390 PreviewImpl::setView
3392 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3394 * insetgraphics.C (draw)
3395 * insetinclude.C (draw): Eliminate also the other argument (owner
3396 inset inset) in the call to PreviewImage::image
3398 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3400 * insetgraphics.C (draw)
3401 * insetinclude.C (draw): Eliminate Buferview argument in call to
3404 2003-02-25 John Levon <levon@movementarian.org>
3406 * insetgraphicsParams.h:
3407 * insetgraphics.C: don't start a load process if
3408 the inset is set to NoDisplay (bug #920)
3410 2003-02-22 John Levon <levon@movementarian.org>
3413 * insetwrap.C: TocItem changed API (bug 913)
3415 2003-02-21 Angus Leeming <leeming@lyx.org>
3417 * insetcollapsable.[Ch] (cache, edit):
3418 * insetbutton.[Ch] (cache, edit): new methods to cache the
3419 BufferView in the draw method.
3421 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3422 simplify comunication between InsetCommand-derived classes and
3425 * insetbibitem.[Ch]:
3429 * insetfloatlist.[Ch]:
3433 * inseturl.[Ch]: small changes to reflect the new interface to the
3436 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3437 other, similar classes.
3439 * Makefile.am: add new files.
3441 2003-02-21 Angus Leeming <leeming@lyx.org>
3443 * updatableinset.h (setView, view): remove.
3444 * inset.h (view, cache): to be replaced by these.
3446 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3449 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3452 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3454 2003-02-21 Allan Rae <rae@lyx.org>
3456 * insetinclude.C (loadIfNeeded): ensure loading also works when
3457 child document is under version control.
3459 2003-02-17 André Pönitz <poenitz@gmx.net>
3461 * insetbib.[Ch]: Adjust access to bibkeys
3463 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3465 * insetquotes.C (dispString): remove use of acute accent for "'"
3468 2003-02-14 John Levon <levon@movementarian.org>
3470 * insettabular.C: changed method names in tabular.C
3472 2003-02-14 John Levon <levon@movementarian.org>
3476 * insetcollapsable.h:
3477 * insetcollapsable.C:
3481 * insettext.C: remove unused getParFromID()
3483 2003-02-13 John Levon <levon@movementarian.org>
3486 * insettext.C: remove unused beginningofMainBody()
3488 2003-02-08 John Levon <levon@movementarian.org>
3492 * insetcollapsable.h:
3493 * insetcollapsable.C:
3498 add nextChange(). Make allowSpellcheck() const. Add markErased().
3500 * insetert.C: ignore deleted text
3502 * insettabular.C: make sure to keep change tracking working
3505 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3510 * insettext.C: Use error messages with identical spelling and punctuation
3512 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3514 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3516 2002-12-17 Juergen Vigna <jug@lyx.org>
3518 * insettext.C (localDispatch): hopefully fixed cursor up down
3519 movement on leaving other insets.
3521 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3523 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3526 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3528 * insetgraphics.C (prepareFile): do not remove the extension of
3529 the file name if it is not the default extension for the given
3530 format (that is, in latex output, remove extension from foo.eps,
3531 but not from foo.epsi)
3533 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3535 * insettext.C (lfunMouseRelease): hackish solution to the "double
3538 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3540 * insetfloat.C (addToToc): use the floats name not its type
3541 * insetwrap.C (addToToc): ditto
3543 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3545 * insetnote.C (init): make label font smaller
3547 2002-12-04 John Levon <levon@movementarian.org>
3549 * insetinclude.C: ressurect setting of command name
3551 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3553 * insetquotes.C (dispString): disambiguate insert call
3555 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3557 * several files: ws changes
3559 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3561 * insetquotes.C (dispString): use string::insert for prepending a
3564 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3566 * insetparent.C (getScreenLabel): use boost::format
3568 * insetgraphics.C (prepareFile): use boost::format
3571 * insetfloatlist.C (latex): use boost::format
3573 * insetcaption.C (draw): use boost::format
3575 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3577 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3580 2002-11-20 Juergen Vigna <jug@sad.it>
3582 * insettabular.C (resetPos): temporary fix for endless loop in
3583 this function on a redraw.
3585 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3587 * insettabular.C (copySelection): STRCONV
3589 * insetinclude.C (uniqueID): STRCONV
3590 (latexString): ditto
3592 * insetgraphics.C: put VersionNumber inside anon namespace
3593 (createLatexOptions): STRCONV
3595 * insetcommandparams.C: include config.h
3597 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3599 * insetgraphicsParams.C (Write): use lyx::float_equal.
3600 Write height data correctly.
3601 (Read): zero scale when reading height data.
3603 2002-10-30 John Levon <levon@movementarian.org>
3605 * insetfloat.C (addToTOC): recursively traverse all
3606 contents looking for captions (fix #568)
3608 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3610 * insetexternal.C (doSubstitution): do not try to replace
3611 environment variables, this is done when executing the command
3613 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3615 * insetexternal.C (doSubstitution): change order of substitution
3616 to work around ReplaceEnvironmentPath brokenness
3618 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3620 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3622 * insetgraphicsParams.C (init, Write): associated changes
3623 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3624 InsetGraphicsParams::scale.
3626 2002-10-21 John Levon <levon@movementarian.org>
3628 * inset.h: remove unused DISPATCH_RESULT
3630 * insettext.C: sgml open/close tag now in sgml namespace
3632 2002-10-21 Angus Leeming <leeming@lyx.org>
3634 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3635 file path subdir/fig.eps when pasting it into a buffer in a different
3638 2002-10-16 John Levon <levon@movementarian.org>
3640 * insetspecialchar.C: remove \\protected_separator parsing
3642 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3644 * insetquote.C: fix LaTeX output of quotation marks.
3646 2002-10-14 Juergen Vigna <jug@sad.it>
3648 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3649 Backspace functions which confused the Undo handling.
3651 2002-10-09 Angus Leeming <leeming@lyx.org>
3653 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3654 BufferView::dispatch that turns off this optimisation when a new inset
3657 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3658 reload the BibTeX keys.
3660 2002-10-11 André Pönitz <poenitz@gmx.net>
3662 * insettext.h: handle LFUN_PRIOR/NEXT
3664 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3666 * insetfloat.C: fix bug with float settings
3667 (document default != float default).
3669 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3671 * insetwrap.C (addToToc): New method.
3672 (InsetWrap): Set layout to caption.
3674 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3676 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3678 2002-09-16 John Levon <levon@movementarian.org>
3680 * insettabular.h: hasSelection() needs to be public
3682 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3684 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3686 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3688 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3690 2002-09-11 André Pönitz <poenitz@gmx.net>
3692 * insettabular.C: implement LFUN_WORDSEL
3694 2002-09-10 John Levon <levon@movementarian.org>
3696 * insetinclude.h: remove unused param
3698 2002-09-09 John Levon <levon@movementarian.org>
3701 * insetinclude.C: remove noload, default to input
3703 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3705 * insetgraphics.C: disfuscated use of ']' in built output string.
3707 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3709 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3711 2002-08-29 Juergen Vigna <jug@sad.it>
3713 * insettabular.C (lfunMousePress): Pay attention where you set
3714 the x/y values as they depend on which inset in the tabular is
3715 actually locked. So you surely have to reset them if you (un)lock
3718 2002-08-29 André Pönitz <poenitz@gmx.net>
3720 * insetfootlike.h: rename include guard to ALL CAPS
3722 * insettext.C: swap object and first parameter for checkInsetHit calls
3723 as this functions has moved from BufferView to LyXText
3726 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3728 * insetgraphicsParams.C: remove local displayTranslator and use
3729 the one from graphics/GraphicsTypes.h.
3731 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3733 * insetfloat.C (wide): add BufferParams parameter
3735 * insetfloatlist.C (read):
3738 * insetfloat.C (latex):
3740 * insetcaption.C (draw): use LyXTextClass::floats()
3742 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3744 * insetoptarg.h: add std:: qualifier.
3746 2002-08-26 Juergen Vigna <jug@sad.it>
3748 * insettext.C (localDispatch): ditto.
3750 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3752 2002-08-25 John Levon <levon@movementarian.org>
3754 * inseturl.C: elide long URLs (bug 404)
3756 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3758 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3759 remove "Format Version <version_no.>" string from inset header
3762 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3764 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3765 a member of "grfx::Params" anymore.
3767 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3769 2002-08-24 John Levon <levon@movementarian.org>
3772 * insetoptarg.C: ws, pedantry ...
3774 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3776 * insettext.C (collapseParagraphs): pasteParagraph now in global
3778 (appendParagraphs): ditto
3780 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3782 * insetcite.C (latex): Remove spaces only after commmas.
3784 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3786 * insettext.C: remove NO_COMPABILITY stuff
3788 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3790 * insettext.C (edit): use ParagraphList iterators
3792 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3793 (bibitemWidest): ditto
3795 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3797 * insettext.C: include <boost/bind.hpp>
3798 add using std::for_each
3799 (saveLyXTextState): use ParagraphsList::iterator
3800 (init): use for_each on paragraphlist iterators
3801 (InsetText): remove superflous setting cached_bview to 0
3802 (latex): reformat a bit
3803 (ascii): use paragraphlist iterators
3804 (validate): use for_each + boost bind
3805 (getLabelList): use paragraphlist iterators
3806 (deleteLyXText): use for_each + boost::bind
3807 (resizeLyXText): ditto
3808 (reinitLyXText): ditto
3809 (removeNewlines): use paragraphlist iterators
3810 (getParFromID): ditto
3811 (paragraph): use for_each + boost::bind
3812 (getInsetFromID): use paragraphlist iterators
3813 (getLabelList): typo fix
3815 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3817 * insettext.C (read): assign tmp to paragraphs after return from
3818 call to parseSingleLyXformat2Token
3821 2002-08-13 Angus Leeming <leeming@lyx.org>
3840 changes due to the changed LyXView interface that now returns references
3841 to member variables not pointers.
3843 2002-08-13 Angus Leeming <leeming@lyx.org>
3846 * insetcollapsable.h:
3849 * insettext.h: forward-declare WordLangTuple
3850 (selectNextWordToSpellcheck) constify return type.
3853 * insetcollapsable.C:
3856 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3858 2002-08-12 Angus Leeming <leeming@lyx.org>
3860 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3862 2002-08-12 Juergen Vigna <jug@sad.it>
3864 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3867 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3869 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3870 (bibitemWidest): ditto
3871 * insettext.[Ch]: ditto
3873 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3875 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3877 2002-08-09 Angus Leeming <leeming@lyx.org>
3879 * insetinclude.C (latexString): remove fudge now that I've found out
3880 how to enable LaTeX to find the file using input@path.
3882 2002-08-09 John Levon <levon@movementarian.org>
3885 * insettext.C: remove unused xpos
3887 2002-08-07 Juergen Vigna <jug@lyx.org>
3889 * insettabular.C (localDispatch): make delete not put the stuff
3890 in the clipboard only do this on a cut operation.
3892 * insettext.C (localDispatch): make delete and backspace not put
3893 selected stuff to the clipboard.
3895 2002-08-07 André Pönitz <poenitz@gmx.net>
3898 * insetcollapsable.[Ch]:
3902 * insettabular.[Ch]:
3903 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3905 2002-08-06 John Levon <levon@movementarian.org>
3909 * insetcollapsable.h:
3910 * insetcollapsable.C:
3916 * insettext.C: use WordLangTuple for spellcheck
3918 2002-08-06 Angus Leeming <leeming@lyx.org>
3920 * insetinclude.C: add a monitor to the previewed image, so that the
3921 image is refreshed if the \input-ed file changes.
3923 2002-08-04 John Levon <levon@movementarian.org>
3926 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3928 2002-08-02 Angus Leeming <leeming@lyx.org>
3930 * insetcommandparams.[Ch] (preview): new methods returning and setting
3931 a new bool preview_ flag.
3932 (read): read this flag.
3933 (operator==): add flag to check.
3935 * insetinclude.C (write): output new preview() flag.
3936 (previewWanted): use this flag.
3938 2002-08-02 Angus Leeming <leeming@lyx.org>
3940 * insetcollapsable.[Ch] (addPreview):
3941 * insettabular.[Ch] (addPreview):
3942 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3943 for insets in insets.
3945 2002-08-02 Angus Leeming <leeming@lyx.org>
3947 * insetcite.C: fix typo.
3949 * insetgraphics.C: kill current_view and instead cache the BufferView
3952 * insetinclude.C: kill current_view and pass the BufferView to the
3953 PreviewedInset so that it can cache it.
3955 2002-08-01 Angus Leeming <leeming@lyx.org>
3957 * inset.h (generatePreview): renamed as addPreview.
3958 (generatePreview): new method. Allows code to be moved out of
3959 math_nestinset.C and into the new PreviewedInset class.
3961 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3962 add previews to the inset when \input-ing LaTeX.
3964 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3966 * several files: strip,frontStrip -> trim,ltrim,rtrim
3968 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3970 * insetbib.C (latex): modify because of strip changes
3972 * insetnote.C (InsetNote): ditto
3974 2002-07-26 Juergen Vigna <jug@sad.it>
3976 * insettabular.C (searchForward): check for lastcell if we
3977 had a locking inset.
3979 2002-07-25 Juergen Vigna <jug@sad.it>
3981 * insettabular.C (insetMotionNotify): Don't update the screen
3982 if we didn't do nothing.
3983 (searchForward): last cell was not checked.
3985 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3987 * insetfloat.C (read, write): Allow default placement
3988 (floatPlacement_ is empty).
3990 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3992 * insetminipage.h (noFontChange):
3993 * insettabular.h (noFontChange):
3994 * insetfootlike.h (noFontChange):
3995 * insetfloat.h (noFontChange): return true
3997 * inset.h (noFontChange): new method, defaulting to false
3999 2002-07-22 Herbert Voss <voss@lyx.org>
4001 * insetgraphicsParams.[Ch]: support size_type for old docs
4003 2002-07-22 Herbert Voss <voss@lyx.org>
4006 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4009 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4011 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4013 * insetlatexaccent.h: do not include "lyxlex.h"
4015 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4018 * insetlatexaccent.C:
4022 * insetbib.C: #include "lyxlex.h"
4028 * insettext.C: use BufferParams::getLyXTextClass
4031 * insetfloat.C (addToToc): new method. Add to toclist the entries
4032 corresponding to Caption layouts
4033 (InsetFloat): when creating a new float, set the layout to "Caption"
4035 2002-07-21 Herbert Voss <voss@lyx.org>
4037 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4038 image relevant part into graphics/GraphicsImgae.C
4040 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4042 * insettoc.C (ascii):
4043 * insetfloatlist.C (ascii): change to use the new Toc functions
4044 instead of stuff that was in Buffer
4046 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4048 * insettext.C (localDispatch): BufferView::Dispatch has been
4049 renamed to BufferView::dispatch
4051 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4053 * insetgraphicsParams.C (as_grfxParams): use the new
4054 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4055 1.2.0 patch, and I do not really know how to adapt it to the new
4056 grfx::Cache world. Angus, please could you have a look?
4058 2002-05-01 Herbert Voss <voss@lyx.org>
4060 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4062 2002-07-18 Angus Leeming <leeming@lyx.org>
4064 * insetgraphics.C: clean-up comments (from Herbert).
4065 add a new checksum variable to the cache. Use it in PrepareFile.
4066 (draw): start monitoring the file for a change.
4067 (prepareFile): re-arrange a little to avoid unnecessary steps.
4069 2002-07-17 Angus Leeming <leeming@lyx.org>
4071 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4072 a method rather than to the signal directly.
4074 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4076 * insettext.C: use view_state_changed, switchKeyMap
4078 2002-07-17 Herbert Voss <voss@perce.de>
4080 * insetgraphics.C (prepareFile): keep the extension when
4081 exporting to nice file
4083 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4085 * insetcite.C (getNatbibLabel):
4086 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4088 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4090 * insetgraphics.C: use ->isDrawable()
4092 2002-07-12 Angus Leeming <leeming@lyx.org>
4094 * insetgraphics.C: use the new smart loading capabilities of the image
4097 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4099 * insettabular.C (edit): Move into correct cell when entering a
4102 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4105 2002-07-05 Angus Leeming <leeming@lyx.org>
4107 * inset.h (generatePreview): new virtual method.
4109 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4111 * insetcommandparams.[Ch] (operator=): move out of class
4112 (operator!): move out of class
4114 2002-07-04 André Pönitz <poenitz@gmx.net>
4116 * insetcommandparams.[Ch]: new files
4118 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4120 2002-06-15 Herbert Voss <voss@perce.de>
4122 * insetgraphics.C (prepareFile): bugfix; return always
4123 files without extension
4125 2002-06-28 Angus Leeming <leeming@lyx.org>
4127 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4128 rename asGParams -> as_grfxParams.
4130 * insetgraphics.C: reflect above change.
4132 2002-06-26 Angus Leeming <leeming@lyx.org>
4134 * insetgraphics.h: use boost::scoped_ptr in preference to
4137 2002-06-26 Angus Leeming <leeming@lyx.org>
4139 * insetgraphics.C: moved the image loading stuff into a new class
4140 grfx::Loader. Simplifies this file enormously.
4142 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4144 * insetgraphicsParams.C: changes aassociated with moving
4145 grfx::DisplayType out of grfx::GParams.
4147 2002-06-26 André Pönitz <poenitz@gmx.net>
4149 * insetgraphics.C: use os::external_path where necesaary according to a
4150 patch from Claus Hentschel)
4152 2002-06-25 Angus Leeming <leeming@lyx.org>
4154 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4155 generating a pixmap once the graphics file is loaded into memory.
4156 The current_view ugliness that was in grfx::ModifiedImage has been
4157 moved here now that grfx::ModifiedImage is no more.
4159 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4161 * insettext.C: layout as layout
4163 2002-05-28 André Pönitz <poenitz@gmx.net>
4165 * insetfloatlist.h: remove source of compiler warning
4167 * insetref.C: tiny whitespace
4169 2002-06-15 Herbert Voss <voss@perce.de>
4171 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4172 and take always convert when no userdefined converter was
4174 (latex) small changes in the lyxerr output
4176 2002-06-15 LyX Development team <lyx@rilke>
4178 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4179 mixed content. Small white spaces clean.
4181 2002-06-14 Angus Leeming <leeming@lyx.org>
4183 * inseetexternal.C: remove the using std::difftime declaration.
4185 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4187 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4189 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4191 * insetquotes.C (draw): fix drawing of double quotes
4193 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4195 * insettabular.C: s/scrollCB/scrollDocView/
4197 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4199 * insettext.C: change of topCursorVisible()
4202 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4205 * insettext.C: rename/change of LyXScreen
4207 2002-06-07 Angus Leeming <leeming@lyx.org>
4209 Fixes needed to compile with Compaq cxx 6.5.
4211 all c-library variables have been moved into namespace std.
4212 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4214 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4216 * insetinclude.C (uniqueID):
4217 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4218 conflicted with some AIX headers.
4220 2002-05-31 Juergen Vigna <jug@sad.it>
4222 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4226 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4228 * insetexternal.C (clone): fix () bug when using new
4229 (updateExternal): don't only look for difftime in global scope
4231 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4233 * insettabular.C: add const
4235 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4237 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4238 file name, in case there are weird characters like ',' in there.
4241 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4243 * switch from SigC signals to boost::signals.
4245 2002-05-28 André Pönitz <poenitz@gmx.net>
4247 * insets/insetgraphicsParams.[Ch]:
4248 put in inset related stuff from src/graphic
4250 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4258 * insetcollapsable.C:
4259 * insetcollapsable.h:
4287 * inseturl.h: use mouse_state. Kill insetKeyPress
4289 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4294 * insetcollapsable.C:
4297 * insetlatexaccent.C:
4299 * insetspecialchar.C:
4301 * insettext.C: name change for font metrics
4303 2002-05-24 Juergen Vigna <jug@sad.it>
4305 * insetgraphics.h: include inset.h first (for LString.h)
4307 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4309 * insettext.C: screen moved
4311 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4329 * inseturl.C: LyXView moved into frontends/
4331 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4336 * insetcollapsable.C:
4340 * insetgraphicsParams.C:
4341 * insetlatexaccent.C:
4343 * insetspecialchar.C:
4345 * insettext.C: move Painter to frontends/
4347 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4349 * insettabular.h: use more specific smart_ptr header.
4350 * insettext.h: ditto
4352 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4355 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4357 * insettext.C: clear selection on paste (bug 393)
4359 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4361 * insettext.C (latex): Honor the moving_arg argument.
4363 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4365 * insetfoot.C (latex): if a footnote is in a title layout, then it
4366 is a \thanks. And then, its contents is a moving argument.
4368 2002-05-14 Juergen Vigna <jug@sad.it>
4370 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4373 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4375 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4376 when using options "Full author list" or "Upper case".
4378 2002-05-14 Herbert Voss <voss@perce.de>
4380 * insetgraphics.C (prepareFile): allow files with same name
4382 (readFigInset): set the flags from old figinset in the right
4384 (findTargetFormat): more comments
4386 2002-05-14 Juergen Vigna <jug@sad.it>
4388 * insettext.C (edit): tell checkAndActivateInset() that we don't
4389 have a button press.
4390 (checkAndActivateInset): if button < 0 we don't have a button press
4391 on the inset and os we won't call edit on it if it's not a Highly
4392 editable inset (then we have to enter it).
4394 2002-05-13 Juergen Vigna <jug@sad.it>
4396 * insetcollapsable.C (insetButtonRelease): returned wrong return
4399 2002-05-09 Juergen Vigna <jug@sad.it>
4401 * insetcollapsable.C (edit): first_after_edit should only be
4402 set to true if we enter this inset and it was collapsed so we
4403 open it up. This is needed to reclose it after a search/replace
4404 or spellcheck function opened it and was negative.
4406 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4408 * insetfloat.C (latex): Return correct value.
4410 2002-05-04 Herbert Voss <voss@perce.de>
4412 * InsetgraphicsParams.C (read): fix bug with WH
4414 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4416 * insetfloat.C (latex): More sensible latex output
4417 (fix the problem with endfloat).
4419 2002-05-02 José Matos <jamatos@fep.up.pt>
4421 * insetgraphics.C (validate): acess params as everyone else.
4423 2002-05-03 Juergen Vigna <jug@sad.it>
4425 * insettabular.C (fitInsetCursor): recalculate the cursor position
4428 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4430 * InsetgraphicsParams.[Ch]: whitespace.
4432 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4434 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4435 float type do not exist.
4437 2002-04-28 Herbert Voss <voss@perce.de>
4439 * insetgraphics.C (latex): fix bug with missing file-extension.
4440 LaTeX still allows a missing "eps" or "ps".
4442 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4444 * insetfloat.C (c-tor, wide): translate the name of the float.
4446 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4448 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4449 when using natbib and make it work efficiently. Must emphasise that the
4450 real work is Herbert's.
4452 2002-04-23 Herbert Voss <voss@perce.de>
4454 * insetgraphic.C (prepareFile): fix bug with overwriting and
4455 deleting an existing *.eps-file in the doc-dir
4457 2002-04-23 Juergen Vigna <jug@sad.it>
4459 * insettabular.C (drawCellSelection): fix off by 1 error.
4461 2002-04-22 Juergen Vigna <jug@sad.it>
4463 * insettabular.C (setFont): rewoke full selection if it was asked,
4464 after we changed all we had to change.
4466 * insettext.C (insetUnlock): code was uninitialized in some situations.
4468 2002-04-19 Herbert Voss <voss@perce.de>
4470 * insetgraphic.C (prepareFile): return filename without
4471 extension if we only export without compiling
4473 2002-04-19 Juergen Vigna <jug@sad.it>
4475 * insettext.C (draw): call a fullRebreak on the row where we had a
4476 change and reset the cursor and selection-cursors.
4478 * insettabular.C (insetUnlock):
4479 (insetButtonPress): call an update before setting the_locking_inset = 0
4480 as otherwise we don't repaint!
4481 (update): reset the cursor position when we changed dimensions as
4482 otherwise our cursor may be on the wrong spot.
4484 2002-04-18 Juergen Vigna <jug@sad.it>
4486 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4487 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4488 redraw otherwise we won't redraw.
4490 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4491 not really right before, but I only discovered this with the last
4492 changes to Page up/down.
4494 2002-04-17 Juergen Vigna <jug@sad.it>
4496 * insettext.C (checkAndActivateInset): simplified as we now have the
4497 edit(bv, bool) call.
4499 * insettext.h: changed behind variables to front variables to be
4500 equal to the one in the edit call (as it is for that they are used).
4502 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4504 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4505 not output anything at all!
4507 2002-04-16 Juergen Vigna <jug@sad.it>
4509 * insettabular.C (insetButtonPress):
4510 (insetUnlock): call a redraw on unlocking the cell inset.
4512 * insettext.C (insetButtonPress): same as below.
4513 (lockInset): new function to set initial values when inset should
4515 (insetButtonPress): use above function.
4516 (insetUnlock): don't force a repaint only set the updateStatus. The
4517 outside world should repaint if it thinks it should be done!
4519 * insettabular.C (insetButtonPress): init values if not set as locked
4520 as we are locked if someone presses on us and don't call the edit()
4521 call of the InsetText to lock it do it as BufferView does it!
4523 * inset.h (insetInInsetY): make func const and return an int.
4526 * insetcollapsable.C: adapt the above changed function.
4528 2002-04-15 Juergen Vigna <jug@sad.it>
4530 * insettext.C (getCursorPos): return relative position as to be able
4531 to give them directly to the edit() call.
4532 (edit): we have to set also x_fix as it is not set inside the
4533 setCursorFromCoordinates call!
4534 (insetMotionNotify): ditto.
4536 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4538 * insetbib.C (getKeys): strip leading '\t's from the line too.
4539 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4541 2002-04-12 Juergen Vigna <jug@sad.it>
4543 * insettext.h: added cix() helper function and use it where appropriate
4545 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4547 * insetgraphics.C (prepareFile): fix bug when graphics is a
4550 2002-04-12 Juergen Vigna <jug@sad.it>
4552 * insettext.C (insertInset): remove unneeded code!
4553 (updateLocal): fitCursor() fixes.
4554 (collapseParagraphs): fix a possible problem when having a selection
4555 and collapsing the paragraphs.
4557 2002-04-08 Herbert Voss <voss@perce.de>
4559 * insetgraphic.C (write): write the rotating angle as
4560 a float as is. test only for != 0.0
4562 2002-04-11 Juergen Vigna <jug@sad.it>
4564 * insettext.C: new function ciy() and use it for setting inset_y.
4566 * insetert.C (draw): fix the x return for collapsed version.
4568 2002-04-07 Herbert Voss <voss@perce.de>
4570 * insetgraphic.C (readFigInset): fix bug with subcaption and
4573 2002-04-08 Herbert Voss <voss@lyx.org>
4575 * insetgraphicsparam.C: forgot special option and delete old
4578 2002-04-05 Juergen Vigna <jug@sad.it>
4580 * insettext.C (localDispatch): make a CURSOR update if we inserted
4583 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4585 * insetfloatlist.C (getScreenLabel):
4586 (latex): use Floating::listName
4587 (validate): new method
4589 2002-04-03 José Matos <jamatos@fep.up.pt>
4591 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4593 * insetfoot.[Ch] (docbook): added forgotten method.
4595 2002-04-03 Juergen Vigna <jug@sad.it>
4597 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4598 way as in Bufferview_pimpl.
4600 2002-04-03 Allan Rae <rae@lyx.org>
4602 * insetgraphics.C (latex): one % too many makes living on the bleeding
4603 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4605 2002-03-28 Herbert Voss <voss@lyx.org>
4607 * insetgraphic.C (latex): simplify the code for the latex
4608 output when the file doesn't exist
4610 2002-03-29 Juergen Vigna <jug@sad.it>
4612 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4615 * insettabular.C (edit): call fitCursor().
4617 * insettext.C (insetButtonPress): change behaviour of no_selection
4618 to the one in the BufferView selection_possible and fix the spurious
4619 selection bug with it.
4620 (localDispatch): revoke selection on BREAK... functions.
4622 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4624 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4626 2002-03-28 Juergen Vigna <jug@sad.it>
4628 * insettabular.C (insetAllowed): return true as default value otherwise
4629 we're not able to insert insets inside paragraphs of an not locked
4632 2002-03-27 Herbert Voss <voss@lyx.org>
4634 * insetgraphicsparam.C: change c%, p% to col%, page%
4636 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4638 * insetspecialchar.C (isLineSeparator): disable the nice code to
4639 allow linebreaks after hyphenation and menu separators.
4641 2002-03-26 Herbert Voss <voss@lyx.org>
4643 * insetgraphics.C (figinsetRead): set the right lyxview
4645 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4647 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4648 $\backslash$ and pass a "string const &" to the function.
4649 (prepareFile, latex): use Path rather than MakeAbsPath.
4651 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4653 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4654 proper fix to the graphics cache.
4655 (latex): "really" nice output if the file is not found ;-)
4657 2002-03-26 Juergen Vigna <jug@sad.it>
4659 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4660 (collapseParagraphs): fixed inserting of separator ' '
4662 * insettabular.C (insertAsciiString): only check for buffer lenght
4663 not if we have \t or \n inside the buffer as if we don't have we only
4664 have 1 cell and that's it!
4666 * insetert.C (close): don't collapse if inlined.
4668 2002-03-25 Herbert Voss <voss@lyx.org>
4670 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4671 graphics file does not exist.
4673 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4675 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4676 path when preparing export.
4678 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4679 no longer MakeRelPath.
4681 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4683 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4684 Used to determine the absolute path to the graphics file in the
4685 graphics cache and only in the graphics cache.
4686 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4687 make graphics file name absolute if it is stored as a relative path.
4689 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4690 make graphics file name absolute if it is stored as a relative path.
4692 * insettext.C (edit): emit an updateParagraph signal on entering a text
4693 inset. Needs to be emitted when leaving the inset also.
4695 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4697 * all files: ws cleanup
4699 * Makefile.am: remove ld -r stuff
4701 2002-03-21 Juergen Vigna <jug@sad.it>
4703 * insettext.C (appendParagraphs): new function added to append
4704 the paragraphs to this insets paragraphs.
4706 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4708 * Makefile.am: special rules if partial linking
4710 2002-03-19 Juergen Vigna <jug@sad.it>
4712 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4714 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4716 * insetgraphics.C: Clean up Baruch's comments a little.
4717 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4719 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4722 * insettheorem.C: wrap warnings
4724 * insetgraphics.C: improve messages, move cached_status_
4725 setting to safer place
4727 2002-03-18 Juergen Vigna <jug@sad.it>
4729 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4731 (localDispatch): ditto
4733 * insettext.C (edit): removed unneeded showCursor calls.
4734 (localDispatch): ditto.
4736 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4738 * insetgraphics.h: remove display() method.
4740 2002-03-11 Juergen Vigna <jug@sad.it>
4742 * insetgraphics.C (draw): hack to fix the redrawing bug.
4743 (draw): seems this fixes #268 (force redraw of row if we changed).
4745 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4746 this inset text (don't know why I missed this earlier).
4748 2002-03-08 Juergen Vigna <jug@sad.it>
4750 * insettabular.C (updateLocal): do a FULL update if we're not locked
4751 and only a CELL update is asked.
4753 * insettext.C (updateInsetInInset): update insets inside inset also
4754 if it isn't inside the_locking_inset.
4756 * insettabular.C (updateInsetInInset): ditto.
4758 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4760 * insetexternal.C (doSubstitution): check whether we are using a
4761 temp dir for defining $$FPath
4763 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4766 * insettext.C: remove #include "WorkArea.h".
4768 2002-03-06 Juergen Vigna <jug@sad.it>
4770 * insettext.C (draw): fixed frame redrawing.
4771 (clear): forgot to set the inset_owner of the paragraph.
4773 * insetert.C (status): pay attention the bv can be 0 here!
4774 (getMaxWidth): add the default leftMargin
4776 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4778 * insetert.C (getMaxWidth): make w unsigned int.
4780 2002-03-05 Juergen Vigna <jug@sad.it>
4782 * insetert.C (status): change behaviour of Inlined.
4783 (getMaxWidth): added for new inlined behaviour.
4785 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4787 * insetnote.h (linuxdoc, docbook): add empty methods.
4788 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4789 before being initialized.
4791 2002-03-05 Juergen Vigna <jug@sad.it>
4793 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4794 only that one in the inset. Should be enough.
4795 (updateLocal): set the selection cursor always if we don't have a
4796 selection to be sure it's set!
4798 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4800 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4802 * insettext.C (clear): a gross hack to set layout on a newly
4805 2002-03-04 Juergen Vigna <jug@sad.it>
4807 * insettabular.C (localDispatch): inserted handling of
4808 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4809 (insertAsciiString): new helper function.
4811 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4813 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4816 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4818 * insettext.C (InsetText): initalize newly created par with
4819 default layout. add bufferparams parameter
4822 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4823 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4824 * insetert.[Ch] (InsetERT): ditto
4825 * insetfloat.[Ch] (InsetFloat): ditto
4826 * insetfoot.[Ch] (InsetFoot): ditto
4827 * insetfootlike.[Ch] (InsetFootLike): ditto
4828 * insetmarginal.[Ch] (InsetMarginal): ditto
4829 * insetminipage.[Ch] (InsetMinipage): ditto
4830 * insetnote.[Ch] (InsetNote): ditto
4831 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4833 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4835 * insettext.C: layout as string
4837 * insetinclude.C: layout as string
4839 * insetert.C: layout as string
4841 * insetbib.C: layout as string
4843 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4846 * insettabular.C: remove #include "lyx_gui_misc.h".
4848 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4853 * inset.h: remove figinset, yahoo !
4855 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4857 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4858 copy c-tor and initialise member variables in the correct order.
4860 2002-02-28 Juergen Vigna <jug@sad.it>
4862 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4864 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4866 * inset.h: ... and add a better one here.
4868 * insetcommand.C (insetButtonRelease): remove that one which was a
4871 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4873 * insetcommand.C (insetButtonRelease): ... and move it here.
4875 * inseturl.h: remove insetButtonRelease from there...
4877 2002-02-26 Juergen Vigna <jug@sad.it>
4879 * inseturl.h: Added a insetButtonRelease call returning true as
4882 * insetlabel.C (edit): Fixed wrong update handling after change I
4883 leave in the wrong code for the one who wrote it to remove and have
4884 a look what he did wrong.
4886 * insettabular.C (localDispatch): force a SELECTION update if we
4887 had a selection and we passed the event down to the inset (fix #213)
4888 (localDispatch): handle font changing stuff when we have a cell
4889 selection so that the selection is not rewoked. I don't really like
4890 this fix, but it's the only way I see to do it right now.
4892 2002-02-22 Juergen Vigna <jug@sad.it>
4894 * insettext.C (insetUnlock): set the cursor to the second paragraph
4895 if available and if the first one is empty (fix #191).
4897 2002-02-20 Juergen Vigna <jug@sad.it>
4899 * insettext.C (getDrawFont): implemented this function to call the
4900 one of the owner if present as the owner normally knows what to do
4903 * insetert.C: implement getDrawFont() function and comment out all
4904 the crap for setting a special latex font inside this inset.
4905 (InsetERT): added a Lanugage parameter to this constructor.
4907 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4908 change the font for being drawn on screen (used only in InsetERT for
4911 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4912 and also above (was missing).
4913 (updateLocal): don't remove the cell selection if we have one this
4914 should be done where we really want to remove it.
4916 2002-02-20 José Matos <jamatos@fep.up.pt>
4918 * insetinclude.h: include_label made string const.
4920 * insetinclude.C (InsetInclude): moved include_label initialization.
4923 (validate): fix support for temporary directory, for docbook and
4926 * insetgraphics.h : new private member, graphic_label, that holds
4927 the entity name that defines the graphics location (SGML).
4929 * insetgraphics.C (unique_id): new function to give a unique label
4932 (validate): the file locatation is given by an entity reference.
4934 2002-02-18 Herbert Voss <voss@lyx.org>
4936 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4938 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4940 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4941 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4943 2002-02-18 José Matos <jamatos@fep.up.pt>
4945 * insetinclude.C (validate): some code only applies to latex buffers,
4946 it was made conditional.
4948 2002-02-12 Herbert Voss <voss@lyx.org>
4950 * insetgraphics.C: (prepareFile) do not check at this time
4951 if the file is present.
4953 2002-02-12 Herbert Voss <voss@lyx.org>
4955 * insetgraphics.C: latex(), return the correct newlines
4957 2002-02-13 José Matos <jamatos@fep.up.pt>
4959 * inseturl.C (docbook): escape & in url.
4961 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4963 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4964 after HYPHENATION and MENU_SEPARATOR
4966 * inset.h (isLineSeparator): new method, returns false by default.
4968 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4970 * insetert.C (status): do not update the text inset, but the ERT
4973 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4975 * insetnote.C: use notebg for background
4977 2002-02-08 Herbert Voss <voss@lyx.org>
4980 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4981 prevent LyX from unzipping when this should be handled
4982 by latex vis the graphic.cfg.
4985 2002-02-08 Herbert Voss <voss@lyx.org>
4987 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4988 exists, than return filename with extension
4990 2002-02-06 Herbert Voss <voss@lyx.org>
4992 * insetgraphic.C: prepareFile(): don't convert the file, when
4993 it's not viewed in LyX. Saves a lot of time when opening a
4996 2002-02-05 Herbert Voss <voss@lyx.org>
4999 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5000 and adding a rotate bool similiar to subcaption
5002 2002-02-04 Herbert Voss <voss@lyx.org>
5005 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5006 similiar view to the LaTeX one. Get zipped files work.
5008 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5010 * insetgraphicsParams.C (init): set display to DEFAULT.
5011 No longer #include "lyxrc.h".
5013 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5015 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5016 for now (so that the code compiles).
5018 2002-02-02 Herbert Voss <voss@lyx.org>
5020 * insetgraphic.C: delete inVariant() and some minor changes
5021 * insetgraphicsParams.[C]:
5023 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5025 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5026 interogate lyxrc.display_graphics before diaplaying the graphic.
5028 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5029 InsetGraphicsParams::DisplayType.
5031 2002-01-31 Herbert Voss <voss@lyx.org>
5033 * insetgraphic.C: (readfigInset) set display to pref-default
5035 2002-01-30 Herbert Voss <voss@lyx.org>
5037 * insetgraphic.C: get the filetyp from it's contents
5038 * insetgraphicparams.C: add token scale and lyxrc.display when
5039 creating a new inset
5041 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5043 * figinset.C: added using std::ios directive.
5045 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5047 * figinset.C (runqueue): open translation file in binary mode (for
5050 2002-01-27 Herbert Voss <voss@lyx.org>
5052 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5053 all options and to be sure that the old figinsets are correct
5055 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5056 structure and to support all lengths as LyXLength. The Parameter
5057 structure changed again, but reading of "old" 1.2 graphic insets
5060 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5062 * insetert.h (forceDefaultParagraphs): Added
5064 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5066 * insettabular.C (getMaxWidth):
5067 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5069 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5071 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5072 of LyXLength::inPixels
5074 * inset.C (latexTextWidth):
5075 * insetminipage.C (latexTextWidth): new method, which implements
5076 the equivalent of the LaTeX macro \textwidth
5078 * insetminipage.C (getMaxWidth): use latexTextWidth
5080 2002-01-18 Juergen Vigna <jug@sad.it>
5082 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5084 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5086 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5088 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5091 2002-01-17 Juergen Vigna <jug@sad.it>
5093 * insettabular.C (lockInsetInInset): same change as in insettext.
5095 * insettext.C (draw): width() function was called without setting
5096 the right top_x which could lead to wrong insetWidth setting!
5097 (lockInsetInInset): call edit instead of calling lockInset if we
5098 have to lock an inset inside!
5099 (edit): we have to also tell the inset that we have to redraw the
5100 frame on an edit call if this inset draws a frame only if locked.
5102 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5104 * insetbib.C (getFiles): uncomment Path variable.
5106 2002-01-16 Juergen Vigna <jug@sad.it>
5108 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5111 2002-01-16 Allan Rae <rae@lyx.org>
5113 * insetinclude.C (docbook): someone forgot a ";"
5115 2002-01-16 José Matos <jamatos@fep.up.pt>
5117 * figinset.C (docbook): removed a old place holder "@".
5118 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5119 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5120 ascii text version, clearly guarded inside a CDATA section.
5121 (docbook): in docbook 4, inlinegraphics is empty.
5122 * insettabular.C (linuxdoc): export the ascii version of the table
5123 inside a CDATA section.
5125 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5127 * insetparent.C (InsetParent):
5128 * insetgraphicsParams.C (Write):
5130 * insetgraphics.C (prepareFile):
5133 * insetexternal.C (executeCommand):
5134 (doSubstitution): use Buffer::filePath
5136 * insetbib.C (getFiles): add a #warning for Angus
5138 * insetgraphics.C: Add a remark about how filenames should be
5139 considered to be relative to buffer (but absolute is still allowed)
5140 (draw): do not try to get status if lyxrc.use_gui is false
5142 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5145 * insetcollapsable.[Ch]:
5146 * insettabular.[Ch] (searchForward, searchBackward): change the
5147 bool const & params to bool.
5149 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5150 to avoid the name clash with InsetCollapsable's methods of the same
5151 names but different functionality.
5153 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5155 * insettext.C (ascii): use lyx::count rather than countChar.
5157 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5159 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5161 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5163 * insetgraphics.C (updateInset): do not try to render image if
5164 lyxrc.use_gui is false (bug #104)
5166 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5167 if file does not exist
5169 * figinset.C (browseFile): add shortcuts to directory buttons
5171 * insettext.C (updateLocal): update menubar and toolbar here too.
5173 2002-01-13 Allan Rae <rae@lyx.org>
5175 * insettabular.C (InsetTabular): Both constructors now initialise
5176 all class variables.
5178 2002-01-11 Juergen Vigna <jug@sad.it>
5180 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5182 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5184 * insettabular.C (getStatus): add forgotten brace around multiline
5187 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5189 * insetfloat.C (validate): require "float" instead of "floats".
5191 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5193 * insettabular.C (getStatus): use FuncStatus
5195 2002-01-08 Juergen Vigna <jug@sad.it>
5197 * insettabular.C (insetButtonRelease): now this should work too
5200 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5201 if the width is a percentage.
5203 * inset.h: added isChar() function and implemented this for
5204 insetspecialchar insetquotes and insetlatexaccent.
5205 added forceDefaultParagraphs() and implemented it for insettabular.
5207 2002-01-07 Juergen Vigna <jug@sad.it>
5209 * insettext.C (getLyXText): Fixed this function. An insert into the
5210 map is only done if we REALLY have a new BufferView.
5212 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5214 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5216 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5218 * insetinclude.C: fix use of FileInfo
5220 2002-01-07 Juergen Vigna <jug@sad.it>
5222 * insettabular.C (draw): fixed clearing of cell around inset.
5224 2002-01-05 Juergen Vigna <jug@sad.it>
5226 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5227 variables are updated.
5229 * insettabular.C (resetPos): set always the inset_y as it may be
5230 needed in another function.
5231 (searchBackward): don't draw while searching.
5233 2002-01-04 Juergen Vigna <jug@sad.it>
5235 * insettext.C (lockInsetInInset): forgot to set a cursor.
5237 2002-01-02 Juergen Vigna <jug@sad.it>
5239 * insettext.C (insertInset): make the correct undo informations on
5240 inserting new insets.
5242 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5244 * insettabular.C: correct single-cell select vertically
5246 2001-12-27 Juergen Vigna <jug@sad.it>
5248 * insettabular.C (ascii): export as tab-separated-values if the
5249 function was not called from export (f.ex.: clipboard).
5251 * insetcollapsable.h: added default support for ascii, linuxdoc and
5252 docbook export (the insettext is exported by default!)
5254 * insettabular.C (copySelection): suff the clipboard with the tabular
5255 data in a tab separated format, seems more naturals then with all the
5258 2001-12-24 Juergen Vigna <jug@sad.it>
5260 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5261 to check for REAL mouseMotion.
5263 2001-12-20 Juergen Vigna <jug@sad.it>
5265 * inset.C (cursor): return the owners cursor if available instead of
5266 always only the bv->text->cursor.
5268 * insettabular.C (checkLongtableSpecial): works now.
5270 2001-12-19 Juergen Vigna <jug@sad.it>
5272 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5273 this has to be always row + 1 as 0 means not selected!
5274 (checkLongtableSpecial): added
5275 (tabularFeatures): better longtable options support
5277 * insettext.C (resizeLyXText): reinit the text always also on a
5280 2001-12-18 Juergen Vigna <jug@sad.it>
5282 * insettext.C (updateInsetInInset): look if we have to autocollapse
5283 paragraps and return if the update is requested for ourself.
5285 * insetert.C (status): update the insettext not myself as that is what
5288 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5289 function only return if the update was requested with myself.
5291 * insettext.C (insetButtonPress): fixed stupid bug.
5292 (various functions): pay attention that lt is cleared BEFORE calling
5293 updateLocal() and try to use it in the right manner (don't use it
5294 if it's not really neccessary!)
5295 (collapseParagraphs): insert a blank between collapsing paragraphs
5296 if neccessary (not already there!).
5298 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5300 * insettabular.C: move includes around a bit, add a couple of
5303 * insettext.[Ch]: move includes around a bit, other ws changes and
5306 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5308 * insettext.C (insetButtonRelease): fix compile problem
5310 2001-12-17 Juergen Vigna <jug@sad.it>
5312 * insettext.C (insetButtonPress): set the selection cursor!
5313 (insetButtonPress): clear the selection (and set with that the
5314 selection.cursor) if we only hit an inset!
5316 * insetert.C (read): removed piece of compatibility code only needed
5319 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5322 * insetcollapsable.C (insetButtonRelease): changed so that it can
5323 open eventual existing popup dialogs on mousebutton==3.
5325 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5327 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5329 * inset.C (insetButtonRelease): return a bool for telling the outer
5330 world that we opened a dialog.
5332 2001-12-07 Juergen Vigna <jug@sad.it>
5334 * insettext.C (paragraph): remove the deleteing of paragraphs as
5335 it was a WRONG move!
5337 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5340 * insettabular.C: use new setSelection(). Allow
5341 selection of single cells.
5343 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5345 * insetquotes.C (latex): fix to use the local language setting at
5346 the point where the inset is inserted (different macros for
5347 different french packages)
5349 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5351 * inset.h: add par_owner_ member variable and parOwner
5354 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5356 * insettabular.C (everywhere): adapt because widths are now real
5357 widths and not strings
5359 * insettext.C (draw): re-introduce the calls to width(), ascent()
5360 and descent() to initialize the caching variables.
5362 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5364 * insettext.C (draw):
5365 (drawFrame): use insetWidth instead of last_width
5367 * insettext.h: remove variable last_width (insetWidth is exactly
5368 the same) and last_height (computed but never used!)
5370 2001-12-10 Allan Rae <rae@lyx.org>
5372 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5374 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5376 * insettext.C (insetAllowed): add comment
5378 2001-12-05 Juergen Vigna <jug@sad.it>
5380 * insettext.C (insetAllowed): fixed for the case that we directly
5381 ask the insettext from its LyXText.
5382 (paragraph): fixed the crash when assigning the par->next() from
5383 the EmptyParagraphMechanism!
5385 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5389 * insettext.C: change "while(" to "while ("
5391 2001-12-04 Juergen Vigna <jug@sad.it>
5393 * insetert.C (edit): handle Inlined status.
5395 * insettext.C (insertInset): trying John's fix for the trailing cursor
5397 * insetert.C (insetButtonPress): added to handle inlined status
5398 (insetMotionNotify): ditto.
5400 * insettext.C (clearInset): changed Painter & in BufferView * param,
5401 to be able to call ascent,descent methods.
5403 2001-12-03 Juergen Vigna <jug@sad.it>
5405 * insettext.C (updateInsetInInset): use lt variable to forbid
5406 changes of LyXText in an update call.
5407 (updateInsetInInset): fixed updating of non locked insets!
5409 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5411 * insettabular.C: capture some more functions to prevent
5412 selection drawing problems. Bug #451274
5414 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5417 * insetgraphicsParams.C: fix inverted sense of float_equal
5419 2001-11-30 Juergen Vigna <jug@sad.it>
5421 * insettabular.C (InsetTabular): use the save_id flag to create also
5422 the tabular with the same id's.
5424 * insettext.C (setParagraphData): added a same_id function for undo
5425 to set the same paragraph id's as of the paragraph we are setting.
5427 2001-11-30 José Matos <jamatos@fep.up.pt>
5430 * insettoc.[Ch]: DocBook -> docbook.
5432 2001-11-29 André Pönitz <poenitz@gmx.net>
5435 * insettext.C: further reduction of header dependencies by using
5436 lyx::layout_type and lyx::textclass_type from support/types.h
5438 2001-11-29 Juergen Vigna <jug@sad.it>
5440 * insettext.C: inserted a reinitLyXText function everywhere I delete
5441 the paragraphs! This should fixe the crashes we had.
5442 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5443 (paragraph): set the InsetOwner() of the new paragraphs!
5445 2001-11-28 André Pönitz <poenitz@gmx.net>
5447 * insetnote.C: add pos initialization that I removed without
5450 2001-11-28 Juergen Vigna <jug@sad.it>
5452 * insettabular.C (resetPos): hack to not crash with infinite paints.
5454 * insettabular.h: insert missing function allowSpellcheck()!
5456 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5458 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5461 * insetfloatlist.C: derive from InsetCommand so gui can use it
5464 2001-11-26 André Pönitz <poenitz@gmx.net>
5468 * insetnote.C: reduce header dependencies, introduce type for
5471 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5473 * various: update for Alert.h
5475 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5477 * inset.h: fix comment
5479 * insettext.C: use par->isInset()
5481 2001-11-22 Allan Rae <rae@lyx.org>
5483 * insetcollapsable.h:
5484 * inset.h: Changes to checkInsertChar() behaviour.
5485 Now return value indicates whether chars can be inserted.
5487 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5489 * various: updated to use the new LaTeXFeatures
5491 2001-11-14 José Matos <jamatos@fep.up.pt>
5493 * insetspecialchar.C (linuxdoc):
5494 (docbook): don't give a name to a unused variable.
5496 * insettext.C (docbook): removed unused variable.
5498 2001-11-13 Herbert Voss <voss@perce.de>
5500 * insetgraphic.C: fix scale bug
5502 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5504 * inset.h (isSpace):
5505 (isLetter): new virtual methods.
5507 * insetspecialchar.C (isSpace):
5508 (isLetter): implement here.
5510 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5512 * inset.h: new inline helpers
5514 * insettext.C: use new helpers
5516 2001-11-07 José Matos <jamatos@fep.up.pt>
5518 * insettext.C (docbook): full support for paragraphs inside insettext.
5520 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5522 * insetindex.C: added header file for std::ostream.
5524 2001-11-03 José Matos <jamatos@fep.up.pt>
5526 * insetindex.C: added using std::ostream that I forgot yesterday.
5528 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5530 * insetindex.h (docbook):
5531 * insetindex.C (docbook): added support for docbook export.
5533 2001-11-02 José Matos <jamatos@fep.up.pt>
5535 * insetcaption.C(docbook): added support for docbook export.
5537 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5539 * insetexternal.C (updateExternal): Do not run update command if
5540 result file exists and is up to date.
5542 * ExternalTemplate.C (readFormat): Support the updateresult token.
5544 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5546 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5547 external_templates) to use the buffer->fileName() but only if
5548 previewing. Generating a TeX file should make FPath return
5551 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5554 * insetert.C: fix some problems
5556 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5558 * insetexternal.C (doSubstitution): Added $$FPath token
5559 to list of usable substitutions in external inset templates.
5561 2001-10-24 Juergen Vigna <jug@sad.it>
5563 * insettabular.C: use new ltType struct for setting longtable
5564 header and footers also new UNSET enums.
5566 2001-10-24 José Matos <jamatos@fep.up.pt>
5568 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5569 (docbook): If the table is not inside a float then wrap it inside
5570 <informaltable>...</informaltable>.
5572 2001-10-23 José Matos <jamatos@fep.up.pt>
5574 * insetref.C (docbook): removed / terminator to conform SGML.
5576 * insetspecialchar.C (linuxdoc):
5577 (docbook): Added support for special chars, more than ascii export.
5579 2001-10-22 Juergen Vigna <jug@sad.it>
5581 * insettext.C (checkInsertChar): added for REALLY checking the
5582 font of the inserted char in the right inset!
5584 2001-10-19 Juergen Vigna <jug@sad.it>
5586 * inset.h: added method allowSpellcheck() so that insets who do
5587 not have anything to spellcheck can tell and so they are over-jumped.
5588 Implemented for InsetText and co.
5590 2001-10-18 Juergen Vigna <jug@sad.it>
5592 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5594 2001-10-15 José Matos <jamatos@fep.up.pt>
5596 * insetert.C: allow export for docbook and linuxdoc
5598 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5600 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5602 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5604 * insetquotes.C (dispString): fix handling of latin9 quotes
5606 2001-10-03 Juergen Vigna <jug@sad.it>
5610 * insetcollapsable.C: change updateInset calls to not tell BV that
5611 we have changed status.
5613 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5615 * insettabular.C (deletable): make const
5617 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5619 * insetert.C (latex): Fix the returned value
5621 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5623 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5624 Returns string(), so nothing in an ERT inset is spellchecked.
5626 * insetgraphics.C (draw): print the filename if not displaying the
5628 (width): make sure that the width and draw methods are consistent.
5629 (updateInset): don't even load the image into cache if not displaying
5632 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5634 * various files (selectNextWord): renamed as
5635 selectNextWordToSpellcheck.
5637 * insetgraphics.C (draw): remove the previous change. Right place
5638 is in imageLoaderXPM.C.
5639 (draw): don't display the image if params.display == NONE.
5641 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5643 * figinset.C (runqueue):
5644 * insetgraphics.C (draw): set background colour of inset from
5645 background to the user-configurable graphicsbg.
5647 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5649 * insetquotes.C (InsetQuotes): when trying to decide the side of
5650 the quote, choose `left' only after a space or '('
5652 2001-09-04 José Matos <jamatos@fep.up.pt>
5657 * insetcollapsable.h
5675 * insetlatexaccent.C
5676 * insetlatexaccent.h
5681 * insetspecialchar.C
5682 * insetspecialchar.h
5686 * insettext.C (docbook): rename docBook method to docbook.
5688 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5690 * inset.h (getFirstParagraph): New virtual method.
5692 2001-08-20 Herbert Voss <voss@perce.de>
5693 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5694 in the the bibtex-database-gui for inserting a line
5697 If no style is given than there is no tex-output.
5699 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5701 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5705 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5707 * insetert.C (latex): Fix output for multiple paragraphs.
5708 (write): New code for writing paragraph data.
5709 (read): Set font after reading the inset.
5710 (localDispatch): Call set_latex_font() for more cases.
5712 * insetnote.h: Add empty validate method.
5715 * insetnote.C (InsetNote): Set language to the language of the
5718 2001-08-16 Juergen Vigna <jug@sad.it>
5720 * insettext.C: implemented the new FINISHED states.
5722 * insettabular.C: ditto
5724 * inset.h: added more FINISHED states for cursor right,up,down
5726 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5728 * insetfloatlist.C: use "FloatName List"
5730 2001-08-14 Juergen Vigna <jug@sad.it>
5732 * insetert.C (edit): forgot to set status_ in edit calls!
5734 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5736 * insettext.C: Compilation fix
5738 2001-08-13 Juergen Vigna <jug@sad.it>
5740 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5742 * insetcollapsable.C (edit): don't recollapse an already open inset.
5744 * insettext.C: fixed problem when reinitializing LyXText by not doing
5745 it while lt is in use and post this to the next possible time in
5747 (searchForward): fixed not unlocking of inset if nothing found.
5748 (edit): set cursor behind right (was set -1 pos).
5750 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5752 * insettabular.C (tabularFeatures): fixed fix where deleting the
5753 last row didn't get the right actcell!
5755 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5757 * insettext.C (localDispatch): Change language only when the inset
5760 2001-08-10 Juergen Vigna <jug@sad.it>
5762 * insettabular.C (selectNextWordInt): use the front using edit call.
5764 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5765 the parameter overwrite class variable inset.
5767 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5769 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5770 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5772 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5773 update only for fixed with cells.
5774 (resetPos): try to fix the lockup on spellchecking or s&r.
5776 * insettext.C (update): comment this out as it seems first wrong
5777 and second not needed anymore!
5778 (some functions): call reinitLyXText() only in update() in all other
5779 positions set only need_update = INIT.
5781 2001-08-08 Juergen Vigna <jug@sad.it>
5783 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5785 * insettext.C (insetUnlock): remove double-space on inset unlock.
5787 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5789 * insettabular.C (update): fixed cursor positon after an insert.
5790 (insetAllowed): do not allow to insert insets when not inside the
5792 (draw): clear below an inset too as it could have changed height.
5794 * inset.C (getMaxWidth): fixed width for inset in inset.
5796 * insettext.C (update): small fix.
5798 * insettabular.C (tabularFeatures): added selection support to
5799 DELETE_ROW/DELETE_COLUMN.
5801 2001-08-07 Juergen Vigna <jug@sad.it>
5803 * inset.C (getMaxWidth): recoded and all it's implementations!
5805 * insettext.C (init,setParagraph+constructors): cleanups
5806 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5807 are new and I want do a save/restore of the cursor position which is
5808 not possible anymore.
5810 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5811 (searchBackward): ditto
5812 (selectNextWord): ditto
5814 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5816 * insetlatexaccent.C (checkContents): Add some debug messages
5818 2001-08-07 Juergen Vigna <jug@sad.it>
5820 * insetert.C (read): don't use InsetCollapsable::read as we don't
5821 write the collapsed status anymore only the status.
5824 2001-08-06 Juergen Vigna <jug@sad.it>
5826 * insetert.C (set_latex_font): use LyXText's setFont directly.
5828 * insettext.C (drawFrame): fixed one time more the right position
5829 and size of the frame!
5831 * insetert.C (~InsetERT): hide the dialog.
5832 (showInsetDialog): added implementation
5835 (status): new function for the status of the ERT inset (3-state).
5836 (write): output also the status of the inset for readback!
5837 (read): readback the status if available otherwise use collapsed_.
5839 * insettext.C (edit): small fix of setting the position, which could
5842 * insetert.C (width): implement this function for inlined viewing.
5843 Added minimum width of 10 pixels!
5845 * insetminipage.C (InsetMinipage): just change the colors a bit so
5846 that border/background is a bit more visible. We will remove this
5849 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5850 function for getting the important widths for drawing in various
5851 functions and in LyXText.
5852 (draw): fixed up a bit (frame drawing/clearing)
5854 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5856 * inset.C (convertFont): delete method. not used.
5858 2001-08-03 Juergen Vigna <jug@sad.it>
5860 * insettext.C (setFont): don't call for a draw update if we're just
5861 changing the cursor font!
5863 2001-08-02 Juergen Vigna <jug@sad.it>
5865 * insettext.C (draw): clear the background with the right color if
5866 needed. Update myself if x&max-width changed and return without doing
5867 anything. Let the update code handle the right stuff.
5869 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5870 inside another inset.
5872 2001-08-01 Juergen Vigna <jug@sad.it>
5874 * insetcollapsable.C (update): added an in_update bool so we avoid
5877 * insettabular.C (update): added an in_update bool so we avoid
5880 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5882 (update): added an in_update bool so we avoid reentering.
5884 * insettabular.C (localDispatch): clear col/row selection when doing
5885 something else inside an inset.
5887 * insettext.C (getLyXText): fixed bug when requesting a recursive
5890 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5892 * insetcite.C (latex): Paranoia check. Make sure that there is no
5893 whitespace between the citation keys.
5895 2001-07-31 Juergen Vigna <jug@sad.it>
5897 * inset.h (nodraw): make the set function also const so that this
5898 can be called from inside other const functions.
5900 * insetcollapsable.h: removed inline variable and moved it over
5901 to the only user InsetERT.
5903 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5904 inset opening immediately therein lying insets dialogs!
5906 * insetert.C (localDispatch): set the font also if we don't have any
5907 chars in this paragraph, otherwise if we delete all of em and start
5908 writing we have the wrong font.
5910 (draw): implemented for inline support
5911 (insetButtonRelease): ditto.
5913 2001-07-30 Juergen Vigna <jug@sad.it>
5915 * insettext.C (reinitLyXText): new function to reinit the insets
5916 text after lot's of paragraph changes. Use this instead of the
5917 cache.clear() which is VERY dangerous.
5919 * insetfloat.C (insetButtonRelease): we should only show the dialog
5920 if we press on the label otherwise we have problems to open mouse
5921 button 3 dialogs inside this float (f.ex. of a tabular!)
5923 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5925 * insetert.C: change back to "ERT"
5927 * insetfloat.C: handliign of RMB on label added.
5929 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5931 * insetgraphicsParams.C: #include LOstream.h here.
5933 * insetfoot.h: remove InsetFoot:: qualifier.
5935 2001-07-29 Baruch Even <baruch@lyx.org>
5937 * ChangeLog: Hiding time travel evidence.
5939 * insetgraphicsParams.h:
5940 * insetgraphicsParams.C:
5941 * insetgraphics.C: Added horizontal scale option, it actually scales both
5942 directions since it keeps image proportions.
5944 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5946 2001-07-29 Baruch Even <baruch@lyx.org>
5948 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5949 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5951 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5953 2001-07-29 Baruch Even <baruch@lyx.org>
5955 * insetgraphics.C: Added EPSI to be an alias of EPS.
5957 2001-07-29 Baruch Even <baruch@lyx.org>
5959 * insetgraphics.C: Change GRAPHICS to Graphics.
5960 Changed image conversion rules (documented at the beginning of file).
5962 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5964 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5967 * insetgraphics.C: added a using std::endl directive.
5969 * insetcommand.h (getScreenLabel): removed pure virtual function,
5970 as it duplicates that in InsetButton.
5972 * insetbib.[Ch] (getScreenLabel):
5973 * insetbutton.[Ch] (getScreenLabel):
5974 * insetcite.[Ch] (getScreenLabel):
5975 * insetert.[Ch] (getScreenLabel):
5976 * insetexternal.[Ch] (getScreenLabel):
5977 * insetfloatlist.[Ch] (getScreenLabel):
5978 * insetinclude.[Ch] (getScreenLabel):
5979 * insetindex.[Ch] (getScreenLabel):
5980 * insetlabel.h (getScreenLabel):
5981 * insetparent.[Ch] (getScreenLabel):
5982 * insetref.[Ch] (getScreenLabel):
5983 * insettoc.[Ch] (getScreenLabel):
5984 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5986 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5988 (validate): remove check on "cite" when using natbib.
5990 2001-07-26 Baruch Even <baruch@lyx.org>
5992 * insetgraphics.C (draw): changed casting to be in one place rather than
5993 all over the function.
5996 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5998 * insetgraphicsParams.h:
5999 * insetgraphicsParams.C:
6000 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
6002 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6004 * insetfoot.C (validate): Added method to ensure that the
6005 right bit of LaTeX is emitted.
6007 * insetfoot.h: Added validate method to set the correct
6008 LaTeXFeatures bit for the special footnote code.
6010 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6012 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6015 2001-07-27 Juergen Vigna <jug@sad.it>
6017 * inset.h: remove not used font variable in parameter.
6018 removed checkInsertChar in UpdatableInset as it was equal to
6019 the one in Inset and so not needed.
6021 * insetert.C (checkInsertChar): implementation of function
6024 * inset.h: added new function checkInsertChar.
6026 * various files: added c-tor and clone() function.
6028 * insetcollapsable.h: removed clone function here as this should
6029 be only realized in REAL insets and added it to all collapsable
6030 insets! (with the copy-constructor).
6032 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6034 * insetminipage.C (read): handle missing parameters more gracefully
6036 * insetcollapsable.C (read): handel missing collapsed more gracefully
6038 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6040 * insetfloat.C (read): handle missing parameters.
6042 * insettext.C (read): handle old latex end_inset
6044 * insetert.C (setButtonLabel): new method
6045 (init): use it, to set the dynamic label correctly
6048 * Makefile.am (EXTRA_DIST): add files that is not part or the
6051 * insetcollapsable.h: remove autocollapsable (no users), remove
6052 draw_label, change_label_with_text and companion code. Remove args
6054 * insetert.[Ch]: move here instead (only user)
6056 * inset.h: rename private variable name to name_, make
6057 selectNextWord return a const string. make getInsetName return a
6058 string const &. Remove bool from open, add close.
6060 * Makefile.am: don't compile insetlist, insetsection
6063 2001-07-24 Juergen Vigna <jug@sad.it>
6065 * insetert.C (InsetERT): put init after the paragraph initialization,
6066 as otherwise we don't set the draw_label right.
6068 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6069 insets with the mouse without having strange selections.
6070 (edit): if the inset was collapsed and we open it here then put the
6071 cursor always at the beginning of the inset.
6072 (get_new_label): 15 instead of 10 max chars in the label.
6074 * insetert.C (localDispatch): added and handle various stuff we
6075 need to handle here (font setting on paragraph break, not permitted
6076 layout setting, etc.).
6078 * inset.h: added default copy-consturctor and implemented this in
6079 various insets with the change to use this in the clone function!
6081 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6083 * insetminipage.C (InsetMinipage): set background color to red :)
6085 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6087 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6088 draw frame mode is LOCKED.
6090 * insetcollapsable.C (edit):
6091 (insetButtonRelease): set update status to full when
6094 * insettext.C (clearInset):
6095 * insettabular.C (draw):
6096 * insetlatexaccent.C (draw): honor background color.
6098 * inset.h: new member background_color_, initialized to
6101 * inset.C (backgroundColor): new method.
6102 (setBackgroundColor): new method.
6104 * insetert.C (init): new method, called by the ctors.
6105 (InsetERT): when inserting contents, make sure the font is
6108 * insetnote.C (InsetNote): when inserting content, remove trailing
6110 (init): set background color to LColor::note
6112 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6114 * insetcollapsable.C: adjust
6116 * insetbutton.C: adjust
6118 2001-07-23 Juergen Vigna <jug@sad.it>
6120 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6121 parameter on the _collapsed function (was not needed) and call
6122 always width_collapsed().
6124 * insetert.C (InsetERT): use setLabel with "true" flag.
6126 * insetcollapsable.C: modified various functions to set the draw_label
6127 string right in any condition.
6128 (setLabel): added a bool parameter to set change_label_with_text.
6130 * insetcollapsable.h: added draw_label string which is set to the
6131 actual drawn label-string, while label is the original static label
6132 of this collapsable inset. Added bool change_label_with_text to set
6133 if we want that the label changes to the start of the InsetText's
6134 text when collabpsed. You can set this flag with the setLabel funciton.
6135 Added bool inlined for inlined collapsable insets, but not handled
6138 * insetcollapsable.C (get_new_label): added should get a new label
6139 from the InsetText beginning (for now 10 chars).
6141 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6143 * insetquotes.C (latex): fix the handling of french double quotes
6144 when not using the french pachage.
6146 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6148 * insetcollapsable.h: make WidthCollapsed mutable.
6150 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6151 InsetPrintIndex returns INDEX_PRINT_CODE.
6153 * inset.h: add INDEX_PRINT_CODE
6155 * insetcollapsable.C (draw): init widthCollapsed if necessary
6158 * insetquotes.C (width): use the local language, not the document
6161 (dispString): add additional spacing for all french languages,
6163 (validate): make it work when there is no default language
6165 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6167 * insetnote.C (init): new method, called by the constructors
6168 (InsetNote): new constructor with contents passed as a string
6170 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6172 * insetfootlike.C (insetAllowed): disallow float in footlike.
6174 * insetert.C (InsetERT): add collapsed argument to the constrctor
6177 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6179 * insetindex.h: shut off warning
6181 2001-07-20 Juergen Vigna <jug@sad.it>
6183 * insetcollapsable.C (update): recoded hopefully works now!
6185 2001-07-19 Juergen Vigna <jug@sad.it>
6187 * most files: implemented the below new introduced function.
6189 * inset.h: added new edit(BufferView *, bool front) method to be able
6190 to enter an inset from the front/back without knowing x/y positions
6191 and baselines inside the inset. So I just can tell the inset activate
6192 me and set the cursor on the front/back of yourself.
6194 2001-07-18 Juergen Vigna <jug@sad.it>
6196 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6197 is given to the InsetText.
6198 (insetButtonPress): ditto
6199 (insetButtonRelease): ditto
6200 (insetMotionNotify): ditto
6202 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6204 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6205 LIGATURE_BREAK, since the name is so stupid.
6207 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6209 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6210 the default InsetCollapsable methods. I.e., it can insert anything.
6211 (write) output the name of the inset, not some silly hack for
6212 compatability with the old InsetInfo.
6214 * insetinfo.[Ch]: removed.
6215 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6216 now collapsable, but functionality is otherwise identical to InsetInfo.
6218 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6220 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6222 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6225 * insetquotes.C: general cleanup
6226 (dispString): add spaces inside french double quotes.
6227 (latex): ditto. Moreover, treat first the case where the frenchb
6228 or french options have been given.
6230 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6232 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6235 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6237 * figinset.C (RegisterFigure): Print debug message only when
6238 current_view is available.
6240 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6242 * many files: update to match the change below
6244 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6245 implement the version which takes an inset here.
6247 * insetcollapsable.[Ch]: implement open and isOpen
6249 * inset.h: remove insertInsetAllowed from Inset
6250 (open): new method, to open or close an inset
6251 (isOpen): returns the status of an inset
6252 (isCollapsable, colapse): removed
6254 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6256 * insetquotes.C (dispString): display french guillemets when using
6259 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6261 * insetcollapsable.h: remove bogus return statements
6263 2001-07-18 Juergen Vigna <jug@sad.it>
6265 * insettabular.C (selectNextWord): fixed spellchecking for the
6266 first cell of a tabular (wasn't entered!)
6267 (getLyXText): changed to enter automatically insettext and return
6268 it's LyXText if we're locked.
6270 2001-07-17 Juergen Vigna <jug@sad.it>
6272 * various files: implemented the below functions.
6274 * inset.h: added functions
6275 - virtual string selectNextWord(BufferView *, float & value) const;
6276 - virtual void selectSelectedWord(BufferView *) { return; }
6277 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6278 needed for spellchecking correctly!
6280 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6282 * insetert.C (latex): write out all paragraphs.
6284 2001-07-17 Baruch Even <baruch@lyx.org>
6286 * insetgraphics.C (draw): Removed unneeded casts.
6288 2001-07-16 Juergen Vigna <jug@sad.it>
6290 * insettext.C (update): fixed small oversight (reset lt to 0).
6292 2001-07-14 Baruch Even <baruch@lyx.org>
6295 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6297 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6299 Consistent use of Lsstream.h:
6300 * figinset.C: removed using std::ostringstream directive.
6302 * insetgraphics.C (createLatexOptions):
6303 * insetinclude.C (unique_id):
6304 std::ostringstream -> ostringstream.
6305 * insettext.C (localDispatch): std::istringstream -> istringstream.
6307 2001-07-13 Juergen Vigna <jug@sad.it>
6309 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6311 * insetcollapsable.C (getLockingInset): ditto.
6313 2001-07-12 Juergen Vigna <jug@sad.it>
6315 * insetcollapsable.h: added implementation of new function for
6318 * various files: added implementation of new insertInsetAllowed-func
6319 and redone the function a bit more.
6321 * inset.h: added isCollapsable(), bool collapsed(),
6322 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6324 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6326 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6327 LyXText which is marked for removal while we're using it!
6329 * insettext.h: added private LyXText * lt to use it to assure we are
6330 not deleting our LyXText while we're using it!
6332 2001-07-11 Juergen Vigna <jug@sad.it>
6334 * insettext.C (insertInset): check if we are before the inset after
6335 inserting it! This check IS needed. Remove the Undo-Call as it is
6336 called in LyXText::insertInset!
6338 * insettext.h: added struct InnerCache.
6340 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6341 that we ONLY delete the LyXText in the getLyXText() routine. So we
6342 are sure we don't delete LyXText while someone is working with it!
6344 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6346 * insetexternal.C: (*it). -> it->
6347 * insettext.C: ditto
6349 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6351 * insetcollapsable.C (edit): always open collapsed insets (even if
6352 they are not autocollapsable)
6354 * insetcommand.C (operator=): simplify.
6356 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6358 * insetert.C (latex): handle META_NEWLINE
6360 2001-07-09 Juergen Vigna <jug@sad.it>
6362 * insetert.h: a normal InsetText can insert insets, but we won't.
6364 * inset.h: return default "false" on insertInsetAllowed and implement
6365 this function where a returnvalue != "false" is needed.
6367 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6369 * insetert.C (InsetERT): new contructor
6371 2001-07-06 Juergen Vigna <jug@sad.it>
6373 * a lot of files: added implementation of the below new functions
6374 and the change to clone(). Also the call of the new undo-functions
6377 * inset.h: added an inset_id, added functions getParFromID,
6378 getInsetFromID, firstParagraph, cursor and id functions, added
6379 bool same_ids to clone function.
6381 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6383 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6384 of BufferView * and shared_ptr<LyXText>
6386 2001-07-05 Juergen Vigna <jug@sad.it>
6388 * insettext.C (clear): deleted also the cache not only LyXText.
6389 (setParagraphData): ditto.
6391 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6393 * insetfloat.C (latex): let the specific placement take presedence
6394 if set, otherwise choose document placement if set, otherwise just
6395 use float default placement.
6397 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6399 * insettext.C (localDispatch): call CutAndPaste::'s static method
6402 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6404 * insetbib.C: no meed to include forms.h here.
6406 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6408 * insettext.C: added using std::make_pair directive.
6410 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6412 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6414 (deleteLyXText): ditto
6415 (resizeLyXText): ditto
6417 2001-07-02 Juergen Vigna <jug@sad.it>
6419 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6420 following calls are only returned the right pointer without the over
6421 head to search in the map.
6422 (various funcs): reset the cached_bview variable as this signs that
6423 the cache is not valid anymore.
6425 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6427 * insettabular.C (clone): do not copy the LyXTabular twice
6429 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6431 * insettext.h (TEXT): delete method
6433 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6435 * insetmarginal.C (latex):
6436 * insetfoot.C (latex): fix spacing of notes in LaTeX
6438 * insettext.C (localDispatch): use .c_str() on istringstream
6439 constructor argument.
6441 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6446 * inseturl.C: fix method names in these to begin
6447 with small char too, so they inherit
6449 2001-06-28 Juergen Vigna <jug@sad.it>
6451 * insettext.C (setFont): fixed font settings using toggleFree()
6452 instead of setFont().
6454 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6456 * Change a lot of method names to begin with a small char.
6457 Changes to a lot of files because of this.
6459 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6461 * insetfloatlist.C (Write): std:: qualify ostream
6464 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6468 * insetgraphics.C: send debug output to Debug::INFO instead of
6471 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6474 * insettabular.C (getStatus): update to use func_status
6476 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6478 * insetref.C (DocBook): added support for cross-references without
6481 2001-06-26 The LyX Project <jug@sad.it>
6486 * insetlabel.h: removed escape method and moved it to
6489 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6491 * insettabular.C (getMaxWidth): do the speedup in a different way,
6494 2001-06-24 The LyX Project <Asger>
6496 * insettabular.C (getMaxWidth): We cache a mapping from
6497 inset to cell in order to speed this method up.
6499 2001-06-24 The LyX Project <Asger>
6501 * insettext.C: Optimized InsetText::draw or something.
6503 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6505 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6507 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6509 * inset.h: name change from lyxinset.h
6511 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6513 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6515 2001-06-14 Juergen Vigna <jug@sad.it>
6517 * insettext.C (draw): removed warnings.
6519 2001-06-13 Juergen Vigna <jug@sad.it>
6521 * insettabular.C (nodraw): only go down the tree if we don't have
6522 that flag set otherwise it's obvious that we don't want to draw.
6523 (LocalDispatch): do also an update if we have an undispached result.
6525 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6528 * insetgraphicsParams.C:
6529 * insettext.C: removed // -*- C++ -*- as first line.
6531 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6533 * lyxinset.h (resizeLyXText): shut off warning about unused
6536 2001-06-07 Juergen Vigna <jug@sad.it>
6538 * insettext.C (resizeLyXText): honor the new force flag.
6540 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6542 * insettabular.C (deleteLyXText): new function
6544 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6552 * insetcollapsable.C:
6553 * insetcaption.C: LColor tidy
6555 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6557 * figinset.C: fix typo
6559 2001-06-01 Juergen Vigna <jug@sad.it>
6561 * insettabular.C (resetPos): small hack so that scroll is not set to
6562 0 when we are in the last column of a tabular. This is a problem we
6563 have because of constats 20 offset on both directions, so this can
6564 cause on the limit an endless loop.
6566 * insettext.C (SetFont): forgot that we can have locking insets ;)
6568 2001-05-31 Juergen Vigna <jug@sad.it>
6570 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6572 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6574 * figinset.C: add using std:: directive for the C functions which
6577 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6579 * insetfloat.C (Write): write out wide info
6580 (Read): read the wide info
6581 (Latex): use the wide info when creating latex.
6583 * insettext.C: adjust
6585 * insetgraphics.[Ch] (statusMessage): change to return string
6589 * figinset.C (runqueue): add std::
6592 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6594 * insetcite.C (Ascii): add std:: qualifier
6596 2001-05-28 Juergen Vigna <jug@sad.it>
6598 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6599 a endless-width inset (maxWidth < 0).
6600 (Edit): change language only if not equal.
6602 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6604 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6606 2001-05-16 Juergen Vigna <jug@sad.it>
6608 * insettext.C (selectAll): added
6609 (clearSelection): added
6611 * insettabular.C (SetFont): now we may set a font on a whole selection!
6612 (getSelection): added helper function.
6614 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6616 * insetcite.C (Ascii): Add method.
6618 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6621 * insetbib.C: fix path for OS/2 & Win32
6623 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6625 * insetfoot.C (Latex): don't use % after footnote.
6627 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6629 * insettext.C (Read): use clear
6630 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6632 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6634 * insetfloatlist.h: add a bunch of std:: qualifiers.
6636 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6638 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6639 FLOAT_LIST_CODE, renumber code list.
6641 * insettoc.C (getScreenLabel): remove support for float lists
6645 * insetfloatlist.[Ch]: new files
6647 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6649 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6651 * insettabular.C (LocalDispatch):
6652 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6655 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6657 * insettext.C: remvoe !NEW_INSETS cruft
6659 * insettabular.C: remove !NEW_INSETS cruft
6661 * insetcollapsable.h: remove !NEW_INSETS cruft
6663 * insetbib.C: remove !NEW_INSETS cruft
6665 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6667 * insettoc.C: hack to make listof algorithm work
6669 2001-04-20 Juergen Vigna <jug@sad.it>
6671 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6673 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6675 * insetquotes.C (Latex): improve the guard against
6676 unwanted !` and ?` ligatures. This should really be done in
6677 another place (to catch all this ligatures at low-level).
6679 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6681 * insettext.C (init): remvoe leftovers from cursor_visible change
6682 (draw): use c++ cast
6683 (LocalDispatch): dispatch LFUN_MESSAGE
6685 * insettabular.C (InsetTabular): remove leftovers from
6686 cursor_visible, and scoped_ptr changes
6687 (draw): use c++ cast
6689 * insetcollapsable.C (draw): use c++ cast
6691 * ExternalTemplate.h: inherit privaely from noncopyable
6692 * insetcommand.h: ditto
6693 * insetinclude.h: ditto
6695 2001-04-16 Allan Rae <rae@lyx.org>
6697 * insettoc.C (Ascii):
6698 * insettext.C (draw):
6699 * insettabular.C (setPos):
6700 * insetminipage.C (Read):
6701 * insetfloat.C (placement):
6702 * insetcaption.C (Ascii, DocBook):
6703 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6704 an unrecognised preprocessor directive. So ensure they're wrapped.
6706 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6709 * insetexternal.C: set view on Clone. Add _ to private members.
6711 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6713 * insettext.C (InsetText): fix new
6714 (InsetText): reindent some, simplify deletion of par list
6715 (clear): simplify deletion of par list, fix new
6716 (SetParagraphData): simplify deletion of par list
6718 * insettabular.[Ch] (getLabelList): implement new method
6720 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6722 * lyxinset.h: do not include gettext.h...
6730 * insetlatexaccent.C:
6734 * inseturl.C: ... and do it here instead
6736 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6738 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6740 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6742 * insetcollapsable.[Ch] (getLabelList): implement
6744 * insettext.[Ch] (getLabelList): implement
6746 * insettext.h: reindent
6748 * insettabular.h: make tabular a scoped_ptr
6750 * insettext.C (init): adjust for cursor_visible
6751 (ToggleInsetCursor): constify asc and desc, font, adjust for
6753 (ShowInsetCursor): constify asc and desc, font, adjust for
6755 (HideInsetCursor): adjust for cursor_visible
6757 * insettabular.C: reindent some
6758 (InsetTabular): adjust for scoped_ptr and cursor_visible
6759 (InsetTabular): ditto
6760 (~InsetTabular): delete delete
6761 (Clone): adjust for scoped_ptr
6762 (Read): constify old_format, adjust for scoped_ptr, move init of
6764 (draw): constify tx, localize loop vars.
6765 some other localization of variables, remove double initilizatons.
6767 * insetfoot.C: remove using std::ostream, add ostream where needed
6769 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6771 * lyxinset.h: some reindentaion, use initializer list for
6773 UpdatableInset: make cursor_visible a private var add
6774 public isCursorVisible(), add protected toggleCursorVisible() and
6775 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6777 * insettoc.C: remvoe using decl
6778 (getScreenLabel): make cmdname donst
6781 (Ascii): don't use endl
6783 * insetfootlike.C: remove using decl at file scope and add std::
6785 * insetmarginal.C: ditto
6787 * insetfoot.C: some reformatting
6789 * insetfloat.C (InsetButtonRelease): adjust the hit area
6791 * insetert.C (SetFont): some reformatting
6793 * insetcollapsable.C: some reformatting and constification
6794 (Clone): comment out.
6795 * insetcollapsable.h: some reformatting
6796 (Clone): comment out.
6801 2001-03-30 Juergen Vigna <jug@sad.it>
6803 * insetcollapsable.h: changen *inset to be a InsetText inset.
6805 * some files: changed to reflect the above change.
6807 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6809 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6810 InsetExternal::Params.
6811 Added operator==() and operator!=() for the Params struct.
6813 2001-03-29 Juergen Vigna <jug@sad.it>
6815 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6818 * insetminipage.C: removed widthp_ and all it's functions and changed
6819 to use new %-lengths of LyXLength.
6821 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6823 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6825 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6827 * insetgraphicsParams.C (operator!=): new function, needed by the
6828 ControlGraphics class.
6830 2001-03-28 Juergen Vigna <jug@sad.it>
6832 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6833 (checkAndActivateInset): don't use the values returned from
6834 call to bv->checkInsetHit.
6836 * insetminipage.C (Clone): set special minipage values.
6838 * insetcollapsable.C (draw): changed to draw the button in the
6839 upper left corner outside the textinset.
6840 (ascent): changed because of different drawing
6844 (InsetButtonPress): ditto
6845 (InsetButtonRelease): ditto
6846 (InsetMotionNotify): ditto
6848 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6850 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6854 2001-03-26 Juergen Vigna <jug@sad.it>
6856 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6858 * insettext.C (ShowInsetDialog): implemented above function.
6860 * insettabular.C (ShowInsetDialog): ditto
6862 * insetminipage.C (ShowInsetDialog): ditto
6864 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6866 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6867 InsetInclude::Params. Don't store a buffer * in Params. Store the
6868 master file name instead.
6870 2001-03-23 Juergen Vigna <jug@sad.it>
6872 * insetcollapsable.C (InsetMotionNotify):
6873 (InsetButtonRelease):
6874 (InsetButtonPress): fixed y-offset (minipages).
6876 * insettext.C (draw): force a FULL update if cleared == true.
6878 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6879 routine to draw the minipages on its position-flag.
6880 (InsetInInsetY): give back the right y position, because of minipage
6883 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6886 * insetfloat.C (DocBook): docbook export code.
6888 2001-03-22 Juergen Vigna <jug@sad.it>
6890 * insetminipage.C (getMaxWidth): added function to set the drawing
6892 (Read): should work now!
6894 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6895 if we create a new inset.
6897 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6899 * figinset.C (fl_set_preemptive_callback): moved definition outside
6902 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6904 * insetminipage.C (Read): prepare for reading of minipage arguments.
6906 2001-03-18 Baruch Even <baruch@lyx.org>
6908 * insetgraphics.C: Minor cleanups of the comments and code.
6910 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6912 * insetminipage.C (InsetMinipage): default to not collapsed
6914 2001-03-16 Juergen Vigna <jug@sad.it>
6916 * insetminipage.C (width): modified with to be a string
6917 (widthp): added widthp (for % width) support functions.
6918 (InsetButtonRelease): added to open the options dialog on button==3.
6919 (~InsetMinipage): added to hide the dialog.
6921 * insetminipage.h: added hideDialog signal
6923 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6925 * insetminipage.h: change the order or Position to match
6926 LyXParagraph::MINIPAGE_ALIGNMENT
6928 * several files: remvoe CXX_WORKING_NAMESPACES
6930 * ExternalTemplate.h: noncopyable is in namespace boost
6931 * insetinclude.h: ditto
6932 * insetcommand.h: ditto
6934 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6936 * insettext.C (Edit): #else# -> #else.
6937 * insettoc.C: added using directive.
6939 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6941 * insetminipage.h: add pos, inner_pos, width and height. + getters
6942 and setters for all of them.
6944 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6946 * insetinclude.C (Latex): Do not exit when the textclass of the
6947 included file differ from the textclass of the parent file.
6949 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6951 * ExternalTemplate.C (read): the reading of external insets now checks
6952 for \end_inset and removes it form the input stream.
6954 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6956 * ExternalTemplate.h:
6957 * ExternalTemplate.C:
6959 * insetexternal.C: move form to GUII
6961 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6964 * insetinclude.C: add InsetIncludeParams, use
6965 composition rather than derivation of InsetCommand
6967 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6969 * insettoc.C (Ascii): use the Buffer typedefs
6971 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6973 * insettoc.C (Ascii): implement for dynamic number of lists
6975 * insetcaption.[Ch]: update from new_insets branch
6976 * insetfloat.[Ch]: ditto
6978 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6981 * figinset.C: use new File Dialog
6983 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6985 * insettext.C: changes becuase of ParagraphParameters.
6987 2001-02-28 Baruch Even <baruch@ev-en.org>
6989 * insetgraphics.C (updateInset): Changed due to the change in
6992 2001-02-26 Juergen Vigna <jug@sad.it>
6994 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6995 handled in LyXText).
6997 2001-02-23 Juergen Vigna <jug@sad.it>
6999 * insettext.C (draw): some small repainting fixes.
7000 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7002 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7003 should be) and not an int.
7005 * insettabular.C (LocalDispatch): ditto
7007 * insettext.C (LocalDispatch): ditto
7009 * insetcollapsable.C (LocalDispatch): ditto
7011 2001-02-22 Juergen Vigna <jug@sad.it>
7013 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7014 DISPATCH it and we don't have a locking_inset.
7016 2001-02-21 Baruch Even <baruch@ev-en.org>
7018 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
7019 instead of GraphicsCacheItem *.
7021 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7023 * insetcollapsable.C (getLyXText): add const qualifier to second
7026 2001-02-22 Juergen Vigna <jug@sad.it>
7028 * insettext.C (getLyXText): honor the recursive parameter.
7029 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7031 * inset.C (getLyXText): added bool recursive parameter.
7033 * insettext.C (SetUpdateStatus): or the update codes.
7034 (draw): check need_update with &.
7035 (InsetButtonPress): set no_selection to not put a selection when
7036 entering an inset and it is redraws in another spot.
7038 * insettext.h: made need_update an int.
7040 2001-02-20 Baruch Even <baruch@ev-en.org>
7043 * insetgraphisc.C: Changed to use better semantics when loading images
7044 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7046 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7050 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7051 consistent with InsetTabular.
7053 2001-02-19 Juergen Vigna <jug@sad.it>
7055 * insettabular.C (LocalDispatch): implement PAGE up/down.
7057 * insettext.C (draw): clear all of it on need_update==INIT too!
7059 * insettabular.C (InsetUnlock): always clear the selection.
7061 * inset.C (scroll): normally we only want to scroll the inset until
7062 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7064 2001-02-14 Juergen Vigna <jug@sad.it>
7066 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7067 (resetPos): fixed scroll behaviour.
7068 (LocalDispatch): do an update if moving cursor inside a table cell
7069 requests a scroll of the tabular.
7071 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7073 * insettext.C (textWidth): constify local var
7075 * insettabular.C: small cleanup.
7077 * insetfoot.C (Latex): constify local var
7079 * insetcollapsable.C: small cleanup.
7081 * figinset.C (runqueue): use compare instead of strcmp
7083 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7086 * insetinfo.C: remove cruft
7088 2001-02-14 Juergen Vigna <jug@sad.it>
7090 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7092 2001-02-13 Juergen Vigna <jug@sad.it>
7094 * insettext.C (InsertInset): don't move left (is this right?)
7096 * insettabular.C (LocalDispatch): use of the no_draw variable
7098 * insettabular.h: new no_draw variable to stop redraw
7100 * insettabular.C (TabularFeatures): fixed update for alignment change
7102 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7106 * insetbib.C: move dialogs to frontends/
7108 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7110 * insettext.C (LocalDispatch): Restore the language if the inset
7113 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7115 * insettext.C (moveRightIntern): Update the selection cursor.
7116 (moveLeftIntern): Ditto.
7118 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7120 * Makefile.am: remove BoundingBox.h
7122 * BoundingBox.h: removed
7124 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7126 * insettext.C (LocalDispatch): Update selection cursor when moving
7127 cursor to the right.
7128 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7129 (moveLeftIntern): Ditto.
7131 2001-02-05 Baruch Even <baruch.even@writeme.com>
7133 * insetgraphics.C: Updated automatic image conversion, it now goes into
7134 temporary directory instead of with the image itself.
7136 2001-01-21 Baruch Even <baruch@ev-en.org>
7138 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
7139 to EPS or PNG when needed (support bitmap graphics).
7141 2000-11-02 Baruch Even <baruch@ev-en.org>
7144 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
7145 and removal of commented out code.
7147 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7149 * insetbib.C (callback): Update citations if the key has changed.
7151 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7153 * insetbib.C (InsetBibKey): Better computation of default key.
7154 (getScreenLabel) Show both the key and the label.
7155 (getBibLabel): New method.
7156 (callback): Force a redraw if the inset have been changed.
7158 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7160 * insetref.C (getType, getName): Move methods from
7161 src/frontends/xforms/FormRef.C.
7163 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7165 * insettabular.C: Various improvements (use only one dummy position).
7167 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7169 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7170 par->bibkey->width. This fixes the crashes when running without
7171 gui or when having included documents.
7173 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7175 * insetcommand.C (getAsString, setFromString): Cleanup.
7177 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7179 * insetref.C: Add the array InsetRef::types that contains
7180 information about all supported reference types.
7182 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7184 * lyxinset.h: remove trailing comma in enum.
7186 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7188 * insettext.C: kill LyXBell.