1 2005-01-31 Angus Leeming <leeming@lyx.org>
3 * insetgraphicsParams.C: protect a #warning preprocessor call
4 with a #ifdef WITH_WARNINGS guard.
6 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
8 * Several files: use convert<> instead of atoi,strToXXX and friends
10 2005-01-23 Angus Leeming <leeming@lyx.org>
12 * insetbibitem.h (bibitemWidest): declare the function.
14 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
16 * insetgraphics.C (prepareFile): move the invocation of the default
17 converter to ../converter.C
18 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
19 call convert with try_default == true
21 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
23 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
24 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
25 determines what variables are substituted
26 * ExternalSupport.C (updateExternal): fix substitution of
29 2005-01-10 Angus Leeming <leeming@lyx.org>
31 * ExternalTemplate.C: use support/package.h to provide the paths to the
32 various directories used by LyX.
34 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
42 * ExternalTransforms.C (adjAngle): tostr -> convert
44 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
46 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
49 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
51 * ExternalTransforms.C: fix LaTeX output of \scalebox.
53 * ExternalTransforms.[Ch]:
54 * insetexternal.C: store all float/double values as strings.
57 * insetgraphicsParams.C: more precise checks for the value strings.
59 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
61 * insettext.C (doDispatch): remove unused variable was_empty
63 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
66 * insetgraphicsParams.[Ch]: store all float/double values as strings.
68 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
70 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
72 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
74 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
75 UNSET_ALL_LINES (from Jürgen)
77 2004-12-14 Angus Leeming <leeming@lyx.org>
79 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
80 to overcome bug in the MinGW port of g++ 3.4.2.
82 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
84 * insettabular.C (getCellXPos): make it return a relative x
85 position wrt. the begin of the tabular
86 (resetPos): a couple of fixes
87 (doDispatch): add a couple of resetPos calls
88 (drawSelection): fix drawing of selection in single-cell mode
89 (draw): replace 'do not draw' optimization by 'draw with
92 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
94 * insetbase.[Ch] (idxUpDown2): remove function
96 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
98 * insettabular.[Ch]: use size_t-like types for cell, row and column
101 2004-12-02 José Matos <jamatos@lyx.org>
103 * insetlatexaccent.C (checkContents): remove compatibility code,
106 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
108 * insetbase.h (getStatus): add better comment from src/cursor.C
110 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
112 * insettabular.[Ch]: adjust, introduce "do not draw
113 offscreen" optimization using NullPainter, (dist): introduce,
114 (getCursorPos): implement, (drawSelection): implement
116 * insetcollapsable.[Ch]: adjust
118 * insettext.C: adjust, (metrics): set the font before calling
121 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
123 * rename a lot of InsetOld to InsetBase
125 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
128 * insettext.C: par->pit renaming
130 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
132 * Most insets: rename priv_dispatch to doDispatch
134 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
136 * insettabular.C (tabularFeatures): fix multicolumn handling
138 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
140 * render_base.h (operator=): use common semantics
142 * insettext.C (operator=): delete this
143 (copy constructor): implement this properly
144 (init): use for_each and bind
146 (appendParagraphs): ditto
148 * insettabular.C: add more const. Adjust for changes in tabular.
150 * insetbase.h: Use NVI on clone. Add virtual doClone and update
151 all children, also make copy constructor protected. Added some
152 safe-guards to clone.
154 * insets: adjust to fit.
156 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
158 * insetoptarg.C (latexOptional): return number of lines instead of
161 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
163 * insettabular.[Ch] (string2params): Don't pretend to return the
164 active cell anymore and simplify keyword parsing.
166 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
168 * insetlatexaccent.h (isLetter): implement, so that word selection
169 takes accents into account.
171 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
173 * insetcollapsable.C (priv_dispatch): do not push the inset to the
176 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
178 * ExternalSupport.C, insetgraphics.C:
179 s/getFormatFromContents/formats.getFormatFromFile/
181 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
183 * insetcharstyle.[Ch]:
184 * insetert.[Ch]: implement getStatus
186 * insetcharstyle.C (draw): visual clue when the cursor is inside
189 2004-11-02 José Matos <jamatos@lyx.org>
191 * insetcharstyle.C (docbook):
192 * insetlabel.C (linuxdoc, docbook):
193 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
196 * insettabular.C (docbook): mixed content no longer belongs to
199 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
201 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
203 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
205 * ExternalSupport.C (updateExternal): convert files in the temp dir
207 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
209 * insetcharstyle.C: drawing cosmetics.
211 2004-10-30 José Matos <jamatos@lyx.org>
213 * insetcharstyle.C (docbook): a compromisse solution. Don't output
214 paragraph tags inside inline elements.
216 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
218 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
219 InsetText methods rather than outputVerbatim (escapes special
220 characters) [bug 1731]
221 * insetcharstyle.C (outputVerbatim): remove this function.
222 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
223 which caused an infinite loop.
225 2004-10-29 José Matos <jamatos@lyx.org>
227 * insetgraphics.C (uniqueID): transfered to sgml.C
229 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
231 * insetlabel.C (docbook, linuxdoc):
232 * insetref.C (docbook, linuxdoc): sanitize id.
234 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
236 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
237 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
238 * insetgraphics.C (findTargetFormat): reformat
240 2004-10-28 José Matos <jamatos@lyx.org>
242 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
244 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
246 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
248 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
250 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
251 "[,,,]" without warning message
253 2004-10-26 Angus Leeming <leeming@lyx.org>
255 * ExternalSupport.C (updateExternal):
256 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
257 external files to the temp directory.
259 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
261 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
262 layouts. This fixes problems with the memoir class (which does not
263 allow \footnote) [bug 1677]
265 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
267 * insetindex.C (docbook): escape the index, to generate correct sgml.
269 2004-10-23 José Matos <jamatos@lyx.org>
271 * insettext.C (docbook): rearrange arguments, due to change in the
274 2004-10-23 André Pönitz <poenitz@gmx.net>
276 * insettabular.C (cutSelection, tabularFereatures):
277 fix cursor position after cutting selection or table rows
279 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
281 * insetgraphics.C (docbook, writeImageObject): write more than one
282 format of imageobjects in <mediaobject>.
284 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
286 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
287 DocBook output for this inset ( <citation>content</citation> )
289 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
291 * insetgraphics.C (docbook) : using mediaobject for XML;
292 correcting bug with SGML output (now '>' instead of '/>')
294 2004-10-05 José Matos <jamatos@lyx.org>
296 * insetfloatlist.C (read):
297 * insetquotes.C (read):
298 * insetspace.C (read):
299 * insetspecialchar.C (read):
300 * insettabular.C (read): replace nextToken by more appropriate lex
303 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
305 * insetgraphics.C (createDocBookAttribute, docbook) :
306 convert scale, width, height and keepaspectratio to Docbook standards)
308 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
309 to Docbook units where possible.
311 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
313 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
315 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
316 as attributes with new method for docbook.
318 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
320 * render_preview.h: Use preferred calling of Boost.Signal
322 * pch.h: use proper signal include
324 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
326 * ExternalTransforms.h: User preferred calling of Boost.Function
328 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
330 * insetref.C (docbook): fixing problem where Docbook XML output
331 had unclosed <xref ... >
333 2004-08-16 José Matos <jamatos@lyx.org>
335 * insethfill.C (write):
336 * insetline.C (write):
337 * insetnewline.C (write):
338 * insetpagebreak.C (write): remove space at end of line.
340 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
342 * insettabular.C (plaintext): do not use ownerPar to get the
345 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
346 and it calls getParentLanguage (which calls ownerPar)
347 (edit): do not call sanitizeEmptyText
348 (priv_dispatch): remove code resetting font on empty inset, for
349 the same reasons as above.
351 * insettabular.C (isRightToLeft): instead of using
352 BufferView::getParentLanguage, use the data from the cursor
354 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
358 * Makefile.am: support pch
360 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
362 * insettabular.C (draw): whitespace
364 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
366 2004-08-14 André Pönitz <poenitz@gmx.net>
368 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
370 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
372 * insettabular.C (metrics): when the width of a cell is zero(),
373 let it use as much space as it can
375 * insettext.C (editXY): compilation fix
377 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
379 (metrics): the insets is not full width any more.
380 (draw): adjust; fix bad test for PREVIEW_OFF
381 (add_preview): fix bad test for PREVIEW_OFF
382 (display): do not return true when using \input
384 2004-08-14 José Matos <jamatos@lyx.org>
386 * insetbibitem.[Ch] (plaintext): added.
388 * insetcite.[Ch]: fix plaintext export.
390 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
392 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
395 * insetcaption.C (InsetCaption): modify call to setDrawFrame
396 * insetcollapsable.C (InsetCollapsable): ditto
397 * insetenv.C (InsetEnvironment): ditto
399 2004-08-14 André Pönitz <poenitz@gmx.net>
402 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
404 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
406 * insetoptarg.C (latexOptional): if the optional argument contains
407 a ']' enclose it in {curly brackets}
409 * insettext.C (editXY):
410 * insettabular.C (editXY):
411 * insetcollapsable.C (editXY):
412 * insetbase.C (editXY): constify
414 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
415 not ask for an update if we did nothing; on a mouse release, make
416 sure that the cursor is moved to the right position; on a mouse
417 release, exit from the inset instead of invoking a
420 * insetbase.C (dispatch): before invoking dispatch, set cursor
421 result to dispatch=update=true.
423 2004-08-13 José Matos <jamatos@lyx.org>
425 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
427 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
429 * insetfoot.C (latex): use OutputParams::intitle instead of
430 parOwner() (avoids time consuming lookup)
432 * insetquotes.C (latex): same as above with OutputParams::lang.
433 Moreover the code actually works now.
435 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
437 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
438 * insetinclude.C, insetgraphics.C, insetfloat.C:
439 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
440 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
441 "support/std_sstream.h" to <sstream>
443 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
445 * insetgraphics.C (prepareFile): remove conversion_needed flag.
446 It made the following fail for a .eps graphics file:
448 2) view->pdf (pdflatex)
449 because the .eps file was already in the temp dir when the pdflatex
450 export happened and therefore no .eps -> pdf conversion was done.
452 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
454 * insetgraphics.C, insettabular.C: s/wether/whether/g
456 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
458 * insetgraphics.C (stripExtension): new
459 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
461 * insetgraphics.C (prepareFile): Handle "nice" exports, too
462 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
464 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
466 * insetfloatlist.C (latex,getScreenLabel): translate according to
467 the document language (bug #1312)
469 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
471 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
472 with external_in_tmpdir and compute filename ourself
473 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
474 use it to store referenced file(s)
475 * ExternalSupport.C (writeExternal): write relative filename if
477 * ExternalTemplate.[Ch]: add ReferencedFile command
478 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
480 * insetgraphics.C (prepareFile): write relative filename if
482 * insetinclude.C (latex, docbook, linuxdoc): add file to
483 runparams.exportdata and write it to the temp dir instead of
484 writing it to the final destination
485 * insetinclude.C (docbook, linuxdoc): don't copy runparams
487 2004-05-19 Angus Leeming <leeming@lyx.org>
489 * insetcite.[Ch]: small change because namespace biblio is
490 now namespace lyx::biblio.
492 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
494 * insettabular.[Ch] (buffer): make Buffer * argument const
496 2004-05-17 Angus Leeming <leeming@lyx.org>
498 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
499 to force the button label to be re-generated.
501 2004-05-14 José Matos <jamatos@lyx.org>
503 * insetlabel (docbook): do not ouput label, for the moment.
505 2004-05-14 Angus Leeming <leeming@lyx.org>
507 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
508 new biblio::asValidLatexString function.
510 2004-05-12 Angus Leeming <leeming@lyx.org>
512 * insetcite.C: use BufferParams::cite_engine rather than the three
513 bools, use_natbib, use_jurabib, use_numerical_citations.
515 2004-05-10 Angus Leeming <leeming@lyx.org>
517 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
518 Ditto with getStyle, moved to biblio::getEngine.
520 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
522 * insetgraphics.C (validate): remove pre 233 file format stuff,
523 handle zipped files for "nice" export
525 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
527 * insetgraphics.C (prepareFile): copy zipped file and corresponding
528 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
529 * insetgraphics.C (prepareFile): unzip zipped file also if it has
530 changed since the last run
531 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
532 and copyFileIfNeeded.
534 2004-04-29 Angus Leeming <leeming@lyx.org>
536 * ExternalTemplate.[Ch]: remove redundant #includes.
538 2004-04-28 Angus Leeming <leeming@lyx.org>
541 s/updateToolbar()/updateToolbars()/
543 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
545 * insetgraphics.C: require file extension (file format change!)
546 * insetgraphics.C (latex): handle zipped files for "nice" export
548 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
550 * insetgraphics.C (latex): strip the extension and replace dots in
551 the filename if doing a "nice" export. This is a partial fix for
552 bug 1231 without reintroducing bug 655.
554 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
556 * insetoptarg.h: remove the editable() method (InsetCollapsable
557 does it better already)
559 * insetbibtex.C (normalize_name): new helper function. Changes the
560 name to be suitable to use in a latex file (relative to master
561 buffer if necessary).
562 (latex): use normalize_name.
564 2004-04-20 Angus Leeming <leeming@lyx.org>
566 * render_preview.C (startLoading): remove lyxerr statement.
568 (getPreviewLoader): new helper function.
570 2004-04-19 Angus Leeming <leeming@lyx.org>
574 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
576 2004-04-19 Angus Leeming <leeming@lyx.org>
578 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
580 (add_preview): renamed as add_preview_and_start_loading. Invoke
581 RenderPreview::startLoading.
583 * insetinclude.C (metrics, draw): changes due to the changed
584 RenderPreview interface.
586 * render_preview.C: remove cached pimage_.
587 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
588 (draw): don't call startLoading. That's up to the user of
591 2004-04-16 Angus Leeming <leeming@lyx.org>
593 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
595 2004-04-13 Angus Leeming <leeming@lyx.org>
597 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
598 the renderer to inform LyX::updateInset that the inset's status
599 has changed and it should be redrawn.
601 * render_button.[Ch] (clone):
602 * render_graphic.[Ch] (c-tors, clone):
603 * render_preview.[Ch] (c-tors, clone): ditto.
605 * render_graphic.[Ch] (connect):
606 * render_preview.[Ch] (connect): removed, as connection is now
607 made in the constructors.
611 * insetinclude.C: ensuing simplification of the client code.
612 (statusChanged): now superfluous. Removed.
614 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
616 * ExternalTemplate.[Ch]: remove editCommand
617 * ExternalSupport.C (editExternal): use formats.edit() instead of
618 the removed editCommand template parameter
619 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
620 * insetgraphics.[Ch] (editGraphics): new method
622 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
624 * insetinclude.C (validate): set/reset features.buffer_ when
627 2004-04-07 Angus Leeming <leeming@lyx.org>
629 * insetexternal.C (priv_dispatch):
630 * insetinclude.C (priv_dispatch): prevent crash by invoking
631 InsetOld::priv_dispatch at the end of the switch, rather than
632 InsetOld::dispatch...
634 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
636 * insetcollapsable.C:
637 * insetbranch.C: 'assign' to open/close branch inset according to
638 selection; also print content on closed branch button
640 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
642 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
643 $$RelPath_Master, $$RelPath_Parent, $$Extension,
644 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
646 * ExternalSupport.C (updateExternal): use absolute and output
647 filename where appropriate
649 2004-04-05 André Pönitz <poenitz@gmx.net>
651 * insetbase.h: use LCursor & in notifyCursorLeave
653 2004-04-05 Angus Leeming <leeming@lyx.org>
655 * insetgraphics.C: remove unused header file "lyxrc.h".
657 * render_graphic.C: squash bug 1372: Misleading graphics label when
658 deactivating lyx view.
660 2004-04-05 Angus Leeming <leeming@lyx.org>
665 * insetlatexaccent.C:
670 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
672 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
674 * insetfloat.C (read): fix yesterday's float fix.
675 * insetwrap.C (read): apply the fixed float fix.
677 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
679 * insetfloat.C (read): fix reading of float params
682 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
684 * insettext.C (edit): comment the call to updateLocal (dangling now)
685 * insettext.h: add allowSpellCheck() returning true
687 2004-03-31 Angus Leeming <leeming@lyx.org>
689 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
691 2004-03-31 Angus Leeming <leeming@lyx.org>
693 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
694 the cursor out of an inset.
696 * insetbranch.C (priv_dispatch):
697 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
698 use getOutOfInset to push the cursor out of the inset when
701 2004-03-30 Angus Leeming <leeming@lyx.org>
703 * insetbase.[Ch] (translate): new static member function, returns
704 an InsetBase::Code corresponding to the input string.
706 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
708 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
709 so that it opens the inset if it refers to the currently active
712 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
714 * insetfloat.C (addToToc): use par_const_iterator_begin and
715 par_const_iterator_end.
717 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
719 * insetbibtex.[Ch]: bibtopic support.
721 * insetfloat.[Ch]: add param \sideways {true|false}
722 (support for sideways floats from rotating.sty).
724 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
726 * insettext.[Ch]: add a default ctor. implement const version of
732 * insetwrap.C: adjust
734 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
736 * insettext.h: add insetAllowed returning true by default (fixing
737 vanishing insets problem)
739 * insettext.C (draw): handle the responsability of adding the
740 ouside offset to collapsable. Clean code a bit.
742 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
743 from insettext correctly, solve a couple of off-by-one drawing
746 2004-03-25 Angus Leeming <leeming@lyx.org>
748 * insetcaption.C (draw): squash warning about unused variable.
750 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
752 * ExternalSupport.C: use the master buffer's temp dir
753 * insetgraphics.C (latex): make relative filename relative to the
755 * insetgraphics.C: use the master buffer's temp dir
756 * insetinclude.C (masterFilename): new function
757 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
758 is always true if loadIfNeeded() returns true)
760 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
762 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
763 set its parent to the current buffer.
764 (latex): use the tmppath of the master buffer, not just the parent
765 buffer (makes a difference with more than one level of include
766 insets). If the file name is relative write in the .tex file a
767 name relative to the master buffer directory.
769 * insetinclude.C: rename masterFilename to parentFilename (this
770 points to the direct parent)
772 2004-03-25 André Pönitz <poenitz@gmx.net>
774 * inset.[Ch]: remover owner
776 * insetcollapsable.[Ch]: derive from InsetText instead having such a
784 * insetcharstyle.[Ch]:
792 * insetwrap.C: adjust
794 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
796 * insetquote.C: use opening quote after '[' char.
798 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
800 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
803 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
805 * insetcite.[Ch]: support jurabib.
807 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
809 * insetcite.C: Support second \cite option.
812 * insetcommandparams.[Ch]: add second optional argument.
814 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
816 * insetcollapsable.C (lfunMouseRelease): right mouse button only
817 shows the inset dialog.
819 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
821 * insetlabel.[Ch]: remove them
822 * Makefile.am: adjust
824 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
826 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
828 * insetinclude.C (latex): show a GUI warning if textclasses don't
830 * insetinclude.C: use mangledFilename() for temp files
831 * insetgraphics.C (readInsetGraphics): remove version check, since
832 the graphics inset has no own fileformat number anymore
834 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
836 * insetquotes.[Ch]: added new member that allows direct access
837 to single/double quotation marks.
839 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
841 2004-02-16 André Pönitz <poenitz@gmx.net>
844 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
845 implicitly assume 'DispatchResult(true, true) with exception of
846 InsetBase::priv_dispatch which does the equivalent of
847 'retrun DispatchResult(false)'
849 * inset*.[Ch] (priv_dispatch): adjust
851 * insettabular.[Ch]: remove remains of the 'update' mechanism,
852 simplify cursor moving function,
853 re-enable horizontal scrolling for large tables
855 2004-02-13 André Pönitz <poenitz@gmx.net>
857 * insettabular.[Ch]: some work after IU
859 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
861 * inset.C (setPosCache): switch to absolute coords in insets
862 * insettext.[Ch] (draw, drawFrame): adjust
863 * insetcollapsable.C (draw): adjust
866 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
868 * insettext.C (edit):
869 (updateLocal): use the cur argument instead of the global cursor
870 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
872 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
874 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
876 * insetfloat.C (validate): "H" -> 'H' in call to contains
878 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
880 2004-01-30 André Pönitz <poenitz@gmx.net>
884 * insetcollapsable.[Ch]:
887 * insetgraphics.[Ch]:
892 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
895 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
897 * insettabular.C: add using statement for std::vector, remove
898 std:: where using was already used.
900 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
902 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
904 * insetinclude.C (validate): use feautures.nice() instead of
907 2004-01-20 André Pönitz <poenitz@gmx.net>
910 * insetbase.[Ch]: move stuff from mathcursor here.
916 * insetcharstyle.[Ch]:
917 * insetcollapsable.[Ch]:
920 * insetexternal.[Ch]:
922 * insetgraphics.[Ch]:
931 * updatableinset.[Ch]: Adjust to IU changes (see comment in
934 2004-01-15 André Pönitz <poenitz@gmx.net>
941 * insetcharstyle.[Ch]:
942 * insetcollapsable.[Ch]:
945 * insetexternal.[Ch]:
947 * insetgraphics.[Ch]:
956 * updatableinset.[Ch] (priv_dispatch et al): change signature.
958 2004-01-08 André Pönitz <poenitz@gmx.net>
960 * insetcollapsable.[Ch]:
963 * updatableinset.h: use cell index info from global cursor.
965 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
967 * insetnote.C (InsetNoteParams::write): write label only once
969 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
971 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
973 get rid of the SameName functor
975 * insettabular.C: improve the functor.
977 2003-12-29 Angus Leeming <leeming@lyx.org>
979 * insetexternal.C (setParams): update defaultTemplateName.
981 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
983 * insetbox.C: Use term "Box" in button label
985 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
987 * insetcharstyle.C: get getDrawFont working again
989 2003-12-15 André Pönitz <poenitz@gmx.net>
992 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
994 2003-12-12 Angus Leeming <leeming@lyx.org>
996 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
998 (InsetBranchParams): remove the branchlist hack.
999 (isBranchSelected): new function, used to decide whether to
1000 print each output format. Also used by InsetList.
1001 (read, string2params): repair my own breakage ;-)
1003 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1005 * insetminipage.[Ch]: remove from repository.
1007 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1010 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1011 insetert to insetcollapsable; introduce virtual function
1012 setButtonLabel and invoke it from collapsable
1014 2003-12-12 Angus Leeming <leeming@lyx.org>
1016 * insetinclude.C (draw): cache x,y and so enable the
1017 dialog to be opened.
1019 2003-12-12 Angus Leeming <leeming@lyx.org>
1021 * mailinset.C (print_mailer_error): tidy up the output.
1023 2003-12-11 Angus Leeming <leeming@lyx.org>
1025 * mailinset.[Ch] (print_mailer_error): new helper function.
1027 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1028 calling InsetCommandMailer.
1029 (InsetCommandMailer::string2params): pass the name of the dialog.
1031 * insetbibitem.[Ch] (d-tor):
1032 * insetbibtex.[Ch] (d-tor):
1033 * insetcite.[Ch] (d-tor):
1034 * insetfloatlist.[Ch] (d-tor):
1035 * insetindex.[Ch] (d-tor):
1036 * insetlabel.[Ch] (d-tor):
1037 * insetref.[Ch] (d-tor):
1038 * insettoc.[Ch] (d-tor):
1039 * inseturl.[Ch] (d-tor): removed.
1040 Hiding the dialog is handled by InsetCommand.
1042 * insetbibtex.[Ch] (draw, metrics):
1043 * insetfloatlist.[Ch] (draw, metrics):
1044 * insetindex.[Ch] (draw, metrics): removed.
1045 Drawing is handled by InsetCommand.
1047 * insetbibitem.[Ch] (priv_dispatch):
1048 * insetbibtex.[Ch] (priv_dispatch):
1049 * insetcite.[Ch] (priv_dispatch):
1050 * insetfloatlist.[Ch] (priv_dispatch):
1051 * insetindex.[Ch] (priv_dispatch):
1052 * insetlabel.[Ch] (priv_dispatch):
1053 * insettoc.[Ch] (priv_dispatch):
1054 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1055 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1056 LFUN_INSET_DIALOG_SHOW.
1058 * insetbox.C (string2params):
1059 * insetbranch.C (string2params):
1060 * insetert.C (string2params):
1061 * insetexternal.C (string2params):
1062 * insetfloat.C (string2params):
1063 * insetinclude.C (string2params):
1064 * insetminipage.C (string2params):
1065 * insetnote.C (string2params):
1066 * insetvspace.C (string2params):
1067 * insetwrap.C (string2params): over-hauled.
1069 2003-12-10 Angus Leeming <leeming@lyx.org>
1071 * insetexternal.[Ch]: add a draft option and respect it when
1074 2003-12-10 Angus Leeming <leeming@lyx.org>
1076 * insetbox.C: (read, write): now prepend the inset contents with
1077 'Box' to identify the inset as a box inset.
1079 * insetbox.h: move the translators out of sight.
1081 2003-12-10 Angus Leeming <leeming@lyx.org>
1083 * insetert.C (string2params): clean-up using the new lyxlex interface.
1085 * insetexternal.C: ensure that InsetExternalParams has a default
1086 template, 'RasterImage'.
1088 2003-12-10 Angus Leeming <leeming@lyx.org>
1090 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1091 to an enum. Ensuing clean-ups through out the class.
1092 (read, write): now prepend the inset contents with 'Note' to identify
1093 the inset as a note inset.
1095 2003-12-10 Angus Leeming <leeming@lyx.org>
1097 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1098 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1100 2003-12-10 André Pönitz <poenitz@gmx.net>
1104 * insettabular.[Ch]:
1105 * insettext.[Ch]: remove unused insetInset()
1107 * insetert.C: disable some LFUNs
1109 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1111 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1113 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1115 2003-12-04 Angus Leeming <leeming@lyx.org>
1117 * insetexternal.C (draw): update the xo_, yo_ cache.
1119 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1121 (RotationDataType): new helper struct wrapping the
1122 RotationData::OriginType enum.
1124 2003-12-03 André Pönitz <poenitz@gmx.net>
1126 * inset.h: remove getParagraphs()
1128 * insetcollapsable.[Ch]:
1131 * insettabular.[Ch]:
1132 * insettext.C: use getText() instead of getParagraphs()
1134 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1136 * insetert.C: fix label text updating bug
1138 2003-12-02 Angus Leeming <leeming@lyx.org>
1140 * insetvspace.[Ch] (space): new member function. Make space_ private.
1141 (read): use the new, simpler lyxlex syntax.
1143 2003-12-01 André Pönitz <poenitz@gmx.net>
1145 * insetcollapsable.[Ch]:
1146 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1148 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1150 * insetvspace.C (read): handle 'end_inset' token.
1152 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1154 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1156 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1158 * insetcollapsable.[Ch]:
1160 * insetcharstyle.C: place inset content on the button when
1163 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1165 * insetvspace.C: remove VSpace::NONE; increase inset width
1167 2003-12-01 André Pönitz <poenitz@gmx.net>
1169 * insetbase.h: whitespace
1171 * inset.[Ch]: remove latexTextWidth
1172 make setBackgroundColor virtual
1174 * insettext.[Ch]: move ParagraphList member to LyXText
1176 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1182 * insetminipage.[Ch]:
1184 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1186 2003-11-28 Angus Leeming <leeming@lyx.org>
1188 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1189 hiding and showing the dialog respectively.
1190 (priv_dispatch): also actually update the inset contents.
1192 2003-11-28 Angus Leeming <leeming@lyx.org>
1194 * insetbox.C (d-tor):
1195 * insetbranch.C (d-tor):
1196 * insetcite.C (d-tor):
1197 * insetfloat.C (d-tor):
1198 * insetfloatlist.C (d-tor):
1199 * insetinclude.C (d-tor):
1200 * insetindex.C (d-tor):
1201 simplify the invocation of the Mailer::hideDialog() function.
1203 * insetminipage.C (showInsetDialog):
1204 simplify the invocation of the Mailer::showialog() function.
1206 2003-11-28 André Pönitz <poenitz@gmx.net>
1209 * insetvspace.[Ch]: new insets
1211 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1213 * insetcharstyle.C: Syntax change for CharStyles
1215 2003-11-28 André Pönitz <poenitz@gmx.net>
1217 * updatableinset.h: remove insetInInsetY
1219 * insetcollapsable.[Ch]:
1221 * insettabular.[Ch]:
1222 * insettext.[Ch]: adjust
1224 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1228 * insetcollapsable.[Ch]:
1230 * insettabular.[Ch]: remove setFont
1232 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1234 * render_graphic.[Ch]: adjust comments
1236 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1238 * insetgraphics.C (draw): cache xo_ & yo_
1240 2003-11-24 André Pönitz <poenitz@gmx.net>
1242 * insettext.C (setViewCache): don't call LyXText::init() anymore
1244 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1247 * insetcollapsable.[Ch]:
1248 * insetert.[Ch]: remove bufferview parameter in methods
1249 open, close, status, and updateStatus.
1251 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1253 * insetcollapsable.[Ch]:
1254 * insettabular.[Ch]:
1255 * insettext.[Ch] (getCursorDim): squash unused variable
1257 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1259 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1261 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1263 * insettext.C (draw): sets LyXText absolute coordinates
1265 2003-11-20 Angus Leeming <leeming@lyx.org>
1267 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1268 warnings about unused parameters.
1270 * insetcollapsable.C (open):
1271 * insettabular.C (pasteSelection):
1272 * insettoc.C (draw): ditto.
1274 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1276 * insetcollapsable.C:
1278 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1279 remove mouse_x mouse_y etc.
1281 2003-11-17 André Pönitz <poenitz@gmx.net>
1283 * insettext.[Ch] (cx, cy): remove
1285 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1287 2003-11-13 André Pönitz <poenitz@gmx.net>
1290 * insetcollapsable.[Ch]:
1291 * insettabular.[Ch]:
1292 * insettext.[Ch] (deleteLyXText): remove
1294 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1296 * insetcollapsable.[Ch] (fitInsetCursor): remove
1297 * insettabular.[Ch] (fitInsetCursor): remove
1298 * insettext.[Ch] (fitInsetCursor): remove
1299 * updatableinset.[Ch] (fitInsetCursor): remove
1300 (getCursorDIm): add virtual
1302 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1304 * src/insets/Makefile.am:
1305 * src/insets/inset.h:
1306 * src/insets/insetcharstyle.C:
1307 * src/insets/insetcharstyle.h: The Character Style /XML short
1310 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1312 * insettext.C: remove all update calls
1313 * insetcollapsable.C: remove all update calls
1315 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1317 * insettext.C (updateLocal, insertInset, setFont): remove
1320 2003-11-10 André Pönitz <poenitz@gmx.net>
1322 * inset.h: remove Inset::id_
1324 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1329 2003-11-10 André Pönitz <poenitz@gmx.net>
1333 * insetcollapsable.[Ch]:
1337 * insettabular.[Ch]:
1340 * updatableinset.[Ch]: remove inset locking & adjust
1342 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1344 * inset.h (allowSpellCheck): add (return true)
1345 * insetert.h (allowSpellCheck): add (return false)
1347 2003-11-05 José Matos <jamatos@lyx.org>
1353 * insetcaption.[Ch]:
1355 * insetcollapsable.[Ch]:
1356 * insetcommand.[Ch]:
1359 * insetexternal.[Ch]:
1361 * insetfloatlist.[Ch]:
1363 * insetgraphics.[Ch]:
1365 * insetinclude.[Ch]:
1368 * insetlatexaccent.[Ch]:
1371 * insetmarginal.[Ch]:
1372 * insetminipage.[Ch]:
1373 * insetnewline.[Ch]:
1376 * insetpagebreak.[Ch]:
1380 * insetspecialchar.[Ch]:
1381 * insettabular.[Ch]:
1383 * insettheorem.[Ch]:
1386 * insetwrap.[Ch]: rename ascii to plaintext
1387 and LatexRunParams to OutputParams.
1389 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1391 * insetcollapsable.C (edit): add open() all
1392 * insettext.C (edit): add setViewCache call
1394 2003-11-04 André Pönitz <poenitz@gmx.net>
1396 * inset.h (edit): move locking code from dispatch() to edit()
1402 * insetcollapsable.[Ch]:
1405 * insetexternal.[Ch]:
1406 * insetgraphics.[Ch]:
1411 * insettabular.[Ch]:
1412 * insettext.[Ch]: adjust
1414 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1417 * insetcollapsable.[Ch]:
1419 * insettabular.[Ch]:
1421 * updatableinset.[Ch]: remove dead search code
1423 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1426 * insetcollapsable.[Ch]:
1428 * insettabular.[Ch]:
1430 * updatableinset.[Ch]: remove dead spellcheck code
1432 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1434 * insettabular.C (lockInsetInInset): small fix
1436 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1438 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1439 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1440 from here. Be stricter on DispatchResult returned.
1442 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1444 * Inset::dispatch's: adjust for new DispatchResult semantics.
1446 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1448 * render_base.h: make clone return an auto_ptr
1449 * render_button.C (clone): adjust
1450 * render_graphic.C (clone): adjust
1451 * render_preview.C (clone): adjust
1453 * insettheorem.C (clone): return an auto_ptr
1455 * insettext.C (priv_dispatch): exception safety
1457 * insettabular.C: store the file scope variable paste_tabular in a
1458 scoped_ptr, adjust usage.
1460 * insetexternal.C (setParams): exception safety
1462 * insetbibitem.C (clone): exception safety
1464 2003-11-03 André Pönitz <poenitz@gmx.net>
1467 * insetcollapsable.[Ch]:
1468 * insettabular.[Ch]:
1469 * insettext.[Ch]: remove Inset::id and related functions
1471 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1473 * insets: adjust for DispatchResult changes.
1475 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1477 * insetpagebreak.C: fix screen representation & ascii output.
1479 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1483 * insettabular.[Ch]:
1484 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1486 2003-10-31 José Matos <jamatos@lyx.org>
1488 * inset.h (ascii, linuxdoc, docbook):
1489 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1490 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1491 * insetcaption.[Ch] (ascii, docbook):
1492 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1493 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1494 * insetert.[Ch] (ascii, linuxdoc, docbook):
1495 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1496 * insetfloat.[Ch] (linuxdoc, docbook):
1497 * insetfloatlist.[Ch] (ascii):
1498 * insetfoot.[Ch] (docbook):
1499 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1500 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1501 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1502 * insetindex.[Ch] (docbook):
1503 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1504 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1505 * insetline.[Ch] (ascii, linuxdoc, docbook):
1506 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1507 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1508 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1509 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1510 * insetref.[Ch] (ascii, linuxdoc, docbook):
1511 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1512 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1513 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1514 * insettext.[Ch] (ascii, linuxdoc, docbook):
1515 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1516 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1517 * insetwrap.[Ch] (docbook):
1518 add LatexRunParams argument.
1520 2003-10-30 José Matos <jamatos@lyx.org>
1522 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1524 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1526 * updatableinset.C (priv_dispatch):
1527 * insetwrap.C (priv_dispatch):
1528 * inseturl.C (priv_dispatch):
1529 * insettoc.C (priv_dispatch):
1530 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1531 (moveLeftIntern, moveUp, moveDown):
1532 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1533 (moveLeft, moveUp, moveDown):
1534 * insetref.C (priv_dispatch):
1535 * insetnote.C (priv_dispatch):
1536 * insetminipage.C (priv_dispatch):
1537 * insetlabel.C (priv_dispatch):
1538 * insetindex.C (priv_dispatch):
1539 * insetinclude.C (priv_dispatch):
1540 * insetgraphics.C (priv_dispatch):
1541 * insetfloatlist.C (priv_dispatch):
1542 * insetfloat.C (priv_dispatch):
1543 * insetexternal.C (priv_dispatch):
1544 * insetert.C (priv_dispatch):
1545 * insetcommand.C (priv_dispatch):
1546 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1547 * insetcite.C (priv_dispatch):
1548 * insetbranch.C (priv_dispatch):
1549 * insetbox.C (priv_dispatch):
1550 * insetbibtex.C (priv_dispatch):
1551 * insetbibitem.C (priv_dispatch):
1552 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1554 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1556 * insettext.C: small refactoring of docbook stuff
1558 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1560 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1561 (priv_dispatch): adjust for operator dispatch_result_t removal
1563 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1564 in a DispatchResult, adjust accordingly.
1565 (priv_dispatch): use strange >= construct... (will be removed later)
1567 * most insets: dispatch_result -> DispatchResult
1569 * insetbase.h: move DispatchResult out to dispatchresult.h
1571 2003-10-27 André Pönitz <poenitz@gmx.net>
1573 * insetpagebreak.[Ch]: new inset for page breaks
1575 * insetline.[Ch]: new inset for vertical lines
1580 2003-10-25 Angus Leeming <leeming@lyx.org>
1582 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1583 new virtual member functions, specialised...
1584 * render_button.h (asButton):
1585 * render_graphic.h (asGraphic):
1586 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1588 * insetexternal.C: use these new functions rather than dynamic_cast.
1589 Various other small simplifications.
1591 2003-10-22 Angus Leeming <leeming@lyx.org>
1593 * insetexternal.[Ch]: add the ability to 'preview' the external file
1596 * insetinclude.C: changes due to the changes in the RenderPreview
1599 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1600 message if the preview image is not available. Only initiate the
1601 loading of the preview from draw(). Ditto, start the monitoring
1602 of an external file from RenderMonitoredPreview::draw.
1604 2003-10-22 Angus Leeming <leeming@lyx.org>
1606 * insetcite.[Ch] (setLoadingBuffer): removed.
1607 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1608 ascertain whether to proceed with the (expensive) task of computing
1609 the natbib-style label. Remove the home-grown hack providing
1610 similar functionality.
1612 2003-10-22 Angus Leeming <leeming@lyx.org>
1614 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1615 class and into an anonymous namespace.
1617 2003-10-22 Angus Leeming <leeming@lyx.org>
1619 * insetcommand.h: remove the display method.
1623 * insetindex.h (InsetPrintIndex):
1624 * insettoc.h: add a display method, returning true.
1626 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1628 * insetcollapsable.h:
1632 * insetinclude.h: (1) finish off the inset display() work;
1633 (2) fix the "is a bit silly" bug (accessing char
1636 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1640 * insetfootlike.h: re-introduce display() for insets,
1641 fixing the various bugs (stretch of line above, math inset
1644 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1646 * insetbase.C (dispatch): new func
1647 (priv_dispatch): new func replaces...
1648 (localDispatch): this, deleted.
1650 * all insets with dispatch modified for new code.
1652 2003-10-15 André Pönitz <poenitz@gmx.net>
1654 * insetcollapsable.[Ch]
1656 * inset.h: re-add some edit(bv, index) method called by undo
1658 2003-10-14 Angus Leeming <leeming@lyx.org>
1660 * insetexternal.[Ch] (view, cache, view_):
1661 * insetgraphics.[Ch] (view, cache, view_):
1662 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1663 (statusChanged): call LyX::cref().updateInset.
1665 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1666 the BufferView cache.
1668 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1671 2003-10-14 Angus Leeming <leeming@lyx.org>
1673 * insetinclude.C (metrics, draw): only draw the preview when previews
1676 2003-10-14 André Pönitz <poenitz@gmx.net>
1678 * insetcollapsable.[Ch]:
1679 * insettabular.[Ch]:
1681 * inset.h: getText() as alternative to getParagraphs()
1683 2003-10-13 Angus Leeming <leeming@lyx.org>
1686 * insetgraphicsParams.C: displayTranslator is now a function.
1688 2003-10-13 Angus Leeming <leeming@lyx.org>
1690 * insetinclude.C: remove #include "PreviewImage.h".
1692 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1694 * ExternalSupport.C:
1695 * ExternalTransforms.C:
1697 * insetbox.h: ws changes only
1699 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1701 * insetinclude.C (localDispatch): do not call
1702 InsetOld::localDispatch, just return UNDISPATCHED
1703 * insetgraphics.C (localDispatch): ditto
1704 * insetcommand.C (localDispatch): ditto
1706 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1708 * inset.h: get rid of RESULT typedef for dispatch_result
1710 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1711 * insetert.[Ch] (localDispatch): ditto
1712 * insettabular.[Ch] (localDispatch): ditto
1717 * insettext.[Ch] (localDispatch): ditto
1720 (moveRightIntern): ditto
1721 (moveLeftIntern): ditto
1724 * updatableinset.[Ch] (localDispatch): ditto
1726 2003-10-12 Angus Leeming <leeming@lyx.org>
1728 * renderbase.h (view, view_): removed.
1729 * renderbase.C: removed.
1730 * Makefile.am: remove render_base.C. The shortest lived file in
1733 * renderbutton.C (draw):
1734 * render_graphic.C (draw): don't cache the BufferView.
1736 * insetabase.h (cache, view): removed.
1738 * inset.h (generatePreview) removed.
1740 * insetcallapsable.[Ch] (cache, view, view_): removed.
1742 * insetcollapsable.C (draw): don't cache the BufferView.
1744 * insetcommand.[Ch] (view): removed.
1746 * insetexternal.[Ch] (cache, view, view_):
1747 * insetgraphics.[Ch] (cache, view, view_):
1748 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1750 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1751 when you have direct access to it. In fact, don't use the cache at all.
1753 2003-10-10 Angus Leeming <leeming@lyx.org>
1755 * insetinclude.C (metrics): use preview_->metrics.
1756 (draw): use preview_->draw.
1758 * render_preview.[Ch] (pimage): removed.
1760 2003-10-10 Angus Leeming <leeming@lyx.org>
1762 * renderers.[Ch]: removed.
1765 * render_button.[Ch]:
1766 * render_graphic.[Ch]:
1767 * render_preview.[Ch]: new files. The first three are split out of
1768 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1769 contains a re-worked InsetInclude::PreviewImpl also.
1771 * Makefile.am: reflect the changed files.
1774 * insetexternal.[Ch]:
1775 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1777 * insetinclude.[Ch]: changes reflecting the change from
1778 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1784 * inseturl.C: add #include "support/std_ostream.h"
1786 2003-10-09 Angus Leeming <leeming@lyx.org>
1788 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1789 to PreviewedInset::previewReady.
1791 2003-10-09 Angus Leeming <leeming@lyx.org>
1793 * insetexternal.[Ch] (statusChanged):
1794 * insetgraphics.[Ch] (statusChanged): make a const member function.
1796 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1799 2003-10-09 Angus Leeming <leeming@lyx.org>
1801 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1802 to PreviewedInset's previewReady and removePreview member functions.
1804 2003-10-08 André Pönitz <poenitz@gmx.net>
1806 * insetcollapsable.C:
1807 * insettext.[Ch]: saner 'init' structure
1809 * updatableinset.[Ch]: remove unneeded code
1811 2003-10-08 Angus Leeming <leeming@lyx.org>
1813 Fix doxygen warnings.
1815 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1816 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1818 2003-10-07 Angus Leeming <leeming@lyx.org>
1820 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1821 be applied to InsetExternal.
1823 * Makefile.am: add these new files.
1825 * ExternalTemplate.[Ch]: add a list of available transforms to
1826 class Template and a list of factory functions for transformer classes
1827 that can act on this data to class Format.
1829 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1831 * ExternalSupport.C: Add code to replace transform placeholders
1832 with appropriate output.
1834 2003-10-07 Angus Leeming <leeming@lyx.org>
1836 * ExternalSupport.[Ch]: new files, moving the private member functions
1837 and namespace anon functions out of insetexternal.C to here, so making
1838 it easier to understand what is going on in insetexternal itself.
1840 * Makefile.am: add new files.
1842 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1843 allowing the class to be forward declared. (Also consistent with
1844 all other Params classes.)
1845 (write): moved out of the class. Move this function and those in
1846 namespace anon to ExternalSupport.[Ch].
1848 2003-10-07 Angus Leeming <leeming@lyx.org>
1850 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1851 non-const member function.
1853 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1858 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1860 2003-10-02 André Pönitz <poenitz@gmx.net>
1862 * insettext.C (read): make sure there is at least one par
1863 in the text after reading.
1865 2003-10-01 José Matos <jamatos@lyx.org>
1867 * insetbranch.C (linuxdoc, docbook): minor fix.
1869 2003-10-01 Angus Leeming <leeming@lyx.org>
1871 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1873 * insetexternal.[Ch]: changes due to the introduction of
1874 namespace lyx::external.
1876 2003-09-30 Angus Leeming <leeming@lyx.org>
1878 * insetexternal.[Ch] (Params::read, write): new member functions.
1880 2003-09-25 Angus Leeming <leeming@lyx.org>
1882 * insetexternal.[Ch] (TempName): new (private) nested struct with
1883 fake copy semantics. Enables us to use the generated copy c-tor
1884 in the Params struct.
1885 (Params::templatename, Params::tempname): use accessor functions.
1887 2003-09-25 Angus Leeming <leeming@lyx.org>
1889 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1890 function, returning a const pointer.
1892 2003-09-23 Angus Leeming <leeming@lyx.org>
1894 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1895 store them in a vector, preambleNames.
1897 * insetexternal.C (validate): loop over all preambleNames and call
1898 LaTeXFeatures::addExternalPreamble with each.
1900 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1902 * insetbranch.C: bug fix in branches
1904 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1906 * insetnote.C: small clean-up.
1908 2003-09-19 Angus Leeming <leeming@lyx.org>
1910 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1912 * insetcommand.C (string2params): clear params using the default c-tor.
1914 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1915 InsetInclude::Params. No more data in this struct than in
1916 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1917 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1918 (clone): remove #warning as it's now redundant.
1919 (set): add a 'Buffer const &' arg. Make private.
1920 (loadIfNeeded) move out of the class definition and into namespace anon.
1921 (getMasterFilename, getFileName): ditto.
1923 2003-09-18 Angus Leeming <leeming@lyx.org>
1925 * insetcommand.C (setParams): use the params' copy constructor.
1927 2003-09-18 Angus Leeming <leeming@lyx.org>
1929 * insetinsetbase.h (getLabelList):
1930 * insetinsetcollapsable.[Ch] (getLabelList):
1931 * insetinsetinclude.[Ch] (getLabelList):
1932 * insetinsetlabel.[Ch] (getLabelList):
1933 * insetinsettabular.[Ch] (getLabelList):
1934 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1935 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1937 2003-09-18 Angus Leeming <leeming@lyx.org>
1939 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1940 redundant baggage from yesteryear.
1941 Remove Params::flag as it is redundant; the info is present in
1944 2003-09-18 Angus Leeming <leeming@lyx.org>
1946 * insetinclude.C (latexString): add a Buffer const & arg.
1948 2003-09-18 Angus Leeming <leeming@lyx.org>
1953 * insettext.h: rename EnumLColor as LColor_color.
1955 2003-09-18 Angus Leeming <leeming@lyx.org>
1957 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1958 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1960 2003-09-16 Angus Leeming <leeming@lyx.org>
1962 * insetinclude.C (localDispatch): ensure that
1963 params_.masterFilename_ is set before trying to generate a
1964 preview, else we trigger an assert.
1966 2003-09-16 Angus Leeming <leeming@lyx.org>
1968 * insetinclude.C (PreviewImpl::parent): return a const reference.
1970 2003-09-16 Angus Leeming <leeming@lyx.org>
1972 * insetcollapsable.[Ch]: make all member variables, except for
1975 * insetert.C (init): use InsetCollapsable::setLabelFont rather
1976 than access labelfont directly.
1977 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
1978 use InsetCollapsable::setCollapsed, isOpen rather than access
1979 collapsed_ directly.
1981 * insetminipage.C (metrics):
1982 * insetnote.C (metrics):
1983 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1984 access collapsed_ directly.
1986 2003-09-16 Angus Leeming <leeming@lyx.org>
1988 * insetbibitem.C: add #include "lyxfont.h".
1990 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1993 * insetbibtex.C: use namespace alias for lyx::support::os
1995 2003-09-16 Angus Leeming <leeming@lyx.org>
1997 * insetcollapsable.h: remove unused framecolor variable.
1998 Remove #include "LColor.h".
2000 * insetcollapsable.C: remove unused framecolor variable.
2003 * insetcollapsable.C:
2011 Add #include "LColor.h".
2013 2003-09-16 Angus Leeming <leeming@lyx.org>
2015 * insettext.[Ch] (frameColor): new accessor function.
2016 (frame_color_): stored as an int, allows us to remove #include
2017 "LColor.h" from insettext.h
2022 add #include "LColor.h".
2024 * insetcollapsable.h: add #include "LColor.h"
2025 (for its framecolor member variable).
2027 2003-09-16 Angus Leeming <leeming@lyx.org>
2029 * insetenv.C (constructor): use accessor functions to access
2030 InsetText variables.
2032 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2033 rename frame_color as frame_color_. Make private.
2035 * insettext.C: associated changes.
2037 2003-09-16 Angus Leeming <leeming@lyx.org>
2039 * inset.h: store background_color_ as an int, not as an
2040 LColor::color to get LColor.h out of the header file.
2043 * insetlatexaccent.C:
2046 * insetspecialchar.C:
2048 add #include "LColor.h".
2050 2003-09-16 Angus Leeming <leeming@lyx.org>
2052 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2053 cannot string calls together.
2055 2003-09-15 Angus Leeming <leeming@lyx.org>
2057 * inset.[Ch] (setBackgroundColor, backgroundColor):
2058 * insettext.[Ch] (setFrameColor):
2059 pass EnumLColor args, rather than LColor::color ones.
2061 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2071 * insetwrap.C: remove usage of STRCONV
2073 2003-09-15 Angus Leeming <leeming@lyx.org>
2075 * renderers.C (draw):
2076 * insetlatexaccent.C (draw): explicitly define the color passed to
2079 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2081 * insettext.C: remove block causing problems in lockInsetInInset
2082 (mentioned erroneously under Bug #1366)
2084 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2086 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2089 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2091 * several files: change Assert to BOOST_ASSERT
2093 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2095 * insettext.[Ch]: remove drawText[XY]Offset
2097 2003-09-08 Angus Leeming <leeming@lyx.org>
2099 * insetcollapsable.C:
2104 * insetspecialchar.C:
2107 * insettoc.C: remove redundant using directives.
2109 2003-09-07 Angus Leeming <leeming@lyx.org>
2112 * insetspecialchar.h: remove #include "support/std_string.h".
2114 2003-09-06 Angus Leeming <leeming@lyx.org>
2116 * renderers.C: add #include "insets/inset.h"
2118 2003-09-05 Angus Leeming <leeming@lyx.org>
2120 * *.C: strip out redundant #includes. (193 in total.)
2122 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2124 * insets/insetbibtex.[Ch]:
2125 * insets/insetcommand.h:
2126 * insets/insetfloatlist.[Ch]:
2127 * insets/insetinclude.[Ch]:
2128 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2129 of insets like bibtex, include, toc and floatlist to the visible
2130 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2131 up the dialogs. Cursor has to be in front of the inset (i.e.
2132 start of row) for this to function.
2134 2003-09-04 Angus Leeming <leeming@lyx.org>
2136 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2137 structure outside of the Format struct. Format::preambleName refers to
2138 an item in the map of all preamble snippets.
2139 Make use of the new Debug::EXTERNAL flag.
2141 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2142 (validate): Small change due to the changed storage of preamble
2145 2003-09-04 Angus Leeming <leeming@lyx.org>
2147 * insetgraphics.C: #include "support/os.h"
2149 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2150 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2151 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2153 * insetcollapsable.h:
2155 * insetnote.C: move #include "funcrequest.h" out of the header file.
2157 2003-09-03 Angus Leeming <leeming@lyx.org>
2159 * insetexternal.C (updateExternal):
2160 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2163 2003-09-03 Angus Leeming <leeming@lyx.org>
2165 * insetexternal.C: don't bring namespace lyx::support into the global
2168 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2170 * insetbranch.C: Add Branch: to label
2172 2003-09-02 John Levon <levon@movementarian.org>
2175 * insettext.C: remove cursor.i[xy]()
2177 2003-08-28 Angus Leeming <leeming@lyx.org>
2179 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2180 "sh ", enabling the conversion to be carried out even if the script
2183 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2185 * most files: change to use const Buffer refs
2187 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2189 * insetfootlike.C: whitespace.
2191 2003-08-26 John Levon <levon@movementarian.org>
2195 * insetindex.h: remove remaining mentions of needFullRow()
2197 2003-08-26 André Pönitz <poenitz@gmx.net>
2203 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2205 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2207 * insetbranch.C: Small fix to prevent a crash on loading.
2209 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2214 * insetcollapsable.h:
2216 * insetfloatlist.[Ch]:
2217 * insetfootlike.[Ch]:
2218 * insetinclude.[Ch]:
2224 * insettheorem.[Ch]:
2225 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2226 altogether, putting the logic in metrics/draw in the insets.=20
2227 Draws short single row insets with more or less realistic metrics.
2229 2003-08-19 André Pönitz <poenitz@gmx.net>
2231 * insettext.C: use new RowPainter interface
2233 2003-08-18 John Levon <levon@movementarian.org>
2235 * insetref.C: require amsmath for eqref
2237 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2241 * insetbranch.[Ch]: implements the 'branch inset'
2242 idea. This allows the output of various versions of a document
2243 from a single source version, selectively outputing or suppressing
2244 output of parts of the text.
2245 This implementation contains a 'branch list editor' in a separate
2246 tab of the document settings dialog. Branches are user definable
2247 and have a "display colour" to distinguish them on-screen.
2249 ColorHandler was somewhat cleaned up.
2250 (1) make possible a dynamically growing LColor list by allowing
2251 the graphic context cache to grow along (vector);
2252 (2) eliminate an IMHO unnecessary step in colour allocation.
2254 2003-08-15 André Pönitz <poenitz@gmx.net>
2256 * insettext.[Ch]: adjust after rowlist split
2258 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2260 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2261 rename valign-center to valign-middle;
2262 rename VALIGN_CENTER to VALIGN_MIDDLE
2264 2003-08-11 André Pönitz <poenitz@gmx.net>
2266 * inset.h: remove resizeLyXText
2269 * insetcollapsable.[Ch]:
2271 * insettabular.[Ch]: adjust
2273 * insettext.[Ch]: remove saveLyXTextState,
2274 restoreLyXTextStat, sstate, reinitLyXText
2276 2003-08-07 André Pönitz <poenitz@gmx.net>
2278 * inset.[Ch]: move non-crucial functions out-of-line
2280 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2281 remove duplicated code.
2283 2003-08-05 André Pönitz <poenitz@gmx.net>
2286 * insetcollapsable.[Ch]:
2296 * insettabular.[Ch]:
2299 * updatableinset.[Ch]: rip out "deep update"
2301 * insettext.C (localDispatch): merge cases with default branch
2303 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2305 * insettabular.[Ch] (updateLocal): simplify logic
2307 2003-08-04 André Pönitz <poenitz@gmx.net>
2309 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2310 is 'FULL' all the time.
2312 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2314 * insetert.C (get_new_label): only add ... to the (closed) label
2315 when the string has been shortened
2317 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2319 * Always use std::endl with lyxerr
2321 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2323 * insetnote.C: update \author list
2325 2003-07-31 André Pönitz <poenitz@gmx.net>
2327 * insetcollapsable.h:
2328 * insettabular.[Ch]:
2329 * insettext.[Ch]: remove toggleSelection
2331 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2333 (with help from Juergen Spitzmueller)
2334 * insetnote.C: add add i18n support. Use Prefs-definable
2335 colours for Comment and Greyedout.
2337 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2339 * insetcollapsable.[Ch]:
2341 * insetert.C: factor out the detection of clicking on the inset
2342 button as 'hitButton'. John Levon contributed.
2344 2003-07-30 André Pönitz <poenitz@gmx.net>
2346 * insetcollapsable.C:
2348 * insettabular.C: parantheses, localize vars etc.
2350 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2352 * insetnote.C: Implement a newenvironment in preamble for
2353 greyedout. Patch provided by Jürgen Spitzmüller.
2355 2003-07-29 Angus Leeming <leeming@lyx.org>
2357 * insetcommand.C (localDispatch): default to
2358 InsetOld::localDispatch.
2360 * insetbibitem.C (localDispatch):
2361 * insetbibtex.C (localDispatch): remove call to
2362 ChangeCitationsIfUnique.
2364 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2366 * insetexternal.C (read): use pushpophelper.
2368 2003-07-28 José Matos <jamatos@lyx.org>
2370 * insetext.C (read): \end_document replaces \the_end.
2372 2003-07-28 José Matos <jamatos@fep.up.pt>
2374 * insetert.C (write): \layout -> \begin_layout.
2375 Add missing \end_layout.
2377 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2379 * insetquotes.C: document a bit the format
2381 * insettabular.C (write): remove extra space
2383 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2384 * insetnote.C: Umpf. Hope I *now* get it right :-(
2386 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2387 *insetnote.C: did the right fix to greyedout: \color
2388 instead of \textcolor.
2390 2003-07-28 Angus Leeming <leeming@lyx.org>
2392 * insetbibtex.h: remove extraneous forward declaration.
2395 * insetbibtex.h: Also remove long-dead Holder member class
2398 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2400 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2403 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2405 * insetwrap.C (addToToc): adjust for lyx::toc
2407 * insetfloatlist.C (ascii): adjust for lyx::toc
2409 * insetfloat.C (addToToc): adjust for lyx::toc
2411 2003-07-27 José Matos <jamatos@fep.up.pt>
2413 * insetnote.h (linuxdoc,docbook): update support.
2415 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2417 * insetfloat.C (wide): add a space to label, for consistency
2419 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2421 * insettext.C (nextChange): adjust for lyx::find
2422 (searchForward): ditto
2423 (searchBackward): ditto
2425 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2427 * insetgraphicsParams.C:
2428 * insetexternal.C: declare extern displayTranslator
2431 * renderers.C: add #include "support/LAssert.h"
2433 2003-07-27 José Matos <jamatos@fep.up.pt>
2435 * insetfloat.[Ch] (linuxdoc):
2436 * insetgraphics.C (linuxdoc):
2437 * insettabular.C (linuxdoc):
2438 * insettext.[Ch] (linuxdoc): add support for tables and figures
2441 2003-07-27 José Matos <jamatos@fep.up.pt>
2443 * insetinclude (latex): comply with makeLaTeXFile argument change.
2445 2003-07-26 Asger Alstrup <alstrup@local>
2447 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2448 the undo crashes. We'll see what problems other places this will
2451 2003-07-26 Angus Leeming <leeming@lyx.org>
2453 * insetgraphics.C: remove unused declaration of system_tempdir.
2455 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2457 * rename Inset to InsetOld
2459 * all inset files (clone): return a auto_ptr<InsetBase>
2461 2003-07-23 Angus Leeming <leeming@lyx.org>
2463 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2465 2003-07-23 Angus Leeming <leeming@lyx.org>
2467 * mailinset.[Ch] (inset2string):
2468 * insetcommand.[Ch] (inset2string):
2469 * insetert.[Ch] (inset2string):
2470 * insetexternal.[Ch] (inset2string):
2471 * insetfloat.[Ch] (inset2string):
2472 * insetgraphics.[Ch] (inset2string):
2473 * insetinclude.[Ch] (inset2string):
2474 * insetminipage.[Ch] (inset2string):
2475 * insetnote.[Ch] (inset2string):
2476 * insettabular.[Ch] (inset2string):
2477 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2479 * insetexternal.[Ch]:
2480 * insetgraphics.[Ch]: get rid of the view() function. Associated
2481 changes to the mailers' string2params and params2string functions.
2483 2003-07-23 Angus Leeming <leeming@lyx.org>
2485 * insetexternal.[Ch]: store the external file name in a FileName
2486 member variable rather than a string + associated changes.
2488 2003-07-21 Angus Leeming <leeming@lyx.org>
2490 * insetgraphicsParams.[Ch]: store the graphics file name in
2491 a FileName member variable rather than a string.
2493 * insetgraphics.[Ch]:
2494 * insetgraphicsParams.[Ch]: Associated changes.
2496 2003-07-21 Angus Leeming <leeming@lyx.org>
2498 * insetgraphics.[Ch] (string2params, params2string): passed a
2499 buffer_path argument.
2502 2003-07-21 Angus Leeming <leeming@lyx.org>
2505 * insetgraphicsParams.[Ch]:
2507 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2509 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2511 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2513 2003-07-18 André Pönitz <poenitz@gmx.net>
2516 * insetminipage.[Ch]:
2517 * insettabular.[Ch]:
2520 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2522 2003-07-18 André Pönitz <poenitz@gmx.net>
2526 * insetcollapsable.C:
2530 * insetgraphics.[Ch]:
2531 * insetlatexaccent.[Ch]:
2536 * insetspecialchar.C:
2537 * insettabular.[Ch]:
2539 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2541 2003-07-17 André Pönitz <poenitz@gmx.net>
2543 * insetcollapsable.C:
2545 * insettext.C: don't call Inset::update() anymore
2548 * insettabular.[Ch]: remove unneeded in_update_ members
2550 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2552 2003-07-16 André Pönitz <poenitz@gmx.net>
2554 * insettext.C (selectAll): remove
2556 2003-07-16 John Levon <levon@movementarian.org>
2559 * insetnote.C: implement showInsetDialog()
2561 2003-07-15 André Pönitz <poenitz@gmx.net>
2564 * insettext.C: refresh_status tristate -> need_update bool
2566 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2568 * insettext.C: adjust call to LyXText::init
2570 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2572 * insettext.C: use bufferview_funcs->replaceSelection()
2573 to delete selections in some cases (bugs 441, 673, 702, 954).
2575 2003-07-14 André Pönitz <poenitz@gmx.net>
2577 * insettext.C (draw): use slimmed down rowpainter interface
2579 2003-07-14 André Pönitz <poenitz@gmx.net>
2581 * insetcollapsable.C:
2583 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2584 remove unused BufferView * argument
2586 2003-07-14 André Pönitz <poenitz@gmx.net>
2588 * insettext.[Ch]: used cached metrics a bit more
2590 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2592 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2594 2003-07-10 André Pönitz <poenitz@gmx.net>
2597 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2599 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2601 * introduce namespace lyx::graphics
2603 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2605 * introduce namespace lyx::support
2607 2003-06-30 André Pönitz <poenitz@gmx.net>
2609 * insetcite.C (localDispatch): fix case of missing return value
2611 * insetcite.C (ascii): remove unneeded temporary
2613 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2615 * insetspace.h: fix \file
2617 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2618 * insetinclude.C (fillWithBibKeys): ditto
2620 * insetbibitem.C: fix type const order
2622 * inset.C (getLyXText): add varname for arg
2624 * ExternalTemplate.h: fix type const order
2626 2003-06-27 André Pönitz <poenitz@gmx.net>
2628 * insettext.C: take care of removed LyXCursor::row_ member
2630 * insettext.[Ch]: use new TextCursor struct for sstate
2632 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2634 * inseterror.[Ch]: removed
2636 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2638 * insetinclude.C (docbook): use parseError instead of sgmlError
2640 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2642 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2643 of BufferList::loadLyXFile
2645 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2647 * insettext.C (update): simplify
2648 (updateLocal): remove commented code
2649 (insetUnlock): simplify
2650 (lockInset): simplify
2651 (updateInsetInInset): simplify
2652 (localDispatch): simplify
2654 (resizeLyXText): simplify
2655 (collapseParagraphs): simplify
2657 * insetert.C (get_new_label): simplify
2659 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2661 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2662 pasteSelection with index
2664 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2666 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2668 2003-06-16 André Pönitz <poenitz@gmx.net>
2670 * insetbase.h: new virtual base function clone()
2672 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2673 Inset * clone() -> InsetBase * clone()
2675 2003-06-13 André Pönitz <poenitz@gmx.net>
2677 * insettabular.[Ch]: make tabular a proper member
2679 2003-06-12 André Pönitz <poenitz@gmx.net>
2681 * insettabular.[Ch]: some renaming plus whitespace
2683 2003-06-11 Angus Leeming <leeming@lyx.org>
2685 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2688 * insetbutton.[Ch]: removed.
2689 * graphicinset.[Ch]: renamed as renderers.[Ch].
2691 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2692 Create a new class ButtonRenderer using the InsetButton::metrics() and
2694 Derive both from a common RenderedInset base class.
2696 * insetcommand.[Ch]:
2697 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2698 Give it a ButtonRenderer member variable. Use it.
2699 Give the classes working copy c-tors.
2700 No longer derive from boost::noncopyable.
2702 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2703 display its contents as a button or as a graphic.
2705 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2708 2003-06-11 Angus Leeming <leeming@lyx.org>
2710 * insetcite.C (localDispatch): reformat.
2712 * insetref.C (localDispatch): enable dialog to be lauched.
2714 2003-06-11 John Levon <levon@movementarian.org>
2716 * insettabular.C: correctly mark all cells as erased
2718 2003-06-11 Angus Leeming <leeming@lyx.org>
2720 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2721 ExternalTemplate but its name, templatename. This means that a file
2722 containing a reference to an External Template not installed on the
2723 current machine will be saved retaining this info rather than inserting
2724 the first "valid" template from the list of templates.
2726 As a by product, the visual statement that the Template is missing is
2729 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2731 * insettext.C (appendParagraphs): remove some commented code.
2733 2003-06-10 Angus Leeming <leeming@lyx.org>
2735 * graphicinset.[Ch] (view): removed the publicly accessible
2736 function to set the cache.
2738 * insetexternal.[Ch]: move tempname_ into the Params struct.
2739 (Params d-tor): new function, to clean-up this temp file.
2740 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2742 (editExternal, doSubstitution): move out of class.
2744 2003-06-10 Angus Leeming <leeming@lyx.org>
2746 * graphicinset.[Ch] (params): removed.
2747 * graphicinset.h (operator=): declared private but not defined.
2748 (statusMessage): made private.
2750 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2752 2003-06-07 John Levon <levon@movementarian.org>
2754 * insetert.C (latex): make a newline mean just that not
2757 2003-06-07 José Matos <jamatos@fep.up.pt>
2759 * insethfill.[Ch] (linuxdoc, docbook): implement output
2760 * insetspace.C (linuxdoc, docbook): remove coments as the code
2763 2003-06-06 José Matos <jamatos@fep.up.pt>
2765 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2767 2003-06-06 André Pönitz <poenitz@gmx.net>
2769 * insetwrap.[Ch]: code compactification
2771 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2773 * mailinset.C (updateDialog): use Dialogs::visible
2775 2003-06-04 Angus Leeming <leeming@lyx.org>
2777 * graphicinset.C (draw): add a comment for the #if 0 block.
2779 * insetexternal.h: remove Params::parameters variable.
2781 * insetexternal.C (read, write): rewrite to output new ExternalInset
2782 format and read it back making full use of LyXLex.
2784 2003-06-04 André Pönitz <poenitz@gmx.net>
2786 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2788 2003-06-04 John Levon <levon@movementarian.org>
2790 * insettabular.C: back out tall table speed up. It was broken
2792 2003-06-03 Angus Leeming <leeming@lyx.org>
2794 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2795 Remove ViewCommand and UpdateCommand.
2797 * graphicinset.C (update): bug fix. Set the params before calling the
2800 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
2801 the BufferView cache to enable the InsetExternal::editCommand to
2802 be invoked from the frontends. Would not be needed if this were
2803 dispatched properly.
2804 (old_ascent_): variable removed.
2806 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2807 do any necessary conversions of external material. Also use the
2808 new GraphicsInset to display the inset within LyX.
2810 2003-06-03 Angus Leeming <leeming@lyx.org>
2812 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2813 and move it somewhere where InsetExternal can use it too.
2815 * Makefile.am: add the new files.
2817 * insetgraphics.[Ch]: make use of the new GraphicInset.
2819 2003-06-03 John Levon <levon@movementarian.org>
2822 * insetbibitem.[Ch]:
2825 * insetcommand.[Ch]:
2829 * insetexternal.[Ch]:
2833 * insetgraphics.[Ch]:
2835 * insetinclude.[Ch]:
2838 * insetlatexaccent.[Ch]:
2839 * insetmarginal.[Ch]:
2840 * insetminipage.[Ch]:
2847 * insetspecialchar.[Ch]:
2848 * insettabular.[Ch]:
2850 * insetthereom.[Ch]:
2853 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2855 * insetgraphics.[Ch]:
2856 * insetgraphicsParams.[Ch]: always store an absolute
2859 2003-06-02 André Pönitz <poenitz@gmx.net>
2863 * insetlatexaccent.C: remove duplicated call to metrics()
2865 2003-06-02 John Levon <levon@movementarian.org>
2867 * insettabular.C: fix resize of column width
2869 2003-06-02 John Levon <levon@movementarian.org>
2874 * insetparent.C: remove insetparent
2876 2003-06-02 André Pönitz <poenitz@gmx.net>
2883 * insetcollapsable.[Ch]:
2887 * insetgraphics.[Ch]:
2888 * insetinclude.[Ch]:
2889 * insetlatexaccent.[Ch]:
2890 * insetminipage.[Ch]:
2891 * insetnewline.[Ch]:
2894 * insetspecialchar.[Ch]:
2895 * insettabular.[Ch]:
2896 * insettext.[Ch]: unify first drawing phase
2899 * insetbase.h: move validate() to the base
2901 2003-05-31 Angus Leeming <leeming@lyx.org>
2903 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2905 2003-05-30 André Pönitz <poenitz@gmx.net>
2910 * insetcaption.[Ch]:
2911 * insetcollapsable.[Ch]:
2914 * insetgraphics.[Ch]:
2915 * insetinclude.[Ch]:
2916 * insetlatexaccent.[Ch]:
2917 * insetnewline.[Ch]:
2920 * insetspecialchar.[Ch]:
2921 * insettabular.[Ch]:
2923 * updatableinset.[Ch]: unify second drawing phase
2925 2003-05-30 John Levon <levon@movementarian.org>
2927 * insetgraphics.C: fix a bformat
2929 2003-05-29 John Levon <levon@movementarian.org>
2931 * insettabular.C: remove unused bufferOwner()
2933 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2935 * insettext.C (lockInsetInInset): adjust
2936 (getLabelList): use const_iterator, adjust
2937 (getInsetFromID): use const_iterator, adjust
2938 (addPreview): use const_iterator, adjust
2940 * insetwrap.C (clone): remove const_cast
2942 * insetnote.C (clone): remove const_cast
2944 * insetminipage.C (clone): remove const_cast
2946 * insetmarginal.C (clone): remove const_cast
2948 * insetfoot.C (clone): remove const_cast
2950 * insetfloat.C (clone): remove const_cast
2952 * insetert.C (clone): remove const_cast
2954 * delete commented same_id functions from a lot of files.
2956 2003-05-28 John Levon <levon@movementarian.org>
2962 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2964 * insetminipage.C: fix metrics (bug 1144)
2966 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2968 * insettext.C (saveLyXTextState): adjust
2969 (restoreLyXTextState): adjust
2972 (unlockInsetInInset): adjust
2973 (localDispatch): adjust
2974 (getLyXText): adjust
2976 * insettabular.C (insertAsciiString): adjust
2978 2003-05-27 André Pönitz <poenitz@gmx.net>
2981 * insetcollapsable.C:
2984 * insetlatexaccent.C:
2989 * insetspecialchar.C:
2991 * insettext.C: dim.w -> dim.wid
2993 2003-05-26 John Levon <levon@movementarian.org>
2995 * insettabular.C: avoid drawing all of a long table
2996 if it's not needed. A big speedup
2998 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3000 * remove same_id from function signatures, adjust
3002 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3004 * insettext.C (InsetText): adjust
3006 (setParagraphData): separate same_id cases, adjust
3007 (appendParagraphs): adjust
3008 (appendParagraphs): adjust
3010 2003-05-23 André Pönitz <poenitz@gmx.net>
3012 * insetbutton.h: whitespace
3014 * insettabular.C: more compact code
3016 * updatableinset.C: remove const_cast
3019 2003-05-23 Angus Leeming <leeming@lyx.org>
3021 * insetexternal.C (write): check how many lines are output.
3022 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3023 if the template has defined it.
3025 2003-05-23 Angus Leeming <leeming@lyx.org>
3027 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3029 2003-05-23 Angus Leeming <leeming@lyx.org>
3031 * insetfoot.C (latex):
3032 * inseturl.C (latex): rename fragile as moving_arg.
3034 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3036 * inseterror.C (localDispatch): comment out unused var.
3038 2003-05-22 Angus Leeming <leeming@lyx.org>
3040 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3041 passed through the LatexRunParams arg.
3043 2003-05-22 Angus Leeming <leeming@lyx.org>
3045 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3046 through the LatexRunParams arg.
3048 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3049 arg rather than through a global var.
3051 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3053 * insetspecialchar.C (dimension): use a string.
3055 2003-05-22 Angus Leeming <leeming@lyx.org>
3057 * insetbibtex.C (latex):
3058 * insetgraphics.C (latex):
3059 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3060 runparams rather than from the buffer itself.
3062 2003-05-22 Angus Leeming <leeming@lyx.org>
3064 * inset*.[Ch] (latex):
3065 passed a LatexRunParams parameter.
3067 * insetgraphics.C (latex): actually use it ;-)
3069 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3071 * insetfloat.C (addToToc): trivial compile fix
3073 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3075 * insettext.[Ch] (paragraph): delete unused function
3077 * insetfloat.C (addToToc): parlist simplfication
3079 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3081 * insetspace.[Ch]: added (new space insets)
3083 * inset.h: handle new space insets
3085 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3087 * insetfloat.C (addToToc): adjust
3089 2003-05-21 André Pönitz <poenitz@gmx.net>
3091 * insettext.[Ch]: fix drawing bug introduced earlier
3093 2003-05-19 André Pönitz <poenitz@gmx.net>
3095 * insetspecialchar.C: fix bug introduced yesterday
3097 2003-05-19 André Pönitz <poenitz@gmx.net>
3101 * insetcollapsable.[Ch]:
3105 * insetgraphics.[Ch]:
3106 * insetgraphicsParams.[Ch]:
3107 * insetlatexaccent.[Ch]:
3108 * insetminipage.[Ch]:
3109 * insetnewline.[Ch]:
3111 * insetspecialchar.[Ch]:
3112 * insettabular.[Ch]:
3113 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3115 2003-05-19 André Pönitz <poenitz@gmx.net>
3118 * insettext.C: more insetenv
3120 2003-05-16 André Pönitz <poenitz@gmx.net>
3123 * insetminimpage.[Ch]:
3124 * insetcollapsable.[Ch]: fix #832
3126 2003-05-16 André Pönitz <poenitz@gmx.net>
3129 * insetbibitem.[Ch]:
3133 * insetcollapsable.[Ch]:
3134 * insetcommand.[Ch]:
3137 * insetexternal.[Ch]:
3138 * insetfloatlist.[Ch]:
3139 * insetgraphics.[Ch]:
3140 * insetinclude.[Ch]:
3143 * insetlatexaccent.[Ch]:
3146 * insettabular.[Ch]:
3150 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3152 2003-05-13 André Pönitz <poenitz@gmx.net>
3155 * insetcollapsable.C:
3159 * insetwrap.C: tostr from own header
3171 * insetwrap.C: STRCONV
3174 2003-05-12 André Pönitz <poenitz@gmx.net>
3186 * insetwwrap.C: boost::format -> bformat all over the place
3188 2003-05-05 André Pönitz <poenitz@gmx.net>
3190 * insettext.h: add missing #include <map>
3192 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3194 * insettext.C (InsetText): parlist cleanup
3197 (insetUnlock): ditto
3199 (lockInsetInInset): ditto
3203 (searchBackward): ditto
3204 (collapseParagraphs): ditto
3206 2003-05-06 John Levon <levon@movementarian.org>
3208 * insetcaption.C: don't cast wrap inset to InsetFloat
3211 * insetfloat.C: remove unneeded type() function
3213 2003-05-05 André Pönitz <poenitz@gmx.net>
3217 * insettabular.[Ch]:
3218 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3219 replace getFirstParagraph() by getParagraphs()
3221 2003-05-03 John Levon <levon@movementarian.org>
3223 * insetcollapsable.h:
3224 * insetcollapsable.C:
3230 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3231 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3232 getCursor(). Remove explicit cursor hides.
3234 2003-05-02 André Pönitz <poenitz@gmx.net>
3236 * insettext.C: remove unneeded &*
3238 2003-04-30 John Levon <levon@movementarian.org>
3240 * insettabular.C: fix edit message
3242 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3244 * insettext.C (setFont): do not convert iterator -> pointer
3246 * insettabular.C (localDispatch): do not convert iterator -> pointer
3248 (tabularFeatures): ditto
3250 2003-04-29 André Pönitz <poenitz@gmx.net>
3252 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3254 2003-04-28 André Pönitz <poenitz@gmx.net>
3256 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3259 2003-04-25 André Pönitz <poenitz@gmx.net>
3261 * insetenv.C: derive from InsetText instead of InsetCollapsable
3263 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3265 * insetexternal.C (string2params): dont do anything if the string
3267 * insetgraphics.C (string2params): ditto
3268 * insetcommand.C (string2params): ditto
3269 * insetert.C (string2params): ditto
3270 * insetfloat.C (string2params): ditto
3271 * insetinclude.C (string2params): ditto
3272 * insetminipage.C (string2params): ditto
3273 * insettabular.C (string2params): ditto
3274 * insetwrap.C (string2params): ditto
3276 2003-04-24 André Pönitz <poenitz@gmx.net>
3278 * insetref.C: support for eqref
3280 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3282 * insetert.C (read): use ParagraphList::iterator.
3284 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3286 * insetquotes.C (latex): comment some code and add warnings.
3288 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3290 * insetexternal.C (localDispatch): added a missing DISPATCHED
3292 2003-04-12 John Levon <levon@movementarian.org>
3294 * insetwrap.C (addToToc): fix a crash, conversion
3295 from while to for loop forgot to remove the explicit
3298 2003-04-10 John Levon <levon@movementarian.org>
3300 * insettabular.C (tabularFeature): make sure
3301 to update the dialog when we change something
3304 (getStatus): don't disable some lfuns (bug 939)
3306 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3308 * insettext.C (saveLyXTextState): adjust
3309 (localDispatch): adjust
3315 * insettabular.C (localDispatch): adjust
3317 (tabularFeatures): adjust
3319 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3321 * insettabular.C (searchForward,searchBackward): fix bug 782
3323 2003-04-07 John Levon <levon@movementarian.org>
3326 * insettext.C: clear status message on inset exit
3328 2003-04-03 John Levon <levon@movementarian.org>
3330 * insetcommand.C: return dispatched on DIALOG_UPDATE
3332 2003-04-02 John Levon <levon@movementarian.org>
3334 * insettabular.C: tab lfuns renamed
3336 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3338 * insettext.C (update): move towards ParagraphList
3339 (updateLocal): ditto
3341 (insetUnlock): ditto
3343 (lockInsetInInset): ditto
3344 (updateInsetInInset): ditto
3345 (localDispatch): ditto
3348 (resizeLyXText): ditto
3349 (searchBackward): ditto
3350 (collapseParagraphs): ditto
3353 * insetwrap.C (InsetWrap): adjust
3354 (addToToc): adjust and rewrite loop
3356 * insettext.[Ch] (paragraph): delete function
3358 * insettabular.C (moveNextCell): adjust
3359 (movePrevCell): adjust
3360 (insertAsciiString): adjust
3362 * insetfloat.C (InsetFloat): adjust
3365 * insetert.C (InsetERT): adjust
3366 (write): adjust, and rewrite loop
3367 (latex): adjust, and rewrite loop
3368 (linuxdoc): adjust, and rewrite loop
3369 (docbook): adjust, and rewrite loop
3370 (localDispatch): adjust
3371 (get_new_label): adjust
3373 2003-04-01 John Levon <levon@movementarian.org>
3375 From Alfredo Braunstein
3378 * insetbutton.C: add localDispatch()
3380 * insetcommand.C: return DISPATCHED when edit() called
3382 * insettext.C: fix bug 967
3384 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3386 * insettext.C: adjust
3388 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3390 * insettext.C (draw): adjust
3391 (crow): return a RowList::iterator not a Row*
3393 * insetminipage.C (localDispatch): adjust
3395 * insetert.C (localDispatch): adjust
3397 2003-03-31 John Levon <levon@movementarian.org>
3400 * insetgraphicsParams.C: use_gui moved to lyx_gui
3402 2003-03-31 John Levon <levon@movementarian.org>
3404 * insettext.C: Alert fix
3406 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3408 * insettext.C (ascent): adjust for RowList
3411 (getLyXText): adjust
3412 (toggleSelection): adjust
3414 * insetminipage.C (localDispatch): adjust for RowList
3416 * insetert.C (localDispatch): adjust for RowList
3417 (getMaxWidth): adjust for RowList
3419 2003-03-29 John Levon <levon@movementarian.org>
3421 * insetert.C: Alert cleanup
3423 2003-03-29 John Levon <levon@movementarian.org>
3425 * insettabular.C: Alert fix
3427 2003-03-28 John Levon <levon@movementarian.org>
3429 * insetfloat.C: reset label on INSET_MODIFY
3431 2003-03-28 John Levon <levon@movementarian.org>
3433 * insetgraphicsParams.C: read subcaptionText as a whole line
3436 2003-03-28 John Levon <levon@movementarian.org>
3438 * insettext.C: remove unused prototypes
3440 2003-03-25 Angus Leeming <leeming@lyx.org>
3442 * insetbibitem.C (localDispatch): repaint the view after modifying
3443 a bibitem inset in case the maximum InsetBibitem width has changed.
3445 2003-03-25 John Levon <levon@movementarian.org>
3448 * insettabular.C: LyXText renamings
3450 2003-03-24 John Levon <levon@movementarian.org>
3452 * insettext.C: remove some dead code. Fix bug 972 and
3453 related by posting a repaint in updateLocal(), and making
3454 the SEL functions set SELECTION.
3456 2003-03-22 John Levon <levon@movementarian.org>
3459 * inset.C: remove no-longer-needed topx_set
3461 * insetcollapsable.h:
3462 * insetcollapsable.C: remove dead code
3465 * insetert.C: rebreak the rows when a possible
3466 change in size is made, and reset the cursor
3469 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3471 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3472 topx_set. Fix drawing errors for clearInset(). Remove
3473 some unnecessary uses of topx, which should die.
3475 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3476 is no longer needed. Replace it with an ugly hack.
3478 2003-03-20 John Levon <levon@movementarian.org>
3481 * insetcollapsable.h:
3482 * insetcollapsable.C:
3490 * insettext.C: remove spurious font parameter
3491 from update(). Fix drawing of ERT insets inside
3492 insets (bug 966). Remove unused mark_dirty from
3493 tabular's updateLocal()
3495 2003-03-19 John Levon <levon@movementarian.org>
3504 * insetwrap.C: remove unused getter/setters
3506 2003-03-19 John Levon <levon@movementarian.org>
3508 * several files: bv->updateInset() doesn't take
3509 a bool mark_dirty any more
3511 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3513 * adjust for BufferView* arg removal from lyxtext.
3515 2003-03-17 John Levon <levon@movementarian.org>
3517 * most files: remove the "cleared" parameter
3518 to draw in favour of always clearing. Associated
3521 2003-03-16 John Levon <levon@movementarian.org>
3523 * insettext.C: remove unused s.refresh
3525 2003-03-13 Angus Leeming <leeming@lyx.org>
3527 * insettext.C (edit): replace Dialogs::updateParagraph with
3528 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3530 2003-03-13 André Pönitz <poenitz@gmx.net>
3532 * Makefile.am: insert insetenv
3534 * insethenv.[Ch]: new files, currently inactive
3536 2003-03-12 John Levon <levon@movementarian.org>
3546 * insettext.C: use new insetnewline
3548 2003-03-12 John Levon <levon@movementarian.org>
3550 * insettext.C: readToken became readParagraph
3552 2003-03-12 John Levon <levon@movementarian.org>
3554 * insettext.C: use parlist iterator for reading contents
3556 2003-03-12 John Levon <levon@movementarian.org>
3558 * insettext.C: name change to readToken()
3560 2003-03-11 André Pönitz <poenitz@gmx.net>
3562 * Makefile.am: insert insethfill
3564 * insethfill.[Ch]: new files
3566 2003-03-10 Angus Leeming <leeming@lyx.org>
3568 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3570 (hideDialog): calls the new static Dialogs::hide() method.
3572 * insetbibitem.C (edit):
3573 * insetbibtex.C (edit):
3574 * insetcite.C (edit):
3575 * insetcommand.C (localDispatch):
3576 * inseterror.C (d-tor):
3577 * insetert.C (showInsetDialog):
3578 * insetexternal.C (localDispatch, edit):
3579 * insetfloat.C (localDispatch, showInsetDialog):
3580 * insetfloatlist.C (edit):
3581 * insetgraphics.C (localDispatch, edit):
3582 * insetinclude.C (localDispatch, edit):
3583 * insetindex.C (edit):
3584 * insetlabel.C (edit):
3585 * insetminipage.C (localDispatch, showInsetDialog):
3586 * insetref.C (edit):
3587 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3588 resetPos, showInsetDialog, openLayoutDialog):
3589 * insettoc.C (edit):
3590 * inseturl.C (edit):
3591 * insetwrap.C (localDispatch, showInsetDialog):
3592 changes due to the changed MailInset interface.
3594 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3596 * insetfloat.h: Set default placement to an empty string.
3598 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3600 * insettext.C (latex): adjust call to latexParagraphs.
3602 2003-03-10 Angus Leeming <leeming@lyx.org>
3604 * mailinset.C: warn the user if the BufferView has not been cached.
3606 2003-03-10 Angus Leeming <leeming@lyx.org>
3608 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3610 * insetcommand.h (inset):
3611 * insetert.h (inset):
3612 * insetexternal.h (inset):
3613 * insetfloat.h (inset):
3614 * insetgraphics.h (inset):
3615 * insetinclude.h (inset):
3616 * insetminipage.h (inset):
3617 * insettabular.h (inset):
3618 * insetwrap.h (inset):
3619 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3621 2003-03-10 Angus Leeming <leeming@lyx.org>
3623 * insetcommand.C (string2params):
3624 * insetexternal.C (string2params):
3625 * insetfloat.C (string2params):
3626 * insetgraphics.C (string2params):
3627 * insetinclude.C (string2params):
3628 * insetminipage.C (string2params):
3629 * insettabular.C (string2params):
3630 * insetwrap.C (string2params): cure warning message about missing
3633 2003-03-09 Angus Leeming <leeming@lyx.org>
3635 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3636 it to communicate with the frontend dialogs.
3638 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3639 contents of this inset!
3641 2003-03-07 Angus Leeming <leeming@lyx.org>
3643 * inseterror.C (localDispatch): new method; calls edit() on
3646 2003-03-07 Angus Leeming <leeming@lyx.org>
3648 * insetbibitem.C (localDispatch):
3649 * insetbibtex.C (localDispatch):
3650 * insetlabel.C (localDispatch):
3651 rewrite as a switch.
3653 2003-03-07 Angus Leeming <leeming@lyx.org>
3655 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3656 it to communicate with the frontend dialogs.
3658 2003-03-07 Angus Leeming <leeming@lyx.org>
3660 * insetexternal.C: remove operator== and operator!= for
3661 InsetExternal::Params. They were used only by the old controller
3664 2003-03-07 Angus Leeming <leeming@lyx.org>
3666 * insetcommand.C (localDispatch):
3667 * insetexternal.C (localDispatch):
3668 * insetfloat.C (localDispatch):
3669 * insetinclude.C (localDispatch):
3670 * insetminipage.C (localDispatch):
3671 * insetwrap.C (localDispatch):
3672 add LFUN_INSET_DIALOG_UPDATE to the switch.
3674 2003-03-07 Angus Leeming <leeming@lyx.org>
3676 * insetcommand.C (string2params):
3677 * insetexternal.C (string2params):
3678 * insetfloat.C (string2params):
3679 * insetinclude.C (string2params):
3680 * insetwrap.C (string2params): use LyXLeX more.
3683 * insetexternal.[Ch]:
3685 * insetinclude.[Ch]:
3686 * insetwrap.[Ch]: change Mailer::name_ to be static.
3688 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3689 it to communicate with the frontend dialogs.
3691 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3694 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3696 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3698 * insettext.C (updateLocal): un-const function
3699 (updateLocal): adjust
3700 (collapseParagraphs): un-const function
3701 (collapseParagraphs): adjust
3703 2003-03-05 Angus Leeming <leeming@lyx.org>
3705 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3706 it to communicate with the frontend dialogs.
3708 2003-03-05 Angus Leeming <leeming@lyx.org>
3710 * insetcollapsable.C (draw): cache the BufferView.
3712 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3713 it to communicate with the frontend dialogs.
3715 2003-03-05 Angus Leeming <leeming@lyx.org>
3717 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3720 2003-03-05 Angus Leeming <leeming@lyx.org>
3722 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3724 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3725 it to communicate with the frontend dialogs.
3727 2003-03-05 Angus Leeming <leeming@lyx.org>
3729 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3730 it to communicate with the frontend dialogs.
3732 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3734 * insettext.C (collapseParagraphs): adjust
3735 (appendParagraphs): make it take a Buffer* instead of a
3736 BufferParams& as arg.
3737 (appendParagraphs): adjust
3739 2003-03-04 Angus Leeming <leeming@lyx.org>
3741 * insetbibitem.C (localDispatch):
3742 * insetbibtex.C (localDispatch):
3743 * insetcommand.C (localDispatch):
3744 * insetert.C (localDispatch):
3745 * insetlabel.C (localDispatch):
3746 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3748 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3750 * insettext.C (latex): adjust for ParagraphList::iterator
3752 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3754 * insetbutton.C (view): adjust for boost 1.30.0
3755 * insetcollapsable.C (view): ditto
3756 * insetgraphics.C (statusChanged): ditto
3758 * insettext.h: move paragraphs to be public.
3760 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3762 * insetnote.[Ch] (InsetNote): remove unused constructor
3764 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3766 * insetgraphics.C: added include "format.h"
3768 2003-02-27 Angus Leeming <leeming@lyx.org>
3770 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3773 2003-02-27 Angus Leeming <leeming@lyx.org>
3775 * insetbibitem.C (localDispatch):
3776 * insetbibtex.C (localDispatch):
3779 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3781 2003-02-26 Angus Leeming <leeming@lyx.org>
3783 * insetbibitem.[Ch] (localDispatch):
3784 * insetbibtex.[Ch] (localDispatch):
3785 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3787 * insetcommand.C (localDispatch):
3788 act only on receipt of LFUN_XYZ_APPLY.
3790 * insetert.C (localDispatch): reformat.
3791 add LFUN_XYZ_APPLY to the switch.
3793 2003-02-26 John Levon <levon@movementarian.org>
3795 * insettext.C: use RowPainter
3797 * inset.h: make helpers take const *
3799 2003-02-26 Angus Leeming <leeming@lyx.org>
3801 * insetcommand.[Ch] (localDispatch): new method.
3803 2003-02-26 Angus Leeming <leeming@lyx.org>
3805 * insetinclude.C (draw): cache the BufferView* using cache not
3806 PreviewImpl::setView
3808 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3810 * insetgraphics.C (draw)
3811 * insetinclude.C (draw): Eliminate also the other argument (owner
3812 inset inset) in the call to PreviewImage::image
3814 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3816 * insetgraphics.C (draw)
3817 * insetinclude.C (draw): Eliminate Buferview argument in call to
3820 2003-02-25 John Levon <levon@movementarian.org>
3822 * insetgraphicsParams.h:
3823 * insetgraphics.C: don't start a load process if
3824 the inset is set to NoDisplay (bug #920)
3826 2003-02-22 John Levon <levon@movementarian.org>
3829 * insetwrap.C: TocItem changed API (bug 913)
3831 2003-02-21 Angus Leeming <leeming@lyx.org>
3833 * insetcollapsable.[Ch] (cache, edit):
3834 * insetbutton.[Ch] (cache, edit): new methods to cache the
3835 BufferView in the draw method.
3837 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3838 simplify comunication between InsetCommand-derived classes and
3841 * insetbibitem.[Ch]:
3845 * insetfloatlist.[Ch]:
3849 * inseturl.[Ch]: small changes to reflect the new interface to the
3852 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3853 other, similar classes.
3855 * Makefile.am: add new files.
3857 2003-02-21 Angus Leeming <leeming@lyx.org>
3859 * updatableinset.h (setView, view): remove.
3860 * inset.h (view, cache): to be replaced by these.
3862 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3865 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3868 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3870 2003-02-21 Allan Rae <rae@lyx.org>
3872 * insetinclude.C (loadIfNeeded): ensure loading also works when
3873 child document is under version control.
3875 2003-02-17 André Pönitz <poenitz@gmx.net>
3877 * insetbib.[Ch]: Adjust access to bibkeys
3879 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3881 * insetquotes.C (dispString): remove use of acute accent for "'"
3884 2003-02-14 John Levon <levon@movementarian.org>
3886 * insettabular.C: changed method names in tabular.C
3888 2003-02-14 John Levon <levon@movementarian.org>
3892 * insetcollapsable.h:
3893 * insetcollapsable.C:
3897 * insettext.C: remove unused getParFromID()
3899 2003-02-13 John Levon <levon@movementarian.org>
3902 * insettext.C: remove unused beginningofMainBody()
3904 2003-02-08 John Levon <levon@movementarian.org>
3908 * insetcollapsable.h:
3909 * insetcollapsable.C:
3914 add nextChange(). Make allowSpellcheck() const. Add markErased().
3916 * insetert.C: ignore deleted text
3918 * insettabular.C: make sure to keep change tracking working
3921 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3926 * insettext.C: Use error messages with identical spelling and
3929 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3931 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3933 2002-12-17 Juergen Vigna <jug@lyx.org>
3935 * insettext.C (localDispatch): hopefully fixed cursor up down
3936 movement on leaving other insets.
3938 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3940 * insettext.C: fix inconsistent usage of spaces, colons,
3941 capitalization, and the like.
3943 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3945 * insetgraphics.C (prepareFile): do not remove the extension of
3946 the file name if it is not the default extension for the given
3947 format (that is, in latex output, remove extension from foo.eps,
3948 but not from foo.epsi)
3950 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3952 * insettext.C (lfunMouseRelease): hackish solution to the "double
3955 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3957 * insetfloat.C (addToToc): use the floats name not its type
3958 * insetwrap.C (addToToc): ditto
3960 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3962 * insetnote.C (init): make label font smaller
3964 2002-12-04 John Levon <levon@movementarian.org>
3966 * insetinclude.C: ressurect setting of command name
3968 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3970 * insetquotes.C (dispString): disambiguate insert call
3972 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3974 * several files: ws changes
3976 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3978 * insetquotes.C (dispString): use string::insert for prepending a
3981 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3983 * insetparent.C (getScreenLabel): use boost::format
3985 * insetgraphics.C (prepareFile): use boost::format
3988 * insetfloatlist.C (latex): use boost::format
3990 * insetcaption.C (draw): use boost::format
3992 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3994 * insettabular.C (tabularFeatures): Support for block alignment in
3995 fixed width columns.
3997 2002-11-20 Juergen Vigna <jug@sad.it>
3999 * insettabular.C (resetPos): temporary fix for endless loop in
4000 this function on a redraw.
4002 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4004 * insettabular.C (copySelection): STRCONV
4006 * insetinclude.C (uniqueID): STRCONV
4007 (latexString): ditto
4009 * insetgraphics.C: put VersionNumber inside anon namespace
4010 (createLatexOptions): STRCONV
4012 * insetcommandparams.C: include config.h
4014 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4016 * insetgraphicsParams.C (Write): use lyx::float_equal.
4017 Write height data correctly.
4018 (Read): zero scale when reading height data.
4020 2002-10-30 John Levon <levon@movementarian.org>
4022 * insetfloat.C (addToTOC): recursively traverse all
4023 contents looking for captions (fix #568)
4025 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4027 * insetexternal.C (doSubstitution): do not try to replace
4028 environment variables, this is done when executing the command
4030 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4032 * insetexternal.C (doSubstitution): change order of substitution
4033 to work around ReplaceEnvironmentPath brokenness
4035 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4037 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4039 * insetgraphicsParams.C (init, Write): associated changes
4040 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4041 InsetGraphicsParams::scale.
4043 2002-10-21 John Levon <levon@movementarian.org>
4045 * inset.h: remove unused DISPATCH_RESULT
4047 * insettext.C: sgml open/close tag now in sgml namespace
4049 2002-10-21 Angus Leeming <leeming@lyx.org>
4051 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4052 file path subdir/fig.eps when pasting it into a buffer in a different
4055 2002-10-16 John Levon <levon@movementarian.org>
4057 * insetspecialchar.C: remove \\protected_separator parsing
4059 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4061 * insetquote.C: fix LaTeX output of quotation marks.
4063 2002-10-14 Juergen Vigna <jug@sad.it>
4065 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4066 Backspace functions which confused the Undo handling.
4068 2002-10-09 Angus Leeming <leeming@lyx.org>
4070 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4071 BufferView::dispatch that turns off this optimisation when a new inset
4074 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4075 reload the BibTeX keys.
4077 2002-10-11 André Pönitz <poenitz@gmx.net>
4079 * insettext.h: handle LFUN_PRIOR/NEXT
4081 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4083 * insetfloat.C: fix bug with float settings
4084 (document default != float default).
4086 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4088 * insetwrap.C (addToToc): New method.
4089 (InsetWrap): Set layout to caption.
4091 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4093 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4095 2002-09-16 John Levon <levon@movementarian.org>
4097 * insettabular.h: hasSelection() needs to be public
4099 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4101 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4103 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4105 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4107 2002-09-11 André Pönitz <poenitz@gmx.net>
4109 * insettabular.C: implement LFUN_WORDSEL
4111 2002-09-10 John Levon <levon@movementarian.org>
4113 * insetinclude.h: remove unused param
4115 2002-09-09 John Levon <levon@movementarian.org>
4118 * insetinclude.C: remove noload, default to input
4120 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4122 * insetgraphics.C: disfuscated use of ']' in built output string.
4124 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4126 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4128 2002-08-29 Juergen Vigna <jug@sad.it>
4130 * insettabular.C (lfunMousePress): Pay attention where you set
4131 the x/y values as they depend on which inset in the tabular is
4132 actually locked. So you surely have to reset them if you (un)lock
4135 2002-08-29 André Pönitz <poenitz@gmx.net>
4137 * insetfootlike.h: rename include guard to ALL CAPS
4139 * insettext.C: swap object and first parameter for checkInsetHit calls
4140 as this functions has moved from BufferView to LyXText
4143 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4145 * insetgraphicsParams.C: remove local displayTranslator and use
4146 the one from graphics/GraphicsTypes.h.
4148 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4150 * insetfloat.C (wide): add BufferParams parameter
4152 * insetfloatlist.C (read):
4155 * insetfloat.C (latex):
4157 * insetcaption.C (draw): use LyXTextClass::floats()
4159 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4161 * insetoptarg.h: add std:: qualifier.
4163 2002-08-26 Juergen Vigna <jug@sad.it>
4165 * insettext.C (localDispatch): ditto.
4167 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4169 2002-08-25 John Levon <levon@movementarian.org>
4171 * inseturl.C: elide long URLs (bug 404)
4173 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4175 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4176 remove "Format Version <version_no.>" string from inset header
4179 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4181 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4182 a member of "grfx::Params" anymore.
4184 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4186 2002-08-24 John Levon <levon@movementarian.org>
4189 * insetoptarg.C: ws, pedantry ...
4191 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4193 * insettext.C (collapseParagraphs): pasteParagraph now in global
4195 (appendParagraphs): ditto
4197 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4199 * insetcite.C (latex): Remove spaces only after commmas.
4201 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4203 * insettext.C: remove NO_COMPABILITY stuff
4205 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4207 * insettext.C (edit): use ParagraphList iterators
4209 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4210 (bibitemWidest): ditto
4212 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4214 * insettext.C: include <boost/bind.hpp>
4215 add using std::for_each
4216 (saveLyXTextState): use ParagraphsList::iterator
4217 (init): use for_each on paragraphlist iterators
4218 (InsetText): remove superflous setting cached_bview to 0
4219 (latex): reformat a bit
4220 (ascii): use paragraphlist iterators
4221 (validate): use for_each + boost bind
4222 (getLabelList): use paragraphlist iterators
4223 (deleteLyXText): use for_each + boost::bind
4224 (resizeLyXText): ditto
4225 (reinitLyXText): ditto
4226 (removeNewlines): use paragraphlist iterators
4227 (getParFromID): ditto
4228 (paragraph): use for_each + boost::bind
4229 (getInsetFromID): use paragraphlist iterators
4230 (getLabelList): typo fix
4232 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4234 * insettext.C (read): assign tmp to paragraphs after return from
4235 call to parseSingleLyXformat2Token
4238 2002-08-13 Angus Leeming <leeming@lyx.org>
4256 * inseturl.C: changes due to the changed LyXView interface that
4257 now returns references to member variables not pointers.
4259 2002-08-13 Angus Leeming <leeming@lyx.org>
4262 * insetcollapsable.h:
4265 * insettext.h: forward-declare WordLangTuple
4266 (selectNextWordToSpellcheck) constify return type.
4269 * insetcollapsable.C:
4272 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4274 2002-08-12 Angus Leeming <leeming@lyx.org>
4276 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4279 2002-08-12 Juergen Vigna <jug@sad.it>
4281 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4284 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4286 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4287 (bibitemWidest): ditto
4288 * insettext.[Ch]: ditto
4290 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4292 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4294 2002-08-09 Angus Leeming <leeming@lyx.org>
4296 * insetinclude.C (latexString): remove fudge now that I've found out
4297 how to enable LaTeX to find the file using input@path.
4299 2002-08-09 John Levon <levon@movementarian.org>
4302 * insettext.C: remove unused xpos
4304 2002-08-07 Juergen Vigna <jug@lyx.org>
4306 * insettabular.C (localDispatch): make delete not put the stuff
4307 in the clipboard only do this on a cut operation.
4309 * insettext.C (localDispatch): make delete and backspace not put
4310 selected stuff to the clipboard.
4312 2002-08-07 André Pönitz <poenitz@gmx.net>
4315 * insetcollapsable.[Ch]:
4319 * insettabular.[Ch]:
4320 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4322 2002-08-06 John Levon <levon@movementarian.org>
4326 * insetcollapsable.h:
4327 * insetcollapsable.C:
4333 * insettext.C: use WordLangTuple for spellcheck
4335 2002-08-06 Angus Leeming <leeming@lyx.org>
4337 * insetinclude.C: add a monitor to the previewed image, so that the
4338 image is refreshed if the \input-ed file changes.
4340 2002-08-04 John Levon <levon@movementarian.org>
4343 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4345 2002-08-02 Angus Leeming <leeming@lyx.org>
4347 * insetcommandparams.[Ch] (preview): new methods returning and setting
4348 a new bool preview_ flag.
4349 (read): read this flag.
4350 (operator==): add flag to check.
4352 * insetinclude.C (write): output new preview() flag.
4353 (previewWanted): use this flag.
4355 2002-08-02 Angus Leeming <leeming@lyx.org>
4357 * insetcollapsable.[Ch] (addPreview):
4358 * insettabular.[Ch] (addPreview):
4359 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4360 for insets in insets.
4362 2002-08-02 Angus Leeming <leeming@lyx.org>
4364 * insetcite.C: fix typo.
4366 * insetgraphics.C: kill current_view and instead cache the BufferView
4369 * insetinclude.C: kill current_view and pass the BufferView to the
4370 PreviewedInset so that it can cache it.
4372 2002-08-01 Angus Leeming <leeming@lyx.org>
4374 * inset.h (generatePreview): renamed as addPreview.
4375 (generatePreview): new method. Allows code to be moved out of
4376 math_nestinset.C and into the new PreviewedInset class.
4378 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4379 add previews to the inset when \input-ing LaTeX.
4381 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4383 * several files: strip,frontStrip -> trim,ltrim,rtrim
4385 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4387 * insetbib.C (latex): modify because of strip changes
4389 * insetnote.C (InsetNote): ditto
4391 2002-07-26 Juergen Vigna <jug@sad.it>
4393 * insettabular.C (searchForward): check for lastcell if we
4394 had a locking inset.
4396 2002-07-25 Juergen Vigna <jug@sad.it>
4398 * insettabular.C (insetMotionNotify): Don't update the screen
4399 if we didn't do nothing.
4400 (searchForward): last cell was not checked.
4402 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4404 * insetfloat.C (read, write): Allow default placement
4405 (floatPlacement_ is empty).
4407 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4409 * insetminipage.h (noFontChange):
4410 * insettabular.h (noFontChange):
4411 * insetfootlike.h (noFontChange):
4412 * insetfloat.h (noFontChange): return true
4414 * inset.h (noFontChange): new method, defaulting to false
4416 2002-07-22 Herbert Voss <voss@lyx.org>
4418 * insetgraphicsParams.[Ch]: support size_type for old docs
4420 2002-07-22 Herbert Voss <voss@lyx.org>
4423 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4426 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4428 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4430 * insetlatexaccent.h: do not include "lyxlex.h"
4432 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4435 * insetlatexaccent.C:
4439 * insetbib.C: #include "lyxlex.h"
4445 * insettext.C: use BufferParams::getLyXTextClass
4448 * insetfloat.C (addToToc): new method. Add to toclist the entries
4449 corresponding to Caption layouts
4450 (InsetFloat): when creating a new float, set the layout to "Caption"
4452 2002-07-21 Herbert Voss <voss@lyx.org>
4454 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4455 image relevant part into graphics/GraphicsImgae.C
4457 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4459 * insettoc.C (ascii):
4460 * insetfloatlist.C (ascii): change to use the new Toc functions
4461 instead of stuff that was in Buffer
4463 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4465 * insettext.C (localDispatch): BufferView::Dispatch has been
4466 renamed to BufferView::dispatch
4468 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4470 * insetgraphicsParams.C (as_grfxParams): use the new
4471 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4472 1.2.0 patch, and I do not really know how to adapt it to the new
4473 grfx::Cache world. Angus, please could you have a look?
4475 2002-05-01 Herbert Voss <voss@lyx.org>
4477 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4479 2002-07-18 Angus Leeming <leeming@lyx.org>
4481 * insetgraphics.C: clean-up comments (from Herbert).
4482 add a new checksum variable to the cache. Use it in PrepareFile.
4483 (draw): start monitoring the file for a change.
4484 (prepareFile): re-arrange a little to avoid unnecessary steps.
4486 2002-07-17 Angus Leeming <leeming@lyx.org>
4488 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4489 a method rather than to the signal directly.
4491 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4493 * insettext.C: use view_state_changed, switchKeyMap
4495 2002-07-17 Herbert Voss <voss@perce.de>
4497 * insetgraphics.C (prepareFile): keep the extension when
4498 exporting to nice file
4500 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4502 * insetcite.C (getNatbibLabel):
4503 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4505 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4507 * insetgraphics.C: use ->isDrawable()
4509 2002-07-12 Angus Leeming <leeming@lyx.org>
4511 * insetgraphics.C: use the new smart loading capabilities of the image
4514 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4516 * insettabular.C (edit): Move into correct cell when entering a
4519 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4522 2002-07-05 Angus Leeming <leeming@lyx.org>
4524 * inset.h (generatePreview): new virtual method.
4526 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4528 * insetcommandparams.[Ch] (operator=): move out of class
4529 (operator!): move out of class
4531 2002-07-04 André Pönitz <poenitz@gmx.net>
4533 * insetcommandparams.[Ch]: new files
4535 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4537 2002-06-15 Herbert Voss <voss@perce.de>
4539 * insetgraphics.C (prepareFile): bugfix; return always
4540 files without extension
4542 2002-06-28 Angus Leeming <leeming@lyx.org>
4544 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4545 rename asGParams -> as_grfxParams.
4547 * insetgraphics.C: reflect above change.
4549 2002-06-26 Angus Leeming <leeming@lyx.org>
4551 * insetgraphics.h: use boost::scoped_ptr in preference to
4554 2002-06-26 Angus Leeming <leeming@lyx.org>
4556 * insetgraphics.C: moved the image loading stuff into a new class
4557 grfx::Loader. Simplifies this file enormously.
4559 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4561 * insetgraphicsParams.C: changes aassociated with moving
4562 grfx::DisplayType out of grfx::GParams.
4564 2002-06-26 André Pönitz <poenitz@gmx.net>
4566 * insetgraphics.C: use os::external_path where necesaary according to a
4567 patch from Claus Hentschel)
4569 2002-06-25 Angus Leeming <leeming@lyx.org>
4571 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4572 generating a pixmap once the graphics file is loaded into memory.
4573 The current_view ugliness that was in grfx::ModifiedImage has been
4574 moved here now that grfx::ModifiedImage is no more.
4576 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4578 * insettext.C: layout as layout
4580 2002-05-28 André Pönitz <poenitz@gmx.net>
4582 * insetfloatlist.h: remove source of compiler warning
4584 * insetref.C: tiny whitespace
4586 2002-06-15 Herbert Voss <voss@perce.de>
4588 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4589 and take always convert when no userdefined converter was
4591 (latex) small changes in the lyxerr output
4593 2002-06-15 LyX Development team <lyx@rilke>
4595 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4596 mixed content. Small white spaces clean.
4598 2002-06-14 Angus Leeming <leeming@lyx.org>
4600 * inseetexternal.C: remove the using std::difftime declaration.
4602 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4604 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4606 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4608 * insetquotes.C (draw): fix drawing of double quotes
4610 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4612 * insettabular.C: s/scrollCB/scrollDocView/
4614 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4616 * insettext.C: change of topCursorVisible()
4619 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4622 * insettext.C: rename/change of LyXScreen
4624 2002-06-07 Angus Leeming <leeming@lyx.org>
4626 Fixes needed to compile with Compaq cxx 6.5.
4628 * insetexternal.C: all c-library variables have been moved into
4629 namespace std. Wrap using std::xyz declarations inside a #ifndef
4630 CXX_GLOBAL_CSTD block.
4632 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4634 * insetinclude.C (uniqueID):
4635 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4636 conflicted with some AIX headers.
4638 2002-05-31 Juergen Vigna <jug@sad.it>
4640 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4644 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4646 * insetexternal.C (clone): fix () bug when using new
4647 (updateExternal): don't only look for difftime in global scope
4649 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4651 * insettabular.C: add const
4653 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4655 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4656 file name, in case there are weird characters like ',' in there.
4659 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4661 * switch from SigC signals to boost::signals.
4663 2002-05-28 André Pönitz <poenitz@gmx.net>
4665 * insets/insetgraphicsParams.[Ch]:
4666 put in inset related stuff from src/graphic
4668 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4676 * insetcollapsable.C:
4677 * insetcollapsable.h:
4705 * inseturl.h: use mouse_state. Kill insetKeyPress
4707 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4712 * insetcollapsable.C:
4715 * insetlatexaccent.C:
4717 * insetspecialchar.C:
4719 * insettext.C: name change for font metrics
4721 2002-05-24 Juergen Vigna <jug@sad.it>
4723 * insetgraphics.h: include inset.h first (for LString.h)
4725 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4727 * insettext.C: screen moved
4729 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4747 * inseturl.C: LyXView moved into frontends/
4749 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4754 * insetcollapsable.C:
4758 * insetgraphicsParams.C:
4759 * insetlatexaccent.C:
4761 * insetspecialchar.C:
4763 * insettext.C: move Painter to frontends/
4765 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4767 * insettabular.h: use more specific smart_ptr header.
4768 * insettext.h: ditto
4770 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4773 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4775 * insettext.C: clear selection on paste (bug 393)
4777 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4779 * insettext.C (latex): Honor the moving_arg argument.
4781 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4783 * insetfoot.C (latex): if a footnote is in a title layout, then it
4784 is a \thanks. And then, its contents is a moving argument.
4786 2002-05-14 Juergen Vigna <jug@sad.it>
4788 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4791 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4793 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4794 when using options "Full author list" or "Upper case".
4796 2002-05-14 Herbert Voss <voss@perce.de>
4798 * insetgraphics.C (prepareFile): allow files with same name
4800 (readFigInset): set the flags from old figinset in the right
4802 (findTargetFormat): more comments
4804 2002-05-14 Juergen Vigna <jug@sad.it>
4806 * insettext.C (edit): tell checkAndActivateInset() that we don't
4807 have a button press.
4808 (checkAndActivateInset): if button < 0 we don't have a button press
4809 on the inset and os we won't call edit on it if it's not a Highly
4810 editable inset (then we have to enter it).
4812 2002-05-13 Juergen Vigna <jug@sad.it>
4814 * insetcollapsable.C (insetButtonRelease): returned wrong return
4817 2002-05-09 Juergen Vigna <jug@sad.it>
4819 * insetcollapsable.C (edit): first_after_edit should only be
4820 set to true if we enter this inset and it was collapsed so we
4821 open it up. This is needed to reclose it after a search/replace
4822 or spellcheck function opened it and was negative.
4824 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4826 * insetfloat.C (latex): Return correct value.
4828 2002-05-04 Herbert Voss <voss@perce.de>
4830 * InsetgraphicsParams.C (read): fix bug with WH
4832 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4834 * insetfloat.C (latex): More sensible latex output
4835 (fix the problem with endfloat).
4837 2002-05-02 José Matos <jamatos@fep.up.pt>
4839 * insetgraphics.C (validate): acess params as everyone else.
4841 2002-05-03 Juergen Vigna <jug@sad.it>
4843 * insettabular.C (fitInsetCursor): recalculate the cursor position
4846 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4848 * InsetgraphicsParams.[Ch]: whitespace.
4850 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4852 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4853 float type do not exist.
4855 2002-04-28 Herbert Voss <voss@perce.de>
4857 * insetgraphics.C (latex): fix bug with missing file-extension.
4858 LaTeX still allows a missing "eps" or "ps".
4860 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4862 * insetfloat.C (c-tor, wide): translate the name of the float.
4864 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4866 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4867 when using natbib and make it work efficiently. Must emphasise that the
4868 real work is Herbert's.
4870 2002-04-23 Herbert Voss <voss@perce.de>
4872 * insetgraphic.C (prepareFile): fix bug with overwriting and
4873 deleting an existing *.eps-file in the doc-dir
4875 2002-04-23 Juergen Vigna <jug@sad.it>
4877 * insettabular.C (drawCellSelection): fix off by 1 error.
4879 2002-04-22 Juergen Vigna <jug@sad.it>
4881 * insettabular.C (setFont): rewoke full selection if it was asked,
4882 after we changed all we had to change.
4884 * insettext.C (insetUnlock): code was uninitialized in some situations.
4886 2002-04-19 Herbert Voss <voss@perce.de>
4888 * insetgraphic.C (prepareFile): return filename without
4889 extension if we only export without compiling
4891 2002-04-19 Juergen Vigna <jug@sad.it>
4893 * insettext.C (draw): call a fullRebreak on the row where we had a
4894 change and reset the cursor and selection-cursors.
4896 * insettabular.C (insetUnlock):
4897 (insetButtonPress): call an update before setting the_locking_inset = 0
4898 as otherwise we don't repaint!
4899 (update): reset the cursor position when we changed dimensions as
4900 otherwise our cursor may be on the wrong spot.
4902 2002-04-18 Juergen Vigna <jug@sad.it>
4904 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4905 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4906 redraw otherwise we won't redraw.
4908 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4909 not really right before, but I only discovered this with the last
4910 changes to Page up/down.
4912 2002-04-17 Juergen Vigna <jug@sad.it>
4914 * insettext.C (checkAndActivateInset): simplified as we now have the
4915 edit(bv, bool) call.
4917 * insettext.h: changed behind variables to front variables to be
4918 equal to the one in the edit call (as it is for that they are used).
4920 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4922 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4923 not output anything at all!
4925 2002-04-16 Juergen Vigna <jug@sad.it>
4927 * insettabular.C (insetButtonPress):
4928 (insetUnlock): call a redraw on unlocking the cell inset.
4930 * insettext.C (insetButtonPress): same as below.
4931 (lockInset): new function to set initial values when inset should
4933 (insetButtonPress): use above function.
4934 (insetUnlock): don't force a repaint only set the updateStatus. The
4935 outside world should repaint if it thinks it should be done!
4937 * insettabular.C (insetButtonPress): init values if not set as locked
4938 as we are locked if someone presses on us and don't call the edit()
4939 call of the InsetText to lock it do it as BufferView does it!
4941 * inset.h (insetInInsetY): make func const and return an int.
4944 * insetcollapsable.C: adapt the above changed function.
4946 2002-04-15 Juergen Vigna <jug@sad.it>
4948 * insettext.C (getCursorPos): return relative position as to be able
4949 to give them directly to the edit() call.
4950 (edit): we have to set also x_fix as it is not set inside the
4951 setCursorFromCoordinates call!
4952 (insetMotionNotify): ditto.
4954 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4956 * insetbib.C (getKeys): strip leading '\t's from the line too.
4957 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4959 2002-04-12 Juergen Vigna <jug@sad.it>
4961 * insettext.h: added cix() helper function and use it where appropriate
4963 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4965 * insetgraphics.C (prepareFile): fix bug when graphics is a
4968 2002-04-12 Juergen Vigna <jug@sad.it>
4970 * insettext.C (insertInset): remove unneeded code!
4971 (updateLocal): fitCursor() fixes.
4972 (collapseParagraphs): fix a possible problem when having a selection
4973 and collapsing the paragraphs.
4975 2002-04-08 Herbert Voss <voss@perce.de>
4977 * insetgraphic.C (write): write the rotating angle as
4978 a float as is. test only for != 0.0
4980 2002-04-11 Juergen Vigna <jug@sad.it>
4982 * insettext.C: new function ciy() and use it for setting inset_y.
4984 * insetert.C (draw): fix the x return for collapsed version.
4986 2002-04-07 Herbert Voss <voss@perce.de>
4988 * insetgraphic.C (readFigInset): fix bug with subcaption and
4991 2002-04-08 Herbert Voss <voss@lyx.org>
4993 * insetgraphicsparam.C: forgot special option and delete old
4996 2002-04-05 Juergen Vigna <jug@sad.it>
4998 * insettext.C (localDispatch): make a CURSOR update if we inserted
5001 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5003 * insetfloatlist.C (getScreenLabel):
5004 (latex): use Floating::listName
5005 (validate): new method
5007 2002-04-03 José Matos <jamatos@fep.up.pt>
5009 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5011 * insetfoot.[Ch] (docbook): added forgotten method.
5013 2002-04-03 Juergen Vigna <jug@sad.it>
5015 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5016 way as in Bufferview_pimpl.
5018 2002-04-03 Allan Rae <rae@lyx.org>
5020 * insetgraphics.C (latex): one % too many makes living on the bleeding
5021 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5023 2002-03-28 Herbert Voss <voss@lyx.org>
5025 * insetgraphic.C (latex): simplify the code for the latex
5026 output when the file doesn't exist
5028 2002-03-29 Juergen Vigna <jug@sad.it>
5030 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5033 * insettabular.C (edit): call fitCursor().
5035 * insettext.C (insetButtonPress): change behaviour of no_selection
5036 to the one in the BufferView selection_possible and fix the spurious
5037 selection bug with it.
5038 (localDispatch): revoke selection on BREAK... functions.
5040 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5042 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5044 2002-03-28 Juergen Vigna <jug@sad.it>
5046 * insettabular.C (insetAllowed): return true as default value otherwise
5047 we're not able to insert insets inside paragraphs of an not locked
5050 2002-03-27 Herbert Voss <voss@lyx.org>
5052 * insetgraphicsparam.C: change c%, p% to col%, page%
5054 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5056 * insetspecialchar.C (isLineSeparator): disable the nice code to
5057 allow linebreaks after hyphenation and menu separators.
5059 2002-03-26 Herbert Voss <voss@lyx.org>
5061 * insetgraphics.C (figinsetRead): set the right lyxview
5063 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5065 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5066 $\backslash$ and pass a "string const &" to the function.
5067 (prepareFile, latex): use Path rather than MakeAbsPath.
5069 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5071 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5072 proper fix to the graphics cache.
5073 (latex): "really" nice output if the file is not found ;-)
5075 2002-03-26 Juergen Vigna <jug@sad.it>
5077 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5078 (collapseParagraphs): fixed inserting of separator ' '
5080 * insettabular.C (insertAsciiString): only check for buffer lenght
5081 not if we have \t or \n inside the buffer as if we don't have we only
5082 have 1 cell and that's it!
5084 * insetert.C (close): don't collapse if inlined.
5086 2002-03-25 Herbert Voss <voss@lyx.org>
5088 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5089 graphics file does not exist.
5091 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5093 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5094 path when preparing export.
5096 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5097 no longer MakeRelPath.
5099 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5101 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5102 Used to determine the absolute path to the graphics file in the
5103 graphics cache and only in the graphics cache.
5104 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5105 make graphics file name absolute if it is stored as a relative path.
5107 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5108 make graphics file name absolute if it is stored as a relative path.
5110 * insettext.C (edit): emit an updateParagraph signal on entering a text
5111 inset. Needs to be emitted when leaving the inset also.
5113 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5115 * all files: ws cleanup
5117 * Makefile.am: remove ld -r stuff
5119 2002-03-21 Juergen Vigna <jug@sad.it>
5121 * insettext.C (appendParagraphs): new function added to append
5122 the paragraphs to this insets paragraphs.
5124 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5126 * Makefile.am: special rules if partial linking
5128 2002-03-19 Juergen Vigna <jug@sad.it>
5130 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5132 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5134 * insetgraphics.C: Clean up Baruch's comments a little.
5135 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5137 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5140 * insettheorem.C: wrap warnings
5142 * insetgraphics.C: improve messages, move cached_status_
5143 setting to safer place
5145 2002-03-18 Juergen Vigna <jug@sad.it>
5147 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5149 (localDispatch): ditto
5151 * insettext.C (edit): removed unneeded showCursor calls.
5152 (localDispatch): ditto.
5154 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5156 * insetgraphics.h: remove display() method.
5158 2002-03-11 Juergen Vigna <jug@sad.it>
5160 * insetgraphics.C (draw): hack to fix the redrawing bug.
5161 (draw): seems this fixes #268 (force redraw of row if we changed).
5163 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5164 this inset text (don't know why I missed this earlier).
5166 2002-03-08 Juergen Vigna <jug@sad.it>
5168 * insettabular.C (updateLocal): do a FULL update if we're not locked
5169 and only a CELL update is asked.
5171 * insettext.C (updateInsetInInset): update insets inside inset also
5172 if it isn't inside the_locking_inset.
5174 * insettabular.C (updateInsetInInset): ditto.
5176 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5178 * insetexternal.C (doSubstitution): check whether we are using a
5179 temp dir for defining $$FPath
5181 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5184 * insettext.C: remove #include "WorkArea.h".
5186 2002-03-06 Juergen Vigna <jug@sad.it>
5188 * insettext.C (draw): fixed frame redrawing.
5189 (clear): forgot to set the inset_owner of the paragraph.
5191 * insetert.C (status): pay attention the bv can be 0 here!
5192 (getMaxWidth): add the default leftMargin
5194 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5196 * insetert.C (getMaxWidth): make w unsigned int.
5198 2002-03-05 Juergen Vigna <jug@sad.it>
5200 * insetert.C (status): change behaviour of Inlined.
5201 (getMaxWidth): added for new inlined behaviour.
5203 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5205 * insetnote.h (linuxdoc, docbook): add empty methods.
5206 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5207 before being initialized.
5209 2002-03-05 Juergen Vigna <jug@sad.it>
5211 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5212 only that one in the inset. Should be enough.
5213 (updateLocal): set the selection cursor always if we don't have a
5214 selection to be sure it's set!
5216 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5218 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5220 * insettext.C (clear): a gross hack to set layout on a newly
5223 2002-03-04 Juergen Vigna <jug@sad.it>
5225 * insettabular.C (localDispatch): inserted handling of
5226 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5227 (insertAsciiString): new helper function.
5229 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5231 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5234 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5236 * insettext.C (InsetText): initalize newly created par with
5237 default layout. add bufferparams parameter
5240 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5241 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5242 * insetert.[Ch] (InsetERT): ditto
5243 * insetfloat.[Ch] (InsetFloat): ditto
5244 * insetfoot.[Ch] (InsetFoot): ditto
5245 * insetfootlike.[Ch] (InsetFootLike): ditto
5246 * insetmarginal.[Ch] (InsetMarginal): ditto
5247 * insetminipage.[Ch] (InsetMinipage): ditto
5248 * insetnote.[Ch] (InsetNote): ditto
5249 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5251 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5253 * insettext.C: layout as string
5255 * insetinclude.C: layout as string
5257 * insetert.C: layout as string
5259 * insetbib.C: layout as string
5261 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5264 * insettabular.C: remove #include "lyx_gui_misc.h".
5266 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5271 * inset.h: remove figinset, yahoo !
5273 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5275 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5276 copy c-tor and initialise member variables in the correct order.
5278 2002-02-28 Juergen Vigna <jug@sad.it>
5280 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5282 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5284 * inset.h: ... and add a better one here.
5286 * insetcommand.C (insetButtonRelease): remove that one which was a
5289 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5291 * insetcommand.C (insetButtonRelease): ... and move it here.
5293 * inseturl.h: remove insetButtonRelease from there...
5295 2002-02-26 Juergen Vigna <jug@sad.it>
5297 * inseturl.h: Added a insetButtonRelease call returning true as
5300 * insetlabel.C (edit): Fixed wrong update handling after change I
5301 leave in the wrong code for the one who wrote it to remove and have
5302 a look what he did wrong.
5304 * insettabular.C (localDispatch): force a SELECTION update if we
5305 had a selection and we passed the event down to the inset (fix #213)
5306 (localDispatch): handle font changing stuff when we have a cell
5307 selection so that the selection is not rewoked. I don't really like
5308 this fix, but it's the only way I see to do it right now.
5310 2002-02-22 Juergen Vigna <jug@sad.it>
5312 * insettext.C (insetUnlock): set the cursor to the second paragraph
5313 if available and if the first one is empty (fix #191).
5315 2002-02-20 Juergen Vigna <jug@sad.it>
5317 * insettext.C (getDrawFont): implemented this function to call the
5318 one of the owner if present as the owner normally knows what to do
5321 * insetert.C: implement getDrawFont() function and comment out all
5322 the crap for setting a special latex font inside this inset.
5323 (InsetERT): added a Lanugage parameter to this constructor.
5325 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5326 change the font for being drawn on screen (used only in InsetERT for
5329 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5330 and also above (was missing).
5331 (updateLocal): don't remove the cell selection if we have one this
5332 should be done where we really want to remove it.
5334 2002-02-20 José Matos <jamatos@fep.up.pt>
5336 * insetinclude.h: include_label made string const.
5338 * insetinclude.C (InsetInclude): moved include_label initialization.
5341 (validate): fix support for temporary directory, for docbook and
5344 * insetgraphics.h : new private member, graphic_label, that holds
5345 the entity name that defines the graphics location (SGML).
5347 * insetgraphics.C (unique_id): new function to give a unique label
5350 (validate): the file locatation is given by an entity reference.
5352 2002-02-18 Herbert Voss <voss@lyx.org>
5354 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5356 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5358 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5359 as support/systemcall.[Ch] and of class Systemcalls as class
5362 2002-02-18 José Matos <jamatos@fep.up.pt>
5364 * insetinclude.C (validate): some code only applies to latex buffers,
5365 it was made conditional.
5367 2002-02-12 Herbert Voss <voss@lyx.org>
5369 * insetgraphics.C: (prepareFile) do not check at this time
5370 if the file is present.
5372 2002-02-12 Herbert Voss <voss@lyx.org>
5374 * insetgraphics.C: latex(), return the correct newlines
5376 2002-02-13 José Matos <jamatos@fep.up.pt>
5378 * inseturl.C (docbook): escape & in url.
5380 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5382 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5383 after HYPHENATION and MENU_SEPARATOR
5385 * inset.h (isLineSeparator): new method, returns false by default.
5387 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5389 * insetert.C (status): do not update the text inset, but the ERT
5392 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5394 * insetnote.C: use notebg for background
5396 2002-02-08 Herbert Voss <voss@lyx.org>
5399 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5400 prevent LyX from unzipping when this should be handled
5401 by latex vis the graphic.cfg.
5404 2002-02-08 Herbert Voss <voss@lyx.org>
5406 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5407 exists, than return filename with extension
5409 2002-02-06 Herbert Voss <voss@lyx.org>
5411 * insetgraphic.C: prepareFile(): don't convert the file, when
5412 it's not viewed in LyX. Saves a lot of time when opening a
5415 2002-02-05 Herbert Voss <voss@lyx.org>
5418 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5419 and adding a rotate bool similiar to subcaption
5421 2002-02-04 Herbert Voss <voss@lyx.org>
5424 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5425 similiar view to the LaTeX one. Get zipped files work.
5427 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5429 * insetgraphicsParams.C (init): set display to DEFAULT.
5430 No longer #include "lyxrc.h".
5432 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5434 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5435 for now (so that the code compiles).
5437 2002-02-02 Herbert Voss <voss@lyx.org>
5439 * insetgraphic.C: delete inVariant() and some minor changes
5440 * insetgraphicsParams.[C]:
5442 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5444 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5445 interogate lyxrc.display_graphics before diaplaying the graphic.
5447 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5448 InsetGraphicsParams::DisplayType.
5450 2002-01-31 Herbert Voss <voss@lyx.org>
5452 * insetgraphic.C: (readfigInset) set display to pref-default
5454 2002-01-30 Herbert Voss <voss@lyx.org>
5456 * insetgraphic.C: get the filetyp from it's contents
5457 * insetgraphicparams.C: add token scale and lyxrc.display when
5458 creating a new inset
5460 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5462 * figinset.C: added using std::ios directive.
5464 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5466 * figinset.C (runqueue): open translation file in binary mode (for
5469 2002-01-27 Herbert Voss <voss@lyx.org>
5471 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5472 all options and to be sure that the old figinsets are correct
5474 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5475 structure and to support all lengths as LyXLength. The Parameter
5476 structure changed again, but reading of "old" 1.2 graphic insets
5479 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5481 * insetert.h (forceDefaultParagraphs): Added
5483 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5485 * insettabular.C (getMaxWidth):
5486 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5488 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5490 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5491 of LyXLength::inPixels
5493 * inset.C (latexTextWidth):
5494 * insetminipage.C (latexTextWidth): new method, which implements
5495 the equivalent of the LaTeX macro \textwidth
5497 * insetminipage.C (getMaxWidth): use latexTextWidth
5499 2002-01-18 Juergen Vigna <jug@sad.it>
5501 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5503 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5505 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5507 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5510 2002-01-17 Juergen Vigna <jug@sad.it>
5512 * insettabular.C (lockInsetInInset): same change as in insettext.
5514 * insettext.C (draw): width() function was called without setting
5515 the right top_x which could lead to wrong insetWidth setting!
5516 (lockInsetInInset): call edit instead of calling lockInset if we
5517 have to lock an inset inside!
5518 (edit): we have to also tell the inset that we have to redraw the
5519 frame on an edit call if this inset draws a frame only if locked.
5521 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5523 * insetbib.C (getFiles): uncomment Path variable.
5525 2002-01-16 Juergen Vigna <jug@sad.it>
5527 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5530 2002-01-16 Allan Rae <rae@lyx.org>
5532 * insetinclude.C (docbook): someone forgot a ";"
5534 2002-01-16 José Matos <jamatos@fep.up.pt>
5536 * figinset.C (docbook): removed a old place holder "@".
5537 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5538 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5539 ascii text version, clearly guarded inside a CDATA section.
5540 (docbook): in docbook 4, inlinegraphics is empty.
5541 * insettabular.C (linuxdoc): export the ascii version of the table
5542 inside a CDATA section.
5544 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5546 * insetparent.C (InsetParent):
5547 * insetgraphicsParams.C (Write):
5549 * insetgraphics.C (prepareFile):
5552 * insetexternal.C (executeCommand):
5553 (doSubstitution): use Buffer::filePath
5555 * insetbib.C (getFiles): add a #warning for Angus
5557 * insetgraphics.C: Add a remark about how filenames should be
5558 considered to be relative to buffer (but absolute is still allowed)
5559 (draw): do not try to get status if lyxrc.use_gui is false
5561 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5564 * insetcollapsable.[Ch]:
5565 * insettabular.[Ch] (searchForward, searchBackward): change the
5566 bool const & params to bool.
5568 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5569 to avoid the name clash with InsetCollapsable's methods of the same
5570 names but different functionality.
5572 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5574 * insettext.C (ascii): use lyx::count rather than countChar.
5576 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5578 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5580 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5582 * insetgraphics.C (updateInset): do not try to render image if
5583 lyxrc.use_gui is false (bug #104)
5585 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5586 if file does not exist
5588 * figinset.C (browseFile): add shortcuts to directory buttons
5590 * insettext.C (updateLocal): update menubar and toolbar here too.
5592 2002-01-13 Allan Rae <rae@lyx.org>
5594 * insettabular.C (InsetTabular): Both constructors now initialise
5595 all class variables.
5597 2002-01-11 Juergen Vigna <jug@sad.it>
5599 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5601 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5603 * insettabular.C (getStatus): add forgotten brace around multiline
5606 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5608 * insetfloat.C (validate): require "float" instead of "floats".
5610 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5612 * insettabular.C (getStatus): use FuncStatus
5614 2002-01-08 Juergen Vigna <jug@sad.it>
5616 * insettabular.C (insetButtonRelease): now this should work too
5619 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5620 if the width is a percentage.
5622 * inset.h: added isChar() function and implemented this for
5623 insetspecialchar insetquotes and insetlatexaccent.
5624 added forceDefaultParagraphs() and implemented it for insettabular.
5626 2002-01-07 Juergen Vigna <jug@sad.it>
5628 * insettext.C (getLyXText): Fixed this function. An insert into the
5629 map is only done if we REALLY have a new BufferView.
5631 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5633 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5635 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5637 * insetinclude.C: fix use of FileInfo
5639 2002-01-07 Juergen Vigna <jug@sad.it>
5641 * insettabular.C (draw): fixed clearing of cell around inset.
5643 2002-01-05 Juergen Vigna <jug@sad.it>
5645 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5646 variables are updated.
5648 * insettabular.C (resetPos): set always the inset_y as it may be
5649 needed in another function.
5650 (searchBackward): don't draw while searching.
5652 2002-01-04 Juergen Vigna <jug@sad.it>
5654 * insettext.C (lockInsetInInset): forgot to set a cursor.
5656 2002-01-02 Juergen Vigna <jug@sad.it>
5658 * insettext.C (insertInset): make the correct undo informations on
5659 inserting new insets.
5661 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5663 * insettabular.C: correct single-cell select vertically
5665 2001-12-27 Juergen Vigna <jug@sad.it>
5667 * insettabular.C (ascii): export as tab-separated-values if the
5668 function was not called from export (f.ex.: clipboard).
5670 * insetcollapsable.h: added default support for ascii, linuxdoc and
5671 docbook export (the insettext is exported by default!)
5673 * insettabular.C (copySelection): suff the clipboard with the tabular
5674 data in a tab separated format, seems more naturals then with all the
5677 2001-12-24 Juergen Vigna <jug@sad.it>
5679 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5680 to check for REAL mouseMotion.
5682 2001-12-20 Juergen Vigna <jug@sad.it>
5684 * inset.C (cursor): return the owners cursor if available instead of
5685 always only the bv->text->cursor.
5687 * insettabular.C (checkLongtableSpecial): works now.
5689 2001-12-19 Juergen Vigna <jug@sad.it>
5691 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5692 this has to be always row + 1 as 0 means not selected!
5693 (checkLongtableSpecial): added
5694 (tabularFeatures): better longtable options support
5696 * insettext.C (resizeLyXText): reinit the text always also on a
5699 2001-12-18 Juergen Vigna <jug@sad.it>
5701 * insettext.C (updateInsetInInset): look if we have to autocollapse
5702 paragraps and return if the update is requested for ourself.
5704 * insetert.C (status): update the insettext not myself as that is what
5707 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5708 function only return if the update was requested with myself.
5710 * insettext.C (insetButtonPress): fixed stupid bug.
5711 (various functions): pay attention that lt is cleared BEFORE calling
5712 updateLocal() and try to use it in the right manner (don't use it
5713 if it's not really neccessary!)
5714 (collapseParagraphs): insert a blank between collapsing paragraphs
5715 if neccessary (not already there!).
5717 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5719 * insettabular.C: move includes around a bit, add a couple of
5722 * insettext.[Ch]: move includes around a bit, other ws changes and
5725 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5727 * insettext.C (insetButtonRelease): fix compile problem
5729 2001-12-17 Juergen Vigna <jug@sad.it>
5731 * insettext.C (insetButtonPress): set the selection cursor!
5732 (insetButtonPress): clear the selection (and set with that the
5733 selection.cursor) if we only hit an inset!
5735 * insetert.C (read): removed piece of compatibility code only needed
5738 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5741 * insetcollapsable.C (insetButtonRelease): changed so that it can
5742 open eventual existing popup dialogs on mousebutton==3.
5744 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5746 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5748 * inset.C (insetButtonRelease): return a bool for telling the outer
5749 world that we opened a dialog.
5751 2001-12-07 Juergen Vigna <jug@sad.it>
5753 * insettext.C (paragraph): remove the deleteing of paragraphs as
5754 it was a WRONG move!
5756 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5759 * insettabular.C: use new setSelection(). Allow
5760 selection of single cells.
5762 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5764 * insetquotes.C (latex): fix to use the local language setting at
5765 the point where the inset is inserted (different macros for
5766 different french packages)
5768 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5770 * inset.h: add par_owner_ member variable and parOwner
5773 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5775 * insettabular.C (everywhere): adapt because widths are now real
5776 widths and not strings
5778 * insettext.C (draw): re-introduce the calls to width(), ascent()
5779 and descent() to initialize the caching variables.
5781 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5783 * insettext.C (draw):
5784 (drawFrame): use insetWidth instead of last_width
5786 * insettext.h: remove variable last_width (insetWidth is exactly
5787 the same) and last_height (computed but never used!)
5789 2001-12-10 Allan Rae <rae@lyx.org>
5791 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5793 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5795 * insettext.C (insetAllowed): add comment
5797 2001-12-05 Juergen Vigna <jug@sad.it>
5799 * insettext.C (insetAllowed): fixed for the case that we directly
5800 ask the insettext from its LyXText.
5801 (paragraph): fixed the crash when assigning the par->next() from
5802 the EmptyParagraphMechanism!
5804 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5808 * insettext.C: change "while(" to "while ("
5810 2001-12-04 Juergen Vigna <jug@sad.it>
5812 * insetert.C (edit): handle Inlined status.
5814 * insettext.C (insertInset): trying John's fix for the trailing cursor
5816 * insetert.C (insetButtonPress): added to handle inlined status
5817 (insetMotionNotify): ditto.
5819 * insettext.C (clearInset): changed Painter & in BufferView * param,
5820 to be able to call ascent,descent methods.
5822 2001-12-03 Juergen Vigna <jug@sad.it>
5824 * insettext.C (updateInsetInInset): use lt variable to forbid
5825 changes of LyXText in an update call.
5826 (updateInsetInInset): fixed updating of non locked insets!
5828 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5830 * insettabular.C: capture some more functions to prevent
5831 selection drawing problems. Bug #451274
5833 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5836 * insetgraphicsParams.C: fix inverted sense of float_equal
5838 2001-11-30 Juergen Vigna <jug@sad.it>
5840 * insettabular.C (InsetTabular): use the save_id flag to create also
5841 the tabular with the same id's.
5843 * insettext.C (setParagraphData): added a same_id function for undo
5844 to set the same paragraph id's as of the paragraph we are setting.
5846 2001-11-30 José Matos <jamatos@fep.up.pt>
5849 * insettoc.[Ch]: DocBook -> docbook.
5851 2001-11-29 André Pönitz <poenitz@gmx.net>
5854 * insettext.C: further reduction of header dependencies by using
5855 lyx::layout_type and lyx::textclass_type from support/types.h
5857 2001-11-29 Juergen Vigna <jug@sad.it>
5859 * insettext.C: inserted a reinitLyXText function everywhere I delete
5860 the paragraphs! This should fixe the crashes we had.
5861 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5862 (paragraph): set the InsetOwner() of the new paragraphs!
5864 2001-11-28 André Pönitz <poenitz@gmx.net>
5866 * insetnote.C: add pos initialization that I removed without
5869 2001-11-28 Juergen Vigna <jug@sad.it>
5871 * insettabular.C (resetPos): hack to not crash with infinite paints.
5873 * insettabular.h: insert missing function allowSpellcheck()!
5875 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5877 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5880 * insetfloatlist.C: derive from InsetCommand so gui can use it
5883 2001-11-26 André Pönitz <poenitz@gmx.net>
5887 * insetnote.C: reduce header dependencies, introduce type for
5890 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5892 * various: update for Alert.h
5894 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5896 * inset.h: fix comment
5898 * insettext.C: use par->isInset()
5900 2001-11-22 Allan Rae <rae@lyx.org>
5902 * insetcollapsable.h:
5903 * inset.h: Changes to checkInsertChar() behaviour.
5904 Now return value indicates whether chars can be inserted.
5906 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5908 * various: updated to use the new LaTeXFeatures
5910 2001-11-14 José Matos <jamatos@fep.up.pt>
5912 * insetspecialchar.C (linuxdoc):
5913 (docbook): don't give a name to a unused variable.
5915 * insettext.C (docbook): removed unused variable.
5917 2001-11-13 Herbert Voss <voss@perce.de>
5919 * insetgraphic.C: fix scale bug
5921 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5923 * inset.h (isSpace):
5924 (isLetter): new virtual methods.
5926 * insetspecialchar.C (isSpace):
5927 (isLetter): implement here.
5929 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5931 * inset.h: new inline helpers
5933 * insettext.C: use new helpers
5935 2001-11-07 José Matos <jamatos@fep.up.pt>
5937 * insettext.C (docbook): full support for paragraphs inside insettext.
5939 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5941 * insetindex.C: added header file for std::ostream.
5943 2001-11-03 José Matos <jamatos@fep.up.pt>
5945 * insetindex.C: added using std::ostream that I forgot yesterday.
5947 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5949 * insetindex.h (docbook):
5950 * insetindex.C (docbook): added support for docbook export.
5952 2001-11-02 José Matos <jamatos@fep.up.pt>
5954 * insetcaption.C(docbook): added support for docbook export.
5956 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5958 * insetexternal.C (updateExternal): Do not run update command if
5959 result file exists and is up to date.
5961 * ExternalTemplate.C (readFormat): Support the updateresult token.
5963 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5965 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5966 external_templates) to use the buffer->fileName() but only if
5967 previewing. Generating a TeX file should make FPath return
5970 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5973 * insetert.C: fix some problems
5975 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5977 * insetexternal.C (doSubstitution): Added $$FPath token
5978 to list of usable substitutions in external inset templates.
5980 2001-10-24 Juergen Vigna <jug@sad.it>
5982 * insettabular.C: use new ltType struct for setting longtable
5983 header and footers also new UNSET enums.
5985 2001-10-24 José Matos <jamatos@fep.up.pt>
5987 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5988 (docbook): If the table is not inside a float then wrap it inside
5989 <informaltable>...</informaltable>.
5991 2001-10-23 José Matos <jamatos@fep.up.pt>
5993 * insetref.C (docbook): removed / terminator to conform SGML.
5995 * insetspecialchar.C (linuxdoc):
5996 (docbook): Added support for special chars, more than ascii export.
5998 2001-10-22 Juergen Vigna <jug@sad.it>
6000 * insettext.C (checkInsertChar): added for REALLY checking the
6001 font of the inserted char in the right inset!
6003 2001-10-19 Juergen Vigna <jug@sad.it>
6005 * inset.h: added method allowSpellcheck() so that insets who do
6006 not have anything to spellcheck can tell and so they are over-jumped.
6007 Implemented for InsetText and co.
6009 2001-10-18 Juergen Vigna <jug@sad.it>
6011 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6013 2001-10-15 José Matos <jamatos@fep.up.pt>
6015 * insetert.C: allow export for docbook and linuxdoc
6017 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6019 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6021 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6023 * insetquotes.C (dispString): fix handling of latin9 quotes
6025 2001-10-03 Juergen Vigna <jug@sad.it>
6029 * insetcollapsable.C: change updateInset calls to not tell BV that
6030 we have changed status.
6032 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6034 * insettabular.C (deletable): make const
6036 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6038 * insetert.C (latex): Fix the returned value
6040 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6042 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6043 Returns string(), so nothing in an ERT inset is spellchecked.
6045 * insetgraphics.C (draw): print the filename if not displaying the
6047 (width): make sure that the width and draw methods are consistent.
6048 (updateInset): don't even load the image into cache if not displaying
6051 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6053 * various files (selectNextWord): renamed as
6054 selectNextWordToSpellcheck.
6056 * insetgraphics.C (draw): remove the previous change. Right place
6057 is in imageLoaderXPM.C.
6058 (draw): don't display the image if params.display == NONE.
6060 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6062 * figinset.C (runqueue):
6063 * insetgraphics.C (draw): set background colour of inset from
6064 background to the user-configurable graphicsbg.
6066 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6068 * insetquotes.C (InsetQuotes): when trying to decide the side of
6069 the quote, choose `left' only after a space or '('
6071 2001-09-04 José Matos <jamatos@fep.up.pt>
6076 * insetcollapsable.h
6094 * insetlatexaccent.C
6095 * insetlatexaccent.h
6100 * insetspecialchar.C
6101 * insetspecialchar.h
6105 * insettext.C (docbook): rename docBook method to docbook.
6107 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6109 * inset.h (getFirstParagraph): New virtual method.
6111 2001-08-20 Herbert Voss <voss@perce.de>
6112 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6113 in the the bibtex-database-gui for inserting a line
6116 If no style is given than there is no tex-output.
6118 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6120 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6124 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6126 * insetert.C (latex): Fix output for multiple paragraphs.
6127 (write): New code for writing paragraph data.
6128 (read): Set font after reading the inset.
6129 (localDispatch): Call set_latex_font() for more cases.
6131 * insetnote.h: Add empty validate method.
6134 * insetnote.C (InsetNote): Set language to the language of the
6137 2001-08-16 Juergen Vigna <jug@sad.it>
6139 * insettext.C: implemented the new FINISHED states.
6141 * insettabular.C: ditto
6143 * inset.h: added more FINISHED states for cursor right,up,down
6145 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6147 * insetfloatlist.C: use "FloatName List"
6149 2001-08-14 Juergen Vigna <jug@sad.it>
6151 * insetert.C (edit): forgot to set status_ in edit calls!
6153 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6155 * insettext.C: Compilation fix
6157 2001-08-13 Juergen Vigna <jug@sad.it>
6159 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6161 * insetcollapsable.C (edit): don't recollapse an already open inset.
6163 * insettext.C: fixed problem when reinitializing LyXText by not doing
6164 it while lt is in use and post this to the next possible time in
6166 (searchForward): fixed not unlocking of inset if nothing found.
6167 (edit): set cursor behind right (was set -1 pos).
6169 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6171 * insettabular.C (tabularFeatures): fixed fix where deleting the
6172 last row didn't get the right actcell!
6174 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6176 * insettext.C (localDispatch): Change language only when the inset
6179 2001-08-10 Juergen Vigna <jug@sad.it>
6181 * insettabular.C (selectNextWordInt): use the front using edit call.
6183 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6184 the parameter overwrite class variable inset.
6186 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6188 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6189 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6191 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6192 update only for fixed with cells.
6193 (resetPos): try to fix the lockup on spellchecking or s&r.
6195 * insettext.C (update): comment this out as it seems first wrong
6196 and second not needed anymore!
6197 (some functions): call reinitLyXText() only in update() in all other
6198 positions set only need_update = INIT.
6200 2001-08-08 Juergen Vigna <jug@sad.it>
6202 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6204 * insettext.C (insetUnlock): remove double-space on inset unlock.
6206 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6208 * insettabular.C (update): fixed cursor positon after an insert.
6209 (insetAllowed): do not allow to insert insets when not inside the
6211 (draw): clear below an inset too as it could have changed height.
6213 * inset.C (getMaxWidth): fixed width for inset in inset.
6215 * insettext.C (update): small fix.
6217 * insettabular.C (tabularFeatures): added selection support to
6218 DELETE_ROW/DELETE_COLUMN.
6220 2001-08-07 Juergen Vigna <jug@sad.it>
6222 * inset.C (getMaxWidth): recoded and all it's implementations!
6224 * insettext.C (init,setParagraph+constructors): cleanups
6225 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6226 are new and I want do a save/restore of the cursor position which is
6227 not possible anymore.
6229 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6230 (searchBackward): ditto
6231 (selectNextWord): ditto
6233 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6235 * insetlatexaccent.C (checkContents): Add some debug messages
6237 2001-08-07 Juergen Vigna <jug@sad.it>
6239 * insetert.C (read): don't use InsetCollapsable::read as we don't
6240 write the collapsed status anymore only the status.
6243 2001-08-06 Juergen Vigna <jug@sad.it>
6245 * insetert.C (set_latex_font): use LyXText's setFont directly.
6247 * insettext.C (drawFrame): fixed one time more the right position
6248 and size of the frame!
6250 * insetert.C (~InsetERT): hide the dialog.
6251 (showInsetDialog): added implementation
6254 (status): new function for the status of the ERT inset (3-state).
6255 (write): output also the status of the inset for readback!
6256 (read): readback the status if available otherwise use collapsed_.
6258 * insettext.C (edit): small fix of setting the position, which could
6261 * insetert.C (width): implement this function for inlined viewing.
6262 Added minimum width of 10 pixels!
6264 * insetminipage.C (InsetMinipage): just change the colors a bit so
6265 that border/background is a bit more visible. We will remove this
6268 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6269 function for getting the important widths for drawing in various
6270 functions and in LyXText.
6271 (draw): fixed up a bit (frame drawing/clearing)
6273 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6275 * inset.C (convertFont): delete method. not used.
6277 2001-08-03 Juergen Vigna <jug@sad.it>
6279 * insettext.C (setFont): don't call for a draw update if we're just
6280 changing the cursor font!
6282 2001-08-02 Juergen Vigna <jug@sad.it>
6284 * insettext.C (draw): clear the background with the right color if
6285 needed. Update myself if x&max-width changed and return without doing
6286 anything. Let the update code handle the right stuff.
6288 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6289 inside another inset.
6291 2001-08-01 Juergen Vigna <jug@sad.it>
6293 * insetcollapsable.C (update): added an in_update bool so we avoid
6296 * insettabular.C (update): added an in_update bool so we avoid
6299 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6301 (update): added an in_update bool so we avoid reentering.
6303 * insettabular.C (localDispatch): clear col/row selection when doing
6304 something else inside an inset.
6306 * insettext.C (getLyXText): fixed bug when requesting a recursive
6309 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6311 * insetcite.C (latex): Paranoia check. Make sure that there is no
6312 whitespace between the citation keys.
6314 2001-07-31 Juergen Vigna <jug@sad.it>
6316 * inset.h (nodraw): make the set function also const so that this
6317 can be called from inside other const functions.
6319 * insetcollapsable.h: removed inline variable and moved it over
6320 to the only user InsetERT.
6322 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6323 inset opening immediately therein lying insets dialogs!
6325 * insetert.C (localDispatch): set the font also if we don't have any
6326 chars in this paragraph, otherwise if we delete all of em and start
6327 writing we have the wrong font.
6329 (draw): implemented for inline support
6330 (insetButtonRelease): ditto.
6332 2001-07-30 Juergen Vigna <jug@sad.it>
6334 * insettext.C (reinitLyXText): new function to reinit the insets
6335 text after lot's of paragraph changes. Use this instead of the
6336 cache.clear() which is VERY dangerous.
6338 * insetfloat.C (insetButtonRelease): we should only show the dialog
6339 if we press on the label otherwise we have problems to open mouse
6340 button 3 dialogs inside this float (f.ex. of a tabular!)
6342 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6344 * insetert.C: change back to "ERT"
6346 * insetfloat.C: handliign of RMB on label added.
6348 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6350 * insetgraphicsParams.C: #include LOstream.h here.
6352 * insetfoot.h: remove InsetFoot:: qualifier.
6354 2001-07-29 Baruch Even <baruch@lyx.org>
6356 * ChangeLog: Hiding time travel evidence.
6358 * insetgraphicsParams.h:
6359 * insetgraphicsParams.C:
6360 * insetgraphics.C: Added horizontal scale option, it actually
6361 scales both directions since it keeps image proportions.
6363 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6365 2001-07-29 Baruch Even <baruch@lyx.org>
6367 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6368 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6370 HACKY! Will need to add an EPS detection routine like old InsetFig
6373 2001-07-29 Baruch Even <baruch@lyx.org>
6375 * insetgraphics.C: Added EPSI to be an alias of EPS.
6377 2001-07-29 Baruch Even <baruch@lyx.org>
6379 * insetgraphics.C: Change GRAPHICS to Graphics.
6380 Changed image conversion rules (documented at the beginning of file).
6382 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6384 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6387 * insetgraphics.C: added a using std::endl directive.
6389 * insetcommand.h (getScreenLabel): removed pure virtual function,
6390 as it duplicates that in InsetButton.
6392 * insetbib.[Ch] (getScreenLabel):
6393 * insetbutton.[Ch] (getScreenLabel):
6394 * insetcite.[Ch] (getScreenLabel):
6395 * insetert.[Ch] (getScreenLabel):
6396 * insetexternal.[Ch] (getScreenLabel):
6397 * insetfloatlist.[Ch] (getScreenLabel):
6398 * insetinclude.[Ch] (getScreenLabel):
6399 * insetindex.[Ch] (getScreenLabel):
6400 * insetlabel.h (getScreenLabel):
6401 * insetparent.[Ch] (getScreenLabel):
6402 * insetref.[Ch] (getScreenLabel):
6403 * insettoc.[Ch] (getScreenLabel):
6404 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6406 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6408 (validate): remove check on "cite" when using natbib.
6410 2001-07-26 Baruch Even <baruch@lyx.org>
6412 * insetgraphics.C (draw): changed casting to be in one place
6413 rather than all over the function.
6416 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6418 * insetgraphicsParams.h:
6419 * insetgraphicsParams.C:
6420 * insetgraphics.C: Removed inline option and changed rotateAngle
6423 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6425 * insetfoot.C (validate): Added method to ensure that the
6426 right bit of LaTeX is emitted.
6428 * insetfoot.h: Added validate method to set the correct
6429 LaTeXFeatures bit for the special footnote code.
6431 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6433 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6436 2001-07-27 Juergen Vigna <jug@sad.it>
6438 * inset.h: remove not used font variable in parameter.
6439 removed checkInsertChar in UpdatableInset as it was equal to
6440 the one in Inset and so not needed.
6442 * insetert.C (checkInsertChar): implementation of function
6445 * inset.h: added new function checkInsertChar.
6447 * various files: added c-tor and clone() function.
6449 * insetcollapsable.h: removed clone function here as this should
6450 be only realized in REAL insets and added it to all collapsable
6451 insets! (with the copy-constructor).
6453 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6455 * insetminipage.C (read): handle missing parameters more gracefully
6457 * insetcollapsable.C (read): handel missing collapsed more gracefully
6459 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6461 * insetfloat.C (read): handle missing parameters.
6463 * insettext.C (read): handle old latex end_inset
6465 * insetert.C (setButtonLabel): new method
6466 (init): use it, to set the dynamic label correctly
6469 * Makefile.am (EXTRA_DIST): add files that is not part or the
6472 * insetcollapsable.h: remove autocollapsable (no users), remove
6473 draw_label, change_label_with_text and companion code. Remove args
6475 * insetert.[Ch]: move here instead (only user)
6477 * inset.h: rename private variable name to name_, make
6478 selectNextWord return a const string. make getInsetName return a
6479 string const &. Remove bool from open, add close.
6481 * Makefile.am: don't compile insetlist, insetsection
6484 2001-07-24 Juergen Vigna <jug@sad.it>
6486 * insetert.C (InsetERT): put init after the paragraph initialization,
6487 as otherwise we don't set the draw_label right.
6489 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6490 insets with the mouse without having strange selections.
6491 (edit): if the inset was collapsed and we open it here then put the
6492 cursor always at the beginning of the inset.
6493 (get_new_label): 15 instead of 10 max chars in the label.
6495 * insetert.C (localDispatch): added and handle various stuff we
6496 need to handle here (font setting on paragraph break, not permitted
6497 layout setting, etc.).
6499 * inset.h: added default copy-consturctor and implemented this in
6500 various insets with the change to use this in the clone function!
6502 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6504 * insetminipage.C (InsetMinipage): set background color to red :)
6506 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6508 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6509 draw frame mode is LOCKED.
6511 * insetcollapsable.C (edit):
6512 (insetButtonRelease): set update status to full when
6515 * insettext.C (clearInset):
6516 * insettabular.C (draw):
6517 * insetlatexaccent.C (draw): honor background color.
6519 * inset.h: new member background_color_, initialized to
6522 * inset.C (backgroundColor): new method.
6523 (setBackgroundColor): new method.
6525 * insetert.C (init): new method, called by the ctors.
6526 (InsetERT): when inserting contents, make sure the font is
6529 * insetnote.C (InsetNote): when inserting content, remove trailing
6531 (init): set background color to LColor::note
6533 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6535 * insetcollapsable.C: adjust
6537 * insetbutton.C: adjust
6539 2001-07-23 Juergen Vigna <jug@sad.it>
6541 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6542 parameter on the _collapsed function (was not needed) and call
6543 always width_collapsed().
6545 * insetert.C (InsetERT): use setLabel with "true" flag.
6547 * insetcollapsable.C: modified various functions to set the draw_label
6548 string right in any condition.
6549 (setLabel): added a bool parameter to set change_label_with_text.
6551 * insetcollapsable.h: added draw_label string which is set to the
6552 actual drawn label-string, while label is the original static label
6553 of this collapsable inset. Added bool change_label_with_text to set
6554 if we want that the label changes to the start of the InsetText's
6555 text when collabpsed. You can set this flag with the setLabel funciton.
6556 Added bool inlined for inlined collapsable insets, but not handled
6559 * insetcollapsable.C (get_new_label): added should get a new label
6560 from the InsetText beginning (for now 10 chars).
6562 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6564 * insetquotes.C (latex): fix the handling of french double quotes
6565 when not using the french pachage.
6567 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6569 * insetcollapsable.h: make WidthCollapsed mutable.
6571 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6572 InsetPrintIndex returns INDEX_PRINT_CODE.
6574 * inset.h: add INDEX_PRINT_CODE
6576 * insetcollapsable.C (draw): init widthCollapsed if necessary
6579 * insetquotes.C (width): use the local language, not the document
6582 (dispString): add additional spacing for all french languages,
6584 (validate): make it work when there is no default language
6586 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6588 * insetnote.C (init): new method, called by the constructors
6589 (InsetNote): new constructor with contents passed as a string
6591 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6593 * insetfootlike.C (insetAllowed): disallow float in footlike.
6595 * insetert.C (InsetERT): add collapsed argument to the constrctor
6598 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6600 * insetindex.h: shut off warning
6602 2001-07-20 Juergen Vigna <jug@sad.it>
6604 * insetcollapsable.C (update): recoded hopefully works now!
6606 2001-07-19 Juergen Vigna <jug@sad.it>
6608 * most files: implemented the below new introduced function.
6610 * inset.h: added new edit(BufferView *, bool front) method to be able
6611 to enter an inset from the front/back without knowing x/y positions
6612 and baselines inside the inset. So I just can tell the inset activate
6613 me and set the cursor on the front/back of yourself.
6615 2001-07-18 Juergen Vigna <jug@sad.it>
6617 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6618 is given to the InsetText.
6619 (insetButtonPress): ditto
6620 (insetButtonRelease): ditto
6621 (insetMotionNotify): ditto
6623 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6625 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6626 LIGATURE_BREAK, since the name is so stupid.
6628 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6630 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6631 the default InsetCollapsable methods. I.e., it can insert anything.
6632 (write) output the name of the inset, not some silly hack for
6633 compatability with the old InsetInfo.
6635 * insetinfo.[Ch]: removed.
6636 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6637 now collapsable, but functionality is otherwise identical to InsetInfo.
6639 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6641 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6643 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6646 * insetquotes.C: general cleanup
6647 (dispString): add spaces inside french double quotes.
6648 (latex): ditto. Moreover, treat first the case where the frenchb
6649 or french options have been given.
6651 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6653 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6656 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6658 * figinset.C (RegisterFigure): Print debug message only when
6659 current_view is available.
6661 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6663 * many files: update to match the change below
6665 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6666 implement the version which takes an inset here.
6668 * insetcollapsable.[Ch]: implement open and isOpen
6670 * inset.h: remove insertInsetAllowed from Inset
6671 (open): new method, to open or close an inset
6672 (isOpen): returns the status of an inset
6673 (isCollapsable, colapse): removed
6675 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6677 * insetquotes.C (dispString): display french guillemets when using
6680 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6682 * insetcollapsable.h: remove bogus return statements
6684 2001-07-18 Juergen Vigna <jug@sad.it>
6686 * insettabular.C (selectNextWord): fixed spellchecking for the
6687 first cell of a tabular (wasn't entered!)
6688 (getLyXText): changed to enter automatically insettext and return
6689 it's LyXText if we're locked.
6691 2001-07-17 Juergen Vigna <jug@sad.it>
6693 * various files: implemented the below functions.
6695 * inset.h: added functions
6696 - virtual string selectNextWord(BufferView *, float & value) const;
6697 - virtual void selectSelectedWord(BufferView *) { return; }
6698 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6699 needed for spellchecking correctly!
6701 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6703 * insetert.C (latex): write out all paragraphs.
6705 2001-07-17 Baruch Even <baruch@lyx.org>
6707 * insetgraphics.C (draw): Removed unneeded casts.
6709 2001-07-16 Juergen Vigna <jug@sad.it>
6711 * insettext.C (update): fixed small oversight (reset lt to 0).
6713 2001-07-14 Baruch Even <baruch@lyx.org>
6716 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6718 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6720 Consistent use of Lsstream.h:
6721 * figinset.C: removed using std::ostringstream directive.
6723 * insetgraphics.C (createLatexOptions):
6724 * insetinclude.C (unique_id):
6725 std::ostringstream -> ostringstream.
6726 * insettext.C (localDispatch): std::istringstream -> istringstream.
6728 2001-07-13 Juergen Vigna <jug@sad.it>
6730 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6732 * insetcollapsable.C (getLockingInset): ditto.
6734 2001-07-12 Juergen Vigna <jug@sad.it>
6736 * insetcollapsable.h: added implementation of new function for
6739 * various files: added implementation of new insertInsetAllowed-func
6740 and redone the function a bit more.
6742 * inset.h: added isCollapsable(), bool collapsed(),
6743 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6745 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6747 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6748 LyXText which is marked for removal while we're using it!
6750 * insettext.h: added private LyXText * lt to use it to assure we are
6751 not deleting our LyXText while we're using it!
6753 2001-07-11 Juergen Vigna <jug@sad.it>
6755 * insettext.C (insertInset): check if we are before the inset after
6756 inserting it! This check IS needed. Remove the Undo-Call as it is
6757 called in LyXText::insertInset!
6759 * insettext.h: added struct InnerCache.
6761 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6762 that we ONLY delete the LyXText in the getLyXText() routine. So we
6763 are sure we don't delete LyXText while someone is working with it!
6765 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6767 * insetexternal.C: (*it). -> it->
6768 * insettext.C: ditto
6770 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6772 * insetcollapsable.C (edit): always open collapsed insets (even if
6773 they are not autocollapsable)
6775 * insetcommand.C (operator=): simplify.
6777 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6779 * insetert.C (latex): handle META_NEWLINE
6781 2001-07-09 Juergen Vigna <jug@sad.it>
6783 * insetert.h: a normal InsetText can insert insets, but we won't.
6785 * inset.h: return default "false" on insertInsetAllowed and implement
6786 this function where a returnvalue != "false" is needed.
6788 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6790 * insetert.C (InsetERT): new contructor
6792 2001-07-06 Juergen Vigna <jug@sad.it>
6794 * a lot of files: added implementation of the below new functions
6795 and the change to clone(). Also the call of the new undo-functions
6798 * inset.h: added an inset_id, added functions getParFromID,
6799 getInsetFromID, firstParagraph, cursor and id functions, added
6800 bool same_ids to clone function.
6802 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6804 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6805 of BufferView * and shared_ptr<LyXText>
6807 2001-07-05 Juergen Vigna <jug@sad.it>
6809 * insettext.C (clear): deleted also the cache not only LyXText.
6810 (setParagraphData): ditto.
6812 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6814 * insetfloat.C (latex): let the specific placement take presedence
6815 if set, otherwise choose document placement if set, otherwise just
6816 use float default placement.
6818 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6820 * insettext.C (localDispatch): call CutAndPaste::'s static method
6823 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6825 * insetbib.C: no meed to include forms.h here.
6827 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6829 * insettext.C: added using std::make_pair directive.
6831 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6833 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6835 (deleteLyXText): ditto
6836 (resizeLyXText): ditto
6838 2001-07-02 Juergen Vigna <jug@sad.it>
6840 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6841 following calls are only returned the right pointer without the over
6842 head to search in the map.
6843 (various funcs): reset the cached_bview variable as this signs that
6844 the cache is not valid anymore.
6846 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6848 * insettabular.C (clone): do not copy the LyXTabular twice
6850 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6852 * insettext.h (TEXT): delete method
6854 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6856 * insetmarginal.C (latex):
6857 * insetfoot.C (latex): fix spacing of notes in LaTeX
6859 * insettext.C (localDispatch): use .c_str() on istringstream
6860 constructor argument.
6862 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6867 * inseturl.C: fix method names in these to begin
6868 with small char too, so they inherit
6870 2001-06-28 Juergen Vigna <jug@sad.it>
6872 * insettext.C (setFont): fixed font settings using toggleFree()
6873 instead of setFont().
6875 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6877 * Change a lot of method names to begin with a small char.
6878 Changes to a lot of files because of this.
6880 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6882 * insetfloatlist.C (Write): std:: qualify ostream
6885 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6889 * insetgraphics.C: send debug output to Debug::INFO instead of
6892 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6895 * insettabular.C (getStatus): update to use func_status
6897 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6899 * insetref.C (DocBook): added support for cross-references without
6902 2001-06-26 The LyX Project <jug@sad.it>
6907 * insetlabel.h: removed escape method and moved it to
6910 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6912 * insettabular.C (getMaxWidth): do the speedup in a different way,
6915 2001-06-24 The LyX Project <Asger>
6917 * insettabular.C (getMaxWidth): We cache a mapping from
6918 inset to cell in order to speed this method up.
6920 2001-06-24 The LyX Project <Asger>
6922 * insettext.C: Optimized InsetText::draw or something.
6924 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6926 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6928 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6930 * inset.h: name change from lyxinset.h
6932 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6934 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6936 2001-06-14 Juergen Vigna <jug@sad.it>
6938 * insettext.C (draw): removed warnings.
6940 2001-06-13 Juergen Vigna <jug@sad.it>
6942 * insettabular.C (nodraw): only go down the tree if we don't have
6943 that flag set otherwise it's obvious that we don't want to draw.
6944 (LocalDispatch): do also an update if we have an undispached result.
6946 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6949 * insetgraphicsParams.C:
6950 * insettext.C: removed // -*- C++ -*- as first line.
6952 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6954 * lyxinset.h (resizeLyXText): shut off warning about unused
6957 2001-06-07 Juergen Vigna <jug@sad.it>
6959 * insettext.C (resizeLyXText): honor the new force flag.
6961 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6963 * insettabular.C (deleteLyXText): new function
6965 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6973 * insetcollapsable.C:
6974 * insetcaption.C: LColor tidy
6976 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6978 * figinset.C: fix typo
6980 2001-06-01 Juergen Vigna <jug@sad.it>
6982 * insettabular.C (resetPos): small hack so that scroll is not set to
6983 0 when we are in the last column of a tabular. This is a problem we
6984 have because of constats 20 offset on both directions, so this can
6985 cause on the limit an endless loop.
6987 * insettext.C (SetFont): forgot that we can have locking insets ;)
6989 2001-05-31 Juergen Vigna <jug@sad.it>
6991 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6993 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6995 * figinset.C: add using std:: directive for the C functions which
6998 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7000 * insetfloat.C (Write): write out wide info
7001 (Read): read the wide info
7002 (Latex): use the wide info when creating latex.
7004 * insettext.C: adjust
7006 * insetgraphics.[Ch] (statusMessage): change to return string
7010 * figinset.C (runqueue): add std::
7013 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7015 * insetcite.C (Ascii): add std:: qualifier
7017 2001-05-28 Juergen Vigna <jug@sad.it>
7019 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7020 a endless-width inset (maxWidth < 0).
7021 (Edit): change language only if not equal.
7023 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7025 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7027 2001-05-16 Juergen Vigna <jug@sad.it>
7029 * insettext.C (selectAll): added
7030 (clearSelection): added
7032 * insettabular.C (SetFont): now we may set a font on a whole selection!
7033 (getSelection): added helper function.
7035 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7037 * insetcite.C (Ascii): Add method.
7039 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7042 * insetbib.C: fix path for OS/2 & Win32
7044 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7046 * insetfoot.C (Latex): don't use % after footnote.
7048 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7050 * insettext.C (Read): use clear
7051 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7053 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7055 * insetfloatlist.h: add a bunch of std:: qualifiers.
7057 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7059 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7060 FLOAT_LIST_CODE, renumber code list.
7062 * insettoc.C (getScreenLabel): remove support for float lists
7066 * insetfloatlist.[Ch]: new files
7068 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7070 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7072 * insettabular.C (LocalDispatch):
7073 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7076 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7078 * insettext.C: remvoe !NEW_INSETS cruft
7080 * insettabular.C: remove !NEW_INSETS cruft
7082 * insetcollapsable.h: remove !NEW_INSETS cruft
7084 * insetbib.C: remove !NEW_INSETS cruft
7086 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7088 * insettoc.C: hack to make listof algorithm work
7090 2001-04-20 Juergen Vigna <jug@sad.it>
7092 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7094 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7096 * insetquotes.C (Latex): improve the guard against
7097 unwanted !` and ?` ligatures. This should really be done in
7098 another place (to catch all this ligatures at low-level).
7100 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7102 * insettext.C (init): remvoe leftovers from cursor_visible change
7103 (draw): use c++ cast
7104 (LocalDispatch): dispatch LFUN_MESSAGE
7106 * insettabular.C (InsetTabular): remove leftovers from
7107 cursor_visible, and scoped_ptr changes
7108 (draw): use c++ cast
7110 * insetcollapsable.C (draw): use c++ cast
7112 * ExternalTemplate.h: inherit privaely from noncopyable
7113 * insetcommand.h: ditto
7114 * insetinclude.h: ditto
7116 2001-04-16 Allan Rae <rae@lyx.org>
7118 * insettoc.C (Ascii):
7119 * insettext.C (draw):
7120 * insettabular.C (setPos):
7121 * insetminipage.C (Read):
7122 * insetfloat.C (placement):
7123 * insetcaption.C (Ascii, DocBook):
7124 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7125 an unrecognised preprocessor directive. So ensure they're wrapped.
7127 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7130 * insetexternal.C: set view on Clone. Add _ to private members.
7132 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7134 * insettext.C (InsetText): fix new
7135 (InsetText): reindent some, simplify deletion of par list
7136 (clear): simplify deletion of par list, fix new
7137 (SetParagraphData): simplify deletion of par list
7139 * insettabular.[Ch] (getLabelList): implement new method
7141 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7143 * lyxinset.h: do not include gettext.h...
7151 * insetlatexaccent.C:
7155 * inseturl.C: ... and do it here instead
7157 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7159 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7161 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7163 * insetcollapsable.[Ch] (getLabelList): implement
7165 * insettext.[Ch] (getLabelList): implement
7167 * insettext.h: reindent
7169 * insettabular.h: make tabular a scoped_ptr
7171 * insettext.C (init): adjust for cursor_visible
7172 (ToggleInsetCursor): constify asc and desc, font, adjust for
7174 (ShowInsetCursor): constify asc and desc, font, adjust for
7176 (HideInsetCursor): adjust for cursor_visible
7178 * insettabular.C: reindent some
7179 (InsetTabular): adjust for scoped_ptr and cursor_visible
7180 (InsetTabular): ditto
7181 (~InsetTabular): delete delete
7182 (Clone): adjust for scoped_ptr
7183 (Read): constify old_format, adjust for scoped_ptr, move init of
7185 (draw): constify tx, localize loop vars.
7186 some other localization of variables, remove double initilizatons.
7188 * insetfoot.C: remove using std::ostream, add ostream where needed
7190 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7192 * lyxinset.h: some reindentaion, use initializer list for
7194 UpdatableInset: make cursor_visible a private var add
7195 public isCursorVisible(), add protected toggleCursorVisible() and
7196 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7198 * insettoc.C: remvoe using decl
7199 (getScreenLabel): make cmdname donst
7202 (Ascii): don't use endl
7204 * insetfootlike.C: remove using decl at file scope and add std::
7206 * insetmarginal.C: ditto
7208 * insetfoot.C: some reformatting
7210 * insetfloat.C (InsetButtonRelease): adjust the hit area
7212 * insetert.C (SetFont): some reformatting
7214 * insetcollapsable.C: some reformatting and constification
7215 (Clone): comment out.
7216 * insetcollapsable.h: some reformatting
7217 (Clone): comment out.
7222 2001-03-30 Juergen Vigna <jug@sad.it>
7224 * insetcollapsable.h: changen *inset to be a InsetText inset.
7226 * some files: changed to reflect the above change.
7228 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7230 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7231 InsetExternal::Params.
7232 Added operator==() and operator!=() for the Params struct.
7234 2001-03-29 Juergen Vigna <jug@sad.it>
7236 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7239 * insetminipage.C: removed widthp_ and all it's functions and changed
7240 to use new %-lengths of LyXLength.
7242 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7244 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7246 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7248 * insetgraphicsParams.C (operator!=): new function, needed by the
7249 ControlGraphics class.
7251 2001-03-28 Juergen Vigna <jug@sad.it>
7253 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7254 (checkAndActivateInset): don't use the values returned from
7255 call to bv->checkInsetHit.
7257 * insetminipage.C (Clone): set special minipage values.
7259 * insetcollapsable.C (draw): changed to draw the button in the
7260 upper left corner outside the textinset.
7261 (ascent): changed because of different drawing
7265 (InsetButtonPress): ditto
7266 (InsetButtonRelease): ditto
7267 (InsetMotionNotify): ditto
7269 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7271 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7275 2001-03-26 Juergen Vigna <jug@sad.it>
7277 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7279 * insettext.C (ShowInsetDialog): implemented above function.
7281 * insettabular.C (ShowInsetDialog): ditto
7283 * insetminipage.C (ShowInsetDialog): ditto
7285 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7287 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7288 InsetInclude::Params. Don't store a buffer * in Params. Store the
7289 master file name instead.
7291 2001-03-23 Juergen Vigna <jug@sad.it>
7293 * insetcollapsable.C (InsetMotionNotify):
7294 (InsetButtonRelease):
7295 (InsetButtonPress): fixed y-offset (minipages).
7297 * insettext.C (draw): force a FULL update if cleared == true.
7299 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7300 routine to draw the minipages on its position-flag.
7301 (InsetInInsetY): give back the right y position, because of minipage
7304 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7307 * insetfloat.C (DocBook): docbook export code.
7309 2001-03-22 Juergen Vigna <jug@sad.it>
7311 * insetminipage.C (getMaxWidth): added function to set the drawing
7313 (Read): should work now!
7315 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7316 if we create a new inset.
7318 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7320 * figinset.C (fl_set_preemptive_callback): moved definition outside
7323 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7325 * insetminipage.C (Read): prepare for reading of minipage arguments.
7327 2001-03-18 Baruch Even <baruch@lyx.org>
7329 * insetgraphics.C: Minor cleanups of the comments and code.
7331 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7333 * insetminipage.C (InsetMinipage): default to not collapsed
7335 2001-03-16 Juergen Vigna <jug@sad.it>
7337 * insetminipage.C (width): modified with to be a string
7338 (widthp): added widthp (for % width) support functions.
7339 (InsetButtonRelease): added to open the options dialog on button==3.
7340 (~InsetMinipage): added to hide the dialog.
7342 * insetminipage.h: added hideDialog signal
7344 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7346 * insetminipage.h: change the order or Position to match
7347 LyXParagraph::MINIPAGE_ALIGNMENT
7349 * several files: remvoe CXX_WORKING_NAMESPACES
7351 * ExternalTemplate.h: noncopyable is in namespace boost
7352 * insetinclude.h: ditto
7353 * insetcommand.h: ditto
7355 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7357 * insettext.C (Edit): #else# -> #else.
7358 * insettoc.C: added using directive.
7360 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7362 * insetminipage.h: add pos, inner_pos, width and height. + getters
7363 and setters for all of them.
7365 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7367 * insetinclude.C (Latex): Do not exit when the textclass of the
7368 included file differ from the textclass of the parent file.
7370 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7372 * ExternalTemplate.C (read): the reading of external insets now checks
7373 for \end_inset and removes it form the input stream.
7375 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7377 * ExternalTemplate.h:
7378 * ExternalTemplate.C:
7380 * insetexternal.C: move form to GUII
7382 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7385 * insetinclude.C: add InsetIncludeParams, use
7386 composition rather than derivation of InsetCommand
7388 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7390 * insettoc.C (Ascii): use the Buffer typedefs
7392 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7394 * insettoc.C (Ascii): implement for dynamic number of lists
7396 * insetcaption.[Ch]: update from new_insets branch
7397 * insetfloat.[Ch]: ditto
7399 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7402 * figinset.C: use new File Dialog
7404 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7406 * insettext.C: changes becuase of ParagraphParameters.
7408 2001-02-28 Baruch Even <baruch@ev-en.org>
7410 * insetgraphics.C (updateInset): Changed due to the change in
7413 2001-02-26 Juergen Vigna <jug@sad.it>
7415 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7416 handled in LyXText).
7418 2001-02-23 Juergen Vigna <jug@sad.it>
7420 * insettext.C (draw): some small repainting fixes.
7421 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7423 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7424 should be) and not an int.
7426 * insettabular.C (LocalDispatch): ditto
7428 * insettext.C (LocalDispatch): ditto
7430 * insetcollapsable.C (LocalDispatch): ditto
7432 2001-02-22 Juergen Vigna <jug@sad.it>
7434 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7435 DISPATCH it and we don't have a locking_inset.
7437 2001-02-21 Baruch Even <baruch@ev-en.org>
7439 * insetgraphics.[Ch]: Changed to use
7440 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7442 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7444 * insetcollapsable.C (getLyXText): add const qualifier to second
7447 2001-02-22 Juergen Vigna <jug@sad.it>
7449 * insettext.C (getLyXText): honor the recursive parameter.
7450 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7452 * inset.C (getLyXText): added bool recursive parameter.
7454 * insettext.C (SetUpdateStatus): or the update codes.
7455 (draw): check need_update with &.
7456 (InsetButtonPress): set no_selection to not put a selection when
7457 entering an inset and it is redraws in another spot.
7459 * insettext.h: made need_update an int.
7461 2001-02-20 Baruch Even <baruch@ev-en.org>
7464 * insetgraphisc.C: Changed to use better semantics when loading images
7465 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7467 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7471 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7472 consistent with InsetTabular.
7474 2001-02-19 Juergen Vigna <jug@sad.it>
7476 * insettabular.C (LocalDispatch): implement PAGE up/down.
7478 * insettext.C (draw): clear all of it on need_update==INIT too!
7480 * insettabular.C (InsetUnlock): always clear the selection.
7482 * inset.C (scroll): normally we only want to scroll the inset until
7483 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7485 2001-02-14 Juergen Vigna <jug@sad.it>
7487 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7488 (resetPos): fixed scroll behaviour.
7489 (LocalDispatch): do an update if moving cursor inside a table cell
7490 requests a scroll of the tabular.
7492 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7494 * insettext.C (textWidth): constify local var
7496 * insettabular.C: small cleanup.
7498 * insetfoot.C (Latex): constify local var
7500 * insetcollapsable.C: small cleanup.
7502 * figinset.C (runqueue): use compare instead of strcmp
7504 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7507 * insetinfo.C: remove cruft
7509 2001-02-14 Juergen Vigna <jug@sad.it>
7511 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7513 2001-02-13 Juergen Vigna <jug@sad.it>
7515 * insettext.C (InsertInset): don't move left (is this right?)
7517 * insettabular.C (LocalDispatch): use of the no_draw variable
7519 * insettabular.h: new no_draw variable to stop redraw
7521 * insettabular.C (TabularFeatures): fixed update for alignment change
7523 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7527 * insetbib.C: move dialogs to frontends/
7529 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7531 * insettext.C (LocalDispatch): Restore the language if the inset
7534 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7536 * insettext.C (moveRightIntern): Update the selection cursor.
7537 (moveLeftIntern): Ditto.
7539 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7541 * Makefile.am: remove BoundingBox.h
7543 * BoundingBox.h: removed
7545 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7547 * insettext.C (LocalDispatch): Update selection cursor when moving
7548 cursor to the right.
7549 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7550 (moveLeftIntern): Ditto.
7552 2001-02-05 Baruch Even <baruch.even@writeme.com>
7554 * insetgraphics.C: Updated automatic image conversion, it now goes into
7555 temporary directory instead of with the image itself.
7557 2001-01-21 Baruch Even <baruch@ev-en.org>
7559 * insetgraphics.C: Added Docbook support. Added Automatic image
7560 conversion to EPS or PNG when needed (support bitmap graphics).
7562 2000-11-02 Baruch Even <baruch@ev-en.org>
7565 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
7566 to '\n' and removal of commented out code.
7568 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7570 * insetbib.C (callback): Update citations if the key has changed.
7572 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7574 * insetbib.C (InsetBibKey): Better computation of default key.
7575 (getScreenLabel) Show both the key and the label.
7576 (getBibLabel): New method.
7577 (callback): Force a redraw if the inset have been changed.
7579 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7581 * insetref.C (getType, getName): Move methods from
7582 src/frontends/xforms/FormRef.C.
7584 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7586 * insettabular.C: Various improvements (use only one dummy position).
7588 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7590 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7591 par->bibkey->width. This fixes the crashes when running without
7592 gui or when having included documents.
7594 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7596 * insetcommand.C (getAsString, setFromString): Cleanup.
7598 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7600 * insetref.C: Add the array InsetRef::types that contains
7601 information about all supported reference types.
7603 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7605 * lyxinset.h: remove trailing comma in enum.
7607 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7609 * insettext.C: kill LyXBell.