1 2005-01-23 Angus Leeming <leeming@lyx.org>
3 * insetbibitem.h (bibitemWidest): declare the function.
5 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
7 * insetgraphics.C (prepareFile): move the invocation of the default
8 converter to ../converter.C
9 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
10 call convert with try_default == true
12 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
14 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
15 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
16 determines what variables are substituted
17 * ExternalSupport.C (updateExternal): fix substitution of
20 2005-01-10 Angus Leeming <leeming@lyx.org>
22 * ExternalTemplate.C: use support/package.h to provide the paths to the
23 various directories used by LyX.
25 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
33 * ExternalTransforms.C (adjAngle): tostr -> convert
35 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
37 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
40 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
42 * ExternalTransforms.C: fix LaTeX output of \scalebox.
44 * ExternalTransforms.[Ch]:
45 * insetexternal.C: store all float/double values as strings.
48 * insetgraphicsParams.C: more precise checks for the value strings.
50 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
52 * insettext.C (doDispatch): remove unused variable was_empty
54 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
57 * insetgraphicsParams.[Ch]: store all float/double values as strings.
59 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
61 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
63 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
65 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
66 UNSET_ALL_LINES (from Jürgen)
68 2004-12-14 Angus Leeming <leeming@lyx.org>
70 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
71 to overcome bug in the MinGW port of g++ 3.4.2.
73 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
75 * insettabular.C (getCellXPos): make it return a relative x
76 position wrt. the begin of the tabular
77 (resetPos): a couple of fixes
78 (doDispatch): add a couple of resetPos calls
79 (drawSelection): fix drawing of selection in single-cell mode
80 (draw): replace 'do not draw' optimization by 'draw with
83 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
85 * insetbase.[Ch] (idxUpDown2): remove function
87 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
89 * insettabular.[Ch]: use size_t-like types for cell, row and column
92 2004-12-02 José Matos <jamatos@lyx.org>
94 * insetlatexaccent.C (checkContents): remove compatibility code,
97 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
99 * insetbase.h (getStatus): add better comment from src/cursor.C
101 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
103 * insettabular.[Ch]: adjust, introduce "do not draw
104 offscreen" optimization using NullPainter, (dist): introduce,
105 (getCursorPos): implement, (drawSelection): implement
107 * insetcollapsable.[Ch]: adjust
109 * insettext.C: adjust, (metrics): set the font before calling
112 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
114 * rename a lot of InsetOld to InsetBase
116 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
119 * insettext.C: par->pit renaming
121 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
123 * Most insets: rename priv_dispatch to doDispatch
125 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
127 * insettabular.C (tabularFeatures): fix multicolumn handling
129 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
131 * render_base.h (operator=): use common semantics
133 * insettext.C (operator=): delete this
134 (copy constructor): implement this properly
135 (init): use for_each and bind
137 (appendParagraphs): ditto
139 * insettabular.C: add more const. Adjust for changes in tabular.
141 * insetbase.h: Use NVI on clone. Add virtual doClone and update
142 all children, also make copy constructor protected. Added some
143 safe-guards to clone.
145 * insets: adjust to fit.
147 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
149 * insetoptarg.C (latexOptional): return number of lines instead of
152 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
154 * insettabular.[Ch] (string2params): Don't pretend to return the
155 active cell anymore and simplify keyword parsing.
157 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
159 * insetlatexaccent.h (isLetter): implement, so that word selection
160 takes accents into account.
162 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
164 * insetcollapsable.C (priv_dispatch): do not push the inset to the
167 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
169 * ExternalSupport.C, insetgraphics.C:
170 s/getFormatFromContents/formats.getFormatFromFile/
172 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
174 * insetcharstyle.[Ch]:
175 * insetert.[Ch]: implement getStatus
177 * insetcharstyle.C (draw): visual clue when the cursor is inside
180 2004-11-02 José Matos <jamatos@lyx.org>
182 * insetcharstyle.C (docbook):
183 * insetlabel.C (linuxdoc, docbook):
184 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
187 * insettabular.C (docbook): mixed content no longer belongs to
190 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
192 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
194 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
196 * ExternalSupport.C (updateExternal): convert files in the temp dir
198 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
200 * insetcharstyle.C: drawing cosmetics.
202 2004-10-30 José Matos <jamatos@lyx.org>
204 * insetcharstyle.C (docbook): a compromisse solution. Don't output
205 paragraph tags inside inline elements.
207 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
209 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
210 InsetText methods rather than outputVerbatim (escapes special
211 characters) [bug 1731]
212 * insetcharstyle.C (outputVerbatim): remove this function.
213 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
214 which caused an infinite loop.
216 2004-10-29 José Matos <jamatos@lyx.org>
218 * insetgraphics.C (uniqueID): transfered to sgml.C
220 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
222 * insetlabel.C (docbook, linuxdoc):
223 * insetref.C (docbook, linuxdoc): sanitize id.
225 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
227 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
228 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
229 * insetgraphics.C (findTargetFormat): reformat
231 2004-10-28 José Matos <jamatos@lyx.org>
233 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
235 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
237 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
239 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
241 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
242 "[,,,]" without warning message
244 2004-10-26 Angus Leeming <leeming@lyx.org>
246 * ExternalSupport.C (updateExternal):
247 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
248 external files to the temp directory.
250 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
252 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
253 layouts. This fixes problems with the memoir class (which does not
254 allow \footnote) [bug 1677]
256 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
258 * insetindex.C (docbook): escape the index, to generate correct sgml.
260 2004-10-23 José Matos <jamatos@lyx.org>
262 * insettext.C (docbook): rearrange arguments, due to change in the
265 2004-10-23 André Pönitz <poenitz@gmx.net>
267 * insettabular.C (cutSelection, tabularFereatures):
268 fix cursor position after cutting selection or table rows
270 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
272 * insetgraphics.C (docbook, writeImageObject): write more than one
273 format of imageobjects in <mediaobject>.
275 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
277 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
278 DocBook output for this inset ( <citation>content</citation> )
280 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
282 * insetgraphics.C (docbook) : using mediaobject for XML;
283 correcting bug with SGML output (now '>' instead of '/>')
285 2004-10-05 José Matos <jamatos@lyx.org>
287 * insetfloatlist.C (read):
288 * insetquotes.C (read):
289 * insetspace.C (read):
290 * insetspecialchar.C (read):
291 * insettabular.C (read): replace nextToken by more appropriate lex
294 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
296 * insetgraphics.C (createDocBookAttribute, docbook) :
297 convert scale, width, height and keepaspectratio to Docbook standards)
299 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
300 to Docbook units where possible.
302 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
304 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
306 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
307 as attributes with new method for docbook.
309 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
311 * render_preview.h: Use preferred calling of Boost.Signal
313 * pch.h: use proper signal include
315 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
317 * ExternalTransforms.h: User preferred calling of Boost.Function
319 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
321 * insetref.C (docbook): fixing problem where Docbook XML output
322 had unclosed <xref ... >
324 2004-08-16 José Matos <jamatos@lyx.org>
326 * insethfill.C (write):
327 * insetline.C (write):
328 * insetnewline.C (write):
329 * insetpagebreak.C (write): remove space at end of line.
331 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
333 * insettabular.C (plaintext): do not use ownerPar to get the
336 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
337 and it calls getParentLanguage (which calls ownerPar)
338 (edit): do not call sanitizeEmptyText
339 (priv_dispatch): remove code resetting font on empty inset, for
340 the same reasons as above.
342 * insettabular.C (isRightToLeft): instead of using
343 BufferView::getParentLanguage, use the data from the cursor
345 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
349 * Makefile.am: support pch
351 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
353 * insettabular.C (draw): whitespace
355 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
357 2004-08-14 André Pönitz <poenitz@gmx.net>
359 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
361 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
363 * insettabular.C (metrics): when the width of a cell is zero(),
364 let it use as much space as it can
366 * insettext.C (editXY): compilation fix
368 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
370 (metrics): the insets is not full width any more.
371 (draw): adjust; fix bad test for PREVIEW_OFF
372 (add_preview): fix bad test for PREVIEW_OFF
373 (display): do not return true when using \input
375 2004-08-14 José Matos <jamatos@lyx.org>
377 * insetbibitem.[Ch] (plaintext): added.
379 * insetcite.[Ch]: fix plaintext export.
381 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
383 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
386 * insetcaption.C (InsetCaption): modify call to setDrawFrame
387 * insetcollapsable.C (InsetCollapsable): ditto
388 * insetenv.C (InsetEnvironment): ditto
390 2004-08-14 André Pönitz <poenitz@gmx.net>
393 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
395 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
397 * insetoptarg.C (latexOptional): if the optional argument contains
398 a ']' enclose it in {curly brackets}
400 * insettext.C (editXY):
401 * insettabular.C (editXY):
402 * insetcollapsable.C (editXY):
403 * insetbase.C (editXY): constify
405 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
406 not ask for an update if we did nothing; on a mouse release, make
407 sure that the cursor is moved to the right position; on a mouse
408 release, exit from the inset instead of invoking a
411 * insetbase.C (dispatch): before invoking dispatch, set cursor
412 result to dispatch=update=true.
414 2004-08-13 José Matos <jamatos@lyx.org>
416 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
418 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
420 * insetfoot.C (latex): use OutputParams::intitle instead of
421 parOwner() (avoids time consuming lookup)
423 * insetquotes.C (latex): same as above with OutputParams::lang.
424 Moreover the code actually works now.
426 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
428 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
429 * insetinclude.C, insetgraphics.C, insetfloat.C:
430 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
431 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
432 "support/std_sstream.h" to <sstream>
434 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
436 * insetgraphics.C (prepareFile): remove conversion_needed flag.
437 It made the following fail for a .eps graphics file:
439 2) view->pdf (pdflatex)
440 because the .eps file was already in the temp dir when the pdflatex
441 export happened and therefore no .eps -> pdf conversion was done.
443 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
445 * insetgraphics.C, insettabular.C: s/wether/whether/g
447 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
449 * insetgraphics.C (stripExtension): new
450 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
452 * insetgraphics.C (prepareFile): Handle "nice" exports, too
453 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
455 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
457 * insetfloatlist.C (latex,getScreenLabel): translate according to
458 the document language (bug #1312)
460 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
462 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
463 with external_in_tmpdir and compute filename ourself
464 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
465 use it to store referenced file(s)
466 * ExternalSupport.C (writeExternal): write relative filename if
468 * ExternalTemplate.[Ch]: add ReferencedFile command
469 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
471 * insetgraphics.C (prepareFile): write relative filename if
473 * insetinclude.C (latex, docbook, linuxdoc): add file to
474 runparams.exportdata and write it to the temp dir instead of
475 writing it to the final destination
476 * insetinclude.C (docbook, linuxdoc): don't copy runparams
478 2004-05-19 Angus Leeming <leeming@lyx.org>
480 * insetcite.[Ch]: small change because namespace biblio is
481 now namespace lyx::biblio.
483 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
485 * insettabular.[Ch] (buffer): make Buffer * argument const
487 2004-05-17 Angus Leeming <leeming@lyx.org>
489 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
490 to force the button label to be re-generated.
492 2004-05-14 José Matos <jamatos@lyx.org>
494 * insetlabel (docbook): do not ouput label, for the moment.
496 2004-05-14 Angus Leeming <leeming@lyx.org>
498 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
499 new biblio::asValidLatexString function.
501 2004-05-12 Angus Leeming <leeming@lyx.org>
503 * insetcite.C: use BufferParams::cite_engine rather than the three
504 bools, use_natbib, use_jurabib, use_numerical_citations.
506 2004-05-10 Angus Leeming <leeming@lyx.org>
508 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
509 Ditto with getStyle, moved to biblio::getEngine.
511 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
513 * insetgraphics.C (validate): remove pre 233 file format stuff,
514 handle zipped files for "nice" export
516 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
518 * insetgraphics.C (prepareFile): copy zipped file and corresponding
519 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
520 * insetgraphics.C (prepareFile): unzip zipped file also if it has
521 changed since the last run
522 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
523 and copyFileIfNeeded.
525 2004-04-29 Angus Leeming <leeming@lyx.org>
527 * ExternalTemplate.[Ch]: remove redundant #includes.
529 2004-04-28 Angus Leeming <leeming@lyx.org>
532 s/updateToolbar()/updateToolbars()/
534 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
536 * insetgraphics.C: require file extension (file format change!)
537 * insetgraphics.C (latex): handle zipped files for "nice" export
539 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
541 * insetgraphics.C (latex): strip the extension and replace dots in
542 the filename if doing a "nice" export. This is a partial fix for
543 bug 1231 without reintroducing bug 655.
545 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
547 * insetoptarg.h: remove the editable() method (InsetCollapsable
548 does it better already)
550 * insetbibtex.C (normalize_name): new helper function. Changes the
551 name to be suitable to use in a latex file (relative to master
552 buffer if necessary).
553 (latex): use normalize_name.
555 2004-04-20 Angus Leeming <leeming@lyx.org>
557 * render_preview.C (startLoading): remove lyxerr statement.
559 (getPreviewLoader): new helper function.
561 2004-04-19 Angus Leeming <leeming@lyx.org>
565 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
567 2004-04-19 Angus Leeming <leeming@lyx.org>
569 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
571 (add_preview): renamed as add_preview_and_start_loading. Invoke
572 RenderPreview::startLoading.
574 * insetinclude.C (metrics, draw): changes due to the changed
575 RenderPreview interface.
577 * render_preview.C: remove cached pimage_.
578 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
579 (draw): don't call startLoading. That's up to the user of
582 2004-04-16 Angus Leeming <leeming@lyx.org>
584 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
586 2004-04-13 Angus Leeming <leeming@lyx.org>
588 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
589 the renderer to inform LyX::updateInset that the inset's status
590 has changed and it should be redrawn.
592 * render_button.[Ch] (clone):
593 * render_graphic.[Ch] (c-tors, clone):
594 * render_preview.[Ch] (c-tors, clone): ditto.
596 * render_graphic.[Ch] (connect):
597 * render_preview.[Ch] (connect): removed, as connection is now
598 made in the constructors.
602 * insetinclude.C: ensuing simplification of the client code.
603 (statusChanged): now superfluous. Removed.
605 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
607 * ExternalTemplate.[Ch]: remove editCommand
608 * ExternalSupport.C (editExternal): use formats.edit() instead of
609 the removed editCommand template parameter
610 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
611 * insetgraphics.[Ch] (editGraphics): new method
613 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
615 * insetinclude.C (validate): set/reset features.buffer_ when
618 2004-04-07 Angus Leeming <leeming@lyx.org>
620 * insetexternal.C (priv_dispatch):
621 * insetinclude.C (priv_dispatch): prevent crash by invoking
622 InsetOld::priv_dispatch at the end of the switch, rather than
623 InsetOld::dispatch...
625 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
627 * insetcollapsable.C:
628 * insetbranch.C: 'assign' to open/close branch inset according to
629 selection; also print content on closed branch button
631 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
633 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
634 $$RelPath_Master, $$RelPath_Parent, $$Extension,
635 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
637 * ExternalSupport.C (updateExternal): use absolute and output
638 filename where appropriate
640 2004-04-05 André Pönitz <poenitz@gmx.net>
642 * insetbase.h: use LCursor & in notifyCursorLeave
644 2004-04-05 Angus Leeming <leeming@lyx.org>
646 * insetgraphics.C: remove unused header file "lyxrc.h".
648 * render_graphic.C: squash bug 1372: Misleading graphics label when
649 deactivating lyx view.
651 2004-04-05 Angus Leeming <leeming@lyx.org>
656 * insetlatexaccent.C:
661 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
663 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
665 * insetfloat.C (read): fix yesterday's float fix.
666 * insetwrap.C (read): apply the fixed float fix.
668 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
670 * insetfloat.C (read): fix reading of float params
673 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
675 * insettext.C (edit): comment the call to updateLocal (dangling now)
676 * insettext.h: add allowSpellCheck() returning true
678 2004-03-31 Angus Leeming <leeming@lyx.org>
680 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
682 2004-03-31 Angus Leeming <leeming@lyx.org>
684 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
685 the cursor out of an inset.
687 * insetbranch.C (priv_dispatch):
688 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
689 use getOutOfInset to push the cursor out of the inset when
692 2004-03-30 Angus Leeming <leeming@lyx.org>
694 * insetbase.[Ch] (translate): new static member function, returns
695 an InsetBase::Code corresponding to the input string.
697 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
699 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
700 so that it opens the inset if it refers to the currently active
703 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
705 * insetfloat.C (addToToc): use par_const_iterator_begin and
706 par_const_iterator_end.
708 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
710 * insetbibtex.[Ch]: bibtopic support.
712 * insetfloat.[Ch]: add param \sideways {true|false}
713 (support for sideways floats from rotating.sty).
715 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
717 * insettext.[Ch]: add a default ctor. implement const version of
723 * insetwrap.C: adjust
725 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
727 * insettext.h: add insetAllowed returning true by default (fixing
728 vanishing insets problem)
730 * insettext.C (draw): handle the responsability of adding the
731 ouside offset to collapsable. Clean code a bit.
733 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
734 from insettext correctly, solve a couple of off-by-one drawing
737 2004-03-25 Angus Leeming <leeming@lyx.org>
739 * insetcaption.C (draw): squash warning about unused variable.
741 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
743 * ExternalSupport.C: use the master buffer's temp dir
744 * insetgraphics.C (latex): make relative filename relative to the
746 * insetgraphics.C: use the master buffer's temp dir
747 * insetinclude.C (masterFilename): new function
748 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
749 is always true if loadIfNeeded() returns true)
751 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
753 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
754 set its parent to the current buffer.
755 (latex): use the tmppath of the master buffer, not just the parent
756 buffer (makes a difference with more than one level of include
757 insets). If the file name is relative write in the .tex file a
758 name relative to the master buffer directory.
760 * insetinclude.C: rename masterFilename to parentFilename (this
761 points to the direct parent)
763 2004-03-25 André Pönitz <poenitz@gmx.net>
765 * inset.[Ch]: remover owner
767 * insetcollapsable.[Ch]: derive from InsetText instead having such a
775 * insetcharstyle.[Ch]:
783 * insetwrap.C: adjust
785 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
787 * insetquote.C: use opening quote after '[' char.
789 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
791 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
794 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
796 * insetcite.[Ch]: support jurabib.
798 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
800 * insetcite.C: Support second \cite option.
803 * insetcommandparams.[Ch]: add second optional argument.
805 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
807 * insetcollapsable.C (lfunMouseRelease): right mouse button only
808 shows the inset dialog.
810 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
812 * insetlabel.[Ch]: remove them
813 * Makefile.am: adjust
815 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
817 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
819 * insetinclude.C (latex): show a GUI warning if textclasses don't
821 * insetinclude.C: use mangledFilename() for temp files
822 * insetgraphics.C (readInsetGraphics): remove version check, since
823 the graphics inset has no own fileformat number anymore
825 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
827 * insetquotes.[Ch]: added new member that allows direct access
828 to single/double quotation marks.
830 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
832 2004-02-16 André Pönitz <poenitz@gmx.net>
835 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
836 implicitly assume 'DispatchResult(true, true) with exception of
837 InsetBase::priv_dispatch which does the equivalent of
838 'retrun DispatchResult(false)'
840 * inset*.[Ch] (priv_dispatch): adjust
842 * insettabular.[Ch]: remove remains of the 'update' mechanism,
843 simplify cursor moving function,
844 re-enable horizontal scrolling for large tables
846 2004-02-13 André Pönitz <poenitz@gmx.net>
848 * insettabular.[Ch]: some work after IU
850 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
852 * inset.C (setPosCache): switch to absolute coords in insets
853 * insettext.[Ch] (draw, drawFrame): adjust
854 * insetcollapsable.C (draw): adjust
857 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
859 * insettext.C (edit):
860 (updateLocal): use the cur argument instead of the global cursor
861 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
863 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
865 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
867 * insetfloat.C (validate): "H" -> 'H' in call to contains
869 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
871 2004-01-30 André Pönitz <poenitz@gmx.net>
875 * insetcollapsable.[Ch]:
878 * insetgraphics.[Ch]:
883 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
886 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
888 * insettabular.C: add using statement for std::vector, remove
889 std:: where using was already used.
891 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
893 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
895 * insetinclude.C (validate): use feautures.nice() instead of
898 2004-01-20 André Pönitz <poenitz@gmx.net>
901 * insetbase.[Ch]: move stuff from mathcursor here.
907 * insetcharstyle.[Ch]:
908 * insetcollapsable.[Ch]:
911 * insetexternal.[Ch]:
913 * insetgraphics.[Ch]:
922 * updatableinset.[Ch]: Adjust to IU changes (see comment in
925 2004-01-15 André Pönitz <poenitz@gmx.net>
932 * insetcharstyle.[Ch]:
933 * insetcollapsable.[Ch]:
936 * insetexternal.[Ch]:
938 * insetgraphics.[Ch]:
947 * updatableinset.[Ch] (priv_dispatch et al): change signature.
949 2004-01-08 André Pönitz <poenitz@gmx.net>
951 * insetcollapsable.[Ch]:
954 * updatableinset.h: use cell index info from global cursor.
956 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
958 * insetnote.C (InsetNoteParams::write): write label only once
960 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
962 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
964 get rid of the SameName functor
966 * insettabular.C: improve the functor.
968 2003-12-29 Angus Leeming <leeming@lyx.org>
970 * insetexternal.C (setParams): update defaultTemplateName.
972 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
974 * insetbox.C: Use term "Box" in button label
976 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
978 * insetcharstyle.C: get getDrawFont working again
980 2003-12-15 André Pönitz <poenitz@gmx.net>
983 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
985 2003-12-12 Angus Leeming <leeming@lyx.org>
987 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
989 (InsetBranchParams): remove the branchlist hack.
990 (isBranchSelected): new function, used to decide whether to
991 print each output format. Also used by InsetList.
992 (read, string2params): repair my own breakage ;-)
994 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
996 * insetminipage.[Ch]: remove from repository.
998 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1001 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1002 insetert to insetcollapsable; introduce virtual function
1003 setButtonLabel and invoke it from collapsable
1005 2003-12-12 Angus Leeming <leeming@lyx.org>
1007 * insetinclude.C (draw): cache x,y and so enable the
1008 dialog to be opened.
1010 2003-12-12 Angus Leeming <leeming@lyx.org>
1012 * mailinset.C (print_mailer_error): tidy up the output.
1014 2003-12-11 Angus Leeming <leeming@lyx.org>
1016 * mailinset.[Ch] (print_mailer_error): new helper function.
1018 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1019 calling InsetCommandMailer.
1020 (InsetCommandMailer::string2params): pass the name of the dialog.
1022 * insetbibitem.[Ch] (d-tor):
1023 * insetbibtex.[Ch] (d-tor):
1024 * insetcite.[Ch] (d-tor):
1025 * insetfloatlist.[Ch] (d-tor):
1026 * insetindex.[Ch] (d-tor):
1027 * insetlabel.[Ch] (d-tor):
1028 * insetref.[Ch] (d-tor):
1029 * insettoc.[Ch] (d-tor):
1030 * inseturl.[Ch] (d-tor): removed.
1031 Hiding the dialog is handled by InsetCommand.
1033 * insetbibtex.[Ch] (draw, metrics):
1034 * insetfloatlist.[Ch] (draw, metrics):
1035 * insetindex.[Ch] (draw, metrics): removed.
1036 Drawing is handled by InsetCommand.
1038 * insetbibitem.[Ch] (priv_dispatch):
1039 * insetbibtex.[Ch] (priv_dispatch):
1040 * insetcite.[Ch] (priv_dispatch):
1041 * insetfloatlist.[Ch] (priv_dispatch):
1042 * insetindex.[Ch] (priv_dispatch):
1043 * insetlabel.[Ch] (priv_dispatch):
1044 * insettoc.[Ch] (priv_dispatch):
1045 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1046 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1047 LFUN_INSET_DIALOG_SHOW.
1049 * insetbox.C (string2params):
1050 * insetbranch.C (string2params):
1051 * insetert.C (string2params):
1052 * insetexternal.C (string2params):
1053 * insetfloat.C (string2params):
1054 * insetinclude.C (string2params):
1055 * insetminipage.C (string2params):
1056 * insetnote.C (string2params):
1057 * insetvspace.C (string2params):
1058 * insetwrap.C (string2params): over-hauled.
1060 2003-12-10 Angus Leeming <leeming@lyx.org>
1062 * insetexternal.[Ch]: add a draft option and respect it when
1065 2003-12-10 Angus Leeming <leeming@lyx.org>
1067 * insetbox.C: (read, write): now prepend the inset contents with
1068 'Box' to identify the inset as a box inset.
1070 * insetbox.h: move the translators out of sight.
1072 2003-12-10 Angus Leeming <leeming@lyx.org>
1074 * insetert.C (string2params): clean-up using the new lyxlex interface.
1076 * insetexternal.C: ensure that InsetExternalParams has a default
1077 template, 'RasterImage'.
1079 2003-12-10 Angus Leeming <leeming@lyx.org>
1081 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1082 to an enum. Ensuing clean-ups through out the class.
1083 (read, write): now prepend the inset contents with 'Note' to identify
1084 the inset as a note inset.
1086 2003-12-10 Angus Leeming <leeming@lyx.org>
1088 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1089 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1091 2003-12-10 André Pönitz <poenitz@gmx.net>
1095 * insettabular.[Ch]:
1096 * insettext.[Ch]: remove unused insetInset()
1098 * insetert.C: disable some LFUNs
1100 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1102 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1104 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1106 2003-12-04 Angus Leeming <leeming@lyx.org>
1108 * insetexternal.C (draw): update the xo_, yo_ cache.
1110 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1112 (RotationDataType): new helper struct wrapping the
1113 RotationData::OriginType enum.
1115 2003-12-03 André Pönitz <poenitz@gmx.net>
1117 * inset.h: remove getParagraphs()
1119 * insetcollapsable.[Ch]:
1122 * insettabular.[Ch]:
1123 * insettext.C: use getText() instead of getParagraphs()
1125 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1127 * insetert.C: fix label text updating bug
1129 2003-12-02 Angus Leeming <leeming@lyx.org>
1131 * insetvspace.[Ch] (space): new member function. Make space_ private.
1132 (read): use the new, simpler lyxlex syntax.
1134 2003-12-01 André Pönitz <poenitz@gmx.net>
1136 * insetcollapsable.[Ch]:
1137 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1139 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1141 * insetvspace.C (read): handle 'end_inset' token.
1143 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1145 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1147 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1149 * insetcollapsable.[Ch]:
1151 * insetcharstyle.C: place inset content on the button when
1154 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1156 * insetvspace.C: remove VSpace::NONE; increase inset width
1158 2003-12-01 André Pönitz <poenitz@gmx.net>
1160 * insetbase.h: whitespace
1162 * inset.[Ch]: remove latexTextWidth
1163 make setBackgroundColor virtual
1165 * insettext.[Ch]: move ParagraphList member to LyXText
1167 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1173 * insetminipage.[Ch]:
1175 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1177 2003-11-28 Angus Leeming <leeming@lyx.org>
1179 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1180 hiding and showing the dialog respectively.
1181 (priv_dispatch): also actually update the inset contents.
1183 2003-11-28 Angus Leeming <leeming@lyx.org>
1185 * insetbox.C (d-tor):
1186 * insetbranch.C (d-tor):
1187 * insetcite.C (d-tor):
1188 * insetfloat.C (d-tor):
1189 * insetfloatlist.C (d-tor):
1190 * insetinclude.C (d-tor):
1191 * insetindex.C (d-tor):
1192 simplify the invocation of the Mailer::hideDialog() function.
1194 * insetminipage.C (showInsetDialog):
1195 simplify the invocation of the Mailer::showialog() function.
1197 2003-11-28 André Pönitz <poenitz@gmx.net>
1200 * insetvspace.[Ch]: new insets
1202 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1204 * insetcharstyle.C: Syntax change for CharStyles
1206 2003-11-28 André Pönitz <poenitz@gmx.net>
1208 * updatableinset.h: remove insetInInsetY
1210 * insetcollapsable.[Ch]:
1212 * insettabular.[Ch]:
1213 * insettext.[Ch]: adjust
1215 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1219 * insetcollapsable.[Ch]:
1221 * insettabular.[Ch]: remove setFont
1223 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1225 * render_graphic.[Ch]: adjust comments
1227 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1229 * insetgraphics.C (draw): cache xo_ & yo_
1231 2003-11-24 André Pönitz <poenitz@gmx.net>
1233 * insettext.C (setViewCache): don't call LyXText::init() anymore
1235 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1238 * insetcollapsable.[Ch]:
1239 * insetert.[Ch]: remove bufferview parameter in methods
1240 open, close, status, and updateStatus.
1242 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1244 * insetcollapsable.[Ch]:
1245 * insettabular.[Ch]:
1246 * insettext.[Ch] (getCursorDim): squash unused variable
1248 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1250 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1252 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1254 * insettext.C (draw): sets LyXText absolute coordinates
1256 2003-11-20 Angus Leeming <leeming@lyx.org>
1258 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1259 warnings about unused parameters.
1261 * insetcollapsable.C (open):
1262 * insettabular.C (pasteSelection):
1263 * insettoc.C (draw): ditto.
1265 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1267 * insetcollapsable.C:
1269 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1270 remove mouse_x mouse_y etc.
1272 2003-11-17 André Pönitz <poenitz@gmx.net>
1274 * insettext.[Ch] (cx, cy): remove
1276 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1278 2003-11-13 André Pönitz <poenitz@gmx.net>
1281 * insetcollapsable.[Ch]:
1282 * insettabular.[Ch]:
1283 * insettext.[Ch] (deleteLyXText): remove
1285 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1287 * insetcollapsable.[Ch] (fitInsetCursor): remove
1288 * insettabular.[Ch] (fitInsetCursor): remove
1289 * insettext.[Ch] (fitInsetCursor): remove
1290 * updatableinset.[Ch] (fitInsetCursor): remove
1291 (getCursorDIm): add virtual
1293 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1295 * src/insets/Makefile.am:
1296 * src/insets/inset.h:
1297 * src/insets/insetcharstyle.C:
1298 * src/insets/insetcharstyle.h: The Character Style /XML short
1301 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1303 * insettext.C: remove all update calls
1304 * insetcollapsable.C: remove all update calls
1306 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1308 * insettext.C (updateLocal, insertInset, setFont): remove
1311 2003-11-10 André Pönitz <poenitz@gmx.net>
1313 * inset.h: remove Inset::id_
1315 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1320 2003-11-10 André Pönitz <poenitz@gmx.net>
1324 * insetcollapsable.[Ch]:
1328 * insettabular.[Ch]:
1331 * updatableinset.[Ch]: remove inset locking & adjust
1333 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1335 * inset.h (allowSpellCheck): add (return true)
1336 * insetert.h (allowSpellCheck): add (return false)
1338 2003-11-05 José Matos <jamatos@lyx.org>
1344 * insetcaption.[Ch]:
1346 * insetcollapsable.[Ch]:
1347 * insetcommand.[Ch]:
1350 * insetexternal.[Ch]:
1352 * insetfloatlist.[Ch]:
1354 * insetgraphics.[Ch]:
1356 * insetinclude.[Ch]:
1359 * insetlatexaccent.[Ch]:
1362 * insetmarginal.[Ch]:
1363 * insetminipage.[Ch]:
1364 * insetnewline.[Ch]:
1367 * insetpagebreak.[Ch]:
1371 * insetspecialchar.[Ch]:
1372 * insettabular.[Ch]:
1374 * insettheorem.[Ch]:
1377 * insetwrap.[Ch]: rename ascii to plaintext
1378 and LatexRunParams to OutputParams.
1380 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1382 * insetcollapsable.C (edit): add open() all
1383 * insettext.C (edit): add setViewCache call
1385 2003-11-04 André Pönitz <poenitz@gmx.net>
1387 * inset.h (edit): move locking code from dispatch() to edit()
1393 * insetcollapsable.[Ch]:
1396 * insetexternal.[Ch]:
1397 * insetgraphics.[Ch]:
1402 * insettabular.[Ch]:
1403 * insettext.[Ch]: adjust
1405 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1408 * insetcollapsable.[Ch]:
1410 * insettabular.[Ch]:
1412 * updatableinset.[Ch]: remove dead search code
1414 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1417 * insetcollapsable.[Ch]:
1419 * insettabular.[Ch]:
1421 * updatableinset.[Ch]: remove dead spellcheck code
1423 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1425 * insettabular.C (lockInsetInInset): small fix
1427 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1429 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1430 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1431 from here. Be stricter on DispatchResult returned.
1433 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1435 * Inset::dispatch's: adjust for new DispatchResult semantics.
1437 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1439 * render_base.h: make clone return an auto_ptr
1440 * render_button.C (clone): adjust
1441 * render_graphic.C (clone): adjust
1442 * render_preview.C (clone): adjust
1444 * insettheorem.C (clone): return an auto_ptr
1446 * insettext.C (priv_dispatch): exception safety
1448 * insettabular.C: store the file scope variable paste_tabular in a
1449 scoped_ptr, adjust usage.
1451 * insetexternal.C (setParams): exception safety
1453 * insetbibitem.C (clone): exception safety
1455 2003-11-03 André Pönitz <poenitz@gmx.net>
1458 * insetcollapsable.[Ch]:
1459 * insettabular.[Ch]:
1460 * insettext.[Ch]: remove Inset::id and related functions
1462 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1464 * insets: adjust for DispatchResult changes.
1466 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1468 * insetpagebreak.C: fix screen representation & ascii output.
1470 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1474 * insettabular.[Ch]:
1475 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1477 2003-10-31 José Matos <jamatos@lyx.org>
1479 * inset.h (ascii, linuxdoc, docbook):
1480 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1481 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1482 * insetcaption.[Ch] (ascii, docbook):
1483 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1484 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1485 * insetert.[Ch] (ascii, linuxdoc, docbook):
1486 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1487 * insetfloat.[Ch] (linuxdoc, docbook):
1488 * insetfloatlist.[Ch] (ascii):
1489 * insetfoot.[Ch] (docbook):
1490 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1491 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1492 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1493 * insetindex.[Ch] (docbook):
1494 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1495 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1496 * insetline.[Ch] (ascii, linuxdoc, docbook):
1497 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1498 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1499 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1500 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1501 * insetref.[Ch] (ascii, linuxdoc, docbook):
1502 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1503 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1504 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1505 * insettext.[Ch] (ascii, linuxdoc, docbook):
1506 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1507 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1508 * insetwrap.[Ch] (docbook):
1509 add LatexRunParams argument.
1511 2003-10-30 José Matos <jamatos@lyx.org>
1513 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1515 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1517 * updatableinset.C (priv_dispatch):
1518 * insetwrap.C (priv_dispatch):
1519 * inseturl.C (priv_dispatch):
1520 * insettoc.C (priv_dispatch):
1521 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1522 (moveLeftIntern, moveUp, moveDown):
1523 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1524 (moveLeft, moveUp, moveDown):
1525 * insetref.C (priv_dispatch):
1526 * insetnote.C (priv_dispatch):
1527 * insetminipage.C (priv_dispatch):
1528 * insetlabel.C (priv_dispatch):
1529 * insetindex.C (priv_dispatch):
1530 * insetinclude.C (priv_dispatch):
1531 * insetgraphics.C (priv_dispatch):
1532 * insetfloatlist.C (priv_dispatch):
1533 * insetfloat.C (priv_dispatch):
1534 * insetexternal.C (priv_dispatch):
1535 * insetert.C (priv_dispatch):
1536 * insetcommand.C (priv_dispatch):
1537 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1538 * insetcite.C (priv_dispatch):
1539 * insetbranch.C (priv_dispatch):
1540 * insetbox.C (priv_dispatch):
1541 * insetbibtex.C (priv_dispatch):
1542 * insetbibitem.C (priv_dispatch):
1543 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1545 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1547 * insettext.C: small refactoring of docbook stuff
1549 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1551 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1552 (priv_dispatch): adjust for operator dispatch_result_t removal
1554 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1555 in a DispatchResult, adjust accordingly.
1556 (priv_dispatch): use strange >= construct... (will be removed later)
1558 * most insets: dispatch_result -> DispatchResult
1560 * insetbase.h: move DispatchResult out to dispatchresult.h
1562 2003-10-27 André Pönitz <poenitz@gmx.net>
1564 * insetpagebreak.[Ch]: new inset for page breaks
1566 * insetline.[Ch]: new inset for vertical lines
1571 2003-10-25 Angus Leeming <leeming@lyx.org>
1573 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1574 new virtual member functions, specialised...
1575 * render_button.h (asButton):
1576 * render_graphic.h (asGraphic):
1577 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1579 * insetexternal.C: use these new functions rather than dynamic_cast.
1580 Various other small simplifications.
1582 2003-10-22 Angus Leeming <leeming@lyx.org>
1584 * insetexternal.[Ch]: add the ability to 'preview' the external file
1587 * insetinclude.C: changes due to the changes in the RenderPreview
1590 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1591 message if the preview image is not available. Only initiate the
1592 loading of the preview from draw(). Ditto, start the monitoring
1593 of an external file from RenderMonitoredPreview::draw.
1595 2003-10-22 Angus Leeming <leeming@lyx.org>
1597 * insetcite.[Ch] (setLoadingBuffer): removed.
1598 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1599 ascertain whether to proceed with the (expensive) task of computing
1600 the natbib-style label. Remove the home-grown hack providing
1601 similar functionality.
1603 2003-10-22 Angus Leeming <leeming@lyx.org>
1605 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1606 class and into an anonymous namespace.
1608 2003-10-22 Angus Leeming <leeming@lyx.org>
1610 * insetcommand.h: remove the display method.
1614 * insetindex.h (InsetPrintIndex):
1615 * insettoc.h: add a display method, returning true.
1617 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1619 * insetcollapsable.h:
1623 * insetinclude.h: (1) finish off the inset display() work;
1624 (2) fix the "is a bit silly" bug (accessing char
1627 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1631 * insetfootlike.h: re-introduce display() for insets,
1632 fixing the various bugs (stretch of line above, math inset
1635 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1637 * insetbase.C (dispatch): new func
1638 (priv_dispatch): new func replaces...
1639 (localDispatch): this, deleted.
1641 * all insets with dispatch modified for new code.
1643 2003-10-15 André Pönitz <poenitz@gmx.net>
1645 * insetcollapsable.[Ch]
1647 * inset.h: re-add some edit(bv, index) method called by undo
1649 2003-10-14 Angus Leeming <leeming@lyx.org>
1651 * insetexternal.[Ch] (view, cache, view_):
1652 * insetgraphics.[Ch] (view, cache, view_):
1653 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1654 (statusChanged): call LyX::cref().updateInset.
1656 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1657 the BufferView cache.
1659 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1662 2003-10-14 Angus Leeming <leeming@lyx.org>
1664 * insetinclude.C (metrics, draw): only draw the preview when previews
1667 2003-10-14 André Pönitz <poenitz@gmx.net>
1669 * insetcollapsable.[Ch]:
1670 * insettabular.[Ch]:
1672 * inset.h: getText() as alternative to getParagraphs()
1674 2003-10-13 Angus Leeming <leeming@lyx.org>
1677 * insetgraphicsParams.C: displayTranslator is now a function.
1679 2003-10-13 Angus Leeming <leeming@lyx.org>
1681 * insetinclude.C: remove #include "PreviewImage.h".
1683 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1685 * ExternalSupport.C:
1686 * ExternalTransforms.C:
1688 * insetbox.h: ws changes only
1690 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1692 * insetinclude.C (localDispatch): do not call
1693 InsetOld::localDispatch, just return UNDISPATCHED
1694 * insetgraphics.C (localDispatch): ditto
1695 * insetcommand.C (localDispatch): ditto
1697 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1699 * inset.h: get rid of RESULT typedef for dispatch_result
1701 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1702 * insetert.[Ch] (localDispatch): ditto
1703 * insettabular.[Ch] (localDispatch): ditto
1708 * insettext.[Ch] (localDispatch): ditto
1711 (moveRightIntern): ditto
1712 (moveLeftIntern): ditto
1715 * updatableinset.[Ch] (localDispatch): ditto
1717 2003-10-12 Angus Leeming <leeming@lyx.org>
1719 * renderbase.h (view, view_): removed.
1720 * renderbase.C: removed.
1721 * Makefile.am: remove render_base.C. The shortest lived file in
1724 * renderbutton.C (draw):
1725 * render_graphic.C (draw): don't cache the BufferView.
1727 * insetabase.h (cache, view): removed.
1729 * inset.h (generatePreview) removed.
1731 * insetcallapsable.[Ch] (cache, view, view_): removed.
1733 * insetcollapsable.C (draw): don't cache the BufferView.
1735 * insetcommand.[Ch] (view): removed.
1737 * insetexternal.[Ch] (cache, view, view_):
1738 * insetgraphics.[Ch] (cache, view, view_):
1739 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1741 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1742 when you have direct access to it. In fact, don't use the cache at all.
1744 2003-10-10 Angus Leeming <leeming@lyx.org>
1746 * insetinclude.C (metrics): use preview_->metrics.
1747 (draw): use preview_->draw.
1749 * render_preview.[Ch] (pimage): removed.
1751 2003-10-10 Angus Leeming <leeming@lyx.org>
1753 * renderers.[Ch]: removed.
1756 * render_button.[Ch]:
1757 * render_graphic.[Ch]:
1758 * render_preview.[Ch]: new files. The first three are split out of
1759 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1760 contains a re-worked InsetInclude::PreviewImpl also.
1762 * Makefile.am: reflect the changed files.
1765 * insetexternal.[Ch]:
1766 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1768 * insetinclude.[Ch]: changes reflecting the change from
1769 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1775 * inseturl.C: add #include "support/std_ostream.h"
1777 2003-10-09 Angus Leeming <leeming@lyx.org>
1779 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1780 to PreviewedInset::previewReady.
1782 2003-10-09 Angus Leeming <leeming@lyx.org>
1784 * insetexternal.[Ch] (statusChanged):
1785 * insetgraphics.[Ch] (statusChanged): make a const member function.
1787 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1790 2003-10-09 Angus Leeming <leeming@lyx.org>
1792 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1793 to PreviewedInset's previewReady and removePreview member functions.
1795 2003-10-08 André Pönitz <poenitz@gmx.net>
1797 * insetcollapsable.C:
1798 * insettext.[Ch]: saner 'init' structure
1800 * updatableinset.[Ch]: remove unneeded code
1802 2003-10-08 Angus Leeming <leeming@lyx.org>
1804 Fix doxygen warnings.
1806 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1807 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1809 2003-10-07 Angus Leeming <leeming@lyx.org>
1811 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1812 be applied to InsetExternal.
1814 * Makefile.am: add these new files.
1816 * ExternalTemplate.[Ch]: add a list of available transforms to
1817 class Template and a list of factory functions for transformer classes
1818 that can act on this data to class Format.
1820 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1822 * ExternalSupport.C: Add code to replace transform placeholders
1823 with appropriate output.
1825 2003-10-07 Angus Leeming <leeming@lyx.org>
1827 * ExternalSupport.[Ch]: new files, moving the private member functions
1828 and namespace anon functions out of insetexternal.C to here, so making
1829 it easier to understand what is going on in insetexternal itself.
1831 * Makefile.am: add new files.
1833 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1834 allowing the class to be forward declared. (Also consistent with
1835 all other Params classes.)
1836 (write): moved out of the class. Move this function and those in
1837 namespace anon to ExternalSupport.[Ch].
1839 2003-10-07 Angus Leeming <leeming@lyx.org>
1841 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1842 non-const member function.
1844 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1849 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1851 2003-10-02 André Pönitz <poenitz@gmx.net>
1853 * insettext.C (read): make sure there is at least one par
1854 in the text after reading.
1856 2003-10-01 José Matos <jamatos@lyx.org>
1858 * insetbranch.C (linuxdoc, docbook): minor fix.
1860 2003-10-01 Angus Leeming <leeming@lyx.org>
1862 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1864 * insetexternal.[Ch]: changes due to the introduction of
1865 namespace lyx::external.
1867 2003-09-30 Angus Leeming <leeming@lyx.org>
1869 * insetexternal.[Ch] (Params::read, write): new member functions.
1871 2003-09-25 Angus Leeming <leeming@lyx.org>
1873 * insetexternal.[Ch] (TempName): new (private) nested struct with
1874 fake copy semantics. Enables us to use the generated copy c-tor
1875 in the Params struct.
1876 (Params::templatename, Params::tempname): use accessor functions.
1878 2003-09-25 Angus Leeming <leeming@lyx.org>
1880 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1881 function, returning a const pointer.
1883 2003-09-23 Angus Leeming <leeming@lyx.org>
1885 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1886 store them in a vector, preambleNames.
1888 * insetexternal.C (validate): loop over all preambleNames and call
1889 LaTeXFeatures::addExternalPreamble with each.
1891 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1893 * insetbranch.C: bug fix in branches
1895 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1897 * insetnote.C: small clean-up.
1899 2003-09-19 Angus Leeming <leeming@lyx.org>
1901 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1903 * insetcommand.C (string2params): clear params using the default c-tor.
1905 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1906 InsetInclude::Params. No more data in this struct than in
1907 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1908 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1909 (clone): remove #warning as it's now redundant.
1910 (set): add a 'Buffer const &' arg. Make private.
1911 (loadIfNeeded) move out of the class definition and into namespace anon.
1912 (getMasterFilename, getFileName): ditto.
1914 2003-09-18 Angus Leeming <leeming@lyx.org>
1916 * insetcommand.C (setParams): use the params' copy constructor.
1918 2003-09-18 Angus Leeming <leeming@lyx.org>
1920 * insetinsetbase.h (getLabelList):
1921 * insetinsetcollapsable.[Ch] (getLabelList):
1922 * insetinsetinclude.[Ch] (getLabelList):
1923 * insetinsetlabel.[Ch] (getLabelList):
1924 * insetinsettabular.[Ch] (getLabelList):
1925 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1926 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1928 2003-09-18 Angus Leeming <leeming@lyx.org>
1930 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1931 redundant baggage from yesteryear.
1932 Remove Params::flag as it is redundant; the info is present in
1935 2003-09-18 Angus Leeming <leeming@lyx.org>
1937 * insetinclude.C (latexString): add a Buffer const & arg.
1939 2003-09-18 Angus Leeming <leeming@lyx.org>
1944 * insettext.h: rename EnumLColor as LColor_color.
1946 2003-09-18 Angus Leeming <leeming@lyx.org>
1948 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1949 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1951 2003-09-16 Angus Leeming <leeming@lyx.org>
1953 * insetinclude.C (localDispatch): ensure that
1954 params_.masterFilename_ is set before trying to generate a
1955 preview, else we trigger an assert.
1957 2003-09-16 Angus Leeming <leeming@lyx.org>
1959 * insetinclude.C (PreviewImpl::parent): return a const reference.
1961 2003-09-16 Angus Leeming <leeming@lyx.org>
1963 * insetcollapsable.[Ch]: make all member variables, except for
1966 * insetert.C (init): use InsetCollapsable::setLabelFont rather
1967 than access labelfont directly.
1968 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
1969 use InsetCollapsable::setCollapsed, isOpen rather than access
1970 collapsed_ directly.
1972 * insetminipage.C (metrics):
1973 * insetnote.C (metrics):
1974 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1975 access collapsed_ directly.
1977 2003-09-16 Angus Leeming <leeming@lyx.org>
1979 * insetbibitem.C: add #include "lyxfont.h".
1981 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1984 * insetbibtex.C: use namespace alias for lyx::support::os
1986 2003-09-16 Angus Leeming <leeming@lyx.org>
1988 * insetcollapsable.h: remove unused framecolor variable.
1989 Remove #include "LColor.h".
1991 * insetcollapsable.C: remove unused framecolor variable.
1994 * insetcollapsable.C:
2002 Add #include "LColor.h".
2004 2003-09-16 Angus Leeming <leeming@lyx.org>
2006 * insettext.[Ch] (frameColor): new accessor function.
2007 (frame_color_): stored as an int, allows us to remove #include
2008 "LColor.h" from insettext.h
2013 add #include "LColor.h".
2015 * insetcollapsable.h: add #include "LColor.h"
2016 (for its framecolor member variable).
2018 2003-09-16 Angus Leeming <leeming@lyx.org>
2020 * insetenv.C (constructor): use accessor functions to access
2021 InsetText variables.
2023 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2024 rename frame_color as frame_color_. Make private.
2026 * insettext.C: associated changes.
2028 2003-09-16 Angus Leeming <leeming@lyx.org>
2030 * inset.h: store background_color_ as an int, not as an
2031 LColor::color to get LColor.h out of the header file.
2034 * insetlatexaccent.C:
2037 * insetspecialchar.C:
2039 add #include "LColor.h".
2041 2003-09-16 Angus Leeming <leeming@lyx.org>
2043 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2044 cannot string calls together.
2046 2003-09-15 Angus Leeming <leeming@lyx.org>
2048 * inset.[Ch] (setBackgroundColor, backgroundColor):
2049 * insettext.[Ch] (setFrameColor):
2050 pass EnumLColor args, rather than LColor::color ones.
2052 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2062 * insetwrap.C: remove usage of STRCONV
2064 2003-09-15 Angus Leeming <leeming@lyx.org>
2066 * renderers.C (draw):
2067 * insetlatexaccent.C (draw): explicitly define the color passed to
2070 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2072 * insettext.C: remove block causing problems in lockInsetInInset
2073 (mentioned erroneously under Bug #1366)
2075 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2077 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2080 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2082 * several files: change Assert to BOOST_ASSERT
2084 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2086 * insettext.[Ch]: remove drawText[XY]Offset
2088 2003-09-08 Angus Leeming <leeming@lyx.org>
2090 * insetcollapsable.C:
2095 * insetspecialchar.C:
2098 * insettoc.C: remove redundant using directives.
2100 2003-09-07 Angus Leeming <leeming@lyx.org>
2103 * insetspecialchar.h: remove #include "support/std_string.h".
2105 2003-09-06 Angus Leeming <leeming@lyx.org>
2107 * renderers.C: add #include "insets/inset.h"
2109 2003-09-05 Angus Leeming <leeming@lyx.org>
2111 * *.C: strip out redundant #includes. (193 in total.)
2113 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2115 * insets/insetbibtex.[Ch]:
2116 * insets/insetcommand.h:
2117 * insets/insetfloatlist.[Ch]:
2118 * insets/insetinclude.[Ch]:
2119 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2120 of insets like bibtex, include, toc and floatlist to the visible
2121 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2122 up the dialogs. Cursor has to be in front of the inset (i.e.
2123 start of row) for this to function.
2125 2003-09-04 Angus Leeming <leeming@lyx.org>
2127 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2128 structure outside of the Format struct. Format::preambleName refers to
2129 an item in the map of all preamble snippets.
2130 Make use of the new Debug::EXTERNAL flag.
2132 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2133 (validate): Small change due to the changed storage of preamble
2136 2003-09-04 Angus Leeming <leeming@lyx.org>
2138 * insetgraphics.C: #include "support/os.h"
2140 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2141 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2142 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2144 * insetcollapsable.h:
2146 * insetnote.C: move #include "funcrequest.h" out of the header file.
2148 2003-09-03 Angus Leeming <leeming@lyx.org>
2150 * insetexternal.C (updateExternal):
2151 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2154 2003-09-03 Angus Leeming <leeming@lyx.org>
2156 * insetexternal.C: don't bring namespace lyx::support into the global
2159 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2161 * insetbranch.C: Add Branch: to label
2163 2003-09-02 John Levon <levon@movementarian.org>
2166 * insettext.C: remove cursor.i[xy]()
2168 2003-08-28 Angus Leeming <leeming@lyx.org>
2170 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2171 "sh ", enabling the conversion to be carried out even if the script
2174 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2176 * most files: change to use const Buffer refs
2178 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2180 * insetfootlike.C: whitespace.
2182 2003-08-26 John Levon <levon@movementarian.org>
2186 * insetindex.h: remove remaining mentions of needFullRow()
2188 2003-08-26 André Pönitz <poenitz@gmx.net>
2194 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2196 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2198 * insetbranch.C: Small fix to prevent a crash on loading.
2200 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2205 * insetcollapsable.h:
2207 * insetfloatlist.[Ch]:
2208 * insetfootlike.[Ch]:
2209 * insetinclude.[Ch]:
2215 * insettheorem.[Ch]:
2216 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2217 altogether, putting the logic in metrics/draw in the insets.=20
2218 Draws short single row insets with more or less realistic metrics.
2220 2003-08-19 André Pönitz <poenitz@gmx.net>
2222 * insettext.C: use new RowPainter interface
2224 2003-08-18 John Levon <levon@movementarian.org>
2226 * insetref.C: require amsmath for eqref
2228 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2232 * insetbranch.[Ch]: implements the 'branch inset'
2233 idea. This allows the output of various versions of a document
2234 from a single source version, selectively outputing or suppressing
2235 output of parts of the text.
2236 This implementation contains a 'branch list editor' in a separate
2237 tab of the document settings dialog. Branches are user definable
2238 and have a "display colour" to distinguish them on-screen.
2240 ColorHandler was somewhat cleaned up.
2241 (1) make possible a dynamically growing LColor list by allowing
2242 the graphic context cache to grow along (vector);
2243 (2) eliminate an IMHO unnecessary step in colour allocation.
2245 2003-08-15 André Pönitz <poenitz@gmx.net>
2247 * insettext.[Ch]: adjust after rowlist split
2249 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2251 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2252 rename valign-center to valign-middle;
2253 rename VALIGN_CENTER to VALIGN_MIDDLE
2255 2003-08-11 André Pönitz <poenitz@gmx.net>
2257 * inset.h: remove resizeLyXText
2260 * insetcollapsable.[Ch]:
2262 * insettabular.[Ch]: adjust
2264 * insettext.[Ch]: remove saveLyXTextState,
2265 restoreLyXTextStat, sstate, reinitLyXText
2267 2003-08-07 André Pönitz <poenitz@gmx.net>
2269 * inset.[Ch]: move non-crucial functions out-of-line
2271 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2272 remove duplicated code.
2274 2003-08-05 André Pönitz <poenitz@gmx.net>
2277 * insetcollapsable.[Ch]:
2287 * insettabular.[Ch]:
2290 * updatableinset.[Ch]: rip out "deep update"
2292 * insettext.C (localDispatch): merge cases with default branch
2294 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2296 * insettabular.[Ch] (updateLocal): simplify logic
2298 2003-08-04 André Pönitz <poenitz@gmx.net>
2300 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2301 is 'FULL' all the time.
2303 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2305 * insetert.C (get_new_label): only add ... to the (closed) label
2306 when the string has been shortened
2308 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2310 * Always use std::endl with lyxerr
2312 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2314 * insetnote.C: update \author list
2316 2003-07-31 André Pönitz <poenitz@gmx.net>
2318 * insetcollapsable.h:
2319 * insettabular.[Ch]:
2320 * insettext.[Ch]: remove toggleSelection
2322 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2324 (with help from Juergen Spitzmueller)
2325 * insetnote.C: add add i18n support. Use Prefs-definable
2326 colours for Comment and Greyedout.
2328 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2330 * insetcollapsable.[Ch]:
2332 * insetert.C: factor out the detection of clicking on the inset
2333 button as 'hitButton'. John Levon contributed.
2335 2003-07-30 André Pönitz <poenitz@gmx.net>
2337 * insetcollapsable.C:
2339 * insettabular.C: parantheses, localize vars etc.
2341 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2343 * insetnote.C: Implement a newenvironment in preamble for
2344 greyedout. Patch provided by Jürgen Spitzmüller.
2346 2003-07-29 Angus Leeming <leeming@lyx.org>
2348 * insetcommand.C (localDispatch): default to
2349 InsetOld::localDispatch.
2351 * insetbibitem.C (localDispatch):
2352 * insetbibtex.C (localDispatch): remove call to
2353 ChangeCitationsIfUnique.
2355 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2357 * insetexternal.C (read): use pushpophelper.
2359 2003-07-28 José Matos <jamatos@lyx.org>
2361 * insetext.C (read): \end_document replaces \the_end.
2363 2003-07-28 José Matos <jamatos@fep.up.pt>
2365 * insetert.C (write): \layout -> \begin_layout.
2366 Add missing \end_layout.
2368 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2370 * insetquotes.C: document a bit the format
2372 * insettabular.C (write): remove extra space
2374 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2375 * insetnote.C: Umpf. Hope I *now* get it right :-(
2377 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2378 *insetnote.C: did the right fix to greyedout: \color
2379 instead of \textcolor.
2381 2003-07-28 Angus Leeming <leeming@lyx.org>
2383 * insetbibtex.h: remove extraneous forward declaration.
2386 * insetbibtex.h: Also remove long-dead Holder member class
2389 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2391 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2394 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2396 * insetwrap.C (addToToc): adjust for lyx::toc
2398 * insetfloatlist.C (ascii): adjust for lyx::toc
2400 * insetfloat.C (addToToc): adjust for lyx::toc
2402 2003-07-27 José Matos <jamatos@fep.up.pt>
2404 * insetnote.h (linuxdoc,docbook): update support.
2406 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2408 * insetfloat.C (wide): add a space to label, for consistency
2410 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2412 * insettext.C (nextChange): adjust for lyx::find
2413 (searchForward): ditto
2414 (searchBackward): ditto
2416 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2418 * insetgraphicsParams.C:
2419 * insetexternal.C: declare extern displayTranslator
2422 * renderers.C: add #include "support/LAssert.h"
2424 2003-07-27 José Matos <jamatos@fep.up.pt>
2426 * insetfloat.[Ch] (linuxdoc):
2427 * insetgraphics.C (linuxdoc):
2428 * insettabular.C (linuxdoc):
2429 * insettext.[Ch] (linuxdoc): add support for tables and figures
2432 2003-07-27 José Matos <jamatos@fep.up.pt>
2434 * insetinclude (latex): comply with makeLaTeXFile argument change.
2436 2003-07-26 Asger Alstrup <alstrup@local>
2438 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2439 the undo crashes. We'll see what problems other places this will
2442 2003-07-26 Angus Leeming <leeming@lyx.org>
2444 * insetgraphics.C: remove unused declaration of system_tempdir.
2446 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2448 * rename Inset to InsetOld
2450 * all inset files (clone): return a auto_ptr<InsetBase>
2452 2003-07-23 Angus Leeming <leeming@lyx.org>
2454 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2456 2003-07-23 Angus Leeming <leeming@lyx.org>
2458 * mailinset.[Ch] (inset2string):
2459 * insetcommand.[Ch] (inset2string):
2460 * insetert.[Ch] (inset2string):
2461 * insetexternal.[Ch] (inset2string):
2462 * insetfloat.[Ch] (inset2string):
2463 * insetgraphics.[Ch] (inset2string):
2464 * insetinclude.[Ch] (inset2string):
2465 * insetminipage.[Ch] (inset2string):
2466 * insetnote.[Ch] (inset2string):
2467 * insettabular.[Ch] (inset2string):
2468 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2470 * insetexternal.[Ch]:
2471 * insetgraphics.[Ch]: get rid of the view() function. Associated
2472 changes to the mailers' string2params and params2string functions.
2474 2003-07-23 Angus Leeming <leeming@lyx.org>
2476 * insetexternal.[Ch]: store the external file name in a FileName
2477 member variable rather than a string + associated changes.
2479 2003-07-21 Angus Leeming <leeming@lyx.org>
2481 * insetgraphicsParams.[Ch]: store the graphics file name in
2482 a FileName member variable rather than a string.
2484 * insetgraphics.[Ch]:
2485 * insetgraphicsParams.[Ch]: Associated changes.
2487 2003-07-21 Angus Leeming <leeming@lyx.org>
2489 * insetgraphics.[Ch] (string2params, params2string): passed a
2490 buffer_path argument.
2493 2003-07-21 Angus Leeming <leeming@lyx.org>
2496 * insetgraphicsParams.[Ch]:
2498 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2500 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2502 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2504 2003-07-18 André Pönitz <poenitz@gmx.net>
2507 * insetminipage.[Ch]:
2508 * insettabular.[Ch]:
2511 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2513 2003-07-18 André Pönitz <poenitz@gmx.net>
2517 * insetcollapsable.C:
2521 * insetgraphics.[Ch]:
2522 * insetlatexaccent.[Ch]:
2527 * insetspecialchar.C:
2528 * insettabular.[Ch]:
2530 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2532 2003-07-17 André Pönitz <poenitz@gmx.net>
2534 * insetcollapsable.C:
2536 * insettext.C: don't call Inset::update() anymore
2539 * insettabular.[Ch]: remove unneeded in_update_ members
2541 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2543 2003-07-16 André Pönitz <poenitz@gmx.net>
2545 * insettext.C (selectAll): remove
2547 2003-07-16 John Levon <levon@movementarian.org>
2550 * insetnote.C: implement showInsetDialog()
2552 2003-07-15 André Pönitz <poenitz@gmx.net>
2555 * insettext.C: refresh_status tristate -> need_update bool
2557 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2559 * insettext.C: adjust call to LyXText::init
2561 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2563 * insettext.C: use bufferview_funcs->replaceSelection()
2564 to delete selections in some cases (bugs 441, 673, 702, 954).
2566 2003-07-14 André Pönitz <poenitz@gmx.net>
2568 * insettext.C (draw): use slimmed down rowpainter interface
2570 2003-07-14 André Pönitz <poenitz@gmx.net>
2572 * insetcollapsable.C:
2574 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2575 remove unused BufferView * argument
2577 2003-07-14 André Pönitz <poenitz@gmx.net>
2579 * insettext.[Ch]: used cached metrics a bit more
2581 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2583 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2585 2003-07-10 André Pönitz <poenitz@gmx.net>
2588 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2590 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2592 * introduce namespace lyx::graphics
2594 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2596 * introduce namespace lyx::support
2598 2003-06-30 André Pönitz <poenitz@gmx.net>
2600 * insetcite.C (localDispatch): fix case of missing return value
2602 * insetcite.C (ascii): remove unneeded temporary
2604 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2606 * insetspace.h: fix \file
2608 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2609 * insetinclude.C (fillWithBibKeys): ditto
2611 * insetbibitem.C: fix type const order
2613 * inset.C (getLyXText): add varname for arg
2615 * ExternalTemplate.h: fix type const order
2617 2003-06-27 André Pönitz <poenitz@gmx.net>
2619 * insettext.C: take care of removed LyXCursor::row_ member
2621 * insettext.[Ch]: use new TextCursor struct for sstate
2623 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2625 * inseterror.[Ch]: removed
2627 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2629 * insetinclude.C (docbook): use parseError instead of sgmlError
2631 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2633 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2634 of BufferList::loadLyXFile
2636 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2638 * insettext.C (update): simplify
2639 (updateLocal): remove commented code
2640 (insetUnlock): simplify
2641 (lockInset): simplify
2642 (updateInsetInInset): simplify
2643 (localDispatch): simplify
2645 (resizeLyXText): simplify
2646 (collapseParagraphs): simplify
2648 * insetert.C (get_new_label): simplify
2650 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2652 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2653 pasteSelection with index
2655 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2657 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2659 2003-06-16 André Pönitz <poenitz@gmx.net>
2661 * insetbase.h: new virtual base function clone()
2663 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2664 Inset * clone() -> InsetBase * clone()
2666 2003-06-13 André Pönitz <poenitz@gmx.net>
2668 * insettabular.[Ch]: make tabular a proper member
2670 2003-06-12 André Pönitz <poenitz@gmx.net>
2672 * insettabular.[Ch]: some renaming plus whitespace
2674 2003-06-11 Angus Leeming <leeming@lyx.org>
2676 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2679 * insetbutton.[Ch]: removed.
2680 * graphicinset.[Ch]: renamed as renderers.[Ch].
2682 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2683 Create a new class ButtonRenderer using the InsetButton::metrics() and
2685 Derive both from a common RenderedInset base class.
2687 * insetcommand.[Ch]:
2688 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2689 Give it a ButtonRenderer member variable. Use it.
2690 Give the classes working copy c-tors.
2691 No longer derive from boost::noncopyable.
2693 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2694 display its contents as a button or as a graphic.
2696 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2699 2003-06-11 Angus Leeming <leeming@lyx.org>
2701 * insetcite.C (localDispatch): reformat.
2703 * insetref.C (localDispatch): enable dialog to be lauched.
2705 2003-06-11 John Levon <levon@movementarian.org>
2707 * insettabular.C: correctly mark all cells as erased
2709 2003-06-11 Angus Leeming <leeming@lyx.org>
2711 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2712 ExternalTemplate but its name, templatename. This means that a file
2713 containing a reference to an External Template not installed on the
2714 current machine will be saved retaining this info rather than inserting
2715 the first "valid" template from the list of templates.
2717 As a by product, the visual statement that the Template is missing is
2720 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2722 * insettext.C (appendParagraphs): remove some commented code.
2724 2003-06-10 Angus Leeming <leeming@lyx.org>
2726 * graphicinset.[Ch] (view): removed the publicly accessible
2727 function to set the cache.
2729 * insetexternal.[Ch]: move tempname_ into the Params struct.
2730 (Params d-tor): new function, to clean-up this temp file.
2731 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2733 (editExternal, doSubstitution): move out of class.
2735 2003-06-10 Angus Leeming <leeming@lyx.org>
2737 * graphicinset.[Ch] (params): removed.
2738 * graphicinset.h (operator=): declared private but not defined.
2739 (statusMessage): made private.
2741 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2743 2003-06-07 John Levon <levon@movementarian.org>
2745 * insetert.C (latex): make a newline mean just that not
2748 2003-06-07 José Matos <jamatos@fep.up.pt>
2750 * insethfill.[Ch] (linuxdoc, docbook): implement output
2751 * insetspace.C (linuxdoc, docbook): remove coments as the code
2754 2003-06-06 José Matos <jamatos@fep.up.pt>
2756 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2758 2003-06-06 André Pönitz <poenitz@gmx.net>
2760 * insetwrap.[Ch]: code compactification
2762 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2764 * mailinset.C (updateDialog): use Dialogs::visible
2766 2003-06-04 Angus Leeming <leeming@lyx.org>
2768 * graphicinset.C (draw): add a comment for the #if 0 block.
2770 * insetexternal.h: remove Params::parameters variable.
2772 * insetexternal.C (read, write): rewrite to output new ExternalInset
2773 format and read it back making full use of LyXLex.
2775 2003-06-04 André Pönitz <poenitz@gmx.net>
2777 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2779 2003-06-04 John Levon <levon@movementarian.org>
2781 * insettabular.C: back out tall table speed up. It was broken
2783 2003-06-03 Angus Leeming <leeming@lyx.org>
2785 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2786 Remove ViewCommand and UpdateCommand.
2788 * graphicinset.C (update): bug fix. Set the params before calling the
2791 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
2792 the BufferView cache to enable the InsetExternal::editCommand to
2793 be invoked from the frontends. Would not be needed if this were
2794 dispatched properly.
2795 (old_ascent_): variable removed.
2797 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2798 do any necessary conversions of external material. Also use the
2799 new GraphicsInset to display the inset within LyX.
2801 2003-06-03 Angus Leeming <leeming@lyx.org>
2803 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2804 and move it somewhere where InsetExternal can use it too.
2806 * Makefile.am: add the new files.
2808 * insetgraphics.[Ch]: make use of the new GraphicInset.
2810 2003-06-03 John Levon <levon@movementarian.org>
2813 * insetbibitem.[Ch]:
2816 * insetcommand.[Ch]:
2820 * insetexternal.[Ch]:
2824 * insetgraphics.[Ch]:
2826 * insetinclude.[Ch]:
2829 * insetlatexaccent.[Ch]:
2830 * insetmarginal.[Ch]:
2831 * insetminipage.[Ch]:
2838 * insetspecialchar.[Ch]:
2839 * insettabular.[Ch]:
2841 * insetthereom.[Ch]:
2844 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2846 * insetgraphics.[Ch]:
2847 * insetgraphicsParams.[Ch]: always store an absolute
2850 2003-06-02 André Pönitz <poenitz@gmx.net>
2854 * insetlatexaccent.C: remove duplicated call to metrics()
2856 2003-06-02 John Levon <levon@movementarian.org>
2858 * insettabular.C: fix resize of column width
2860 2003-06-02 John Levon <levon@movementarian.org>
2865 * insetparent.C: remove insetparent
2867 2003-06-02 André Pönitz <poenitz@gmx.net>
2874 * insetcollapsable.[Ch]:
2878 * insetgraphics.[Ch]:
2879 * insetinclude.[Ch]:
2880 * insetlatexaccent.[Ch]:
2881 * insetminipage.[Ch]:
2882 * insetnewline.[Ch]:
2885 * insetspecialchar.[Ch]:
2886 * insettabular.[Ch]:
2887 * insettext.[Ch]: unify first drawing phase
2890 * insetbase.h: move validate() to the base
2892 2003-05-31 Angus Leeming <leeming@lyx.org>
2894 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2896 2003-05-30 André Pönitz <poenitz@gmx.net>
2901 * insetcaption.[Ch]:
2902 * insetcollapsable.[Ch]:
2905 * insetgraphics.[Ch]:
2906 * insetinclude.[Ch]:
2907 * insetlatexaccent.[Ch]:
2908 * insetnewline.[Ch]:
2911 * insetspecialchar.[Ch]:
2912 * insettabular.[Ch]:
2914 * updatableinset.[Ch]: unify second drawing phase
2916 2003-05-30 John Levon <levon@movementarian.org>
2918 * insetgraphics.C: fix a bformat
2920 2003-05-29 John Levon <levon@movementarian.org>
2922 * insettabular.C: remove unused bufferOwner()
2924 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2926 * insettext.C (lockInsetInInset): adjust
2927 (getLabelList): use const_iterator, adjust
2928 (getInsetFromID): use const_iterator, adjust
2929 (addPreview): use const_iterator, adjust
2931 * insetwrap.C (clone): remove const_cast
2933 * insetnote.C (clone): remove const_cast
2935 * insetminipage.C (clone): remove const_cast
2937 * insetmarginal.C (clone): remove const_cast
2939 * insetfoot.C (clone): remove const_cast
2941 * insetfloat.C (clone): remove const_cast
2943 * insetert.C (clone): remove const_cast
2945 * delete commented same_id functions from a lot of files.
2947 2003-05-28 John Levon <levon@movementarian.org>
2953 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2955 * insetminipage.C: fix metrics (bug 1144)
2957 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2959 * insettext.C (saveLyXTextState): adjust
2960 (restoreLyXTextState): adjust
2963 (unlockInsetInInset): adjust
2964 (localDispatch): adjust
2965 (getLyXText): adjust
2967 * insettabular.C (insertAsciiString): adjust
2969 2003-05-27 André Pönitz <poenitz@gmx.net>
2972 * insetcollapsable.C:
2975 * insetlatexaccent.C:
2980 * insetspecialchar.C:
2982 * insettext.C: dim.w -> dim.wid
2984 2003-05-26 John Levon <levon@movementarian.org>
2986 * insettabular.C: avoid drawing all of a long table
2987 if it's not needed. A big speedup
2989 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2991 * remove same_id from function signatures, adjust
2993 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2995 * insettext.C (InsetText): adjust
2997 (setParagraphData): separate same_id cases, adjust
2998 (appendParagraphs): adjust
2999 (appendParagraphs): adjust
3001 2003-05-23 André Pönitz <poenitz@gmx.net>
3003 * insetbutton.h: whitespace
3005 * insettabular.C: more compact code
3007 * updatableinset.C: remove const_cast
3010 2003-05-23 Angus Leeming <leeming@lyx.org>
3012 * insetexternal.C (write): check how many lines are output.
3013 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3014 if the template has defined it.
3016 2003-05-23 Angus Leeming <leeming@lyx.org>
3018 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3020 2003-05-23 Angus Leeming <leeming@lyx.org>
3022 * insetfoot.C (latex):
3023 * inseturl.C (latex): rename fragile as moving_arg.
3025 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3027 * inseterror.C (localDispatch): comment out unused var.
3029 2003-05-22 Angus Leeming <leeming@lyx.org>
3031 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3032 passed through the LatexRunParams arg.
3034 2003-05-22 Angus Leeming <leeming@lyx.org>
3036 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3037 through the LatexRunParams arg.
3039 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3040 arg rather than through a global var.
3042 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3044 * insetspecialchar.C (dimension): use a string.
3046 2003-05-22 Angus Leeming <leeming@lyx.org>
3048 * insetbibtex.C (latex):
3049 * insetgraphics.C (latex):
3050 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3051 runparams rather than from the buffer itself.
3053 2003-05-22 Angus Leeming <leeming@lyx.org>
3055 * inset*.[Ch] (latex):
3056 passed a LatexRunParams parameter.
3058 * insetgraphics.C (latex): actually use it ;-)
3060 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3062 * insetfloat.C (addToToc): trivial compile fix
3064 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3066 * insettext.[Ch] (paragraph): delete unused function
3068 * insetfloat.C (addToToc): parlist simplfication
3070 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3072 * insetspace.[Ch]: added (new space insets)
3074 * inset.h: handle new space insets
3076 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3078 * insetfloat.C (addToToc): adjust
3080 2003-05-21 André Pönitz <poenitz@gmx.net>
3082 * insettext.[Ch]: fix drawing bug introduced earlier
3084 2003-05-19 André Pönitz <poenitz@gmx.net>
3086 * insetspecialchar.C: fix bug introduced yesterday
3088 2003-05-19 André Pönitz <poenitz@gmx.net>
3092 * insetcollapsable.[Ch]:
3096 * insetgraphics.[Ch]:
3097 * insetgraphicsParams.[Ch]:
3098 * insetlatexaccent.[Ch]:
3099 * insetminipage.[Ch]:
3100 * insetnewline.[Ch]:
3102 * insetspecialchar.[Ch]:
3103 * insettabular.[Ch]:
3104 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3106 2003-05-19 André Pönitz <poenitz@gmx.net>
3109 * insettext.C: more insetenv
3111 2003-05-16 André Pönitz <poenitz@gmx.net>
3114 * insetminimpage.[Ch]:
3115 * insetcollapsable.[Ch]: fix #832
3117 2003-05-16 André Pönitz <poenitz@gmx.net>
3120 * insetbibitem.[Ch]:
3124 * insetcollapsable.[Ch]:
3125 * insetcommand.[Ch]:
3128 * insetexternal.[Ch]:
3129 * insetfloatlist.[Ch]:
3130 * insetgraphics.[Ch]:
3131 * insetinclude.[Ch]:
3134 * insetlatexaccent.[Ch]:
3137 * insettabular.[Ch]:
3141 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3143 2003-05-13 André Pönitz <poenitz@gmx.net>
3146 * insetcollapsable.C:
3150 * insetwrap.C: tostr from own header
3162 * insetwrap.C: STRCONV
3165 2003-05-12 André Pönitz <poenitz@gmx.net>
3177 * insetwwrap.C: boost::format -> bformat all over the place
3179 2003-05-05 André Pönitz <poenitz@gmx.net>
3181 * insettext.h: add missing #include <map>
3183 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3185 * insettext.C (InsetText): parlist cleanup
3188 (insetUnlock): ditto
3190 (lockInsetInInset): ditto
3194 (searchBackward): ditto
3195 (collapseParagraphs): ditto
3197 2003-05-06 John Levon <levon@movementarian.org>
3199 * insetcaption.C: don't cast wrap inset to InsetFloat
3202 * insetfloat.C: remove unneeded type() function
3204 2003-05-05 André Pönitz <poenitz@gmx.net>
3208 * insettabular.[Ch]:
3209 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3210 replace getFirstParagraph() by getParagraphs()
3212 2003-05-03 John Levon <levon@movementarian.org>
3214 * insetcollapsable.h:
3215 * insetcollapsable.C:
3221 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3222 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3223 getCursor(). Remove explicit cursor hides.
3225 2003-05-02 André Pönitz <poenitz@gmx.net>
3227 * insettext.C: remove unneeded &*
3229 2003-04-30 John Levon <levon@movementarian.org>
3231 * insettabular.C: fix edit message
3233 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3235 * insettext.C (setFont): do not convert iterator -> pointer
3237 * insettabular.C (localDispatch): do not convert iterator -> pointer
3239 (tabularFeatures): ditto
3241 2003-04-29 André Pönitz <poenitz@gmx.net>
3243 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3245 2003-04-28 André Pönitz <poenitz@gmx.net>
3247 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3250 2003-04-25 André Pönitz <poenitz@gmx.net>
3252 * insetenv.C: derive from InsetText instead of InsetCollapsable
3254 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3256 * insetexternal.C (string2params): dont do anything if the string
3258 * insetgraphics.C (string2params): ditto
3259 * insetcommand.C (string2params): ditto
3260 * insetert.C (string2params): ditto
3261 * insetfloat.C (string2params): ditto
3262 * insetinclude.C (string2params): ditto
3263 * insetminipage.C (string2params): ditto
3264 * insettabular.C (string2params): ditto
3265 * insetwrap.C (string2params): ditto
3267 2003-04-24 André Pönitz <poenitz@gmx.net>
3269 * insetref.C: support for eqref
3271 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3273 * insetert.C (read): use ParagraphList::iterator.
3275 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3277 * insetquotes.C (latex): comment some code and add warnings.
3279 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3281 * insetexternal.C (localDispatch): added a missing DISPATCHED
3283 2003-04-12 John Levon <levon@movementarian.org>
3285 * insetwrap.C (addToToc): fix a crash, conversion
3286 from while to for loop forgot to remove the explicit
3289 2003-04-10 John Levon <levon@movementarian.org>
3291 * insettabular.C (tabularFeature): make sure
3292 to update the dialog when we change something
3295 (getStatus): don't disable some lfuns (bug 939)
3297 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3299 * insettext.C (saveLyXTextState): adjust
3300 (localDispatch): adjust
3306 * insettabular.C (localDispatch): adjust
3308 (tabularFeatures): adjust
3310 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3312 * insettabular.C (searchForward,searchBackward): fix bug 782
3314 2003-04-07 John Levon <levon@movementarian.org>
3317 * insettext.C: clear status message on inset exit
3319 2003-04-03 John Levon <levon@movementarian.org>
3321 * insetcommand.C: return dispatched on DIALOG_UPDATE
3323 2003-04-02 John Levon <levon@movementarian.org>
3325 * insettabular.C: tab lfuns renamed
3327 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3329 * insettext.C (update): move towards ParagraphList
3330 (updateLocal): ditto
3332 (insetUnlock): ditto
3334 (lockInsetInInset): ditto
3335 (updateInsetInInset): ditto
3336 (localDispatch): ditto
3339 (resizeLyXText): ditto
3340 (searchBackward): ditto
3341 (collapseParagraphs): ditto
3344 * insetwrap.C (InsetWrap): adjust
3345 (addToToc): adjust and rewrite loop
3347 * insettext.[Ch] (paragraph): delete function
3349 * insettabular.C (moveNextCell): adjust
3350 (movePrevCell): adjust
3351 (insertAsciiString): adjust
3353 * insetfloat.C (InsetFloat): adjust
3356 * insetert.C (InsetERT): adjust
3357 (write): adjust, and rewrite loop
3358 (latex): adjust, and rewrite loop
3359 (linuxdoc): adjust, and rewrite loop
3360 (docbook): adjust, and rewrite loop
3361 (localDispatch): adjust
3362 (get_new_label): adjust
3364 2003-04-01 John Levon <levon@movementarian.org>
3366 From Alfredo Braunstein
3369 * insetbutton.C: add localDispatch()
3371 * insetcommand.C: return DISPATCHED when edit() called
3373 * insettext.C: fix bug 967
3375 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3377 * insettext.C: adjust
3379 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3381 * insettext.C (draw): adjust
3382 (crow): return a RowList::iterator not a Row*
3384 * insetminipage.C (localDispatch): adjust
3386 * insetert.C (localDispatch): adjust
3388 2003-03-31 John Levon <levon@movementarian.org>
3391 * insetgraphicsParams.C: use_gui moved to lyx_gui
3393 2003-03-31 John Levon <levon@movementarian.org>
3395 * insettext.C: Alert fix
3397 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3399 * insettext.C (ascent): adjust for RowList
3402 (getLyXText): adjust
3403 (toggleSelection): adjust
3405 * insetminipage.C (localDispatch): adjust for RowList
3407 * insetert.C (localDispatch): adjust for RowList
3408 (getMaxWidth): adjust for RowList
3410 2003-03-29 John Levon <levon@movementarian.org>
3412 * insetert.C: Alert cleanup
3414 2003-03-29 John Levon <levon@movementarian.org>
3416 * insettabular.C: Alert fix
3418 2003-03-28 John Levon <levon@movementarian.org>
3420 * insetfloat.C: reset label on INSET_MODIFY
3422 2003-03-28 John Levon <levon@movementarian.org>
3424 * insetgraphicsParams.C: read subcaptionText as a whole line
3427 2003-03-28 John Levon <levon@movementarian.org>
3429 * insettext.C: remove unused prototypes
3431 2003-03-25 Angus Leeming <leeming@lyx.org>
3433 * insetbibitem.C (localDispatch): repaint the view after modifying
3434 a bibitem inset in case the maximum InsetBibitem width has changed.
3436 2003-03-25 John Levon <levon@movementarian.org>
3439 * insettabular.C: LyXText renamings
3441 2003-03-24 John Levon <levon@movementarian.org>
3443 * insettext.C: remove some dead code. Fix bug 972 and
3444 related by posting a repaint in updateLocal(), and making
3445 the SEL functions set SELECTION.
3447 2003-03-22 John Levon <levon@movementarian.org>
3450 * inset.C: remove no-longer-needed topx_set
3452 * insetcollapsable.h:
3453 * insetcollapsable.C: remove dead code
3456 * insetert.C: rebreak the rows when a possible
3457 change in size is made, and reset the cursor
3460 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3462 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3463 topx_set. Fix drawing errors for clearInset(). Remove
3464 some unnecessary uses of topx, which should die.
3466 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3467 is no longer needed. Replace it with an ugly hack.
3469 2003-03-20 John Levon <levon@movementarian.org>
3472 * insetcollapsable.h:
3473 * insetcollapsable.C:
3481 * insettext.C: remove spurious font parameter
3482 from update(). Fix drawing of ERT insets inside
3483 insets (bug 966). Remove unused mark_dirty from
3484 tabular's updateLocal()
3486 2003-03-19 John Levon <levon@movementarian.org>
3495 * insetwrap.C: remove unused getter/setters
3497 2003-03-19 John Levon <levon@movementarian.org>
3499 * several files: bv->updateInset() doesn't take
3500 a bool mark_dirty any more
3502 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3504 * adjust for BufferView* arg removal from lyxtext.
3506 2003-03-17 John Levon <levon@movementarian.org>
3508 * most files: remove the "cleared" parameter
3509 to draw in favour of always clearing. Associated
3512 2003-03-16 John Levon <levon@movementarian.org>
3514 * insettext.C: remove unused s.refresh
3516 2003-03-13 Angus Leeming <leeming@lyx.org>
3518 * insettext.C (edit): replace Dialogs::updateParagraph with
3519 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3521 2003-03-13 André Pönitz <poenitz@gmx.net>
3523 * Makefile.am: insert insetenv
3525 * insethenv.[Ch]: new files, currently inactive
3527 2003-03-12 John Levon <levon@movementarian.org>
3537 * insettext.C: use new insetnewline
3539 2003-03-12 John Levon <levon@movementarian.org>
3541 * insettext.C: readToken became readParagraph
3543 2003-03-12 John Levon <levon@movementarian.org>
3545 * insettext.C: use parlist iterator for reading contents
3547 2003-03-12 John Levon <levon@movementarian.org>
3549 * insettext.C: name change to readToken()
3551 2003-03-11 André Pönitz <poenitz@gmx.net>
3553 * Makefile.am: insert insethfill
3555 * insethfill.[Ch]: new files
3557 2003-03-10 Angus Leeming <leeming@lyx.org>
3559 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3561 (hideDialog): calls the new static Dialogs::hide() method.
3563 * insetbibitem.C (edit):
3564 * insetbibtex.C (edit):
3565 * insetcite.C (edit):
3566 * insetcommand.C (localDispatch):
3567 * inseterror.C (d-tor):
3568 * insetert.C (showInsetDialog):
3569 * insetexternal.C (localDispatch, edit):
3570 * insetfloat.C (localDispatch, showInsetDialog):
3571 * insetfloatlist.C (edit):
3572 * insetgraphics.C (localDispatch, edit):
3573 * insetinclude.C (localDispatch, edit):
3574 * insetindex.C (edit):
3575 * insetlabel.C (edit):
3576 * insetminipage.C (localDispatch, showInsetDialog):
3577 * insetref.C (edit):
3578 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3579 resetPos, showInsetDialog, openLayoutDialog):
3580 * insettoc.C (edit):
3581 * inseturl.C (edit):
3582 * insetwrap.C (localDispatch, showInsetDialog):
3583 changes due to the changed MailInset interface.
3585 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3587 * insetfloat.h: Set default placement to an empty string.
3589 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3591 * insettext.C (latex): adjust call to latexParagraphs.
3593 2003-03-10 Angus Leeming <leeming@lyx.org>
3595 * mailinset.C: warn the user if the BufferView has not been cached.
3597 2003-03-10 Angus Leeming <leeming@lyx.org>
3599 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3601 * insetcommand.h (inset):
3602 * insetert.h (inset):
3603 * insetexternal.h (inset):
3604 * insetfloat.h (inset):
3605 * insetgraphics.h (inset):
3606 * insetinclude.h (inset):
3607 * insetminipage.h (inset):
3608 * insettabular.h (inset):
3609 * insetwrap.h (inset):
3610 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3612 2003-03-10 Angus Leeming <leeming@lyx.org>
3614 * insetcommand.C (string2params):
3615 * insetexternal.C (string2params):
3616 * insetfloat.C (string2params):
3617 * insetgraphics.C (string2params):
3618 * insetinclude.C (string2params):
3619 * insetminipage.C (string2params):
3620 * insettabular.C (string2params):
3621 * insetwrap.C (string2params): cure warning message about missing
3624 2003-03-09 Angus Leeming <leeming@lyx.org>
3626 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3627 it to communicate with the frontend dialogs.
3629 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3630 contents of this inset!
3632 2003-03-07 Angus Leeming <leeming@lyx.org>
3634 * inseterror.C (localDispatch): new method; calls edit() on
3637 2003-03-07 Angus Leeming <leeming@lyx.org>
3639 * insetbibitem.C (localDispatch):
3640 * insetbibtex.C (localDispatch):
3641 * insetlabel.C (localDispatch):
3642 rewrite as a switch.
3644 2003-03-07 Angus Leeming <leeming@lyx.org>
3646 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3647 it to communicate with the frontend dialogs.
3649 2003-03-07 Angus Leeming <leeming@lyx.org>
3651 * insetexternal.C: remove operator== and operator!= for
3652 InsetExternal::Params. They were used only by the old controller
3655 2003-03-07 Angus Leeming <leeming@lyx.org>
3657 * insetcommand.C (localDispatch):
3658 * insetexternal.C (localDispatch):
3659 * insetfloat.C (localDispatch):
3660 * insetinclude.C (localDispatch):
3661 * insetminipage.C (localDispatch):
3662 * insetwrap.C (localDispatch):
3663 add LFUN_INSET_DIALOG_UPDATE to the switch.
3665 2003-03-07 Angus Leeming <leeming@lyx.org>
3667 * insetcommand.C (string2params):
3668 * insetexternal.C (string2params):
3669 * insetfloat.C (string2params):
3670 * insetinclude.C (string2params):
3671 * insetwrap.C (string2params): use LyXLeX more.
3674 * insetexternal.[Ch]:
3676 * insetinclude.[Ch]:
3677 * insetwrap.[Ch]: change Mailer::name_ to be static.
3679 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3680 it to communicate with the frontend dialogs.
3682 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3685 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3687 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3689 * insettext.C (updateLocal): un-const function
3690 (updateLocal): adjust
3691 (collapseParagraphs): un-const function
3692 (collapseParagraphs): adjust
3694 2003-03-05 Angus Leeming <leeming@lyx.org>
3696 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3697 it to communicate with the frontend dialogs.
3699 2003-03-05 Angus Leeming <leeming@lyx.org>
3701 * insetcollapsable.C (draw): cache the BufferView.
3703 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3704 it to communicate with the frontend dialogs.
3706 2003-03-05 Angus Leeming <leeming@lyx.org>
3708 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3711 2003-03-05 Angus Leeming <leeming@lyx.org>
3713 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3715 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3716 it to communicate with the frontend dialogs.
3718 2003-03-05 Angus Leeming <leeming@lyx.org>
3720 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3721 it to communicate with the frontend dialogs.
3723 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3725 * insettext.C (collapseParagraphs): adjust
3726 (appendParagraphs): make it take a Buffer* instead of a
3727 BufferParams& as arg.
3728 (appendParagraphs): adjust
3730 2003-03-04 Angus Leeming <leeming@lyx.org>
3732 * insetbibitem.C (localDispatch):
3733 * insetbibtex.C (localDispatch):
3734 * insetcommand.C (localDispatch):
3735 * insetert.C (localDispatch):
3736 * insetlabel.C (localDispatch):
3737 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3739 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3741 * insettext.C (latex): adjust for ParagraphList::iterator
3743 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3745 * insetbutton.C (view): adjust for boost 1.30.0
3746 * insetcollapsable.C (view): ditto
3747 * insetgraphics.C (statusChanged): ditto
3749 * insettext.h: move paragraphs to be public.
3751 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3753 * insetnote.[Ch] (InsetNote): remove unused constructor
3755 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3757 * insetgraphics.C: added include "format.h"
3759 2003-02-27 Angus Leeming <leeming@lyx.org>
3761 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3764 2003-02-27 Angus Leeming <leeming@lyx.org>
3766 * insetbibitem.C (localDispatch):
3767 * insetbibtex.C (localDispatch):
3770 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3772 2003-02-26 Angus Leeming <leeming@lyx.org>
3774 * insetbibitem.[Ch] (localDispatch):
3775 * insetbibtex.[Ch] (localDispatch):
3776 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3778 * insetcommand.C (localDispatch):
3779 act only on receipt of LFUN_XYZ_APPLY.
3781 * insetert.C (localDispatch): reformat.
3782 add LFUN_XYZ_APPLY to the switch.
3784 2003-02-26 John Levon <levon@movementarian.org>
3786 * insettext.C: use RowPainter
3788 * inset.h: make helpers take const *
3790 2003-02-26 Angus Leeming <leeming@lyx.org>
3792 * insetcommand.[Ch] (localDispatch): new method.
3794 2003-02-26 Angus Leeming <leeming@lyx.org>
3796 * insetinclude.C (draw): cache the BufferView* using cache not
3797 PreviewImpl::setView
3799 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3801 * insetgraphics.C (draw)
3802 * insetinclude.C (draw): Eliminate also the other argument (owner
3803 inset inset) in the call to PreviewImage::image
3805 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3807 * insetgraphics.C (draw)
3808 * insetinclude.C (draw): Eliminate Buferview argument in call to
3811 2003-02-25 John Levon <levon@movementarian.org>
3813 * insetgraphicsParams.h:
3814 * insetgraphics.C: don't start a load process if
3815 the inset is set to NoDisplay (bug #920)
3817 2003-02-22 John Levon <levon@movementarian.org>
3820 * insetwrap.C: TocItem changed API (bug 913)
3822 2003-02-21 Angus Leeming <leeming@lyx.org>
3824 * insetcollapsable.[Ch] (cache, edit):
3825 * insetbutton.[Ch] (cache, edit): new methods to cache the
3826 BufferView in the draw method.
3828 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3829 simplify comunication between InsetCommand-derived classes and
3832 * insetbibitem.[Ch]:
3836 * insetfloatlist.[Ch]:
3840 * inseturl.[Ch]: small changes to reflect the new interface to the
3843 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3844 other, similar classes.
3846 * Makefile.am: add new files.
3848 2003-02-21 Angus Leeming <leeming@lyx.org>
3850 * updatableinset.h (setView, view): remove.
3851 * inset.h (view, cache): to be replaced by these.
3853 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3856 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3859 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3861 2003-02-21 Allan Rae <rae@lyx.org>
3863 * insetinclude.C (loadIfNeeded): ensure loading also works when
3864 child document is under version control.
3866 2003-02-17 André Pönitz <poenitz@gmx.net>
3868 * insetbib.[Ch]: Adjust access to bibkeys
3870 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3872 * insetquotes.C (dispString): remove use of acute accent for "'"
3875 2003-02-14 John Levon <levon@movementarian.org>
3877 * insettabular.C: changed method names in tabular.C
3879 2003-02-14 John Levon <levon@movementarian.org>
3883 * insetcollapsable.h:
3884 * insetcollapsable.C:
3888 * insettext.C: remove unused getParFromID()
3890 2003-02-13 John Levon <levon@movementarian.org>
3893 * insettext.C: remove unused beginningofMainBody()
3895 2003-02-08 John Levon <levon@movementarian.org>
3899 * insetcollapsable.h:
3900 * insetcollapsable.C:
3905 add nextChange(). Make allowSpellcheck() const. Add markErased().
3907 * insetert.C: ignore deleted text
3909 * insettabular.C: make sure to keep change tracking working
3912 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3917 * insettext.C: Use error messages with identical spelling and
3920 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3922 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3924 2002-12-17 Juergen Vigna <jug@lyx.org>
3926 * insettext.C (localDispatch): hopefully fixed cursor up down
3927 movement on leaving other insets.
3929 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3931 * insettext.C: fix inconsistent usage of spaces, colons,
3932 capitalization, and the like.
3934 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3936 * insetgraphics.C (prepareFile): do not remove the extension of
3937 the file name if it is not the default extension for the given
3938 format (that is, in latex output, remove extension from foo.eps,
3939 but not from foo.epsi)
3941 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3943 * insettext.C (lfunMouseRelease): hackish solution to the "double
3946 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3948 * insetfloat.C (addToToc): use the floats name not its type
3949 * insetwrap.C (addToToc): ditto
3951 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3953 * insetnote.C (init): make label font smaller
3955 2002-12-04 John Levon <levon@movementarian.org>
3957 * insetinclude.C: ressurect setting of command name
3959 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3961 * insetquotes.C (dispString): disambiguate insert call
3963 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3965 * several files: ws changes
3967 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3969 * insetquotes.C (dispString): use string::insert for prepending a
3972 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3974 * insetparent.C (getScreenLabel): use boost::format
3976 * insetgraphics.C (prepareFile): use boost::format
3979 * insetfloatlist.C (latex): use boost::format
3981 * insetcaption.C (draw): use boost::format
3983 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3985 * insettabular.C (tabularFeatures): Support for block alignment in
3986 fixed width columns.
3988 2002-11-20 Juergen Vigna <jug@sad.it>
3990 * insettabular.C (resetPos): temporary fix for endless loop in
3991 this function on a redraw.
3993 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3995 * insettabular.C (copySelection): STRCONV
3997 * insetinclude.C (uniqueID): STRCONV
3998 (latexString): ditto
4000 * insetgraphics.C: put VersionNumber inside anon namespace
4001 (createLatexOptions): STRCONV
4003 * insetcommandparams.C: include config.h
4005 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4007 * insetgraphicsParams.C (Write): use lyx::float_equal.
4008 Write height data correctly.
4009 (Read): zero scale when reading height data.
4011 2002-10-30 John Levon <levon@movementarian.org>
4013 * insetfloat.C (addToTOC): recursively traverse all
4014 contents looking for captions (fix #568)
4016 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4018 * insetexternal.C (doSubstitution): do not try to replace
4019 environment variables, this is done when executing the command
4021 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4023 * insetexternal.C (doSubstitution): change order of substitution
4024 to work around ReplaceEnvironmentPath brokenness
4026 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4028 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4030 * insetgraphicsParams.C (init, Write): associated changes
4031 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4032 InsetGraphicsParams::scale.
4034 2002-10-21 John Levon <levon@movementarian.org>
4036 * inset.h: remove unused DISPATCH_RESULT
4038 * insettext.C: sgml open/close tag now in sgml namespace
4040 2002-10-21 Angus Leeming <leeming@lyx.org>
4042 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4043 file path subdir/fig.eps when pasting it into a buffer in a different
4046 2002-10-16 John Levon <levon@movementarian.org>
4048 * insetspecialchar.C: remove \\protected_separator parsing
4050 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4052 * insetquote.C: fix LaTeX output of quotation marks.
4054 2002-10-14 Juergen Vigna <jug@sad.it>
4056 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4057 Backspace functions which confused the Undo handling.
4059 2002-10-09 Angus Leeming <leeming@lyx.org>
4061 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4062 BufferView::dispatch that turns off this optimisation when a new inset
4065 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4066 reload the BibTeX keys.
4068 2002-10-11 André Pönitz <poenitz@gmx.net>
4070 * insettext.h: handle LFUN_PRIOR/NEXT
4072 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4074 * insetfloat.C: fix bug with float settings
4075 (document default != float default).
4077 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4079 * insetwrap.C (addToToc): New method.
4080 (InsetWrap): Set layout to caption.
4082 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4084 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4086 2002-09-16 John Levon <levon@movementarian.org>
4088 * insettabular.h: hasSelection() needs to be public
4090 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4092 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4094 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4096 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4098 2002-09-11 André Pönitz <poenitz@gmx.net>
4100 * insettabular.C: implement LFUN_WORDSEL
4102 2002-09-10 John Levon <levon@movementarian.org>
4104 * insetinclude.h: remove unused param
4106 2002-09-09 John Levon <levon@movementarian.org>
4109 * insetinclude.C: remove noload, default to input
4111 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4113 * insetgraphics.C: disfuscated use of ']' in built output string.
4115 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4117 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4119 2002-08-29 Juergen Vigna <jug@sad.it>
4121 * insettabular.C (lfunMousePress): Pay attention where you set
4122 the x/y values as they depend on which inset in the tabular is
4123 actually locked. So you surely have to reset them if you (un)lock
4126 2002-08-29 André Pönitz <poenitz@gmx.net>
4128 * insetfootlike.h: rename include guard to ALL CAPS
4130 * insettext.C: swap object and first parameter for checkInsetHit calls
4131 as this functions has moved from BufferView to LyXText
4134 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4136 * insetgraphicsParams.C: remove local displayTranslator and use
4137 the one from graphics/GraphicsTypes.h.
4139 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4141 * insetfloat.C (wide): add BufferParams parameter
4143 * insetfloatlist.C (read):
4146 * insetfloat.C (latex):
4148 * insetcaption.C (draw): use LyXTextClass::floats()
4150 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4152 * insetoptarg.h: add std:: qualifier.
4154 2002-08-26 Juergen Vigna <jug@sad.it>
4156 * insettext.C (localDispatch): ditto.
4158 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4160 2002-08-25 John Levon <levon@movementarian.org>
4162 * inseturl.C: elide long URLs (bug 404)
4164 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4166 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4167 remove "Format Version <version_no.>" string from inset header
4170 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4172 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4173 a member of "grfx::Params" anymore.
4175 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4177 2002-08-24 John Levon <levon@movementarian.org>
4180 * insetoptarg.C: ws, pedantry ...
4182 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4184 * insettext.C (collapseParagraphs): pasteParagraph now in global
4186 (appendParagraphs): ditto
4188 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4190 * insetcite.C (latex): Remove spaces only after commmas.
4192 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4194 * insettext.C: remove NO_COMPABILITY stuff
4196 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4198 * insettext.C (edit): use ParagraphList iterators
4200 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4201 (bibitemWidest): ditto
4203 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4205 * insettext.C: include <boost/bind.hpp>
4206 add using std::for_each
4207 (saveLyXTextState): use ParagraphsList::iterator
4208 (init): use for_each on paragraphlist iterators
4209 (InsetText): remove superflous setting cached_bview to 0
4210 (latex): reformat a bit
4211 (ascii): use paragraphlist iterators
4212 (validate): use for_each + boost bind
4213 (getLabelList): use paragraphlist iterators
4214 (deleteLyXText): use for_each + boost::bind
4215 (resizeLyXText): ditto
4216 (reinitLyXText): ditto
4217 (removeNewlines): use paragraphlist iterators
4218 (getParFromID): ditto
4219 (paragraph): use for_each + boost::bind
4220 (getInsetFromID): use paragraphlist iterators
4221 (getLabelList): typo fix
4223 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4225 * insettext.C (read): assign tmp to paragraphs after return from
4226 call to parseSingleLyXformat2Token
4229 2002-08-13 Angus Leeming <leeming@lyx.org>
4247 * inseturl.C: changes due to the changed LyXView interface that
4248 now returns references to member variables not pointers.
4250 2002-08-13 Angus Leeming <leeming@lyx.org>
4253 * insetcollapsable.h:
4256 * insettext.h: forward-declare WordLangTuple
4257 (selectNextWordToSpellcheck) constify return type.
4260 * insetcollapsable.C:
4263 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4265 2002-08-12 Angus Leeming <leeming@lyx.org>
4267 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4270 2002-08-12 Juergen Vigna <jug@sad.it>
4272 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4275 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4277 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4278 (bibitemWidest): ditto
4279 * insettext.[Ch]: ditto
4281 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4283 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4285 2002-08-09 Angus Leeming <leeming@lyx.org>
4287 * insetinclude.C (latexString): remove fudge now that I've found out
4288 how to enable LaTeX to find the file using input@path.
4290 2002-08-09 John Levon <levon@movementarian.org>
4293 * insettext.C: remove unused xpos
4295 2002-08-07 Juergen Vigna <jug@lyx.org>
4297 * insettabular.C (localDispatch): make delete not put the stuff
4298 in the clipboard only do this on a cut operation.
4300 * insettext.C (localDispatch): make delete and backspace not put
4301 selected stuff to the clipboard.
4303 2002-08-07 André Pönitz <poenitz@gmx.net>
4306 * insetcollapsable.[Ch]:
4310 * insettabular.[Ch]:
4311 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4313 2002-08-06 John Levon <levon@movementarian.org>
4317 * insetcollapsable.h:
4318 * insetcollapsable.C:
4324 * insettext.C: use WordLangTuple for spellcheck
4326 2002-08-06 Angus Leeming <leeming@lyx.org>
4328 * insetinclude.C: add a monitor to the previewed image, so that the
4329 image is refreshed if the \input-ed file changes.
4331 2002-08-04 John Levon <levon@movementarian.org>
4334 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4336 2002-08-02 Angus Leeming <leeming@lyx.org>
4338 * insetcommandparams.[Ch] (preview): new methods returning and setting
4339 a new bool preview_ flag.
4340 (read): read this flag.
4341 (operator==): add flag to check.
4343 * insetinclude.C (write): output new preview() flag.
4344 (previewWanted): use this flag.
4346 2002-08-02 Angus Leeming <leeming@lyx.org>
4348 * insetcollapsable.[Ch] (addPreview):
4349 * insettabular.[Ch] (addPreview):
4350 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4351 for insets in insets.
4353 2002-08-02 Angus Leeming <leeming@lyx.org>
4355 * insetcite.C: fix typo.
4357 * insetgraphics.C: kill current_view and instead cache the BufferView
4360 * insetinclude.C: kill current_view and pass the BufferView to the
4361 PreviewedInset so that it can cache it.
4363 2002-08-01 Angus Leeming <leeming@lyx.org>
4365 * inset.h (generatePreview): renamed as addPreview.
4366 (generatePreview): new method. Allows code to be moved out of
4367 math_nestinset.C and into the new PreviewedInset class.
4369 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4370 add previews to the inset when \input-ing LaTeX.
4372 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4374 * several files: strip,frontStrip -> trim,ltrim,rtrim
4376 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4378 * insetbib.C (latex): modify because of strip changes
4380 * insetnote.C (InsetNote): ditto
4382 2002-07-26 Juergen Vigna <jug@sad.it>
4384 * insettabular.C (searchForward): check for lastcell if we
4385 had a locking inset.
4387 2002-07-25 Juergen Vigna <jug@sad.it>
4389 * insettabular.C (insetMotionNotify): Don't update the screen
4390 if we didn't do nothing.
4391 (searchForward): last cell was not checked.
4393 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4395 * insetfloat.C (read, write): Allow default placement
4396 (floatPlacement_ is empty).
4398 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4400 * insetminipage.h (noFontChange):
4401 * insettabular.h (noFontChange):
4402 * insetfootlike.h (noFontChange):
4403 * insetfloat.h (noFontChange): return true
4405 * inset.h (noFontChange): new method, defaulting to false
4407 2002-07-22 Herbert Voss <voss@lyx.org>
4409 * insetgraphicsParams.[Ch]: support size_type for old docs
4411 2002-07-22 Herbert Voss <voss@lyx.org>
4414 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4417 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4419 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4421 * insetlatexaccent.h: do not include "lyxlex.h"
4423 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4426 * insetlatexaccent.C:
4430 * insetbib.C: #include "lyxlex.h"
4436 * insettext.C: use BufferParams::getLyXTextClass
4439 * insetfloat.C (addToToc): new method. Add to toclist the entries
4440 corresponding to Caption layouts
4441 (InsetFloat): when creating a new float, set the layout to "Caption"
4443 2002-07-21 Herbert Voss <voss@lyx.org>
4445 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4446 image relevant part into graphics/GraphicsImgae.C
4448 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4450 * insettoc.C (ascii):
4451 * insetfloatlist.C (ascii): change to use the new Toc functions
4452 instead of stuff that was in Buffer
4454 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4456 * insettext.C (localDispatch): BufferView::Dispatch has been
4457 renamed to BufferView::dispatch
4459 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4461 * insetgraphicsParams.C (as_grfxParams): use the new
4462 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4463 1.2.0 patch, and I do not really know how to adapt it to the new
4464 grfx::Cache world. Angus, please could you have a look?
4466 2002-05-01 Herbert Voss <voss@lyx.org>
4468 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4470 2002-07-18 Angus Leeming <leeming@lyx.org>
4472 * insetgraphics.C: clean-up comments (from Herbert).
4473 add a new checksum variable to the cache. Use it in PrepareFile.
4474 (draw): start monitoring the file for a change.
4475 (prepareFile): re-arrange a little to avoid unnecessary steps.
4477 2002-07-17 Angus Leeming <leeming@lyx.org>
4479 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4480 a method rather than to the signal directly.
4482 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4484 * insettext.C: use view_state_changed, switchKeyMap
4486 2002-07-17 Herbert Voss <voss@perce.de>
4488 * insetgraphics.C (prepareFile): keep the extension when
4489 exporting to nice file
4491 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4493 * insetcite.C (getNatbibLabel):
4494 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4496 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4498 * insetgraphics.C: use ->isDrawable()
4500 2002-07-12 Angus Leeming <leeming@lyx.org>
4502 * insetgraphics.C: use the new smart loading capabilities of the image
4505 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4507 * insettabular.C (edit): Move into correct cell when entering a
4510 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4513 2002-07-05 Angus Leeming <leeming@lyx.org>
4515 * inset.h (generatePreview): new virtual method.
4517 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4519 * insetcommandparams.[Ch] (operator=): move out of class
4520 (operator!): move out of class
4522 2002-07-04 André Pönitz <poenitz@gmx.net>
4524 * insetcommandparams.[Ch]: new files
4526 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4528 2002-06-15 Herbert Voss <voss@perce.de>
4530 * insetgraphics.C (prepareFile): bugfix; return always
4531 files without extension
4533 2002-06-28 Angus Leeming <leeming@lyx.org>
4535 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4536 rename asGParams -> as_grfxParams.
4538 * insetgraphics.C: reflect above change.
4540 2002-06-26 Angus Leeming <leeming@lyx.org>
4542 * insetgraphics.h: use boost::scoped_ptr in preference to
4545 2002-06-26 Angus Leeming <leeming@lyx.org>
4547 * insetgraphics.C: moved the image loading stuff into a new class
4548 grfx::Loader. Simplifies this file enormously.
4550 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4552 * insetgraphicsParams.C: changes aassociated with moving
4553 grfx::DisplayType out of grfx::GParams.
4555 2002-06-26 André Pönitz <poenitz@gmx.net>
4557 * insetgraphics.C: use os::external_path where necesaary according to a
4558 patch from Claus Hentschel)
4560 2002-06-25 Angus Leeming <leeming@lyx.org>
4562 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4563 generating a pixmap once the graphics file is loaded into memory.
4564 The current_view ugliness that was in grfx::ModifiedImage has been
4565 moved here now that grfx::ModifiedImage is no more.
4567 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4569 * insettext.C: layout as layout
4571 2002-05-28 André Pönitz <poenitz@gmx.net>
4573 * insetfloatlist.h: remove source of compiler warning
4575 * insetref.C: tiny whitespace
4577 2002-06-15 Herbert Voss <voss@perce.de>
4579 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4580 and take always convert when no userdefined converter was
4582 (latex) small changes in the lyxerr output
4584 2002-06-15 LyX Development team <lyx@rilke>
4586 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4587 mixed content. Small white spaces clean.
4589 2002-06-14 Angus Leeming <leeming@lyx.org>
4591 * inseetexternal.C: remove the using std::difftime declaration.
4593 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4595 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4597 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4599 * insetquotes.C (draw): fix drawing of double quotes
4601 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4603 * insettabular.C: s/scrollCB/scrollDocView/
4605 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4607 * insettext.C: change of topCursorVisible()
4610 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4613 * insettext.C: rename/change of LyXScreen
4615 2002-06-07 Angus Leeming <leeming@lyx.org>
4617 Fixes needed to compile with Compaq cxx 6.5.
4619 * insetexternal.C: all c-library variables have been moved into
4620 namespace std. Wrap using std::xyz declarations inside a #ifndef
4621 CXX_GLOBAL_CSTD block.
4623 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4625 * insetinclude.C (uniqueID):
4626 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4627 conflicted with some AIX headers.
4629 2002-05-31 Juergen Vigna <jug@sad.it>
4631 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4635 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4637 * insetexternal.C (clone): fix () bug when using new
4638 (updateExternal): don't only look for difftime in global scope
4640 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4642 * insettabular.C: add const
4644 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4646 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4647 file name, in case there are weird characters like ',' in there.
4650 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4652 * switch from SigC signals to boost::signals.
4654 2002-05-28 André Pönitz <poenitz@gmx.net>
4656 * insets/insetgraphicsParams.[Ch]:
4657 put in inset related stuff from src/graphic
4659 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4667 * insetcollapsable.C:
4668 * insetcollapsable.h:
4696 * inseturl.h: use mouse_state. Kill insetKeyPress
4698 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4703 * insetcollapsable.C:
4706 * insetlatexaccent.C:
4708 * insetspecialchar.C:
4710 * insettext.C: name change for font metrics
4712 2002-05-24 Juergen Vigna <jug@sad.it>
4714 * insetgraphics.h: include inset.h first (for LString.h)
4716 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4718 * insettext.C: screen moved
4720 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4738 * inseturl.C: LyXView moved into frontends/
4740 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4745 * insetcollapsable.C:
4749 * insetgraphicsParams.C:
4750 * insetlatexaccent.C:
4752 * insetspecialchar.C:
4754 * insettext.C: move Painter to frontends/
4756 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4758 * insettabular.h: use more specific smart_ptr header.
4759 * insettext.h: ditto
4761 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4764 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4766 * insettext.C: clear selection on paste (bug 393)
4768 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4770 * insettext.C (latex): Honor the moving_arg argument.
4772 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4774 * insetfoot.C (latex): if a footnote is in a title layout, then it
4775 is a \thanks. And then, its contents is a moving argument.
4777 2002-05-14 Juergen Vigna <jug@sad.it>
4779 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4782 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4784 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4785 when using options "Full author list" or "Upper case".
4787 2002-05-14 Herbert Voss <voss@perce.de>
4789 * insetgraphics.C (prepareFile): allow files with same name
4791 (readFigInset): set the flags from old figinset in the right
4793 (findTargetFormat): more comments
4795 2002-05-14 Juergen Vigna <jug@sad.it>
4797 * insettext.C (edit): tell checkAndActivateInset() that we don't
4798 have a button press.
4799 (checkAndActivateInset): if button < 0 we don't have a button press
4800 on the inset and os we won't call edit on it if it's not a Highly
4801 editable inset (then we have to enter it).
4803 2002-05-13 Juergen Vigna <jug@sad.it>
4805 * insetcollapsable.C (insetButtonRelease): returned wrong return
4808 2002-05-09 Juergen Vigna <jug@sad.it>
4810 * insetcollapsable.C (edit): first_after_edit should only be
4811 set to true if we enter this inset and it was collapsed so we
4812 open it up. This is needed to reclose it after a search/replace
4813 or spellcheck function opened it and was negative.
4815 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4817 * insetfloat.C (latex): Return correct value.
4819 2002-05-04 Herbert Voss <voss@perce.de>
4821 * InsetgraphicsParams.C (read): fix bug with WH
4823 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4825 * insetfloat.C (latex): More sensible latex output
4826 (fix the problem with endfloat).
4828 2002-05-02 José Matos <jamatos@fep.up.pt>
4830 * insetgraphics.C (validate): acess params as everyone else.
4832 2002-05-03 Juergen Vigna <jug@sad.it>
4834 * insettabular.C (fitInsetCursor): recalculate the cursor position
4837 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4839 * InsetgraphicsParams.[Ch]: whitespace.
4841 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4843 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4844 float type do not exist.
4846 2002-04-28 Herbert Voss <voss@perce.de>
4848 * insetgraphics.C (latex): fix bug with missing file-extension.
4849 LaTeX still allows a missing "eps" or "ps".
4851 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4853 * insetfloat.C (c-tor, wide): translate the name of the float.
4855 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4857 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4858 when using natbib and make it work efficiently. Must emphasise that the
4859 real work is Herbert's.
4861 2002-04-23 Herbert Voss <voss@perce.de>
4863 * insetgraphic.C (prepareFile): fix bug with overwriting and
4864 deleting an existing *.eps-file in the doc-dir
4866 2002-04-23 Juergen Vigna <jug@sad.it>
4868 * insettabular.C (drawCellSelection): fix off by 1 error.
4870 2002-04-22 Juergen Vigna <jug@sad.it>
4872 * insettabular.C (setFont): rewoke full selection if it was asked,
4873 after we changed all we had to change.
4875 * insettext.C (insetUnlock): code was uninitialized in some situations.
4877 2002-04-19 Herbert Voss <voss@perce.de>
4879 * insetgraphic.C (prepareFile): return filename without
4880 extension if we only export without compiling
4882 2002-04-19 Juergen Vigna <jug@sad.it>
4884 * insettext.C (draw): call a fullRebreak on the row where we had a
4885 change and reset the cursor and selection-cursors.
4887 * insettabular.C (insetUnlock):
4888 (insetButtonPress): call an update before setting the_locking_inset = 0
4889 as otherwise we don't repaint!
4890 (update): reset the cursor position when we changed dimensions as
4891 otherwise our cursor may be on the wrong spot.
4893 2002-04-18 Juergen Vigna <jug@sad.it>
4895 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4896 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4897 redraw otherwise we won't redraw.
4899 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4900 not really right before, but I only discovered this with the last
4901 changes to Page up/down.
4903 2002-04-17 Juergen Vigna <jug@sad.it>
4905 * insettext.C (checkAndActivateInset): simplified as we now have the
4906 edit(bv, bool) call.
4908 * insettext.h: changed behind variables to front variables to be
4909 equal to the one in the edit call (as it is for that they are used).
4911 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4913 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4914 not output anything at all!
4916 2002-04-16 Juergen Vigna <jug@sad.it>
4918 * insettabular.C (insetButtonPress):
4919 (insetUnlock): call a redraw on unlocking the cell inset.
4921 * insettext.C (insetButtonPress): same as below.
4922 (lockInset): new function to set initial values when inset should
4924 (insetButtonPress): use above function.
4925 (insetUnlock): don't force a repaint only set the updateStatus. The
4926 outside world should repaint if it thinks it should be done!
4928 * insettabular.C (insetButtonPress): init values if not set as locked
4929 as we are locked if someone presses on us and don't call the edit()
4930 call of the InsetText to lock it do it as BufferView does it!
4932 * inset.h (insetInInsetY): make func const and return an int.
4935 * insetcollapsable.C: adapt the above changed function.
4937 2002-04-15 Juergen Vigna <jug@sad.it>
4939 * insettext.C (getCursorPos): return relative position as to be able
4940 to give them directly to the edit() call.
4941 (edit): we have to set also x_fix as it is not set inside the
4942 setCursorFromCoordinates call!
4943 (insetMotionNotify): ditto.
4945 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4947 * insetbib.C (getKeys): strip leading '\t's from the line too.
4948 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4950 2002-04-12 Juergen Vigna <jug@sad.it>
4952 * insettext.h: added cix() helper function and use it where appropriate
4954 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4956 * insetgraphics.C (prepareFile): fix bug when graphics is a
4959 2002-04-12 Juergen Vigna <jug@sad.it>
4961 * insettext.C (insertInset): remove unneeded code!
4962 (updateLocal): fitCursor() fixes.
4963 (collapseParagraphs): fix a possible problem when having a selection
4964 and collapsing the paragraphs.
4966 2002-04-08 Herbert Voss <voss@perce.de>
4968 * insetgraphic.C (write): write the rotating angle as
4969 a float as is. test only for != 0.0
4971 2002-04-11 Juergen Vigna <jug@sad.it>
4973 * insettext.C: new function ciy() and use it for setting inset_y.
4975 * insetert.C (draw): fix the x return for collapsed version.
4977 2002-04-07 Herbert Voss <voss@perce.de>
4979 * insetgraphic.C (readFigInset): fix bug with subcaption and
4982 2002-04-08 Herbert Voss <voss@lyx.org>
4984 * insetgraphicsparam.C: forgot special option and delete old
4987 2002-04-05 Juergen Vigna <jug@sad.it>
4989 * insettext.C (localDispatch): make a CURSOR update if we inserted
4992 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4994 * insetfloatlist.C (getScreenLabel):
4995 (latex): use Floating::listName
4996 (validate): new method
4998 2002-04-03 José Matos <jamatos@fep.up.pt>
5000 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5002 * insetfoot.[Ch] (docbook): added forgotten method.
5004 2002-04-03 Juergen Vigna <jug@sad.it>
5006 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5007 way as in Bufferview_pimpl.
5009 2002-04-03 Allan Rae <rae@lyx.org>
5011 * insetgraphics.C (latex): one % too many makes living on the bleeding
5012 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5014 2002-03-28 Herbert Voss <voss@lyx.org>
5016 * insetgraphic.C (latex): simplify the code for the latex
5017 output when the file doesn't exist
5019 2002-03-29 Juergen Vigna <jug@sad.it>
5021 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5024 * insettabular.C (edit): call fitCursor().
5026 * insettext.C (insetButtonPress): change behaviour of no_selection
5027 to the one in the BufferView selection_possible and fix the spurious
5028 selection bug with it.
5029 (localDispatch): revoke selection on BREAK... functions.
5031 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5033 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5035 2002-03-28 Juergen Vigna <jug@sad.it>
5037 * insettabular.C (insetAllowed): return true as default value otherwise
5038 we're not able to insert insets inside paragraphs of an not locked
5041 2002-03-27 Herbert Voss <voss@lyx.org>
5043 * insetgraphicsparam.C: change c%, p% to col%, page%
5045 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5047 * insetspecialchar.C (isLineSeparator): disable the nice code to
5048 allow linebreaks after hyphenation and menu separators.
5050 2002-03-26 Herbert Voss <voss@lyx.org>
5052 * insetgraphics.C (figinsetRead): set the right lyxview
5054 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5056 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5057 $\backslash$ and pass a "string const &" to the function.
5058 (prepareFile, latex): use Path rather than MakeAbsPath.
5060 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5062 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5063 proper fix to the graphics cache.
5064 (latex): "really" nice output if the file is not found ;-)
5066 2002-03-26 Juergen Vigna <jug@sad.it>
5068 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5069 (collapseParagraphs): fixed inserting of separator ' '
5071 * insettabular.C (insertAsciiString): only check for buffer lenght
5072 not if we have \t or \n inside the buffer as if we don't have we only
5073 have 1 cell and that's it!
5075 * insetert.C (close): don't collapse if inlined.
5077 2002-03-25 Herbert Voss <voss@lyx.org>
5079 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5080 graphics file does not exist.
5082 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5084 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5085 path when preparing export.
5087 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5088 no longer MakeRelPath.
5090 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5092 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5093 Used to determine the absolute path to the graphics file in the
5094 graphics cache and only in the graphics cache.
5095 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5096 make graphics file name absolute if it is stored as a relative path.
5098 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5099 make graphics file name absolute if it is stored as a relative path.
5101 * insettext.C (edit): emit an updateParagraph signal on entering a text
5102 inset. Needs to be emitted when leaving the inset also.
5104 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5106 * all files: ws cleanup
5108 * Makefile.am: remove ld -r stuff
5110 2002-03-21 Juergen Vigna <jug@sad.it>
5112 * insettext.C (appendParagraphs): new function added to append
5113 the paragraphs to this insets paragraphs.
5115 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5117 * Makefile.am: special rules if partial linking
5119 2002-03-19 Juergen Vigna <jug@sad.it>
5121 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5123 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5125 * insetgraphics.C: Clean up Baruch's comments a little.
5126 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5128 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5131 * insettheorem.C: wrap warnings
5133 * insetgraphics.C: improve messages, move cached_status_
5134 setting to safer place
5136 2002-03-18 Juergen Vigna <jug@sad.it>
5138 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5140 (localDispatch): ditto
5142 * insettext.C (edit): removed unneeded showCursor calls.
5143 (localDispatch): ditto.
5145 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5147 * insetgraphics.h: remove display() method.
5149 2002-03-11 Juergen Vigna <jug@sad.it>
5151 * insetgraphics.C (draw): hack to fix the redrawing bug.
5152 (draw): seems this fixes #268 (force redraw of row if we changed).
5154 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5155 this inset text (don't know why I missed this earlier).
5157 2002-03-08 Juergen Vigna <jug@sad.it>
5159 * insettabular.C (updateLocal): do a FULL update if we're not locked
5160 and only a CELL update is asked.
5162 * insettext.C (updateInsetInInset): update insets inside inset also
5163 if it isn't inside the_locking_inset.
5165 * insettabular.C (updateInsetInInset): ditto.
5167 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5169 * insetexternal.C (doSubstitution): check whether we are using a
5170 temp dir for defining $$FPath
5172 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5175 * insettext.C: remove #include "WorkArea.h".
5177 2002-03-06 Juergen Vigna <jug@sad.it>
5179 * insettext.C (draw): fixed frame redrawing.
5180 (clear): forgot to set the inset_owner of the paragraph.
5182 * insetert.C (status): pay attention the bv can be 0 here!
5183 (getMaxWidth): add the default leftMargin
5185 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5187 * insetert.C (getMaxWidth): make w unsigned int.
5189 2002-03-05 Juergen Vigna <jug@sad.it>
5191 * insetert.C (status): change behaviour of Inlined.
5192 (getMaxWidth): added for new inlined behaviour.
5194 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5196 * insetnote.h (linuxdoc, docbook): add empty methods.
5197 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5198 before being initialized.
5200 2002-03-05 Juergen Vigna <jug@sad.it>
5202 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5203 only that one in the inset. Should be enough.
5204 (updateLocal): set the selection cursor always if we don't have a
5205 selection to be sure it's set!
5207 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5209 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5211 * insettext.C (clear): a gross hack to set layout on a newly
5214 2002-03-04 Juergen Vigna <jug@sad.it>
5216 * insettabular.C (localDispatch): inserted handling of
5217 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5218 (insertAsciiString): new helper function.
5220 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5222 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5225 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5227 * insettext.C (InsetText): initalize newly created par with
5228 default layout. add bufferparams parameter
5231 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5232 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5233 * insetert.[Ch] (InsetERT): ditto
5234 * insetfloat.[Ch] (InsetFloat): ditto
5235 * insetfoot.[Ch] (InsetFoot): ditto
5236 * insetfootlike.[Ch] (InsetFootLike): ditto
5237 * insetmarginal.[Ch] (InsetMarginal): ditto
5238 * insetminipage.[Ch] (InsetMinipage): ditto
5239 * insetnote.[Ch] (InsetNote): ditto
5240 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5242 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5244 * insettext.C: layout as string
5246 * insetinclude.C: layout as string
5248 * insetert.C: layout as string
5250 * insetbib.C: layout as string
5252 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5255 * insettabular.C: remove #include "lyx_gui_misc.h".
5257 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5262 * inset.h: remove figinset, yahoo !
5264 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5266 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5267 copy c-tor and initialise member variables in the correct order.
5269 2002-02-28 Juergen Vigna <jug@sad.it>
5271 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5273 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5275 * inset.h: ... and add a better one here.
5277 * insetcommand.C (insetButtonRelease): remove that one which was a
5280 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5282 * insetcommand.C (insetButtonRelease): ... and move it here.
5284 * inseturl.h: remove insetButtonRelease from there...
5286 2002-02-26 Juergen Vigna <jug@sad.it>
5288 * inseturl.h: Added a insetButtonRelease call returning true as
5291 * insetlabel.C (edit): Fixed wrong update handling after change I
5292 leave in the wrong code for the one who wrote it to remove and have
5293 a look what he did wrong.
5295 * insettabular.C (localDispatch): force a SELECTION update if we
5296 had a selection and we passed the event down to the inset (fix #213)
5297 (localDispatch): handle font changing stuff when we have a cell
5298 selection so that the selection is not rewoked. I don't really like
5299 this fix, but it's the only way I see to do it right now.
5301 2002-02-22 Juergen Vigna <jug@sad.it>
5303 * insettext.C (insetUnlock): set the cursor to the second paragraph
5304 if available and if the first one is empty (fix #191).
5306 2002-02-20 Juergen Vigna <jug@sad.it>
5308 * insettext.C (getDrawFont): implemented this function to call the
5309 one of the owner if present as the owner normally knows what to do
5312 * insetert.C: implement getDrawFont() function and comment out all
5313 the crap for setting a special latex font inside this inset.
5314 (InsetERT): added a Lanugage parameter to this constructor.
5316 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5317 change the font for being drawn on screen (used only in InsetERT for
5320 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5321 and also above (was missing).
5322 (updateLocal): don't remove the cell selection if we have one this
5323 should be done where we really want to remove it.
5325 2002-02-20 José Matos <jamatos@fep.up.pt>
5327 * insetinclude.h: include_label made string const.
5329 * insetinclude.C (InsetInclude): moved include_label initialization.
5332 (validate): fix support for temporary directory, for docbook and
5335 * insetgraphics.h : new private member, graphic_label, that holds
5336 the entity name that defines the graphics location (SGML).
5338 * insetgraphics.C (unique_id): new function to give a unique label
5341 (validate): the file locatation is given by an entity reference.
5343 2002-02-18 Herbert Voss <voss@lyx.org>
5345 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5347 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5349 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5350 as support/systemcall.[Ch] and of class Systemcalls as class
5353 2002-02-18 José Matos <jamatos@fep.up.pt>
5355 * insetinclude.C (validate): some code only applies to latex buffers,
5356 it was made conditional.
5358 2002-02-12 Herbert Voss <voss@lyx.org>
5360 * insetgraphics.C: (prepareFile) do not check at this time
5361 if the file is present.
5363 2002-02-12 Herbert Voss <voss@lyx.org>
5365 * insetgraphics.C: latex(), return the correct newlines
5367 2002-02-13 José Matos <jamatos@fep.up.pt>
5369 * inseturl.C (docbook): escape & in url.
5371 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5373 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5374 after HYPHENATION and MENU_SEPARATOR
5376 * inset.h (isLineSeparator): new method, returns false by default.
5378 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5380 * insetert.C (status): do not update the text inset, but the ERT
5383 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5385 * insetnote.C: use notebg for background
5387 2002-02-08 Herbert Voss <voss@lyx.org>
5390 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5391 prevent LyX from unzipping when this should be handled
5392 by latex vis the graphic.cfg.
5395 2002-02-08 Herbert Voss <voss@lyx.org>
5397 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5398 exists, than return filename with extension
5400 2002-02-06 Herbert Voss <voss@lyx.org>
5402 * insetgraphic.C: prepareFile(): don't convert the file, when
5403 it's not viewed in LyX. Saves a lot of time when opening a
5406 2002-02-05 Herbert Voss <voss@lyx.org>
5409 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5410 and adding a rotate bool similiar to subcaption
5412 2002-02-04 Herbert Voss <voss@lyx.org>
5415 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5416 similiar view to the LaTeX one. Get zipped files work.
5418 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5420 * insetgraphicsParams.C (init): set display to DEFAULT.
5421 No longer #include "lyxrc.h".
5423 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5425 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5426 for now (so that the code compiles).
5428 2002-02-02 Herbert Voss <voss@lyx.org>
5430 * insetgraphic.C: delete inVariant() and some minor changes
5431 * insetgraphicsParams.[C]:
5433 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5435 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5436 interogate lyxrc.display_graphics before diaplaying the graphic.
5438 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5439 InsetGraphicsParams::DisplayType.
5441 2002-01-31 Herbert Voss <voss@lyx.org>
5443 * insetgraphic.C: (readfigInset) set display to pref-default
5445 2002-01-30 Herbert Voss <voss@lyx.org>
5447 * insetgraphic.C: get the filetyp from it's contents
5448 * insetgraphicparams.C: add token scale and lyxrc.display when
5449 creating a new inset
5451 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5453 * figinset.C: added using std::ios directive.
5455 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5457 * figinset.C (runqueue): open translation file in binary mode (for
5460 2002-01-27 Herbert Voss <voss@lyx.org>
5462 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5463 all options and to be sure that the old figinsets are correct
5465 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5466 structure and to support all lengths as LyXLength. The Parameter
5467 structure changed again, but reading of "old" 1.2 graphic insets
5470 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5472 * insetert.h (forceDefaultParagraphs): Added
5474 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5476 * insettabular.C (getMaxWidth):
5477 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5479 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5481 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5482 of LyXLength::inPixels
5484 * inset.C (latexTextWidth):
5485 * insetminipage.C (latexTextWidth): new method, which implements
5486 the equivalent of the LaTeX macro \textwidth
5488 * insetminipage.C (getMaxWidth): use latexTextWidth
5490 2002-01-18 Juergen Vigna <jug@sad.it>
5492 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5494 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5496 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5498 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5501 2002-01-17 Juergen Vigna <jug@sad.it>
5503 * insettabular.C (lockInsetInInset): same change as in insettext.
5505 * insettext.C (draw): width() function was called without setting
5506 the right top_x which could lead to wrong insetWidth setting!
5507 (lockInsetInInset): call edit instead of calling lockInset if we
5508 have to lock an inset inside!
5509 (edit): we have to also tell the inset that we have to redraw the
5510 frame on an edit call if this inset draws a frame only if locked.
5512 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5514 * insetbib.C (getFiles): uncomment Path variable.
5516 2002-01-16 Juergen Vigna <jug@sad.it>
5518 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5521 2002-01-16 Allan Rae <rae@lyx.org>
5523 * insetinclude.C (docbook): someone forgot a ";"
5525 2002-01-16 José Matos <jamatos@fep.up.pt>
5527 * figinset.C (docbook): removed a old place holder "@".
5528 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5529 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5530 ascii text version, clearly guarded inside a CDATA section.
5531 (docbook): in docbook 4, inlinegraphics is empty.
5532 * insettabular.C (linuxdoc): export the ascii version of the table
5533 inside a CDATA section.
5535 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5537 * insetparent.C (InsetParent):
5538 * insetgraphicsParams.C (Write):
5540 * insetgraphics.C (prepareFile):
5543 * insetexternal.C (executeCommand):
5544 (doSubstitution): use Buffer::filePath
5546 * insetbib.C (getFiles): add a #warning for Angus
5548 * insetgraphics.C: Add a remark about how filenames should be
5549 considered to be relative to buffer (but absolute is still allowed)
5550 (draw): do not try to get status if lyxrc.use_gui is false
5552 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5555 * insetcollapsable.[Ch]:
5556 * insettabular.[Ch] (searchForward, searchBackward): change the
5557 bool const & params to bool.
5559 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5560 to avoid the name clash with InsetCollapsable's methods of the same
5561 names but different functionality.
5563 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5565 * insettext.C (ascii): use lyx::count rather than countChar.
5567 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5569 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5571 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5573 * insetgraphics.C (updateInset): do not try to render image if
5574 lyxrc.use_gui is false (bug #104)
5576 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5577 if file does not exist
5579 * figinset.C (browseFile): add shortcuts to directory buttons
5581 * insettext.C (updateLocal): update menubar and toolbar here too.
5583 2002-01-13 Allan Rae <rae@lyx.org>
5585 * insettabular.C (InsetTabular): Both constructors now initialise
5586 all class variables.
5588 2002-01-11 Juergen Vigna <jug@sad.it>
5590 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5592 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5594 * insettabular.C (getStatus): add forgotten brace around multiline
5597 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5599 * insetfloat.C (validate): require "float" instead of "floats".
5601 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5603 * insettabular.C (getStatus): use FuncStatus
5605 2002-01-08 Juergen Vigna <jug@sad.it>
5607 * insettabular.C (insetButtonRelease): now this should work too
5610 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5611 if the width is a percentage.
5613 * inset.h: added isChar() function and implemented this for
5614 insetspecialchar insetquotes and insetlatexaccent.
5615 added forceDefaultParagraphs() and implemented it for insettabular.
5617 2002-01-07 Juergen Vigna <jug@sad.it>
5619 * insettext.C (getLyXText): Fixed this function. An insert into the
5620 map is only done if we REALLY have a new BufferView.
5622 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5624 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5626 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5628 * insetinclude.C: fix use of FileInfo
5630 2002-01-07 Juergen Vigna <jug@sad.it>
5632 * insettabular.C (draw): fixed clearing of cell around inset.
5634 2002-01-05 Juergen Vigna <jug@sad.it>
5636 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5637 variables are updated.
5639 * insettabular.C (resetPos): set always the inset_y as it may be
5640 needed in another function.
5641 (searchBackward): don't draw while searching.
5643 2002-01-04 Juergen Vigna <jug@sad.it>
5645 * insettext.C (lockInsetInInset): forgot to set a cursor.
5647 2002-01-02 Juergen Vigna <jug@sad.it>
5649 * insettext.C (insertInset): make the correct undo informations on
5650 inserting new insets.
5652 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5654 * insettabular.C: correct single-cell select vertically
5656 2001-12-27 Juergen Vigna <jug@sad.it>
5658 * insettabular.C (ascii): export as tab-separated-values if the
5659 function was not called from export (f.ex.: clipboard).
5661 * insetcollapsable.h: added default support for ascii, linuxdoc and
5662 docbook export (the insettext is exported by default!)
5664 * insettabular.C (copySelection): suff the clipboard with the tabular
5665 data in a tab separated format, seems more naturals then with all the
5668 2001-12-24 Juergen Vigna <jug@sad.it>
5670 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5671 to check for REAL mouseMotion.
5673 2001-12-20 Juergen Vigna <jug@sad.it>
5675 * inset.C (cursor): return the owners cursor if available instead of
5676 always only the bv->text->cursor.
5678 * insettabular.C (checkLongtableSpecial): works now.
5680 2001-12-19 Juergen Vigna <jug@sad.it>
5682 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5683 this has to be always row + 1 as 0 means not selected!
5684 (checkLongtableSpecial): added
5685 (tabularFeatures): better longtable options support
5687 * insettext.C (resizeLyXText): reinit the text always also on a
5690 2001-12-18 Juergen Vigna <jug@sad.it>
5692 * insettext.C (updateInsetInInset): look if we have to autocollapse
5693 paragraps and return if the update is requested for ourself.
5695 * insetert.C (status): update the insettext not myself as that is what
5698 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5699 function only return if the update was requested with myself.
5701 * insettext.C (insetButtonPress): fixed stupid bug.
5702 (various functions): pay attention that lt is cleared BEFORE calling
5703 updateLocal() and try to use it in the right manner (don't use it
5704 if it's not really neccessary!)
5705 (collapseParagraphs): insert a blank between collapsing paragraphs
5706 if neccessary (not already there!).
5708 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5710 * insettabular.C: move includes around a bit, add a couple of
5713 * insettext.[Ch]: move includes around a bit, other ws changes and
5716 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5718 * insettext.C (insetButtonRelease): fix compile problem
5720 2001-12-17 Juergen Vigna <jug@sad.it>
5722 * insettext.C (insetButtonPress): set the selection cursor!
5723 (insetButtonPress): clear the selection (and set with that the
5724 selection.cursor) if we only hit an inset!
5726 * insetert.C (read): removed piece of compatibility code only needed
5729 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5732 * insetcollapsable.C (insetButtonRelease): changed so that it can
5733 open eventual existing popup dialogs on mousebutton==3.
5735 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5737 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5739 * inset.C (insetButtonRelease): return a bool for telling the outer
5740 world that we opened a dialog.
5742 2001-12-07 Juergen Vigna <jug@sad.it>
5744 * insettext.C (paragraph): remove the deleteing of paragraphs as
5745 it was a WRONG move!
5747 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5750 * insettabular.C: use new setSelection(). Allow
5751 selection of single cells.
5753 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5755 * insetquotes.C (latex): fix to use the local language setting at
5756 the point where the inset is inserted (different macros for
5757 different french packages)
5759 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5761 * inset.h: add par_owner_ member variable and parOwner
5764 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5766 * insettabular.C (everywhere): adapt because widths are now real
5767 widths and not strings
5769 * insettext.C (draw): re-introduce the calls to width(), ascent()
5770 and descent() to initialize the caching variables.
5772 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5774 * insettext.C (draw):
5775 (drawFrame): use insetWidth instead of last_width
5777 * insettext.h: remove variable last_width (insetWidth is exactly
5778 the same) and last_height (computed but never used!)
5780 2001-12-10 Allan Rae <rae@lyx.org>
5782 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5784 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5786 * insettext.C (insetAllowed): add comment
5788 2001-12-05 Juergen Vigna <jug@sad.it>
5790 * insettext.C (insetAllowed): fixed for the case that we directly
5791 ask the insettext from its LyXText.
5792 (paragraph): fixed the crash when assigning the par->next() from
5793 the EmptyParagraphMechanism!
5795 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5799 * insettext.C: change "while(" to "while ("
5801 2001-12-04 Juergen Vigna <jug@sad.it>
5803 * insetert.C (edit): handle Inlined status.
5805 * insettext.C (insertInset): trying John's fix for the trailing cursor
5807 * insetert.C (insetButtonPress): added to handle inlined status
5808 (insetMotionNotify): ditto.
5810 * insettext.C (clearInset): changed Painter & in BufferView * param,
5811 to be able to call ascent,descent methods.
5813 2001-12-03 Juergen Vigna <jug@sad.it>
5815 * insettext.C (updateInsetInInset): use lt variable to forbid
5816 changes of LyXText in an update call.
5817 (updateInsetInInset): fixed updating of non locked insets!
5819 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5821 * insettabular.C: capture some more functions to prevent
5822 selection drawing problems. Bug #451274
5824 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5827 * insetgraphicsParams.C: fix inverted sense of float_equal
5829 2001-11-30 Juergen Vigna <jug@sad.it>
5831 * insettabular.C (InsetTabular): use the save_id flag to create also
5832 the tabular with the same id's.
5834 * insettext.C (setParagraphData): added a same_id function for undo
5835 to set the same paragraph id's as of the paragraph we are setting.
5837 2001-11-30 José Matos <jamatos@fep.up.pt>
5840 * insettoc.[Ch]: DocBook -> docbook.
5842 2001-11-29 André Pönitz <poenitz@gmx.net>
5845 * insettext.C: further reduction of header dependencies by using
5846 lyx::layout_type and lyx::textclass_type from support/types.h
5848 2001-11-29 Juergen Vigna <jug@sad.it>
5850 * insettext.C: inserted a reinitLyXText function everywhere I delete
5851 the paragraphs! This should fixe the crashes we had.
5852 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5853 (paragraph): set the InsetOwner() of the new paragraphs!
5855 2001-11-28 André Pönitz <poenitz@gmx.net>
5857 * insetnote.C: add pos initialization that I removed without
5860 2001-11-28 Juergen Vigna <jug@sad.it>
5862 * insettabular.C (resetPos): hack to not crash with infinite paints.
5864 * insettabular.h: insert missing function allowSpellcheck()!
5866 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5868 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5871 * insetfloatlist.C: derive from InsetCommand so gui can use it
5874 2001-11-26 André Pönitz <poenitz@gmx.net>
5878 * insetnote.C: reduce header dependencies, introduce type for
5881 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5883 * various: update for Alert.h
5885 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5887 * inset.h: fix comment
5889 * insettext.C: use par->isInset()
5891 2001-11-22 Allan Rae <rae@lyx.org>
5893 * insetcollapsable.h:
5894 * inset.h: Changes to checkInsertChar() behaviour.
5895 Now return value indicates whether chars can be inserted.
5897 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5899 * various: updated to use the new LaTeXFeatures
5901 2001-11-14 José Matos <jamatos@fep.up.pt>
5903 * insetspecialchar.C (linuxdoc):
5904 (docbook): don't give a name to a unused variable.
5906 * insettext.C (docbook): removed unused variable.
5908 2001-11-13 Herbert Voss <voss@perce.de>
5910 * insetgraphic.C: fix scale bug
5912 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5914 * inset.h (isSpace):
5915 (isLetter): new virtual methods.
5917 * insetspecialchar.C (isSpace):
5918 (isLetter): implement here.
5920 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5922 * inset.h: new inline helpers
5924 * insettext.C: use new helpers
5926 2001-11-07 José Matos <jamatos@fep.up.pt>
5928 * insettext.C (docbook): full support for paragraphs inside insettext.
5930 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5932 * insetindex.C: added header file for std::ostream.
5934 2001-11-03 José Matos <jamatos@fep.up.pt>
5936 * insetindex.C: added using std::ostream that I forgot yesterday.
5938 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5940 * insetindex.h (docbook):
5941 * insetindex.C (docbook): added support for docbook export.
5943 2001-11-02 José Matos <jamatos@fep.up.pt>
5945 * insetcaption.C(docbook): added support for docbook export.
5947 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5949 * insetexternal.C (updateExternal): Do not run update command if
5950 result file exists and is up to date.
5952 * ExternalTemplate.C (readFormat): Support the updateresult token.
5954 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5956 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5957 external_templates) to use the buffer->fileName() but only if
5958 previewing. Generating a TeX file should make FPath return
5961 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5964 * insetert.C: fix some problems
5966 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5968 * insetexternal.C (doSubstitution): Added $$FPath token
5969 to list of usable substitutions in external inset templates.
5971 2001-10-24 Juergen Vigna <jug@sad.it>
5973 * insettabular.C: use new ltType struct for setting longtable
5974 header and footers also new UNSET enums.
5976 2001-10-24 José Matos <jamatos@fep.up.pt>
5978 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5979 (docbook): If the table is not inside a float then wrap it inside
5980 <informaltable>...</informaltable>.
5982 2001-10-23 José Matos <jamatos@fep.up.pt>
5984 * insetref.C (docbook): removed / terminator to conform SGML.
5986 * insetspecialchar.C (linuxdoc):
5987 (docbook): Added support for special chars, more than ascii export.
5989 2001-10-22 Juergen Vigna <jug@sad.it>
5991 * insettext.C (checkInsertChar): added for REALLY checking the
5992 font of the inserted char in the right inset!
5994 2001-10-19 Juergen Vigna <jug@sad.it>
5996 * inset.h: added method allowSpellcheck() so that insets who do
5997 not have anything to spellcheck can tell and so they are over-jumped.
5998 Implemented for InsetText and co.
6000 2001-10-18 Juergen Vigna <jug@sad.it>
6002 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6004 2001-10-15 José Matos <jamatos@fep.up.pt>
6006 * insetert.C: allow export for docbook and linuxdoc
6008 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6010 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6012 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6014 * insetquotes.C (dispString): fix handling of latin9 quotes
6016 2001-10-03 Juergen Vigna <jug@sad.it>
6020 * insetcollapsable.C: change updateInset calls to not tell BV that
6021 we have changed status.
6023 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6025 * insettabular.C (deletable): make const
6027 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6029 * insetert.C (latex): Fix the returned value
6031 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6033 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6034 Returns string(), so nothing in an ERT inset is spellchecked.
6036 * insetgraphics.C (draw): print the filename if not displaying the
6038 (width): make sure that the width and draw methods are consistent.
6039 (updateInset): don't even load the image into cache if not displaying
6042 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6044 * various files (selectNextWord): renamed as
6045 selectNextWordToSpellcheck.
6047 * insetgraphics.C (draw): remove the previous change. Right place
6048 is in imageLoaderXPM.C.
6049 (draw): don't display the image if params.display == NONE.
6051 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6053 * figinset.C (runqueue):
6054 * insetgraphics.C (draw): set background colour of inset from
6055 background to the user-configurable graphicsbg.
6057 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6059 * insetquotes.C (InsetQuotes): when trying to decide the side of
6060 the quote, choose `left' only after a space or '('
6062 2001-09-04 José Matos <jamatos@fep.up.pt>
6067 * insetcollapsable.h
6085 * insetlatexaccent.C
6086 * insetlatexaccent.h
6091 * insetspecialchar.C
6092 * insetspecialchar.h
6096 * insettext.C (docbook): rename docBook method to docbook.
6098 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6100 * inset.h (getFirstParagraph): New virtual method.
6102 2001-08-20 Herbert Voss <voss@perce.de>
6103 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6104 in the the bibtex-database-gui for inserting a line
6107 If no style is given than there is no tex-output.
6109 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6111 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6115 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6117 * insetert.C (latex): Fix output for multiple paragraphs.
6118 (write): New code for writing paragraph data.
6119 (read): Set font after reading the inset.
6120 (localDispatch): Call set_latex_font() for more cases.
6122 * insetnote.h: Add empty validate method.
6125 * insetnote.C (InsetNote): Set language to the language of the
6128 2001-08-16 Juergen Vigna <jug@sad.it>
6130 * insettext.C: implemented the new FINISHED states.
6132 * insettabular.C: ditto
6134 * inset.h: added more FINISHED states for cursor right,up,down
6136 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6138 * insetfloatlist.C: use "FloatName List"
6140 2001-08-14 Juergen Vigna <jug@sad.it>
6142 * insetert.C (edit): forgot to set status_ in edit calls!
6144 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6146 * insettext.C: Compilation fix
6148 2001-08-13 Juergen Vigna <jug@sad.it>
6150 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6152 * insetcollapsable.C (edit): don't recollapse an already open inset.
6154 * insettext.C: fixed problem when reinitializing LyXText by not doing
6155 it while lt is in use and post this to the next possible time in
6157 (searchForward): fixed not unlocking of inset if nothing found.
6158 (edit): set cursor behind right (was set -1 pos).
6160 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6162 * insettabular.C (tabularFeatures): fixed fix where deleting the
6163 last row didn't get the right actcell!
6165 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6167 * insettext.C (localDispatch): Change language only when the inset
6170 2001-08-10 Juergen Vigna <jug@sad.it>
6172 * insettabular.C (selectNextWordInt): use the front using edit call.
6174 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6175 the parameter overwrite class variable inset.
6177 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6179 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6180 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6182 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6183 update only for fixed with cells.
6184 (resetPos): try to fix the lockup on spellchecking or s&r.
6186 * insettext.C (update): comment this out as it seems first wrong
6187 and second not needed anymore!
6188 (some functions): call reinitLyXText() only in update() in all other
6189 positions set only need_update = INIT.
6191 2001-08-08 Juergen Vigna <jug@sad.it>
6193 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6195 * insettext.C (insetUnlock): remove double-space on inset unlock.
6197 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6199 * insettabular.C (update): fixed cursor positon after an insert.
6200 (insetAllowed): do not allow to insert insets when not inside the
6202 (draw): clear below an inset too as it could have changed height.
6204 * inset.C (getMaxWidth): fixed width for inset in inset.
6206 * insettext.C (update): small fix.
6208 * insettabular.C (tabularFeatures): added selection support to
6209 DELETE_ROW/DELETE_COLUMN.
6211 2001-08-07 Juergen Vigna <jug@sad.it>
6213 * inset.C (getMaxWidth): recoded and all it's implementations!
6215 * insettext.C (init,setParagraph+constructors): cleanups
6216 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6217 are new and I want do a save/restore of the cursor position which is
6218 not possible anymore.
6220 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6221 (searchBackward): ditto
6222 (selectNextWord): ditto
6224 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6226 * insetlatexaccent.C (checkContents): Add some debug messages
6228 2001-08-07 Juergen Vigna <jug@sad.it>
6230 * insetert.C (read): don't use InsetCollapsable::read as we don't
6231 write the collapsed status anymore only the status.
6234 2001-08-06 Juergen Vigna <jug@sad.it>
6236 * insetert.C (set_latex_font): use LyXText's setFont directly.
6238 * insettext.C (drawFrame): fixed one time more the right position
6239 and size of the frame!
6241 * insetert.C (~InsetERT): hide the dialog.
6242 (showInsetDialog): added implementation
6245 (status): new function for the status of the ERT inset (3-state).
6246 (write): output also the status of the inset for readback!
6247 (read): readback the status if available otherwise use collapsed_.
6249 * insettext.C (edit): small fix of setting the position, which could
6252 * insetert.C (width): implement this function for inlined viewing.
6253 Added minimum width of 10 pixels!
6255 * insetminipage.C (InsetMinipage): just change the colors a bit so
6256 that border/background is a bit more visible. We will remove this
6259 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6260 function for getting the important widths for drawing in various
6261 functions and in LyXText.
6262 (draw): fixed up a bit (frame drawing/clearing)
6264 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6266 * inset.C (convertFont): delete method. not used.
6268 2001-08-03 Juergen Vigna <jug@sad.it>
6270 * insettext.C (setFont): don't call for a draw update if we're just
6271 changing the cursor font!
6273 2001-08-02 Juergen Vigna <jug@sad.it>
6275 * insettext.C (draw): clear the background with the right color if
6276 needed. Update myself if x&max-width changed and return without doing
6277 anything. Let the update code handle the right stuff.
6279 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6280 inside another inset.
6282 2001-08-01 Juergen Vigna <jug@sad.it>
6284 * insetcollapsable.C (update): added an in_update bool so we avoid
6287 * insettabular.C (update): added an in_update bool so we avoid
6290 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6292 (update): added an in_update bool so we avoid reentering.
6294 * insettabular.C (localDispatch): clear col/row selection when doing
6295 something else inside an inset.
6297 * insettext.C (getLyXText): fixed bug when requesting a recursive
6300 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6302 * insetcite.C (latex): Paranoia check. Make sure that there is no
6303 whitespace between the citation keys.
6305 2001-07-31 Juergen Vigna <jug@sad.it>
6307 * inset.h (nodraw): make the set function also const so that this
6308 can be called from inside other const functions.
6310 * insetcollapsable.h: removed inline variable and moved it over
6311 to the only user InsetERT.
6313 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6314 inset opening immediately therein lying insets dialogs!
6316 * insetert.C (localDispatch): set the font also if we don't have any
6317 chars in this paragraph, otherwise if we delete all of em and start
6318 writing we have the wrong font.
6320 (draw): implemented for inline support
6321 (insetButtonRelease): ditto.
6323 2001-07-30 Juergen Vigna <jug@sad.it>
6325 * insettext.C (reinitLyXText): new function to reinit the insets
6326 text after lot's of paragraph changes. Use this instead of the
6327 cache.clear() which is VERY dangerous.
6329 * insetfloat.C (insetButtonRelease): we should only show the dialog
6330 if we press on the label otherwise we have problems to open mouse
6331 button 3 dialogs inside this float (f.ex. of a tabular!)
6333 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6335 * insetert.C: change back to "ERT"
6337 * insetfloat.C: handliign of RMB on label added.
6339 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6341 * insetgraphicsParams.C: #include LOstream.h here.
6343 * insetfoot.h: remove InsetFoot:: qualifier.
6345 2001-07-29 Baruch Even <baruch@lyx.org>
6347 * ChangeLog: Hiding time travel evidence.
6349 * insetgraphicsParams.h:
6350 * insetgraphicsParams.C:
6351 * insetgraphics.C: Added horizontal scale option, it actually
6352 scales both directions since it keeps image proportions.
6354 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6356 2001-07-29 Baruch Even <baruch@lyx.org>
6358 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6359 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6361 HACKY! Will need to add an EPS detection routine like old InsetFig
6364 2001-07-29 Baruch Even <baruch@lyx.org>
6366 * insetgraphics.C: Added EPSI to be an alias of EPS.
6368 2001-07-29 Baruch Even <baruch@lyx.org>
6370 * insetgraphics.C: Change GRAPHICS to Graphics.
6371 Changed image conversion rules (documented at the beginning of file).
6373 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6375 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6378 * insetgraphics.C: added a using std::endl directive.
6380 * insetcommand.h (getScreenLabel): removed pure virtual function,
6381 as it duplicates that in InsetButton.
6383 * insetbib.[Ch] (getScreenLabel):
6384 * insetbutton.[Ch] (getScreenLabel):
6385 * insetcite.[Ch] (getScreenLabel):
6386 * insetert.[Ch] (getScreenLabel):
6387 * insetexternal.[Ch] (getScreenLabel):
6388 * insetfloatlist.[Ch] (getScreenLabel):
6389 * insetinclude.[Ch] (getScreenLabel):
6390 * insetindex.[Ch] (getScreenLabel):
6391 * insetlabel.h (getScreenLabel):
6392 * insetparent.[Ch] (getScreenLabel):
6393 * insetref.[Ch] (getScreenLabel):
6394 * insettoc.[Ch] (getScreenLabel):
6395 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6397 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6399 (validate): remove check on "cite" when using natbib.
6401 2001-07-26 Baruch Even <baruch@lyx.org>
6403 * insetgraphics.C (draw): changed casting to be in one place
6404 rather than all over the function.
6407 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6409 * insetgraphicsParams.h:
6410 * insetgraphicsParams.C:
6411 * insetgraphics.C: Removed inline option and changed rotateAngle
6414 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6416 * insetfoot.C (validate): Added method to ensure that the
6417 right bit of LaTeX is emitted.
6419 * insetfoot.h: Added validate method to set the correct
6420 LaTeXFeatures bit for the special footnote code.
6422 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6424 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6427 2001-07-27 Juergen Vigna <jug@sad.it>
6429 * inset.h: remove not used font variable in parameter.
6430 removed checkInsertChar in UpdatableInset as it was equal to
6431 the one in Inset and so not needed.
6433 * insetert.C (checkInsertChar): implementation of function
6436 * inset.h: added new function checkInsertChar.
6438 * various files: added c-tor and clone() function.
6440 * insetcollapsable.h: removed clone function here as this should
6441 be only realized in REAL insets and added it to all collapsable
6442 insets! (with the copy-constructor).
6444 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6446 * insetminipage.C (read): handle missing parameters more gracefully
6448 * insetcollapsable.C (read): handel missing collapsed more gracefully
6450 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6452 * insetfloat.C (read): handle missing parameters.
6454 * insettext.C (read): handle old latex end_inset
6456 * insetert.C (setButtonLabel): new method
6457 (init): use it, to set the dynamic label correctly
6460 * Makefile.am (EXTRA_DIST): add files that is not part or the
6463 * insetcollapsable.h: remove autocollapsable (no users), remove
6464 draw_label, change_label_with_text and companion code. Remove args
6466 * insetert.[Ch]: move here instead (only user)
6468 * inset.h: rename private variable name to name_, make
6469 selectNextWord return a const string. make getInsetName return a
6470 string const &. Remove bool from open, add close.
6472 * Makefile.am: don't compile insetlist, insetsection
6475 2001-07-24 Juergen Vigna <jug@sad.it>
6477 * insetert.C (InsetERT): put init after the paragraph initialization,
6478 as otherwise we don't set the draw_label right.
6480 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6481 insets with the mouse without having strange selections.
6482 (edit): if the inset was collapsed and we open it here then put the
6483 cursor always at the beginning of the inset.
6484 (get_new_label): 15 instead of 10 max chars in the label.
6486 * insetert.C (localDispatch): added and handle various stuff we
6487 need to handle here (font setting on paragraph break, not permitted
6488 layout setting, etc.).
6490 * inset.h: added default copy-consturctor and implemented this in
6491 various insets with the change to use this in the clone function!
6493 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6495 * insetminipage.C (InsetMinipage): set background color to red :)
6497 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6499 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6500 draw frame mode is LOCKED.
6502 * insetcollapsable.C (edit):
6503 (insetButtonRelease): set update status to full when
6506 * insettext.C (clearInset):
6507 * insettabular.C (draw):
6508 * insetlatexaccent.C (draw): honor background color.
6510 * inset.h: new member background_color_, initialized to
6513 * inset.C (backgroundColor): new method.
6514 (setBackgroundColor): new method.
6516 * insetert.C (init): new method, called by the ctors.
6517 (InsetERT): when inserting contents, make sure the font is
6520 * insetnote.C (InsetNote): when inserting content, remove trailing
6522 (init): set background color to LColor::note
6524 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6526 * insetcollapsable.C: adjust
6528 * insetbutton.C: adjust
6530 2001-07-23 Juergen Vigna <jug@sad.it>
6532 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6533 parameter on the _collapsed function (was not needed) and call
6534 always width_collapsed().
6536 * insetert.C (InsetERT): use setLabel with "true" flag.
6538 * insetcollapsable.C: modified various functions to set the draw_label
6539 string right in any condition.
6540 (setLabel): added a bool parameter to set change_label_with_text.
6542 * insetcollapsable.h: added draw_label string which is set to the
6543 actual drawn label-string, while label is the original static label
6544 of this collapsable inset. Added bool change_label_with_text to set
6545 if we want that the label changes to the start of the InsetText's
6546 text when collabpsed. You can set this flag with the setLabel funciton.
6547 Added bool inlined for inlined collapsable insets, but not handled
6550 * insetcollapsable.C (get_new_label): added should get a new label
6551 from the InsetText beginning (for now 10 chars).
6553 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6555 * insetquotes.C (latex): fix the handling of french double quotes
6556 when not using the french pachage.
6558 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6560 * insetcollapsable.h: make WidthCollapsed mutable.
6562 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6563 InsetPrintIndex returns INDEX_PRINT_CODE.
6565 * inset.h: add INDEX_PRINT_CODE
6567 * insetcollapsable.C (draw): init widthCollapsed if necessary
6570 * insetquotes.C (width): use the local language, not the document
6573 (dispString): add additional spacing for all french languages,
6575 (validate): make it work when there is no default language
6577 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6579 * insetnote.C (init): new method, called by the constructors
6580 (InsetNote): new constructor with contents passed as a string
6582 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6584 * insetfootlike.C (insetAllowed): disallow float in footlike.
6586 * insetert.C (InsetERT): add collapsed argument to the constrctor
6589 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6591 * insetindex.h: shut off warning
6593 2001-07-20 Juergen Vigna <jug@sad.it>
6595 * insetcollapsable.C (update): recoded hopefully works now!
6597 2001-07-19 Juergen Vigna <jug@sad.it>
6599 * most files: implemented the below new introduced function.
6601 * inset.h: added new edit(BufferView *, bool front) method to be able
6602 to enter an inset from the front/back without knowing x/y positions
6603 and baselines inside the inset. So I just can tell the inset activate
6604 me and set the cursor on the front/back of yourself.
6606 2001-07-18 Juergen Vigna <jug@sad.it>
6608 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6609 is given to the InsetText.
6610 (insetButtonPress): ditto
6611 (insetButtonRelease): ditto
6612 (insetMotionNotify): ditto
6614 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6616 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6617 LIGATURE_BREAK, since the name is so stupid.
6619 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6621 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6622 the default InsetCollapsable methods. I.e., it can insert anything.
6623 (write) output the name of the inset, not some silly hack for
6624 compatability with the old InsetInfo.
6626 * insetinfo.[Ch]: removed.
6627 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6628 now collapsable, but functionality is otherwise identical to InsetInfo.
6630 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6632 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6634 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6637 * insetquotes.C: general cleanup
6638 (dispString): add spaces inside french double quotes.
6639 (latex): ditto. Moreover, treat first the case where the frenchb
6640 or french options have been given.
6642 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6644 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6647 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6649 * figinset.C (RegisterFigure): Print debug message only when
6650 current_view is available.
6652 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6654 * many files: update to match the change below
6656 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6657 implement the version which takes an inset here.
6659 * insetcollapsable.[Ch]: implement open and isOpen
6661 * inset.h: remove insertInsetAllowed from Inset
6662 (open): new method, to open or close an inset
6663 (isOpen): returns the status of an inset
6664 (isCollapsable, colapse): removed
6666 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6668 * insetquotes.C (dispString): display french guillemets when using
6671 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6673 * insetcollapsable.h: remove bogus return statements
6675 2001-07-18 Juergen Vigna <jug@sad.it>
6677 * insettabular.C (selectNextWord): fixed spellchecking for the
6678 first cell of a tabular (wasn't entered!)
6679 (getLyXText): changed to enter automatically insettext and return
6680 it's LyXText if we're locked.
6682 2001-07-17 Juergen Vigna <jug@sad.it>
6684 * various files: implemented the below functions.
6686 * inset.h: added functions
6687 - virtual string selectNextWord(BufferView *, float & value) const;
6688 - virtual void selectSelectedWord(BufferView *) { return; }
6689 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6690 needed for spellchecking correctly!
6692 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6694 * insetert.C (latex): write out all paragraphs.
6696 2001-07-17 Baruch Even <baruch@lyx.org>
6698 * insetgraphics.C (draw): Removed unneeded casts.
6700 2001-07-16 Juergen Vigna <jug@sad.it>
6702 * insettext.C (update): fixed small oversight (reset lt to 0).
6704 2001-07-14 Baruch Even <baruch@lyx.org>
6707 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6709 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6711 Consistent use of Lsstream.h:
6712 * figinset.C: removed using std::ostringstream directive.
6714 * insetgraphics.C (createLatexOptions):
6715 * insetinclude.C (unique_id):
6716 std::ostringstream -> ostringstream.
6717 * insettext.C (localDispatch): std::istringstream -> istringstream.
6719 2001-07-13 Juergen Vigna <jug@sad.it>
6721 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6723 * insetcollapsable.C (getLockingInset): ditto.
6725 2001-07-12 Juergen Vigna <jug@sad.it>
6727 * insetcollapsable.h: added implementation of new function for
6730 * various files: added implementation of new insertInsetAllowed-func
6731 and redone the function a bit more.
6733 * inset.h: added isCollapsable(), bool collapsed(),
6734 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6736 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6738 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6739 LyXText which is marked for removal while we're using it!
6741 * insettext.h: added private LyXText * lt to use it to assure we are
6742 not deleting our LyXText while we're using it!
6744 2001-07-11 Juergen Vigna <jug@sad.it>
6746 * insettext.C (insertInset): check if we are before the inset after
6747 inserting it! This check IS needed. Remove the Undo-Call as it is
6748 called in LyXText::insertInset!
6750 * insettext.h: added struct InnerCache.
6752 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6753 that we ONLY delete the LyXText in the getLyXText() routine. So we
6754 are sure we don't delete LyXText while someone is working with it!
6756 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6758 * insetexternal.C: (*it). -> it->
6759 * insettext.C: ditto
6761 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6763 * insetcollapsable.C (edit): always open collapsed insets (even if
6764 they are not autocollapsable)
6766 * insetcommand.C (operator=): simplify.
6768 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6770 * insetert.C (latex): handle META_NEWLINE
6772 2001-07-09 Juergen Vigna <jug@sad.it>
6774 * insetert.h: a normal InsetText can insert insets, but we won't.
6776 * inset.h: return default "false" on insertInsetAllowed and implement
6777 this function where a returnvalue != "false" is needed.
6779 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6781 * insetert.C (InsetERT): new contructor
6783 2001-07-06 Juergen Vigna <jug@sad.it>
6785 * a lot of files: added implementation of the below new functions
6786 and the change to clone(). Also the call of the new undo-functions
6789 * inset.h: added an inset_id, added functions getParFromID,
6790 getInsetFromID, firstParagraph, cursor and id functions, added
6791 bool same_ids to clone function.
6793 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6795 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6796 of BufferView * and shared_ptr<LyXText>
6798 2001-07-05 Juergen Vigna <jug@sad.it>
6800 * insettext.C (clear): deleted also the cache not only LyXText.
6801 (setParagraphData): ditto.
6803 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6805 * insetfloat.C (latex): let the specific placement take presedence
6806 if set, otherwise choose document placement if set, otherwise just
6807 use float default placement.
6809 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6811 * insettext.C (localDispatch): call CutAndPaste::'s static method
6814 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6816 * insetbib.C: no meed to include forms.h here.
6818 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6820 * insettext.C: added using std::make_pair directive.
6822 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6824 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6826 (deleteLyXText): ditto
6827 (resizeLyXText): ditto
6829 2001-07-02 Juergen Vigna <jug@sad.it>
6831 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6832 following calls are only returned the right pointer without the over
6833 head to search in the map.
6834 (various funcs): reset the cached_bview variable as this signs that
6835 the cache is not valid anymore.
6837 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6839 * insettabular.C (clone): do not copy the LyXTabular twice
6841 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6843 * insettext.h (TEXT): delete method
6845 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6847 * insetmarginal.C (latex):
6848 * insetfoot.C (latex): fix spacing of notes in LaTeX
6850 * insettext.C (localDispatch): use .c_str() on istringstream
6851 constructor argument.
6853 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6858 * inseturl.C: fix method names in these to begin
6859 with small char too, so they inherit
6861 2001-06-28 Juergen Vigna <jug@sad.it>
6863 * insettext.C (setFont): fixed font settings using toggleFree()
6864 instead of setFont().
6866 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6868 * Change a lot of method names to begin with a small char.
6869 Changes to a lot of files because of this.
6871 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6873 * insetfloatlist.C (Write): std:: qualify ostream
6876 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6880 * insetgraphics.C: send debug output to Debug::INFO instead of
6883 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6886 * insettabular.C (getStatus): update to use func_status
6888 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6890 * insetref.C (DocBook): added support for cross-references without
6893 2001-06-26 The LyX Project <jug@sad.it>
6898 * insetlabel.h: removed escape method and moved it to
6901 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6903 * insettabular.C (getMaxWidth): do the speedup in a different way,
6906 2001-06-24 The LyX Project <Asger>
6908 * insettabular.C (getMaxWidth): We cache a mapping from
6909 inset to cell in order to speed this method up.
6911 2001-06-24 The LyX Project <Asger>
6913 * insettext.C: Optimized InsetText::draw or something.
6915 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6917 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6919 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6921 * inset.h: name change from lyxinset.h
6923 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6925 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6927 2001-06-14 Juergen Vigna <jug@sad.it>
6929 * insettext.C (draw): removed warnings.
6931 2001-06-13 Juergen Vigna <jug@sad.it>
6933 * insettabular.C (nodraw): only go down the tree if we don't have
6934 that flag set otherwise it's obvious that we don't want to draw.
6935 (LocalDispatch): do also an update if we have an undispached result.
6937 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6940 * insetgraphicsParams.C:
6941 * insettext.C: removed // -*- C++ -*- as first line.
6943 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6945 * lyxinset.h (resizeLyXText): shut off warning about unused
6948 2001-06-07 Juergen Vigna <jug@sad.it>
6950 * insettext.C (resizeLyXText): honor the new force flag.
6952 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6954 * insettabular.C (deleteLyXText): new function
6956 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6964 * insetcollapsable.C:
6965 * insetcaption.C: LColor tidy
6967 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6969 * figinset.C: fix typo
6971 2001-06-01 Juergen Vigna <jug@sad.it>
6973 * insettabular.C (resetPos): small hack so that scroll is not set to
6974 0 when we are in the last column of a tabular. This is a problem we
6975 have because of constats 20 offset on both directions, so this can
6976 cause on the limit an endless loop.
6978 * insettext.C (SetFont): forgot that we can have locking insets ;)
6980 2001-05-31 Juergen Vigna <jug@sad.it>
6982 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6984 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6986 * figinset.C: add using std:: directive for the C functions which
6989 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6991 * insetfloat.C (Write): write out wide info
6992 (Read): read the wide info
6993 (Latex): use the wide info when creating latex.
6995 * insettext.C: adjust
6997 * insetgraphics.[Ch] (statusMessage): change to return string
7001 * figinset.C (runqueue): add std::
7004 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7006 * insetcite.C (Ascii): add std:: qualifier
7008 2001-05-28 Juergen Vigna <jug@sad.it>
7010 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7011 a endless-width inset (maxWidth < 0).
7012 (Edit): change language only if not equal.
7014 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7016 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7018 2001-05-16 Juergen Vigna <jug@sad.it>
7020 * insettext.C (selectAll): added
7021 (clearSelection): added
7023 * insettabular.C (SetFont): now we may set a font on a whole selection!
7024 (getSelection): added helper function.
7026 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7028 * insetcite.C (Ascii): Add method.
7030 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7033 * insetbib.C: fix path for OS/2 & Win32
7035 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7037 * insetfoot.C (Latex): don't use % after footnote.
7039 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7041 * insettext.C (Read): use clear
7042 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7044 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7046 * insetfloatlist.h: add a bunch of std:: qualifiers.
7048 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7050 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7051 FLOAT_LIST_CODE, renumber code list.
7053 * insettoc.C (getScreenLabel): remove support for float lists
7057 * insetfloatlist.[Ch]: new files
7059 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7061 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7063 * insettabular.C (LocalDispatch):
7064 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7067 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7069 * insettext.C: remvoe !NEW_INSETS cruft
7071 * insettabular.C: remove !NEW_INSETS cruft
7073 * insetcollapsable.h: remove !NEW_INSETS cruft
7075 * insetbib.C: remove !NEW_INSETS cruft
7077 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7079 * insettoc.C: hack to make listof algorithm work
7081 2001-04-20 Juergen Vigna <jug@sad.it>
7083 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7085 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7087 * insetquotes.C (Latex): improve the guard against
7088 unwanted !` and ?` ligatures. This should really be done in
7089 another place (to catch all this ligatures at low-level).
7091 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7093 * insettext.C (init): remvoe leftovers from cursor_visible change
7094 (draw): use c++ cast
7095 (LocalDispatch): dispatch LFUN_MESSAGE
7097 * insettabular.C (InsetTabular): remove leftovers from
7098 cursor_visible, and scoped_ptr changes
7099 (draw): use c++ cast
7101 * insetcollapsable.C (draw): use c++ cast
7103 * ExternalTemplate.h: inherit privaely from noncopyable
7104 * insetcommand.h: ditto
7105 * insetinclude.h: ditto
7107 2001-04-16 Allan Rae <rae@lyx.org>
7109 * insettoc.C (Ascii):
7110 * insettext.C (draw):
7111 * insettabular.C (setPos):
7112 * insetminipage.C (Read):
7113 * insetfloat.C (placement):
7114 * insetcaption.C (Ascii, DocBook):
7115 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7116 an unrecognised preprocessor directive. So ensure they're wrapped.
7118 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7121 * insetexternal.C: set view on Clone. Add _ to private members.
7123 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7125 * insettext.C (InsetText): fix new
7126 (InsetText): reindent some, simplify deletion of par list
7127 (clear): simplify deletion of par list, fix new
7128 (SetParagraphData): simplify deletion of par list
7130 * insettabular.[Ch] (getLabelList): implement new method
7132 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7134 * lyxinset.h: do not include gettext.h...
7142 * insetlatexaccent.C:
7146 * inseturl.C: ... and do it here instead
7148 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7150 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7152 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7154 * insetcollapsable.[Ch] (getLabelList): implement
7156 * insettext.[Ch] (getLabelList): implement
7158 * insettext.h: reindent
7160 * insettabular.h: make tabular a scoped_ptr
7162 * insettext.C (init): adjust for cursor_visible
7163 (ToggleInsetCursor): constify asc and desc, font, adjust for
7165 (ShowInsetCursor): constify asc and desc, font, adjust for
7167 (HideInsetCursor): adjust for cursor_visible
7169 * insettabular.C: reindent some
7170 (InsetTabular): adjust for scoped_ptr and cursor_visible
7171 (InsetTabular): ditto
7172 (~InsetTabular): delete delete
7173 (Clone): adjust for scoped_ptr
7174 (Read): constify old_format, adjust for scoped_ptr, move init of
7176 (draw): constify tx, localize loop vars.
7177 some other localization of variables, remove double initilizatons.
7179 * insetfoot.C: remove using std::ostream, add ostream where needed
7181 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7183 * lyxinset.h: some reindentaion, use initializer list for
7185 UpdatableInset: make cursor_visible a private var add
7186 public isCursorVisible(), add protected toggleCursorVisible() and
7187 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7189 * insettoc.C: remvoe using decl
7190 (getScreenLabel): make cmdname donst
7193 (Ascii): don't use endl
7195 * insetfootlike.C: remove using decl at file scope and add std::
7197 * insetmarginal.C: ditto
7199 * insetfoot.C: some reformatting
7201 * insetfloat.C (InsetButtonRelease): adjust the hit area
7203 * insetert.C (SetFont): some reformatting
7205 * insetcollapsable.C: some reformatting and constification
7206 (Clone): comment out.
7207 * insetcollapsable.h: some reformatting
7208 (Clone): comment out.
7213 2001-03-30 Juergen Vigna <jug@sad.it>
7215 * insetcollapsable.h: changen *inset to be a InsetText inset.
7217 * some files: changed to reflect the above change.
7219 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7221 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7222 InsetExternal::Params.
7223 Added operator==() and operator!=() for the Params struct.
7225 2001-03-29 Juergen Vigna <jug@sad.it>
7227 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7230 * insetminipage.C: removed widthp_ and all it's functions and changed
7231 to use new %-lengths of LyXLength.
7233 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7235 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7237 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7239 * insetgraphicsParams.C (operator!=): new function, needed by the
7240 ControlGraphics class.
7242 2001-03-28 Juergen Vigna <jug@sad.it>
7244 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7245 (checkAndActivateInset): don't use the values returned from
7246 call to bv->checkInsetHit.
7248 * insetminipage.C (Clone): set special minipage values.
7250 * insetcollapsable.C (draw): changed to draw the button in the
7251 upper left corner outside the textinset.
7252 (ascent): changed because of different drawing
7256 (InsetButtonPress): ditto
7257 (InsetButtonRelease): ditto
7258 (InsetMotionNotify): ditto
7260 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7262 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7266 2001-03-26 Juergen Vigna <jug@sad.it>
7268 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7270 * insettext.C (ShowInsetDialog): implemented above function.
7272 * insettabular.C (ShowInsetDialog): ditto
7274 * insetminipage.C (ShowInsetDialog): ditto
7276 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7278 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7279 InsetInclude::Params. Don't store a buffer * in Params. Store the
7280 master file name instead.
7282 2001-03-23 Juergen Vigna <jug@sad.it>
7284 * insetcollapsable.C (InsetMotionNotify):
7285 (InsetButtonRelease):
7286 (InsetButtonPress): fixed y-offset (minipages).
7288 * insettext.C (draw): force a FULL update if cleared == true.
7290 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7291 routine to draw the minipages on its position-flag.
7292 (InsetInInsetY): give back the right y position, because of minipage
7295 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7298 * insetfloat.C (DocBook): docbook export code.
7300 2001-03-22 Juergen Vigna <jug@sad.it>
7302 * insetminipage.C (getMaxWidth): added function to set the drawing
7304 (Read): should work now!
7306 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7307 if we create a new inset.
7309 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7311 * figinset.C (fl_set_preemptive_callback): moved definition outside
7314 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7316 * insetminipage.C (Read): prepare for reading of minipage arguments.
7318 2001-03-18 Baruch Even <baruch@lyx.org>
7320 * insetgraphics.C: Minor cleanups of the comments and code.
7322 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7324 * insetminipage.C (InsetMinipage): default to not collapsed
7326 2001-03-16 Juergen Vigna <jug@sad.it>
7328 * insetminipage.C (width): modified with to be a string
7329 (widthp): added widthp (for % width) support functions.
7330 (InsetButtonRelease): added to open the options dialog on button==3.
7331 (~InsetMinipage): added to hide the dialog.
7333 * insetminipage.h: added hideDialog signal
7335 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7337 * insetminipage.h: change the order or Position to match
7338 LyXParagraph::MINIPAGE_ALIGNMENT
7340 * several files: remvoe CXX_WORKING_NAMESPACES
7342 * ExternalTemplate.h: noncopyable is in namespace boost
7343 * insetinclude.h: ditto
7344 * insetcommand.h: ditto
7346 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7348 * insettext.C (Edit): #else# -> #else.
7349 * insettoc.C: added using directive.
7351 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7353 * insetminipage.h: add pos, inner_pos, width and height. + getters
7354 and setters for all of them.
7356 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7358 * insetinclude.C (Latex): Do not exit when the textclass of the
7359 included file differ from the textclass of the parent file.
7361 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7363 * ExternalTemplate.C (read): the reading of external insets now checks
7364 for \end_inset and removes it form the input stream.
7366 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7368 * ExternalTemplate.h:
7369 * ExternalTemplate.C:
7371 * insetexternal.C: move form to GUII
7373 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7376 * insetinclude.C: add InsetIncludeParams, use
7377 composition rather than derivation of InsetCommand
7379 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7381 * insettoc.C (Ascii): use the Buffer typedefs
7383 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7385 * insettoc.C (Ascii): implement for dynamic number of lists
7387 * insetcaption.[Ch]: update from new_insets branch
7388 * insetfloat.[Ch]: ditto
7390 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7393 * figinset.C: use new File Dialog
7395 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7397 * insettext.C: changes becuase of ParagraphParameters.
7399 2001-02-28 Baruch Even <baruch@ev-en.org>
7401 * insetgraphics.C (updateInset): Changed due to the change in
7404 2001-02-26 Juergen Vigna <jug@sad.it>
7406 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7407 handled in LyXText).
7409 2001-02-23 Juergen Vigna <jug@sad.it>
7411 * insettext.C (draw): some small repainting fixes.
7412 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7414 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7415 should be) and not an int.
7417 * insettabular.C (LocalDispatch): ditto
7419 * insettext.C (LocalDispatch): ditto
7421 * insetcollapsable.C (LocalDispatch): ditto
7423 2001-02-22 Juergen Vigna <jug@sad.it>
7425 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7426 DISPATCH it and we don't have a locking_inset.
7428 2001-02-21 Baruch Even <baruch@ev-en.org>
7430 * insetgraphics.[Ch]: Changed to use
7431 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7433 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7435 * insetcollapsable.C (getLyXText): add const qualifier to second
7438 2001-02-22 Juergen Vigna <jug@sad.it>
7440 * insettext.C (getLyXText): honor the recursive parameter.
7441 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7443 * inset.C (getLyXText): added bool recursive parameter.
7445 * insettext.C (SetUpdateStatus): or the update codes.
7446 (draw): check need_update with &.
7447 (InsetButtonPress): set no_selection to not put a selection when
7448 entering an inset and it is redraws in another spot.
7450 * insettext.h: made need_update an int.
7452 2001-02-20 Baruch Even <baruch@ev-en.org>
7455 * insetgraphisc.C: Changed to use better semantics when loading images
7456 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7458 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7462 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7463 consistent with InsetTabular.
7465 2001-02-19 Juergen Vigna <jug@sad.it>
7467 * insettabular.C (LocalDispatch): implement PAGE up/down.
7469 * insettext.C (draw): clear all of it on need_update==INIT too!
7471 * insettabular.C (InsetUnlock): always clear the selection.
7473 * inset.C (scroll): normally we only want to scroll the inset until
7474 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7476 2001-02-14 Juergen Vigna <jug@sad.it>
7478 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7479 (resetPos): fixed scroll behaviour.
7480 (LocalDispatch): do an update if moving cursor inside a table cell
7481 requests a scroll of the tabular.
7483 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7485 * insettext.C (textWidth): constify local var
7487 * insettabular.C: small cleanup.
7489 * insetfoot.C (Latex): constify local var
7491 * insetcollapsable.C: small cleanup.
7493 * figinset.C (runqueue): use compare instead of strcmp
7495 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7498 * insetinfo.C: remove cruft
7500 2001-02-14 Juergen Vigna <jug@sad.it>
7502 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7504 2001-02-13 Juergen Vigna <jug@sad.it>
7506 * insettext.C (InsertInset): don't move left (is this right?)
7508 * insettabular.C (LocalDispatch): use of the no_draw variable
7510 * insettabular.h: new no_draw variable to stop redraw
7512 * insettabular.C (TabularFeatures): fixed update for alignment change
7514 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7518 * insetbib.C: move dialogs to frontends/
7520 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7522 * insettext.C (LocalDispatch): Restore the language if the inset
7525 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7527 * insettext.C (moveRightIntern): Update the selection cursor.
7528 (moveLeftIntern): Ditto.
7530 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7532 * Makefile.am: remove BoundingBox.h
7534 * BoundingBox.h: removed
7536 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7538 * insettext.C (LocalDispatch): Update selection cursor when moving
7539 cursor to the right.
7540 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7541 (moveLeftIntern): Ditto.
7543 2001-02-05 Baruch Even <baruch.even@writeme.com>
7545 * insetgraphics.C: Updated automatic image conversion, it now goes into
7546 temporary directory instead of with the image itself.
7548 2001-01-21 Baruch Even <baruch@ev-en.org>
7550 * insetgraphics.C: Added Docbook support. Added Automatic image
7551 conversion to EPS or PNG when needed (support bitmap graphics).
7553 2000-11-02 Baruch Even <baruch@ev-en.org>
7556 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
7557 to '\n' and removal of commented out code.
7559 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7561 * insetbib.C (callback): Update citations if the key has changed.
7563 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7565 * insetbib.C (InsetBibKey): Better computation of default key.
7566 (getScreenLabel) Show both the key and the label.
7567 (getBibLabel): New method.
7568 (callback): Force a redraw if the inset have been changed.
7570 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7572 * insetref.C (getType, getName): Move methods from
7573 src/frontends/xforms/FormRef.C.
7575 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7577 * insettabular.C: Various improvements (use only one dummy position).
7579 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7581 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7582 par->bibkey->width. This fixes the crashes when running without
7583 gui or when having included documents.
7585 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7587 * insetcommand.C (getAsString, setFromString): Cleanup.
7589 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7591 * insetref.C: Add the array InsetRef::types that contains
7592 information about all supported reference types.
7594 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7596 * lyxinset.h: remove trailing comma in enum.
7598 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7600 * insettext.C: kill LyXBell.