1 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * insetinclude.C (localDispatch): do not call
4 InsetOld::localDispatch, just return UNDISPATCHED
5 * insetgraphics.C (localDispatch): ditto
6 * insetcommand.C (localDispatch): ditto
8 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
10 * inset.h: get rid of RESULT typedef for dispatch_result
12 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
13 * insetert.[Ch] (localDispatch): ditto
14 * insettabular.[Ch] (localDispatch): ditto
19 * insettext.[Ch] (localDispatch): ditto
22 (moveRightIntern): ditto
23 (moveLeftIntern): ditto
26 * updatableinset.[Ch] (localDispatch): ditto
28 2003-10-12 Angus Leeming <leeming@lyx.org>
30 * renderbase.h (view, view_): removed.
31 * renderbase.C: removed.
32 * Makefile.am: remove render_base.C. The shortest lived file in
35 * renderbutton.C (draw):
36 * render_graphic.C (draw): don't cache the BufferView.
38 * insetabase.h (cache, view): removed.
40 * inset.h (generatePreview) removed.
42 * insetcallapsable.[Ch] (cache, view, view_): removed.
44 * insetcollapsable.C (draw): don't cache the BufferView.
46 * insetcommand.[Ch] (view): removed.
48 * insetexternal.[Ch] (cache, view, view_):
49 * insetgraphics.[Ch] (cache, view, view_):
50 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
52 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
53 when you have direct access to it. In fact, don't use the cache at all.
55 2003-10-10 Angus Leeming <leeming@lyx.org>
57 * insetinclude.C (metrics): use preview_->metrics.
58 (draw): use preview_->draw.
60 * render_preview.[Ch] (pimage): removed.
62 2003-10-10 Angus Leeming <leeming@lyx.org>
64 * renderers.[Ch]: removed.
68 * render_graphic.[Ch]:
69 * render_preview.[Ch]: new files. The first three are split out of
70 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
71 contains a re-worked InsetInclude::PreviewImpl also.
73 * Makefile.am: reflect the changed files.
77 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
79 * insetinclude.[Ch]: changes reflecting the change from
80 InsetInclude::PreviewImpl to RenderMonitoredPreview.
86 * inseturl.C: add #include "support/std_ostream.h"
88 2003-10-09 Angus Leeming <leeming@lyx.org>
90 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
91 to PreviewedInset::previewReady.
93 2003-10-09 Angus Leeming <leeming@lyx.org>
95 * insetexternal.[Ch] (statusChanged):
96 * insetgraphics.[Ch] (statusChanged): make a const member function.
98 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
101 2003-10-09 Angus Leeming <leeming@lyx.org>
103 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
104 to PreviewedInset's previewReady and removePreview member functions.
106 2003-10-08 André Pönitz <poenitz@gmx.net>
108 * insetcollapsable.C:
109 * insettext.[Ch]: saner 'init' structure
111 * updatableinset.[Ch]: remove unneeded code
113 2003-10-08 Angus Leeming <leeming@lyx.org>
115 Fix doxygen warnings.
117 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
118 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
120 2003-10-07 Angus Leeming <leeming@lyx.org>
122 * ExternalTransforms.[Ch]: new files, detailing transforms that can
123 be applied to InsetExternal.
125 * Makefile.am: add these new files.
127 * ExternalTemplate.[Ch]: add a list of available transforms to
128 class Template and a list of factory functions for transformer classes
129 that can act on this data to class Format.
131 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
133 * ExternalSupport.C: Add code to replace transform placeholders
134 with appropriate output.
136 2003-10-07 Angus Leeming <leeming@lyx.org>
138 * ExternalSupport.[Ch]: new files, moving the private member functions
139 and namespace anon functions out of insetexternal.C to here, so making
140 it easier to understand what is going on in insetexternal itself.
142 * Makefile.am: add new files.
144 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
145 allowing the class to be forward declared. (Also consistent with
146 all other Params classes.)
147 (write): moved out of the class. Move this function and those in
148 namespace anon to ExternalSupport.[Ch].
150 2003-10-07 Angus Leeming <leeming@lyx.org>
152 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
153 non-const member function.
155 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
160 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
162 2003-10-02 André Pönitz <poenitz@gmx.net>
164 * insettext.C (read): make sure there is at least one par
165 in the text after reading.
167 2003-10-01 José Matos <jamatos@lyx.org>
169 * insetbranch.C (linuxdoc, docbook): minor fix.
171 2003-10-01 Angus Leeming <leeming@lyx.org>
173 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
175 * insetexternal.[Ch]: changes due to the introduction of
176 namespace lyx::external.
178 2003-09-30 Angus Leeming <leeming@lyx.org>
180 * insetexternal.[Ch] (Params::read, write): new member functions.
182 2003-09-25 Angus Leeming <leeming@lyx.org>
184 * insetexternal.[Ch] (TempName): new (private) nested struct with
185 fake copy semantics. Enables us to use the generated copy c-tor
186 in the Params struct.
187 (Params::templatename, Params::tempname): use accessor functions.
189 2003-09-25 Angus Leeming <leeming@lyx.org>
191 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
192 function, returning a const pointer.
194 2003-09-23 Angus Leeming <leeming@lyx.org>
196 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
197 store them in a vector, preambleNames.
199 * insetexternal.C (validate): loop over all preambleNames and call
200 LaTeXFeatures::addExternalPreamble with each.
202 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
204 * insetbranch.C: bug fix in branches
206 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
208 * insetnote.C: small clean-up.
210 2003-09-19 Angus Leeming <leeming@lyx.org>
212 * inset.h (generatePreview): passed a 'Buffer const &' arg.
214 * insetcommand.C (string2params): clear params using the default c-tor.
216 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
217 InsetInclude::Params. No more data in this struct than in
218 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
219 (c-tor): no need to pass a 'Buffer const &' arg anymore.
220 (clone): remove #warning as it's now redundant.
221 (set): add a 'Buffer const &' arg. Make private.
222 (loadIfNeeded) move out of the class definition and into namespace anon.
223 (getMasterFilename, getFileName): ditto.
225 2003-09-18 Angus Leeming <leeming@lyx.org>
227 * insetcommand.C (setParams): use the params' copy constructor.
229 2003-09-18 Angus Leeming <leeming@lyx.org>
231 * insetinsetbase.h (getLabelList):
232 * insetinsetcollapsable.[Ch] (getLabelList):
233 * insetinsetinclude.[Ch] (getLabelList):
234 * insetinsetlabel.[Ch] (getLabelList):
235 * insetinsettabular.[Ch] (getLabelList):
236 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
237 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
239 2003-09-18 Angus Leeming <leeming@lyx.org>
241 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
242 redundant baggage from yesteryear.
243 Remove Params::flag as it is redundant; the info is present in
246 2003-09-18 Angus Leeming <leeming@lyx.org>
248 * insetinclude.C (latexString): add a Buffer const & arg.
250 2003-09-18 Angus Leeming <leeming@lyx.org>
255 * insettext.h: rename EnumLColor as LColor_color.
257 2003-09-18 Angus Leeming <leeming@lyx.org>
259 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
260 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
262 2003-09-16 Angus Leeming <leeming@lyx.org>
264 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
265 set before trying to generate a preview, else we trigger an assert.
267 2003-09-16 Angus Leeming <leeming@lyx.org>
269 * insetinclude.C (PreviewImpl::parent): return a const reference.
271 2003-09-16 Angus Leeming <leeming@lyx.org>
273 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
275 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
277 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
278 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
280 * insetminipage.C (metrics):
281 * insetnote.C (metrics):
282 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
283 access collapsed_ directly.
285 2003-09-16 Angus Leeming <leeming@lyx.org>
287 * insetbibitem.C: add #include "lyxfont.h".
289 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
292 * insetbibtex.C: use namespace alias for lyx::support::os
294 2003-09-16 Angus Leeming <leeming@lyx.org>
296 * insetcollapsable.h: remove unused framecolor variable.
297 Remove #include "LColor.h".
299 * insetcollapsable.C: remove unused framecolor variable.
302 * insetcollapsable.C:
310 Add #include "LColor.h".
312 2003-09-16 Angus Leeming <leeming@lyx.org>
314 * insettext.[Ch] (frameColor): new accessor function.
315 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
321 add #include "LColor.h".
323 * insetcollapsable.h: add #include "LColor.h"
324 (for its framecolor member variable).
326 2003-09-16 Angus Leeming <leeming@lyx.org>
328 * insetenv.C (constructor): use accessor functions to access InsetText variables.
330 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
331 rename frame_color as frame_color_. Make private.
333 * insettext.C: associated changes.
335 2003-09-16 Angus Leeming <leeming@lyx.org>
337 * inset.h: store background_color_ as an int, not as an LColor::color to
338 get LColor.h out of the header file.
341 * insetlatexaccent.C:
344 * insetspecialchar.C:
346 add #include "LColor.h".
348 2003-09-16 Angus Leeming <leeming@lyx.org>
350 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
353 2003-09-15 Angus Leeming <leeming@lyx.org>
355 * inset.[Ch] (setBackgroundColor, backgroundColor):
356 * insettext.[Ch] (setFrameColor):
357 pass EnumLColor args, rather than LColor::color ones.
359 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
369 * insetwrap.C: remove usage of STRCONV
371 2003-09-15 Angus Leeming <leeming@lyx.org>
373 * renderers.C (draw):
374 * insetlatexaccent.C (draw): explicitly define the color passed to
377 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
379 * insettext.C: remove block causing problems in lockInsetInInset
380 (mentioned erroneously under Bug #1366)
382 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
384 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
387 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
389 * several files: change Assert to BOOST_ASSERT
391 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
393 * insettext.[Ch]: remove drawText[XY]Offset
395 2003-09-08 Angus Leeming <leeming@lyx.org>
397 * insetcollapsable.C:
402 * insetspecialchar.C:
405 * insettoc.C: remove redundant using directives.
407 2003-09-07 Angus Leeming <leeming@lyx.org>
410 * insetspecialchar.h: remove #include "support/std_string.h".
412 2003-09-06 Angus Leeming <leeming@lyx.org>
414 * renderers.C: add #include "insets/inset.h"
416 2003-09-05 Angus Leeming <leeming@lyx.org>
418 * *.C: strip out redundant #includes. (193 in total.)
420 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
422 * insets/insetbibtex.[Ch]:
423 * insets/insetcommand.h:
424 * insets/insetfloatlist.[Ch]:
425 * insets/insetinclude.[Ch]:
426 * insets/insettoc.[Ch]: Restricts the mouse click functionality
427 of insets like bibtex, include, toc and floatlist to the visible
428 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
429 up the dialogs. Cursor has to be in front of the inset (i.e.
430 start of row) for this to function.
432 2003-09-04 Angus Leeming <leeming@lyx.org>
434 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
435 structure outside of the Format struct. Format::preambleName refers to
436 an item in the map of all preamble snippets.
437 Make use of the new Debug::EXTERNAL flag.
439 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
440 (validate): Small change due to the changed storage of preamble snippets.
442 2003-09-04 Angus Leeming <leeming@lyx.org>
444 * insetgraphics.C: #include "support/os.h"
446 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
447 * insettabular.h: move #include "FuncStatus.h" out of the header file.
448 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
450 * insetcollapsable.h:
452 * insetnote.C: move #include "funcrequest.h" out of the header file.
454 2003-09-03 Angus Leeming <leeming@lyx.org>
456 * insetexternal.C (updateExternal):
457 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
460 2003-09-03 Angus Leeming <leeming@lyx.org>
462 * insetexternal.C: don't bring namespace lyx::support into the global
465 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
467 * insetbranch.C: Add Branch: to label
469 2003-09-02 John Levon <levon@movementarian.org>
472 * insettext.C: remove cursor.i[xy]()
474 2003-08-28 Angus Leeming <leeming@lyx.org>
476 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
477 "sh ", enabling the conversion to be carried out even if the script
480 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
482 * most files: change to use const Buffer refs
484 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
486 * insetfootlike.C: whitespace.
488 2003-08-26 John Levon <levon@movementarian.org>
492 * insetindex.h: remove remaining mentions of needFullRow()
494 2003-08-26 André Pönitz <poenitz@gmx.net>
500 * inset.[Ch]: remove InsetOld::par_owner_ & handling
502 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
504 * insetbranch.C: Small fix to prevent a crash on loading.
506 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
511 * insetcollapsable.h:
513 * insetfloatlist.[Ch]:
514 * insetfootlike.[Ch]:
522 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
523 altogether, putting the logic in metrics/draw in the insets.=20
524 Draws short single row insets with more or less realistic metrics.
526 2003-08-19 André Pönitz <poenitz@gmx.net>
528 * insettext.C: use new RowPainter interface
530 2003-08-18 John Levon <levon@movementarian.org>
532 * insetref.C: require amsmath for eqref
534 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
538 * insetbranch.[Ch]: implements the 'branch inset'
539 idea. This allows the output of various versions of a document
540 from a single source version, selectively outputing or suppressing
541 output of parts of the text.
542 This implementation contains a 'branch list editor' in a separate
543 tab of the document settings dialog. Branches are user definable
544 and have a "display colour" to distinguish them on-screen.
546 ColorHandler was somewhat cleaned up.
547 (1) make possible a dynamically growing LColor list by allowing
548 the graphic context cache to grow along (vector);
549 (2) eliminate an IMHO unnecessary step in colour allocation.
551 2003-08-15 André Pönitz <poenitz@gmx.net>
553 * insettext.[Ch]: adjust after rowlist split
555 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
557 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
558 rename valign-center to valign-middle;
559 rename VALIGN_CENTER to VALIGN_MIDDLE
561 2003-08-11 André Pönitz <poenitz@gmx.net>
563 * inset.h: remove resizeLyXText
566 * insetcollapsable.[Ch]:
568 * insettabular.[Ch]: adjust
570 * insettext.[Ch]: remove saveLyXTextState,
571 restoreLyXTextStat, sstate, reinitLyXText
573 2003-08-07 André Pönitz <poenitz@gmx.net>
575 * inset.[Ch]: move non-crucial functions out-of-line
577 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
578 remove duplicated code.
580 2003-08-05 André Pönitz <poenitz@gmx.net>
583 * insetcollapsable.[Ch]:
596 * updatableinset.[Ch]: rip out "deep update"
598 * insettext.C (localDispatch): merge cases with default branch
600 * insettext.C (frame_x,y,w,h): replace member with automatic variables
602 * insettabular.[Ch] (updateLocal): simplify logic
604 2003-08-04 André Pönitz <poenitz@gmx.net>
606 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
607 is 'FULL' all the time.
609 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
611 * insetert.C (get_new_label): only add ... to the (closed) label
612 when the string has been shortened
614 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
616 * Always use std::endl with lyxerr
618 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
620 * insetnote.C: update \author list
622 2003-07-31 André Pönitz <poenitz@gmx.net>
624 * insetcollapsable.h:
626 * insettext.[Ch]: remove toggleSelection
628 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
630 (with help from Juergen Spitzmueller)
631 * insetnote.C: add add i18n support. Use Prefs-definable
632 colours for Comment and Greyedout.
634 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
636 * insetcollapsable.[Ch]:
638 * insetert.C: factor out the detection of clicking on the inset
639 button as 'hitButton'. John Levon contributed.
641 2003-07-30 André Pönitz <poenitz@gmx.net>
643 * insetcollapsable.C:
645 * insettabular.C: parantheses, localize vars etc.
647 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
649 * insetnote.C: Implement a newenvironment in preamble for
650 greyedout. Patch provided by Jürgen Spitzmüller.
652 2003-07-29 Angus Leeming <leeming@lyx.org>
654 * insetcommand.C (localDispatch): default to
655 InsetOld::localDispatch.
657 * insetbibitem.C (localDispatch):
658 * insetbibtex.C (localDispatch): remove call to
659 ChangeCitationsIfUnique.
661 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
663 * insetexternal.C (read): use pushpophelper.
665 2003-07-28 José Matos <jamatos@lyx.org>
667 * insetext.C (read): \end_document replaces \the_end.
669 2003-07-28 José Matos <jamatos@fep.up.pt>
671 * insetert.C (write): \layout -> \begin_layout.
672 Add missing \end_layout.
674 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
676 * insetquotes.C: document a bit the format
678 * insettabular.C (write): remove extra space
680 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
681 * insetnote.C: Umpf. Hope I *now* get it right :-(
683 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
684 *insetnote.C: did the right fix to greyedout: \color
685 instead of \textcolor.
687 2003-07-28 Angus Leeming <leeming@lyx.org>
689 * insetbibtex.h: remove extraneous forward declaration.
692 * insetbibtex.h: Also remove long-dead Holder member class
695 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
697 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
700 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
702 * insetwrap.C (addToToc): adjust for lyx::toc
704 * insetfloatlist.C (ascii): adjust for lyx::toc
706 * insetfloat.C (addToToc): adjust for lyx::toc
708 2003-07-27 José Matos <jamatos@fep.up.pt>
710 * insetnote.h (linuxdoc,docbook): update support.
712 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
714 * insetfloat.C (wide): add a space to label, for consistency
716 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
718 * insettext.C (nextChange): adjust for lyx::find
719 (searchForward): ditto
720 (searchBackward): ditto
722 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
724 * insetgraphicsParams.C:
725 * insetexternal.C: declare extern displayTranslator
728 * renderers.C: add #include "support/LAssert.h"
730 2003-07-27 José Matos <jamatos@fep.up.pt>
732 * insetfloat.[Ch] (linuxdoc):
733 * insetgraphics.C (linuxdoc):
734 * insettabular.C (linuxdoc):
735 * insettext.[Ch] (linuxdoc): add support for tables and figures
738 2003-07-27 José Matos <jamatos@fep.up.pt>
740 * insetinclude (latex): comply with makeLaTeXFile argument change.
742 2003-07-26 Asger Alstrup <alstrup@local>
744 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
745 the undo crashes. We'll see what problems other places this will
748 2003-07-26 Angus Leeming <leeming@lyx.org>
750 * insetgraphics.C: remove unused declaration of system_tempdir.
752 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
754 * rename Inset to InsetOld
756 * all inset files (clone): return a auto_ptr<InsetBase>
758 2003-07-23 Angus Leeming <leeming@lyx.org>
760 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
762 2003-07-23 Angus Leeming <leeming@lyx.org>
764 * mailinset.[Ch] (inset2string):
765 * insetcommand.[Ch] (inset2string):
766 * insetert.[Ch] (inset2string):
767 * insetexternal.[Ch] (inset2string):
768 * insetfloat.[Ch] (inset2string):
769 * insetgraphics.[Ch] (inset2string):
770 * insetinclude.[Ch] (inset2string):
771 * insetminipage.[Ch] (inset2string):
772 * insetnote.[Ch] (inset2string):
773 * insettabular.[Ch] (inset2string):
774 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
776 * insetexternal.[Ch]:
777 * insetgraphics.[Ch]: get rid of the view() function. Associated
778 changes to the mailers' string2params and params2string functions.
780 2003-07-23 Angus Leeming <leeming@lyx.org>
782 * insetexternal.[Ch]: store the external file name in a FileName
783 member variable rather than a string + associated changes.
785 2003-07-21 Angus Leeming <leeming@lyx.org>
787 * insetgraphicsParams.[Ch]: store the graphics file name in
788 a FileName member variable rather than a string.
790 * insetgraphics.[Ch]:
791 * insetgraphicsParams.[Ch]: Associated changes.
793 2003-07-21 Angus Leeming <leeming@lyx.org>
795 * insetgraphics.[Ch] (string2params, params2string): passed a
796 buffer_path argument.
799 2003-07-21 Angus Leeming <leeming@lyx.org>
802 * insetgraphicsParams.[Ch]:
804 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
806 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
808 * insetnote.C: fixed greyout and conditionals layout foul-ups.
810 2003-07-18 André Pönitz <poenitz@gmx.net>
813 * insetminipage.[Ch]:
817 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
819 2003-07-18 André Pönitz <poenitz@gmx.net>
823 * insetcollapsable.C:
827 * insetgraphics.[Ch]:
828 * insetlatexaccent.[Ch]:
833 * insetspecialchar.C:
836 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
838 2003-07-17 André Pönitz <poenitz@gmx.net>
840 * insetcollapsable.C:
842 * insettext.C: don't call Inset::update() anymore
845 * insettabular.[Ch]: remove unneeded in_update_ members
847 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
849 2003-07-16 André Pönitz <poenitz@gmx.net>
851 * insettext.C (selectAll): remove
853 2003-07-16 John Levon <levon@movementarian.org>
856 * insetnote.C: implement showInsetDialog()
858 2003-07-15 André Pönitz <poenitz@gmx.net>
861 * insettext.C: refresh_status tristate -> need_update bool
863 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
865 * insettext.C: adjust call to LyXText::init
867 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
869 * insettext.C: use bufferview_funcs->replaceSelection()
870 to delete selections in some cases (bugs 441, 673, 702, 954).
872 2003-07-14 André Pönitz <poenitz@gmx.net>
874 * insettext.C (draw): use slimmed down rowpainter interface
876 2003-07-14 André Pönitz <poenitz@gmx.net>
878 * insetcollapsable.C:
880 * insettext.[Ch] (cy, ciy, setUpdateStatus):
881 remove unused BufferView * argument
883 2003-07-14 André Pönitz <poenitz@gmx.net>
885 * insettext.[Ch]: used cached metrics a bit more
887 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
889 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
891 2003-07-10 André Pönitz <poenitz@gmx.net>
894 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
896 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
898 * introduce namespace lyx::graphics
900 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
902 * introduce namespace lyx::support
904 2003-06-30 André Pönitz <poenitz@gmx.net>
906 * insetcite.C (localDispatch): fix case of missing return value
908 * insetcite.C (ascii): remove unneeded temporary
910 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
912 * insetspace.h: fix \file
914 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
915 * insetinclude.C (fillWithBibKeys): ditto
917 * insetbibitem.C: fix type const order
919 * inset.C (getLyXText): add varname for arg
921 * ExternalTemplate.h: fix type const order
923 2003-06-27 André Pönitz <poenitz@gmx.net>
925 * insettext.C: take care of removed LyXCursor::row_ member
927 * insettext.[Ch]: use new TextCursor struct for sstate
929 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
931 * inseterror.[Ch]: removed
933 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
935 * insetinclude.C (docbook): use parseError instead of sgmlError
937 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
939 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
940 of BufferList::loadLyXFile
942 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
944 * insettext.C (update): simplify
945 (updateLocal): remove commented code
946 (insetUnlock): simplify
947 (lockInset): simplify
948 (updateInsetInInset): simplify
949 (localDispatch): simplify
951 (resizeLyXText): simplify
952 (collapseParagraphs): simplify
954 * insetert.C (get_new_label): simplify
956 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
958 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
959 pasteSelection with index
961 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
963 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
965 2003-06-16 André Pönitz <poenitz@gmx.net>
967 * insetbase.h: new virtual base function clone()
969 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
970 Inset * clone() -> InsetBase * clone()
972 2003-06-13 André Pönitz <poenitz@gmx.net>
974 * insettabular.[Ch]: make tabular a proper member
976 2003-06-12 André Pönitz <poenitz@gmx.net>
978 * insettabular.[Ch]: some renaming plus whitespace
980 2003-06-11 Angus Leeming <leeming@lyx.org>
982 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
985 * insetbutton.[Ch]: removed.
986 * graphicinset.[Ch]: renamed as renderers.[Ch].
988 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
989 Create a new class ButtonRenderer using the InsetButton::metrics() and
991 Derive both from a common RenderedInset base class.
994 * insetinclude.[Ch]: derive from Inset, not InsetButton.
995 Give it a ButtonRenderer member variable. Use it.
996 Give the classes working copy c-tors.
997 No longer derive from boost::noncopyable.
999 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
1000 display its contents as a button or as a graphic.
1002 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
1005 2003-06-11 Angus Leeming <leeming@lyx.org>
1007 * insetcite.C (localDispatch): reformat.
1009 * insetref.C (localDispatch): enable dialog to be lauched.
1011 2003-06-11 John Levon <levon@movementarian.org>
1013 * insettabular.C: correctly mark all cells as erased
1015 2003-06-11 Angus Leeming <leeming@lyx.org>
1017 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
1018 ExternalTemplate but its name, templatename. This means that a file
1019 containing a reference to an External Template not installed on the
1020 current machine will be saved retaining this info rather than inserting
1021 the first "valid" template from the list of templates.
1023 As a by product, the visual statement that the Template is missing is
1026 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1028 * insettext.C (appendParagraphs): remove some commented code.
1030 2003-06-10 Angus Leeming <leeming@lyx.org>
1032 * graphicinset.[Ch] (view): removed the publicly accessible function to set
1035 * insetexternal.[Ch]: move tempname_ into the Params struct.
1036 (Params d-tor): new function, to clean-up this temp file.
1037 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
1039 (editExternal, doSubstitution): move out of class.
1041 2003-06-10 Angus Leeming <leeming@lyx.org>
1043 * graphicinset.[Ch] (params): removed.
1044 * graphicinset.h (operator=): declared private but not defined.
1045 (statusMessage): made private.
1047 * insetexternal.[Ch]: graphic_ renamed as renderer_.
1049 2003-06-07 John Levon <levon@movementarian.org>
1051 * insetert.C (latex): make a newline mean just that not
1054 2003-06-07 José Matos <jamatos@fep.up.pt>
1056 * insethfill.[Ch] (linuxdoc, docbook): implement output
1057 * insetspace.C (linuxdoc, docbook): remove coments as the code
1060 2003-06-06 José Matos <jamatos@fep.up.pt>
1062 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
1064 2003-06-06 André Pönitz <poenitz@gmx.net>
1066 * insetwrap.[Ch]: code compactification
1068 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1070 * mailinset.C (updateDialog): use Dialogs::visible
1072 2003-06-04 Angus Leeming <leeming@lyx.org>
1074 * graphicinset.C (draw): add a comment for the #if 0 block.
1076 * insetexternal.h: remove Params::parameters variable.
1077 * insetexternal.C (read, write): rewrite to output new ExternalInset format
1078 and read it back making full use of LyXLex.
1080 2003-06-04 André Pönitz <poenitz@gmx.net>
1082 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
1084 2003-06-04 John Levon <levon@movementarian.org>
1086 * insettabular.C: back out tall table speed up. It was broken
1088 2003-06-03 Angus Leeming <leeming@lyx.org>
1090 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
1091 Remove ViewCommand and UpdateCommand.
1093 * graphicinset.C (update): bug fix. Set the params before calling the
1095 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
1096 BufferView cache to enable the InsetExternal::editCommand to be invoked
1097 from the frontends. Would not be needed if this were dispatched properly.
1098 (old_ascent_): variable removed.
1100 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
1101 do any necessary conversions of external material. Also use the
1102 new GraphicsInset to display the inset within LyX.
1104 2003-06-03 Angus Leeming <leeming@lyx.org>
1106 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
1107 and move it somewhere where InsetExternal can use it too.
1109 * Makefile.am: add the new files.
1111 * insetgraphics.[Ch]: make use of the new GraphicInset.
1113 2003-06-03 John Levon <levon@movementarian.org>
1116 * insetbibitem.[Ch]:
1119 * insetcommand.[Ch]:
1123 * insetexternal.[Ch]:
1127 * insetgraphics.[Ch]:
1129 * insetinclude.[Ch]:
1132 * insetlatexaccent.[Ch]:
1133 * insetmarginal.[Ch]:
1134 * insetminipage.[Ch]:
1141 * insetspecialchar.[Ch]:
1142 * insettabular.[Ch]:
1144 * insetthereom.[Ch]:
1147 * insetwrap.[Ch]: make clone() not take a Buffer * arg
1149 * insetgraphics.[Ch]:
1150 * insetgraphicsParams.[Ch]: always store an absolute
1153 2003-06-02 André Pönitz <poenitz@gmx.net>
1157 * insetlatexaccent.C: remove duplicated call to metrics()
1159 2003-06-02 John Levon <levon@movementarian.org>
1161 * insettabular.C: fix resize of column width
1163 2003-06-02 John Levon <levon@movementarian.org>
1168 * insetparent.C: remove insetparent
1170 2003-06-02 André Pönitz <poenitz@gmx.net>
1177 * insetcollapsable.[Ch]:
1181 * insetgraphics.[Ch]:
1182 * insetinclude.[Ch]:
1183 * insetlatexaccent.[Ch]:
1184 * insetminipage.[Ch]:
1185 * insetnewline.[Ch]:
1188 * insetspecialchar.[Ch]:
1189 * insettabular.[Ch]:
1190 * insettext.[Ch]: unify first drawing phase
1193 * insetbase.h: move validate() to the base
1195 2003-05-31 Angus Leeming <leeming@lyx.org>
1197 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
1199 2003-05-30 André Pönitz <poenitz@gmx.net>
1204 * insetcaption.[Ch]:
1205 * insetcollapsable.[Ch]:
1208 * insetgraphics.[Ch]:
1209 * insetinclude.[Ch]:
1210 * insetlatexaccent.[Ch]:
1211 * insetnewline.[Ch]:
1214 * insetspecialchar.[Ch]:
1215 * insettabular.[Ch]:
1217 * updatableinset.[Ch]: unify second drawing phase
1219 2003-05-30 John Levon <levon@movementarian.org>
1221 * insetgraphics.C: fix a bformat
1223 2003-05-29 John Levon <levon@movementarian.org>
1225 * insettabular.C: remove unused bufferOwner()
1227 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1229 * insettext.C (lockInsetInInset): adjust
1230 (getLabelList): use const_iterator, adjust
1231 (getInsetFromID): use const_iterator, adjust
1232 (addPreview): use const_iterator, adjust
1234 * insetwrap.C (clone): remove const_cast
1236 * insetnote.C (clone): remove const_cast
1238 * insetminipage.C (clone): remove const_cast
1240 * insetmarginal.C (clone): remove const_cast
1242 * insetfoot.C (clone): remove const_cast
1244 * insetfloat.C (clone): remove const_cast
1246 * insetert.C (clone): remove const_cast
1248 * delete commented same_id functions from a lot of files.
1250 2003-05-28 John Levon <levon@movementarian.org>
1256 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
1258 * insetminipage.C: fix metrics (bug 1144)
1260 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1262 * insettext.C (saveLyXTextState): adjust
1263 (restoreLyXTextState): adjust
1266 (unlockInsetInInset): adjust
1267 (localDispatch): adjust
1268 (getLyXText): adjust
1270 * insettabular.C (insertAsciiString): adjust
1272 2003-05-27 André Pönitz <poenitz@gmx.net>
1275 * insetcollapsable.C:
1278 * insetlatexaccent.C:
1283 * insetspecialchar.C:
1285 * insettext.C: dim.w -> dim.wid
1287 2003-05-26 John Levon <levon@movementarian.org>
1289 * insettabular.C: avoid drawing all of a long table
1290 if it's not needed. A big speedup
1292 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1294 * remove same_id from function signatures, adjust
1296 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1298 * insettext.C (InsetText): adjust
1300 (setParagraphData): separate same_id cases, adjust
1301 (appendParagraphs): adjust
1302 (appendParagraphs): adjust
1304 2003-05-23 André Pönitz <poenitz@gmx.net>
1306 * insetbutton.h: whitespace
1308 * insettabular.C: more compact code
1310 * updatableinset.C: remove const_cast
1313 2003-05-23 Angus Leeming <leeming@lyx.org>
1315 * insetexternal.C (write): check how many lines are output.
1316 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
1317 if the template has defined it.
1319 2003-05-23 Angus Leeming <leeming@lyx.org>
1321 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
1323 2003-05-23 Angus Leeming <leeming@lyx.org>
1325 * insetfoot.C (latex):
1326 * inseturl.C (latex): rename fragile as moving_arg.
1328 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1330 * inseterror.C (localDispatch): comment out unused var.
1332 2003-05-22 Angus Leeming <leeming@lyx.org>
1334 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
1335 passed through the LatexRunParams arg.
1337 2003-05-22 Angus Leeming <leeming@lyx.org>
1339 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
1340 through the LatexRunParams arg.
1342 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
1343 arg rather than through a global var.
1345 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1347 * insetspecialchar.C (dimension): use a string.
1349 2003-05-22 Angus Leeming <leeming@lyx.org>
1351 * insetbibtex.C (latex):
1352 * insetgraphics.C (latex):
1353 * insetinclude.C (latex): extract the buffer's 'nice'ness from
1354 runparams rather than from the buffer itself.
1356 2003-05-22 Angus Leeming <leeming@lyx.org>
1358 * inset*.[Ch] (latex):
1359 passed a LatexRunParams parameter.
1361 * insetgraphics.C (latex): actually use it ;-)
1363 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
1365 * insetfloat.C (addToToc): trivial compile fix
1367 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1369 * insettext.[Ch] (paragraph): delete unused function
1371 * insetfloat.C (addToToc): parlist simplfication
1373 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1375 * insetspace.[Ch]: added (new space insets)
1377 * inset.h: handle new space insets
1379 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1381 * insetfloat.C (addToToc): adjust
1383 2003-05-21 André Pönitz <poenitz@gmx.net>
1385 * insettext.[Ch]: fix drawing bug introduced earlier
1387 2003-05-19 André Pönitz <poenitz@gmx.net>
1389 * insetspecialchar.C: fix bug introduced yesterday
1391 2003-05-19 André Pönitz <poenitz@gmx.net>
1395 * insetcollapsable.[Ch]:
1399 * insetgraphics.[Ch]:
1400 * insetgraphicsParams.[Ch]:
1401 * insetlatexaccent.[Ch]:
1402 * insetminipage.[Ch]:
1403 * insetnewline.[Ch]:
1405 * insetspecialchar.[Ch]:
1406 * insettabular.[Ch]:
1407 * insettext.[Ch]: dimensions() instead of ascend/descend/width
1409 2003-05-19 André Pönitz <poenitz@gmx.net>
1412 * insettext.C: more insetenv
1414 2003-05-16 André Pönitz <poenitz@gmx.net>
1417 * insetminimpage.[Ch]:
1418 * insetcollapsable.[Ch]: fix #832
1420 2003-05-16 André Pönitz <poenitz@gmx.net>
1423 * insetbibitem.[Ch]:
1427 * insetcollapsable.[Ch]:
1428 * insetcommand.[Ch]:
1431 * insetexternal.[Ch]:
1432 * insetfloatlist.[Ch]:
1433 * insetgraphics.[Ch]:
1434 * insetinclude.[Ch]:
1437 * insetlatexaccent.[Ch]:
1440 * insettabular.[Ch]:
1444 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
1446 2003-05-13 André Pönitz <poenitz@gmx.net>
1449 * insetcollapsable.C:
1453 * insetwrap.C: tostr from own header
1465 * insetwrap.C: STRCONV
1468 2003-05-12 André Pönitz <poenitz@gmx.net>
1480 * insetwwrap.C: boost::format -> bformat all over the place
1482 2003-05-05 André Pönitz <poenitz@gmx.net>
1484 * insettext.h: add missing #include <map>
1486 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1488 * insettext.C (InsetText): parlist cleanup
1491 (insetUnlock): ditto
1493 (lockInsetInInset): ditto
1497 (searchBackward): ditto
1498 (collapseParagraphs): ditto
1500 2003-05-06 John Levon <levon@movementarian.org>
1502 * insetcaption.C: don't cast wrap inset to InsetFloat
1505 * insetfloat.C: remove unneeded type() function
1507 2003-05-05 André Pönitz <poenitz@gmx.net>
1511 * insettabular.[Ch]:
1512 * insetcollapsable.[Ch]: remove unused function firstParagraph()
1513 replace getFirstParagraph() by getParagraphs()
1515 2003-05-03 John Levon <levon@movementarian.org>
1517 * insetcollapsable.h:
1518 * insetcollapsable.C:
1524 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
1525 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
1526 getCursor(). Remove explicit cursor hides.
1528 2003-05-02 André Pönitz <poenitz@gmx.net>
1530 * insettext.C: remove unneeded &*
1532 2003-04-30 John Levon <levon@movementarian.org>
1534 * insettabular.C: fix edit message
1536 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1538 * insettext.C (setFont): do not convert iterator -> pointer
1540 * insettabular.C (localDispatch): do not convert iterator -> pointer
1542 (tabularFeatures): ditto
1544 2003-04-29 André Pönitz <poenitz@gmx.net>
1546 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
1548 2003-04-28 André Pönitz <poenitz@gmx.net>
1550 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1553 2003-04-25 André Pönitz <poenitz@gmx.net>
1555 * insetenv.C: derive from InsetText instead of InsetCollapsable
1557 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1559 * insetexternal.C (string2params): dont do anything if the string
1561 * insetgraphics.C (string2params): ditto
1562 * insetcommand.C (string2params): ditto
1563 * insetert.C (string2params): ditto
1564 * insetfloat.C (string2params): ditto
1565 * insetinclude.C (string2params): ditto
1566 * insetminipage.C (string2params): ditto
1567 * insettabular.C (string2params): ditto
1568 * insetwrap.C (string2params): ditto
1570 2003-04-24 André Pönitz <poenitz@gmx.net>
1572 * insetref.C: support for eqref
1574 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1576 * insetert.C (read): use ParagraphList::iterator.
1578 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1580 * insetquotes.C (latex): comment some code and add warnings.
1582 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1584 * insetexternal.C (localDispatch): added a missing DISPATCHED
1586 2003-04-12 John Levon <levon@movementarian.org>
1588 * insetwrap.C (addToToc): fix a crash, conversion
1589 from while to for loop forgot to remove the explicit
1592 2003-04-10 John Levon <levon@movementarian.org>
1594 * insettabular.C (tabularFeature): make sure
1595 to update the dialog when we change something
1598 (getStatus): don't disable some lfuns (bug 939)
1600 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1602 * insettext.C (saveLyXTextState): adjust
1603 (localDispatch): adjust
1609 * insettabular.C (localDispatch): adjust
1611 (tabularFeatures): adjust
1613 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1615 * insettabular.C (searchForward,searchBackward): fix bug 782
1617 2003-04-07 John Levon <levon@movementarian.org>
1620 * insettext.C: clear status message on inset exit
1622 2003-04-03 John Levon <levon@movementarian.org>
1624 * insetcommand.C: return dispatched on DIALOG_UPDATE
1626 2003-04-02 John Levon <levon@movementarian.org>
1628 * insettabular.C: tab lfuns renamed
1630 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1632 * insettext.C (update): move towards ParagraphList
1633 (updateLocal): ditto
1635 (insetUnlock): ditto
1637 (lockInsetInInset): ditto
1638 (updateInsetInInset): ditto
1639 (localDispatch): ditto
1642 (resizeLyXText): ditto
1643 (searchBackward): ditto
1644 (collapseParagraphs): ditto
1647 * insetwrap.C (InsetWrap): adjust
1648 (addToToc): adjust and rewrite loop
1650 * insettext.[Ch] (paragraph): delete function
1652 * insettabular.C (moveNextCell): adjust
1653 (movePrevCell): adjust
1654 (insertAsciiString): adjust
1656 * insetfloat.C (InsetFloat): adjust
1659 * insetert.C (InsetERT): adjust
1660 (write): adjust, and rewrite loop
1661 (latex): adjust, and rewrite loop
1662 (linuxdoc): adjust, and rewrite loop
1663 (docbook): adjust, and rewrite loop
1664 (localDispatch): adjust
1665 (get_new_label): adjust
1667 2003-04-01 John Levon <levon@movementarian.org>
1669 From Alfredo Braunstein
1672 * insetbutton.C: add localDispatch()
1674 * insetcommand.C: return DISPATCHED when edit() called
1676 * insettext.C: fix bug 967
1678 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1680 * insettext.C: adjust
1682 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1684 * insettext.C (draw): adjust
1685 (crow): return a RowList::iterator not a Row*
1687 * insetminipage.C (localDispatch): adjust
1689 * insetert.C (localDispatch): adjust
1691 2003-03-31 John Levon <levon@movementarian.org>
1694 * insetgraphicsParams.C: use_gui moved to lyx_gui
1696 2003-03-31 John Levon <levon@movementarian.org>
1698 * insettext.C: Alert fix
1700 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1702 * insettext.C (ascent): adjust for RowList
1705 (getLyXText): adjust
1706 (toggleSelection): adjust
1708 * insetminipage.C (localDispatch): adjust for RowList
1710 * insetert.C (localDispatch): adjust for RowList
1711 (getMaxWidth): adjust for RowList
1713 2003-03-29 John Levon <levon@movementarian.org>
1715 * insetert.C: Alert cleanup
1717 2003-03-29 John Levon <levon@movementarian.org>
1719 * insettabular.C: Alert fix
1721 2003-03-28 John Levon <levon@movementarian.org>
1723 * insetfloat.C: reset label on INSET_MODIFY
1725 2003-03-28 John Levon <levon@movementarian.org>
1727 * insetgraphicsParams.C: read subcaptionText as a whole line
1730 2003-03-28 John Levon <levon@movementarian.org>
1732 * insettext.C: remove unused prototypes
1734 2003-03-25 Angus Leeming <leeming@lyx.org>
1736 * insetbibitem.C (localDispatch): repaint the view after modifying
1737 a bibitem inset in case the maximum InsetBibitem width has changed.
1739 2003-03-25 John Levon <levon@movementarian.org>
1742 * insettabular.C: LyXText renamings
1744 2003-03-24 John Levon <levon@movementarian.org>
1746 * insettext.C: remove some dead code. Fix bug 972 and
1747 related by posting a repaint in updateLocal(), and making
1748 the SEL functions set SELECTION.
1750 2003-03-22 John Levon <levon@movementarian.org>
1753 * inset.C: remove no-longer-needed topx_set
1755 * insetcollapsable.h:
1756 * insetcollapsable.C: remove dead code
1759 * insetert.C: rebreak the rows when a possible
1760 change in size is made, and reset the cursor
1763 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
1765 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
1766 topx_set. Fix drawing errors for clearInset(). Remove
1767 some unnecessary uses of topx, which should die.
1769 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
1770 is no longer needed. Replace it with an ugly hack.
1772 2003-03-20 John Levon <levon@movementarian.org>
1775 * insetcollapsable.h:
1776 * insetcollapsable.C:
1784 * insettext.C: remove spurious font parameter
1785 from update(). Fix drawing of ERT insets inside
1786 insets (bug 966). Remove unused mark_dirty from
1787 tabular's updateLocal()
1789 2003-03-19 John Levon <levon@movementarian.org>
1798 * insetwrap.C: remove unused getter/setters
1800 2003-03-19 John Levon <levon@movementarian.org>
1802 * several files: bv->updateInset() doesn't take
1803 a bool mark_dirty any more
1805 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1807 * adjust for BufferView* arg removal from lyxtext.
1809 2003-03-17 John Levon <levon@movementarian.org>
1811 * most files: remove the "cleared" parameter
1812 to draw in favour of always clearing. Associated
1815 2003-03-16 John Levon <levon@movementarian.org>
1817 * insettext.C: remove unused s.refresh
1819 2003-03-13 Angus Leeming <leeming@lyx.org>
1821 * insettext.C (edit): replace Dialogs::updateParagraph with
1822 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
1824 2003-03-13 André Pönitz <poenitz@gmx.net>
1826 * Makefile.am: insert insetenv
1828 * insethenv.[Ch]: new files, currently inactive
1830 2003-03-12 John Levon <levon@movementarian.org>
1840 * insettext.C: use new insetnewline
1842 2003-03-12 John Levon <levon@movementarian.org>
1844 * insettext.C: readToken became readParagraph
1846 2003-03-12 John Levon <levon@movementarian.org>
1848 * insettext.C: use parlist iterator for reading contents
1850 2003-03-12 John Levon <levon@movementarian.org>
1852 * insettext.C: name change to readToken()
1854 2003-03-11 André Pönitz <poenitz@gmx.net>
1856 * Makefile.am: insert insethfill
1858 * insethfill.[Ch]: new files
1860 2003-03-10 Angus Leeming <leeming@lyx.org>
1862 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
1864 (hideDialog): calls the new static Dialogs::hide() method.
1866 * insetbibitem.C (edit):
1867 * insetbibtex.C (edit):
1868 * insetcite.C (edit):
1869 * insetcommand.C (localDispatch):
1870 * inseterror.C (d-tor):
1871 * insetert.C (showInsetDialog):
1872 * insetexternal.C (localDispatch, edit):
1873 * insetfloat.C (localDispatch, showInsetDialog):
1874 * insetfloatlist.C (edit):
1875 * insetgraphics.C (localDispatch, edit):
1876 * insetinclude.C (localDispatch, edit):
1877 * insetindex.C (edit):
1878 * insetlabel.C (edit):
1879 * insetminipage.C (localDispatch, showInsetDialog):
1880 * insetref.C (edit):
1881 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
1882 resetPos, showInsetDialog, openLayoutDialog):
1883 * insettoc.C (edit):
1884 * inseturl.C (edit):
1885 * insetwrap.C (localDispatch, showInsetDialog):
1886 changes due to the changed MailInset interface.
1888 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
1890 * insetfloat.h: Set default placement to an empty string.
1892 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1894 * insettext.C (latex): adjust call to latexParagraphs.
1896 2003-03-10 Angus Leeming <leeming@lyx.org>
1898 * mailinset.C: warn the user if the BufferView has not been cached.
1900 2003-03-10 Angus Leeming <leeming@lyx.org>
1902 * inset.h, insetbase.h: move cache() and view() into InsetBase.
1904 * insetcommand.h (inset):
1905 * insetert.h (inset):
1906 * insetexternal.h (inset):
1907 * insetfloat.h (inset):
1908 * insetgraphics.h (inset):
1909 * insetinclude.h (inset):
1910 * insetminipage.h (inset):
1911 * insettabular.h (inset):
1912 * insetwrap.h (inset):
1913 * mailinset.h (inset): return an InsetBase &, not an Inset &.
1915 2003-03-10 Angus Leeming <leeming@lyx.org>
1917 * insetcommand.C (string2params):
1918 * insetexternal.C (string2params):
1919 * insetfloat.C (string2params):
1920 * insetgraphics.C (string2params):
1921 * insetinclude.C (string2params):
1922 * insetminipage.C (string2params):
1923 * insettabular.C (string2params):
1924 * insetwrap.C (string2params): cure warning message about missing
1927 2003-03-09 Angus Leeming <leeming@lyx.org>
1929 * insettabular.[Ch]: define a new class InsetTabularMailer and use
1930 it to communicate with the frontend dialogs.
1932 * mailinset.C (hideDialog): only hide the dialog if it is showing the
1933 contents of this inset!
1935 2003-03-07 Angus Leeming <leeming@lyx.org>
1937 * inseterror.C (localDispatch): new method; calls edit() on
1940 2003-03-07 Angus Leeming <leeming@lyx.org>
1942 * insetbibitem.C (localDispatch):
1943 * insetbibtex.C (localDispatch):
1944 * insetlabel.C (localDispatch):
1945 rewrite as a switch.
1947 2003-03-07 Angus Leeming <leeming@lyx.org>
1949 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
1950 it to communicate with the frontend dialogs.
1952 2003-03-07 Angus Leeming <leeming@lyx.org>
1954 * insetexternal.C: remove operator== and operator!= for
1955 InsetExternal::Params. They were used only by the old controller
1958 2003-03-07 Angus Leeming <leeming@lyx.org>
1960 * insetcommand.C (localDispatch):
1961 * insetexternal.C (localDispatch):
1962 * insetfloat.C (localDispatch):
1963 * insetinclude.C (localDispatch):
1964 * insetminipage.C (localDispatch):
1965 * insetwrap.C (localDispatch):
1966 add LFUN_INSET_DIALOG_UPDATE to the switch.
1968 2003-03-07 Angus Leeming <leeming@lyx.org>
1970 * insetcommand.C (string2params):
1971 * insetexternal.C (string2params):
1972 * insetfloat.C (string2params):
1973 * insetinclude.C (string2params):
1974 * insetwrap.C (string2params): use LyXLeX more.
1977 * insetexternal.[Ch]:
1979 * insetinclude.[Ch]:
1980 * insetwrap.[Ch]: change Mailer::name_ to be static.
1982 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
1983 it to communicate with the frontend dialogs.
1985 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1988 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
1990 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1992 * insettext.C (updateLocal): un-const function
1993 (updateLocal): adjust
1994 (collapseParagraphs): un-const function
1995 (collapseParagraphs): adjust
1997 2003-03-05 Angus Leeming <leeming@lyx.org>
1999 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
2000 it to communicate with the frontend dialogs.
2002 2003-03-05 Angus Leeming <leeming@lyx.org>
2004 * insetcollapsable.C (draw): cache the BufferView.
2006 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
2007 it to communicate with the frontend dialogs.
2009 2003-03-05 Angus Leeming <leeming@lyx.org>
2011 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
2014 2003-03-05 Angus Leeming <leeming@lyx.org>
2016 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
2018 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
2019 it to communicate with the frontend dialogs.
2021 2003-03-05 Angus Leeming <leeming@lyx.org>
2023 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
2024 it to communicate with the frontend dialogs.
2026 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2028 * insettext.C (collapseParagraphs): adjust
2029 (appendParagraphs): make it take a Buffer* instead of a
2030 BufferParams& as arg.
2031 (appendParagraphs): adjust
2033 2003-03-04 Angus Leeming <leeming@lyx.org>
2035 * insetbibitem.C (localDispatch):
2036 * insetbibtex.C (localDispatch):
2037 * insetcommand.C (localDispatch):
2038 * insetert.C (localDispatch):
2039 * insetlabel.C (localDispatch):
2040 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
2042 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2044 * insettext.C (latex): adjust for ParagraphList::iterator
2046 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2048 * insetbutton.C (view): adjust for boost 1.30.0
2049 * insetcollapsable.C (view): ditto
2050 * insetgraphics.C (statusChanged): ditto
2052 * insettext.h: move paragraphs to be public.
2054 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2056 * insetnote.[Ch] (InsetNote): remove unused constructor
2058 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2060 * insetgraphics.C: added include "format.h"
2062 2003-02-27 Angus Leeming <leeming@lyx.org>
2064 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
2067 2003-02-27 Angus Leeming <leeming@lyx.org>
2069 * insetbibitem.C (localDispatch):
2070 * insetbibtex.C (localDispatch):
2073 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2075 2003-02-26 Angus Leeming <leeming@lyx.org>
2077 * insetbibitem.[Ch] (localDispatch):
2078 * insetbibtex.[Ch] (localDispatch):
2079 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
2081 * insetcommand.C (localDispatch):
2082 act only on receipt of LFUN_XYZ_APPLY.
2084 * insetert.C (localDispatch): reformat.
2085 add LFUN_XYZ_APPLY to the switch.
2087 2003-02-26 John Levon <levon@movementarian.org>
2089 * insettext.C: use RowPainter
2091 * inset.h: make helpers take const *
2093 2003-02-26 Angus Leeming <leeming@lyx.org>
2095 * insetcommand.[Ch] (localDispatch): new method.
2097 2003-02-26 Angus Leeming <leeming@lyx.org>
2099 * insetinclude.C (draw): cache the BufferView* using cache not
2100 PreviewImpl::setView
2102 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
2104 * insetgraphics.C (draw)
2105 * insetinclude.C (draw): Eliminate also the other argument (owner
2106 inset inset) in the call to PreviewImage::image
2108 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
2110 * insetgraphics.C (draw)
2111 * insetinclude.C (draw): Eliminate Buferview argument in call to
2114 2003-02-25 John Levon <levon@movementarian.org>
2116 * insetgraphicsParams.h:
2117 * insetgraphics.C: don't start a load process if
2118 the inset is set to NoDisplay (bug #920)
2120 2003-02-22 John Levon <levon@movementarian.org>
2123 * insetwrap.C: TocItem changed API (bug 913)
2125 2003-02-21 Angus Leeming <leeming@lyx.org>
2127 * insetcollapsable.[Ch] (cache, edit):
2128 * insetbutton.[Ch] (cache, edit): new methods to cache the
2129 BufferView in the draw method.
2131 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
2132 simplify comunication between InsetCommand-derived classes and
2135 * insetbibitem.[Ch]:
2139 * insetfloatlist.[Ch]:
2143 * inseturl.[Ch]: small changes to reflect the new interface to the
2146 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
2147 other, similar classes.
2149 * Makefile.am: add new files.
2151 2003-02-21 Angus Leeming <leeming@lyx.org>
2153 * updatableinset.h (setView, view): remove.
2154 * inset.h (view, cache): to be replaced by these.
2156 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
2159 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
2162 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
2164 2003-02-21 Allan Rae <rae@lyx.org>
2166 * insetinclude.C (loadIfNeeded): ensure loading also works when
2167 child document is under version control.
2169 2003-02-17 André Pönitz <poenitz@gmx.net>
2171 * insetbib.[Ch]: Adjust access to bibkeys
2173 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2175 * insetquotes.C (dispString): remove use of acute accent for "'"
2178 2003-02-14 John Levon <levon@movementarian.org>
2180 * insettabular.C: changed method names in tabular.C
2182 2003-02-14 John Levon <levon@movementarian.org>
2186 * insetcollapsable.h:
2187 * insetcollapsable.C:
2191 * insettext.C: remove unused getParFromID()
2193 2003-02-13 John Levon <levon@movementarian.org>
2196 * insettext.C: remove unused beginningofMainBody()
2198 2003-02-08 John Levon <levon@movementarian.org>
2202 * insetcollapsable.h:
2203 * insetcollapsable.C:
2208 add nextChange(). Make allowSpellcheck() const. Add markErased().
2210 * insetert.C: ignore deleted text
2212 * insettabular.C: make sure to keep change tracking working
2215 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2220 * insettext.C: Use error messages with identical spelling and punctuation
2222 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
2224 * insetgraphics.C (draw, width): Fix spacing around graphics inset
2226 2002-12-17 Juergen Vigna <jug@lyx.org>
2228 * insettext.C (localDispatch): hopefully fixed cursor up down
2229 movement on leaving other insets.
2231 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2233 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
2236 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2238 * insetgraphics.C (prepareFile): do not remove the extension of
2239 the file name if it is not the default extension for the given
2240 format (that is, in latex output, remove extension from foo.eps,
2241 but not from foo.epsi)
2243 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2245 * insettext.C (lfunMouseRelease): hackish solution to the "double
2248 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2250 * insetfloat.C (addToToc): use the floats name not its type
2251 * insetwrap.C (addToToc): ditto
2253 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2255 * insetnote.C (init): make label font smaller
2257 2002-12-04 John Levon <levon@movementarian.org>
2259 * insetinclude.C: ressurect setting of command name
2261 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2263 * insetquotes.C (dispString): disambiguate insert call
2265 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2267 * several files: ws changes
2269 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2271 * insetquotes.C (dispString): use string::insert for prepending a
2274 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2276 * insetparent.C (getScreenLabel): use boost::format
2278 * insetgraphics.C (prepareFile): use boost::format
2281 * insetfloatlist.C (latex): use boost::format
2283 * insetcaption.C (draw): use boost::format
2285 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2287 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
2290 2002-11-20 Juergen Vigna <jug@sad.it>
2292 * insettabular.C (resetPos): temporary fix for endless loop in
2293 this function on a redraw.
2295 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2297 * insettabular.C (copySelection): STRCONV
2299 * insetinclude.C (uniqueID): STRCONV
2300 (latexString): ditto
2302 * insetgraphics.C: put VersionNumber inside anon namespace
2303 (createLatexOptions): STRCONV
2305 * insetcommandparams.C: include config.h
2307 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
2309 * insetgraphicsParams.C (Write): use lyx::float_equal.
2310 Write height data correctly.
2311 (Read): zero scale when reading height data.
2313 2002-10-30 John Levon <levon@movementarian.org>
2315 * insetfloat.C (addToTOC): recursively traverse all
2316 contents looking for captions (fix #568)
2318 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2320 * insetexternal.C (doSubstitution): do not try to replace
2321 environment variables, this is done when executing the command
2323 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2325 * insetexternal.C (doSubstitution): change order of substitution
2326 to work around ReplaceEnvironmentPath brokenness
2328 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
2330 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
2332 * insetgraphicsParams.C (init, Write): associated changes
2333 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
2334 InsetGraphicsParams::scale.
2336 2002-10-21 John Levon <levon@movementarian.org>
2338 * inset.h: remove unused DISPATCH_RESULT
2340 * insettext.C: sgml open/close tag now in sgml namespace
2342 2002-10-21 Angus Leeming <leeming@lyx.org>
2344 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
2345 file path subdir/fig.eps when pasting it into a buffer in a different
2348 2002-10-16 John Levon <levon@movementarian.org>
2350 * insetspecialchar.C: remove \\protected_separator parsing
2352 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2354 * insetquote.C: fix LaTeX output of quotation marks.
2356 2002-10-14 Juergen Vigna <jug@sad.it>
2358 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
2359 Backspace functions which confused the Undo handling.
2361 2002-10-09 Angus Leeming <leeming@lyx.org>
2363 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
2364 BufferView::dispatch that turns off this optimisation when a new inset
2367 * insetcite.C (getNatbibLabel): correct logic of when and when not to
2368 reload the BibTeX keys.
2370 2002-10-11 André Pönitz <poenitz@gmx.net>
2372 * insettext.h: handle LFUN_PRIOR/NEXT
2374 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2376 * insetfloat.C: fix bug with float settings
2377 (document default != float default).
2379 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2381 * insetwrap.C (addToToc): New method.
2382 (InsetWrap): Set layout to caption.
2384 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2386 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
2388 2002-09-16 John Levon <levon@movementarian.org>
2390 * insettabular.h: hasSelection() needs to be public
2392 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2394 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2396 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2398 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2400 2002-09-11 André Pönitz <poenitz@gmx.net>
2402 * insettabular.C: implement LFUN_WORDSEL
2404 2002-09-10 John Levon <levon@movementarian.org>
2406 * insetinclude.h: remove unused param
2408 2002-09-09 John Levon <levon@movementarian.org>
2411 * insetinclude.C: remove noload, default to input
2413 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
2415 * insetgraphics.C: disfuscated use of ']' in built output string.
2417 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2419 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
2421 2002-08-29 Juergen Vigna <jug@sad.it>
2423 * insettabular.C (lfunMousePress): Pay attention where you set
2424 the x/y values as they depend on which inset in the tabular is
2425 actually locked. So you surely have to reset them if you (un)lock
2428 2002-08-29 André Pönitz <poenitz@gmx.net>
2430 * insetfootlike.h: rename include guard to ALL CAPS
2432 * insettext.C: swap object and first parameter for checkInsetHit calls
2433 as this functions has moved from BufferView to LyXText
2436 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2438 * insetgraphicsParams.C: remove local displayTranslator and use
2439 the one from graphics/GraphicsTypes.h.
2441 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2443 * insetfloat.C (wide): add BufferParams parameter
2445 * insetfloatlist.C (read):
2448 * insetfloat.C (latex):
2450 * insetcaption.C (draw): use LyXTextClass::floats()
2452 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2454 * insetoptarg.h: add std:: qualifier.
2456 2002-08-26 Juergen Vigna <jug@sad.it>
2458 * insettext.C (localDispatch): ditto.
2460 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
2462 2002-08-25 John Levon <levon@movementarian.org>
2464 * inseturl.C: elide long URLs (bug 404)
2466 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2468 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
2469 remove "Format Version <version_no.>" string from inset header
2472 * insetgraphicsParams.[Ch]: Implement new graphics dialog
2474 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
2475 a member of "grfx::Params" anymore.
2477 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
2479 2002-08-24 John Levon <levon@movementarian.org>
2482 * insetoptarg.C: ws, pedantry ...
2484 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2486 * insettext.C (collapseParagraphs): pasteParagraph now in global
2488 (appendParagraphs): ditto
2490 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
2492 * insetcite.C (latex): Remove spaces only after commmas.
2494 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2496 * insettext.C: remove NO_COMPABILITY stuff
2498 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2500 * insettext.C (edit): use ParagraphList iterators
2502 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
2503 (bibitemWidest): ditto
2505 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2507 * insettext.C: include <boost/bind.hpp>
2508 add using std::for_each
2509 (saveLyXTextState): use ParagraphsList::iterator
2510 (init): use for_each on paragraphlist iterators
2511 (InsetText): remove superflous setting cached_bview to 0
2512 (latex): reformat a bit
2513 (ascii): use paragraphlist iterators
2514 (validate): use for_each + boost bind
2515 (getLabelList): use paragraphlist iterators
2516 (deleteLyXText): use for_each + boost::bind
2517 (resizeLyXText): ditto
2518 (reinitLyXText): ditto
2519 (removeNewlines): use paragraphlist iterators
2520 (getParFromID): ditto
2521 (paragraph): use for_each + boost::bind
2522 (getInsetFromID): use paragraphlist iterators
2523 (getLabelList): typo fix
2525 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2527 * insettext.C (read): assign tmp to paragraphs after return from
2528 call to parseSingleLyXformat2Token
2531 2002-08-13 Angus Leeming <leeming@lyx.org>
2550 changes due to the changed LyXView interface that now returns references
2551 to member variables not pointers.
2553 2002-08-13 Angus Leeming <leeming@lyx.org>
2556 * insetcollapsable.h:
2559 * insettext.h: forward-declare WordLangTuple
2560 (selectNextWordToSpellcheck) constify return type.
2563 * insetcollapsable.C:
2566 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
2568 2002-08-12 Angus Leeming <leeming@lyx.org>
2570 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
2572 2002-08-12 Juergen Vigna <jug@sad.it>
2574 * insetcollapsable.C (edit): ignore if entered when pressing mouse
2577 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2579 * insetbib.C (bibitemMaxWidth): ParagraphList changes
2580 (bibitemWidest): ditto
2581 * insettext.[Ch]: ditto
2583 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2585 * insettext.C, insetert.C: use Paragraph::empty where appropriate
2587 2002-08-09 Angus Leeming <leeming@lyx.org>
2589 * insetinclude.C (latexString): remove fudge now that I've found out
2590 how to enable LaTeX to find the file using input@path.
2592 2002-08-09 John Levon <levon@movementarian.org>
2595 * insettext.C: remove unused xpos
2597 2002-08-07 Juergen Vigna <jug@lyx.org>
2599 * insettabular.C (localDispatch): make delete not put the stuff
2600 in the clipboard only do this on a cut operation.
2602 * insettext.C (localDispatch): make delete and backspace not put
2603 selected stuff to the clipboard.
2605 2002-08-07 André Pönitz <poenitz@gmx.net>
2608 * insetcollapsable.[Ch]:
2612 * insettabular.[Ch]:
2613 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
2615 2002-08-06 John Levon <levon@movementarian.org>
2619 * insetcollapsable.h:
2620 * insetcollapsable.C:
2626 * insettext.C: use WordLangTuple for spellcheck
2628 2002-08-06 Angus Leeming <leeming@lyx.org>
2630 * insetinclude.C: add a monitor to the previewed image, so that the
2631 image is refreshed if the \input-ed file changes.
2633 2002-08-04 John Levon <levon@movementarian.org>
2636 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
2638 2002-08-02 Angus Leeming <leeming@lyx.org>
2640 * insetcommandparams.[Ch] (preview): new methods returning and setting
2641 a new bool preview_ flag.
2642 (read): read this flag.
2643 (operator==): add flag to check.
2645 * insetinclude.C (write): output new preview() flag.
2646 (previewWanted): use this flag.
2648 2002-08-02 Angus Leeming <leeming@lyx.org>
2650 * insetcollapsable.[Ch] (addPreview):
2651 * insettabular.[Ch] (addPreview):
2652 * insettext.[Ch] (addPreview): new methods. Can now generate previews
2653 for insets in insets.
2655 2002-08-02 Angus Leeming <leeming@lyx.org>
2657 * insetcite.C: fix typo.
2659 * insetgraphics.C: kill current_view and instead cache the BufferView
2662 * insetinclude.C: kill current_view and pass the BufferView to the
2663 PreviewedInset so that it can cache it.
2665 2002-08-01 Angus Leeming <leeming@lyx.org>
2667 * inset.h (generatePreview): renamed as addPreview.
2668 (generatePreview): new method. Allows code to be moved out of
2669 math_nestinset.C and into the new PreviewedInset class.
2671 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
2672 add previews to the inset when \input-ing LaTeX.
2674 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2676 * several files: strip,frontStrip -> trim,ltrim,rtrim
2678 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2680 * insetbib.C (latex): modify because of strip changes
2682 * insetnote.C (InsetNote): ditto
2684 2002-07-26 Juergen Vigna <jug@sad.it>
2686 * insettabular.C (searchForward): check for lastcell if we
2687 had a locking inset.
2689 2002-07-25 Juergen Vigna <jug@sad.it>
2691 * insettabular.C (insetMotionNotify): Don't update the screen
2692 if we didn't do nothing.
2693 (searchForward): last cell was not checked.
2695 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2697 * insetfloat.C (read, write): Allow default placement
2698 (floatPlacement_ is empty).
2700 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2702 * insetminipage.h (noFontChange):
2703 * insettabular.h (noFontChange):
2704 * insetfootlike.h (noFontChange):
2705 * insetfloat.h (noFontChange): return true
2707 * inset.h (noFontChange): new method, defaulting to false
2709 2002-07-22 Herbert Voss <voss@lyx.org>
2711 * insetgraphicsParams.[Ch]: support size_type for old docs
2713 2002-07-22 Herbert Voss <voss@lyx.org>
2716 * insetgraphicsParams.[Ch]: change size_type to size_kind and
2719 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2721 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
2723 * insetlatexaccent.h: do not include "lyxlex.h"
2725 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
2728 * insetlatexaccent.C:
2732 * insetbib.C: #include "lyxlex.h"
2738 * insettext.C: use BufferParams::getLyXTextClass
2741 * insetfloat.C (addToToc): new method. Add to toclist the entries
2742 corresponding to Caption layouts
2743 (InsetFloat): when creating a new float, set the layout to "Caption"
2745 2002-07-21 Herbert Voss <voss@lyx.org>
2747 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
2748 image relevant part into graphics/GraphicsImgae.C
2750 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2752 * insettoc.C (ascii):
2753 * insetfloatlist.C (ascii): change to use the new Toc functions
2754 instead of stuff that was in Buffer
2756 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2758 * insettext.C (localDispatch): BufferView::Dispatch has been
2759 renamed to BufferView::dispatch
2761 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2763 * insetgraphicsParams.C (as_grfxParams): use the new
2764 keepLyXAspectRatio parameter. Note that this is an adaptation of a
2765 1.2.0 patch, and I do not really know how to adapt it to the new
2766 grfx::Cache world. Angus, please could you have a look?
2768 2002-05-01 Herbert Voss <voss@lyx.org>
2770 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
2772 2002-07-18 Angus Leeming <leeming@lyx.org>
2774 * insetgraphics.C: clean-up comments (from Herbert).
2775 add a new checksum variable to the cache. Use it in PrepareFile.
2776 (draw): start monitoring the file for a change.
2777 (prepareFile): re-arrange a little to avoid unnecessary steps.
2779 2002-07-17 Angus Leeming <leeming@lyx.org>
2781 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
2782 a method rather than to the signal directly.
2784 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2786 * insettext.C: use view_state_changed, switchKeyMap
2788 2002-07-17 Herbert Voss <voss@perce.de>
2790 * insetgraphics.C (prepareFile): keep the extension when
2791 exporting to nice file
2793 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2795 * insetcite.C (getNatbibLabel):
2796 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
2798 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2800 * insetgraphics.C: use ->isDrawable()
2802 2002-07-12 Angus Leeming <leeming@lyx.org>
2804 * insetgraphics.C: use the new smart loading capabilities of the image
2807 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2809 * insettabular.C (edit): Move into correct cell when entering a
2812 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
2815 2002-07-05 Angus Leeming <leeming@lyx.org>
2817 * inset.h (generatePreview): new virtual method.
2819 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2821 * insetcommandparams.[Ch] (operator=): move out of class
2822 (operator!): move out of class
2824 2002-07-04 André Pönitz <poenitz@gmx.net>
2826 * insetcommandparams.[Ch]: new files
2828 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
2830 2002-06-15 Herbert Voss <voss@perce.de>
2832 * insetgraphics.C (prepareFile): bugfix; return always
2833 files without extension
2835 2002-06-28 Angus Leeming <leeming@lyx.org>
2837 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
2838 rename asGParams -> as_grfxParams.
2840 * insetgraphics.C: reflect above change.
2842 2002-06-26 Angus Leeming <leeming@lyx.org>
2844 * insetgraphics.h: use boost::scoped_ptr in preference to
2847 2002-06-26 Angus Leeming <leeming@lyx.org>
2849 * insetgraphics.C: moved the image loading stuff into a new class
2850 grfx::Loader. Simplifies this file enormously.
2852 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
2854 * insetgraphicsParams.C: changes aassociated with moving
2855 grfx::DisplayType out of grfx::GParams.
2857 2002-06-26 André Pönitz <poenitz@gmx.net>
2859 * insetgraphics.C: use os::external_path where necesaary according to a
2860 patch from Claus Hentschel)
2862 2002-06-25 Angus Leeming <leeming@lyx.org>
2864 * insetgraphics.[Ch]: The inset now assumes the responsibility for
2865 generating a pixmap once the graphics file is loaded into memory.
2866 The current_view ugliness that was in grfx::ModifiedImage has been
2867 moved here now that grfx::ModifiedImage is no more.
2869 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2871 * insettext.C: layout as layout
2873 2002-05-28 André Pönitz <poenitz@gmx.net>
2875 * insetfloatlist.h: remove source of compiler warning
2877 * insetref.C: tiny whitespace
2879 2002-06-15 Herbert Voss <voss@perce.de>
2881 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
2882 and take always convert when no userdefined converter was
2884 (latex) small changes in the lyxerr output
2886 2002-06-15 LyX Development team <lyx@rilke>
2888 * inset*.[Ch] (docbook): Added new argument to take the pernicious
2889 mixed content. Small white spaces clean.
2891 2002-06-14 Angus Leeming <leeming@lyx.org>
2893 * inseetexternal.C: remove the using std::difftime declaration.
2895 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
2897 * insetquotes.C: change lyxfont::draw to font_metrics::draw
2899 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
2901 * insetquotes.C (draw): fix drawing of double quotes
2903 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2905 * insettabular.C: s/scrollCB/scrollDocView/
2907 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2909 * insettext.C: change of topCursorVisible()
2912 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2915 * insettext.C: rename/change of LyXScreen
2917 2002-06-07 Angus Leeming <leeming@lyx.org>
2919 Fixes needed to compile with Compaq cxx 6.5.
2921 all c-library variables have been moved into namespace std.
2922 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2924 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2926 * insetinclude.C (uniqueID):
2927 * insetgraphics.C (uniqueID): renamed from unique_id, since this
2928 conflicted with some AIX headers.
2930 2002-05-31 Juergen Vigna <jug@sad.it>
2932 * insetert.C (get_new_label): add '...' for multi-paragraph ert
2936 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2938 * insetexternal.C (clone): fix () bug when using new
2939 (updateExternal): don't only look for difftime in global scope
2941 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2943 * insettabular.C: add const
2945 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2947 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
2948 file name, in case there are weird characters like ',' in there.
2951 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2953 * switch from SigC signals to boost::signals.
2955 2002-05-28 André Pönitz <poenitz@gmx.net>
2957 * insets/insetgraphicsParams.[Ch]:
2958 put in inset related stuff from src/graphic
2960 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2968 * insetcollapsable.C:
2969 * insetcollapsable.h:
2997 * inseturl.h: use mouse_state. Kill insetKeyPress
2999 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3004 * insetcollapsable.C:
3007 * insetlatexaccent.C:
3009 * insetspecialchar.C:
3011 * insettext.C: name change for font metrics
3013 2002-05-24 Juergen Vigna <jug@sad.it>
3015 * insetgraphics.h: include inset.h first (for LString.h)
3017 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3019 * insettext.C: screen moved
3021 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3039 * inseturl.C: LyXView moved into frontends/
3041 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3046 * insetcollapsable.C:
3050 * insetgraphicsParams.C:
3051 * insetlatexaccent.C:
3053 * insetspecialchar.C:
3055 * insettext.C: move Painter to frontends/
3057 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3059 * insettabular.h: use more specific smart_ptr header.
3060 * insettext.h: ditto
3062 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
3065 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3067 * insettext.C: clear selection on paste (bug 393)
3069 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3071 * insettext.C (latex): Honor the moving_arg argument.
3073 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3075 * insetfoot.C (latex): if a footnote is in a title layout, then it
3076 is a \thanks. And then, its contents is a moving argument.
3078 2002-05-14 Juergen Vigna <jug@sad.it>
3080 * insetcollapsable.C (InsetCollapsable): forgot to initialize
3083 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
3085 * Insetcite.C (getNatbibLabel): don't disable natbib label support
3086 when using options "Full author list" or "Upper case".
3088 2002-05-14 Herbert Voss <voss@perce.de>
3090 * insetgraphics.C (prepareFile): allow files with same name
3092 (readFigInset): set the flags from old figinset in the right
3094 (findTargetFormat): more comments
3096 2002-05-14 Juergen Vigna <jug@sad.it>
3098 * insettext.C (edit): tell checkAndActivateInset() that we don't
3099 have a button press.
3100 (checkAndActivateInset): if button < 0 we don't have a button press
3101 on the inset and os we won't call edit on it if it's not a Highly
3102 editable inset (then we have to enter it).
3104 2002-05-13 Juergen Vigna <jug@sad.it>
3106 * insetcollapsable.C (insetButtonRelease): returned wrong return
3109 2002-05-09 Juergen Vigna <jug@sad.it>
3111 * insetcollapsable.C (edit): first_after_edit should only be
3112 set to true if we enter this inset and it was collapsed so we
3113 open it up. This is needed to reclose it after a search/replace
3114 or spellcheck function opened it and was negative.
3116 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
3118 * insetfloat.C (latex): Return correct value.
3120 2002-05-04 Herbert Voss <voss@perce.de>
3122 * InsetgraphicsParams.C (read): fix bug with WH
3124 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3126 * insetfloat.C (latex): More sensible latex output
3127 (fix the problem with endfloat).
3129 2002-05-02 José Matos <jamatos@fep.up.pt>
3131 * insetgraphics.C (validate): acess params as everyone else.
3133 2002-05-03 Juergen Vigna <jug@sad.it>
3135 * insettabular.C (fitInsetCursor): recalculate the cursor position
3138 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
3140 * InsetgraphicsParams.[Ch]: whitespace.
3142 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3144 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
3145 float type do not exist.
3147 2002-04-28 Herbert Voss <voss@perce.de>
3149 * insetgraphics.C (latex): fix bug with missing file-extension.
3150 LaTeX still allows a missing "eps" or "ps".
3152 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3154 * insetfloat.C (c-tor, wide): translate the name of the float.
3156 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3158 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
3159 when using natbib and make it work efficiently. Must emphasise that the
3160 real work is Herbert's.
3162 2002-04-23 Herbert Voss <voss@perce.de>
3164 * insetgraphic.C (prepareFile): fix bug with overwriting and
3165 deleting an existing *.eps-file in the doc-dir
3167 2002-04-23 Juergen Vigna <jug@sad.it>
3169 * insettabular.C (drawCellSelection): fix off by 1 error.
3171 2002-04-22 Juergen Vigna <jug@sad.it>
3173 * insettabular.C (setFont): rewoke full selection if it was asked,
3174 after we changed all we had to change.
3176 * insettext.C (insetUnlock): code was uninitialized in some situations.
3178 2002-04-19 Herbert Voss <voss@perce.de>
3180 * insetgraphic.C (prepareFile): return filename without
3181 extension if we only export without compiling
3183 2002-04-19 Juergen Vigna <jug@sad.it>
3185 * insettext.C (draw): call a fullRebreak on the row where we had a
3186 change and reset the cursor and selection-cursors.
3188 * insettabular.C (insetUnlock):
3189 (insetButtonPress): call an update before setting the_locking_inset = 0
3190 as otherwise we don't repaint!
3191 (update): reset the cursor position when we changed dimensions as
3192 otherwise our cursor may be on the wrong spot.
3194 2002-04-18 Juergen Vigna <jug@sad.it>
3196 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
3197 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
3198 redraw otherwise we won't redraw.
3200 * insettext.C (draw): fixed the setting of LyXText::first_y it was
3201 not really right before, but I only discovered this with the last
3202 changes to Page up/down.
3204 2002-04-17 Juergen Vigna <jug@sad.it>
3206 * insettext.C (checkAndActivateInset): simplified as we now have the
3207 edit(bv, bool) call.
3209 * insettext.h: changed behind variables to front variables to be
3210 equal to the one in the edit call (as it is for that they are used).
3212 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3214 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
3215 not output anything at all!
3217 2002-04-16 Juergen Vigna <jug@sad.it>
3219 * insettabular.C (insetButtonPress):
3220 (insetUnlock): call a redraw on unlocking the cell inset.
3222 * insettext.C (insetButtonPress): same as below.
3223 (lockInset): new function to set initial values when inset should
3225 (insetButtonPress): use above function.
3226 (insetUnlock): don't force a repaint only set the updateStatus. The
3227 outside world should repaint if it thinks it should be done!
3229 * insettabular.C (insetButtonPress): init values if not set as locked
3230 as we are locked if someone presses on us and don't call the edit()
3231 call of the InsetText to lock it do it as BufferView does it!
3233 * inset.h (insetInInsetY): make func const and return an int.
3236 * insetcollapsable.C: adapt the above changed function.
3238 2002-04-15 Juergen Vigna <jug@sad.it>
3240 * insettext.C (getCursorPos): return relative position as to be able
3241 to give them directly to the edit() call.
3242 (edit): we have to set also x_fix as it is not set inside the
3243 setCursorFromCoordinates call!
3244 (insetMotionNotify): ditto.
3246 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3248 * insetbib.C (getKeys): strip leading '\t's from the line too.
3249 With thanks to Henry Pfister <hpfister@ucsd.edu>.
3251 2002-04-12 Juergen Vigna <jug@sad.it>
3253 * insettext.h: added cix() helper function and use it where appropriate
3255 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3257 * insetgraphics.C (prepareFile): fix bug when graphics is a
3260 2002-04-12 Juergen Vigna <jug@sad.it>
3262 * insettext.C (insertInset): remove unneeded code!
3263 (updateLocal): fitCursor() fixes.
3264 (collapseParagraphs): fix a possible problem when having a selection
3265 and collapsing the paragraphs.
3267 2002-04-08 Herbert Voss <voss@perce.de>
3269 * insetgraphic.C (write): write the rotating angle as
3270 a float as is. test only for != 0.0
3272 2002-04-11 Juergen Vigna <jug@sad.it>
3274 * insettext.C: new function ciy() and use it for setting inset_y.
3276 * insetert.C (draw): fix the x return for collapsed version.
3278 2002-04-07 Herbert Voss <voss@perce.de>
3280 * insetgraphic.C (readFigInset): fix bug with subcaption and
3283 2002-04-08 Herbert Voss <voss@lyx.org>
3285 * insetgraphicsparam.C: forgot special option and delete old
3288 2002-04-05 Juergen Vigna <jug@sad.it>
3290 * insettext.C (localDispatch): make a CURSOR update if we inserted
3293 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3295 * insetfloatlist.C (getScreenLabel):
3296 (latex): use Floating::listName
3297 (validate): new method
3299 2002-04-03 José Matos <jamatos@fep.up.pt>
3301 * insetlabel.C (docbook): the anchor is an empty element in docbook.
3303 * insetfoot.[Ch] (docbook): added forgotten method.
3305 2002-04-03 Juergen Vigna <jug@sad.it>
3307 * insettext.C (insetButtonPress): fix insetButtonPress events the same
3308 way as in Bufferview_pimpl.
3310 2002-04-03 Allan Rae <rae@lyx.org>
3312 * insetgraphics.C (latex): one % too many makes living on the bleeding
3313 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
3315 2002-03-28 Herbert Voss <voss@lyx.org>
3317 * insetgraphic.C (latex): simplify the code for the latex
3318 output when the file doesn't exist
3320 2002-03-29 Juergen Vigna <jug@sad.it>
3322 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
3325 * insettabular.C (edit): call fitCursor().
3327 * insettext.C (insetButtonPress): change behaviour of no_selection
3328 to the one in the BufferView selection_possible and fix the spurious
3329 selection bug with it.
3330 (localDispatch): revoke selection on BREAK... functions.
3332 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3334 * insetfloatlist.C (getScreenLabel): translate the GUI label.
3336 2002-03-28 Juergen Vigna <jug@sad.it>
3338 * insettabular.C (insetAllowed): return true as default value otherwise
3339 we're not able to insert insets inside paragraphs of an not locked
3342 2002-03-27 Herbert Voss <voss@lyx.org>
3344 * insetgraphicsparam.C: change c%, p% to col%, page%
3346 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3348 * insetspecialchar.C (isLineSeparator): disable the nice code to
3349 allow linebreaks after hyphenation and menu separators.
3351 2002-03-26 Herbert Voss <voss@lyx.org>
3353 * insetgraphics.C (figinsetRead): set the right lyxview
3355 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3357 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
3358 $\backslash$ and pass a "string const &" to the function.
3359 (prepareFile, latex): use Path rather than MakeAbsPath.
3361 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3363 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
3364 proper fix to the graphics cache.
3365 (latex): "really" nice output if the file is not found ;-)
3367 2002-03-26 Juergen Vigna <jug@sad.it>
3369 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
3370 (collapseParagraphs): fixed inserting of separator ' '
3372 * insettabular.C (insertAsciiString): only check for buffer lenght
3373 not if we have \t or \n inside the buffer as if we don't have we only
3374 have 1 cell and that's it!
3376 * insetert.C (close): don't collapse if inlined.
3378 2002-03-25 Herbert Voss <voss@lyx.org>
3380 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
3381 graphics file does not exist.
3383 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
3385 * insetgraphics.C (prepareFile): ensure that the file has an absolute
3386 path when preparing export.
3388 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
3389 no longer MakeRelPath.
3391 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3393 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
3394 Used to determine the absolute path to the graphics file in the
3395 graphics cache and only in the graphics cache.
3396 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
3397 make graphics file name absolute if it is stored as a relative path.
3399 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
3400 make graphics file name absolute if it is stored as a relative path.
3402 * insettext.C (edit): emit an updateParagraph signal on entering a text
3403 inset. Needs to be emitted when leaving the inset also.
3405 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3407 * all files: ws cleanup
3409 * Makefile.am: remove ld -r stuff
3411 2002-03-21 Juergen Vigna <jug@sad.it>
3413 * insettext.C (appendParagraphs): new function added to append
3414 the paragraphs to this insets paragraphs.
3416 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3418 * Makefile.am: special rules if partial linking
3420 2002-03-19 Juergen Vigna <jug@sad.it>
3422 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
3424 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
3426 * insetgraphics.C: Clean up Baruch's comments a little.
3427 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
3429 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
3432 * insettheorem.C: wrap warnings
3434 * insetgraphics.C: improve messages, move cached_status_
3435 setting to safer place
3437 2002-03-18 Juergen Vigna <jug@sad.it>
3439 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
3441 (localDispatch): ditto
3443 * insettext.C (edit): removed unneeded showCursor calls.
3444 (localDispatch): ditto.
3446 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3448 * insetgraphics.h: remove display() method.
3450 2002-03-11 Juergen Vigna <jug@sad.it>
3452 * insetgraphics.C (draw): hack to fix the redrawing bug.
3453 (draw): seems this fixes #268 (force redraw of row if we changed).
3455 * insettext.C (updateInsetInInset): fixed for updates in insets inside
3456 this inset text (don't know why I missed this earlier).
3458 2002-03-08 Juergen Vigna <jug@sad.it>
3460 * insettabular.C (updateLocal): do a FULL update if we're not locked
3461 and only a CELL update is asked.
3463 * insettext.C (updateInsetInInset): update insets inside inset also
3464 if it isn't inside the_locking_inset.
3466 * insettabular.C (updateInsetInInset): ditto.
3468 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3470 * insetexternal.C (doSubstitution): check whether we are using a
3471 temp dir for defining $$FPath
3473 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3476 * insettext.C: remove #include "WorkArea.h".
3478 2002-03-06 Juergen Vigna <jug@sad.it>
3480 * insettext.C (draw): fixed frame redrawing.
3481 (clear): forgot to set the inset_owner of the paragraph.
3483 * insetert.C (status): pay attention the bv can be 0 here!
3484 (getMaxWidth): add the default leftMargin
3486 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3488 * insetert.C (getMaxWidth): make w unsigned int.
3490 2002-03-05 Juergen Vigna <jug@sad.it>
3492 * insetert.C (status): change behaviour of Inlined.
3493 (getMaxWidth): added for new inlined behaviour.
3495 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3497 * insetnote.h (linuxdoc, docbook): add empty methods.
3498 * insetinclude.C (validate): fix a case where buffer->niceFile was used
3499 before being initialized.
3501 2002-03-05 Juergen Vigna <jug@sad.it>
3503 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
3504 only that one in the inset. Should be enough.
3505 (updateLocal): set the selection cursor always if we don't have a
3506 selection to be sure it's set!
3508 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
3510 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3512 * insettext.C (clear): a gross hack to set layout on a newly
3515 2002-03-04 Juergen Vigna <jug@sad.it>
3517 * insettabular.C (localDispatch): inserted handling of
3518 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
3519 (insertAsciiString): new helper function.
3521 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3523 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
3526 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3528 * insettext.C (InsetText): initalize newly created par with
3529 default layout. add bufferparams parameter
3532 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
3533 * insetcollapsable.[Ch] (InsetCollapsable): ditto
3534 * insetert.[Ch] (InsetERT): ditto
3535 * insetfloat.[Ch] (InsetFloat): ditto
3536 * insetfoot.[Ch] (InsetFoot): ditto
3537 * insetfootlike.[Ch] (InsetFootLike): ditto
3538 * insetmarginal.[Ch] (InsetMarginal): ditto
3539 * insetminipage.[Ch] (InsetMinipage): ditto
3540 * insetnote.[Ch] (InsetNote): ditto
3541 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
3543 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3545 * insettext.C: layout as string
3547 * insetinclude.C: layout as string
3549 * insetert.C: layout as string
3551 * insetbib.C: layout as string
3553 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3556 * insettabular.C: remove #include "lyx_gui_misc.h".
3558 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3563 * inset.h: remove figinset, yahoo !
3565 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3567 * insetgraphics.C (c-tors): initialise parent classes explicitly in
3568 copy c-tor and initialise member variables in the correct order.
3570 2002-02-28 Juergen Vigna <jug@sad.it>
3572 * insettabular.C (localDispatch): clear selection on PgUp/Down.
3574 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3576 * inset.h: ... and add a better one here.
3578 * insetcommand.C (insetButtonRelease): remove that one which was a
3581 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3583 * insetcommand.C (insetButtonRelease): ... and move it here.
3585 * inseturl.h: remove insetButtonRelease from there...
3587 2002-02-26 Juergen Vigna <jug@sad.it>
3589 * inseturl.h: Added a insetButtonRelease call returning true as
3592 * insetlabel.C (edit): Fixed wrong update handling after change I
3593 leave in the wrong code for the one who wrote it to remove and have
3594 a look what he did wrong.
3596 * insettabular.C (localDispatch): force a SELECTION update if we
3597 had a selection and we passed the event down to the inset (fix #213)
3598 (localDispatch): handle font changing stuff when we have a cell
3599 selection so that the selection is not rewoked. I don't really like
3600 this fix, but it's the only way I see to do it right now.
3602 2002-02-22 Juergen Vigna <jug@sad.it>
3604 * insettext.C (insetUnlock): set the cursor to the second paragraph
3605 if available and if the first one is empty (fix #191).
3607 2002-02-20 Juergen Vigna <jug@sad.it>
3609 * insettext.C (getDrawFont): implemented this function to call the
3610 one of the owner if present as the owner normally knows what to do
3613 * insetert.C: implement getDrawFont() function and comment out all
3614 the crap for setting a special latex font inside this inset.
3615 (InsetERT): added a Lanugage parameter to this constructor.
3617 * inset.h: added function getDrawFont(LyXFont & font) to be able to
3618 change the font for being drawn on screen (used only in InsetERT for
3621 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
3622 and also above (was missing).
3623 (updateLocal): don't remove the cell selection if we have one this
3624 should be done where we really want to remove it.
3626 2002-02-20 José Matos <jamatos@fep.up.pt>
3628 * insetinclude.h: include_label made string const.
3630 * insetinclude.C (InsetInclude): moved include_label initialization.
3633 (validate): fix support for temporary directory, for docbook and
3636 * insetgraphics.h : new private member, graphic_label, that holds
3637 the entity name that defines the graphics location (SGML).
3639 * insetgraphics.C (unique_id): new function to give a unique label
3642 (validate): the file locatation is given by an entity reference.
3644 2002-02-18 Herbert Voss <voss@lyx.org>
3646 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
3648 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3650 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
3651 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3653 2002-02-18 José Matos <jamatos@fep.up.pt>
3655 * insetinclude.C (validate): some code only applies to latex buffers,
3656 it was made conditional.
3658 2002-02-12 Herbert Voss <voss@lyx.org>
3660 * insetgraphics.C: (prepareFile) do not check at this time
3661 if the file is present.
3663 2002-02-12 Herbert Voss <voss@lyx.org>
3665 * insetgraphics.C: latex(), return the correct newlines
3667 2002-02-13 José Matos <jamatos@fep.up.pt>
3669 * inseturl.C (docbook): escape & in url.
3671 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3673 * insetspecialchar.C (isLineSeparator): line breaking is allowed
3674 after HYPHENATION and MENU_SEPARATOR
3676 * inset.h (isLineSeparator): new method, returns false by default.
3678 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3680 * insetert.C (status): do not update the text inset, but the ERT
3683 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
3685 * insetnote.C: use notebg for background
3687 2002-02-08 Herbert Voss <voss@lyx.org>
3690 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
3691 prevent LyX from unzipping when this should be handled
3692 by latex vis the graphic.cfg.
3695 2002-02-08 Herbert Voss <voss@lyx.org>
3697 * insetgraphic.C: prepareFile(): fix bug when file doesn't
3698 exists, than return filename with extension
3700 2002-02-06 Herbert Voss <voss@lyx.org>
3702 * insetgraphic.C: prepareFile(): don't convert the file, when
3703 it's not viewed in LyX. Saves a lot of time when opening a
3706 2002-02-05 Herbert Voss <voss@lyx.org>
3709 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
3710 and adding a rotate bool similiar to subcaption
3712 2002-02-04 Herbert Voss <voss@lyx.org>
3715 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
3716 similiar view to the LaTeX one. Get zipped files work.
3718 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
3720 * insetgraphicsParams.C (init): set display to DEFAULT.
3721 No longer #include "lyxrc.h".
3723 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
3725 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
3726 for now (so that the code compiles).
3728 2002-02-02 Herbert Voss <voss@lyx.org>
3730 * insetgraphic.C: delete inVariant() and some minor changes
3731 * insetgraphicsParams.[C]:
3733 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
3735 * insetgraphics.C (updateInset): if params.display == DEFAULT,
3736 interogate lyxrc.display_graphics before diaplaying the graphic.
3738 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
3739 InsetGraphicsParams::DisplayType.
3741 2002-01-31 Herbert Voss <voss@lyx.org>
3743 * insetgraphic.C: (readfigInset) set display to pref-default
3745 2002-01-30 Herbert Voss <voss@lyx.org>
3747 * insetgraphic.C: get the filetyp from it's contents
3748 * insetgraphicparams.C: add token scale and lyxrc.display when
3749 creating a new inset
3751 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
3753 * figinset.C: added using std::ios directive.
3755 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3757 * figinset.C (runqueue): open translation file in binary mode (for
3760 2002-01-27 Herbert Voss <voss@lyx.org>
3762 * insetgraphic.[Ch]: mostly newritten to support graphicx with
3763 all options and to be sure that the old figinsets are correct
3765 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
3766 structure and to support all lengths as LyXLength. The Parameter
3767 structure changed again, but reading of "old" 1.2 graphic insets
3770 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
3772 * insetert.h (forceDefaultParagraphs): Added
3774 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3776 * insettabular.C (getMaxWidth):
3777 (forceDefaultParagraphs): use Tabular::GetCellFromInset
3779 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3781 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
3782 of LyXLength::inPixels
3784 * inset.C (latexTextWidth):
3785 * insetminipage.C (latexTextWidth): new method, which implements
3786 the equivalent of the LaTeX macro \textwidth
3788 * insetminipage.C (getMaxWidth): use latexTextWidth
3790 2002-01-18 Juergen Vigna <jug@sad.it>
3792 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
3794 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3796 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
3798 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
3801 2002-01-17 Juergen Vigna <jug@sad.it>
3803 * insettabular.C (lockInsetInInset): same change as in insettext.
3805 * insettext.C (draw): width() function was called without setting
3806 the right top_x which could lead to wrong insetWidth setting!
3807 (lockInsetInInset): call edit instead of calling lockInset if we
3808 have to lock an inset inside!
3809 (edit): we have to also tell the inset that we have to redraw the
3810 frame on an edit call if this inset draws a frame only if locked.
3812 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3814 * insetbib.C (getFiles): uncomment Path variable.
3816 2002-01-16 Juergen Vigna <jug@sad.it>
3818 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
3821 2002-01-16 Allan Rae <rae@lyx.org>
3823 * insetinclude.C (docbook): someone forgot a ";"
3825 2002-01-16 José Matos <jamatos@fep.up.pt>
3827 * figinset.C (docbook): removed a old place holder "@".
3828 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
3829 * insetinclude.C (linuxdoc): if include is verbatim, then export the
3830 ascii text version, clearly guarded inside a CDATA section.
3831 (docbook): in docbook 4, inlinegraphics is empty.
3832 * insettabular.C (linuxdoc): export the ascii version of the table
3833 inside a CDATA section.
3835 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3837 * insetparent.C (InsetParent):
3838 * insetgraphicsParams.C (Write):
3840 * insetgraphics.C (prepareFile):
3843 * insetexternal.C (executeCommand):
3844 (doSubstitution): use Buffer::filePath
3846 * insetbib.C (getFiles): add a #warning for Angus
3848 * insetgraphics.C: Add a remark about how filenames should be
3849 considered to be relative to buffer (but absolute is still allowed)
3850 (draw): do not try to get status if lyxrc.use_gui is false
3852 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3855 * insetcollapsable.[Ch]:
3856 * insettabular.[Ch] (searchForward, searchBackward): change the
3857 bool const & params to bool.
3859 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
3860 to avoid the name clash with InsetCollapsable's methods of the same
3861 names but different functionality.
3863 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3865 * insettext.C (ascii): use lyx::count rather than countChar.
3867 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
3869 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
3871 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3873 * insetgraphics.C (updateInset): do not try to render image if
3874 lyxrc.use_gui is false (bug #104)
3876 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
3877 if file does not exist
3879 * figinset.C (browseFile): add shortcuts to directory buttons
3881 * insettext.C (updateLocal): update menubar and toolbar here too.
3883 2002-01-13 Allan Rae <rae@lyx.org>
3885 * insettabular.C (InsetTabular): Both constructors now initialise
3886 all class variables.
3888 2002-01-11 Juergen Vigna <jug@sad.it>
3890 * insettext.C (insetButtonPress): set the_locking_inset to 0.
3892 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3894 * insettabular.C (getStatus): add forgotten brace around multiline
3897 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3899 * insetfloat.C (validate): require "float" instead of "floats".
3901 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
3903 * insettabular.C (getStatus): use FuncStatus
3905 2002-01-08 Juergen Vigna <jug@sad.it>
3907 * insettabular.C (insetButtonRelease): now this should work too
3910 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
3911 if the width is a percentage.
3913 * inset.h: added isChar() function and implemented this for
3914 insetspecialchar insetquotes and insetlatexaccent.
3915 added forceDefaultParagraphs() and implemented it for insettabular.
3917 2002-01-07 Juergen Vigna <jug@sad.it>
3919 * insettext.C (getLyXText): Fixed this function. An insert into the
3920 map is only done if we REALLY have a new BufferView.
3922 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
3924 * insettext.C: fix bug illustrated by attachment #37 of bug #59
3926 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
3928 * insetinclude.C: fix use of FileInfo
3930 2002-01-07 Juergen Vigna <jug@sad.it>
3932 * insettabular.C (draw): fixed clearing of cell around inset.
3934 2002-01-05 Juergen Vigna <jug@sad.it>
3936 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
3937 variables are updated.
3939 * insettabular.C (resetPos): set always the inset_y as it may be
3940 needed in another function.
3941 (searchBackward): don't draw while searching.
3943 2002-01-04 Juergen Vigna <jug@sad.it>
3945 * insettext.C (lockInsetInInset): forgot to set a cursor.
3947 2002-01-02 Juergen Vigna <jug@sad.it>
3949 * insettext.C (insertInset): make the correct undo informations on
3950 inserting new insets.
3952 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
3954 * insettabular.C: correct single-cell select vertically
3956 2001-12-27 Juergen Vigna <jug@sad.it>
3958 * insettabular.C (ascii): export as tab-separated-values if the
3959 function was not called from export (f.ex.: clipboard).
3961 * insetcollapsable.h: added default support for ascii, linuxdoc and
3962 docbook export (the insettext is exported by default!)
3964 * insettabular.C (copySelection): suff the clipboard with the tabular
3965 data in a tab separated format, seems more naturals then with all the
3968 2001-12-24 Juergen Vigna <jug@sad.it>
3970 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
3971 to check for REAL mouseMotion.
3973 2001-12-20 Juergen Vigna <jug@sad.it>
3975 * inset.C (cursor): return the owners cursor if available instead of
3976 always only the bv->text->cursor.
3978 * insettabular.C (checkLongtableSpecial): works now.
3980 2001-12-19 Juergen Vigna <jug@sad.it>
3982 * insettabular.C (tabularFeatures): fix the row setting of ltt as
3983 this has to be always row + 1 as 0 means not selected!
3984 (checkLongtableSpecial): added
3985 (tabularFeatures): better longtable options support
3987 * insettext.C (resizeLyXText): reinit the text always also on a
3990 2001-12-18 Juergen Vigna <jug@sad.it>
3992 * insettext.C (updateInsetInInset): look if we have to autocollapse
3993 paragraps and return if the update is requested for ourself.
3995 * insetert.C (status): update the insettext not myself as that is what
3998 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
3999 function only return if the update was requested with myself.
4001 * insettext.C (insetButtonPress): fixed stupid bug.
4002 (various functions): pay attention that lt is cleared BEFORE calling
4003 updateLocal() and try to use it in the right manner (don't use it
4004 if it's not really neccessary!)
4005 (collapseParagraphs): insert a blank between collapsing paragraphs
4006 if neccessary (not already there!).
4008 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4010 * insettabular.C: move includes around a bit, add a couple of
4013 * insettext.[Ch]: move includes around a bit, other ws changes and
4016 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4018 * insettext.C (insetButtonRelease): fix compile problem
4020 2001-12-17 Juergen Vigna <jug@sad.it>
4022 * insettext.C (insetButtonPress): set the selection cursor!
4023 (insetButtonPress): clear the selection (and set with that the
4024 selection.cursor) if we only hit an inset!
4026 * insetert.C (read): removed piece of compatibility code only needed
4029 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
4032 * insetcollapsable.C (insetButtonRelease): changed so that it can
4033 open eventual existing popup dialogs on mousebutton==3.
4035 * insetfloat.C (insetButtonRelease): removed not needed anymore!
4037 * insetminipage.C (insetButtonRelease): removed not needed anymore!
4039 * inset.C (insetButtonRelease): return a bool for telling the outer
4040 world that we opened a dialog.
4042 2001-12-07 Juergen Vigna <jug@sad.it>
4044 * insettext.C (paragraph): remove the deleteing of paragraphs as
4045 it was a WRONG move!
4047 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4050 * insettabular.C: use new setSelection(). Allow
4051 selection of single cells.
4053 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4055 * insetquotes.C (latex): fix to use the local language setting at
4056 the point where the inset is inserted (different macros for
4057 different french packages)
4059 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4061 * inset.h: add par_owner_ member variable and parOwner
4064 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4066 * insettabular.C (everywhere): adapt because widths are now real
4067 widths and not strings
4069 * insettext.C (draw): re-introduce the calls to width(), ascent()
4070 and descent() to initialize the caching variables.
4072 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4074 * insettext.C (draw):
4075 (drawFrame): use insetWidth instead of last_width
4077 * insettext.h: remove variable last_width (insetWidth is exactly
4078 the same) and last_height (computed but never used!)
4080 2001-12-10 Allan Rae <rae@lyx.org>
4082 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
4084 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4086 * insettext.C (insetAllowed): add comment
4088 2001-12-05 Juergen Vigna <jug@sad.it>
4090 * insettext.C (insetAllowed): fixed for the case that we directly
4091 ask the insettext from its LyXText.
4092 (paragraph): fixed the crash when assigning the par->next() from
4093 the EmptyParagraphMechanism!
4095 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4099 * insettext.C: change "while(" to "while ("
4101 2001-12-04 Juergen Vigna <jug@sad.it>
4103 * insetert.C (edit): handle Inlined status.
4105 * insettext.C (insertInset): trying John's fix for the trailing cursor
4107 * insetert.C (insetButtonPress): added to handle inlined status
4108 (insetMotionNotify): ditto.
4110 * insettext.C (clearInset): changed Painter & in BufferView * param,
4111 to be able to call ascent,descent methods.
4113 2001-12-03 Juergen Vigna <jug@sad.it>
4115 * insettext.C (updateInsetInInset): use lt variable to forbid
4116 changes of LyXText in an update call.
4117 (updateInsetInInset): fixed updating of non locked insets!
4119 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4121 * insettabular.C: capture some more functions to prevent
4122 selection drawing problems. Bug #451274
4124 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4127 * insetgraphicsParams.C: fix inverted sense of float_equal
4129 2001-11-30 Juergen Vigna <jug@sad.it>
4131 * insettabular.C (InsetTabular): use the save_id flag to create also
4132 the tabular with the same id's.
4134 * insettext.C (setParagraphData): added a same_id function for undo
4135 to set the same paragraph id's as of the paragraph we are setting.
4137 2001-11-30 José Matos <jamatos@fep.up.pt>
4140 * insettoc.[Ch]: DocBook -> docbook.
4142 2001-11-29 André Pönitz <poenitz@gmx.net>
4145 * insettext.C: further reduction of header dependencies by using
4146 lyx::layout_type and lyx::textclass_type from support/types.h
4148 2001-11-29 Juergen Vigna <jug@sad.it>
4150 * insettext.C: inserted a reinitLyXText function everywhere I delete
4151 the paragraphs! This should fixe the crashes we had.
4152 Also use the new function firstRow() instead of getRowNearY(dummy_y)
4153 (paragraph): set the InsetOwner() of the new paragraphs!
4155 2001-11-28 André Pönitz <poenitz@gmx.net>
4157 * insetnote.C: add pos initialization that I removed without
4160 2001-11-28 Juergen Vigna <jug@sad.it>
4162 * insettabular.C (resetPos): hack to not crash with infinite paints.
4164 * insettabular.h: insert missing function allowSpellcheck()!
4166 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
4168 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4171 * insetfloatlist.C: derive from InsetCommand so gui can use it
4174 2001-11-26 André Pönitz <poenitz@gmx.net>
4178 * insetnote.C: reduce header dependencies, introduce type for
4181 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4183 * various: update for Alert.h
4185 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4187 * inset.h: fix comment
4189 * insettext.C: use par->isInset()
4191 2001-11-22 Allan Rae <rae@lyx.org>
4193 * insetcollapsable.h:
4194 * inset.h: Changes to checkInsertChar() behaviour.
4195 Now return value indicates whether chars can be inserted.
4197 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
4199 * various: updated to use the new LaTeXFeatures
4201 2001-11-14 José Matos <jamatos@fep.up.pt>
4203 * insetspecialchar.C (linuxdoc):
4204 (docbook): don't give a name to a unused variable.
4206 * insettext.C (docbook): removed unused variable.
4208 2001-11-13 Herbert Voss <voss@perce.de>
4210 * insetgraphic.C: fix scale bug
4212 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4214 * inset.h (isSpace):
4215 (isLetter): new virtual methods.
4217 * insetspecialchar.C (isSpace):
4218 (isLetter): implement here.
4220 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4222 * inset.h: new inline helpers
4224 * insettext.C: use new helpers
4226 2001-11-07 José Matos <jamatos@fep.up.pt>
4228 * insettext.C (docbook): full support for paragraphs inside insettext.
4230 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
4232 * insetindex.C: added header file for std::ostream.
4234 2001-11-03 José Matos <jamatos@fep.up.pt>
4236 * insetindex.C: added using std::ostream that I forgot yesterday.
4238 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
4240 * insetindex.h (docbook):
4241 * insetindex.C (docbook): added support for docbook export.
4243 2001-11-02 José Matos <jamatos@fep.up.pt>
4245 * insetcaption.C(docbook): added support for docbook export.
4247 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
4249 * insetexternal.C (updateExternal): Do not run update command if
4250 result file exists and is up to date.
4252 * ExternalTemplate.C (readFormat): Support the updateresult token.
4254 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
4256 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
4257 external_templates) to use the buffer->fileName() but only if
4258 previewing. Generating a TeX file should make FPath return
4261 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4264 * insetert.C: fix some problems
4266 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
4268 * insetexternal.C (doSubstitution): Added $$FPath token
4269 to list of usable substitutions in external inset templates.
4271 2001-10-24 Juergen Vigna <jug@sad.it>
4273 * insettabular.C: use new ltType struct for setting longtable
4274 header and footers also new UNSET enums.
4276 2001-10-24 José Matos <jamatos@fep.up.pt>
4278 * insettabular.C (linuxdoc): Now exports the ascii's table version.
4279 (docbook): If the table is not inside a float then wrap it inside
4280 <informaltable>...</informaltable>.
4282 2001-10-23 José Matos <jamatos@fep.up.pt>
4284 * insetref.C (docbook): removed / terminator to conform SGML.
4286 * insetspecialchar.C (linuxdoc):
4287 (docbook): Added support for special chars, more than ascii export.
4289 2001-10-22 Juergen Vigna <jug@sad.it>
4291 * insettext.C (checkInsertChar): added for REALLY checking the
4292 font of the inserted char in the right inset!
4294 2001-10-19 Juergen Vigna <jug@sad.it>
4296 * inset.h: added method allowSpellcheck() so that insets who do
4297 not have anything to spellcheck can tell and so they are over-jumped.
4298 Implemented for InsetText and co.
4300 2001-10-18 Juergen Vigna <jug@sad.it>
4302 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
4304 2001-10-15 José Matos <jamatos@fep.up.pt>
4306 * insetert.C: allow export for docbook and linuxdoc
4308 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4310 * insetquotes.C (dispString): handles latin3 and latin4 quotes
4312 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4314 * insetquotes.C (dispString): fix handling of latin9 quotes
4316 2001-10-03 Juergen Vigna <jug@sad.it>
4320 * insetcollapsable.C: change updateInset calls to not tell BV that
4321 we have changed status.
4323 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4325 * insettabular.C (deletable): make const
4327 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
4329 * insetert.C (latex): Fix the returned value
4331 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
4333 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
4334 Returns string(), so nothing in an ERT inset is spellchecked.
4336 * insetgraphics.C (draw): print the filename if not displaying the
4338 (width): make sure that the width and draw methods are consistent.
4339 (updateInset): don't even load the image into cache if not displaying
4342 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
4344 * various files (selectNextWord): renamed as
4345 selectNextWordToSpellcheck.
4347 * insetgraphics.C (draw): remove the previous change. Right place
4348 is in imageLoaderXPM.C.
4349 (draw): don't display the image if params.display == NONE.
4351 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
4353 * figinset.C (runqueue):
4354 * insetgraphics.C (draw): set background colour of inset from
4355 background to the user-configurable graphicsbg.
4357 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4359 * insetquotes.C (InsetQuotes): when trying to decide the side of
4360 the quote, choose `left' only after a space or '('
4362 2001-09-04 José Matos <jamatos@fep.up.pt>
4367 * insetcollapsable.h
4385 * insetlatexaccent.C
4386 * insetlatexaccent.h
4391 * insetspecialchar.C
4392 * insetspecialchar.h
4396 * insettext.C (docbook): rename docBook method to docbook.
4398 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
4400 * inset.h (getFirstParagraph): New virtual method.
4402 2001-08-20 Herbert Voss <voss@perce.de>
4403 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
4404 in the the bibtex-database-gui for inserting a line
4407 If no style is given than there is no tex-output.
4409 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
4411 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
4415 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
4417 * insetert.C (latex): Fix output for multiple paragraphs.
4418 (write): New code for writing paragraph data.
4419 (read): Set font after reading the inset.
4420 (localDispatch): Call set_latex_font() for more cases.
4422 * insetnote.h: Add empty validate method.
4425 * insetnote.C (InsetNote): Set language to the language of the
4428 2001-08-16 Juergen Vigna <jug@sad.it>
4430 * insettext.C: implemented the new FINISHED states.
4432 * insettabular.C: ditto
4434 * inset.h: added more FINISHED states for cursor right,up,down
4436 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
4438 * insetfloatlist.C: use "FloatName List"
4440 2001-08-14 Juergen Vigna <jug@sad.it>
4442 * insetert.C (edit): forgot to set status_ in edit calls!
4444 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
4446 * insettext.C: Compilation fix
4448 2001-08-13 Juergen Vigna <jug@sad.it>
4450 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
4452 * insetcollapsable.C (edit): don't recollapse an already open inset.
4454 * insettext.C: fixed problem when reinitializing LyXText by not doing
4455 it while lt is in use and post this to the next possible time in
4457 (searchForward): fixed not unlocking of inset if nothing found.
4458 (edit): set cursor behind right (was set -1 pos).
4460 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
4462 * insettabular.C (tabularFeatures): fixed fix where deleting the
4463 last row didn't get the right actcell!
4465 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
4467 * insettext.C (localDispatch): Change language only when the inset
4470 2001-08-10 Juergen Vigna <jug@sad.it>
4472 * insettabular.C (selectNextWordInt): use the front using edit call.
4474 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
4475 the parameter overwrite class variable inset.
4477 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
4479 * insettext.C (saveLyXTextState): check for invalid cursor-par.
4480 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
4482 * insettabular.C (calculate_dimensions_of_cells): let's try to call
4483 update only for fixed with cells.
4484 (resetPos): try to fix the lockup on spellchecking or s&r.
4486 * insettext.C (update): comment this out as it seems first wrong
4487 and second not needed anymore!
4488 (some functions): call reinitLyXText() only in update() in all other
4489 positions set only need_update = INIT.
4491 2001-08-08 Juergen Vigna <jug@sad.it>
4493 * insettabular.C (setPos): fixed wrong actrow < rows() check.
4495 * insettext.C (insetUnlock): remove double-space on inset unlock.
4497 * insetcollapsable.C (draw): fix returned x when label > inset-width.
4499 * insettabular.C (update): fixed cursor positon after an insert.
4500 (insetAllowed): do not allow to insert insets when not inside the
4502 (draw): clear below an inset too as it could have changed height.
4504 * inset.C (getMaxWidth): fixed width for inset in inset.
4506 * insettext.C (update): small fix.
4508 * insettabular.C (tabularFeatures): added selection support to
4509 DELETE_ROW/DELETE_COLUMN.
4511 2001-08-07 Juergen Vigna <jug@sad.it>
4513 * inset.C (getMaxWidth): recoded and all it's implementations!
4515 * insettext.C (init,setParagraph+constructors): cleanups
4516 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
4517 are new and I want do a save/restore of the cursor position which is
4518 not possible anymore.
4520 * insetcollapsable.C (searchBackward): recollapse inset if not found.
4521 (searchBackward): ditto
4522 (selectNextWord): ditto
4524 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
4526 * insetlatexaccent.C (checkContents): Add some debug messages
4528 2001-08-07 Juergen Vigna <jug@sad.it>
4530 * insetert.C (read): don't use InsetCollapsable::read as we don't
4531 write the collapsed status anymore only the status.
4534 2001-08-06 Juergen Vigna <jug@sad.it>
4536 * insetert.C (set_latex_font): use LyXText's setFont directly.
4538 * insettext.C (drawFrame): fixed one time more the right position
4539 and size of the frame!
4541 * insetert.C (~InsetERT): hide the dialog.
4542 (showInsetDialog): added implementation
4545 (status): new function for the status of the ERT inset (3-state).
4546 (write): output also the status of the inset for readback!
4547 (read): readback the status if available otherwise use collapsed_.
4549 * insettext.C (edit): small fix of setting the position, which could
4552 * insetert.C (width): implement this function for inlined viewing.
4553 Added minimum width of 10 pixels!
4555 * insetminipage.C (InsetMinipage): just change the colors a bit so
4556 that border/background is a bit more visible. We will remove this
4559 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
4560 function for getting the important widths for drawing in various
4561 functions and in LyXText.
4562 (draw): fixed up a bit (frame drawing/clearing)
4564 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4566 * inset.C (convertFont): delete method. not used.
4568 2001-08-03 Juergen Vigna <jug@sad.it>
4570 * insettext.C (setFont): don't call for a draw update if we're just
4571 changing the cursor font!
4573 2001-08-02 Juergen Vigna <jug@sad.it>
4575 * insettext.C (draw): clear the background with the right color if
4576 needed. Update myself if x&max-width changed and return without doing
4577 anything. Let the update code handle the right stuff.
4579 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
4580 inside another inset.
4582 2001-08-01 Juergen Vigna <jug@sad.it>
4584 * insetcollapsable.C (update): added an in_update bool so we avoid
4587 * insettabular.C (update): added an in_update bool so we avoid
4590 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
4592 (update): added an in_update bool so we avoid reentering.
4594 * insettabular.C (localDispatch): clear col/row selection when doing
4595 something else inside an inset.
4597 * insettext.C (getLyXText): fixed bug when requesting a recursive
4600 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
4602 * insetcite.C (latex): Paranoia check. Make sure that there is no
4603 whitespace between the citation keys.
4605 2001-07-31 Juergen Vigna <jug@sad.it>
4607 * inset.h (nodraw): make the set function also const so that this
4608 can be called from inside other const functions.
4610 * insetcollapsable.h: removed inline variable and moved it over
4611 to the only user InsetERT.
4613 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
4614 inset opening immediately therein lying insets dialogs!
4616 * insetert.C (localDispatch): set the font also if we don't have any
4617 chars in this paragraph, otherwise if we delete all of em and start
4618 writing we have the wrong font.
4620 (draw): implemented for inline support
4621 (insetButtonRelease): ditto.
4623 2001-07-30 Juergen Vigna <jug@sad.it>
4625 * insettext.C (reinitLyXText): new function to reinit the insets
4626 text after lot's of paragraph changes. Use this instead of the
4627 cache.clear() which is VERY dangerous.
4629 * insetfloat.C (insetButtonRelease): we should only show the dialog
4630 if we press on the label otherwise we have problems to open mouse
4631 button 3 dialogs inside this float (f.ex. of a tabular!)
4633 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4635 * insetert.C: change back to "ERT"
4637 * insetfloat.C: handliign of RMB on label added.
4639 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4641 * insetgraphicsParams.C: #include LOstream.h here.
4643 * insetfoot.h: remove InsetFoot:: qualifier.
4645 2001-07-29 Baruch Even <baruch@lyx.org>
4647 * ChangeLog: Hiding time travel evidence.
4649 * insetgraphicsParams.h:
4650 * insetgraphicsParams.C:
4651 * insetgraphics.C: Added horizontal scale option, it actually scales both
4652 directions since it keeps image proportions.
4654 * insetgraphics.C: Fixed EPS detection to be non-hacky.
4656 2001-07-29 Baruch Even <baruch@lyx.org>
4658 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
4659 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
4661 HACKY! Will need to add an EPS detection routine like old InsetFig does!
4663 2001-07-29 Baruch Even <baruch@lyx.org>
4665 * insetgraphics.C: Added EPSI to be an alias of EPS.
4667 2001-07-29 Baruch Even <baruch@lyx.org>
4669 * insetgraphics.C: Change GRAPHICS to Graphics.
4670 Changed image conversion rules (documented at the beginning of file).
4672 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
4674 * insetert.C (get_new_label): int -> Paragraph::size_type to get
4677 * insetgraphics.C: added a using std::endl directive.
4679 * insetcommand.h (getScreenLabel): removed pure virtual function,
4680 as it duplicates that in InsetButton.
4682 * insetbib.[Ch] (getScreenLabel):
4683 * insetbutton.[Ch] (getScreenLabel):
4684 * insetcite.[Ch] (getScreenLabel):
4685 * insetert.[Ch] (getScreenLabel):
4686 * insetexternal.[Ch] (getScreenLabel):
4687 * insetfloatlist.[Ch] (getScreenLabel):
4688 * insetinclude.[Ch] (getScreenLabel):
4689 * insetindex.[Ch] (getScreenLabel):
4690 * insetlabel.h (getScreenLabel):
4691 * insetparent.[Ch] (getScreenLabel):
4692 * insetref.[Ch] (getScreenLabel):
4693 * insettoc.[Ch] (getScreenLabel):
4694 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
4696 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
4698 (validate): remove check on "cite" when using natbib.
4700 2001-07-26 Baruch Even <baruch@lyx.org>
4702 * insetgraphics.C (draw): changed casting to be in one place rather than
4703 all over the function.
4706 * insetgraphics.C (read): Added compatibility reads of InsetFig.
4708 * insetgraphicsParams.h:
4709 * insetgraphicsParams.C:
4710 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
4712 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4714 * insetfoot.C (validate): Added method to ensure that the
4715 right bit of LaTeX is emitted.
4717 * insetfoot.h: Added validate method to set the correct
4718 LaTeXFeatures bit for the special footnote code.
4720 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4722 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
4725 2001-07-27 Juergen Vigna <jug@sad.it>
4727 * inset.h: remove not used font variable in parameter.
4728 removed checkInsertChar in UpdatableInset as it was equal to
4729 the one in Inset and so not needed.
4731 * insetert.C (checkInsertChar): implementation of function
4734 * inset.h: added new function checkInsertChar.
4736 * various files: added c-tor and clone() function.
4738 * insetcollapsable.h: removed clone function here as this should
4739 be only realized in REAL insets and added it to all collapsable
4740 insets! (with the copy-constructor).
4742 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4744 * insetminipage.C (read): handle missing parameters more gracefully
4746 * insetcollapsable.C (read): handel missing collapsed more gracefully
4748 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4750 * insetfloat.C (read): handle missing parameters.
4752 * insettext.C (read): handle old latex end_inset
4754 * insetert.C (setButtonLabel): new method
4755 (init): use it, to set the dynamic label correctly
4758 * Makefile.am (EXTRA_DIST): add files that is not part or the
4761 * insetcollapsable.h: remove autocollapsable (no users), remove
4762 draw_label, change_label_with_text and companion code. Remove args
4764 * insetert.[Ch]: move here instead (only user)
4766 * inset.h: rename private variable name to name_, make
4767 selectNextWord return a const string. make getInsetName return a
4768 string const &. Remove bool from open, add close.
4770 * Makefile.am: don't compile insetlist, insetsection
4773 2001-07-24 Juergen Vigna <jug@sad.it>
4775 * insetert.C (InsetERT): put init after the paragraph initialization,
4776 as otherwise we don't set the draw_label right.
4778 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
4779 insets with the mouse without having strange selections.
4780 (edit): if the inset was collapsed and we open it here then put the
4781 cursor always at the beginning of the inset.
4782 (get_new_label): 15 instead of 10 max chars in the label.
4784 * insetert.C (localDispatch): added and handle various stuff we
4785 need to handle here (font setting on paragraph break, not permitted
4786 layout setting, etc.).
4788 * inset.h: added default copy-consturctor and implemented this in
4789 various insets with the change to use this in the clone function!
4791 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4793 * insetminipage.C (InsetMinipage): set background color to red :)
4795 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4797 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
4798 draw frame mode is LOCKED.
4800 * insetcollapsable.C (edit):
4801 (insetButtonRelease): set update status to full when
4804 * insettext.C (clearInset):
4805 * insettabular.C (draw):
4806 * insetlatexaccent.C (draw): honor background color.
4808 * inset.h: new member background_color_, initialized to
4811 * inset.C (backgroundColor): new method.
4812 (setBackgroundColor): new method.
4814 * insetert.C (init): new method, called by the ctors.
4815 (InsetERT): when inserting contents, make sure the font is
4818 * insetnote.C (InsetNote): when inserting content, remove trailing
4820 (init): set background color to LColor::note
4822 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4824 * insetcollapsable.C: adjust
4826 * insetbutton.C: adjust
4828 2001-07-23 Juergen Vigna <jug@sad.it>
4830 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
4831 parameter on the _collapsed function (was not needed) and call
4832 always width_collapsed().
4834 * insetert.C (InsetERT): use setLabel with "true" flag.
4836 * insetcollapsable.C: modified various functions to set the draw_label
4837 string right in any condition.
4838 (setLabel): added a bool parameter to set change_label_with_text.
4840 * insetcollapsable.h: added draw_label string which is set to the
4841 actual drawn label-string, while label is the original static label
4842 of this collapsable inset. Added bool change_label_with_text to set
4843 if we want that the label changes to the start of the InsetText's
4844 text when collabpsed. You can set this flag with the setLabel funciton.
4845 Added bool inlined for inlined collapsable insets, but not handled
4848 * insetcollapsable.C (get_new_label): added should get a new label
4849 from the InsetText beginning (for now 10 chars).
4851 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4853 * insetquotes.C (latex): fix the handling of french double quotes
4854 when not using the french pachage.
4856 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4858 * insetcollapsable.h: make WidthCollapsed mutable.
4860 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
4861 InsetPrintIndex returns INDEX_PRINT_CODE.
4863 * inset.h: add INDEX_PRINT_CODE
4865 * insetcollapsable.C (draw): init widthCollapsed if necessary
4868 * insetquotes.C (width): use the local language, not the document
4871 (dispString): add additional spacing for all french languages,
4873 (validate): make it work when there is no default language
4875 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
4877 * insetnote.C (init): new method, called by the constructors
4878 (InsetNote): new constructor with contents passed as a string
4880 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4882 * insetfootlike.C (insetAllowed): disallow float in footlike.
4884 * insetert.C (InsetERT): add collapsed argument to the constrctor
4887 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4889 * insetindex.h: shut off warning
4891 2001-07-20 Juergen Vigna <jug@sad.it>
4893 * insetcollapsable.C (update): recoded hopefully works now!
4895 2001-07-19 Juergen Vigna <jug@sad.it>
4897 * most files: implemented the below new introduced function.
4899 * inset.h: added new edit(BufferView *, bool front) method to be able
4900 to enter an inset from the front/back without knowing x/y positions
4901 and baselines inside the inset. So I just can tell the inset activate
4902 me and set the cursor on the front/back of yourself.
4904 2001-07-18 Juergen Vigna <jug@sad.it>
4906 * insetcollapsable.C (edit): fixed hopefully the y parameter which
4907 is given to the InsetText.
4908 (insetButtonPress): ditto
4909 (insetButtonRelease): ditto
4910 (insetMotionNotify): ditto
4912 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4914 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
4915 LIGATURE_BREAK, since the name is so stupid.
4917 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
4919 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
4920 the default InsetCollapsable methods. I.e., it can insert anything.
4921 (write) output the name of the inset, not some silly hack for
4922 compatability with the old InsetInfo.
4924 * insetinfo.[Ch]: removed.
4925 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
4926 now collapsable, but functionality is otherwise identical to InsetInfo.
4928 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
4930 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4932 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
4935 * insetquotes.C: general cleanup
4936 (dispString): add spaces inside french double quotes.
4937 (latex): ditto. Moreover, treat first the case where the frenchb
4938 or french options have been given.
4940 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
4942 * insetcite.[Ch] (latex, validate): new methods, required for natbib
4945 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
4947 * figinset.C (RegisterFigure): Print debug message only when
4948 current_view is available.
4950 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4952 * many files: update to match the change below
4954 * inset.h (insetAllowed): renamed from insertInsetAllowed;
4955 implement the version which takes an inset here.
4957 * insetcollapsable.[Ch]: implement open and isOpen
4959 * inset.h: remove insertInsetAllowed from Inset
4960 (open): new method, to open or close an inset
4961 (isOpen): returns the status of an inset
4962 (isCollapsable, colapse): removed
4964 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4966 * insetquotes.C (dispString): display french guillemets when using
4969 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4971 * insetcollapsable.h: remove bogus return statements
4973 2001-07-18 Juergen Vigna <jug@sad.it>
4975 * insettabular.C (selectNextWord): fixed spellchecking for the
4976 first cell of a tabular (wasn't entered!)
4977 (getLyXText): changed to enter automatically insettext and return
4978 it's LyXText if we're locked.
4980 2001-07-17 Juergen Vigna <jug@sad.it>
4982 * various files: implemented the below functions.
4984 * inset.h: added functions
4985 - virtual string selectNextWord(BufferView *, float & value) const;
4986 - virtual void selectSelectedWord(BufferView *) { return; }
4987 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
4988 needed for spellchecking correctly!
4990 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
4992 * insetert.C (latex): write out all paragraphs.
4994 2001-07-17 Baruch Even <baruch@lyx.org>
4996 * insetgraphics.C (draw): Removed unneeded casts.
4998 2001-07-16 Juergen Vigna <jug@sad.it>
5000 * insettext.C (update): fixed small oversight (reset lt to 0).
5002 2001-07-14 Baruch Even <baruch@lyx.org>
5005 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
5007 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5009 Consistent use of Lsstream.h:
5010 * figinset.C: removed using std::ostringstream directive.
5012 * insetgraphics.C (createLatexOptions):
5013 * insetinclude.C (unique_id):
5014 std::ostringstream -> ostringstream.
5015 * insettext.C (localDispatch): std::istringstream -> istringstream.
5017 2001-07-13 Juergen Vigna <jug@sad.it>
5019 * insetfloat.C (insertInsetAllowed): added missing const_cast.
5021 * insetcollapsable.C (getLockingInset): ditto.
5023 2001-07-12 Juergen Vigna <jug@sad.it>
5025 * insetcollapsable.h: added implementation of new function for
5028 * various files: added implementation of new insertInsetAllowed-func
5029 and redone the function a bit more.
5031 * inset.h: added isCollapsable(), bool collapsed(),
5032 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
5034 * insetfloat.C (insertInsetAllowed): make a bit more checks.
5036 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
5037 LyXText which is marked for removal while we're using it!
5039 * insettext.h: added private LyXText * lt to use it to assure we are
5040 not deleting our LyXText while we're using it!
5042 2001-07-11 Juergen Vigna <jug@sad.it>
5044 * insettext.C (insertInset): check if we are before the inset after
5045 inserting it! This check IS needed. Remove the Undo-Call as it is
5046 called in LyXText::insertInset!
5048 * insettext.h: added struct InnerCache.
5050 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
5051 that we ONLY delete the LyXText in the getLyXText() routine. So we
5052 are sure we don't delete LyXText while someone is working with it!
5054 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5056 * insetexternal.C: (*it). -> it->
5057 * insettext.C: ditto
5059 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5061 * insetcollapsable.C (edit): always open collapsed insets (even if
5062 they are not autocollapsable)
5064 * insetcommand.C (operator=): simplify.
5066 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5068 * insetert.C (latex): handle META_NEWLINE
5070 2001-07-09 Juergen Vigna <jug@sad.it>
5072 * insetert.h: a normal InsetText can insert insets, but we won't.
5074 * inset.h: return default "false" on insertInsetAllowed and implement
5075 this function where a returnvalue != "false" is needed.
5077 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5079 * insetert.C (InsetERT): new contructor
5081 2001-07-06 Juergen Vigna <jug@sad.it>
5083 * a lot of files: added implementation of the below new functions
5084 and the change to clone(). Also the call of the new undo-functions
5087 * inset.h: added an inset_id, added functions getParFromID,
5088 getInsetFromID, firstParagraph, cursor and id functions, added
5089 bool same_ids to clone function.
5091 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5093 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
5094 of BufferView * and shared_ptr<LyXText>
5096 2001-07-05 Juergen Vigna <jug@sad.it>
5098 * insettext.C (clear): deleted also the cache not only LyXText.
5099 (setParagraphData): ditto.
5101 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5103 * insetfloat.C (latex): let the specific placement take presedence
5104 if set, otherwise choose document placement if set, otherwise just
5105 use float default placement.
5107 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5109 * insettext.C (localDispatch): call CutAndPaste::'s static method
5112 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5114 * insetbib.C: no meed to include forms.h here.
5116 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
5118 * insettext.C: added using std::make_pair directive.
5120 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5122 * insettext.C (getLyXText): avoid multiple lookups, and simplify
5124 (deleteLyXText): ditto
5125 (resizeLyXText): ditto
5127 2001-07-02 Juergen Vigna <jug@sad.it>
5129 * insettext.C (getLyXText): introduce a cache in getLyXText so that
5130 following calls are only returned the right pointer without the over
5131 head to search in the map.
5132 (various funcs): reset the cached_bview variable as this signs that
5133 the cache is not valid anymore.
5135 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5137 * insettabular.C (clone): do not copy the LyXTabular twice
5139 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5141 * insettext.h (TEXT): delete method
5143 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5145 * insetmarginal.C (latex):
5146 * insetfoot.C (latex): fix spacing of notes in LaTeX
5148 * insettext.C (localDispatch): use .c_str() on istringstream
5149 constructor argument.
5151 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
5156 * inseturl.C: fix method names in these to begin
5157 with small char too, so they inherit
5159 2001-06-28 Juergen Vigna <jug@sad.it>
5161 * insettext.C (setFont): fixed font settings using toggleFree()
5162 instead of setFont().
5164 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5166 * Change a lot of method names to begin with a small char.
5167 Changes to a lot of files because of this.
5169 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5171 * insetfloatlist.C (Write): std:: qualify ostream
5174 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
5178 * insetgraphics.C: send debug output to Debug::INFO instead of
5181 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
5184 * insettabular.C (getStatus): update to use func_status
5186 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
5188 * insetref.C (DocBook): added support for cross-references without
5191 2001-06-26 The LyX Project <jug@sad.it>
5196 * insetlabel.h: removed escape method and moved it to
5199 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5201 * insettabular.C (getMaxWidth): do the speedup in a different way,
5204 2001-06-24 The LyX Project <Asger>
5206 * insettabular.C (getMaxWidth): We cache a mapping from
5207 inset to cell in order to speed this method up.
5209 2001-06-24 The LyX Project <Asger>
5211 * insettext.C: Optimized InsetText::draw or something.
5213 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
5215 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
5217 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
5219 * inset.h: name change from lyxinset.h
5221 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
5223 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
5225 2001-06-14 Juergen Vigna <jug@sad.it>
5227 * insettext.C (draw): removed warnings.
5229 2001-06-13 Juergen Vigna <jug@sad.it>
5231 * insettabular.C (nodraw): only go down the tree if we don't have
5232 that flag set otherwise it's obvious that we don't want to draw.
5233 (LocalDispatch): do also an update if we have an undispached result.
5235 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
5238 * insetgraphicsParams.C:
5239 * insettext.C: removed // -*- C++ -*- as first line.
5241 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5243 * lyxinset.h (resizeLyXText): shut off warning about unused
5246 2001-06-07 Juergen Vigna <jug@sad.it>
5248 * insettext.C (resizeLyXText): honor the new force flag.
5250 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
5252 * insettabular.C (deleteLyXText): new function
5254 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
5262 * insetcollapsable.C:
5263 * insetcaption.C: LColor tidy
5265 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5267 * figinset.C: fix typo
5269 2001-06-01 Juergen Vigna <jug@sad.it>
5271 * insettabular.C (resetPos): small hack so that scroll is not set to
5272 0 when we are in the last column of a tabular. This is a problem we
5273 have because of constats 20 offset on both directions, so this can
5274 cause on the limit an endless loop.
5276 * insettext.C (SetFont): forgot that we can have locking insets ;)
5278 2001-05-31 Juergen Vigna <jug@sad.it>
5280 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
5282 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5284 * figinset.C: add using std:: directive for the C functions which
5287 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
5289 * insetfloat.C (Write): write out wide info
5290 (Read): read the wide info
5291 (Latex): use the wide info when creating latex.
5293 * insettext.C: adjust
5295 * insetgraphics.[Ch] (statusMessage): change to return string
5299 * figinset.C (runqueue): add std::
5302 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5304 * insetcite.C (Ascii): add std:: qualifier
5306 2001-05-28 Juergen Vigna <jug@sad.it>
5308 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
5309 a endless-width inset (maxWidth < 0).
5310 (Edit): change language only if not equal.
5312 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
5314 * insettext.C (draw): fixed draw/clear of InsetText-Frame
5316 2001-05-16 Juergen Vigna <jug@sad.it>
5318 * insettext.C (selectAll): added
5319 (clearSelection): added
5321 * insettabular.C (SetFont): now we may set a font on a whole selection!
5322 (getSelection): added helper function.
5324 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
5326 * insetcite.C (Ascii): Add method.
5328 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
5331 * insetbib.C: fix path for OS/2 & Win32
5333 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5335 * insetfoot.C (Latex): don't use % after footnote.
5337 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5339 * insettext.C (Read): use clear
5340 (SetParagraphData): use LyXParagraph copy constructor instead of clone
5342 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5344 * insetfloatlist.h: add a bunch of std:: qualifiers.
5346 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5348 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
5349 FLOAT_LIST_CODE, renumber code list.
5351 * insettoc.C (getScreenLabel): remove support for float lists
5355 * insetfloatlist.[Ch]: new files
5357 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
5359 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
5361 * insettabular.C (LocalDispatch):
5362 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
5365 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5367 * insettext.C: remvoe !NEW_INSETS cruft
5369 * insettabular.C: remove !NEW_INSETS cruft
5371 * insetcollapsable.h: remove !NEW_INSETS cruft
5373 * insetbib.C: remove !NEW_INSETS cruft
5375 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5377 * insettoc.C: hack to make listof algorithm work
5379 2001-04-20 Juergen Vigna <jug@sad.it>
5381 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
5383 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5385 * insetquotes.C (Latex): improve the guard against
5386 unwanted !` and ?` ligatures. This should really be done in
5387 another place (to catch all this ligatures at low-level).
5389 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5391 * insettext.C (init): remvoe leftovers from cursor_visible change
5392 (draw): use c++ cast
5393 (LocalDispatch): dispatch LFUN_MESSAGE
5395 * insettabular.C (InsetTabular): remove leftovers from
5396 cursor_visible, and scoped_ptr changes
5397 (draw): use c++ cast
5399 * insetcollapsable.C (draw): use c++ cast
5401 * ExternalTemplate.h: inherit privaely from noncopyable
5402 * insetcommand.h: ditto
5403 * insetinclude.h: ditto
5405 2001-04-16 Allan Rae <rae@lyx.org>
5407 * insettoc.C (Ascii):
5408 * insettext.C (draw):
5409 * insettabular.C (setPos):
5410 * insetminipage.C (Read):
5411 * insetfloat.C (placement):
5412 * insetcaption.C (Ascii, DocBook):
5413 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
5414 an unrecognised preprocessor directive. So ensure they're wrapped.
5416 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
5419 * insetexternal.C: set view on Clone. Add _ to private members.
5421 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5423 * insettext.C (InsetText): fix new
5424 (InsetText): reindent some, simplify deletion of par list
5425 (clear): simplify deletion of par list, fix new
5426 (SetParagraphData): simplify deletion of par list
5428 * insettabular.[Ch] (getLabelList): implement new method
5430 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5432 * lyxinset.h: do not include gettext.h...
5440 * insetlatexaccent.C:
5444 * inseturl.C: ... and do it here instead
5446 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5448 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
5450 * insettext.[Ch] (getLabelList): add std:: on vector<string>
5452 * insetcollapsable.[Ch] (getLabelList): implement
5454 * insettext.[Ch] (getLabelList): implement
5456 * insettext.h: reindent
5458 * insettabular.h: make tabular a scoped_ptr
5460 * insettext.C (init): adjust for cursor_visible
5461 (ToggleInsetCursor): constify asc and desc, font, adjust for
5463 (ShowInsetCursor): constify asc and desc, font, adjust for
5465 (HideInsetCursor): adjust for cursor_visible
5467 * insettabular.C: reindent some
5468 (InsetTabular): adjust for scoped_ptr and cursor_visible
5469 (InsetTabular): ditto
5470 (~InsetTabular): delete delete
5471 (Clone): adjust for scoped_ptr
5472 (Read): constify old_format, adjust for scoped_ptr, move init of
5474 (draw): constify tx, localize loop vars.
5475 some other localization of variables, remove double initilizatons.
5477 * insetfoot.C: remove using std::ostream, add ostream where needed
5479 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5481 * lyxinset.h: some reindentaion, use initializer list for
5483 UpdatableInset: make cursor_visible a private var add
5484 public isCursorVisible(), add protected toggleCursorVisible() and
5485 proctected setCursorVisible(bool), make scroll call the Inset::scroll
5487 * insettoc.C: remvoe using decl
5488 (getScreenLabel): make cmdname donst
5491 (Ascii): don't use endl
5493 * insetfootlike.C: remove using decl at file scope and add std::
5495 * insetmarginal.C: ditto
5497 * insetfoot.C: some reformatting
5499 * insetfloat.C (InsetButtonRelease): adjust the hit area
5501 * insetert.C (SetFont): some reformatting
5503 * insetcollapsable.C: some reformatting and constification
5504 (Clone): comment out.
5505 * insetcollapsable.h: some reformatting
5506 (Clone): comment out.
5511 2001-03-30 Juergen Vigna <jug@sad.it>
5513 * insetcollapsable.h: changen *inset to be a InsetText inset.
5515 * some files: changed to reflect the above change.
5517 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
5519 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
5520 InsetExternal::Params.
5521 Added operator==() and operator!=() for the Params struct.
5523 2001-03-29 Juergen Vigna <jug@sad.it>
5525 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
5528 * insetminipage.C: removed widthp_ and all it's functions and changed
5529 to use new %-lengths of LyXLength.
5531 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
5533 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
5535 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
5537 * insetgraphicsParams.C (operator!=): new function, needed by the
5538 ControlGraphics class.
5540 2001-03-28 Juergen Vigna <jug@sad.it>
5542 * insettext.C (InsetButtonPress): only enter !inset if button == 2
5543 (checkAndActivateInset): don't use the values returned from
5544 call to bv->checkInsetHit.
5546 * insetminipage.C (Clone): set special minipage values.
5548 * insetcollapsable.C (draw): changed to draw the button in the
5549 upper left corner outside the textinset.
5550 (ascent): changed because of different drawing
5554 (InsetButtonPress): ditto
5555 (InsetButtonRelease): ditto
5556 (InsetMotionNotify): ditto
5558 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
5560 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
5564 2001-03-26 Juergen Vigna <jug@sad.it>
5566 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
5568 * insettext.C (ShowInsetDialog): implemented above function.
5570 * insettabular.C (ShowInsetDialog): ditto
5572 * insetminipage.C (ShowInsetDialog): ditto
5574 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
5576 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
5577 InsetInclude::Params. Don't store a buffer * in Params. Store the
5578 master file name instead.
5580 2001-03-23 Juergen Vigna <jug@sad.it>
5582 * insetcollapsable.C (InsetMotionNotify):
5583 (InsetButtonRelease):
5584 (InsetButtonPress): fixed y-offset (minipages).
5586 * insettext.C (draw): force a FULL update if cleared == true.
5588 * insetcollapsable.C (draw): Lars forgotten entry for changing this
5589 routine to draw the minipages on its position-flag.
5590 (InsetInInsetY): give back the right y position, because of minipage
5593 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
5596 * insetfloat.C (DocBook): docbook export code.
5598 2001-03-22 Juergen Vigna <jug@sad.it>
5600 * insetminipage.C (getMaxWidth): added function to set the drawing
5602 (Read): should work now!
5604 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
5605 if we create a new inset.
5607 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
5609 * figinset.C (fl_set_preemptive_callback): moved definition outside
5612 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5614 * insetminipage.C (Read): prepare for reading of minipage arguments.
5616 2001-03-18 Baruch Even <baruch@lyx.org>
5618 * insetgraphics.C: Minor cleanups of the comments and code.
5620 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5622 * insetminipage.C (InsetMinipage): default to not collapsed
5624 2001-03-16 Juergen Vigna <jug@sad.it>
5626 * insetminipage.C (width): modified with to be a string
5627 (widthp): added widthp (for % width) support functions.
5628 (InsetButtonRelease): added to open the options dialog on button==3.
5629 (~InsetMinipage): added to hide the dialog.
5631 * insetminipage.h: added hideDialog signal
5633 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5635 * insetminipage.h: change the order or Position to match
5636 LyXParagraph::MINIPAGE_ALIGNMENT
5638 * several files: remvoe CXX_WORKING_NAMESPACES
5640 * ExternalTemplate.h: noncopyable is in namespace boost
5641 * insetinclude.h: ditto
5642 * insetcommand.h: ditto
5644 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
5646 * insettext.C (Edit): #else# -> #else.
5647 * insettoc.C: added using directive.
5649 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5651 * insetminipage.h: add pos, inner_pos, width and height. + getters
5652 and setters for all of them.
5654 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
5656 * insetinclude.C (Latex): Do not exit when the textclass of the
5657 included file differ from the textclass of the parent file.
5659 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
5661 * ExternalTemplate.C (read): the reading of external insets now checks
5662 for \end_inset and removes it form the input stream.
5664 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
5666 * ExternalTemplate.h:
5667 * ExternalTemplate.C:
5669 * insetexternal.C: move form to GUII
5671 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
5674 * insetinclude.C: add InsetIncludeParams, use
5675 composition rather than derivation of InsetCommand
5677 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5679 * insettoc.C (Ascii): use the Buffer typedefs
5681 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5683 * insettoc.C (Ascii): implement for dynamic number of lists
5685 * insetcaption.[Ch]: update from new_insets branch
5686 * insetfloat.[Ch]: ditto
5688 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
5691 * figinset.C: use new File Dialog
5693 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5695 * insettext.C: changes becuase of ParagraphParameters.
5697 2001-02-28 Baruch Even <baruch@ev-en.org>
5699 * insetgraphics.C (updateInset): Changed due to the change in
5702 2001-02-26 Juergen Vigna <jug@sad.it>
5704 * insettext.C (SetFont): Set Undo only if we have selection (as it is
5705 handled in LyXText).
5707 2001-02-23 Juergen Vigna <jug@sad.it>
5709 * insettext.C (draw): some small repainting fixes.
5710 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
5712 * inset.C (LocalDispatch): changed action to be a kb_action (as it
5713 should be) and not an int.
5715 * insettabular.C (LocalDispatch): ditto
5717 * insettext.C (LocalDispatch): ditto
5719 * insetcollapsable.C (LocalDispatch): ditto
5721 2001-02-22 Juergen Vigna <jug@sad.it>
5723 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
5724 DISPATCH it and we don't have a locking_inset.
5726 2001-02-21 Baruch Even <baruch@ev-en.org>
5728 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
5729 instead of GraphicsCacheItem *.
5731 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5733 * insetcollapsable.C (getLyXText): add const qualifier to second
5736 2001-02-22 Juergen Vigna <jug@sad.it>
5738 * insettext.C (getLyXText): honor the recursive parameter.
5739 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
5741 * inset.C (getLyXText): added bool recursive parameter.
5743 * insettext.C (SetUpdateStatus): or the update codes.
5744 (draw): check need_update with &.
5745 (InsetButtonPress): set no_selection to not put a selection when
5746 entering an inset and it is redraws in another spot.
5748 * insettext.h: made need_update an int.
5750 2001-02-20 Baruch Even <baruch@ev-en.org>
5753 * insetgraphisc.C: Changed to use better semantics when loading images
5754 for inline view. Now it doesn't keep the pixmap itself but it's holder.
5756 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
5760 * insetgraphics.C: change name of "hide" signal to "hideDialog",
5761 consistent with InsetTabular.
5763 2001-02-19 Juergen Vigna <jug@sad.it>
5765 * insettabular.C (LocalDispatch): implement PAGE up/down.
5767 * insettext.C (draw): clear all of it on need_update==INIT too!
5769 * insettabular.C (InsetUnlock): always clear the selection.
5771 * inset.C (scroll): normally we only want to scroll the inset until
5772 it is fully visible so if top_x + offset > 20 then just set scx to 0.
5774 2001-02-14 Juergen Vigna <jug@sad.it>
5776 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
5777 (resetPos): fixed scroll behaviour.
5778 (LocalDispatch): do an update if moving cursor inside a table cell
5779 requests a scroll of the tabular.
5781 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5783 * insettext.C (textWidth): constify local var
5785 * insettabular.C: small cleanup.
5787 * insetfoot.C (Latex): constify local var
5789 * insetcollapsable.C: small cleanup.
5791 * figinset.C (runqueue): use compare instead of strcmp
5793 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
5796 * insetinfo.C: remove cruft
5798 2001-02-14 Juergen Vigna <jug@sad.it>
5800 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
5802 2001-02-13 Juergen Vigna <jug@sad.it>
5804 * insettext.C (InsertInset): don't move left (is this right?)
5806 * insettabular.C (LocalDispatch): use of the no_draw variable
5808 * insettabular.h: new no_draw variable to stop redraw
5810 * insettabular.C (TabularFeatures): fixed update for alignment change
5812 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
5816 * insetbib.C: move dialogs to frontends/
5818 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
5820 * insettext.C (LocalDispatch): Restore the language if the inset
5823 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
5825 * insettext.C (moveRightIntern): Update the selection cursor.
5826 (moveLeftIntern): Ditto.
5828 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5830 * Makefile.am: remove BoundingBox.h
5832 * BoundingBox.h: removed
5834 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
5836 * insettext.C (LocalDispatch): Update selection cursor when moving
5837 cursor to the right.
5838 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
5839 (moveLeftIntern): Ditto.
5841 2001-02-05 Baruch Even <baruch.even@writeme.com>
5843 * insetgraphics.C: Updated automatic image conversion, it now goes into
5844 temporary directory instead of with the image itself.
5846 2001-01-21 Baruch Even <baruch@ev-en.org>
5848 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
5849 to EPS or PNG when needed (support bitmap graphics).
5851 2000-11-02 Baruch Even <baruch@ev-en.org>
5854 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
5855 and removal of commented out code.
5857 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5859 * insetbib.C (callback): Update citations if the key has changed.
5861 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5863 * insetbib.C (InsetBibKey): Better computation of default key.
5864 (getScreenLabel) Show both the key and the label.
5865 (getBibLabel): New method.
5866 (callback): Force a redraw if the inset have been changed.
5868 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
5870 * insetref.C (getType, getName): Move methods from
5871 src/frontends/xforms/FormRef.C.
5873 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
5875 * insettabular.C: Various improvements (use only one dummy position).
5877 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
5879 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
5880 par->bibkey->width. This fixes the crashes when running without
5881 gui or when having included documents.
5883 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
5885 * insetcommand.C (getAsString, setFromString): Cleanup.
5887 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
5889 * insetref.C: Add the array InsetRef::types that contains
5890 information about all supported reference types.
5892 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5894 * lyxinset.h: remove trailing comma in enum.
5896 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
5898 * insettext.C: kill LyXBell.