1 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
6 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
8 2003-10-02 André Pönitz <poenitz@gmx.net>
10 * insettext.C (read): make sure there is at least one par
11 in the text after reading.
13 2003-10-01 José Matos <jamatos@lyx.org>
15 * insetbranch.C (linuxdoc, docbook): minor fix.
17 2003-10-01 Angus Leeming <leeming@lyx.org>
19 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
21 * insetexternal.[Ch]: changes due to the introduction of
22 namespace lyx::external.
24 2003-09-30 Angus Leeming <leeming@lyx.org>
26 * insetexternal.[Ch] (Params::read, write): new member functions.
28 2003-09-25 Angus Leeming <leeming@lyx.org>
30 * insetexternal.[Ch] (TempName): new (private) nested struct with
31 fake copy semantics. Enables us to use the generated copy c-tor
33 (Params::templatename, Params::tempname): use accessor functions.
35 2003-09-25 Angus Leeming <leeming@lyx.org>
37 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
38 function, returning a const pointer.
40 2003-09-23 Angus Leeming <leeming@lyx.org>
42 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
43 store them in a vector, preambleNames.
45 * insetexternal.C (validate): loop over all preambleNames and call
46 LaTeXFeatures::addExternalPreamble with each.
48 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
50 * insetbranch.C: bug fix in branches
52 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
54 * insetnote.C: small clean-up.
56 2003-09-19 Angus Leeming <leeming@lyx.org>
58 * inset.h (generatePreview): passed a 'Buffer const &' arg.
60 * insetcommand.C (string2params): clear params using the default c-tor.
62 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
63 InsetInclude::Params. No more data in this struct than in
64 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
65 (c-tor): no need to pass a 'Buffer const &' arg anymore.
66 (clone): remove #warning as it's now redundant.
67 (set): add a 'Buffer const &' arg. Make private.
68 (loadIfNeeded) move out of the class definition and into namespace anon.
69 (getMasterFilename, getFileName): ditto.
71 2003-09-18 Angus Leeming <leeming@lyx.org>
73 * insetcommand.C (setParams): use the params' copy constructor.
75 2003-09-18 Angus Leeming <leeming@lyx.org>
77 * insetinsetbase.h (getLabelList):
78 * insetinsetcollapsable.[Ch] (getLabelList):
79 * insetinsetinclude.[Ch] (getLabelList):
80 * insetinsetlabel.[Ch] (getLabelList):
81 * insetinsettabular.[Ch] (getLabelList):
82 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
83 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
85 2003-09-18 Angus Leeming <leeming@lyx.org>
87 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
88 redundant baggage from yesteryear.
89 Remove Params::flag as it is redundant; the info is present in
92 2003-09-18 Angus Leeming <leeming@lyx.org>
94 * insetinclude.C (latexString): add a Buffer const & arg.
96 2003-09-18 Angus Leeming <leeming@lyx.org>
101 * insettext.h: rename EnumLColor as LColor_color.
103 2003-09-18 Angus Leeming <leeming@lyx.org>
105 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
106 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
108 2003-09-16 Angus Leeming <leeming@lyx.org>
110 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
111 set before trying to generate a preview, else we trigger an assert.
113 2003-09-16 Angus Leeming <leeming@lyx.org>
115 * insetinclude.C (PreviewImpl::parent): return a const reference.
117 2003-09-16 Angus Leeming <leeming@lyx.org>
119 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
121 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
123 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
124 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
126 * insetminipage.C (metrics):
127 * insetnote.C (metrics):
128 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
129 access collapsed_ directly.
131 2003-09-16 Angus Leeming <leeming@lyx.org>
133 * insetbibitem.C: add #include "lyxfont.h".
135 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
138 * insetbibtex.C: use namespace alias for lyx::support::os
140 2003-09-16 Angus Leeming <leeming@lyx.org>
142 * insetcollapsable.h: remove unused framecolor variable.
143 Remove #include "LColor.h".
145 * insetcollapsable.C: remove unused framecolor variable.
148 * insetcollapsable.C:
156 Add #include "LColor.h".
158 2003-09-16 Angus Leeming <leeming@lyx.org>
160 * insettext.[Ch] (frameColor): new accessor function.
161 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
167 add #include "LColor.h".
169 * insetcollapsable.h: add #include "LColor.h"
170 (for its framecolor member variable).
172 2003-09-16 Angus Leeming <leeming@lyx.org>
174 * insetenv.C (constructor): use accessor functions to access InsetText variables.
176 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
177 rename frame_color as frame_color_. Make private.
179 * insettext.C: associated changes.
181 2003-09-16 Angus Leeming <leeming@lyx.org>
183 * inset.h: store background_color_ as an int, not as an LColor::color to
184 get LColor.h out of the header file.
187 * insetlatexaccent.C:
190 * insetspecialchar.C:
192 add #include "LColor.h".
194 2003-09-16 Angus Leeming <leeming@lyx.org>
196 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
199 2003-09-15 Angus Leeming <leeming@lyx.org>
201 * inset.[Ch] (setBackgroundColor, backgroundColor):
202 * insettext.[Ch] (setFrameColor):
203 pass EnumLColor args, rather than LColor::color ones.
205 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
215 * insetwrap.C: remove usage of STRCONV
217 2003-09-15 Angus Leeming <leeming@lyx.org>
219 * renderers.C (draw):
220 * insetlatexaccent.C (draw): explicitly define the color passed to
223 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
225 * insettext.C: remove block causing problems in lockInsetInInset
226 (mentioned erroneously under Bug #1366)
228 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
230 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
233 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
235 * several files: change Assert to BOOST_ASSERT
237 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
239 * insettext.[Ch]: remove drawText[XY]Offset
241 2003-09-08 Angus Leeming <leeming@lyx.org>
243 * insetcollapsable.C:
248 * insetspecialchar.C:
251 * insettoc.C: remove redundant using directives.
253 2003-09-07 Angus Leeming <leeming@lyx.org>
256 * insetspecialchar.h: remove #include "support/std_string.h".
258 2003-09-06 Angus Leeming <leeming@lyx.org>
260 * renderers.C: add #include "insets/inset.h"
262 2003-09-05 Angus Leeming <leeming@lyx.org>
264 * *.C: strip out redundant #includes. (193 in total.)
266 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
268 * insets/insetbibtex.[Ch]:
269 * insets/insetcommand.h:
270 * insets/insetfloatlist.[Ch]:
271 * insets/insetinclude.[Ch]:
272 * insets/insettoc.[Ch]: Restricts the mouse click functionality
273 of insets like bibtex, include, toc and floatlist to the visible
274 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
275 up the dialogs. Cursor has to be in front of the inset (i.e.
276 start of row) for this to function.
278 2003-09-04 Angus Leeming <leeming@lyx.org>
280 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
281 structure outside of the Format struct. Format::preambleName refers to
282 an item in the map of all preamble snippets.
283 Make use of the new Debug::EXTERNAL flag.
285 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
286 (validate): Small change due to the changed storage of preamble snippets.
288 2003-09-04 Angus Leeming <leeming@lyx.org>
290 * insetgraphics.C: #include "support/os.h"
292 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
293 * insettabular.h: move #include "FuncStatus.h" out of the header file.
294 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
296 * insetcollapsable.h:
298 * insetnote.C: move #include "funcrequest.h" out of the header file.
300 2003-09-03 Angus Leeming <leeming@lyx.org>
302 * insetexternal.C (updateExternal):
303 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
306 2003-09-03 Angus Leeming <leeming@lyx.org>
308 * insetexternal.C: don't bring namespace lyx::support into the global
311 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
313 * insetbranch.C: Add Branch: to label
315 2003-09-02 John Levon <levon@movementarian.org>
318 * insettext.C: remove cursor.i[xy]()
320 2003-08-28 Angus Leeming <leeming@lyx.org>
322 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
323 "sh ", enabling the conversion to be carried out even if the script
326 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
328 * most files: change to use const Buffer refs
330 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
332 * insetfootlike.C: whitespace.
334 2003-08-26 John Levon <levon@movementarian.org>
338 * insetindex.h: remove remaining mentions of needFullRow()
340 2003-08-26 André Pönitz <poenitz@gmx.net>
346 * inset.[Ch]: remove InsetOld::par_owner_ & handling
348 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
350 * insetbranch.C: Small fix to prevent a crash on loading.
352 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
357 * insetcollapsable.h:
359 * insetfloatlist.[Ch]:
360 * insetfootlike.[Ch]:
368 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
369 altogether, putting the logic in metrics/draw in the insets.=20
370 Draws short single row insets with more or less realistic metrics.
372 2003-08-19 André Pönitz <poenitz@gmx.net>
374 * insettext.C: use new RowPainter interface
376 2003-08-18 John Levon <levon@movementarian.org>
378 * insetref.C: require amsmath for eqref
380 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
384 * insetbranch.[Ch]: implements the 'branch inset'
385 idea. This allows the output of various versions of a document
386 from a single source version, selectively outputing or suppressing
387 output of parts of the text.
388 This implementation contains a 'branch list editor' in a separate
389 tab of the document settings dialog. Branches are user definable
390 and have a "display colour" to distinguish them on-screen.
392 ColorHandler was somewhat cleaned up.
393 (1) make possible a dynamically growing LColor list by allowing
394 the graphic context cache to grow along (vector);
395 (2) eliminate an IMHO unnecessary step in colour allocation.
397 2003-08-15 André Pönitz <poenitz@gmx.net>
399 * insettext.[Ch]: adjust after rowlist split
401 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
403 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
404 rename valign-center to valign-middle;
405 rename VALIGN_CENTER to VALIGN_MIDDLE
407 2003-08-11 André Pönitz <poenitz@gmx.net>
409 * inset.h: remove resizeLyXText
412 * insetcollapsable.[Ch]:
414 * insettabular.[Ch]: adjust
416 * insettext.[Ch]: remove saveLyXTextState,
417 restoreLyXTextStat, sstate, reinitLyXText
419 2003-08-07 André Pönitz <poenitz@gmx.net>
421 * inset.[Ch]: move non-crucial functions out-of-line
423 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
424 remove duplicated code.
426 2003-08-05 André Pönitz <poenitz@gmx.net>
429 * insetcollapsable.[Ch]:
442 * updatableinset.[Ch]: rip out "deep update"
444 * insettext.C (localDispatch): merge cases with default branch
446 * insettext.C (frame_x,y,w,h): replace member with automatic variables
448 * insettabular.[Ch] (updateLocal): simplify logic
450 2003-08-04 André Pönitz <poenitz@gmx.net>
452 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
453 is 'FULL' all the time.
455 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
457 * insetert.C (get_new_label): only add ... to the (closed) label
458 when the string has been shortened
460 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
462 * Always use std::endl with lyxerr
464 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
466 * insetnote.C: update \author list
468 2003-07-31 André Pönitz <poenitz@gmx.net>
470 * insetcollapsable.h:
472 * insettext.[Ch]: remove toggleSelection
474 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
476 (with help from Juergen Spitzmueller)
477 * insetnote.C: add add i18n support. Use Prefs-definable
478 colours for Comment and Greyedout.
480 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
482 * insetcollapsable.[Ch]:
484 * insetert.C: factor out the detection of clicking on the inset
485 button as 'hitButton'. John Levon contributed.
487 2003-07-30 André Pönitz <poenitz@gmx.net>
489 * insetcollapsable.C:
491 * insettabular.C: parantheses, localize vars etc.
493 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
495 * insetnote.C: Implement a newenvironment in preamble for
496 greyedout. Patch provided by Jürgen Spitzmüller.
498 2003-07-29 Angus Leeming <leeming@lyx.org>
500 * insetcommand.C (localDispatch): default to
501 InsetOld::localDispatch.
503 * insetbibitem.C (localDispatch):
504 * insetbibtex.C (localDispatch): remove call to
505 ChangeCitationsIfUnique.
507 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
509 * insetexternal.C (read): use pushpophelper.
511 2003-07-28 José Matos <jamatos@lyx.org>
513 * insetext.C (read): \end_document replaces \the_end.
515 2003-07-28 José Matos <jamatos@fep.up.pt>
517 * insetert.C (write): \layout -> \begin_layout.
518 Add missing \end_layout.
520 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
522 * insetquotes.C: document a bit the format
524 * insettabular.C (write): remove extra space
526 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
527 * insetnote.C: Umpf. Hope I *now* get it right :-(
529 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
530 *insetnote.C: did the right fix to greyedout: \color
531 instead of \textcolor.
533 2003-07-28 Angus Leeming <leeming@lyx.org>
535 * insetbibtex.h: remove extraneous forward declaration.
538 * insetbibtex.h: Also remove long-dead Holder member class
541 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
543 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
546 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
548 * insetwrap.C (addToToc): adjust for lyx::toc
550 * insetfloatlist.C (ascii): adjust for lyx::toc
552 * insetfloat.C (addToToc): adjust for lyx::toc
554 2003-07-27 José Matos <jamatos@fep.up.pt>
556 * insetnote.h (linuxdoc,docbook): update support.
558 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
560 * insetfloat.C (wide): add a space to label, for consistency
562 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
564 * insettext.C (nextChange): adjust for lyx::find
565 (searchForward): ditto
566 (searchBackward): ditto
568 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
570 * insetgraphicsParams.C:
571 * insetexternal.C: declare extern displayTranslator
574 * renderers.C: add #include "support/LAssert.h"
576 2003-07-27 José Matos <jamatos@fep.up.pt>
578 * insetfloat.[Ch] (linuxdoc):
579 * insetgraphics.C (linuxdoc):
580 * insettabular.C (linuxdoc):
581 * insettext.[Ch] (linuxdoc): add support for tables and figures
584 2003-07-27 José Matos <jamatos@fep.up.pt>
586 * insetinclude (latex): comply with makeLaTeXFile argument change.
588 2003-07-26 Asger Alstrup <alstrup@local>
590 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
591 the undo crashes. We'll see what problems other places this will
594 2003-07-26 Angus Leeming <leeming@lyx.org>
596 * insetgraphics.C: remove unused declaration of system_tempdir.
598 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
600 * rename Inset to InsetOld
602 * all inset files (clone): return a auto_ptr<InsetBase>
604 2003-07-23 Angus Leeming <leeming@lyx.org>
606 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
608 2003-07-23 Angus Leeming <leeming@lyx.org>
610 * mailinset.[Ch] (inset2string):
611 * insetcommand.[Ch] (inset2string):
612 * insetert.[Ch] (inset2string):
613 * insetexternal.[Ch] (inset2string):
614 * insetfloat.[Ch] (inset2string):
615 * insetgraphics.[Ch] (inset2string):
616 * insetinclude.[Ch] (inset2string):
617 * insetminipage.[Ch] (inset2string):
618 * insetnote.[Ch] (inset2string):
619 * insettabular.[Ch] (inset2string):
620 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
622 * insetexternal.[Ch]:
623 * insetgraphics.[Ch]: get rid of the view() function. Associated
624 changes to the mailers' string2params and params2string functions.
626 2003-07-23 Angus Leeming <leeming@lyx.org>
628 * insetexternal.[Ch]: store the external file name in a FileName
629 member variable rather than a string + associated changes.
631 2003-07-21 Angus Leeming <leeming@lyx.org>
633 * insetgraphicsParams.[Ch]: store the graphics file name in
634 a FileName member variable rather than a string.
636 * insetgraphics.[Ch]:
637 * insetgraphicsParams.[Ch]: Associated changes.
639 2003-07-21 Angus Leeming <leeming@lyx.org>
641 * insetgraphics.[Ch] (string2params, params2string): passed a
642 buffer_path argument.
645 2003-07-21 Angus Leeming <leeming@lyx.org>
648 * insetgraphicsParams.[Ch]:
650 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
652 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
654 * insetnote.C: fixed greyout and conditionals layout foul-ups.
656 2003-07-18 André Pönitz <poenitz@gmx.net>
659 * insetminipage.[Ch]:
663 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
665 2003-07-18 André Pönitz <poenitz@gmx.net>
669 * insetcollapsable.C:
673 * insetgraphics.[Ch]:
674 * insetlatexaccent.[Ch]:
679 * insetspecialchar.C:
682 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
684 2003-07-17 André Pönitz <poenitz@gmx.net>
686 * insetcollapsable.C:
688 * insettext.C: don't call Inset::update() anymore
691 * insettabular.[Ch]: remove unneeded in_update_ members
693 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
695 2003-07-16 André Pönitz <poenitz@gmx.net>
697 * insettext.C (selectAll): remove
699 2003-07-16 John Levon <levon@movementarian.org>
702 * insetnote.C: implement showInsetDialog()
704 2003-07-15 André Pönitz <poenitz@gmx.net>
707 * insettext.C: refresh_status tristate -> need_update bool
709 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
711 * insettext.C: adjust call to LyXText::init
713 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
715 * insettext.C: use bufferview_funcs->replaceSelection()
716 to delete selections in some cases (bugs 441, 673, 702, 954).
718 2003-07-14 André Pönitz <poenitz@gmx.net>
720 * insettext.C (draw): use slimmed down rowpainter interface
722 2003-07-14 André Pönitz <poenitz@gmx.net>
724 * insetcollapsable.C:
726 * insettext.[Ch] (cy, ciy, setUpdateStatus):
727 remove unused BufferView * argument
729 2003-07-14 André Pönitz <poenitz@gmx.net>
731 * insettext.[Ch]: used cached metrics a bit more
733 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
735 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
737 2003-07-10 André Pönitz <poenitz@gmx.net>
740 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
742 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
744 * introduce namespace lyx::graphics
746 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
748 * introduce namespace lyx::support
750 2003-06-30 André Pönitz <poenitz@gmx.net>
752 * insetcite.C (localDispatch): fix case of missing return value
754 * insetcite.C (ascii): remove unneeded temporary
756 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
758 * insetspace.h: fix \file
760 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
761 * insetinclude.C (fillWithBibKeys): ditto
763 * insetbibitem.C: fix type const order
765 * inset.C (getLyXText): add varname for arg
767 * ExternalTemplate.h: fix type const order
769 2003-06-27 André Pönitz <poenitz@gmx.net>
771 * insettext.C: take care of removed LyXCursor::row_ member
773 * insettext.[Ch]: use new TextCursor struct for sstate
775 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
777 * inseterror.[Ch]: removed
779 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
781 * insetinclude.C (docbook): use parseError instead of sgmlError
783 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
785 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
786 of BufferList::loadLyXFile
788 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
790 * insettext.C (update): simplify
791 (updateLocal): remove commented code
792 (insetUnlock): simplify
793 (lockInset): simplify
794 (updateInsetInInset): simplify
795 (localDispatch): simplify
797 (resizeLyXText): simplify
798 (collapseParagraphs): simplify
800 * insetert.C (get_new_label): simplify
802 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
804 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
805 pasteSelection with index
807 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
809 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
811 2003-06-16 André Pönitz <poenitz@gmx.net>
813 * insetbase.h: new virtual base function clone()
815 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
816 Inset * clone() -> InsetBase * clone()
818 2003-06-13 André Pönitz <poenitz@gmx.net>
820 * insettabular.[Ch]: make tabular a proper member
822 2003-06-12 André Pönitz <poenitz@gmx.net>
824 * insettabular.[Ch]: some renaming plus whitespace
826 2003-06-11 Angus Leeming <leeming@lyx.org>
828 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
831 * insetbutton.[Ch]: removed.
832 * graphicinset.[Ch]: renamed as renderers.[Ch].
834 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
835 Create a new class ButtonRenderer using the InsetButton::metrics() and
837 Derive both from a common RenderedInset base class.
840 * insetinclude.[Ch]: derive from Inset, not InsetButton.
841 Give it a ButtonRenderer member variable. Use it.
842 Give the classes working copy c-tors.
843 No longer derive from boost::noncopyable.
845 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
846 display its contents as a button or as a graphic.
848 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
851 2003-06-11 Angus Leeming <leeming@lyx.org>
853 * insetcite.C (localDispatch): reformat.
855 * insetref.C (localDispatch): enable dialog to be lauched.
857 2003-06-11 John Levon <levon@movementarian.org>
859 * insettabular.C: correctly mark all cells as erased
861 2003-06-11 Angus Leeming <leeming@lyx.org>
863 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
864 ExternalTemplate but its name, templatename. This means that a file
865 containing a reference to an External Template not installed on the
866 current machine will be saved retaining this info rather than inserting
867 the first "valid" template from the list of templates.
869 As a by product, the visual statement that the Template is missing is
872 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
874 * insettext.C (appendParagraphs): remove some commented code.
876 2003-06-10 Angus Leeming <leeming@lyx.org>
878 * graphicinset.[Ch] (view): removed the publicly accessible function to set
881 * insetexternal.[Ch]: move tempname_ into the Params struct.
882 (Params d-tor): new function, to clean-up this temp file.
883 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
885 (editExternal, doSubstitution): move out of class.
887 2003-06-10 Angus Leeming <leeming@lyx.org>
889 * graphicinset.[Ch] (params): removed.
890 * graphicinset.h (operator=): declared private but not defined.
891 (statusMessage): made private.
893 * insetexternal.[Ch]: graphic_ renamed as renderer_.
895 2003-06-07 John Levon <levon@movementarian.org>
897 * insetert.C (latex): make a newline mean just that not
900 2003-06-07 José Matos <jamatos@fep.up.pt>
902 * insethfill.[Ch] (linuxdoc, docbook): implement output
903 * insetspace.C (linuxdoc, docbook): remove coments as the code
906 2003-06-06 José Matos <jamatos@fep.up.pt>
908 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
910 2003-06-06 André Pönitz <poenitz@gmx.net>
912 * insetwrap.[Ch]: code compactification
914 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
916 * mailinset.C (updateDialog): use Dialogs::visible
918 2003-06-04 Angus Leeming <leeming@lyx.org>
920 * graphicinset.C (draw): add a comment for the #if 0 block.
922 * insetexternal.h: remove Params::parameters variable.
923 * insetexternal.C (read, write): rewrite to output new ExternalInset format
924 and read it back making full use of LyXLex.
926 2003-06-04 André Pönitz <poenitz@gmx.net>
928 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
930 2003-06-04 John Levon <levon@movementarian.org>
932 * insettabular.C: back out tall table speed up. It was broken
934 2003-06-03 Angus Leeming <leeming@lyx.org>
936 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
937 Remove ViewCommand and UpdateCommand.
939 * graphicinset.C (update): bug fix. Set the params before calling the
941 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
942 BufferView cache to enable the InsetExternal::editCommand to be invoked
943 from the frontends. Would not be needed if this were dispatched properly.
944 (old_ascent_): variable removed.
946 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
947 do any necessary conversions of external material. Also use the
948 new GraphicsInset to display the inset within LyX.
950 2003-06-03 Angus Leeming <leeming@lyx.org>
952 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
953 and move it somewhere where InsetExternal can use it too.
955 * Makefile.am: add the new files.
957 * insetgraphics.[Ch]: make use of the new GraphicInset.
959 2003-06-03 John Levon <levon@movementarian.org>
969 * insetexternal.[Ch]:
973 * insetgraphics.[Ch]:
978 * insetlatexaccent.[Ch]:
979 * insetmarginal.[Ch]:
980 * insetminipage.[Ch]:
987 * insetspecialchar.[Ch]:
993 * insetwrap.[Ch]: make clone() not take a Buffer * arg
995 * insetgraphics.[Ch]:
996 * insetgraphicsParams.[Ch]: always store an absolute
999 2003-06-02 André Pönitz <poenitz@gmx.net>
1003 * insetlatexaccent.C: remove duplicated call to metrics()
1005 2003-06-02 John Levon <levon@movementarian.org>
1007 * insettabular.C: fix resize of column width
1009 2003-06-02 John Levon <levon@movementarian.org>
1014 * insetparent.C: remove insetparent
1016 2003-06-02 André Pönitz <poenitz@gmx.net>
1023 * insetcollapsable.[Ch]:
1027 * insetgraphics.[Ch]:
1028 * insetinclude.[Ch]:
1029 * insetlatexaccent.[Ch]:
1030 * insetminipage.[Ch]:
1031 * insetnewline.[Ch]:
1034 * insetspecialchar.[Ch]:
1035 * insettabular.[Ch]:
1036 * insettext.[Ch]: unify first drawing phase
1039 * insetbase.h: move validate() to the base
1041 2003-05-31 Angus Leeming <leeming@lyx.org>
1043 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
1045 2003-05-30 André Pönitz <poenitz@gmx.net>
1050 * insetcaption.[Ch]:
1051 * insetcollapsable.[Ch]:
1054 * insetgraphics.[Ch]:
1055 * insetinclude.[Ch]:
1056 * insetlatexaccent.[Ch]:
1057 * insetnewline.[Ch]:
1060 * insetspecialchar.[Ch]:
1061 * insettabular.[Ch]:
1063 * updatableinset.[Ch]: unify second drawing phase
1065 2003-05-30 John Levon <levon@movementarian.org>
1067 * insetgraphics.C: fix a bformat
1069 2003-05-29 John Levon <levon@movementarian.org>
1071 * insettabular.C: remove unused bufferOwner()
1073 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1075 * insettext.C (lockInsetInInset): adjust
1076 (getLabelList): use const_iterator, adjust
1077 (getInsetFromID): use const_iterator, adjust
1078 (addPreview): use const_iterator, adjust
1080 * insetwrap.C (clone): remove const_cast
1082 * insetnote.C (clone): remove const_cast
1084 * insetminipage.C (clone): remove const_cast
1086 * insetmarginal.C (clone): remove const_cast
1088 * insetfoot.C (clone): remove const_cast
1090 * insetfloat.C (clone): remove const_cast
1092 * insetert.C (clone): remove const_cast
1094 * delete commented same_id functions from a lot of files.
1096 2003-05-28 John Levon <levon@movementarian.org>
1102 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
1104 * insetminipage.C: fix metrics (bug 1144)
1106 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1108 * insettext.C (saveLyXTextState): adjust
1109 (restoreLyXTextState): adjust
1112 (unlockInsetInInset): adjust
1113 (localDispatch): adjust
1114 (getLyXText): adjust
1116 * insettabular.C (insertAsciiString): adjust
1118 2003-05-27 André Pönitz <poenitz@gmx.net>
1121 * insetcollapsable.C:
1124 * insetlatexaccent.C:
1129 * insetspecialchar.C:
1131 * insettext.C: dim.w -> dim.wid
1133 2003-05-26 John Levon <levon@movementarian.org>
1135 * insettabular.C: avoid drawing all of a long table
1136 if it's not needed. A big speedup
1138 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1140 * remove same_id from function signatures, adjust
1142 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1144 * insettext.C (InsetText): adjust
1146 (setParagraphData): separate same_id cases, adjust
1147 (appendParagraphs): adjust
1148 (appendParagraphs): adjust
1150 2003-05-23 André Pönitz <poenitz@gmx.net>
1152 * insetbutton.h: whitespace
1154 * insettabular.C: more compact code
1156 * updatableinset.C: remove const_cast
1159 2003-05-23 Angus Leeming <leeming@lyx.org>
1161 * insetexternal.C (write): check how many lines are output.
1162 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
1163 if the template has defined it.
1165 2003-05-23 Angus Leeming <leeming@lyx.org>
1167 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
1169 2003-05-23 Angus Leeming <leeming@lyx.org>
1171 * insetfoot.C (latex):
1172 * inseturl.C (latex): rename fragile as moving_arg.
1174 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1176 * inseterror.C (localDispatch): comment out unused var.
1178 2003-05-22 Angus Leeming <leeming@lyx.org>
1180 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
1181 passed through the LatexRunParams arg.
1183 2003-05-22 Angus Leeming <leeming@lyx.org>
1185 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
1186 through the LatexRunParams arg.
1188 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
1189 arg rather than through a global var.
1191 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1193 * insetspecialchar.C (dimension): use a string.
1195 2003-05-22 Angus Leeming <leeming@lyx.org>
1197 * insetbibtex.C (latex):
1198 * insetgraphics.C (latex):
1199 * insetinclude.C (latex): extract the buffer's 'nice'ness from
1200 runparams rather than from the buffer itself.
1202 2003-05-22 Angus Leeming <leeming@lyx.org>
1204 * inset*.[Ch] (latex):
1205 passed a LatexRunParams parameter.
1207 * insetgraphics.C (latex): actually use it ;-)
1209 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
1211 * insetfloat.C (addToToc): trivial compile fix
1213 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1215 * insettext.[Ch] (paragraph): delete unused function
1217 * insetfloat.C (addToToc): parlist simplfication
1219 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1221 * insetspace.[Ch]: added (new space insets)
1223 * inset.h: handle new space insets
1225 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1227 * insetfloat.C (addToToc): adjust
1229 2003-05-21 André Pönitz <poenitz@gmx.net>
1231 * insettext.[Ch]: fix drawing bug introduced earlier
1233 2003-05-19 André Pönitz <poenitz@gmx.net>
1235 * insetspecialchar.C: fix bug introduced yesterday
1237 2003-05-19 André Pönitz <poenitz@gmx.net>
1241 * insetcollapsable.[Ch]:
1245 * insetgraphics.[Ch]:
1246 * insetgraphicsParams.[Ch]:
1247 * insetlatexaccent.[Ch]:
1248 * insetminipage.[Ch]:
1249 * insetnewline.[Ch]:
1251 * insetspecialchar.[Ch]:
1252 * insettabular.[Ch]:
1253 * insettext.[Ch]: dimensions() instead of ascend/descend/width
1255 2003-05-19 André Pönitz <poenitz@gmx.net>
1258 * insettext.C: more insetenv
1260 2003-05-16 André Pönitz <poenitz@gmx.net>
1263 * insetminimpage.[Ch]:
1264 * insetcollapsable.[Ch]: fix #832
1266 2003-05-16 André Pönitz <poenitz@gmx.net>
1269 * insetbibitem.[Ch]:
1273 * insetcollapsable.[Ch]:
1274 * insetcommand.[Ch]:
1277 * insetexternal.[Ch]:
1278 * insetfloatlist.[Ch]:
1279 * insetgraphics.[Ch]:
1280 * insetinclude.[Ch]:
1283 * insetlatexaccent.[Ch]:
1286 * insettabular.[Ch]:
1290 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
1292 2003-05-13 André Pönitz <poenitz@gmx.net>
1295 * insetcollapsable.C:
1299 * insetwrap.C: tostr from own header
1311 * insetwrap.C: STRCONV
1314 2003-05-12 André Pönitz <poenitz@gmx.net>
1326 * insetwwrap.C: boost::format -> bformat all over the place
1328 2003-05-05 André Pönitz <poenitz@gmx.net>
1330 * insettext.h: add missing #include <map>
1332 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1334 * insettext.C (InsetText): parlist cleanup
1337 (insetUnlock): ditto
1339 (lockInsetInInset): ditto
1343 (searchBackward): ditto
1344 (collapseParagraphs): ditto
1346 2003-05-06 John Levon <levon@movementarian.org>
1348 * insetcaption.C: don't cast wrap inset to InsetFloat
1351 * insetfloat.C: remove unneeded type() function
1353 2003-05-05 André Pönitz <poenitz@gmx.net>
1357 * insettabular.[Ch]:
1358 * insetcollapsable.[Ch]: remove unused function firstParagraph()
1359 replace getFirstParagraph() by getParagraphs()
1361 2003-05-03 John Levon <levon@movementarian.org>
1363 * insetcollapsable.h:
1364 * insetcollapsable.C:
1370 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
1371 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
1372 getCursor(). Remove explicit cursor hides.
1374 2003-05-02 André Pönitz <poenitz@gmx.net>
1376 * insettext.C: remove unneeded &*
1378 2003-04-30 John Levon <levon@movementarian.org>
1380 * insettabular.C: fix edit message
1382 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1384 * insettext.C (setFont): do not convert iterator -> pointer
1386 * insettabular.C (localDispatch): do not convert iterator -> pointer
1388 (tabularFeatures): ditto
1390 2003-04-29 André Pönitz <poenitz@gmx.net>
1392 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
1394 2003-04-28 André Pönitz <poenitz@gmx.net>
1396 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1399 2003-04-25 André Pönitz <poenitz@gmx.net>
1401 * insetenv.C: derive from InsetText instead of InsetCollapsable
1403 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1405 * insetexternal.C (string2params): dont do anything if the string
1407 * insetgraphics.C (string2params): ditto
1408 * insetcommand.C (string2params): ditto
1409 * insetert.C (string2params): ditto
1410 * insetfloat.C (string2params): ditto
1411 * insetinclude.C (string2params): ditto
1412 * insetminipage.C (string2params): ditto
1413 * insettabular.C (string2params): ditto
1414 * insetwrap.C (string2params): ditto
1416 2003-04-24 André Pönitz <poenitz@gmx.net>
1418 * insetref.C: support for eqref
1420 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1422 * insetert.C (read): use ParagraphList::iterator.
1424 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1426 * insetquotes.C (latex): comment some code and add warnings.
1428 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1430 * insetexternal.C (localDispatch): added a missing DISPATCHED
1432 2003-04-12 John Levon <levon@movementarian.org>
1434 * insetwrap.C (addToToc): fix a crash, conversion
1435 from while to for loop forgot to remove the explicit
1438 2003-04-10 John Levon <levon@movementarian.org>
1440 * insettabular.C (tabularFeature): make sure
1441 to update the dialog when we change something
1444 (getStatus): don't disable some lfuns (bug 939)
1446 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1448 * insettext.C (saveLyXTextState): adjust
1449 (localDispatch): adjust
1455 * insettabular.C (localDispatch): adjust
1457 (tabularFeatures): adjust
1459 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1461 * insettabular.C (searchForward,searchBackward): fix bug 782
1463 2003-04-07 John Levon <levon@movementarian.org>
1466 * insettext.C: clear status message on inset exit
1468 2003-04-03 John Levon <levon@movementarian.org>
1470 * insetcommand.C: return dispatched on DIALOG_UPDATE
1472 2003-04-02 John Levon <levon@movementarian.org>
1474 * insettabular.C: tab lfuns renamed
1476 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1478 * insettext.C (update): move towards ParagraphList
1479 (updateLocal): ditto
1481 (insetUnlock): ditto
1483 (lockInsetInInset): ditto
1484 (updateInsetInInset): ditto
1485 (localDispatch): ditto
1488 (resizeLyXText): ditto
1489 (searchBackward): ditto
1490 (collapseParagraphs): ditto
1493 * insetwrap.C (InsetWrap): adjust
1494 (addToToc): adjust and rewrite loop
1496 * insettext.[Ch] (paragraph): delete function
1498 * insettabular.C (moveNextCell): adjust
1499 (movePrevCell): adjust
1500 (insertAsciiString): adjust
1502 * insetfloat.C (InsetFloat): adjust
1505 * insetert.C (InsetERT): adjust
1506 (write): adjust, and rewrite loop
1507 (latex): adjust, and rewrite loop
1508 (linuxdoc): adjust, and rewrite loop
1509 (docbook): adjust, and rewrite loop
1510 (localDispatch): adjust
1511 (get_new_label): adjust
1513 2003-04-01 John Levon <levon@movementarian.org>
1515 From Alfredo Braunstein
1518 * insetbutton.C: add localDispatch()
1520 * insetcommand.C: return DISPATCHED when edit() called
1522 * insettext.C: fix bug 967
1524 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1526 * insettext.C: adjust
1528 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1530 * insettext.C (draw): adjust
1531 (crow): return a RowList::iterator not a Row*
1533 * insetminipage.C (localDispatch): adjust
1535 * insetert.C (localDispatch): adjust
1537 2003-03-31 John Levon <levon@movementarian.org>
1540 * insetgraphicsParams.C: use_gui moved to lyx_gui
1542 2003-03-31 John Levon <levon@movementarian.org>
1544 * insettext.C: Alert fix
1546 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1548 * insettext.C (ascent): adjust for RowList
1551 (getLyXText): adjust
1552 (toggleSelection): adjust
1554 * insetminipage.C (localDispatch): adjust for RowList
1556 * insetert.C (localDispatch): adjust for RowList
1557 (getMaxWidth): adjust for RowList
1559 2003-03-29 John Levon <levon@movementarian.org>
1561 * insetert.C: Alert cleanup
1563 2003-03-29 John Levon <levon@movementarian.org>
1565 * insettabular.C: Alert fix
1567 2003-03-28 John Levon <levon@movementarian.org>
1569 * insetfloat.C: reset label on INSET_MODIFY
1571 2003-03-28 John Levon <levon@movementarian.org>
1573 * insetgraphicsParams.C: read subcaptionText as a whole line
1576 2003-03-28 John Levon <levon@movementarian.org>
1578 * insettext.C: remove unused prototypes
1580 2003-03-25 Angus Leeming <leeming@lyx.org>
1582 * insetbibitem.C (localDispatch): repaint the view after modifying
1583 a bibitem inset in case the maximum InsetBibitem width has changed.
1585 2003-03-25 John Levon <levon@movementarian.org>
1588 * insettabular.C: LyXText renamings
1590 2003-03-24 John Levon <levon@movementarian.org>
1592 * insettext.C: remove some dead code. Fix bug 972 and
1593 related by posting a repaint in updateLocal(), and making
1594 the SEL functions set SELECTION.
1596 2003-03-22 John Levon <levon@movementarian.org>
1599 * inset.C: remove no-longer-needed topx_set
1601 * insetcollapsable.h:
1602 * insetcollapsable.C: remove dead code
1605 * insetert.C: rebreak the rows when a possible
1606 change in size is made, and reset the cursor
1609 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
1611 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
1612 topx_set. Fix drawing errors for clearInset(). Remove
1613 some unnecessary uses of topx, which should die.
1615 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
1616 is no longer needed. Replace it with an ugly hack.
1618 2003-03-20 John Levon <levon@movementarian.org>
1621 * insetcollapsable.h:
1622 * insetcollapsable.C:
1630 * insettext.C: remove spurious font parameter
1631 from update(). Fix drawing of ERT insets inside
1632 insets (bug 966). Remove unused mark_dirty from
1633 tabular's updateLocal()
1635 2003-03-19 John Levon <levon@movementarian.org>
1644 * insetwrap.C: remove unused getter/setters
1646 2003-03-19 John Levon <levon@movementarian.org>
1648 * several files: bv->updateInset() doesn't take
1649 a bool mark_dirty any more
1651 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1653 * adjust for BufferView* arg removal from lyxtext.
1655 2003-03-17 John Levon <levon@movementarian.org>
1657 * most files: remove the "cleared" parameter
1658 to draw in favour of always clearing. Associated
1661 2003-03-16 John Levon <levon@movementarian.org>
1663 * insettext.C: remove unused s.refresh
1665 2003-03-13 Angus Leeming <leeming@lyx.org>
1667 * insettext.C (edit): replace Dialogs::updateParagraph with
1668 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
1670 2003-03-13 André Pönitz <poenitz@gmx.net>
1672 * Makefile.am: insert insetenv
1674 * insethenv.[Ch]: new files, currently inactive
1676 2003-03-12 John Levon <levon@movementarian.org>
1686 * insettext.C: use new insetnewline
1688 2003-03-12 John Levon <levon@movementarian.org>
1690 * insettext.C: readToken became readParagraph
1692 2003-03-12 John Levon <levon@movementarian.org>
1694 * insettext.C: use parlist iterator for reading contents
1696 2003-03-12 John Levon <levon@movementarian.org>
1698 * insettext.C: name change to readToken()
1700 2003-03-11 André Pönitz <poenitz@gmx.net>
1702 * Makefile.am: insert insethfill
1704 * insethfill.[Ch]: new files
1706 2003-03-10 Angus Leeming <leeming@lyx.org>
1708 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
1710 (hideDialog): calls the new static Dialogs::hide() method.
1712 * insetbibitem.C (edit):
1713 * insetbibtex.C (edit):
1714 * insetcite.C (edit):
1715 * insetcommand.C (localDispatch):
1716 * inseterror.C (d-tor):
1717 * insetert.C (showInsetDialog):
1718 * insetexternal.C (localDispatch, edit):
1719 * insetfloat.C (localDispatch, showInsetDialog):
1720 * insetfloatlist.C (edit):
1721 * insetgraphics.C (localDispatch, edit):
1722 * insetinclude.C (localDispatch, edit):
1723 * insetindex.C (edit):
1724 * insetlabel.C (edit):
1725 * insetminipage.C (localDispatch, showInsetDialog):
1726 * insetref.C (edit):
1727 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
1728 resetPos, showInsetDialog, openLayoutDialog):
1729 * insettoc.C (edit):
1730 * inseturl.C (edit):
1731 * insetwrap.C (localDispatch, showInsetDialog):
1732 changes due to the changed MailInset interface.
1734 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
1736 * insetfloat.h: Set default placement to an empty string.
1738 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1740 * insettext.C (latex): adjust call to latexParagraphs.
1742 2003-03-10 Angus Leeming <leeming@lyx.org>
1744 * mailinset.C: warn the user if the BufferView has not been cached.
1746 2003-03-10 Angus Leeming <leeming@lyx.org>
1748 * inset.h, insetbase.h: move cache() and view() into InsetBase.
1750 * insetcommand.h (inset):
1751 * insetert.h (inset):
1752 * insetexternal.h (inset):
1753 * insetfloat.h (inset):
1754 * insetgraphics.h (inset):
1755 * insetinclude.h (inset):
1756 * insetminipage.h (inset):
1757 * insettabular.h (inset):
1758 * insetwrap.h (inset):
1759 * mailinset.h (inset): return an InsetBase &, not an Inset &.
1761 2003-03-10 Angus Leeming <leeming@lyx.org>
1763 * insetcommand.C (string2params):
1764 * insetexternal.C (string2params):
1765 * insetfloat.C (string2params):
1766 * insetgraphics.C (string2params):
1767 * insetinclude.C (string2params):
1768 * insetminipage.C (string2params):
1769 * insettabular.C (string2params):
1770 * insetwrap.C (string2params): cure warning message about missing
1773 2003-03-09 Angus Leeming <leeming@lyx.org>
1775 * insettabular.[Ch]: define a new class InsetTabularMailer and use
1776 it to communicate with the frontend dialogs.
1778 * mailinset.C (hideDialog): only hide the dialog if it is showing the
1779 contents of this inset!
1781 2003-03-07 Angus Leeming <leeming@lyx.org>
1783 * inseterror.C (localDispatch): new method; calls edit() on
1786 2003-03-07 Angus Leeming <leeming@lyx.org>
1788 * insetbibitem.C (localDispatch):
1789 * insetbibtex.C (localDispatch):
1790 * insetlabel.C (localDispatch):
1791 rewrite as a switch.
1793 2003-03-07 Angus Leeming <leeming@lyx.org>
1795 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
1796 it to communicate with the frontend dialogs.
1798 2003-03-07 Angus Leeming <leeming@lyx.org>
1800 * insetexternal.C: remove operator== and operator!= for
1801 InsetExternal::Params. They were used only by the old controller
1804 2003-03-07 Angus Leeming <leeming@lyx.org>
1806 * insetcommand.C (localDispatch):
1807 * insetexternal.C (localDispatch):
1808 * insetfloat.C (localDispatch):
1809 * insetinclude.C (localDispatch):
1810 * insetminipage.C (localDispatch):
1811 * insetwrap.C (localDispatch):
1812 add LFUN_INSET_DIALOG_UPDATE to the switch.
1814 2003-03-07 Angus Leeming <leeming@lyx.org>
1816 * insetcommand.C (string2params):
1817 * insetexternal.C (string2params):
1818 * insetfloat.C (string2params):
1819 * insetinclude.C (string2params):
1820 * insetwrap.C (string2params): use LyXLeX more.
1823 * insetexternal.[Ch]:
1825 * insetinclude.[Ch]:
1826 * insetwrap.[Ch]: change Mailer::name_ to be static.
1828 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
1829 it to communicate with the frontend dialogs.
1831 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1834 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
1836 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1838 * insettext.C (updateLocal): un-const function
1839 (updateLocal): adjust
1840 (collapseParagraphs): un-const function
1841 (collapseParagraphs): adjust
1843 2003-03-05 Angus Leeming <leeming@lyx.org>
1845 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
1846 it to communicate with the frontend dialogs.
1848 2003-03-05 Angus Leeming <leeming@lyx.org>
1850 * insetcollapsable.C (draw): cache the BufferView.
1852 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
1853 it to communicate with the frontend dialogs.
1855 2003-03-05 Angus Leeming <leeming@lyx.org>
1857 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
1860 2003-03-05 Angus Leeming <leeming@lyx.org>
1862 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
1864 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
1865 it to communicate with the frontend dialogs.
1867 2003-03-05 Angus Leeming <leeming@lyx.org>
1869 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
1870 it to communicate with the frontend dialogs.
1872 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1874 * insettext.C (collapseParagraphs): adjust
1875 (appendParagraphs): make it take a Buffer* instead of a
1876 BufferParams& as arg.
1877 (appendParagraphs): adjust
1879 2003-03-04 Angus Leeming <leeming@lyx.org>
1881 * insetbibitem.C (localDispatch):
1882 * insetbibtex.C (localDispatch):
1883 * insetcommand.C (localDispatch):
1884 * insetert.C (localDispatch):
1885 * insetlabel.C (localDispatch):
1886 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
1888 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1890 * insettext.C (latex): adjust for ParagraphList::iterator
1892 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1894 * insetbutton.C (view): adjust for boost 1.30.0
1895 * insetcollapsable.C (view): ditto
1896 * insetgraphics.C (statusChanged): ditto
1898 * insettext.h: move paragraphs to be public.
1900 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1902 * insetnote.[Ch] (InsetNote): remove unused constructor
1904 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1906 * insetgraphics.C: added include "format.h"
1908 2003-02-27 Angus Leeming <leeming@lyx.org>
1910 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
1913 2003-02-27 Angus Leeming <leeming@lyx.org>
1915 * insetbibitem.C (localDispatch):
1916 * insetbibtex.C (localDispatch):
1919 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1921 2003-02-26 Angus Leeming <leeming@lyx.org>
1923 * insetbibitem.[Ch] (localDispatch):
1924 * insetbibtex.[Ch] (localDispatch):
1925 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
1927 * insetcommand.C (localDispatch):
1928 act only on receipt of LFUN_XYZ_APPLY.
1930 * insetert.C (localDispatch): reformat.
1931 add LFUN_XYZ_APPLY to the switch.
1933 2003-02-26 John Levon <levon@movementarian.org>
1935 * insettext.C: use RowPainter
1937 * inset.h: make helpers take const *
1939 2003-02-26 Angus Leeming <leeming@lyx.org>
1941 * insetcommand.[Ch] (localDispatch): new method.
1943 2003-02-26 Angus Leeming <leeming@lyx.org>
1945 * insetinclude.C (draw): cache the BufferView* using cache not
1946 PreviewImpl::setView
1948 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
1950 * insetgraphics.C (draw)
1951 * insetinclude.C (draw): Eliminate also the other argument (owner
1952 inset inset) in the call to PreviewImage::image
1954 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
1956 * insetgraphics.C (draw)
1957 * insetinclude.C (draw): Eliminate Buferview argument in call to
1960 2003-02-25 John Levon <levon@movementarian.org>
1962 * insetgraphicsParams.h:
1963 * insetgraphics.C: don't start a load process if
1964 the inset is set to NoDisplay (bug #920)
1966 2003-02-22 John Levon <levon@movementarian.org>
1969 * insetwrap.C: TocItem changed API (bug 913)
1971 2003-02-21 Angus Leeming <leeming@lyx.org>
1973 * insetcollapsable.[Ch] (cache, edit):
1974 * insetbutton.[Ch] (cache, edit): new methods to cache the
1975 BufferView in the draw method.
1977 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
1978 simplify comunication between InsetCommand-derived classes and
1981 * insetbibitem.[Ch]:
1985 * insetfloatlist.[Ch]:
1989 * inseturl.[Ch]: small changes to reflect the new interface to the
1992 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
1993 other, similar classes.
1995 * Makefile.am: add new files.
1997 2003-02-21 Angus Leeming <leeming@lyx.org>
1999 * updatableinset.h (setView, view): remove.
2000 * inset.h (view, cache): to be replaced by these.
2002 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
2005 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
2008 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
2010 2003-02-21 Allan Rae <rae@lyx.org>
2012 * insetinclude.C (loadIfNeeded): ensure loading also works when
2013 child document is under version control.
2015 2003-02-17 André Pönitz <poenitz@gmx.net>
2017 * insetbib.[Ch]: Adjust access to bibkeys
2019 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2021 * insetquotes.C (dispString): remove use of acute accent for "'"
2024 2003-02-14 John Levon <levon@movementarian.org>
2026 * insettabular.C: changed method names in tabular.C
2028 2003-02-14 John Levon <levon@movementarian.org>
2032 * insetcollapsable.h:
2033 * insetcollapsable.C:
2037 * insettext.C: remove unused getParFromID()
2039 2003-02-13 John Levon <levon@movementarian.org>
2042 * insettext.C: remove unused beginningofMainBody()
2044 2003-02-08 John Levon <levon@movementarian.org>
2048 * insetcollapsable.h:
2049 * insetcollapsable.C:
2054 add nextChange(). Make allowSpellcheck() const. Add markErased().
2056 * insetert.C: ignore deleted text
2058 * insettabular.C: make sure to keep change tracking working
2061 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2066 * insettext.C: Use error messages with identical spelling and punctuation
2068 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
2070 * insetgraphics.C (draw, width): Fix spacing around graphics inset
2072 2002-12-17 Juergen Vigna <jug@lyx.org>
2074 * insettext.C (localDispatch): hopefully fixed cursor up down
2075 movement on leaving other insets.
2077 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2079 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
2082 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2084 * insetgraphics.C (prepareFile): do not remove the extension of
2085 the file name if it is not the default extension for the given
2086 format (that is, in latex output, remove extension from foo.eps,
2087 but not from foo.epsi)
2089 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2091 * insettext.C (lfunMouseRelease): hackish solution to the "double
2094 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2096 * insetfloat.C (addToToc): use the floats name not its type
2097 * insetwrap.C (addToToc): ditto
2099 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2101 * insetnote.C (init): make label font smaller
2103 2002-12-04 John Levon <levon@movementarian.org>
2105 * insetinclude.C: ressurect setting of command name
2107 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2109 * insetquotes.C (dispString): disambiguate insert call
2111 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2113 * several files: ws changes
2115 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2117 * insetquotes.C (dispString): use string::insert for prepending a
2120 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2122 * insetparent.C (getScreenLabel): use boost::format
2124 * insetgraphics.C (prepareFile): use boost::format
2127 * insetfloatlist.C (latex): use boost::format
2129 * insetcaption.C (draw): use boost::format
2131 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2133 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
2136 2002-11-20 Juergen Vigna <jug@sad.it>
2138 * insettabular.C (resetPos): temporary fix for endless loop in
2139 this function on a redraw.
2141 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2143 * insettabular.C (copySelection): STRCONV
2145 * insetinclude.C (uniqueID): STRCONV
2146 (latexString): ditto
2148 * insetgraphics.C: put VersionNumber inside anon namespace
2149 (createLatexOptions): STRCONV
2151 * insetcommandparams.C: include config.h
2153 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
2155 * insetgraphicsParams.C (Write): use lyx::float_equal.
2156 Write height data correctly.
2157 (Read): zero scale when reading height data.
2159 2002-10-30 John Levon <levon@movementarian.org>
2161 * insetfloat.C (addToTOC): recursively traverse all
2162 contents looking for captions (fix #568)
2164 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2166 * insetexternal.C (doSubstitution): do not try to replace
2167 environment variables, this is done when executing the command
2169 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2171 * insetexternal.C (doSubstitution): change order of substitution
2172 to work around ReplaceEnvironmentPath brokenness
2174 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
2176 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
2178 * insetgraphicsParams.C (init, Write): associated changes
2179 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
2180 InsetGraphicsParams::scale.
2182 2002-10-21 John Levon <levon@movementarian.org>
2184 * inset.h: remove unused DISPATCH_RESULT
2186 * insettext.C: sgml open/close tag now in sgml namespace
2188 2002-10-21 Angus Leeming <leeming@lyx.org>
2190 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
2191 file path subdir/fig.eps when pasting it into a buffer in a different
2194 2002-10-16 John Levon <levon@movementarian.org>
2196 * insetspecialchar.C: remove \\protected_separator parsing
2198 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2200 * insetquote.C: fix LaTeX output of quotation marks.
2202 2002-10-14 Juergen Vigna <jug@sad.it>
2204 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
2205 Backspace functions which confused the Undo handling.
2207 2002-10-09 Angus Leeming <leeming@lyx.org>
2209 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
2210 BufferView::dispatch that turns off this optimisation when a new inset
2213 * insetcite.C (getNatbibLabel): correct logic of when and when not to
2214 reload the BibTeX keys.
2216 2002-10-11 André Pönitz <poenitz@gmx.net>
2218 * insettext.h: handle LFUN_PRIOR/NEXT
2220 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2222 * insetfloat.C: fix bug with float settings
2223 (document default != float default).
2225 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2227 * insetwrap.C (addToToc): New method.
2228 (InsetWrap): Set layout to caption.
2230 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2232 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
2234 2002-09-16 John Levon <levon@movementarian.org>
2236 * insettabular.h: hasSelection() needs to be public
2238 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2240 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2242 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2244 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2246 2002-09-11 André Pönitz <poenitz@gmx.net>
2248 * insettabular.C: implement LFUN_WORDSEL
2250 2002-09-10 John Levon <levon@movementarian.org>
2252 * insetinclude.h: remove unused param
2254 2002-09-09 John Levon <levon@movementarian.org>
2257 * insetinclude.C: remove noload, default to input
2259 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
2261 * insetgraphics.C: disfuscated use of ']' in built output string.
2263 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2265 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
2267 2002-08-29 Juergen Vigna <jug@sad.it>
2269 * insettabular.C (lfunMousePress): Pay attention where you set
2270 the x/y values as they depend on which inset in the tabular is
2271 actually locked. So you surely have to reset them if you (un)lock
2274 2002-08-29 André Pönitz <poenitz@gmx.net>
2276 * insetfootlike.h: rename include guard to ALL CAPS
2278 * insettext.C: swap object and first parameter for checkInsetHit calls
2279 as this functions has moved from BufferView to LyXText
2282 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2284 * insetgraphicsParams.C: remove local displayTranslator and use
2285 the one from graphics/GraphicsTypes.h.
2287 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2289 * insetfloat.C (wide): add BufferParams parameter
2291 * insetfloatlist.C (read):
2294 * insetfloat.C (latex):
2296 * insetcaption.C (draw): use LyXTextClass::floats()
2298 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2300 * insetoptarg.h: add std:: qualifier.
2302 2002-08-26 Juergen Vigna <jug@sad.it>
2304 * insettext.C (localDispatch): ditto.
2306 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
2308 2002-08-25 John Levon <levon@movementarian.org>
2310 * inseturl.C: elide long URLs (bug 404)
2312 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2314 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
2315 remove "Format Version <version_no.>" string from inset header
2318 * insetgraphicsParams.[Ch]: Implement new graphics dialog
2320 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
2321 a member of "grfx::Params" anymore.
2323 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
2325 2002-08-24 John Levon <levon@movementarian.org>
2328 * insetoptarg.C: ws, pedantry ...
2330 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2332 * insettext.C (collapseParagraphs): pasteParagraph now in global
2334 (appendParagraphs): ditto
2336 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
2338 * insetcite.C (latex): Remove spaces only after commmas.
2340 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2342 * insettext.C: remove NO_COMPABILITY stuff
2344 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2346 * insettext.C (edit): use ParagraphList iterators
2348 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
2349 (bibitemWidest): ditto
2351 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2353 * insettext.C: include <boost/bind.hpp>
2354 add using std::for_each
2355 (saveLyXTextState): use ParagraphsList::iterator
2356 (init): use for_each on paragraphlist iterators
2357 (InsetText): remove superflous setting cached_bview to 0
2358 (latex): reformat a bit
2359 (ascii): use paragraphlist iterators
2360 (validate): use for_each + boost bind
2361 (getLabelList): use paragraphlist iterators
2362 (deleteLyXText): use for_each + boost::bind
2363 (resizeLyXText): ditto
2364 (reinitLyXText): ditto
2365 (removeNewlines): use paragraphlist iterators
2366 (getParFromID): ditto
2367 (paragraph): use for_each + boost::bind
2368 (getInsetFromID): use paragraphlist iterators
2369 (getLabelList): typo fix
2371 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2373 * insettext.C (read): assign tmp to paragraphs after return from
2374 call to parseSingleLyXformat2Token
2377 2002-08-13 Angus Leeming <leeming@lyx.org>
2396 changes due to the changed LyXView interface that now returns references
2397 to member variables not pointers.
2399 2002-08-13 Angus Leeming <leeming@lyx.org>
2402 * insetcollapsable.h:
2405 * insettext.h: forward-declare WordLangTuple
2406 (selectNextWordToSpellcheck) constify return type.
2409 * insetcollapsable.C:
2412 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
2414 2002-08-12 Angus Leeming <leeming@lyx.org>
2416 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
2418 2002-08-12 Juergen Vigna <jug@sad.it>
2420 * insetcollapsable.C (edit): ignore if entered when pressing mouse
2423 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2425 * insetbib.C (bibitemMaxWidth): ParagraphList changes
2426 (bibitemWidest): ditto
2427 * insettext.[Ch]: ditto
2429 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2431 * insettext.C, insetert.C: use Paragraph::empty where appropriate
2433 2002-08-09 Angus Leeming <leeming@lyx.org>
2435 * insetinclude.C (latexString): remove fudge now that I've found out
2436 how to enable LaTeX to find the file using input@path.
2438 2002-08-09 John Levon <levon@movementarian.org>
2441 * insettext.C: remove unused xpos
2443 2002-08-07 Juergen Vigna <jug@lyx.org>
2445 * insettabular.C (localDispatch): make delete not put the stuff
2446 in the clipboard only do this on a cut operation.
2448 * insettext.C (localDispatch): make delete and backspace not put
2449 selected stuff to the clipboard.
2451 2002-08-07 André Pönitz <poenitz@gmx.net>
2454 * insetcollapsable.[Ch]:
2458 * insettabular.[Ch]:
2459 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
2461 2002-08-06 John Levon <levon@movementarian.org>
2465 * insetcollapsable.h:
2466 * insetcollapsable.C:
2472 * insettext.C: use WordLangTuple for spellcheck
2474 2002-08-06 Angus Leeming <leeming@lyx.org>
2476 * insetinclude.C: add a monitor to the previewed image, so that the
2477 image is refreshed if the \input-ed file changes.
2479 2002-08-04 John Levon <levon@movementarian.org>
2482 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
2484 2002-08-02 Angus Leeming <leeming@lyx.org>
2486 * insetcommandparams.[Ch] (preview): new methods returning and setting
2487 a new bool preview_ flag.
2488 (read): read this flag.
2489 (operator==): add flag to check.
2491 * insetinclude.C (write): output new preview() flag.
2492 (previewWanted): use this flag.
2494 2002-08-02 Angus Leeming <leeming@lyx.org>
2496 * insetcollapsable.[Ch] (addPreview):
2497 * insettabular.[Ch] (addPreview):
2498 * insettext.[Ch] (addPreview): new methods. Can now generate previews
2499 for insets in insets.
2501 2002-08-02 Angus Leeming <leeming@lyx.org>
2503 * insetcite.C: fix typo.
2505 * insetgraphics.C: kill current_view and instead cache the BufferView
2508 * insetinclude.C: kill current_view and pass the BufferView to the
2509 PreviewedInset so that it can cache it.
2511 2002-08-01 Angus Leeming <leeming@lyx.org>
2513 * inset.h (generatePreview): renamed as addPreview.
2514 (generatePreview): new method. Allows code to be moved out of
2515 math_nestinset.C and into the new PreviewedInset class.
2517 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
2518 add previews to the inset when \input-ing LaTeX.
2520 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2522 * several files: strip,frontStrip -> trim,ltrim,rtrim
2524 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2526 * insetbib.C (latex): modify because of strip changes
2528 * insetnote.C (InsetNote): ditto
2530 2002-07-26 Juergen Vigna <jug@sad.it>
2532 * insettabular.C (searchForward): check for lastcell if we
2533 had a locking inset.
2535 2002-07-25 Juergen Vigna <jug@sad.it>
2537 * insettabular.C (insetMotionNotify): Don't update the screen
2538 if we didn't do nothing.
2539 (searchForward): last cell was not checked.
2541 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2543 * insetfloat.C (read, write): Allow default placement
2544 (floatPlacement_ is empty).
2546 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2548 * insetminipage.h (noFontChange):
2549 * insettabular.h (noFontChange):
2550 * insetfootlike.h (noFontChange):
2551 * insetfloat.h (noFontChange): return true
2553 * inset.h (noFontChange): new method, defaulting to false
2555 2002-07-22 Herbert Voss <voss@lyx.org>
2557 * insetgraphicsParams.[Ch]: support size_type for old docs
2559 2002-07-22 Herbert Voss <voss@lyx.org>
2562 * insetgraphicsParams.[Ch]: change size_type to size_kind and
2565 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2567 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
2569 * insetlatexaccent.h: do not include "lyxlex.h"
2571 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
2574 * insetlatexaccent.C:
2578 * insetbib.C: #include "lyxlex.h"
2584 * insettext.C: use BufferParams::getLyXTextClass
2587 * insetfloat.C (addToToc): new method. Add to toclist the entries
2588 corresponding to Caption layouts
2589 (InsetFloat): when creating a new float, set the layout to "Caption"
2591 2002-07-21 Herbert Voss <voss@lyx.org>
2593 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
2594 image relevant part into graphics/GraphicsImgae.C
2596 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2598 * insettoc.C (ascii):
2599 * insetfloatlist.C (ascii): change to use the new Toc functions
2600 instead of stuff that was in Buffer
2602 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2604 * insettext.C (localDispatch): BufferView::Dispatch has been
2605 renamed to BufferView::dispatch
2607 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2609 * insetgraphicsParams.C (as_grfxParams): use the new
2610 keepLyXAspectRatio parameter. Note that this is an adaptation of a
2611 1.2.0 patch, and I do not really know how to adapt it to the new
2612 grfx::Cache world. Angus, please could you have a look?
2614 2002-05-01 Herbert Voss <voss@lyx.org>
2616 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
2618 2002-07-18 Angus Leeming <leeming@lyx.org>
2620 * insetgraphics.C: clean-up comments (from Herbert).
2621 add a new checksum variable to the cache. Use it in PrepareFile.
2622 (draw): start monitoring the file for a change.
2623 (prepareFile): re-arrange a little to avoid unnecessary steps.
2625 2002-07-17 Angus Leeming <leeming@lyx.org>
2627 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
2628 a method rather than to the signal directly.
2630 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2632 * insettext.C: use view_state_changed, switchKeyMap
2634 2002-07-17 Herbert Voss <voss@perce.de>
2636 * insetgraphics.C (prepareFile): keep the extension when
2637 exporting to nice file
2639 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2641 * insetcite.C (getNatbibLabel):
2642 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
2644 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2646 * insetgraphics.C: use ->isDrawable()
2648 2002-07-12 Angus Leeming <leeming@lyx.org>
2650 * insetgraphics.C: use the new smart loading capabilities of the image
2653 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2655 * insettabular.C (edit): Move into correct cell when entering a
2658 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
2661 2002-07-05 Angus Leeming <leeming@lyx.org>
2663 * inset.h (generatePreview): new virtual method.
2665 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2667 * insetcommandparams.[Ch] (operator=): move out of class
2668 (operator!): move out of class
2670 2002-07-04 André Pönitz <poenitz@gmx.net>
2672 * insetcommandparams.[Ch]: new files
2674 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
2676 2002-06-15 Herbert Voss <voss@perce.de>
2678 * insetgraphics.C (prepareFile): bugfix; return always
2679 files without extension
2681 2002-06-28 Angus Leeming <leeming@lyx.org>
2683 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
2684 rename asGParams -> as_grfxParams.
2686 * insetgraphics.C: reflect above change.
2688 2002-06-26 Angus Leeming <leeming@lyx.org>
2690 * insetgraphics.h: use boost::scoped_ptr in preference to
2693 2002-06-26 Angus Leeming <leeming@lyx.org>
2695 * insetgraphics.C: moved the image loading stuff into a new class
2696 grfx::Loader. Simplifies this file enormously.
2698 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
2700 * insetgraphicsParams.C: changes aassociated with moving
2701 grfx::DisplayType out of grfx::GParams.
2703 2002-06-26 André Pönitz <poenitz@gmx.net>
2705 * insetgraphics.C: use os::external_path where necesaary according to a
2706 patch from Claus Hentschel)
2708 2002-06-25 Angus Leeming <leeming@lyx.org>
2710 * insetgraphics.[Ch]: The inset now assumes the responsibility for
2711 generating a pixmap once the graphics file is loaded into memory.
2712 The current_view ugliness that was in grfx::ModifiedImage has been
2713 moved here now that grfx::ModifiedImage is no more.
2715 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2717 * insettext.C: layout as layout
2719 2002-05-28 André Pönitz <poenitz@gmx.net>
2721 * insetfloatlist.h: remove source of compiler warning
2723 * insetref.C: tiny whitespace
2725 2002-06-15 Herbert Voss <voss@perce.de>
2727 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
2728 and take always convert when no userdefined converter was
2730 (latex) small changes in the lyxerr output
2732 2002-06-15 LyX Development team <lyx@rilke>
2734 * inset*.[Ch] (docbook): Added new argument to take the pernicious
2735 mixed content. Small white spaces clean.
2737 2002-06-14 Angus Leeming <leeming@lyx.org>
2739 * inseetexternal.C: remove the using std::difftime declaration.
2741 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
2743 * insetquotes.C: change lyxfont::draw to font_metrics::draw
2745 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
2747 * insetquotes.C (draw): fix drawing of double quotes
2749 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2751 * insettabular.C: s/scrollCB/scrollDocView/
2753 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2755 * insettext.C: change of topCursorVisible()
2758 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2761 * insettext.C: rename/change of LyXScreen
2763 2002-06-07 Angus Leeming <leeming@lyx.org>
2765 Fixes needed to compile with Compaq cxx 6.5.
2767 all c-library variables have been moved into namespace std.
2768 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2770 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2772 * insetinclude.C (uniqueID):
2773 * insetgraphics.C (uniqueID): renamed from unique_id, since this
2774 conflicted with some AIX headers.
2776 2002-05-31 Juergen Vigna <jug@sad.it>
2778 * insetert.C (get_new_label): add '...' for multi-paragraph ert
2782 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2784 * insetexternal.C (clone): fix () bug when using new
2785 (updateExternal): don't only look for difftime in global scope
2787 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2789 * insettabular.C: add const
2791 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2793 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
2794 file name, in case there are weird characters like ',' in there.
2797 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2799 * switch from SigC signals to boost::signals.
2801 2002-05-28 André Pönitz <poenitz@gmx.net>
2803 * insets/insetgraphicsParams.[Ch]:
2804 put in inset related stuff from src/graphic
2806 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2814 * insetcollapsable.C:
2815 * insetcollapsable.h:
2843 * inseturl.h: use mouse_state. Kill insetKeyPress
2845 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2850 * insetcollapsable.C:
2853 * insetlatexaccent.C:
2855 * insetspecialchar.C:
2857 * insettext.C: name change for font metrics
2859 2002-05-24 Juergen Vigna <jug@sad.it>
2861 * insetgraphics.h: include inset.h first (for LString.h)
2863 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2865 * insettext.C: screen moved
2867 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2885 * inseturl.C: LyXView moved into frontends/
2887 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2892 * insetcollapsable.C:
2896 * insetgraphicsParams.C:
2897 * insetlatexaccent.C:
2899 * insetspecialchar.C:
2901 * insettext.C: move Painter to frontends/
2903 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2905 * insettabular.h: use more specific smart_ptr header.
2906 * insettext.h: ditto
2908 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
2911 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
2913 * insettext.C: clear selection on paste (bug 393)
2915 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
2917 * insettext.C (latex): Honor the moving_arg argument.
2919 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2921 * insetfoot.C (latex): if a footnote is in a title layout, then it
2922 is a \thanks. And then, its contents is a moving argument.
2924 2002-05-14 Juergen Vigna <jug@sad.it>
2926 * insetcollapsable.C (InsetCollapsable): forgot to initialize
2929 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
2931 * Insetcite.C (getNatbibLabel): don't disable natbib label support
2932 when using options "Full author list" or "Upper case".
2934 2002-05-14 Herbert Voss <voss@perce.de>
2936 * insetgraphics.C (prepareFile): allow files with same name
2938 (readFigInset): set the flags from old figinset in the right
2940 (findTargetFormat): more comments
2942 2002-05-14 Juergen Vigna <jug@sad.it>
2944 * insettext.C (edit): tell checkAndActivateInset() that we don't
2945 have a button press.
2946 (checkAndActivateInset): if button < 0 we don't have a button press
2947 on the inset and os we won't call edit on it if it's not a Highly
2948 editable inset (then we have to enter it).
2950 2002-05-13 Juergen Vigna <jug@sad.it>
2952 * insetcollapsable.C (insetButtonRelease): returned wrong return
2955 2002-05-09 Juergen Vigna <jug@sad.it>
2957 * insetcollapsable.C (edit): first_after_edit should only be
2958 set to true if we enter this inset and it was collapsed so we
2959 open it up. This is needed to reclose it after a search/replace
2960 or spellcheck function opened it and was negative.
2962 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
2964 * insetfloat.C (latex): Return correct value.
2966 2002-05-04 Herbert Voss <voss@perce.de>
2968 * InsetgraphicsParams.C (read): fix bug with WH
2970 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
2972 * insetfloat.C (latex): More sensible latex output
2973 (fix the problem with endfloat).
2975 2002-05-02 José Matos <jamatos@fep.up.pt>
2977 * insetgraphics.C (validate): acess params as everyone else.
2979 2002-05-03 Juergen Vigna <jug@sad.it>
2981 * insettabular.C (fitInsetCursor): recalculate the cursor position
2984 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
2986 * InsetgraphicsParams.[Ch]: whitespace.
2988 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
2990 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
2991 float type do not exist.
2993 2002-04-28 Herbert Voss <voss@perce.de>
2995 * insetgraphics.C (latex): fix bug with missing file-extension.
2996 LaTeX still allows a missing "eps" or "ps".
2998 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3000 * insetfloat.C (c-tor, wide): translate the name of the float.
3002 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3004 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
3005 when using natbib and make it work efficiently. Must emphasise that the
3006 real work is Herbert's.
3008 2002-04-23 Herbert Voss <voss@perce.de>
3010 * insetgraphic.C (prepareFile): fix bug with overwriting and
3011 deleting an existing *.eps-file in the doc-dir
3013 2002-04-23 Juergen Vigna <jug@sad.it>
3015 * insettabular.C (drawCellSelection): fix off by 1 error.
3017 2002-04-22 Juergen Vigna <jug@sad.it>
3019 * insettabular.C (setFont): rewoke full selection if it was asked,
3020 after we changed all we had to change.
3022 * insettext.C (insetUnlock): code was uninitialized in some situations.
3024 2002-04-19 Herbert Voss <voss@perce.de>
3026 * insetgraphic.C (prepareFile): return filename without
3027 extension if we only export without compiling
3029 2002-04-19 Juergen Vigna <jug@sad.it>
3031 * insettext.C (draw): call a fullRebreak on the row where we had a
3032 change and reset the cursor and selection-cursors.
3034 * insettabular.C (insetUnlock):
3035 (insetButtonPress): call an update before setting the_locking_inset = 0
3036 as otherwise we don't repaint!
3037 (update): reset the cursor position when we changed dimensions as
3038 otherwise our cursor may be on the wrong spot.
3040 2002-04-18 Juergen Vigna <jug@sad.it>
3042 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
3043 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
3044 redraw otherwise we won't redraw.
3046 * insettext.C (draw): fixed the setting of LyXText::first_y it was
3047 not really right before, but I only discovered this with the last
3048 changes to Page up/down.
3050 2002-04-17 Juergen Vigna <jug@sad.it>
3052 * insettext.C (checkAndActivateInset): simplified as we now have the
3053 edit(bv, bool) call.
3055 * insettext.h: changed behind variables to front variables to be
3056 equal to the one in the edit call (as it is for that they are used).
3058 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3060 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
3061 not output anything at all!
3063 2002-04-16 Juergen Vigna <jug@sad.it>
3065 * insettabular.C (insetButtonPress):
3066 (insetUnlock): call a redraw on unlocking the cell inset.
3068 * insettext.C (insetButtonPress): same as below.
3069 (lockInset): new function to set initial values when inset should
3071 (insetButtonPress): use above function.
3072 (insetUnlock): don't force a repaint only set the updateStatus. The
3073 outside world should repaint if it thinks it should be done!
3075 * insettabular.C (insetButtonPress): init values if not set as locked
3076 as we are locked if someone presses on us and don't call the edit()
3077 call of the InsetText to lock it do it as BufferView does it!
3079 * inset.h (insetInInsetY): make func const and return an int.
3082 * insetcollapsable.C: adapt the above changed function.
3084 2002-04-15 Juergen Vigna <jug@sad.it>
3086 * insettext.C (getCursorPos): return relative position as to be able
3087 to give them directly to the edit() call.
3088 (edit): we have to set also x_fix as it is not set inside the
3089 setCursorFromCoordinates call!
3090 (insetMotionNotify): ditto.
3092 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3094 * insetbib.C (getKeys): strip leading '\t's from the line too.
3095 With thanks to Henry Pfister <hpfister@ucsd.edu>.
3097 2002-04-12 Juergen Vigna <jug@sad.it>
3099 * insettext.h: added cix() helper function and use it where appropriate
3101 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3103 * insetgraphics.C (prepareFile): fix bug when graphics is a
3106 2002-04-12 Juergen Vigna <jug@sad.it>
3108 * insettext.C (insertInset): remove unneeded code!
3109 (updateLocal): fitCursor() fixes.
3110 (collapseParagraphs): fix a possible problem when having a selection
3111 and collapsing the paragraphs.
3113 2002-04-08 Herbert Voss <voss@perce.de>
3115 * insetgraphic.C (write): write the rotating angle as
3116 a float as is. test only for != 0.0
3118 2002-04-11 Juergen Vigna <jug@sad.it>
3120 * insettext.C: new function ciy() and use it for setting inset_y.
3122 * insetert.C (draw): fix the x return for collapsed version.
3124 2002-04-07 Herbert Voss <voss@perce.de>
3126 * insetgraphic.C (readFigInset): fix bug with subcaption and
3129 2002-04-08 Herbert Voss <voss@lyx.org>
3131 * insetgraphicsparam.C: forgot special option and delete old
3134 2002-04-05 Juergen Vigna <jug@sad.it>
3136 * insettext.C (localDispatch): make a CURSOR update if we inserted
3139 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3141 * insetfloatlist.C (getScreenLabel):
3142 (latex): use Floating::listName
3143 (validate): new method
3145 2002-04-03 José Matos <jamatos@fep.up.pt>
3147 * insetlabel.C (docbook): the anchor is an empty element in docbook.
3149 * insetfoot.[Ch] (docbook): added forgotten method.
3151 2002-04-03 Juergen Vigna <jug@sad.it>
3153 * insettext.C (insetButtonPress): fix insetButtonPress events the same
3154 way as in Bufferview_pimpl.
3156 2002-04-03 Allan Rae <rae@lyx.org>
3158 * insetgraphics.C (latex): one % too many makes living on the bleeding
3159 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
3161 2002-03-28 Herbert Voss <voss@lyx.org>
3163 * insetgraphic.C (latex): simplify the code for the latex
3164 output when the file doesn't exist
3166 2002-03-29 Juergen Vigna <jug@sad.it>
3168 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
3171 * insettabular.C (edit): call fitCursor().
3173 * insettext.C (insetButtonPress): change behaviour of no_selection
3174 to the one in the BufferView selection_possible and fix the spurious
3175 selection bug with it.
3176 (localDispatch): revoke selection on BREAK... functions.
3178 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3180 * insetfloatlist.C (getScreenLabel): translate the GUI label.
3182 2002-03-28 Juergen Vigna <jug@sad.it>
3184 * insettabular.C (insetAllowed): return true as default value otherwise
3185 we're not able to insert insets inside paragraphs of an not locked
3188 2002-03-27 Herbert Voss <voss@lyx.org>
3190 * insetgraphicsparam.C: change c%, p% to col%, page%
3192 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3194 * insetspecialchar.C (isLineSeparator): disable the nice code to
3195 allow linebreaks after hyphenation and menu separators.
3197 2002-03-26 Herbert Voss <voss@lyx.org>
3199 * insetgraphics.C (figinsetRead): set the right lyxview
3201 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3203 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
3204 $\backslash$ and pass a "string const &" to the function.
3205 (prepareFile, latex): use Path rather than MakeAbsPath.
3207 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3209 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
3210 proper fix to the graphics cache.
3211 (latex): "really" nice output if the file is not found ;-)
3213 2002-03-26 Juergen Vigna <jug@sad.it>
3215 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
3216 (collapseParagraphs): fixed inserting of separator ' '
3218 * insettabular.C (insertAsciiString): only check for buffer lenght
3219 not if we have \t or \n inside the buffer as if we don't have we only
3220 have 1 cell and that's it!
3222 * insetert.C (close): don't collapse if inlined.
3224 2002-03-25 Herbert Voss <voss@lyx.org>
3226 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
3227 graphics file does not exist.
3229 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
3231 * insetgraphics.C (prepareFile): ensure that the file has an absolute
3232 path when preparing export.
3234 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
3235 no longer MakeRelPath.
3237 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3239 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
3240 Used to determine the absolute path to the graphics file in the
3241 graphics cache and only in the graphics cache.
3242 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
3243 make graphics file name absolute if it is stored as a relative path.
3245 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
3246 make graphics file name absolute if it is stored as a relative path.
3248 * insettext.C (edit): emit an updateParagraph signal on entering a text
3249 inset. Needs to be emitted when leaving the inset also.
3251 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3253 * all files: ws cleanup
3255 * Makefile.am: remove ld -r stuff
3257 2002-03-21 Juergen Vigna <jug@sad.it>
3259 * insettext.C (appendParagraphs): new function added to append
3260 the paragraphs to this insets paragraphs.
3262 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3264 * Makefile.am: special rules if partial linking
3266 2002-03-19 Juergen Vigna <jug@sad.it>
3268 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
3270 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
3272 * insetgraphics.C: Clean up Baruch's comments a little.
3273 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
3275 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
3278 * insettheorem.C: wrap warnings
3280 * insetgraphics.C: improve messages, move cached_status_
3281 setting to safer place
3283 2002-03-18 Juergen Vigna <jug@sad.it>
3285 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
3287 (localDispatch): ditto
3289 * insettext.C (edit): removed unneeded showCursor calls.
3290 (localDispatch): ditto.
3292 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3294 * insetgraphics.h: remove display() method.
3296 2002-03-11 Juergen Vigna <jug@sad.it>
3298 * insetgraphics.C (draw): hack to fix the redrawing bug.
3299 (draw): seems this fixes #268 (force redraw of row if we changed).
3301 * insettext.C (updateInsetInInset): fixed for updates in insets inside
3302 this inset text (don't know why I missed this earlier).
3304 2002-03-08 Juergen Vigna <jug@sad.it>
3306 * insettabular.C (updateLocal): do a FULL update if we're not locked
3307 and only a CELL update is asked.
3309 * insettext.C (updateInsetInInset): update insets inside inset also
3310 if it isn't inside the_locking_inset.
3312 * insettabular.C (updateInsetInInset): ditto.
3314 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3316 * insetexternal.C (doSubstitution): check whether we are using a
3317 temp dir for defining $$FPath
3319 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3322 * insettext.C: remove #include "WorkArea.h".
3324 2002-03-06 Juergen Vigna <jug@sad.it>
3326 * insettext.C (draw): fixed frame redrawing.
3327 (clear): forgot to set the inset_owner of the paragraph.
3329 * insetert.C (status): pay attention the bv can be 0 here!
3330 (getMaxWidth): add the default leftMargin
3332 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3334 * insetert.C (getMaxWidth): make w unsigned int.
3336 2002-03-05 Juergen Vigna <jug@sad.it>
3338 * insetert.C (status): change behaviour of Inlined.
3339 (getMaxWidth): added for new inlined behaviour.
3341 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3343 * insetnote.h (linuxdoc, docbook): add empty methods.
3344 * insetinclude.C (validate): fix a case where buffer->niceFile was used
3345 before being initialized.
3347 2002-03-05 Juergen Vigna <jug@sad.it>
3349 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
3350 only that one in the inset. Should be enough.
3351 (updateLocal): set the selection cursor always if we don't have a
3352 selection to be sure it's set!
3354 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
3356 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3358 * insettext.C (clear): a gross hack to set layout on a newly
3361 2002-03-04 Juergen Vigna <jug@sad.it>
3363 * insettabular.C (localDispatch): inserted handling of
3364 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
3365 (insertAsciiString): new helper function.
3367 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3369 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
3372 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3374 * insettext.C (InsetText): initalize newly created par with
3375 default layout. add bufferparams parameter
3378 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
3379 * insetcollapsable.[Ch] (InsetCollapsable): ditto
3380 * insetert.[Ch] (InsetERT): ditto
3381 * insetfloat.[Ch] (InsetFloat): ditto
3382 * insetfoot.[Ch] (InsetFoot): ditto
3383 * insetfootlike.[Ch] (InsetFootLike): ditto
3384 * insetmarginal.[Ch] (InsetMarginal): ditto
3385 * insetminipage.[Ch] (InsetMinipage): ditto
3386 * insetnote.[Ch] (InsetNote): ditto
3387 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
3389 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3391 * insettext.C: layout as string
3393 * insetinclude.C: layout as string
3395 * insetert.C: layout as string
3397 * insetbib.C: layout as string
3399 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3402 * insettabular.C: remove #include "lyx_gui_misc.h".
3404 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3409 * inset.h: remove figinset, yahoo !
3411 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3413 * insetgraphics.C (c-tors): initialise parent classes explicitly in
3414 copy c-tor and initialise member variables in the correct order.
3416 2002-02-28 Juergen Vigna <jug@sad.it>
3418 * insettabular.C (localDispatch): clear selection on PgUp/Down.
3420 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3422 * inset.h: ... and add a better one here.
3424 * insetcommand.C (insetButtonRelease): remove that one which was a
3427 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3429 * insetcommand.C (insetButtonRelease): ... and move it here.
3431 * inseturl.h: remove insetButtonRelease from there...
3433 2002-02-26 Juergen Vigna <jug@sad.it>
3435 * inseturl.h: Added a insetButtonRelease call returning true as
3438 * insetlabel.C (edit): Fixed wrong update handling after change I
3439 leave in the wrong code for the one who wrote it to remove and have
3440 a look what he did wrong.
3442 * insettabular.C (localDispatch): force a SELECTION update if we
3443 had a selection and we passed the event down to the inset (fix #213)
3444 (localDispatch): handle font changing stuff when we have a cell
3445 selection so that the selection is not rewoked. I don't really like
3446 this fix, but it's the only way I see to do it right now.
3448 2002-02-22 Juergen Vigna <jug@sad.it>
3450 * insettext.C (insetUnlock): set the cursor to the second paragraph
3451 if available and if the first one is empty (fix #191).
3453 2002-02-20 Juergen Vigna <jug@sad.it>
3455 * insettext.C (getDrawFont): implemented this function to call the
3456 one of the owner if present as the owner normally knows what to do
3459 * insetert.C: implement getDrawFont() function and comment out all
3460 the crap for setting a special latex font inside this inset.
3461 (InsetERT): added a Lanugage parameter to this constructor.
3463 * inset.h: added function getDrawFont(LyXFont & font) to be able to
3464 change the font for being drawn on screen (used only in InsetERT for
3467 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
3468 and also above (was missing).
3469 (updateLocal): don't remove the cell selection if we have one this
3470 should be done where we really want to remove it.
3472 2002-02-20 José Matos <jamatos@fep.up.pt>
3474 * insetinclude.h: include_label made string const.
3476 * insetinclude.C (InsetInclude): moved include_label initialization.
3479 (validate): fix support for temporary directory, for docbook and
3482 * insetgraphics.h : new private member, graphic_label, that holds
3483 the entity name that defines the graphics location (SGML).
3485 * insetgraphics.C (unique_id): new function to give a unique label
3488 (validate): the file locatation is given by an entity reference.
3490 2002-02-18 Herbert Voss <voss@lyx.org>
3492 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
3494 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3496 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
3497 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3499 2002-02-18 José Matos <jamatos@fep.up.pt>
3501 * insetinclude.C (validate): some code only applies to latex buffers,
3502 it was made conditional.
3504 2002-02-12 Herbert Voss <voss@lyx.org>
3506 * insetgraphics.C: (prepareFile) do not check at this time
3507 if the file is present.
3509 2002-02-12 Herbert Voss <voss@lyx.org>
3511 * insetgraphics.C: latex(), return the correct newlines
3513 2002-02-13 José Matos <jamatos@fep.up.pt>
3515 * inseturl.C (docbook): escape & in url.
3517 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3519 * insetspecialchar.C (isLineSeparator): line breaking is allowed
3520 after HYPHENATION and MENU_SEPARATOR
3522 * inset.h (isLineSeparator): new method, returns false by default.
3524 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3526 * insetert.C (status): do not update the text inset, but the ERT
3529 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
3531 * insetnote.C: use notebg for background
3533 2002-02-08 Herbert Voss <voss@lyx.org>
3536 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
3537 prevent LyX from unzipping when this should be handled
3538 by latex vis the graphic.cfg.
3541 2002-02-08 Herbert Voss <voss@lyx.org>
3543 * insetgraphic.C: prepareFile(): fix bug when file doesn't
3544 exists, than return filename with extension
3546 2002-02-06 Herbert Voss <voss@lyx.org>
3548 * insetgraphic.C: prepareFile(): don't convert the file, when
3549 it's not viewed in LyX. Saves a lot of time when opening a
3552 2002-02-05 Herbert Voss <voss@lyx.org>
3555 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
3556 and adding a rotate bool similiar to subcaption
3558 2002-02-04 Herbert Voss <voss@lyx.org>
3561 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
3562 similiar view to the LaTeX one. Get zipped files work.
3564 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
3566 * insetgraphicsParams.C (init): set display to DEFAULT.
3567 No longer #include "lyxrc.h".
3569 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
3571 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
3572 for now (so that the code compiles).
3574 2002-02-02 Herbert Voss <voss@lyx.org>
3576 * insetgraphic.C: delete inVariant() and some minor changes
3577 * insetgraphicsParams.[C]:
3579 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
3581 * insetgraphics.C (updateInset): if params.display == DEFAULT,
3582 interogate lyxrc.display_graphics before diaplaying the graphic.
3584 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
3585 InsetGraphicsParams::DisplayType.
3587 2002-01-31 Herbert Voss <voss@lyx.org>
3589 * insetgraphic.C: (readfigInset) set display to pref-default
3591 2002-01-30 Herbert Voss <voss@lyx.org>
3593 * insetgraphic.C: get the filetyp from it's contents
3594 * insetgraphicparams.C: add token scale and lyxrc.display when
3595 creating a new inset
3597 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
3599 * figinset.C: added using std::ios directive.
3601 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3603 * figinset.C (runqueue): open translation file in binary mode (for
3606 2002-01-27 Herbert Voss <voss@lyx.org>
3608 * insetgraphic.[Ch]: mostly newritten to support graphicx with
3609 all options and to be sure that the old figinsets are correct
3611 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
3612 structure and to support all lengths as LyXLength. The Parameter
3613 structure changed again, but reading of "old" 1.2 graphic insets
3616 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
3618 * insetert.h (forceDefaultParagraphs): Added
3620 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3622 * insettabular.C (getMaxWidth):
3623 (forceDefaultParagraphs): use Tabular::GetCellFromInset
3625 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3627 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
3628 of LyXLength::inPixels
3630 * inset.C (latexTextWidth):
3631 * insetminipage.C (latexTextWidth): new method, which implements
3632 the equivalent of the LaTeX macro \textwidth
3634 * insetminipage.C (getMaxWidth): use latexTextWidth
3636 2002-01-18 Juergen Vigna <jug@sad.it>
3638 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
3640 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3642 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
3644 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
3647 2002-01-17 Juergen Vigna <jug@sad.it>
3649 * insettabular.C (lockInsetInInset): same change as in insettext.
3651 * insettext.C (draw): width() function was called without setting
3652 the right top_x which could lead to wrong insetWidth setting!
3653 (lockInsetInInset): call edit instead of calling lockInset if we
3654 have to lock an inset inside!
3655 (edit): we have to also tell the inset that we have to redraw the
3656 frame on an edit call if this inset draws a frame only if locked.
3658 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3660 * insetbib.C (getFiles): uncomment Path variable.
3662 2002-01-16 Juergen Vigna <jug@sad.it>
3664 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
3667 2002-01-16 Allan Rae <rae@lyx.org>
3669 * insetinclude.C (docbook): someone forgot a ";"
3671 2002-01-16 José Matos <jamatos@fep.up.pt>
3673 * figinset.C (docbook): removed a old place holder "@".
3674 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
3675 * insetinclude.C (linuxdoc): if include is verbatim, then export the
3676 ascii text version, clearly guarded inside a CDATA section.
3677 (docbook): in docbook 4, inlinegraphics is empty.
3678 * insettabular.C (linuxdoc): export the ascii version of the table
3679 inside a CDATA section.
3681 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3683 * insetparent.C (InsetParent):
3684 * insetgraphicsParams.C (Write):
3686 * insetgraphics.C (prepareFile):
3689 * insetexternal.C (executeCommand):
3690 (doSubstitution): use Buffer::filePath
3692 * insetbib.C (getFiles): add a #warning for Angus
3694 * insetgraphics.C: Add a remark about how filenames should be
3695 considered to be relative to buffer (but absolute is still allowed)
3696 (draw): do not try to get status if lyxrc.use_gui is false
3698 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3701 * insetcollapsable.[Ch]:
3702 * insettabular.[Ch] (searchForward, searchBackward): change the
3703 bool const & params to bool.
3705 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
3706 to avoid the name clash with InsetCollapsable's methods of the same
3707 names but different functionality.
3709 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3711 * insettext.C (ascii): use lyx::count rather than countChar.
3713 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
3715 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
3717 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3719 * insetgraphics.C (updateInset): do not try to render image if
3720 lyxrc.use_gui is false (bug #104)
3722 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
3723 if file does not exist
3725 * figinset.C (browseFile): add shortcuts to directory buttons
3727 * insettext.C (updateLocal): update menubar and toolbar here too.
3729 2002-01-13 Allan Rae <rae@lyx.org>
3731 * insettabular.C (InsetTabular): Both constructors now initialise
3732 all class variables.
3734 2002-01-11 Juergen Vigna <jug@sad.it>
3736 * insettext.C (insetButtonPress): set the_locking_inset to 0.
3738 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3740 * insettabular.C (getStatus): add forgotten brace around multiline
3743 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3745 * insetfloat.C (validate): require "float" instead of "floats".
3747 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
3749 * insettabular.C (getStatus): use FuncStatus
3751 2002-01-08 Juergen Vigna <jug@sad.it>
3753 * insettabular.C (insetButtonRelease): now this should work too
3756 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
3757 if the width is a percentage.
3759 * inset.h: added isChar() function and implemented this for
3760 insetspecialchar insetquotes and insetlatexaccent.
3761 added forceDefaultParagraphs() and implemented it for insettabular.
3763 2002-01-07 Juergen Vigna <jug@sad.it>
3765 * insettext.C (getLyXText): Fixed this function. An insert into the
3766 map is only done if we REALLY have a new BufferView.
3768 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
3770 * insettext.C: fix bug illustrated by attachment #37 of bug #59
3772 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
3774 * insetinclude.C: fix use of FileInfo
3776 2002-01-07 Juergen Vigna <jug@sad.it>
3778 * insettabular.C (draw): fixed clearing of cell around inset.
3780 2002-01-05 Juergen Vigna <jug@sad.it>
3782 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
3783 variables are updated.
3785 * insettabular.C (resetPos): set always the inset_y as it may be
3786 needed in another function.
3787 (searchBackward): don't draw while searching.
3789 2002-01-04 Juergen Vigna <jug@sad.it>
3791 * insettext.C (lockInsetInInset): forgot to set a cursor.
3793 2002-01-02 Juergen Vigna <jug@sad.it>
3795 * insettext.C (insertInset): make the correct undo informations on
3796 inserting new insets.
3798 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
3800 * insettabular.C: correct single-cell select vertically
3802 2001-12-27 Juergen Vigna <jug@sad.it>
3804 * insettabular.C (ascii): export as tab-separated-values if the
3805 function was not called from export (f.ex.: clipboard).
3807 * insetcollapsable.h: added default support for ascii, linuxdoc and
3808 docbook export (the insettext is exported by default!)
3810 * insettabular.C (copySelection): suff the clipboard with the tabular
3811 data in a tab separated format, seems more naturals then with all the
3814 2001-12-24 Juergen Vigna <jug@sad.it>
3816 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
3817 to check for REAL mouseMotion.
3819 2001-12-20 Juergen Vigna <jug@sad.it>
3821 * inset.C (cursor): return the owners cursor if available instead of
3822 always only the bv->text->cursor.
3824 * insettabular.C (checkLongtableSpecial): works now.
3826 2001-12-19 Juergen Vigna <jug@sad.it>
3828 * insettabular.C (tabularFeatures): fix the row setting of ltt as
3829 this has to be always row + 1 as 0 means not selected!
3830 (checkLongtableSpecial): added
3831 (tabularFeatures): better longtable options support
3833 * insettext.C (resizeLyXText): reinit the text always also on a
3836 2001-12-18 Juergen Vigna <jug@sad.it>
3838 * insettext.C (updateInsetInInset): look if we have to autocollapse
3839 paragraps and return if the update is requested for ourself.
3841 * insetert.C (status): update the insettext not myself as that is what
3844 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
3845 function only return if the update was requested with myself.
3847 * insettext.C (insetButtonPress): fixed stupid bug.
3848 (various functions): pay attention that lt is cleared BEFORE calling
3849 updateLocal() and try to use it in the right manner (don't use it
3850 if it's not really neccessary!)
3851 (collapseParagraphs): insert a blank between collapsing paragraphs
3852 if neccessary (not already there!).
3854 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3856 * insettabular.C: move includes around a bit, add a couple of
3859 * insettext.[Ch]: move includes around a bit, other ws changes and
3862 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3864 * insettext.C (insetButtonRelease): fix compile problem
3866 2001-12-17 Juergen Vigna <jug@sad.it>
3868 * insettext.C (insetButtonPress): set the selection cursor!
3869 (insetButtonPress): clear the selection (and set with that the
3870 selection.cursor) if we only hit an inset!
3872 * insetert.C (read): removed piece of compatibility code only needed
3875 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
3878 * insetcollapsable.C (insetButtonRelease): changed so that it can
3879 open eventual existing popup dialogs on mousebutton==3.
3881 * insetfloat.C (insetButtonRelease): removed not needed anymore!
3883 * insetminipage.C (insetButtonRelease): removed not needed anymore!
3885 * inset.C (insetButtonRelease): return a bool for telling the outer
3886 world that we opened a dialog.
3888 2001-12-07 Juergen Vigna <jug@sad.it>
3890 * insettext.C (paragraph): remove the deleteing of paragraphs as
3891 it was a WRONG move!
3893 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
3896 * insettabular.C: use new setSelection(). Allow
3897 selection of single cells.
3899 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3901 * insetquotes.C (latex): fix to use the local language setting at
3902 the point where the inset is inserted (different macros for
3903 different french packages)
3905 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3907 * inset.h: add par_owner_ member variable and parOwner
3910 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3912 * insettabular.C (everywhere): adapt because widths are now real
3913 widths and not strings
3915 * insettext.C (draw): re-introduce the calls to width(), ascent()
3916 and descent() to initialize the caching variables.
3918 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3920 * insettext.C (draw):
3921 (drawFrame): use insetWidth instead of last_width
3923 * insettext.h: remove variable last_width (insetWidth is exactly
3924 the same) and last_height (computed but never used!)
3926 2001-12-10 Allan Rae <rae@lyx.org>
3928 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
3930 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3932 * insettext.C (insetAllowed): add comment
3934 2001-12-05 Juergen Vigna <jug@sad.it>
3936 * insettext.C (insetAllowed): fixed for the case that we directly
3937 ask the insettext from its LyXText.
3938 (paragraph): fixed the crash when assigning the par->next() from
3939 the EmptyParagraphMechanism!
3941 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3945 * insettext.C: change "while(" to "while ("
3947 2001-12-04 Juergen Vigna <jug@sad.it>
3949 * insetert.C (edit): handle Inlined status.
3951 * insettext.C (insertInset): trying John's fix for the trailing cursor
3953 * insetert.C (insetButtonPress): added to handle inlined status
3954 (insetMotionNotify): ditto.
3956 * insettext.C (clearInset): changed Painter & in BufferView * param,
3957 to be able to call ascent,descent methods.
3959 2001-12-03 Juergen Vigna <jug@sad.it>
3961 * insettext.C (updateInsetInInset): use lt variable to forbid
3962 changes of LyXText in an update call.
3963 (updateInsetInInset): fixed updating of non locked insets!
3965 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
3967 * insettabular.C: capture some more functions to prevent
3968 selection drawing problems. Bug #451274
3970 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
3973 * insetgraphicsParams.C: fix inverted sense of float_equal
3975 2001-11-30 Juergen Vigna <jug@sad.it>
3977 * insettabular.C (InsetTabular): use the save_id flag to create also
3978 the tabular with the same id's.
3980 * insettext.C (setParagraphData): added a same_id function for undo
3981 to set the same paragraph id's as of the paragraph we are setting.
3983 2001-11-30 José Matos <jamatos@fep.up.pt>
3986 * insettoc.[Ch]: DocBook -> docbook.
3988 2001-11-29 André Pönitz <poenitz@gmx.net>
3991 * insettext.C: further reduction of header dependencies by using
3992 lyx::layout_type and lyx::textclass_type from support/types.h
3994 2001-11-29 Juergen Vigna <jug@sad.it>
3996 * insettext.C: inserted a reinitLyXText function everywhere I delete
3997 the paragraphs! This should fixe the crashes we had.
3998 Also use the new function firstRow() instead of getRowNearY(dummy_y)
3999 (paragraph): set the InsetOwner() of the new paragraphs!
4001 2001-11-28 André Pönitz <poenitz@gmx.net>
4003 * insetnote.C: add pos initialization that I removed without
4006 2001-11-28 Juergen Vigna <jug@sad.it>
4008 * insettabular.C (resetPos): hack to not crash with infinite paints.
4010 * insettabular.h: insert missing function allowSpellcheck()!
4012 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
4014 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4017 * insetfloatlist.C: derive from InsetCommand so gui can use it
4020 2001-11-26 André Pönitz <poenitz@gmx.net>
4024 * insetnote.C: reduce header dependencies, introduce type for
4027 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4029 * various: update for Alert.h
4031 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4033 * inset.h: fix comment
4035 * insettext.C: use par->isInset()
4037 2001-11-22 Allan Rae <rae@lyx.org>
4039 * insetcollapsable.h:
4040 * inset.h: Changes to checkInsertChar() behaviour.
4041 Now return value indicates whether chars can be inserted.
4043 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
4045 * various: updated to use the new LaTeXFeatures
4047 2001-11-14 José Matos <jamatos@fep.up.pt>
4049 * insetspecialchar.C (linuxdoc):
4050 (docbook): don't give a name to a unused variable.
4052 * insettext.C (docbook): removed unused variable.
4054 2001-11-13 Herbert Voss <voss@perce.de>
4056 * insetgraphic.C: fix scale bug
4058 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4060 * inset.h (isSpace):
4061 (isLetter): new virtual methods.
4063 * insetspecialchar.C (isSpace):
4064 (isLetter): implement here.
4066 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4068 * inset.h: new inline helpers
4070 * insettext.C: use new helpers
4072 2001-11-07 José Matos <jamatos@fep.up.pt>
4074 * insettext.C (docbook): full support for paragraphs inside insettext.
4076 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
4078 * insetindex.C: added header file for std::ostream.
4080 2001-11-03 José Matos <jamatos@fep.up.pt>
4082 * insetindex.C: added using std::ostream that I forgot yesterday.
4084 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
4086 * insetindex.h (docbook):
4087 * insetindex.C (docbook): added support for docbook export.
4089 2001-11-02 José Matos <jamatos@fep.up.pt>
4091 * insetcaption.C(docbook): added support for docbook export.
4093 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
4095 * insetexternal.C (updateExternal): Do not run update command if
4096 result file exists and is up to date.
4098 * ExternalTemplate.C (readFormat): Support the updateresult token.
4100 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
4102 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
4103 external_templates) to use the buffer->fileName() but only if
4104 previewing. Generating a TeX file should make FPath return
4107 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4110 * insetert.C: fix some problems
4112 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
4114 * insetexternal.C (doSubstitution): Added $$FPath token
4115 to list of usable substitutions in external inset templates.
4117 2001-10-24 Juergen Vigna <jug@sad.it>
4119 * insettabular.C: use new ltType struct for setting longtable
4120 header and footers also new UNSET enums.
4122 2001-10-24 José Matos <jamatos@fep.up.pt>
4124 * insettabular.C (linuxdoc): Now exports the ascii's table version.
4125 (docbook): If the table is not inside a float then wrap it inside
4126 <informaltable>...</informaltable>.
4128 2001-10-23 José Matos <jamatos@fep.up.pt>
4130 * insetref.C (docbook): removed / terminator to conform SGML.
4132 * insetspecialchar.C (linuxdoc):
4133 (docbook): Added support for special chars, more than ascii export.
4135 2001-10-22 Juergen Vigna <jug@sad.it>
4137 * insettext.C (checkInsertChar): added for REALLY checking the
4138 font of the inserted char in the right inset!
4140 2001-10-19 Juergen Vigna <jug@sad.it>
4142 * inset.h: added method allowSpellcheck() so that insets who do
4143 not have anything to spellcheck can tell and so they are over-jumped.
4144 Implemented for InsetText and co.
4146 2001-10-18 Juergen Vigna <jug@sad.it>
4148 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
4150 2001-10-15 José Matos <jamatos@fep.up.pt>
4152 * insetert.C: allow export for docbook and linuxdoc
4154 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4156 * insetquotes.C (dispString): handles latin3 and latin4 quotes
4158 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4160 * insetquotes.C (dispString): fix handling of latin9 quotes
4162 2001-10-03 Juergen Vigna <jug@sad.it>
4166 * insetcollapsable.C: change updateInset calls to not tell BV that
4167 we have changed status.
4169 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4171 * insettabular.C (deletable): make const
4173 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
4175 * insetert.C (latex): Fix the returned value
4177 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
4179 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
4180 Returns string(), so nothing in an ERT inset is spellchecked.
4182 * insetgraphics.C (draw): print the filename if not displaying the
4184 (width): make sure that the width and draw methods are consistent.
4185 (updateInset): don't even load the image into cache if not displaying
4188 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
4190 * various files (selectNextWord): renamed as
4191 selectNextWordToSpellcheck.
4193 * insetgraphics.C (draw): remove the previous change. Right place
4194 is in imageLoaderXPM.C.
4195 (draw): don't display the image if params.display == NONE.
4197 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
4199 * figinset.C (runqueue):
4200 * insetgraphics.C (draw): set background colour of inset from
4201 background to the user-configurable graphicsbg.
4203 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4205 * insetquotes.C (InsetQuotes): when trying to decide the side of
4206 the quote, choose `left' only after a space or '('
4208 2001-09-04 José Matos <jamatos@fep.up.pt>
4213 * insetcollapsable.h
4231 * insetlatexaccent.C
4232 * insetlatexaccent.h
4237 * insetspecialchar.C
4238 * insetspecialchar.h
4242 * insettext.C (docbook): rename docBook method to docbook.
4244 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
4246 * inset.h (getFirstParagraph): New virtual method.
4248 2001-08-20 Herbert Voss <voss@perce.de>
4249 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
4250 in the the bibtex-database-gui for inserting a line
4253 If no style is given than there is no tex-output.
4255 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
4257 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
4261 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
4263 * insetert.C (latex): Fix output for multiple paragraphs.
4264 (write): New code for writing paragraph data.
4265 (read): Set font after reading the inset.
4266 (localDispatch): Call set_latex_font() for more cases.
4268 * insetnote.h: Add empty validate method.
4271 * insetnote.C (InsetNote): Set language to the language of the
4274 2001-08-16 Juergen Vigna <jug@sad.it>
4276 * insettext.C: implemented the new FINISHED states.
4278 * insettabular.C: ditto
4280 * inset.h: added more FINISHED states for cursor right,up,down
4282 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
4284 * insetfloatlist.C: use "FloatName List"
4286 2001-08-14 Juergen Vigna <jug@sad.it>
4288 * insetert.C (edit): forgot to set status_ in edit calls!
4290 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
4292 * insettext.C: Compilation fix
4294 2001-08-13 Juergen Vigna <jug@sad.it>
4296 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
4298 * insetcollapsable.C (edit): don't recollapse an already open inset.
4300 * insettext.C: fixed problem when reinitializing LyXText by not doing
4301 it while lt is in use and post this to the next possible time in
4303 (searchForward): fixed not unlocking of inset if nothing found.
4304 (edit): set cursor behind right (was set -1 pos).
4306 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
4308 * insettabular.C (tabularFeatures): fixed fix where deleting the
4309 last row didn't get the right actcell!
4311 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
4313 * insettext.C (localDispatch): Change language only when the inset
4316 2001-08-10 Juergen Vigna <jug@sad.it>
4318 * insettabular.C (selectNextWordInt): use the front using edit call.
4320 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
4321 the parameter overwrite class variable inset.
4323 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
4325 * insettext.C (saveLyXTextState): check for invalid cursor-par.
4326 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
4328 * insettabular.C (calculate_dimensions_of_cells): let's try to call
4329 update only for fixed with cells.
4330 (resetPos): try to fix the lockup on spellchecking or s&r.
4332 * insettext.C (update): comment this out as it seems first wrong
4333 and second not needed anymore!
4334 (some functions): call reinitLyXText() only in update() in all other
4335 positions set only need_update = INIT.
4337 2001-08-08 Juergen Vigna <jug@sad.it>
4339 * insettabular.C (setPos): fixed wrong actrow < rows() check.
4341 * insettext.C (insetUnlock): remove double-space on inset unlock.
4343 * insetcollapsable.C (draw): fix returned x when label > inset-width.
4345 * insettabular.C (update): fixed cursor positon after an insert.
4346 (insetAllowed): do not allow to insert insets when not inside the
4348 (draw): clear below an inset too as it could have changed height.
4350 * inset.C (getMaxWidth): fixed width for inset in inset.
4352 * insettext.C (update): small fix.
4354 * insettabular.C (tabularFeatures): added selection support to
4355 DELETE_ROW/DELETE_COLUMN.
4357 2001-08-07 Juergen Vigna <jug@sad.it>
4359 * inset.C (getMaxWidth): recoded and all it's implementations!
4361 * insettext.C (init,setParagraph+constructors): cleanups
4362 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
4363 are new and I want do a save/restore of the cursor position which is
4364 not possible anymore.
4366 * insetcollapsable.C (searchBackward): recollapse inset if not found.
4367 (searchBackward): ditto
4368 (selectNextWord): ditto
4370 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
4372 * insetlatexaccent.C (checkContents): Add some debug messages
4374 2001-08-07 Juergen Vigna <jug@sad.it>
4376 * insetert.C (read): don't use InsetCollapsable::read as we don't
4377 write the collapsed status anymore only the status.
4380 2001-08-06 Juergen Vigna <jug@sad.it>
4382 * insetert.C (set_latex_font): use LyXText's setFont directly.
4384 * insettext.C (drawFrame): fixed one time more the right position
4385 and size of the frame!
4387 * insetert.C (~InsetERT): hide the dialog.
4388 (showInsetDialog): added implementation
4391 (status): new function for the status of the ERT inset (3-state).
4392 (write): output also the status of the inset for readback!
4393 (read): readback the status if available otherwise use collapsed_.
4395 * insettext.C (edit): small fix of setting the position, which could
4398 * insetert.C (width): implement this function for inlined viewing.
4399 Added minimum width of 10 pixels!
4401 * insetminipage.C (InsetMinipage): just change the colors a bit so
4402 that border/background is a bit more visible. We will remove this
4405 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
4406 function for getting the important widths for drawing in various
4407 functions and in LyXText.
4408 (draw): fixed up a bit (frame drawing/clearing)
4410 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4412 * inset.C (convertFont): delete method. not used.
4414 2001-08-03 Juergen Vigna <jug@sad.it>
4416 * insettext.C (setFont): don't call for a draw update if we're just
4417 changing the cursor font!
4419 2001-08-02 Juergen Vigna <jug@sad.it>
4421 * insettext.C (draw): clear the background with the right color if
4422 needed. Update myself if x&max-width changed and return without doing
4423 anything. Let the update code handle the right stuff.
4425 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
4426 inside another inset.
4428 2001-08-01 Juergen Vigna <jug@sad.it>
4430 * insetcollapsable.C (update): added an in_update bool so we avoid
4433 * insettabular.C (update): added an in_update bool so we avoid
4436 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
4438 (update): added an in_update bool so we avoid reentering.
4440 * insettabular.C (localDispatch): clear col/row selection when doing
4441 something else inside an inset.
4443 * insettext.C (getLyXText): fixed bug when requesting a recursive
4446 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
4448 * insetcite.C (latex): Paranoia check. Make sure that there is no
4449 whitespace between the citation keys.
4451 2001-07-31 Juergen Vigna <jug@sad.it>
4453 * inset.h (nodraw): make the set function also const so that this
4454 can be called from inside other const functions.
4456 * insetcollapsable.h: removed inline variable and moved it over
4457 to the only user InsetERT.
4459 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
4460 inset opening immediately therein lying insets dialogs!
4462 * insetert.C (localDispatch): set the font also if we don't have any
4463 chars in this paragraph, otherwise if we delete all of em and start
4464 writing we have the wrong font.
4466 (draw): implemented for inline support
4467 (insetButtonRelease): ditto.
4469 2001-07-30 Juergen Vigna <jug@sad.it>
4471 * insettext.C (reinitLyXText): new function to reinit the insets
4472 text after lot's of paragraph changes. Use this instead of the
4473 cache.clear() which is VERY dangerous.
4475 * insetfloat.C (insetButtonRelease): we should only show the dialog
4476 if we press on the label otherwise we have problems to open mouse
4477 button 3 dialogs inside this float (f.ex. of a tabular!)
4479 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4481 * insetert.C: change back to "ERT"
4483 * insetfloat.C: handliign of RMB on label added.
4485 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4487 * insetgraphicsParams.C: #include LOstream.h here.
4489 * insetfoot.h: remove InsetFoot:: qualifier.
4491 2001-07-29 Baruch Even <baruch@lyx.org>
4493 * ChangeLog: Hiding time travel evidence.
4495 * insetgraphicsParams.h:
4496 * insetgraphicsParams.C:
4497 * insetgraphics.C: Added horizontal scale option, it actually scales both
4498 directions since it keeps image proportions.
4500 * insetgraphics.C: Fixed EPS detection to be non-hacky.
4502 2001-07-29 Baruch Even <baruch@lyx.org>
4504 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
4505 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
4507 HACKY! Will need to add an EPS detection routine like old InsetFig does!
4509 2001-07-29 Baruch Even <baruch@lyx.org>
4511 * insetgraphics.C: Added EPSI to be an alias of EPS.
4513 2001-07-29 Baruch Even <baruch@lyx.org>
4515 * insetgraphics.C: Change GRAPHICS to Graphics.
4516 Changed image conversion rules (documented at the beginning of file).
4518 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
4520 * insetert.C (get_new_label): int -> Paragraph::size_type to get
4523 * insetgraphics.C: added a using std::endl directive.
4525 * insetcommand.h (getScreenLabel): removed pure virtual function,
4526 as it duplicates that in InsetButton.
4528 * insetbib.[Ch] (getScreenLabel):
4529 * insetbutton.[Ch] (getScreenLabel):
4530 * insetcite.[Ch] (getScreenLabel):
4531 * insetert.[Ch] (getScreenLabel):
4532 * insetexternal.[Ch] (getScreenLabel):
4533 * insetfloatlist.[Ch] (getScreenLabel):
4534 * insetinclude.[Ch] (getScreenLabel):
4535 * insetindex.[Ch] (getScreenLabel):
4536 * insetlabel.h (getScreenLabel):
4537 * insetparent.[Ch] (getScreenLabel):
4538 * insetref.[Ch] (getScreenLabel):
4539 * insettoc.[Ch] (getScreenLabel):
4540 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
4542 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
4544 (validate): remove check on "cite" when using natbib.
4546 2001-07-26 Baruch Even <baruch@lyx.org>
4548 * insetgraphics.C (draw): changed casting to be in one place rather than
4549 all over the function.
4552 * insetgraphics.C (read): Added compatibility reads of InsetFig.
4554 * insetgraphicsParams.h:
4555 * insetgraphicsParams.C:
4556 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
4558 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4560 * insetfoot.C (validate): Added method to ensure that the
4561 right bit of LaTeX is emitted.
4563 * insetfoot.h: Added validate method to set the correct
4564 LaTeXFeatures bit for the special footnote code.
4566 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4568 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
4571 2001-07-27 Juergen Vigna <jug@sad.it>
4573 * inset.h: remove not used font variable in parameter.
4574 removed checkInsertChar in UpdatableInset as it was equal to
4575 the one in Inset and so not needed.
4577 * insetert.C (checkInsertChar): implementation of function
4580 * inset.h: added new function checkInsertChar.
4582 * various files: added c-tor and clone() function.
4584 * insetcollapsable.h: removed clone function here as this should
4585 be only realized in REAL insets and added it to all collapsable
4586 insets! (with the copy-constructor).
4588 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4590 * insetminipage.C (read): handle missing parameters more gracefully
4592 * insetcollapsable.C (read): handel missing collapsed more gracefully
4594 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4596 * insetfloat.C (read): handle missing parameters.
4598 * insettext.C (read): handle old latex end_inset
4600 * insetert.C (setButtonLabel): new method
4601 (init): use it, to set the dynamic label correctly
4604 * Makefile.am (EXTRA_DIST): add files that is not part or the
4607 * insetcollapsable.h: remove autocollapsable (no users), remove
4608 draw_label, change_label_with_text and companion code. Remove args
4610 * insetert.[Ch]: move here instead (only user)
4612 * inset.h: rename private variable name to name_, make
4613 selectNextWord return a const string. make getInsetName return a
4614 string const &. Remove bool from open, add close.
4616 * Makefile.am: don't compile insetlist, insetsection
4619 2001-07-24 Juergen Vigna <jug@sad.it>
4621 * insetert.C (InsetERT): put init after the paragraph initialization,
4622 as otherwise we don't set the draw_label right.
4624 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
4625 insets with the mouse without having strange selections.
4626 (edit): if the inset was collapsed and we open it here then put the
4627 cursor always at the beginning of the inset.
4628 (get_new_label): 15 instead of 10 max chars in the label.
4630 * insetert.C (localDispatch): added and handle various stuff we
4631 need to handle here (font setting on paragraph break, not permitted
4632 layout setting, etc.).
4634 * inset.h: added default copy-consturctor and implemented this in
4635 various insets with the change to use this in the clone function!
4637 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4639 * insetminipage.C (InsetMinipage): set background color to red :)
4641 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4643 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
4644 draw frame mode is LOCKED.
4646 * insetcollapsable.C (edit):
4647 (insetButtonRelease): set update status to full when
4650 * insettext.C (clearInset):
4651 * insettabular.C (draw):
4652 * insetlatexaccent.C (draw): honor background color.
4654 * inset.h: new member background_color_, initialized to
4657 * inset.C (backgroundColor): new method.
4658 (setBackgroundColor): new method.
4660 * insetert.C (init): new method, called by the ctors.
4661 (InsetERT): when inserting contents, make sure the font is
4664 * insetnote.C (InsetNote): when inserting content, remove trailing
4666 (init): set background color to LColor::note
4668 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4670 * insetcollapsable.C: adjust
4672 * insetbutton.C: adjust
4674 2001-07-23 Juergen Vigna <jug@sad.it>
4676 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
4677 parameter on the _collapsed function (was not needed) and call
4678 always width_collapsed().
4680 * insetert.C (InsetERT): use setLabel with "true" flag.
4682 * insetcollapsable.C: modified various functions to set the draw_label
4683 string right in any condition.
4684 (setLabel): added a bool parameter to set change_label_with_text.
4686 * insetcollapsable.h: added draw_label string which is set to the
4687 actual drawn label-string, while label is the original static label
4688 of this collapsable inset. Added bool change_label_with_text to set
4689 if we want that the label changes to the start of the InsetText's
4690 text when collabpsed. You can set this flag with the setLabel funciton.
4691 Added bool inlined for inlined collapsable insets, but not handled
4694 * insetcollapsable.C (get_new_label): added should get a new label
4695 from the InsetText beginning (for now 10 chars).
4697 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4699 * insetquotes.C (latex): fix the handling of french double quotes
4700 when not using the french pachage.
4702 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4704 * insetcollapsable.h: make WidthCollapsed mutable.
4706 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
4707 InsetPrintIndex returns INDEX_PRINT_CODE.
4709 * inset.h: add INDEX_PRINT_CODE
4711 * insetcollapsable.C (draw): init widthCollapsed if necessary
4714 * insetquotes.C (width): use the local language, not the document
4717 (dispString): add additional spacing for all french languages,
4719 (validate): make it work when there is no default language
4721 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
4723 * insetnote.C (init): new method, called by the constructors
4724 (InsetNote): new constructor with contents passed as a string
4726 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4728 * insetfootlike.C (insetAllowed): disallow float in footlike.
4730 * insetert.C (InsetERT): add collapsed argument to the constrctor
4733 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4735 * insetindex.h: shut off warning
4737 2001-07-20 Juergen Vigna <jug@sad.it>
4739 * insetcollapsable.C (update): recoded hopefully works now!
4741 2001-07-19 Juergen Vigna <jug@sad.it>
4743 * most files: implemented the below new introduced function.
4745 * inset.h: added new edit(BufferView *, bool front) method to be able
4746 to enter an inset from the front/back without knowing x/y positions
4747 and baselines inside the inset. So I just can tell the inset activate
4748 me and set the cursor on the front/back of yourself.
4750 2001-07-18 Juergen Vigna <jug@sad.it>
4752 * insetcollapsable.C (edit): fixed hopefully the y parameter which
4753 is given to the InsetText.
4754 (insetButtonPress): ditto
4755 (insetButtonRelease): ditto
4756 (insetMotionNotify): ditto
4758 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4760 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
4761 LIGATURE_BREAK, since the name is so stupid.
4763 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
4765 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
4766 the default InsetCollapsable methods. I.e., it can insert anything.
4767 (write) output the name of the inset, not some silly hack for
4768 compatability with the old InsetInfo.
4770 * insetinfo.[Ch]: removed.
4771 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
4772 now collapsable, but functionality is otherwise identical to InsetInfo.
4774 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
4776 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4778 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
4781 * insetquotes.C: general cleanup
4782 (dispString): add spaces inside french double quotes.
4783 (latex): ditto. Moreover, treat first the case where the frenchb
4784 or french options have been given.
4786 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
4788 * insetcite.[Ch] (latex, validate): new methods, required for natbib
4791 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
4793 * figinset.C (RegisterFigure): Print debug message only when
4794 current_view is available.
4796 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4798 * many files: update to match the change below
4800 * inset.h (insetAllowed): renamed from insertInsetAllowed;
4801 implement the version which takes an inset here.
4803 * insetcollapsable.[Ch]: implement open and isOpen
4805 * inset.h: remove insertInsetAllowed from Inset
4806 (open): new method, to open or close an inset
4807 (isOpen): returns the status of an inset
4808 (isCollapsable, colapse): removed
4810 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4812 * insetquotes.C (dispString): display french guillemets when using
4815 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4817 * insetcollapsable.h: remove bogus return statements
4819 2001-07-18 Juergen Vigna <jug@sad.it>
4821 * insettabular.C (selectNextWord): fixed spellchecking for the
4822 first cell of a tabular (wasn't entered!)
4823 (getLyXText): changed to enter automatically insettext and return
4824 it's LyXText if we're locked.
4826 2001-07-17 Juergen Vigna <jug@sad.it>
4828 * various files: implemented the below functions.
4830 * inset.h: added functions
4831 - virtual string selectNextWord(BufferView *, float & value) const;
4832 - virtual void selectSelectedWord(BufferView *) { return; }
4833 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
4834 needed for spellchecking correctly!
4836 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
4838 * insetert.C (latex): write out all paragraphs.
4840 2001-07-17 Baruch Even <baruch@lyx.org>
4842 * insetgraphics.C (draw): Removed unneeded casts.
4844 2001-07-16 Juergen Vigna <jug@sad.it>
4846 * insettext.C (update): fixed small oversight (reset lt to 0).
4848 2001-07-14 Baruch Even <baruch@lyx.org>
4851 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
4853 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
4855 Consistent use of Lsstream.h:
4856 * figinset.C: removed using std::ostringstream directive.
4858 * insetgraphics.C (createLatexOptions):
4859 * insetinclude.C (unique_id):
4860 std::ostringstream -> ostringstream.
4861 * insettext.C (localDispatch): std::istringstream -> istringstream.
4863 2001-07-13 Juergen Vigna <jug@sad.it>
4865 * insetfloat.C (insertInsetAllowed): added missing const_cast.
4867 * insetcollapsable.C (getLockingInset): ditto.
4869 2001-07-12 Juergen Vigna <jug@sad.it>
4871 * insetcollapsable.h: added implementation of new function for
4874 * various files: added implementation of new insertInsetAllowed-func
4875 and redone the function a bit more.
4877 * inset.h: added isCollapsable(), bool collapsed(),
4878 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
4880 * insetfloat.C (insertInsetAllowed): make a bit more checks.
4882 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
4883 LyXText which is marked for removal while we're using it!
4885 * insettext.h: added private LyXText * lt to use it to assure we are
4886 not deleting our LyXText while we're using it!
4888 2001-07-11 Juergen Vigna <jug@sad.it>
4890 * insettext.C (insertInset): check if we are before the inset after
4891 inserting it! This check IS needed. Remove the Undo-Call as it is
4892 called in LyXText::insertInset!
4894 * insettext.h: added struct InnerCache.
4896 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
4897 that we ONLY delete the LyXText in the getLyXText() routine. So we
4898 are sure we don't delete LyXText while someone is working with it!
4900 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4902 * insetexternal.C: (*it). -> it->
4903 * insettext.C: ditto
4905 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4907 * insetcollapsable.C (edit): always open collapsed insets (even if
4908 they are not autocollapsable)
4910 * insetcommand.C (operator=): simplify.
4912 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4914 * insetert.C (latex): handle META_NEWLINE
4916 2001-07-09 Juergen Vigna <jug@sad.it>
4918 * insetert.h: a normal InsetText can insert insets, but we won't.
4920 * inset.h: return default "false" on insertInsetAllowed and implement
4921 this function where a returnvalue != "false" is needed.
4923 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4925 * insetert.C (InsetERT): new contructor
4927 2001-07-06 Juergen Vigna <jug@sad.it>
4929 * a lot of files: added implementation of the below new functions
4930 and the change to clone(). Also the call of the new undo-functions
4933 * inset.h: added an inset_id, added functions getParFromID,
4934 getInsetFromID, firstParagraph, cursor and id functions, added
4935 bool same_ids to clone function.
4937 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4939 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
4940 of BufferView * and shared_ptr<LyXText>
4942 2001-07-05 Juergen Vigna <jug@sad.it>
4944 * insettext.C (clear): deleted also the cache not only LyXText.
4945 (setParagraphData): ditto.
4947 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4949 * insetfloat.C (latex): let the specific placement take presedence
4950 if set, otherwise choose document placement if set, otherwise just
4951 use float default placement.
4953 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4955 * insettext.C (localDispatch): call CutAndPaste::'s static method
4958 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4960 * insetbib.C: no meed to include forms.h here.
4962 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
4964 * insettext.C: added using std::make_pair directive.
4966 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4968 * insettext.C (getLyXText): avoid multiple lookups, and simplify
4970 (deleteLyXText): ditto
4971 (resizeLyXText): ditto
4973 2001-07-02 Juergen Vigna <jug@sad.it>
4975 * insettext.C (getLyXText): introduce a cache in getLyXText so that
4976 following calls are only returned the right pointer without the over
4977 head to search in the map.
4978 (various funcs): reset the cached_bview variable as this signs that
4979 the cache is not valid anymore.
4981 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4983 * insettabular.C (clone): do not copy the LyXTabular twice
4985 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4987 * insettext.h (TEXT): delete method
4989 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4991 * insetmarginal.C (latex):
4992 * insetfoot.C (latex): fix spacing of notes in LaTeX
4994 * insettext.C (localDispatch): use .c_str() on istringstream
4995 constructor argument.
4997 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
5002 * inseturl.C: fix method names in these to begin
5003 with small char too, so they inherit
5005 2001-06-28 Juergen Vigna <jug@sad.it>
5007 * insettext.C (setFont): fixed font settings using toggleFree()
5008 instead of setFont().
5010 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5012 * Change a lot of method names to begin with a small char.
5013 Changes to a lot of files because of this.
5015 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5017 * insetfloatlist.C (Write): std:: qualify ostream
5020 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
5024 * insetgraphics.C: send debug output to Debug::INFO instead of
5027 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
5030 * insettabular.C (getStatus): update to use func_status
5032 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
5034 * insetref.C (DocBook): added support for cross-references without
5037 2001-06-26 The LyX Project <jug@sad.it>
5042 * insetlabel.h: removed escape method and moved it to
5045 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5047 * insettabular.C (getMaxWidth): do the speedup in a different way,
5050 2001-06-24 The LyX Project <Asger>
5052 * insettabular.C (getMaxWidth): We cache a mapping from
5053 inset to cell in order to speed this method up.
5055 2001-06-24 The LyX Project <Asger>
5057 * insettext.C: Optimized InsetText::draw or something.
5059 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
5061 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
5063 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
5065 * inset.h: name change from lyxinset.h
5067 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
5069 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
5071 2001-06-14 Juergen Vigna <jug@sad.it>
5073 * insettext.C (draw): removed warnings.
5075 2001-06-13 Juergen Vigna <jug@sad.it>
5077 * insettabular.C (nodraw): only go down the tree if we don't have
5078 that flag set otherwise it's obvious that we don't want to draw.
5079 (LocalDispatch): do also an update if we have an undispached result.
5081 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
5084 * insetgraphicsParams.C:
5085 * insettext.C: removed // -*- C++ -*- as first line.
5087 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5089 * lyxinset.h (resizeLyXText): shut off warning about unused
5092 2001-06-07 Juergen Vigna <jug@sad.it>
5094 * insettext.C (resizeLyXText): honor the new force flag.
5096 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
5098 * insettabular.C (deleteLyXText): new function
5100 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
5108 * insetcollapsable.C:
5109 * insetcaption.C: LColor tidy
5111 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5113 * figinset.C: fix typo
5115 2001-06-01 Juergen Vigna <jug@sad.it>
5117 * insettabular.C (resetPos): small hack so that scroll is not set to
5118 0 when we are in the last column of a tabular. This is a problem we
5119 have because of constats 20 offset on both directions, so this can
5120 cause on the limit an endless loop.
5122 * insettext.C (SetFont): forgot that we can have locking insets ;)
5124 2001-05-31 Juergen Vigna <jug@sad.it>
5126 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
5128 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5130 * figinset.C: add using std:: directive for the C functions which
5133 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
5135 * insetfloat.C (Write): write out wide info
5136 (Read): read the wide info
5137 (Latex): use the wide info when creating latex.
5139 * insettext.C: adjust
5141 * insetgraphics.[Ch] (statusMessage): change to return string
5145 * figinset.C (runqueue): add std::
5148 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5150 * insetcite.C (Ascii): add std:: qualifier
5152 2001-05-28 Juergen Vigna <jug@sad.it>
5154 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
5155 a endless-width inset (maxWidth < 0).
5156 (Edit): change language only if not equal.
5158 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
5160 * insettext.C (draw): fixed draw/clear of InsetText-Frame
5162 2001-05-16 Juergen Vigna <jug@sad.it>
5164 * insettext.C (selectAll): added
5165 (clearSelection): added
5167 * insettabular.C (SetFont): now we may set a font on a whole selection!
5168 (getSelection): added helper function.
5170 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
5172 * insetcite.C (Ascii): Add method.
5174 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
5177 * insetbib.C: fix path for OS/2 & Win32
5179 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5181 * insetfoot.C (Latex): don't use % after footnote.
5183 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5185 * insettext.C (Read): use clear
5186 (SetParagraphData): use LyXParagraph copy constructor instead of clone
5188 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5190 * insetfloatlist.h: add a bunch of std:: qualifiers.
5192 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5194 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
5195 FLOAT_LIST_CODE, renumber code list.
5197 * insettoc.C (getScreenLabel): remove support for float lists
5201 * insetfloatlist.[Ch]: new files
5203 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
5205 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
5207 * insettabular.C (LocalDispatch):
5208 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
5211 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5213 * insettext.C: remvoe !NEW_INSETS cruft
5215 * insettabular.C: remove !NEW_INSETS cruft
5217 * insetcollapsable.h: remove !NEW_INSETS cruft
5219 * insetbib.C: remove !NEW_INSETS cruft
5221 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5223 * insettoc.C: hack to make listof algorithm work
5225 2001-04-20 Juergen Vigna <jug@sad.it>
5227 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
5229 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5231 * insetquotes.C (Latex): improve the guard against
5232 unwanted !` and ?` ligatures. This should really be done in
5233 another place (to catch all this ligatures at low-level).
5235 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5237 * insettext.C (init): remvoe leftovers from cursor_visible change
5238 (draw): use c++ cast
5239 (LocalDispatch): dispatch LFUN_MESSAGE
5241 * insettabular.C (InsetTabular): remove leftovers from
5242 cursor_visible, and scoped_ptr changes
5243 (draw): use c++ cast
5245 * insetcollapsable.C (draw): use c++ cast
5247 * ExternalTemplate.h: inherit privaely from noncopyable
5248 * insetcommand.h: ditto
5249 * insetinclude.h: ditto
5251 2001-04-16 Allan Rae <rae@lyx.org>
5253 * insettoc.C (Ascii):
5254 * insettext.C (draw):
5255 * insettabular.C (setPos):
5256 * insetminipage.C (Read):
5257 * insetfloat.C (placement):
5258 * insetcaption.C (Ascii, DocBook):
5259 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
5260 an unrecognised preprocessor directive. So ensure they're wrapped.
5262 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
5265 * insetexternal.C: set view on Clone. Add _ to private members.
5267 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5269 * insettext.C (InsetText): fix new
5270 (InsetText): reindent some, simplify deletion of par list
5271 (clear): simplify deletion of par list, fix new
5272 (SetParagraphData): simplify deletion of par list
5274 * insettabular.[Ch] (getLabelList): implement new method
5276 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5278 * lyxinset.h: do not include gettext.h...
5286 * insetlatexaccent.C:
5290 * inseturl.C: ... and do it here instead
5292 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5294 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
5296 * insettext.[Ch] (getLabelList): add std:: on vector<string>
5298 * insetcollapsable.[Ch] (getLabelList): implement
5300 * insettext.[Ch] (getLabelList): implement
5302 * insettext.h: reindent
5304 * insettabular.h: make tabular a scoped_ptr
5306 * insettext.C (init): adjust for cursor_visible
5307 (ToggleInsetCursor): constify asc and desc, font, adjust for
5309 (ShowInsetCursor): constify asc and desc, font, adjust for
5311 (HideInsetCursor): adjust for cursor_visible
5313 * insettabular.C: reindent some
5314 (InsetTabular): adjust for scoped_ptr and cursor_visible
5315 (InsetTabular): ditto
5316 (~InsetTabular): delete delete
5317 (Clone): adjust for scoped_ptr
5318 (Read): constify old_format, adjust for scoped_ptr, move init of
5320 (draw): constify tx, localize loop vars.
5321 some other localization of variables, remove double initilizatons.
5323 * insetfoot.C: remove using std::ostream, add ostream where needed
5325 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5327 * lyxinset.h: some reindentaion, use initializer list for
5329 UpdatableInset: make cursor_visible a private var add
5330 public isCursorVisible(), add protected toggleCursorVisible() and
5331 proctected setCursorVisible(bool), make scroll call the Inset::scroll
5333 * insettoc.C: remvoe using decl
5334 (getScreenLabel): make cmdname donst
5337 (Ascii): don't use endl
5339 * insetfootlike.C: remove using decl at file scope and add std::
5341 * insetmarginal.C: ditto
5343 * insetfoot.C: some reformatting
5345 * insetfloat.C (InsetButtonRelease): adjust the hit area
5347 * insetert.C (SetFont): some reformatting
5349 * insetcollapsable.C: some reformatting and constification
5350 (Clone): comment out.
5351 * insetcollapsable.h: some reformatting
5352 (Clone): comment out.
5357 2001-03-30 Juergen Vigna <jug@sad.it>
5359 * insetcollapsable.h: changen *inset to be a InsetText inset.
5361 * some files: changed to reflect the above change.
5363 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
5365 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
5366 InsetExternal::Params.
5367 Added operator==() and operator!=() for the Params struct.
5369 2001-03-29 Juergen Vigna <jug@sad.it>
5371 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
5374 * insetminipage.C: removed widthp_ and all it's functions and changed
5375 to use new %-lengths of LyXLength.
5377 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
5379 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
5381 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
5383 * insetgraphicsParams.C (operator!=): new function, needed by the
5384 ControlGraphics class.
5386 2001-03-28 Juergen Vigna <jug@sad.it>
5388 * insettext.C (InsetButtonPress): only enter !inset if button == 2
5389 (checkAndActivateInset): don't use the values returned from
5390 call to bv->checkInsetHit.
5392 * insetminipage.C (Clone): set special minipage values.
5394 * insetcollapsable.C (draw): changed to draw the button in the
5395 upper left corner outside the textinset.
5396 (ascent): changed because of different drawing
5400 (InsetButtonPress): ditto
5401 (InsetButtonRelease): ditto
5402 (InsetMotionNotify): ditto
5404 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
5406 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
5410 2001-03-26 Juergen Vigna <jug@sad.it>
5412 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
5414 * insettext.C (ShowInsetDialog): implemented above function.
5416 * insettabular.C (ShowInsetDialog): ditto
5418 * insetminipage.C (ShowInsetDialog): ditto
5420 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
5422 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
5423 InsetInclude::Params. Don't store a buffer * in Params. Store the
5424 master file name instead.
5426 2001-03-23 Juergen Vigna <jug@sad.it>
5428 * insetcollapsable.C (InsetMotionNotify):
5429 (InsetButtonRelease):
5430 (InsetButtonPress): fixed y-offset (minipages).
5432 * insettext.C (draw): force a FULL update if cleared == true.
5434 * insetcollapsable.C (draw): Lars forgotten entry for changing this
5435 routine to draw the minipages on its position-flag.
5436 (InsetInInsetY): give back the right y position, because of minipage
5439 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
5442 * insetfloat.C (DocBook): docbook export code.
5444 2001-03-22 Juergen Vigna <jug@sad.it>
5446 * insetminipage.C (getMaxWidth): added function to set the drawing
5448 (Read): should work now!
5450 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
5451 if we create a new inset.
5453 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
5455 * figinset.C (fl_set_preemptive_callback): moved definition outside
5458 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5460 * insetminipage.C (Read): prepare for reading of minipage arguments.
5462 2001-03-18 Baruch Even <baruch@lyx.org>
5464 * insetgraphics.C: Minor cleanups of the comments and code.
5466 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5468 * insetminipage.C (InsetMinipage): default to not collapsed
5470 2001-03-16 Juergen Vigna <jug@sad.it>
5472 * insetminipage.C (width): modified with to be a string
5473 (widthp): added widthp (for % width) support functions.
5474 (InsetButtonRelease): added to open the options dialog on button==3.
5475 (~InsetMinipage): added to hide the dialog.
5477 * insetminipage.h: added hideDialog signal
5479 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5481 * insetminipage.h: change the order or Position to match
5482 LyXParagraph::MINIPAGE_ALIGNMENT
5484 * several files: remvoe CXX_WORKING_NAMESPACES
5486 * ExternalTemplate.h: noncopyable is in namespace boost
5487 * insetinclude.h: ditto
5488 * insetcommand.h: ditto
5490 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
5492 * insettext.C (Edit): #else# -> #else.
5493 * insettoc.C: added using directive.
5495 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5497 * insetminipage.h: add pos, inner_pos, width and height. + getters
5498 and setters for all of them.
5500 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
5502 * insetinclude.C (Latex): Do not exit when the textclass of the
5503 included file differ from the textclass of the parent file.
5505 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
5507 * ExternalTemplate.C (read): the reading of external insets now checks
5508 for \end_inset and removes it form the input stream.
5510 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
5512 * ExternalTemplate.h:
5513 * ExternalTemplate.C:
5515 * insetexternal.C: move form to GUII
5517 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
5520 * insetinclude.C: add InsetIncludeParams, use
5521 composition rather than derivation of InsetCommand
5523 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5525 * insettoc.C (Ascii): use the Buffer typedefs
5527 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5529 * insettoc.C (Ascii): implement for dynamic number of lists
5531 * insetcaption.[Ch]: update from new_insets branch
5532 * insetfloat.[Ch]: ditto
5534 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
5537 * figinset.C: use new File Dialog
5539 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5541 * insettext.C: changes becuase of ParagraphParameters.
5543 2001-02-28 Baruch Even <baruch@ev-en.org>
5545 * insetgraphics.C (updateInset): Changed due to the change in
5548 2001-02-26 Juergen Vigna <jug@sad.it>
5550 * insettext.C (SetFont): Set Undo only if we have selection (as it is
5551 handled in LyXText).
5553 2001-02-23 Juergen Vigna <jug@sad.it>
5555 * insettext.C (draw): some small repainting fixes.
5556 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
5558 * inset.C (LocalDispatch): changed action to be a kb_action (as it
5559 should be) and not an int.
5561 * insettabular.C (LocalDispatch): ditto
5563 * insettext.C (LocalDispatch): ditto
5565 * insetcollapsable.C (LocalDispatch): ditto
5567 2001-02-22 Juergen Vigna <jug@sad.it>
5569 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
5570 DISPATCH it and we don't have a locking_inset.
5572 2001-02-21 Baruch Even <baruch@ev-en.org>
5574 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
5575 instead of GraphicsCacheItem *.
5577 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5579 * insetcollapsable.C (getLyXText): add const qualifier to second
5582 2001-02-22 Juergen Vigna <jug@sad.it>
5584 * insettext.C (getLyXText): honor the recursive parameter.
5585 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
5587 * inset.C (getLyXText): added bool recursive parameter.
5589 * insettext.C (SetUpdateStatus): or the update codes.
5590 (draw): check need_update with &.
5591 (InsetButtonPress): set no_selection to not put a selection when
5592 entering an inset and it is redraws in another spot.
5594 * insettext.h: made need_update an int.
5596 2001-02-20 Baruch Even <baruch@ev-en.org>
5599 * insetgraphisc.C: Changed to use better semantics when loading images
5600 for inline view. Now it doesn't keep the pixmap itself but it's holder.
5602 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
5606 * insetgraphics.C: change name of "hide" signal to "hideDialog",
5607 consistent with InsetTabular.
5609 2001-02-19 Juergen Vigna <jug@sad.it>
5611 * insettabular.C (LocalDispatch): implement PAGE up/down.
5613 * insettext.C (draw): clear all of it on need_update==INIT too!
5615 * insettabular.C (InsetUnlock): always clear the selection.
5617 * inset.C (scroll): normally we only want to scroll the inset until
5618 it is fully visible so if top_x + offset > 20 then just set scx to 0.
5620 2001-02-14 Juergen Vigna <jug@sad.it>
5622 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
5623 (resetPos): fixed scroll behaviour.
5624 (LocalDispatch): do an update if moving cursor inside a table cell
5625 requests a scroll of the tabular.
5627 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5629 * insettext.C (textWidth): constify local var
5631 * insettabular.C: small cleanup.
5633 * insetfoot.C (Latex): constify local var
5635 * insetcollapsable.C: small cleanup.
5637 * figinset.C (runqueue): use compare instead of strcmp
5639 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
5642 * insetinfo.C: remove cruft
5644 2001-02-14 Juergen Vigna <jug@sad.it>
5646 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
5648 2001-02-13 Juergen Vigna <jug@sad.it>
5650 * insettext.C (InsertInset): don't move left (is this right?)
5652 * insettabular.C (LocalDispatch): use of the no_draw variable
5654 * insettabular.h: new no_draw variable to stop redraw
5656 * insettabular.C (TabularFeatures): fixed update for alignment change
5658 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
5662 * insetbib.C: move dialogs to frontends/
5664 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
5666 * insettext.C (LocalDispatch): Restore the language if the inset
5669 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
5671 * insettext.C (moveRightIntern): Update the selection cursor.
5672 (moveLeftIntern): Ditto.
5674 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5676 * Makefile.am: remove BoundingBox.h
5678 * BoundingBox.h: removed
5680 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
5682 * insettext.C (LocalDispatch): Update selection cursor when moving
5683 cursor to the right.
5684 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
5685 (moveLeftIntern): Ditto.
5687 2001-02-05 Baruch Even <baruch.even@writeme.com>
5689 * insetgraphics.C: Updated automatic image conversion, it now goes into
5690 temporary directory instead of with the image itself.
5692 2001-01-21 Baruch Even <baruch@ev-en.org>
5694 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
5695 to EPS or PNG when needed (support bitmap graphics).
5697 2000-11-02 Baruch Even <baruch@ev-en.org>
5700 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
5701 and removal of commented out code.
5703 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5705 * insetbib.C (callback): Update citations if the key has changed.
5707 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5709 * insetbib.C (InsetBibKey): Better computation of default key.
5710 (getScreenLabel) Show both the key and the label.
5711 (getBibLabel): New method.
5712 (callback): Force a redraw if the inset have been changed.
5714 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
5716 * insetref.C (getType, getName): Move methods from
5717 src/frontends/xforms/FormRef.C.
5719 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
5721 * insettabular.C: Various improvements (use only one dummy position).
5723 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
5725 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
5726 par->bibkey->width. This fixes the crashes when running without
5727 gui or when having included documents.
5729 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
5731 * insetcommand.C (getAsString, setFromString): Cleanup.
5733 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
5735 * insetref.C: Add the array InsetRef::types that contains
5736 information about all supported reference types.
5738 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5740 * lyxinset.h: remove trailing comma in enum.
5742 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
5744 * insettext.C: kill LyXBell.