1 2003-10-07 Angus Leeming <leeming@lyx.org>
3 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
4 non-const member function.
6 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
11 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
13 2003-10-02 André Pönitz <poenitz@gmx.net>
15 * insettext.C (read): make sure there is at least one par
16 in the text after reading.
18 2003-10-01 José Matos <jamatos@lyx.org>
20 * insetbranch.C (linuxdoc, docbook): minor fix.
22 2003-10-01 Angus Leeming <leeming@lyx.org>
24 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
26 * insetexternal.[Ch]: changes due to the introduction of
27 namespace lyx::external.
29 2003-09-30 Angus Leeming <leeming@lyx.org>
31 * insetexternal.[Ch] (Params::read, write): new member functions.
33 2003-09-25 Angus Leeming <leeming@lyx.org>
35 * insetexternal.[Ch] (TempName): new (private) nested struct with
36 fake copy semantics. Enables us to use the generated copy c-tor
38 (Params::templatename, Params::tempname): use accessor functions.
40 2003-09-25 Angus Leeming <leeming@lyx.org>
42 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
43 function, returning a const pointer.
45 2003-09-23 Angus Leeming <leeming@lyx.org>
47 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
48 store them in a vector, preambleNames.
50 * insetexternal.C (validate): loop over all preambleNames and call
51 LaTeXFeatures::addExternalPreamble with each.
53 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
55 * insetbranch.C: bug fix in branches
57 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
59 * insetnote.C: small clean-up.
61 2003-09-19 Angus Leeming <leeming@lyx.org>
63 * inset.h (generatePreview): passed a 'Buffer const &' arg.
65 * insetcommand.C (string2params): clear params using the default c-tor.
67 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
68 InsetInclude::Params. No more data in this struct than in
69 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
70 (c-tor): no need to pass a 'Buffer const &' arg anymore.
71 (clone): remove #warning as it's now redundant.
72 (set): add a 'Buffer const &' arg. Make private.
73 (loadIfNeeded) move out of the class definition and into namespace anon.
74 (getMasterFilename, getFileName): ditto.
76 2003-09-18 Angus Leeming <leeming@lyx.org>
78 * insetcommand.C (setParams): use the params' copy constructor.
80 2003-09-18 Angus Leeming <leeming@lyx.org>
82 * insetinsetbase.h (getLabelList):
83 * insetinsetcollapsable.[Ch] (getLabelList):
84 * insetinsetinclude.[Ch] (getLabelList):
85 * insetinsetlabel.[Ch] (getLabelList):
86 * insetinsettabular.[Ch] (getLabelList):
87 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
88 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
90 2003-09-18 Angus Leeming <leeming@lyx.org>
92 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
93 redundant baggage from yesteryear.
94 Remove Params::flag as it is redundant; the info is present in
97 2003-09-18 Angus Leeming <leeming@lyx.org>
99 * insetinclude.C (latexString): add a Buffer const & arg.
101 2003-09-18 Angus Leeming <leeming@lyx.org>
106 * insettext.h: rename EnumLColor as LColor_color.
108 2003-09-18 Angus Leeming <leeming@lyx.org>
110 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
111 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
113 2003-09-16 Angus Leeming <leeming@lyx.org>
115 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
116 set before trying to generate a preview, else we trigger an assert.
118 2003-09-16 Angus Leeming <leeming@lyx.org>
120 * insetinclude.C (PreviewImpl::parent): return a const reference.
122 2003-09-16 Angus Leeming <leeming@lyx.org>
124 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
126 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
128 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
129 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
131 * insetminipage.C (metrics):
132 * insetnote.C (metrics):
133 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
134 access collapsed_ directly.
136 2003-09-16 Angus Leeming <leeming@lyx.org>
138 * insetbibitem.C: add #include "lyxfont.h".
140 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
143 * insetbibtex.C: use namespace alias for lyx::support::os
145 2003-09-16 Angus Leeming <leeming@lyx.org>
147 * insetcollapsable.h: remove unused framecolor variable.
148 Remove #include "LColor.h".
150 * insetcollapsable.C: remove unused framecolor variable.
153 * insetcollapsable.C:
161 Add #include "LColor.h".
163 2003-09-16 Angus Leeming <leeming@lyx.org>
165 * insettext.[Ch] (frameColor): new accessor function.
166 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
172 add #include "LColor.h".
174 * insetcollapsable.h: add #include "LColor.h"
175 (for its framecolor member variable).
177 2003-09-16 Angus Leeming <leeming@lyx.org>
179 * insetenv.C (constructor): use accessor functions to access InsetText variables.
181 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
182 rename frame_color as frame_color_. Make private.
184 * insettext.C: associated changes.
186 2003-09-16 Angus Leeming <leeming@lyx.org>
188 * inset.h: store background_color_ as an int, not as an LColor::color to
189 get LColor.h out of the header file.
192 * insetlatexaccent.C:
195 * insetspecialchar.C:
197 add #include "LColor.h".
199 2003-09-16 Angus Leeming <leeming@lyx.org>
201 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
204 2003-09-15 Angus Leeming <leeming@lyx.org>
206 * inset.[Ch] (setBackgroundColor, backgroundColor):
207 * insettext.[Ch] (setFrameColor):
208 pass EnumLColor args, rather than LColor::color ones.
210 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
220 * insetwrap.C: remove usage of STRCONV
222 2003-09-15 Angus Leeming <leeming@lyx.org>
224 * renderers.C (draw):
225 * insetlatexaccent.C (draw): explicitly define the color passed to
228 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
230 * insettext.C: remove block causing problems in lockInsetInInset
231 (mentioned erroneously under Bug #1366)
233 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
235 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
238 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
240 * several files: change Assert to BOOST_ASSERT
242 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
244 * insettext.[Ch]: remove drawText[XY]Offset
246 2003-09-08 Angus Leeming <leeming@lyx.org>
248 * insetcollapsable.C:
253 * insetspecialchar.C:
256 * insettoc.C: remove redundant using directives.
258 2003-09-07 Angus Leeming <leeming@lyx.org>
261 * insetspecialchar.h: remove #include "support/std_string.h".
263 2003-09-06 Angus Leeming <leeming@lyx.org>
265 * renderers.C: add #include "insets/inset.h"
267 2003-09-05 Angus Leeming <leeming@lyx.org>
269 * *.C: strip out redundant #includes. (193 in total.)
271 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
273 * insets/insetbibtex.[Ch]:
274 * insets/insetcommand.h:
275 * insets/insetfloatlist.[Ch]:
276 * insets/insetinclude.[Ch]:
277 * insets/insettoc.[Ch]: Restricts the mouse click functionality
278 of insets like bibtex, include, toc and floatlist to the visible
279 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
280 up the dialogs. Cursor has to be in front of the inset (i.e.
281 start of row) for this to function.
283 2003-09-04 Angus Leeming <leeming@lyx.org>
285 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
286 structure outside of the Format struct. Format::preambleName refers to
287 an item in the map of all preamble snippets.
288 Make use of the new Debug::EXTERNAL flag.
290 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
291 (validate): Small change due to the changed storage of preamble snippets.
293 2003-09-04 Angus Leeming <leeming@lyx.org>
295 * insetgraphics.C: #include "support/os.h"
297 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
298 * insettabular.h: move #include "FuncStatus.h" out of the header file.
299 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
301 * insetcollapsable.h:
303 * insetnote.C: move #include "funcrequest.h" out of the header file.
305 2003-09-03 Angus Leeming <leeming@lyx.org>
307 * insetexternal.C (updateExternal):
308 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
311 2003-09-03 Angus Leeming <leeming@lyx.org>
313 * insetexternal.C: don't bring namespace lyx::support into the global
316 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
318 * insetbranch.C: Add Branch: to label
320 2003-09-02 John Levon <levon@movementarian.org>
323 * insettext.C: remove cursor.i[xy]()
325 2003-08-28 Angus Leeming <leeming@lyx.org>
327 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
328 "sh ", enabling the conversion to be carried out even if the script
331 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
333 * most files: change to use const Buffer refs
335 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
337 * insetfootlike.C: whitespace.
339 2003-08-26 John Levon <levon@movementarian.org>
343 * insetindex.h: remove remaining mentions of needFullRow()
345 2003-08-26 André Pönitz <poenitz@gmx.net>
351 * inset.[Ch]: remove InsetOld::par_owner_ & handling
353 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
355 * insetbranch.C: Small fix to prevent a crash on loading.
357 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
362 * insetcollapsable.h:
364 * insetfloatlist.[Ch]:
365 * insetfootlike.[Ch]:
373 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
374 altogether, putting the logic in metrics/draw in the insets.=20
375 Draws short single row insets with more or less realistic metrics.
377 2003-08-19 André Pönitz <poenitz@gmx.net>
379 * insettext.C: use new RowPainter interface
381 2003-08-18 John Levon <levon@movementarian.org>
383 * insetref.C: require amsmath for eqref
385 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
389 * insetbranch.[Ch]: implements the 'branch inset'
390 idea. This allows the output of various versions of a document
391 from a single source version, selectively outputing or suppressing
392 output of parts of the text.
393 This implementation contains a 'branch list editor' in a separate
394 tab of the document settings dialog. Branches are user definable
395 and have a "display colour" to distinguish them on-screen.
397 ColorHandler was somewhat cleaned up.
398 (1) make possible a dynamically growing LColor list by allowing
399 the graphic context cache to grow along (vector);
400 (2) eliminate an IMHO unnecessary step in colour allocation.
402 2003-08-15 André Pönitz <poenitz@gmx.net>
404 * insettext.[Ch]: adjust after rowlist split
406 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
408 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
409 rename valign-center to valign-middle;
410 rename VALIGN_CENTER to VALIGN_MIDDLE
412 2003-08-11 André Pönitz <poenitz@gmx.net>
414 * inset.h: remove resizeLyXText
417 * insetcollapsable.[Ch]:
419 * insettabular.[Ch]: adjust
421 * insettext.[Ch]: remove saveLyXTextState,
422 restoreLyXTextStat, sstate, reinitLyXText
424 2003-08-07 André Pönitz <poenitz@gmx.net>
426 * inset.[Ch]: move non-crucial functions out-of-line
428 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
429 remove duplicated code.
431 2003-08-05 André Pönitz <poenitz@gmx.net>
434 * insetcollapsable.[Ch]:
447 * updatableinset.[Ch]: rip out "deep update"
449 * insettext.C (localDispatch): merge cases with default branch
451 * insettext.C (frame_x,y,w,h): replace member with automatic variables
453 * insettabular.[Ch] (updateLocal): simplify logic
455 2003-08-04 André Pönitz <poenitz@gmx.net>
457 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
458 is 'FULL' all the time.
460 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
462 * insetert.C (get_new_label): only add ... to the (closed) label
463 when the string has been shortened
465 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
467 * Always use std::endl with lyxerr
469 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
471 * insetnote.C: update \author list
473 2003-07-31 André Pönitz <poenitz@gmx.net>
475 * insetcollapsable.h:
477 * insettext.[Ch]: remove toggleSelection
479 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
481 (with help from Juergen Spitzmueller)
482 * insetnote.C: add add i18n support. Use Prefs-definable
483 colours for Comment and Greyedout.
485 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
487 * insetcollapsable.[Ch]:
489 * insetert.C: factor out the detection of clicking on the inset
490 button as 'hitButton'. John Levon contributed.
492 2003-07-30 André Pönitz <poenitz@gmx.net>
494 * insetcollapsable.C:
496 * insettabular.C: parantheses, localize vars etc.
498 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
500 * insetnote.C: Implement a newenvironment in preamble for
501 greyedout. Patch provided by Jürgen Spitzmüller.
503 2003-07-29 Angus Leeming <leeming@lyx.org>
505 * insetcommand.C (localDispatch): default to
506 InsetOld::localDispatch.
508 * insetbibitem.C (localDispatch):
509 * insetbibtex.C (localDispatch): remove call to
510 ChangeCitationsIfUnique.
512 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
514 * insetexternal.C (read): use pushpophelper.
516 2003-07-28 José Matos <jamatos@lyx.org>
518 * insetext.C (read): \end_document replaces \the_end.
520 2003-07-28 José Matos <jamatos@fep.up.pt>
522 * insetert.C (write): \layout -> \begin_layout.
523 Add missing \end_layout.
525 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
527 * insetquotes.C: document a bit the format
529 * insettabular.C (write): remove extra space
531 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
532 * insetnote.C: Umpf. Hope I *now* get it right :-(
534 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
535 *insetnote.C: did the right fix to greyedout: \color
536 instead of \textcolor.
538 2003-07-28 Angus Leeming <leeming@lyx.org>
540 * insetbibtex.h: remove extraneous forward declaration.
543 * insetbibtex.h: Also remove long-dead Holder member class
546 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
548 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
551 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
553 * insetwrap.C (addToToc): adjust for lyx::toc
555 * insetfloatlist.C (ascii): adjust for lyx::toc
557 * insetfloat.C (addToToc): adjust for lyx::toc
559 2003-07-27 José Matos <jamatos@fep.up.pt>
561 * insetnote.h (linuxdoc,docbook): update support.
563 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
565 * insetfloat.C (wide): add a space to label, for consistency
567 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
569 * insettext.C (nextChange): adjust for lyx::find
570 (searchForward): ditto
571 (searchBackward): ditto
573 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
575 * insetgraphicsParams.C:
576 * insetexternal.C: declare extern displayTranslator
579 * renderers.C: add #include "support/LAssert.h"
581 2003-07-27 José Matos <jamatos@fep.up.pt>
583 * insetfloat.[Ch] (linuxdoc):
584 * insetgraphics.C (linuxdoc):
585 * insettabular.C (linuxdoc):
586 * insettext.[Ch] (linuxdoc): add support for tables and figures
589 2003-07-27 José Matos <jamatos@fep.up.pt>
591 * insetinclude (latex): comply with makeLaTeXFile argument change.
593 2003-07-26 Asger Alstrup <alstrup@local>
595 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
596 the undo crashes. We'll see what problems other places this will
599 2003-07-26 Angus Leeming <leeming@lyx.org>
601 * insetgraphics.C: remove unused declaration of system_tempdir.
603 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
605 * rename Inset to InsetOld
607 * all inset files (clone): return a auto_ptr<InsetBase>
609 2003-07-23 Angus Leeming <leeming@lyx.org>
611 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
613 2003-07-23 Angus Leeming <leeming@lyx.org>
615 * mailinset.[Ch] (inset2string):
616 * insetcommand.[Ch] (inset2string):
617 * insetert.[Ch] (inset2string):
618 * insetexternal.[Ch] (inset2string):
619 * insetfloat.[Ch] (inset2string):
620 * insetgraphics.[Ch] (inset2string):
621 * insetinclude.[Ch] (inset2string):
622 * insetminipage.[Ch] (inset2string):
623 * insetnote.[Ch] (inset2string):
624 * insettabular.[Ch] (inset2string):
625 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
627 * insetexternal.[Ch]:
628 * insetgraphics.[Ch]: get rid of the view() function. Associated
629 changes to the mailers' string2params and params2string functions.
631 2003-07-23 Angus Leeming <leeming@lyx.org>
633 * insetexternal.[Ch]: store the external file name in a FileName
634 member variable rather than a string + associated changes.
636 2003-07-21 Angus Leeming <leeming@lyx.org>
638 * insetgraphicsParams.[Ch]: store the graphics file name in
639 a FileName member variable rather than a string.
641 * insetgraphics.[Ch]:
642 * insetgraphicsParams.[Ch]: Associated changes.
644 2003-07-21 Angus Leeming <leeming@lyx.org>
646 * insetgraphics.[Ch] (string2params, params2string): passed a
647 buffer_path argument.
650 2003-07-21 Angus Leeming <leeming@lyx.org>
653 * insetgraphicsParams.[Ch]:
655 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
657 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
659 * insetnote.C: fixed greyout and conditionals layout foul-ups.
661 2003-07-18 André Pönitz <poenitz@gmx.net>
664 * insetminipage.[Ch]:
668 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
670 2003-07-18 André Pönitz <poenitz@gmx.net>
674 * insetcollapsable.C:
678 * insetgraphics.[Ch]:
679 * insetlatexaccent.[Ch]:
684 * insetspecialchar.C:
687 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
689 2003-07-17 André Pönitz <poenitz@gmx.net>
691 * insetcollapsable.C:
693 * insettext.C: don't call Inset::update() anymore
696 * insettabular.[Ch]: remove unneeded in_update_ members
698 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
700 2003-07-16 André Pönitz <poenitz@gmx.net>
702 * insettext.C (selectAll): remove
704 2003-07-16 John Levon <levon@movementarian.org>
707 * insetnote.C: implement showInsetDialog()
709 2003-07-15 André Pönitz <poenitz@gmx.net>
712 * insettext.C: refresh_status tristate -> need_update bool
714 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
716 * insettext.C: adjust call to LyXText::init
718 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
720 * insettext.C: use bufferview_funcs->replaceSelection()
721 to delete selections in some cases (bugs 441, 673, 702, 954).
723 2003-07-14 André Pönitz <poenitz@gmx.net>
725 * insettext.C (draw): use slimmed down rowpainter interface
727 2003-07-14 André Pönitz <poenitz@gmx.net>
729 * insetcollapsable.C:
731 * insettext.[Ch] (cy, ciy, setUpdateStatus):
732 remove unused BufferView * argument
734 2003-07-14 André Pönitz <poenitz@gmx.net>
736 * insettext.[Ch]: used cached metrics a bit more
738 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
740 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
742 2003-07-10 André Pönitz <poenitz@gmx.net>
745 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
747 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
749 * introduce namespace lyx::graphics
751 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
753 * introduce namespace lyx::support
755 2003-06-30 André Pönitz <poenitz@gmx.net>
757 * insetcite.C (localDispatch): fix case of missing return value
759 * insetcite.C (ascii): remove unneeded temporary
761 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
763 * insetspace.h: fix \file
765 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
766 * insetinclude.C (fillWithBibKeys): ditto
768 * insetbibitem.C: fix type const order
770 * inset.C (getLyXText): add varname for arg
772 * ExternalTemplate.h: fix type const order
774 2003-06-27 André Pönitz <poenitz@gmx.net>
776 * insettext.C: take care of removed LyXCursor::row_ member
778 * insettext.[Ch]: use new TextCursor struct for sstate
780 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
782 * inseterror.[Ch]: removed
784 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
786 * insetinclude.C (docbook): use parseError instead of sgmlError
788 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
790 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
791 of BufferList::loadLyXFile
793 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
795 * insettext.C (update): simplify
796 (updateLocal): remove commented code
797 (insetUnlock): simplify
798 (lockInset): simplify
799 (updateInsetInInset): simplify
800 (localDispatch): simplify
802 (resizeLyXText): simplify
803 (collapseParagraphs): simplify
805 * insetert.C (get_new_label): simplify
807 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
809 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
810 pasteSelection with index
812 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
814 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
816 2003-06-16 André Pönitz <poenitz@gmx.net>
818 * insetbase.h: new virtual base function clone()
820 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
821 Inset * clone() -> InsetBase * clone()
823 2003-06-13 André Pönitz <poenitz@gmx.net>
825 * insettabular.[Ch]: make tabular a proper member
827 2003-06-12 André Pönitz <poenitz@gmx.net>
829 * insettabular.[Ch]: some renaming plus whitespace
831 2003-06-11 Angus Leeming <leeming@lyx.org>
833 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
836 * insetbutton.[Ch]: removed.
837 * graphicinset.[Ch]: renamed as renderers.[Ch].
839 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
840 Create a new class ButtonRenderer using the InsetButton::metrics() and
842 Derive both from a common RenderedInset base class.
845 * insetinclude.[Ch]: derive from Inset, not InsetButton.
846 Give it a ButtonRenderer member variable. Use it.
847 Give the classes working copy c-tors.
848 No longer derive from boost::noncopyable.
850 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
851 display its contents as a button or as a graphic.
853 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
856 2003-06-11 Angus Leeming <leeming@lyx.org>
858 * insetcite.C (localDispatch): reformat.
860 * insetref.C (localDispatch): enable dialog to be lauched.
862 2003-06-11 John Levon <levon@movementarian.org>
864 * insettabular.C: correctly mark all cells as erased
866 2003-06-11 Angus Leeming <leeming@lyx.org>
868 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
869 ExternalTemplate but its name, templatename. This means that a file
870 containing a reference to an External Template not installed on the
871 current machine will be saved retaining this info rather than inserting
872 the first "valid" template from the list of templates.
874 As a by product, the visual statement that the Template is missing is
877 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
879 * insettext.C (appendParagraphs): remove some commented code.
881 2003-06-10 Angus Leeming <leeming@lyx.org>
883 * graphicinset.[Ch] (view): removed the publicly accessible function to set
886 * insetexternal.[Ch]: move tempname_ into the Params struct.
887 (Params d-tor): new function, to clean-up this temp file.
888 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
890 (editExternal, doSubstitution): move out of class.
892 2003-06-10 Angus Leeming <leeming@lyx.org>
894 * graphicinset.[Ch] (params): removed.
895 * graphicinset.h (operator=): declared private but not defined.
896 (statusMessage): made private.
898 * insetexternal.[Ch]: graphic_ renamed as renderer_.
900 2003-06-07 John Levon <levon@movementarian.org>
902 * insetert.C (latex): make a newline mean just that not
905 2003-06-07 José Matos <jamatos@fep.up.pt>
907 * insethfill.[Ch] (linuxdoc, docbook): implement output
908 * insetspace.C (linuxdoc, docbook): remove coments as the code
911 2003-06-06 José Matos <jamatos@fep.up.pt>
913 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
915 2003-06-06 André Pönitz <poenitz@gmx.net>
917 * insetwrap.[Ch]: code compactification
919 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
921 * mailinset.C (updateDialog): use Dialogs::visible
923 2003-06-04 Angus Leeming <leeming@lyx.org>
925 * graphicinset.C (draw): add a comment for the #if 0 block.
927 * insetexternal.h: remove Params::parameters variable.
928 * insetexternal.C (read, write): rewrite to output new ExternalInset format
929 and read it back making full use of LyXLex.
931 2003-06-04 André Pönitz <poenitz@gmx.net>
933 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
935 2003-06-04 John Levon <levon@movementarian.org>
937 * insettabular.C: back out tall table speed up. It was broken
939 2003-06-03 Angus Leeming <leeming@lyx.org>
941 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
942 Remove ViewCommand and UpdateCommand.
944 * graphicinset.C (update): bug fix. Set the params before calling the
946 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
947 BufferView cache to enable the InsetExternal::editCommand to be invoked
948 from the frontends. Would not be needed if this were dispatched properly.
949 (old_ascent_): variable removed.
951 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
952 do any necessary conversions of external material. Also use the
953 new GraphicsInset to display the inset within LyX.
955 2003-06-03 Angus Leeming <leeming@lyx.org>
957 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
958 and move it somewhere where InsetExternal can use it too.
960 * Makefile.am: add the new files.
962 * insetgraphics.[Ch]: make use of the new GraphicInset.
964 2003-06-03 John Levon <levon@movementarian.org>
974 * insetexternal.[Ch]:
978 * insetgraphics.[Ch]:
983 * insetlatexaccent.[Ch]:
984 * insetmarginal.[Ch]:
985 * insetminipage.[Ch]:
992 * insetspecialchar.[Ch]:
998 * insetwrap.[Ch]: make clone() not take a Buffer * arg
1000 * insetgraphics.[Ch]:
1001 * insetgraphicsParams.[Ch]: always store an absolute
1004 2003-06-02 André Pönitz <poenitz@gmx.net>
1008 * insetlatexaccent.C: remove duplicated call to metrics()
1010 2003-06-02 John Levon <levon@movementarian.org>
1012 * insettabular.C: fix resize of column width
1014 2003-06-02 John Levon <levon@movementarian.org>
1019 * insetparent.C: remove insetparent
1021 2003-06-02 André Pönitz <poenitz@gmx.net>
1028 * insetcollapsable.[Ch]:
1032 * insetgraphics.[Ch]:
1033 * insetinclude.[Ch]:
1034 * insetlatexaccent.[Ch]:
1035 * insetminipage.[Ch]:
1036 * insetnewline.[Ch]:
1039 * insetspecialchar.[Ch]:
1040 * insettabular.[Ch]:
1041 * insettext.[Ch]: unify first drawing phase
1044 * insetbase.h: move validate() to the base
1046 2003-05-31 Angus Leeming <leeming@lyx.org>
1048 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
1050 2003-05-30 André Pönitz <poenitz@gmx.net>
1055 * insetcaption.[Ch]:
1056 * insetcollapsable.[Ch]:
1059 * insetgraphics.[Ch]:
1060 * insetinclude.[Ch]:
1061 * insetlatexaccent.[Ch]:
1062 * insetnewline.[Ch]:
1065 * insetspecialchar.[Ch]:
1066 * insettabular.[Ch]:
1068 * updatableinset.[Ch]: unify second drawing phase
1070 2003-05-30 John Levon <levon@movementarian.org>
1072 * insetgraphics.C: fix a bformat
1074 2003-05-29 John Levon <levon@movementarian.org>
1076 * insettabular.C: remove unused bufferOwner()
1078 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1080 * insettext.C (lockInsetInInset): adjust
1081 (getLabelList): use const_iterator, adjust
1082 (getInsetFromID): use const_iterator, adjust
1083 (addPreview): use const_iterator, adjust
1085 * insetwrap.C (clone): remove const_cast
1087 * insetnote.C (clone): remove const_cast
1089 * insetminipage.C (clone): remove const_cast
1091 * insetmarginal.C (clone): remove const_cast
1093 * insetfoot.C (clone): remove const_cast
1095 * insetfloat.C (clone): remove const_cast
1097 * insetert.C (clone): remove const_cast
1099 * delete commented same_id functions from a lot of files.
1101 2003-05-28 John Levon <levon@movementarian.org>
1107 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
1109 * insetminipage.C: fix metrics (bug 1144)
1111 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1113 * insettext.C (saveLyXTextState): adjust
1114 (restoreLyXTextState): adjust
1117 (unlockInsetInInset): adjust
1118 (localDispatch): adjust
1119 (getLyXText): adjust
1121 * insettabular.C (insertAsciiString): adjust
1123 2003-05-27 André Pönitz <poenitz@gmx.net>
1126 * insetcollapsable.C:
1129 * insetlatexaccent.C:
1134 * insetspecialchar.C:
1136 * insettext.C: dim.w -> dim.wid
1138 2003-05-26 John Levon <levon@movementarian.org>
1140 * insettabular.C: avoid drawing all of a long table
1141 if it's not needed. A big speedup
1143 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1145 * remove same_id from function signatures, adjust
1147 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1149 * insettext.C (InsetText): adjust
1151 (setParagraphData): separate same_id cases, adjust
1152 (appendParagraphs): adjust
1153 (appendParagraphs): adjust
1155 2003-05-23 André Pönitz <poenitz@gmx.net>
1157 * insetbutton.h: whitespace
1159 * insettabular.C: more compact code
1161 * updatableinset.C: remove const_cast
1164 2003-05-23 Angus Leeming <leeming@lyx.org>
1166 * insetexternal.C (write): check how many lines are output.
1167 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
1168 if the template has defined it.
1170 2003-05-23 Angus Leeming <leeming@lyx.org>
1172 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
1174 2003-05-23 Angus Leeming <leeming@lyx.org>
1176 * insetfoot.C (latex):
1177 * inseturl.C (latex): rename fragile as moving_arg.
1179 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1181 * inseterror.C (localDispatch): comment out unused var.
1183 2003-05-22 Angus Leeming <leeming@lyx.org>
1185 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
1186 passed through the LatexRunParams arg.
1188 2003-05-22 Angus Leeming <leeming@lyx.org>
1190 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
1191 through the LatexRunParams arg.
1193 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
1194 arg rather than through a global var.
1196 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1198 * insetspecialchar.C (dimension): use a string.
1200 2003-05-22 Angus Leeming <leeming@lyx.org>
1202 * insetbibtex.C (latex):
1203 * insetgraphics.C (latex):
1204 * insetinclude.C (latex): extract the buffer's 'nice'ness from
1205 runparams rather than from the buffer itself.
1207 2003-05-22 Angus Leeming <leeming@lyx.org>
1209 * inset*.[Ch] (latex):
1210 passed a LatexRunParams parameter.
1212 * insetgraphics.C (latex): actually use it ;-)
1214 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
1216 * insetfloat.C (addToToc): trivial compile fix
1218 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1220 * insettext.[Ch] (paragraph): delete unused function
1222 * insetfloat.C (addToToc): parlist simplfication
1224 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1226 * insetspace.[Ch]: added (new space insets)
1228 * inset.h: handle new space insets
1230 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1232 * insetfloat.C (addToToc): adjust
1234 2003-05-21 André Pönitz <poenitz@gmx.net>
1236 * insettext.[Ch]: fix drawing bug introduced earlier
1238 2003-05-19 André Pönitz <poenitz@gmx.net>
1240 * insetspecialchar.C: fix bug introduced yesterday
1242 2003-05-19 André Pönitz <poenitz@gmx.net>
1246 * insetcollapsable.[Ch]:
1250 * insetgraphics.[Ch]:
1251 * insetgraphicsParams.[Ch]:
1252 * insetlatexaccent.[Ch]:
1253 * insetminipage.[Ch]:
1254 * insetnewline.[Ch]:
1256 * insetspecialchar.[Ch]:
1257 * insettabular.[Ch]:
1258 * insettext.[Ch]: dimensions() instead of ascend/descend/width
1260 2003-05-19 André Pönitz <poenitz@gmx.net>
1263 * insettext.C: more insetenv
1265 2003-05-16 André Pönitz <poenitz@gmx.net>
1268 * insetminimpage.[Ch]:
1269 * insetcollapsable.[Ch]: fix #832
1271 2003-05-16 André Pönitz <poenitz@gmx.net>
1274 * insetbibitem.[Ch]:
1278 * insetcollapsable.[Ch]:
1279 * insetcommand.[Ch]:
1282 * insetexternal.[Ch]:
1283 * insetfloatlist.[Ch]:
1284 * insetgraphics.[Ch]:
1285 * insetinclude.[Ch]:
1288 * insetlatexaccent.[Ch]:
1291 * insettabular.[Ch]:
1295 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
1297 2003-05-13 André Pönitz <poenitz@gmx.net>
1300 * insetcollapsable.C:
1304 * insetwrap.C: tostr from own header
1316 * insetwrap.C: STRCONV
1319 2003-05-12 André Pönitz <poenitz@gmx.net>
1331 * insetwwrap.C: boost::format -> bformat all over the place
1333 2003-05-05 André Pönitz <poenitz@gmx.net>
1335 * insettext.h: add missing #include <map>
1337 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1339 * insettext.C (InsetText): parlist cleanup
1342 (insetUnlock): ditto
1344 (lockInsetInInset): ditto
1348 (searchBackward): ditto
1349 (collapseParagraphs): ditto
1351 2003-05-06 John Levon <levon@movementarian.org>
1353 * insetcaption.C: don't cast wrap inset to InsetFloat
1356 * insetfloat.C: remove unneeded type() function
1358 2003-05-05 André Pönitz <poenitz@gmx.net>
1362 * insettabular.[Ch]:
1363 * insetcollapsable.[Ch]: remove unused function firstParagraph()
1364 replace getFirstParagraph() by getParagraphs()
1366 2003-05-03 John Levon <levon@movementarian.org>
1368 * insetcollapsable.h:
1369 * insetcollapsable.C:
1375 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
1376 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
1377 getCursor(). Remove explicit cursor hides.
1379 2003-05-02 André Pönitz <poenitz@gmx.net>
1381 * insettext.C: remove unneeded &*
1383 2003-04-30 John Levon <levon@movementarian.org>
1385 * insettabular.C: fix edit message
1387 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1389 * insettext.C (setFont): do not convert iterator -> pointer
1391 * insettabular.C (localDispatch): do not convert iterator -> pointer
1393 (tabularFeatures): ditto
1395 2003-04-29 André Pönitz <poenitz@gmx.net>
1397 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
1399 2003-04-28 André Pönitz <poenitz@gmx.net>
1401 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1404 2003-04-25 André Pönitz <poenitz@gmx.net>
1406 * insetenv.C: derive from InsetText instead of InsetCollapsable
1408 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1410 * insetexternal.C (string2params): dont do anything if the string
1412 * insetgraphics.C (string2params): ditto
1413 * insetcommand.C (string2params): ditto
1414 * insetert.C (string2params): ditto
1415 * insetfloat.C (string2params): ditto
1416 * insetinclude.C (string2params): ditto
1417 * insetminipage.C (string2params): ditto
1418 * insettabular.C (string2params): ditto
1419 * insetwrap.C (string2params): ditto
1421 2003-04-24 André Pönitz <poenitz@gmx.net>
1423 * insetref.C: support for eqref
1425 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1427 * insetert.C (read): use ParagraphList::iterator.
1429 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1431 * insetquotes.C (latex): comment some code and add warnings.
1433 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1435 * insetexternal.C (localDispatch): added a missing DISPATCHED
1437 2003-04-12 John Levon <levon@movementarian.org>
1439 * insetwrap.C (addToToc): fix a crash, conversion
1440 from while to for loop forgot to remove the explicit
1443 2003-04-10 John Levon <levon@movementarian.org>
1445 * insettabular.C (tabularFeature): make sure
1446 to update the dialog when we change something
1449 (getStatus): don't disable some lfuns (bug 939)
1451 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1453 * insettext.C (saveLyXTextState): adjust
1454 (localDispatch): adjust
1460 * insettabular.C (localDispatch): adjust
1462 (tabularFeatures): adjust
1464 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1466 * insettabular.C (searchForward,searchBackward): fix bug 782
1468 2003-04-07 John Levon <levon@movementarian.org>
1471 * insettext.C: clear status message on inset exit
1473 2003-04-03 John Levon <levon@movementarian.org>
1475 * insetcommand.C: return dispatched on DIALOG_UPDATE
1477 2003-04-02 John Levon <levon@movementarian.org>
1479 * insettabular.C: tab lfuns renamed
1481 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1483 * insettext.C (update): move towards ParagraphList
1484 (updateLocal): ditto
1486 (insetUnlock): ditto
1488 (lockInsetInInset): ditto
1489 (updateInsetInInset): ditto
1490 (localDispatch): ditto
1493 (resizeLyXText): ditto
1494 (searchBackward): ditto
1495 (collapseParagraphs): ditto
1498 * insetwrap.C (InsetWrap): adjust
1499 (addToToc): adjust and rewrite loop
1501 * insettext.[Ch] (paragraph): delete function
1503 * insettabular.C (moveNextCell): adjust
1504 (movePrevCell): adjust
1505 (insertAsciiString): adjust
1507 * insetfloat.C (InsetFloat): adjust
1510 * insetert.C (InsetERT): adjust
1511 (write): adjust, and rewrite loop
1512 (latex): adjust, and rewrite loop
1513 (linuxdoc): adjust, and rewrite loop
1514 (docbook): adjust, and rewrite loop
1515 (localDispatch): adjust
1516 (get_new_label): adjust
1518 2003-04-01 John Levon <levon@movementarian.org>
1520 From Alfredo Braunstein
1523 * insetbutton.C: add localDispatch()
1525 * insetcommand.C: return DISPATCHED when edit() called
1527 * insettext.C: fix bug 967
1529 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1531 * insettext.C: adjust
1533 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1535 * insettext.C (draw): adjust
1536 (crow): return a RowList::iterator not a Row*
1538 * insetminipage.C (localDispatch): adjust
1540 * insetert.C (localDispatch): adjust
1542 2003-03-31 John Levon <levon@movementarian.org>
1545 * insetgraphicsParams.C: use_gui moved to lyx_gui
1547 2003-03-31 John Levon <levon@movementarian.org>
1549 * insettext.C: Alert fix
1551 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1553 * insettext.C (ascent): adjust for RowList
1556 (getLyXText): adjust
1557 (toggleSelection): adjust
1559 * insetminipage.C (localDispatch): adjust for RowList
1561 * insetert.C (localDispatch): adjust for RowList
1562 (getMaxWidth): adjust for RowList
1564 2003-03-29 John Levon <levon@movementarian.org>
1566 * insetert.C: Alert cleanup
1568 2003-03-29 John Levon <levon@movementarian.org>
1570 * insettabular.C: Alert fix
1572 2003-03-28 John Levon <levon@movementarian.org>
1574 * insetfloat.C: reset label on INSET_MODIFY
1576 2003-03-28 John Levon <levon@movementarian.org>
1578 * insetgraphicsParams.C: read subcaptionText as a whole line
1581 2003-03-28 John Levon <levon@movementarian.org>
1583 * insettext.C: remove unused prototypes
1585 2003-03-25 Angus Leeming <leeming@lyx.org>
1587 * insetbibitem.C (localDispatch): repaint the view after modifying
1588 a bibitem inset in case the maximum InsetBibitem width has changed.
1590 2003-03-25 John Levon <levon@movementarian.org>
1593 * insettabular.C: LyXText renamings
1595 2003-03-24 John Levon <levon@movementarian.org>
1597 * insettext.C: remove some dead code. Fix bug 972 and
1598 related by posting a repaint in updateLocal(), and making
1599 the SEL functions set SELECTION.
1601 2003-03-22 John Levon <levon@movementarian.org>
1604 * inset.C: remove no-longer-needed topx_set
1606 * insetcollapsable.h:
1607 * insetcollapsable.C: remove dead code
1610 * insetert.C: rebreak the rows when a possible
1611 change in size is made, and reset the cursor
1614 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
1616 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
1617 topx_set. Fix drawing errors for clearInset(). Remove
1618 some unnecessary uses of topx, which should die.
1620 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
1621 is no longer needed. Replace it with an ugly hack.
1623 2003-03-20 John Levon <levon@movementarian.org>
1626 * insetcollapsable.h:
1627 * insetcollapsable.C:
1635 * insettext.C: remove spurious font parameter
1636 from update(). Fix drawing of ERT insets inside
1637 insets (bug 966). Remove unused mark_dirty from
1638 tabular's updateLocal()
1640 2003-03-19 John Levon <levon@movementarian.org>
1649 * insetwrap.C: remove unused getter/setters
1651 2003-03-19 John Levon <levon@movementarian.org>
1653 * several files: bv->updateInset() doesn't take
1654 a bool mark_dirty any more
1656 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1658 * adjust for BufferView* arg removal from lyxtext.
1660 2003-03-17 John Levon <levon@movementarian.org>
1662 * most files: remove the "cleared" parameter
1663 to draw in favour of always clearing. Associated
1666 2003-03-16 John Levon <levon@movementarian.org>
1668 * insettext.C: remove unused s.refresh
1670 2003-03-13 Angus Leeming <leeming@lyx.org>
1672 * insettext.C (edit): replace Dialogs::updateParagraph with
1673 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
1675 2003-03-13 André Pönitz <poenitz@gmx.net>
1677 * Makefile.am: insert insetenv
1679 * insethenv.[Ch]: new files, currently inactive
1681 2003-03-12 John Levon <levon@movementarian.org>
1691 * insettext.C: use new insetnewline
1693 2003-03-12 John Levon <levon@movementarian.org>
1695 * insettext.C: readToken became readParagraph
1697 2003-03-12 John Levon <levon@movementarian.org>
1699 * insettext.C: use parlist iterator for reading contents
1701 2003-03-12 John Levon <levon@movementarian.org>
1703 * insettext.C: name change to readToken()
1705 2003-03-11 André Pönitz <poenitz@gmx.net>
1707 * Makefile.am: insert insethfill
1709 * insethfill.[Ch]: new files
1711 2003-03-10 Angus Leeming <leeming@lyx.org>
1713 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
1715 (hideDialog): calls the new static Dialogs::hide() method.
1717 * insetbibitem.C (edit):
1718 * insetbibtex.C (edit):
1719 * insetcite.C (edit):
1720 * insetcommand.C (localDispatch):
1721 * inseterror.C (d-tor):
1722 * insetert.C (showInsetDialog):
1723 * insetexternal.C (localDispatch, edit):
1724 * insetfloat.C (localDispatch, showInsetDialog):
1725 * insetfloatlist.C (edit):
1726 * insetgraphics.C (localDispatch, edit):
1727 * insetinclude.C (localDispatch, edit):
1728 * insetindex.C (edit):
1729 * insetlabel.C (edit):
1730 * insetminipage.C (localDispatch, showInsetDialog):
1731 * insetref.C (edit):
1732 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
1733 resetPos, showInsetDialog, openLayoutDialog):
1734 * insettoc.C (edit):
1735 * inseturl.C (edit):
1736 * insetwrap.C (localDispatch, showInsetDialog):
1737 changes due to the changed MailInset interface.
1739 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
1741 * insetfloat.h: Set default placement to an empty string.
1743 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1745 * insettext.C (latex): adjust call to latexParagraphs.
1747 2003-03-10 Angus Leeming <leeming@lyx.org>
1749 * mailinset.C: warn the user if the BufferView has not been cached.
1751 2003-03-10 Angus Leeming <leeming@lyx.org>
1753 * inset.h, insetbase.h: move cache() and view() into InsetBase.
1755 * insetcommand.h (inset):
1756 * insetert.h (inset):
1757 * insetexternal.h (inset):
1758 * insetfloat.h (inset):
1759 * insetgraphics.h (inset):
1760 * insetinclude.h (inset):
1761 * insetminipage.h (inset):
1762 * insettabular.h (inset):
1763 * insetwrap.h (inset):
1764 * mailinset.h (inset): return an InsetBase &, not an Inset &.
1766 2003-03-10 Angus Leeming <leeming@lyx.org>
1768 * insetcommand.C (string2params):
1769 * insetexternal.C (string2params):
1770 * insetfloat.C (string2params):
1771 * insetgraphics.C (string2params):
1772 * insetinclude.C (string2params):
1773 * insetminipage.C (string2params):
1774 * insettabular.C (string2params):
1775 * insetwrap.C (string2params): cure warning message about missing
1778 2003-03-09 Angus Leeming <leeming@lyx.org>
1780 * insettabular.[Ch]: define a new class InsetTabularMailer and use
1781 it to communicate with the frontend dialogs.
1783 * mailinset.C (hideDialog): only hide the dialog if it is showing the
1784 contents of this inset!
1786 2003-03-07 Angus Leeming <leeming@lyx.org>
1788 * inseterror.C (localDispatch): new method; calls edit() on
1791 2003-03-07 Angus Leeming <leeming@lyx.org>
1793 * insetbibitem.C (localDispatch):
1794 * insetbibtex.C (localDispatch):
1795 * insetlabel.C (localDispatch):
1796 rewrite as a switch.
1798 2003-03-07 Angus Leeming <leeming@lyx.org>
1800 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
1801 it to communicate with the frontend dialogs.
1803 2003-03-07 Angus Leeming <leeming@lyx.org>
1805 * insetexternal.C: remove operator== and operator!= for
1806 InsetExternal::Params. They were used only by the old controller
1809 2003-03-07 Angus Leeming <leeming@lyx.org>
1811 * insetcommand.C (localDispatch):
1812 * insetexternal.C (localDispatch):
1813 * insetfloat.C (localDispatch):
1814 * insetinclude.C (localDispatch):
1815 * insetminipage.C (localDispatch):
1816 * insetwrap.C (localDispatch):
1817 add LFUN_INSET_DIALOG_UPDATE to the switch.
1819 2003-03-07 Angus Leeming <leeming@lyx.org>
1821 * insetcommand.C (string2params):
1822 * insetexternal.C (string2params):
1823 * insetfloat.C (string2params):
1824 * insetinclude.C (string2params):
1825 * insetwrap.C (string2params): use LyXLeX more.
1828 * insetexternal.[Ch]:
1830 * insetinclude.[Ch]:
1831 * insetwrap.[Ch]: change Mailer::name_ to be static.
1833 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
1834 it to communicate with the frontend dialogs.
1836 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1839 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
1841 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1843 * insettext.C (updateLocal): un-const function
1844 (updateLocal): adjust
1845 (collapseParagraphs): un-const function
1846 (collapseParagraphs): adjust
1848 2003-03-05 Angus Leeming <leeming@lyx.org>
1850 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
1851 it to communicate with the frontend dialogs.
1853 2003-03-05 Angus Leeming <leeming@lyx.org>
1855 * insetcollapsable.C (draw): cache the BufferView.
1857 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
1858 it to communicate with the frontend dialogs.
1860 2003-03-05 Angus Leeming <leeming@lyx.org>
1862 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
1865 2003-03-05 Angus Leeming <leeming@lyx.org>
1867 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
1869 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
1870 it to communicate with the frontend dialogs.
1872 2003-03-05 Angus Leeming <leeming@lyx.org>
1874 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
1875 it to communicate with the frontend dialogs.
1877 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1879 * insettext.C (collapseParagraphs): adjust
1880 (appendParagraphs): make it take a Buffer* instead of a
1881 BufferParams& as arg.
1882 (appendParagraphs): adjust
1884 2003-03-04 Angus Leeming <leeming@lyx.org>
1886 * insetbibitem.C (localDispatch):
1887 * insetbibtex.C (localDispatch):
1888 * insetcommand.C (localDispatch):
1889 * insetert.C (localDispatch):
1890 * insetlabel.C (localDispatch):
1891 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
1893 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1895 * insettext.C (latex): adjust for ParagraphList::iterator
1897 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1899 * insetbutton.C (view): adjust for boost 1.30.0
1900 * insetcollapsable.C (view): ditto
1901 * insetgraphics.C (statusChanged): ditto
1903 * insettext.h: move paragraphs to be public.
1905 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1907 * insetnote.[Ch] (InsetNote): remove unused constructor
1909 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1911 * insetgraphics.C: added include "format.h"
1913 2003-02-27 Angus Leeming <leeming@lyx.org>
1915 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
1918 2003-02-27 Angus Leeming <leeming@lyx.org>
1920 * insetbibitem.C (localDispatch):
1921 * insetbibtex.C (localDispatch):
1924 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1926 2003-02-26 Angus Leeming <leeming@lyx.org>
1928 * insetbibitem.[Ch] (localDispatch):
1929 * insetbibtex.[Ch] (localDispatch):
1930 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
1932 * insetcommand.C (localDispatch):
1933 act only on receipt of LFUN_XYZ_APPLY.
1935 * insetert.C (localDispatch): reformat.
1936 add LFUN_XYZ_APPLY to the switch.
1938 2003-02-26 John Levon <levon@movementarian.org>
1940 * insettext.C: use RowPainter
1942 * inset.h: make helpers take const *
1944 2003-02-26 Angus Leeming <leeming@lyx.org>
1946 * insetcommand.[Ch] (localDispatch): new method.
1948 2003-02-26 Angus Leeming <leeming@lyx.org>
1950 * insetinclude.C (draw): cache the BufferView* using cache not
1951 PreviewImpl::setView
1953 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
1955 * insetgraphics.C (draw)
1956 * insetinclude.C (draw): Eliminate also the other argument (owner
1957 inset inset) in the call to PreviewImage::image
1959 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
1961 * insetgraphics.C (draw)
1962 * insetinclude.C (draw): Eliminate Buferview argument in call to
1965 2003-02-25 John Levon <levon@movementarian.org>
1967 * insetgraphicsParams.h:
1968 * insetgraphics.C: don't start a load process if
1969 the inset is set to NoDisplay (bug #920)
1971 2003-02-22 John Levon <levon@movementarian.org>
1974 * insetwrap.C: TocItem changed API (bug 913)
1976 2003-02-21 Angus Leeming <leeming@lyx.org>
1978 * insetcollapsable.[Ch] (cache, edit):
1979 * insetbutton.[Ch] (cache, edit): new methods to cache the
1980 BufferView in the draw method.
1982 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
1983 simplify comunication between InsetCommand-derived classes and
1986 * insetbibitem.[Ch]:
1990 * insetfloatlist.[Ch]:
1994 * inseturl.[Ch]: small changes to reflect the new interface to the
1997 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
1998 other, similar classes.
2000 * Makefile.am: add new files.
2002 2003-02-21 Angus Leeming <leeming@lyx.org>
2004 * updatableinset.h (setView, view): remove.
2005 * inset.h (view, cache): to be replaced by these.
2007 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
2010 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
2013 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
2015 2003-02-21 Allan Rae <rae@lyx.org>
2017 * insetinclude.C (loadIfNeeded): ensure loading also works when
2018 child document is under version control.
2020 2003-02-17 André Pönitz <poenitz@gmx.net>
2022 * insetbib.[Ch]: Adjust access to bibkeys
2024 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2026 * insetquotes.C (dispString): remove use of acute accent for "'"
2029 2003-02-14 John Levon <levon@movementarian.org>
2031 * insettabular.C: changed method names in tabular.C
2033 2003-02-14 John Levon <levon@movementarian.org>
2037 * insetcollapsable.h:
2038 * insetcollapsable.C:
2042 * insettext.C: remove unused getParFromID()
2044 2003-02-13 John Levon <levon@movementarian.org>
2047 * insettext.C: remove unused beginningofMainBody()
2049 2003-02-08 John Levon <levon@movementarian.org>
2053 * insetcollapsable.h:
2054 * insetcollapsable.C:
2059 add nextChange(). Make allowSpellcheck() const. Add markErased().
2061 * insetert.C: ignore deleted text
2063 * insettabular.C: make sure to keep change tracking working
2066 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2071 * insettext.C: Use error messages with identical spelling and punctuation
2073 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
2075 * insetgraphics.C (draw, width): Fix spacing around graphics inset
2077 2002-12-17 Juergen Vigna <jug@lyx.org>
2079 * insettext.C (localDispatch): hopefully fixed cursor up down
2080 movement on leaving other insets.
2082 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2084 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
2087 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2089 * insetgraphics.C (prepareFile): do not remove the extension of
2090 the file name if it is not the default extension for the given
2091 format (that is, in latex output, remove extension from foo.eps,
2092 but not from foo.epsi)
2094 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2096 * insettext.C (lfunMouseRelease): hackish solution to the "double
2099 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2101 * insetfloat.C (addToToc): use the floats name not its type
2102 * insetwrap.C (addToToc): ditto
2104 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2106 * insetnote.C (init): make label font smaller
2108 2002-12-04 John Levon <levon@movementarian.org>
2110 * insetinclude.C: ressurect setting of command name
2112 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2114 * insetquotes.C (dispString): disambiguate insert call
2116 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2118 * several files: ws changes
2120 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2122 * insetquotes.C (dispString): use string::insert for prepending a
2125 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2127 * insetparent.C (getScreenLabel): use boost::format
2129 * insetgraphics.C (prepareFile): use boost::format
2132 * insetfloatlist.C (latex): use boost::format
2134 * insetcaption.C (draw): use boost::format
2136 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2138 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
2141 2002-11-20 Juergen Vigna <jug@sad.it>
2143 * insettabular.C (resetPos): temporary fix for endless loop in
2144 this function on a redraw.
2146 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2148 * insettabular.C (copySelection): STRCONV
2150 * insetinclude.C (uniqueID): STRCONV
2151 (latexString): ditto
2153 * insetgraphics.C: put VersionNumber inside anon namespace
2154 (createLatexOptions): STRCONV
2156 * insetcommandparams.C: include config.h
2158 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
2160 * insetgraphicsParams.C (Write): use lyx::float_equal.
2161 Write height data correctly.
2162 (Read): zero scale when reading height data.
2164 2002-10-30 John Levon <levon@movementarian.org>
2166 * insetfloat.C (addToTOC): recursively traverse all
2167 contents looking for captions (fix #568)
2169 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2171 * insetexternal.C (doSubstitution): do not try to replace
2172 environment variables, this is done when executing the command
2174 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2176 * insetexternal.C (doSubstitution): change order of substitution
2177 to work around ReplaceEnvironmentPath brokenness
2179 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
2181 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
2183 * insetgraphicsParams.C (init, Write): associated changes
2184 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
2185 InsetGraphicsParams::scale.
2187 2002-10-21 John Levon <levon@movementarian.org>
2189 * inset.h: remove unused DISPATCH_RESULT
2191 * insettext.C: sgml open/close tag now in sgml namespace
2193 2002-10-21 Angus Leeming <leeming@lyx.org>
2195 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
2196 file path subdir/fig.eps when pasting it into a buffer in a different
2199 2002-10-16 John Levon <levon@movementarian.org>
2201 * insetspecialchar.C: remove \\protected_separator parsing
2203 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2205 * insetquote.C: fix LaTeX output of quotation marks.
2207 2002-10-14 Juergen Vigna <jug@sad.it>
2209 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
2210 Backspace functions which confused the Undo handling.
2212 2002-10-09 Angus Leeming <leeming@lyx.org>
2214 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
2215 BufferView::dispatch that turns off this optimisation when a new inset
2218 * insetcite.C (getNatbibLabel): correct logic of when and when not to
2219 reload the BibTeX keys.
2221 2002-10-11 André Pönitz <poenitz@gmx.net>
2223 * insettext.h: handle LFUN_PRIOR/NEXT
2225 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2227 * insetfloat.C: fix bug with float settings
2228 (document default != float default).
2230 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2232 * insetwrap.C (addToToc): New method.
2233 (InsetWrap): Set layout to caption.
2235 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2237 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
2239 2002-09-16 John Levon <levon@movementarian.org>
2241 * insettabular.h: hasSelection() needs to be public
2243 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2245 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2247 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2249 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2251 2002-09-11 André Pönitz <poenitz@gmx.net>
2253 * insettabular.C: implement LFUN_WORDSEL
2255 2002-09-10 John Levon <levon@movementarian.org>
2257 * insetinclude.h: remove unused param
2259 2002-09-09 John Levon <levon@movementarian.org>
2262 * insetinclude.C: remove noload, default to input
2264 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
2266 * insetgraphics.C: disfuscated use of ']' in built output string.
2268 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2270 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
2272 2002-08-29 Juergen Vigna <jug@sad.it>
2274 * insettabular.C (lfunMousePress): Pay attention where you set
2275 the x/y values as they depend on which inset in the tabular is
2276 actually locked. So you surely have to reset them if you (un)lock
2279 2002-08-29 André Pönitz <poenitz@gmx.net>
2281 * insetfootlike.h: rename include guard to ALL CAPS
2283 * insettext.C: swap object and first parameter for checkInsetHit calls
2284 as this functions has moved from BufferView to LyXText
2287 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2289 * insetgraphicsParams.C: remove local displayTranslator and use
2290 the one from graphics/GraphicsTypes.h.
2292 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2294 * insetfloat.C (wide): add BufferParams parameter
2296 * insetfloatlist.C (read):
2299 * insetfloat.C (latex):
2301 * insetcaption.C (draw): use LyXTextClass::floats()
2303 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2305 * insetoptarg.h: add std:: qualifier.
2307 2002-08-26 Juergen Vigna <jug@sad.it>
2309 * insettext.C (localDispatch): ditto.
2311 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
2313 2002-08-25 John Levon <levon@movementarian.org>
2315 * inseturl.C: elide long URLs (bug 404)
2317 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2319 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
2320 remove "Format Version <version_no.>" string from inset header
2323 * insetgraphicsParams.[Ch]: Implement new graphics dialog
2325 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
2326 a member of "grfx::Params" anymore.
2328 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
2330 2002-08-24 John Levon <levon@movementarian.org>
2333 * insetoptarg.C: ws, pedantry ...
2335 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2337 * insettext.C (collapseParagraphs): pasteParagraph now in global
2339 (appendParagraphs): ditto
2341 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
2343 * insetcite.C (latex): Remove spaces only after commmas.
2345 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2347 * insettext.C: remove NO_COMPABILITY stuff
2349 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2351 * insettext.C (edit): use ParagraphList iterators
2353 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
2354 (bibitemWidest): ditto
2356 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2358 * insettext.C: include <boost/bind.hpp>
2359 add using std::for_each
2360 (saveLyXTextState): use ParagraphsList::iterator
2361 (init): use for_each on paragraphlist iterators
2362 (InsetText): remove superflous setting cached_bview to 0
2363 (latex): reformat a bit
2364 (ascii): use paragraphlist iterators
2365 (validate): use for_each + boost bind
2366 (getLabelList): use paragraphlist iterators
2367 (deleteLyXText): use for_each + boost::bind
2368 (resizeLyXText): ditto
2369 (reinitLyXText): ditto
2370 (removeNewlines): use paragraphlist iterators
2371 (getParFromID): ditto
2372 (paragraph): use for_each + boost::bind
2373 (getInsetFromID): use paragraphlist iterators
2374 (getLabelList): typo fix
2376 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2378 * insettext.C (read): assign tmp to paragraphs after return from
2379 call to parseSingleLyXformat2Token
2382 2002-08-13 Angus Leeming <leeming@lyx.org>
2401 changes due to the changed LyXView interface that now returns references
2402 to member variables not pointers.
2404 2002-08-13 Angus Leeming <leeming@lyx.org>
2407 * insetcollapsable.h:
2410 * insettext.h: forward-declare WordLangTuple
2411 (selectNextWordToSpellcheck) constify return type.
2414 * insetcollapsable.C:
2417 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
2419 2002-08-12 Angus Leeming <leeming@lyx.org>
2421 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
2423 2002-08-12 Juergen Vigna <jug@sad.it>
2425 * insetcollapsable.C (edit): ignore if entered when pressing mouse
2428 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2430 * insetbib.C (bibitemMaxWidth): ParagraphList changes
2431 (bibitemWidest): ditto
2432 * insettext.[Ch]: ditto
2434 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2436 * insettext.C, insetert.C: use Paragraph::empty where appropriate
2438 2002-08-09 Angus Leeming <leeming@lyx.org>
2440 * insetinclude.C (latexString): remove fudge now that I've found out
2441 how to enable LaTeX to find the file using input@path.
2443 2002-08-09 John Levon <levon@movementarian.org>
2446 * insettext.C: remove unused xpos
2448 2002-08-07 Juergen Vigna <jug@lyx.org>
2450 * insettabular.C (localDispatch): make delete not put the stuff
2451 in the clipboard only do this on a cut operation.
2453 * insettext.C (localDispatch): make delete and backspace not put
2454 selected stuff to the clipboard.
2456 2002-08-07 André Pönitz <poenitz@gmx.net>
2459 * insetcollapsable.[Ch]:
2463 * insettabular.[Ch]:
2464 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
2466 2002-08-06 John Levon <levon@movementarian.org>
2470 * insetcollapsable.h:
2471 * insetcollapsable.C:
2477 * insettext.C: use WordLangTuple for spellcheck
2479 2002-08-06 Angus Leeming <leeming@lyx.org>
2481 * insetinclude.C: add a monitor to the previewed image, so that the
2482 image is refreshed if the \input-ed file changes.
2484 2002-08-04 John Levon <levon@movementarian.org>
2487 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
2489 2002-08-02 Angus Leeming <leeming@lyx.org>
2491 * insetcommandparams.[Ch] (preview): new methods returning and setting
2492 a new bool preview_ flag.
2493 (read): read this flag.
2494 (operator==): add flag to check.
2496 * insetinclude.C (write): output new preview() flag.
2497 (previewWanted): use this flag.
2499 2002-08-02 Angus Leeming <leeming@lyx.org>
2501 * insetcollapsable.[Ch] (addPreview):
2502 * insettabular.[Ch] (addPreview):
2503 * insettext.[Ch] (addPreview): new methods. Can now generate previews
2504 for insets in insets.
2506 2002-08-02 Angus Leeming <leeming@lyx.org>
2508 * insetcite.C: fix typo.
2510 * insetgraphics.C: kill current_view and instead cache the BufferView
2513 * insetinclude.C: kill current_view and pass the BufferView to the
2514 PreviewedInset so that it can cache it.
2516 2002-08-01 Angus Leeming <leeming@lyx.org>
2518 * inset.h (generatePreview): renamed as addPreview.
2519 (generatePreview): new method. Allows code to be moved out of
2520 math_nestinset.C and into the new PreviewedInset class.
2522 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
2523 add previews to the inset when \input-ing LaTeX.
2525 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2527 * several files: strip,frontStrip -> trim,ltrim,rtrim
2529 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2531 * insetbib.C (latex): modify because of strip changes
2533 * insetnote.C (InsetNote): ditto
2535 2002-07-26 Juergen Vigna <jug@sad.it>
2537 * insettabular.C (searchForward): check for lastcell if we
2538 had a locking inset.
2540 2002-07-25 Juergen Vigna <jug@sad.it>
2542 * insettabular.C (insetMotionNotify): Don't update the screen
2543 if we didn't do nothing.
2544 (searchForward): last cell was not checked.
2546 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2548 * insetfloat.C (read, write): Allow default placement
2549 (floatPlacement_ is empty).
2551 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2553 * insetminipage.h (noFontChange):
2554 * insettabular.h (noFontChange):
2555 * insetfootlike.h (noFontChange):
2556 * insetfloat.h (noFontChange): return true
2558 * inset.h (noFontChange): new method, defaulting to false
2560 2002-07-22 Herbert Voss <voss@lyx.org>
2562 * insetgraphicsParams.[Ch]: support size_type for old docs
2564 2002-07-22 Herbert Voss <voss@lyx.org>
2567 * insetgraphicsParams.[Ch]: change size_type to size_kind and
2570 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2572 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
2574 * insetlatexaccent.h: do not include "lyxlex.h"
2576 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
2579 * insetlatexaccent.C:
2583 * insetbib.C: #include "lyxlex.h"
2589 * insettext.C: use BufferParams::getLyXTextClass
2592 * insetfloat.C (addToToc): new method. Add to toclist the entries
2593 corresponding to Caption layouts
2594 (InsetFloat): when creating a new float, set the layout to "Caption"
2596 2002-07-21 Herbert Voss <voss@lyx.org>
2598 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
2599 image relevant part into graphics/GraphicsImgae.C
2601 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2603 * insettoc.C (ascii):
2604 * insetfloatlist.C (ascii): change to use the new Toc functions
2605 instead of stuff that was in Buffer
2607 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2609 * insettext.C (localDispatch): BufferView::Dispatch has been
2610 renamed to BufferView::dispatch
2612 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2614 * insetgraphicsParams.C (as_grfxParams): use the new
2615 keepLyXAspectRatio parameter. Note that this is an adaptation of a
2616 1.2.0 patch, and I do not really know how to adapt it to the new
2617 grfx::Cache world. Angus, please could you have a look?
2619 2002-05-01 Herbert Voss <voss@lyx.org>
2621 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
2623 2002-07-18 Angus Leeming <leeming@lyx.org>
2625 * insetgraphics.C: clean-up comments (from Herbert).
2626 add a new checksum variable to the cache. Use it in PrepareFile.
2627 (draw): start monitoring the file for a change.
2628 (prepareFile): re-arrange a little to avoid unnecessary steps.
2630 2002-07-17 Angus Leeming <leeming@lyx.org>
2632 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
2633 a method rather than to the signal directly.
2635 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2637 * insettext.C: use view_state_changed, switchKeyMap
2639 2002-07-17 Herbert Voss <voss@perce.de>
2641 * insetgraphics.C (prepareFile): keep the extension when
2642 exporting to nice file
2644 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2646 * insetcite.C (getNatbibLabel):
2647 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
2649 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2651 * insetgraphics.C: use ->isDrawable()
2653 2002-07-12 Angus Leeming <leeming@lyx.org>
2655 * insetgraphics.C: use the new smart loading capabilities of the image
2658 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2660 * insettabular.C (edit): Move into correct cell when entering a
2663 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
2666 2002-07-05 Angus Leeming <leeming@lyx.org>
2668 * inset.h (generatePreview): new virtual method.
2670 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2672 * insetcommandparams.[Ch] (operator=): move out of class
2673 (operator!): move out of class
2675 2002-07-04 André Pönitz <poenitz@gmx.net>
2677 * insetcommandparams.[Ch]: new files
2679 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
2681 2002-06-15 Herbert Voss <voss@perce.de>
2683 * insetgraphics.C (prepareFile): bugfix; return always
2684 files without extension
2686 2002-06-28 Angus Leeming <leeming@lyx.org>
2688 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
2689 rename asGParams -> as_grfxParams.
2691 * insetgraphics.C: reflect above change.
2693 2002-06-26 Angus Leeming <leeming@lyx.org>
2695 * insetgraphics.h: use boost::scoped_ptr in preference to
2698 2002-06-26 Angus Leeming <leeming@lyx.org>
2700 * insetgraphics.C: moved the image loading stuff into a new class
2701 grfx::Loader. Simplifies this file enormously.
2703 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
2705 * insetgraphicsParams.C: changes aassociated with moving
2706 grfx::DisplayType out of grfx::GParams.
2708 2002-06-26 André Pönitz <poenitz@gmx.net>
2710 * insetgraphics.C: use os::external_path where necesaary according to a
2711 patch from Claus Hentschel)
2713 2002-06-25 Angus Leeming <leeming@lyx.org>
2715 * insetgraphics.[Ch]: The inset now assumes the responsibility for
2716 generating a pixmap once the graphics file is loaded into memory.
2717 The current_view ugliness that was in grfx::ModifiedImage has been
2718 moved here now that grfx::ModifiedImage is no more.
2720 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2722 * insettext.C: layout as layout
2724 2002-05-28 André Pönitz <poenitz@gmx.net>
2726 * insetfloatlist.h: remove source of compiler warning
2728 * insetref.C: tiny whitespace
2730 2002-06-15 Herbert Voss <voss@perce.de>
2732 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
2733 and take always convert when no userdefined converter was
2735 (latex) small changes in the lyxerr output
2737 2002-06-15 LyX Development team <lyx@rilke>
2739 * inset*.[Ch] (docbook): Added new argument to take the pernicious
2740 mixed content. Small white spaces clean.
2742 2002-06-14 Angus Leeming <leeming@lyx.org>
2744 * inseetexternal.C: remove the using std::difftime declaration.
2746 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
2748 * insetquotes.C: change lyxfont::draw to font_metrics::draw
2750 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
2752 * insetquotes.C (draw): fix drawing of double quotes
2754 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2756 * insettabular.C: s/scrollCB/scrollDocView/
2758 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2760 * insettext.C: change of topCursorVisible()
2763 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2766 * insettext.C: rename/change of LyXScreen
2768 2002-06-07 Angus Leeming <leeming@lyx.org>
2770 Fixes needed to compile with Compaq cxx 6.5.
2772 all c-library variables have been moved into namespace std.
2773 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2775 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2777 * insetinclude.C (uniqueID):
2778 * insetgraphics.C (uniqueID): renamed from unique_id, since this
2779 conflicted with some AIX headers.
2781 2002-05-31 Juergen Vigna <jug@sad.it>
2783 * insetert.C (get_new_label): add '...' for multi-paragraph ert
2787 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2789 * insetexternal.C (clone): fix () bug when using new
2790 (updateExternal): don't only look for difftime in global scope
2792 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2794 * insettabular.C: add const
2796 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2798 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
2799 file name, in case there are weird characters like ',' in there.
2802 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2804 * switch from SigC signals to boost::signals.
2806 2002-05-28 André Pönitz <poenitz@gmx.net>
2808 * insets/insetgraphicsParams.[Ch]:
2809 put in inset related stuff from src/graphic
2811 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2819 * insetcollapsable.C:
2820 * insetcollapsable.h:
2848 * inseturl.h: use mouse_state. Kill insetKeyPress
2850 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2855 * insetcollapsable.C:
2858 * insetlatexaccent.C:
2860 * insetspecialchar.C:
2862 * insettext.C: name change for font metrics
2864 2002-05-24 Juergen Vigna <jug@sad.it>
2866 * insetgraphics.h: include inset.h first (for LString.h)
2868 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2870 * insettext.C: screen moved
2872 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2890 * inseturl.C: LyXView moved into frontends/
2892 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2897 * insetcollapsable.C:
2901 * insetgraphicsParams.C:
2902 * insetlatexaccent.C:
2904 * insetspecialchar.C:
2906 * insettext.C: move Painter to frontends/
2908 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2910 * insettabular.h: use more specific smart_ptr header.
2911 * insettext.h: ditto
2913 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
2916 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
2918 * insettext.C: clear selection on paste (bug 393)
2920 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
2922 * insettext.C (latex): Honor the moving_arg argument.
2924 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2926 * insetfoot.C (latex): if a footnote is in a title layout, then it
2927 is a \thanks. And then, its contents is a moving argument.
2929 2002-05-14 Juergen Vigna <jug@sad.it>
2931 * insetcollapsable.C (InsetCollapsable): forgot to initialize
2934 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
2936 * Insetcite.C (getNatbibLabel): don't disable natbib label support
2937 when using options "Full author list" or "Upper case".
2939 2002-05-14 Herbert Voss <voss@perce.de>
2941 * insetgraphics.C (prepareFile): allow files with same name
2943 (readFigInset): set the flags from old figinset in the right
2945 (findTargetFormat): more comments
2947 2002-05-14 Juergen Vigna <jug@sad.it>
2949 * insettext.C (edit): tell checkAndActivateInset() that we don't
2950 have a button press.
2951 (checkAndActivateInset): if button < 0 we don't have a button press
2952 on the inset and os we won't call edit on it if it's not a Highly
2953 editable inset (then we have to enter it).
2955 2002-05-13 Juergen Vigna <jug@sad.it>
2957 * insetcollapsable.C (insetButtonRelease): returned wrong return
2960 2002-05-09 Juergen Vigna <jug@sad.it>
2962 * insetcollapsable.C (edit): first_after_edit should only be
2963 set to true if we enter this inset and it was collapsed so we
2964 open it up. This is needed to reclose it after a search/replace
2965 or spellcheck function opened it and was negative.
2967 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
2969 * insetfloat.C (latex): Return correct value.
2971 2002-05-04 Herbert Voss <voss@perce.de>
2973 * InsetgraphicsParams.C (read): fix bug with WH
2975 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
2977 * insetfloat.C (latex): More sensible latex output
2978 (fix the problem with endfloat).
2980 2002-05-02 José Matos <jamatos@fep.up.pt>
2982 * insetgraphics.C (validate): acess params as everyone else.
2984 2002-05-03 Juergen Vigna <jug@sad.it>
2986 * insettabular.C (fitInsetCursor): recalculate the cursor position
2989 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
2991 * InsetgraphicsParams.[Ch]: whitespace.
2993 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
2995 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
2996 float type do not exist.
2998 2002-04-28 Herbert Voss <voss@perce.de>
3000 * insetgraphics.C (latex): fix bug with missing file-extension.
3001 LaTeX still allows a missing "eps" or "ps".
3003 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3005 * insetfloat.C (c-tor, wide): translate the name of the float.
3007 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3009 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
3010 when using natbib and make it work efficiently. Must emphasise that the
3011 real work is Herbert's.
3013 2002-04-23 Herbert Voss <voss@perce.de>
3015 * insetgraphic.C (prepareFile): fix bug with overwriting and
3016 deleting an existing *.eps-file in the doc-dir
3018 2002-04-23 Juergen Vigna <jug@sad.it>
3020 * insettabular.C (drawCellSelection): fix off by 1 error.
3022 2002-04-22 Juergen Vigna <jug@sad.it>
3024 * insettabular.C (setFont): rewoke full selection if it was asked,
3025 after we changed all we had to change.
3027 * insettext.C (insetUnlock): code was uninitialized in some situations.
3029 2002-04-19 Herbert Voss <voss@perce.de>
3031 * insetgraphic.C (prepareFile): return filename without
3032 extension if we only export without compiling
3034 2002-04-19 Juergen Vigna <jug@sad.it>
3036 * insettext.C (draw): call a fullRebreak on the row where we had a
3037 change and reset the cursor and selection-cursors.
3039 * insettabular.C (insetUnlock):
3040 (insetButtonPress): call an update before setting the_locking_inset = 0
3041 as otherwise we don't repaint!
3042 (update): reset the cursor position when we changed dimensions as
3043 otherwise our cursor may be on the wrong spot.
3045 2002-04-18 Juergen Vigna <jug@sad.it>
3047 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
3048 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
3049 redraw otherwise we won't redraw.
3051 * insettext.C (draw): fixed the setting of LyXText::first_y it was
3052 not really right before, but I only discovered this with the last
3053 changes to Page up/down.
3055 2002-04-17 Juergen Vigna <jug@sad.it>
3057 * insettext.C (checkAndActivateInset): simplified as we now have the
3058 edit(bv, bool) call.
3060 * insettext.h: changed behind variables to front variables to be
3061 equal to the one in the edit call (as it is for that they are used).
3063 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3065 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
3066 not output anything at all!
3068 2002-04-16 Juergen Vigna <jug@sad.it>
3070 * insettabular.C (insetButtonPress):
3071 (insetUnlock): call a redraw on unlocking the cell inset.
3073 * insettext.C (insetButtonPress): same as below.
3074 (lockInset): new function to set initial values when inset should
3076 (insetButtonPress): use above function.
3077 (insetUnlock): don't force a repaint only set the updateStatus. The
3078 outside world should repaint if it thinks it should be done!
3080 * insettabular.C (insetButtonPress): init values if not set as locked
3081 as we are locked if someone presses on us and don't call the edit()
3082 call of the InsetText to lock it do it as BufferView does it!
3084 * inset.h (insetInInsetY): make func const and return an int.
3087 * insetcollapsable.C: adapt the above changed function.
3089 2002-04-15 Juergen Vigna <jug@sad.it>
3091 * insettext.C (getCursorPos): return relative position as to be able
3092 to give them directly to the edit() call.
3093 (edit): we have to set also x_fix as it is not set inside the
3094 setCursorFromCoordinates call!
3095 (insetMotionNotify): ditto.
3097 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3099 * insetbib.C (getKeys): strip leading '\t's from the line too.
3100 With thanks to Henry Pfister <hpfister@ucsd.edu>.
3102 2002-04-12 Juergen Vigna <jug@sad.it>
3104 * insettext.h: added cix() helper function and use it where appropriate
3106 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3108 * insetgraphics.C (prepareFile): fix bug when graphics is a
3111 2002-04-12 Juergen Vigna <jug@sad.it>
3113 * insettext.C (insertInset): remove unneeded code!
3114 (updateLocal): fitCursor() fixes.
3115 (collapseParagraphs): fix a possible problem when having a selection
3116 and collapsing the paragraphs.
3118 2002-04-08 Herbert Voss <voss@perce.de>
3120 * insetgraphic.C (write): write the rotating angle as
3121 a float as is. test only for != 0.0
3123 2002-04-11 Juergen Vigna <jug@sad.it>
3125 * insettext.C: new function ciy() and use it for setting inset_y.
3127 * insetert.C (draw): fix the x return for collapsed version.
3129 2002-04-07 Herbert Voss <voss@perce.de>
3131 * insetgraphic.C (readFigInset): fix bug with subcaption and
3134 2002-04-08 Herbert Voss <voss@lyx.org>
3136 * insetgraphicsparam.C: forgot special option and delete old
3139 2002-04-05 Juergen Vigna <jug@sad.it>
3141 * insettext.C (localDispatch): make a CURSOR update if we inserted
3144 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3146 * insetfloatlist.C (getScreenLabel):
3147 (latex): use Floating::listName
3148 (validate): new method
3150 2002-04-03 José Matos <jamatos@fep.up.pt>
3152 * insetlabel.C (docbook): the anchor is an empty element in docbook.
3154 * insetfoot.[Ch] (docbook): added forgotten method.
3156 2002-04-03 Juergen Vigna <jug@sad.it>
3158 * insettext.C (insetButtonPress): fix insetButtonPress events the same
3159 way as in Bufferview_pimpl.
3161 2002-04-03 Allan Rae <rae@lyx.org>
3163 * insetgraphics.C (latex): one % too many makes living on the bleeding
3164 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
3166 2002-03-28 Herbert Voss <voss@lyx.org>
3168 * insetgraphic.C (latex): simplify the code for the latex
3169 output when the file doesn't exist
3171 2002-03-29 Juergen Vigna <jug@sad.it>
3173 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
3176 * insettabular.C (edit): call fitCursor().
3178 * insettext.C (insetButtonPress): change behaviour of no_selection
3179 to the one in the BufferView selection_possible and fix the spurious
3180 selection bug with it.
3181 (localDispatch): revoke selection on BREAK... functions.
3183 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3185 * insetfloatlist.C (getScreenLabel): translate the GUI label.
3187 2002-03-28 Juergen Vigna <jug@sad.it>
3189 * insettabular.C (insetAllowed): return true as default value otherwise
3190 we're not able to insert insets inside paragraphs of an not locked
3193 2002-03-27 Herbert Voss <voss@lyx.org>
3195 * insetgraphicsparam.C: change c%, p% to col%, page%
3197 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3199 * insetspecialchar.C (isLineSeparator): disable the nice code to
3200 allow linebreaks after hyphenation and menu separators.
3202 2002-03-26 Herbert Voss <voss@lyx.org>
3204 * insetgraphics.C (figinsetRead): set the right lyxview
3206 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3208 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
3209 $\backslash$ and pass a "string const &" to the function.
3210 (prepareFile, latex): use Path rather than MakeAbsPath.
3212 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3214 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
3215 proper fix to the graphics cache.
3216 (latex): "really" nice output if the file is not found ;-)
3218 2002-03-26 Juergen Vigna <jug@sad.it>
3220 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
3221 (collapseParagraphs): fixed inserting of separator ' '
3223 * insettabular.C (insertAsciiString): only check for buffer lenght
3224 not if we have \t or \n inside the buffer as if we don't have we only
3225 have 1 cell and that's it!
3227 * insetert.C (close): don't collapse if inlined.
3229 2002-03-25 Herbert Voss <voss@lyx.org>
3231 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
3232 graphics file does not exist.
3234 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
3236 * insetgraphics.C (prepareFile): ensure that the file has an absolute
3237 path when preparing export.
3239 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
3240 no longer MakeRelPath.
3242 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3244 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
3245 Used to determine the absolute path to the graphics file in the
3246 graphics cache and only in the graphics cache.
3247 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
3248 make graphics file name absolute if it is stored as a relative path.
3250 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
3251 make graphics file name absolute if it is stored as a relative path.
3253 * insettext.C (edit): emit an updateParagraph signal on entering a text
3254 inset. Needs to be emitted when leaving the inset also.
3256 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3258 * all files: ws cleanup
3260 * Makefile.am: remove ld -r stuff
3262 2002-03-21 Juergen Vigna <jug@sad.it>
3264 * insettext.C (appendParagraphs): new function added to append
3265 the paragraphs to this insets paragraphs.
3267 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3269 * Makefile.am: special rules if partial linking
3271 2002-03-19 Juergen Vigna <jug@sad.it>
3273 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
3275 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
3277 * insetgraphics.C: Clean up Baruch's comments a little.
3278 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
3280 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
3283 * insettheorem.C: wrap warnings
3285 * insetgraphics.C: improve messages, move cached_status_
3286 setting to safer place
3288 2002-03-18 Juergen Vigna <jug@sad.it>
3290 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
3292 (localDispatch): ditto
3294 * insettext.C (edit): removed unneeded showCursor calls.
3295 (localDispatch): ditto.
3297 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3299 * insetgraphics.h: remove display() method.
3301 2002-03-11 Juergen Vigna <jug@sad.it>
3303 * insetgraphics.C (draw): hack to fix the redrawing bug.
3304 (draw): seems this fixes #268 (force redraw of row if we changed).
3306 * insettext.C (updateInsetInInset): fixed for updates in insets inside
3307 this inset text (don't know why I missed this earlier).
3309 2002-03-08 Juergen Vigna <jug@sad.it>
3311 * insettabular.C (updateLocal): do a FULL update if we're not locked
3312 and only a CELL update is asked.
3314 * insettext.C (updateInsetInInset): update insets inside inset also
3315 if it isn't inside the_locking_inset.
3317 * insettabular.C (updateInsetInInset): ditto.
3319 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3321 * insetexternal.C (doSubstitution): check whether we are using a
3322 temp dir for defining $$FPath
3324 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3327 * insettext.C: remove #include "WorkArea.h".
3329 2002-03-06 Juergen Vigna <jug@sad.it>
3331 * insettext.C (draw): fixed frame redrawing.
3332 (clear): forgot to set the inset_owner of the paragraph.
3334 * insetert.C (status): pay attention the bv can be 0 here!
3335 (getMaxWidth): add the default leftMargin
3337 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3339 * insetert.C (getMaxWidth): make w unsigned int.
3341 2002-03-05 Juergen Vigna <jug@sad.it>
3343 * insetert.C (status): change behaviour of Inlined.
3344 (getMaxWidth): added for new inlined behaviour.
3346 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3348 * insetnote.h (linuxdoc, docbook): add empty methods.
3349 * insetinclude.C (validate): fix a case where buffer->niceFile was used
3350 before being initialized.
3352 2002-03-05 Juergen Vigna <jug@sad.it>
3354 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
3355 only that one in the inset. Should be enough.
3356 (updateLocal): set the selection cursor always if we don't have a
3357 selection to be sure it's set!
3359 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
3361 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3363 * insettext.C (clear): a gross hack to set layout on a newly
3366 2002-03-04 Juergen Vigna <jug@sad.it>
3368 * insettabular.C (localDispatch): inserted handling of
3369 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
3370 (insertAsciiString): new helper function.
3372 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3374 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
3377 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3379 * insettext.C (InsetText): initalize newly created par with
3380 default layout. add bufferparams parameter
3383 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
3384 * insetcollapsable.[Ch] (InsetCollapsable): ditto
3385 * insetert.[Ch] (InsetERT): ditto
3386 * insetfloat.[Ch] (InsetFloat): ditto
3387 * insetfoot.[Ch] (InsetFoot): ditto
3388 * insetfootlike.[Ch] (InsetFootLike): ditto
3389 * insetmarginal.[Ch] (InsetMarginal): ditto
3390 * insetminipage.[Ch] (InsetMinipage): ditto
3391 * insetnote.[Ch] (InsetNote): ditto
3392 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
3394 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3396 * insettext.C: layout as string
3398 * insetinclude.C: layout as string
3400 * insetert.C: layout as string
3402 * insetbib.C: layout as string
3404 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3407 * insettabular.C: remove #include "lyx_gui_misc.h".
3409 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3414 * inset.h: remove figinset, yahoo !
3416 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3418 * insetgraphics.C (c-tors): initialise parent classes explicitly in
3419 copy c-tor and initialise member variables in the correct order.
3421 2002-02-28 Juergen Vigna <jug@sad.it>
3423 * insettabular.C (localDispatch): clear selection on PgUp/Down.
3425 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3427 * inset.h: ... and add a better one here.
3429 * insetcommand.C (insetButtonRelease): remove that one which was a
3432 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3434 * insetcommand.C (insetButtonRelease): ... and move it here.
3436 * inseturl.h: remove insetButtonRelease from there...
3438 2002-02-26 Juergen Vigna <jug@sad.it>
3440 * inseturl.h: Added a insetButtonRelease call returning true as
3443 * insetlabel.C (edit): Fixed wrong update handling after change I
3444 leave in the wrong code for the one who wrote it to remove and have
3445 a look what he did wrong.
3447 * insettabular.C (localDispatch): force a SELECTION update if we
3448 had a selection and we passed the event down to the inset (fix #213)
3449 (localDispatch): handle font changing stuff when we have a cell
3450 selection so that the selection is not rewoked. I don't really like
3451 this fix, but it's the only way I see to do it right now.
3453 2002-02-22 Juergen Vigna <jug@sad.it>
3455 * insettext.C (insetUnlock): set the cursor to the second paragraph
3456 if available and if the first one is empty (fix #191).
3458 2002-02-20 Juergen Vigna <jug@sad.it>
3460 * insettext.C (getDrawFont): implemented this function to call the
3461 one of the owner if present as the owner normally knows what to do
3464 * insetert.C: implement getDrawFont() function and comment out all
3465 the crap for setting a special latex font inside this inset.
3466 (InsetERT): added a Lanugage parameter to this constructor.
3468 * inset.h: added function getDrawFont(LyXFont & font) to be able to
3469 change the font for being drawn on screen (used only in InsetERT for
3472 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
3473 and also above (was missing).
3474 (updateLocal): don't remove the cell selection if we have one this
3475 should be done where we really want to remove it.
3477 2002-02-20 José Matos <jamatos@fep.up.pt>
3479 * insetinclude.h: include_label made string const.
3481 * insetinclude.C (InsetInclude): moved include_label initialization.
3484 (validate): fix support for temporary directory, for docbook and
3487 * insetgraphics.h : new private member, graphic_label, that holds
3488 the entity name that defines the graphics location (SGML).
3490 * insetgraphics.C (unique_id): new function to give a unique label
3493 (validate): the file locatation is given by an entity reference.
3495 2002-02-18 Herbert Voss <voss@lyx.org>
3497 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
3499 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3501 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
3502 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3504 2002-02-18 José Matos <jamatos@fep.up.pt>
3506 * insetinclude.C (validate): some code only applies to latex buffers,
3507 it was made conditional.
3509 2002-02-12 Herbert Voss <voss@lyx.org>
3511 * insetgraphics.C: (prepareFile) do not check at this time
3512 if the file is present.
3514 2002-02-12 Herbert Voss <voss@lyx.org>
3516 * insetgraphics.C: latex(), return the correct newlines
3518 2002-02-13 José Matos <jamatos@fep.up.pt>
3520 * inseturl.C (docbook): escape & in url.
3522 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3524 * insetspecialchar.C (isLineSeparator): line breaking is allowed
3525 after HYPHENATION and MENU_SEPARATOR
3527 * inset.h (isLineSeparator): new method, returns false by default.
3529 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3531 * insetert.C (status): do not update the text inset, but the ERT
3534 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
3536 * insetnote.C: use notebg for background
3538 2002-02-08 Herbert Voss <voss@lyx.org>
3541 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
3542 prevent LyX from unzipping when this should be handled
3543 by latex vis the graphic.cfg.
3546 2002-02-08 Herbert Voss <voss@lyx.org>
3548 * insetgraphic.C: prepareFile(): fix bug when file doesn't
3549 exists, than return filename with extension
3551 2002-02-06 Herbert Voss <voss@lyx.org>
3553 * insetgraphic.C: prepareFile(): don't convert the file, when
3554 it's not viewed in LyX. Saves a lot of time when opening a
3557 2002-02-05 Herbert Voss <voss@lyx.org>
3560 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
3561 and adding a rotate bool similiar to subcaption
3563 2002-02-04 Herbert Voss <voss@lyx.org>
3566 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
3567 similiar view to the LaTeX one. Get zipped files work.
3569 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
3571 * insetgraphicsParams.C (init): set display to DEFAULT.
3572 No longer #include "lyxrc.h".
3574 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
3576 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
3577 for now (so that the code compiles).
3579 2002-02-02 Herbert Voss <voss@lyx.org>
3581 * insetgraphic.C: delete inVariant() and some minor changes
3582 * insetgraphicsParams.[C]:
3584 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
3586 * insetgraphics.C (updateInset): if params.display == DEFAULT,
3587 interogate lyxrc.display_graphics before diaplaying the graphic.
3589 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
3590 InsetGraphicsParams::DisplayType.
3592 2002-01-31 Herbert Voss <voss@lyx.org>
3594 * insetgraphic.C: (readfigInset) set display to pref-default
3596 2002-01-30 Herbert Voss <voss@lyx.org>
3598 * insetgraphic.C: get the filetyp from it's contents
3599 * insetgraphicparams.C: add token scale and lyxrc.display when
3600 creating a new inset
3602 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
3604 * figinset.C: added using std::ios directive.
3606 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3608 * figinset.C (runqueue): open translation file in binary mode (for
3611 2002-01-27 Herbert Voss <voss@lyx.org>
3613 * insetgraphic.[Ch]: mostly newritten to support graphicx with
3614 all options and to be sure that the old figinsets are correct
3616 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
3617 structure and to support all lengths as LyXLength. The Parameter
3618 structure changed again, but reading of "old" 1.2 graphic insets
3621 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
3623 * insetert.h (forceDefaultParagraphs): Added
3625 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3627 * insettabular.C (getMaxWidth):
3628 (forceDefaultParagraphs): use Tabular::GetCellFromInset
3630 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3632 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
3633 of LyXLength::inPixels
3635 * inset.C (latexTextWidth):
3636 * insetminipage.C (latexTextWidth): new method, which implements
3637 the equivalent of the LaTeX macro \textwidth
3639 * insetminipage.C (getMaxWidth): use latexTextWidth
3641 2002-01-18 Juergen Vigna <jug@sad.it>
3643 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
3645 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3647 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
3649 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
3652 2002-01-17 Juergen Vigna <jug@sad.it>
3654 * insettabular.C (lockInsetInInset): same change as in insettext.
3656 * insettext.C (draw): width() function was called without setting
3657 the right top_x which could lead to wrong insetWidth setting!
3658 (lockInsetInInset): call edit instead of calling lockInset if we
3659 have to lock an inset inside!
3660 (edit): we have to also tell the inset that we have to redraw the
3661 frame on an edit call if this inset draws a frame only if locked.
3663 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3665 * insetbib.C (getFiles): uncomment Path variable.
3667 2002-01-16 Juergen Vigna <jug@sad.it>
3669 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
3672 2002-01-16 Allan Rae <rae@lyx.org>
3674 * insetinclude.C (docbook): someone forgot a ";"
3676 2002-01-16 José Matos <jamatos@fep.up.pt>
3678 * figinset.C (docbook): removed a old place holder "@".
3679 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
3680 * insetinclude.C (linuxdoc): if include is verbatim, then export the
3681 ascii text version, clearly guarded inside a CDATA section.
3682 (docbook): in docbook 4, inlinegraphics is empty.
3683 * insettabular.C (linuxdoc): export the ascii version of the table
3684 inside a CDATA section.
3686 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3688 * insetparent.C (InsetParent):
3689 * insetgraphicsParams.C (Write):
3691 * insetgraphics.C (prepareFile):
3694 * insetexternal.C (executeCommand):
3695 (doSubstitution): use Buffer::filePath
3697 * insetbib.C (getFiles): add a #warning for Angus
3699 * insetgraphics.C: Add a remark about how filenames should be
3700 considered to be relative to buffer (but absolute is still allowed)
3701 (draw): do not try to get status if lyxrc.use_gui is false
3703 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3706 * insetcollapsable.[Ch]:
3707 * insettabular.[Ch] (searchForward, searchBackward): change the
3708 bool const & params to bool.
3710 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
3711 to avoid the name clash with InsetCollapsable's methods of the same
3712 names but different functionality.
3714 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3716 * insettext.C (ascii): use lyx::count rather than countChar.
3718 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
3720 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
3722 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3724 * insetgraphics.C (updateInset): do not try to render image if
3725 lyxrc.use_gui is false (bug #104)
3727 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
3728 if file does not exist
3730 * figinset.C (browseFile): add shortcuts to directory buttons
3732 * insettext.C (updateLocal): update menubar and toolbar here too.
3734 2002-01-13 Allan Rae <rae@lyx.org>
3736 * insettabular.C (InsetTabular): Both constructors now initialise
3737 all class variables.
3739 2002-01-11 Juergen Vigna <jug@sad.it>
3741 * insettext.C (insetButtonPress): set the_locking_inset to 0.
3743 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3745 * insettabular.C (getStatus): add forgotten brace around multiline
3748 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3750 * insetfloat.C (validate): require "float" instead of "floats".
3752 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
3754 * insettabular.C (getStatus): use FuncStatus
3756 2002-01-08 Juergen Vigna <jug@sad.it>
3758 * insettabular.C (insetButtonRelease): now this should work too
3761 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
3762 if the width is a percentage.
3764 * inset.h: added isChar() function and implemented this for
3765 insetspecialchar insetquotes and insetlatexaccent.
3766 added forceDefaultParagraphs() and implemented it for insettabular.
3768 2002-01-07 Juergen Vigna <jug@sad.it>
3770 * insettext.C (getLyXText): Fixed this function. An insert into the
3771 map is only done if we REALLY have a new BufferView.
3773 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
3775 * insettext.C: fix bug illustrated by attachment #37 of bug #59
3777 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
3779 * insetinclude.C: fix use of FileInfo
3781 2002-01-07 Juergen Vigna <jug@sad.it>
3783 * insettabular.C (draw): fixed clearing of cell around inset.
3785 2002-01-05 Juergen Vigna <jug@sad.it>
3787 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
3788 variables are updated.
3790 * insettabular.C (resetPos): set always the inset_y as it may be
3791 needed in another function.
3792 (searchBackward): don't draw while searching.
3794 2002-01-04 Juergen Vigna <jug@sad.it>
3796 * insettext.C (lockInsetInInset): forgot to set a cursor.
3798 2002-01-02 Juergen Vigna <jug@sad.it>
3800 * insettext.C (insertInset): make the correct undo informations on
3801 inserting new insets.
3803 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
3805 * insettabular.C: correct single-cell select vertically
3807 2001-12-27 Juergen Vigna <jug@sad.it>
3809 * insettabular.C (ascii): export as tab-separated-values if the
3810 function was not called from export (f.ex.: clipboard).
3812 * insetcollapsable.h: added default support for ascii, linuxdoc and
3813 docbook export (the insettext is exported by default!)
3815 * insettabular.C (copySelection): suff the clipboard with the tabular
3816 data in a tab separated format, seems more naturals then with all the
3819 2001-12-24 Juergen Vigna <jug@sad.it>
3821 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
3822 to check for REAL mouseMotion.
3824 2001-12-20 Juergen Vigna <jug@sad.it>
3826 * inset.C (cursor): return the owners cursor if available instead of
3827 always only the bv->text->cursor.
3829 * insettabular.C (checkLongtableSpecial): works now.
3831 2001-12-19 Juergen Vigna <jug@sad.it>
3833 * insettabular.C (tabularFeatures): fix the row setting of ltt as
3834 this has to be always row + 1 as 0 means not selected!
3835 (checkLongtableSpecial): added
3836 (tabularFeatures): better longtable options support
3838 * insettext.C (resizeLyXText): reinit the text always also on a
3841 2001-12-18 Juergen Vigna <jug@sad.it>
3843 * insettext.C (updateInsetInInset): look if we have to autocollapse
3844 paragraps and return if the update is requested for ourself.
3846 * insetert.C (status): update the insettext not myself as that is what
3849 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
3850 function only return if the update was requested with myself.
3852 * insettext.C (insetButtonPress): fixed stupid bug.
3853 (various functions): pay attention that lt is cleared BEFORE calling
3854 updateLocal() and try to use it in the right manner (don't use it
3855 if it's not really neccessary!)
3856 (collapseParagraphs): insert a blank between collapsing paragraphs
3857 if neccessary (not already there!).
3859 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3861 * insettabular.C: move includes around a bit, add a couple of
3864 * insettext.[Ch]: move includes around a bit, other ws changes and
3867 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3869 * insettext.C (insetButtonRelease): fix compile problem
3871 2001-12-17 Juergen Vigna <jug@sad.it>
3873 * insettext.C (insetButtonPress): set the selection cursor!
3874 (insetButtonPress): clear the selection (and set with that the
3875 selection.cursor) if we only hit an inset!
3877 * insetert.C (read): removed piece of compatibility code only needed
3880 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
3883 * insetcollapsable.C (insetButtonRelease): changed so that it can
3884 open eventual existing popup dialogs on mousebutton==3.
3886 * insetfloat.C (insetButtonRelease): removed not needed anymore!
3888 * insetminipage.C (insetButtonRelease): removed not needed anymore!
3890 * inset.C (insetButtonRelease): return a bool for telling the outer
3891 world that we opened a dialog.
3893 2001-12-07 Juergen Vigna <jug@sad.it>
3895 * insettext.C (paragraph): remove the deleteing of paragraphs as
3896 it was a WRONG move!
3898 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
3901 * insettabular.C: use new setSelection(). Allow
3902 selection of single cells.
3904 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3906 * insetquotes.C (latex): fix to use the local language setting at
3907 the point where the inset is inserted (different macros for
3908 different french packages)
3910 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3912 * inset.h: add par_owner_ member variable and parOwner
3915 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3917 * insettabular.C (everywhere): adapt because widths are now real
3918 widths and not strings
3920 * insettext.C (draw): re-introduce the calls to width(), ascent()
3921 and descent() to initialize the caching variables.
3923 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3925 * insettext.C (draw):
3926 (drawFrame): use insetWidth instead of last_width
3928 * insettext.h: remove variable last_width (insetWidth is exactly
3929 the same) and last_height (computed but never used!)
3931 2001-12-10 Allan Rae <rae@lyx.org>
3933 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
3935 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3937 * insettext.C (insetAllowed): add comment
3939 2001-12-05 Juergen Vigna <jug@sad.it>
3941 * insettext.C (insetAllowed): fixed for the case that we directly
3942 ask the insettext from its LyXText.
3943 (paragraph): fixed the crash when assigning the par->next() from
3944 the EmptyParagraphMechanism!
3946 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3950 * insettext.C: change "while(" to "while ("
3952 2001-12-04 Juergen Vigna <jug@sad.it>
3954 * insetert.C (edit): handle Inlined status.
3956 * insettext.C (insertInset): trying John's fix for the trailing cursor
3958 * insetert.C (insetButtonPress): added to handle inlined status
3959 (insetMotionNotify): ditto.
3961 * insettext.C (clearInset): changed Painter & in BufferView * param,
3962 to be able to call ascent,descent methods.
3964 2001-12-03 Juergen Vigna <jug@sad.it>
3966 * insettext.C (updateInsetInInset): use lt variable to forbid
3967 changes of LyXText in an update call.
3968 (updateInsetInInset): fixed updating of non locked insets!
3970 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
3972 * insettabular.C: capture some more functions to prevent
3973 selection drawing problems. Bug #451274
3975 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
3978 * insetgraphicsParams.C: fix inverted sense of float_equal
3980 2001-11-30 Juergen Vigna <jug@sad.it>
3982 * insettabular.C (InsetTabular): use the save_id flag to create also
3983 the tabular with the same id's.
3985 * insettext.C (setParagraphData): added a same_id function for undo
3986 to set the same paragraph id's as of the paragraph we are setting.
3988 2001-11-30 José Matos <jamatos@fep.up.pt>
3991 * insettoc.[Ch]: DocBook -> docbook.
3993 2001-11-29 André Pönitz <poenitz@gmx.net>
3996 * insettext.C: further reduction of header dependencies by using
3997 lyx::layout_type and lyx::textclass_type from support/types.h
3999 2001-11-29 Juergen Vigna <jug@sad.it>
4001 * insettext.C: inserted a reinitLyXText function everywhere I delete
4002 the paragraphs! This should fixe the crashes we had.
4003 Also use the new function firstRow() instead of getRowNearY(dummy_y)
4004 (paragraph): set the InsetOwner() of the new paragraphs!
4006 2001-11-28 André Pönitz <poenitz@gmx.net>
4008 * insetnote.C: add pos initialization that I removed without
4011 2001-11-28 Juergen Vigna <jug@sad.it>
4013 * insettabular.C (resetPos): hack to not crash with infinite paints.
4015 * insettabular.h: insert missing function allowSpellcheck()!
4017 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
4019 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4022 * insetfloatlist.C: derive from InsetCommand so gui can use it
4025 2001-11-26 André Pönitz <poenitz@gmx.net>
4029 * insetnote.C: reduce header dependencies, introduce type for
4032 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4034 * various: update for Alert.h
4036 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4038 * inset.h: fix comment
4040 * insettext.C: use par->isInset()
4042 2001-11-22 Allan Rae <rae@lyx.org>
4044 * insetcollapsable.h:
4045 * inset.h: Changes to checkInsertChar() behaviour.
4046 Now return value indicates whether chars can be inserted.
4048 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
4050 * various: updated to use the new LaTeXFeatures
4052 2001-11-14 José Matos <jamatos@fep.up.pt>
4054 * insetspecialchar.C (linuxdoc):
4055 (docbook): don't give a name to a unused variable.
4057 * insettext.C (docbook): removed unused variable.
4059 2001-11-13 Herbert Voss <voss@perce.de>
4061 * insetgraphic.C: fix scale bug
4063 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4065 * inset.h (isSpace):
4066 (isLetter): new virtual methods.
4068 * insetspecialchar.C (isSpace):
4069 (isLetter): implement here.
4071 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4073 * inset.h: new inline helpers
4075 * insettext.C: use new helpers
4077 2001-11-07 José Matos <jamatos@fep.up.pt>
4079 * insettext.C (docbook): full support for paragraphs inside insettext.
4081 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
4083 * insetindex.C: added header file for std::ostream.
4085 2001-11-03 José Matos <jamatos@fep.up.pt>
4087 * insetindex.C: added using std::ostream that I forgot yesterday.
4089 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
4091 * insetindex.h (docbook):
4092 * insetindex.C (docbook): added support for docbook export.
4094 2001-11-02 José Matos <jamatos@fep.up.pt>
4096 * insetcaption.C(docbook): added support for docbook export.
4098 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
4100 * insetexternal.C (updateExternal): Do not run update command if
4101 result file exists and is up to date.
4103 * ExternalTemplate.C (readFormat): Support the updateresult token.
4105 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
4107 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
4108 external_templates) to use the buffer->fileName() but only if
4109 previewing. Generating a TeX file should make FPath return
4112 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4115 * insetert.C: fix some problems
4117 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
4119 * insetexternal.C (doSubstitution): Added $$FPath token
4120 to list of usable substitutions in external inset templates.
4122 2001-10-24 Juergen Vigna <jug@sad.it>
4124 * insettabular.C: use new ltType struct for setting longtable
4125 header and footers also new UNSET enums.
4127 2001-10-24 José Matos <jamatos@fep.up.pt>
4129 * insettabular.C (linuxdoc): Now exports the ascii's table version.
4130 (docbook): If the table is not inside a float then wrap it inside
4131 <informaltable>...</informaltable>.
4133 2001-10-23 José Matos <jamatos@fep.up.pt>
4135 * insetref.C (docbook): removed / terminator to conform SGML.
4137 * insetspecialchar.C (linuxdoc):
4138 (docbook): Added support for special chars, more than ascii export.
4140 2001-10-22 Juergen Vigna <jug@sad.it>
4142 * insettext.C (checkInsertChar): added for REALLY checking the
4143 font of the inserted char in the right inset!
4145 2001-10-19 Juergen Vigna <jug@sad.it>
4147 * inset.h: added method allowSpellcheck() so that insets who do
4148 not have anything to spellcheck can tell and so they are over-jumped.
4149 Implemented for InsetText and co.
4151 2001-10-18 Juergen Vigna <jug@sad.it>
4153 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
4155 2001-10-15 José Matos <jamatos@fep.up.pt>
4157 * insetert.C: allow export for docbook and linuxdoc
4159 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4161 * insetquotes.C (dispString): handles latin3 and latin4 quotes
4163 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4165 * insetquotes.C (dispString): fix handling of latin9 quotes
4167 2001-10-03 Juergen Vigna <jug@sad.it>
4171 * insetcollapsable.C: change updateInset calls to not tell BV that
4172 we have changed status.
4174 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4176 * insettabular.C (deletable): make const
4178 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
4180 * insetert.C (latex): Fix the returned value
4182 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
4184 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
4185 Returns string(), so nothing in an ERT inset is spellchecked.
4187 * insetgraphics.C (draw): print the filename if not displaying the
4189 (width): make sure that the width and draw methods are consistent.
4190 (updateInset): don't even load the image into cache if not displaying
4193 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
4195 * various files (selectNextWord): renamed as
4196 selectNextWordToSpellcheck.
4198 * insetgraphics.C (draw): remove the previous change. Right place
4199 is in imageLoaderXPM.C.
4200 (draw): don't display the image if params.display == NONE.
4202 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
4204 * figinset.C (runqueue):
4205 * insetgraphics.C (draw): set background colour of inset from
4206 background to the user-configurable graphicsbg.
4208 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4210 * insetquotes.C (InsetQuotes): when trying to decide the side of
4211 the quote, choose `left' only after a space or '('
4213 2001-09-04 José Matos <jamatos@fep.up.pt>
4218 * insetcollapsable.h
4236 * insetlatexaccent.C
4237 * insetlatexaccent.h
4242 * insetspecialchar.C
4243 * insetspecialchar.h
4247 * insettext.C (docbook): rename docBook method to docbook.
4249 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
4251 * inset.h (getFirstParagraph): New virtual method.
4253 2001-08-20 Herbert Voss <voss@perce.de>
4254 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
4255 in the the bibtex-database-gui for inserting a line
4258 If no style is given than there is no tex-output.
4260 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
4262 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
4266 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
4268 * insetert.C (latex): Fix output for multiple paragraphs.
4269 (write): New code for writing paragraph data.
4270 (read): Set font after reading the inset.
4271 (localDispatch): Call set_latex_font() for more cases.
4273 * insetnote.h: Add empty validate method.
4276 * insetnote.C (InsetNote): Set language to the language of the
4279 2001-08-16 Juergen Vigna <jug@sad.it>
4281 * insettext.C: implemented the new FINISHED states.
4283 * insettabular.C: ditto
4285 * inset.h: added more FINISHED states for cursor right,up,down
4287 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
4289 * insetfloatlist.C: use "FloatName List"
4291 2001-08-14 Juergen Vigna <jug@sad.it>
4293 * insetert.C (edit): forgot to set status_ in edit calls!
4295 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
4297 * insettext.C: Compilation fix
4299 2001-08-13 Juergen Vigna <jug@sad.it>
4301 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
4303 * insetcollapsable.C (edit): don't recollapse an already open inset.
4305 * insettext.C: fixed problem when reinitializing LyXText by not doing
4306 it while lt is in use and post this to the next possible time in
4308 (searchForward): fixed not unlocking of inset if nothing found.
4309 (edit): set cursor behind right (was set -1 pos).
4311 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
4313 * insettabular.C (tabularFeatures): fixed fix where deleting the
4314 last row didn't get the right actcell!
4316 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
4318 * insettext.C (localDispatch): Change language only when the inset
4321 2001-08-10 Juergen Vigna <jug@sad.it>
4323 * insettabular.C (selectNextWordInt): use the front using edit call.
4325 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
4326 the parameter overwrite class variable inset.
4328 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
4330 * insettext.C (saveLyXTextState): check for invalid cursor-par.
4331 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
4333 * insettabular.C (calculate_dimensions_of_cells): let's try to call
4334 update only for fixed with cells.
4335 (resetPos): try to fix the lockup on spellchecking or s&r.
4337 * insettext.C (update): comment this out as it seems first wrong
4338 and second not needed anymore!
4339 (some functions): call reinitLyXText() only in update() in all other
4340 positions set only need_update = INIT.
4342 2001-08-08 Juergen Vigna <jug@sad.it>
4344 * insettabular.C (setPos): fixed wrong actrow < rows() check.
4346 * insettext.C (insetUnlock): remove double-space on inset unlock.
4348 * insetcollapsable.C (draw): fix returned x when label > inset-width.
4350 * insettabular.C (update): fixed cursor positon after an insert.
4351 (insetAllowed): do not allow to insert insets when not inside the
4353 (draw): clear below an inset too as it could have changed height.
4355 * inset.C (getMaxWidth): fixed width for inset in inset.
4357 * insettext.C (update): small fix.
4359 * insettabular.C (tabularFeatures): added selection support to
4360 DELETE_ROW/DELETE_COLUMN.
4362 2001-08-07 Juergen Vigna <jug@sad.it>
4364 * inset.C (getMaxWidth): recoded and all it's implementations!
4366 * insettext.C (init,setParagraph+constructors): cleanups
4367 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
4368 are new and I want do a save/restore of the cursor position which is
4369 not possible anymore.
4371 * insetcollapsable.C (searchBackward): recollapse inset if not found.
4372 (searchBackward): ditto
4373 (selectNextWord): ditto
4375 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
4377 * insetlatexaccent.C (checkContents): Add some debug messages
4379 2001-08-07 Juergen Vigna <jug@sad.it>
4381 * insetert.C (read): don't use InsetCollapsable::read as we don't
4382 write the collapsed status anymore only the status.
4385 2001-08-06 Juergen Vigna <jug@sad.it>
4387 * insetert.C (set_latex_font): use LyXText's setFont directly.
4389 * insettext.C (drawFrame): fixed one time more the right position
4390 and size of the frame!
4392 * insetert.C (~InsetERT): hide the dialog.
4393 (showInsetDialog): added implementation
4396 (status): new function for the status of the ERT inset (3-state).
4397 (write): output also the status of the inset for readback!
4398 (read): readback the status if available otherwise use collapsed_.
4400 * insettext.C (edit): small fix of setting the position, which could
4403 * insetert.C (width): implement this function for inlined viewing.
4404 Added minimum width of 10 pixels!
4406 * insetminipage.C (InsetMinipage): just change the colors a bit so
4407 that border/background is a bit more visible. We will remove this
4410 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
4411 function for getting the important widths for drawing in various
4412 functions and in LyXText.
4413 (draw): fixed up a bit (frame drawing/clearing)
4415 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4417 * inset.C (convertFont): delete method. not used.
4419 2001-08-03 Juergen Vigna <jug@sad.it>
4421 * insettext.C (setFont): don't call for a draw update if we're just
4422 changing the cursor font!
4424 2001-08-02 Juergen Vigna <jug@sad.it>
4426 * insettext.C (draw): clear the background with the right color if
4427 needed. Update myself if x&max-width changed and return without doing
4428 anything. Let the update code handle the right stuff.
4430 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
4431 inside another inset.
4433 2001-08-01 Juergen Vigna <jug@sad.it>
4435 * insetcollapsable.C (update): added an in_update bool so we avoid
4438 * insettabular.C (update): added an in_update bool so we avoid
4441 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
4443 (update): added an in_update bool so we avoid reentering.
4445 * insettabular.C (localDispatch): clear col/row selection when doing
4446 something else inside an inset.
4448 * insettext.C (getLyXText): fixed bug when requesting a recursive
4451 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
4453 * insetcite.C (latex): Paranoia check. Make sure that there is no
4454 whitespace between the citation keys.
4456 2001-07-31 Juergen Vigna <jug@sad.it>
4458 * inset.h (nodraw): make the set function also const so that this
4459 can be called from inside other const functions.
4461 * insetcollapsable.h: removed inline variable and moved it over
4462 to the only user InsetERT.
4464 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
4465 inset opening immediately therein lying insets dialogs!
4467 * insetert.C (localDispatch): set the font also if we don't have any
4468 chars in this paragraph, otherwise if we delete all of em and start
4469 writing we have the wrong font.
4471 (draw): implemented for inline support
4472 (insetButtonRelease): ditto.
4474 2001-07-30 Juergen Vigna <jug@sad.it>
4476 * insettext.C (reinitLyXText): new function to reinit the insets
4477 text after lot's of paragraph changes. Use this instead of the
4478 cache.clear() which is VERY dangerous.
4480 * insetfloat.C (insetButtonRelease): we should only show the dialog
4481 if we press on the label otherwise we have problems to open mouse
4482 button 3 dialogs inside this float (f.ex. of a tabular!)
4484 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4486 * insetert.C: change back to "ERT"
4488 * insetfloat.C: handliign of RMB on label added.
4490 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4492 * insetgraphicsParams.C: #include LOstream.h here.
4494 * insetfoot.h: remove InsetFoot:: qualifier.
4496 2001-07-29 Baruch Even <baruch@lyx.org>
4498 * ChangeLog: Hiding time travel evidence.
4500 * insetgraphicsParams.h:
4501 * insetgraphicsParams.C:
4502 * insetgraphics.C: Added horizontal scale option, it actually scales both
4503 directions since it keeps image proportions.
4505 * insetgraphics.C: Fixed EPS detection to be non-hacky.
4507 2001-07-29 Baruch Even <baruch@lyx.org>
4509 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
4510 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
4512 HACKY! Will need to add an EPS detection routine like old InsetFig does!
4514 2001-07-29 Baruch Even <baruch@lyx.org>
4516 * insetgraphics.C: Added EPSI to be an alias of EPS.
4518 2001-07-29 Baruch Even <baruch@lyx.org>
4520 * insetgraphics.C: Change GRAPHICS to Graphics.
4521 Changed image conversion rules (documented at the beginning of file).
4523 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
4525 * insetert.C (get_new_label): int -> Paragraph::size_type to get
4528 * insetgraphics.C: added a using std::endl directive.
4530 * insetcommand.h (getScreenLabel): removed pure virtual function,
4531 as it duplicates that in InsetButton.
4533 * insetbib.[Ch] (getScreenLabel):
4534 * insetbutton.[Ch] (getScreenLabel):
4535 * insetcite.[Ch] (getScreenLabel):
4536 * insetert.[Ch] (getScreenLabel):
4537 * insetexternal.[Ch] (getScreenLabel):
4538 * insetfloatlist.[Ch] (getScreenLabel):
4539 * insetinclude.[Ch] (getScreenLabel):
4540 * insetindex.[Ch] (getScreenLabel):
4541 * insetlabel.h (getScreenLabel):
4542 * insetparent.[Ch] (getScreenLabel):
4543 * insetref.[Ch] (getScreenLabel):
4544 * insettoc.[Ch] (getScreenLabel):
4545 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
4547 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
4549 (validate): remove check on "cite" when using natbib.
4551 2001-07-26 Baruch Even <baruch@lyx.org>
4553 * insetgraphics.C (draw): changed casting to be in one place rather than
4554 all over the function.
4557 * insetgraphics.C (read): Added compatibility reads of InsetFig.
4559 * insetgraphicsParams.h:
4560 * insetgraphicsParams.C:
4561 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
4563 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4565 * insetfoot.C (validate): Added method to ensure that the
4566 right bit of LaTeX is emitted.
4568 * insetfoot.h: Added validate method to set the correct
4569 LaTeXFeatures bit for the special footnote code.
4571 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4573 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
4576 2001-07-27 Juergen Vigna <jug@sad.it>
4578 * inset.h: remove not used font variable in parameter.
4579 removed checkInsertChar in UpdatableInset as it was equal to
4580 the one in Inset and so not needed.
4582 * insetert.C (checkInsertChar): implementation of function
4585 * inset.h: added new function checkInsertChar.
4587 * various files: added c-tor and clone() function.
4589 * insetcollapsable.h: removed clone function here as this should
4590 be only realized in REAL insets and added it to all collapsable
4591 insets! (with the copy-constructor).
4593 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4595 * insetminipage.C (read): handle missing parameters more gracefully
4597 * insetcollapsable.C (read): handel missing collapsed more gracefully
4599 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4601 * insetfloat.C (read): handle missing parameters.
4603 * insettext.C (read): handle old latex end_inset
4605 * insetert.C (setButtonLabel): new method
4606 (init): use it, to set the dynamic label correctly
4609 * Makefile.am (EXTRA_DIST): add files that is not part or the
4612 * insetcollapsable.h: remove autocollapsable (no users), remove
4613 draw_label, change_label_with_text and companion code. Remove args
4615 * insetert.[Ch]: move here instead (only user)
4617 * inset.h: rename private variable name to name_, make
4618 selectNextWord return a const string. make getInsetName return a
4619 string const &. Remove bool from open, add close.
4621 * Makefile.am: don't compile insetlist, insetsection
4624 2001-07-24 Juergen Vigna <jug@sad.it>
4626 * insetert.C (InsetERT): put init after the paragraph initialization,
4627 as otherwise we don't set the draw_label right.
4629 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
4630 insets with the mouse without having strange selections.
4631 (edit): if the inset was collapsed and we open it here then put the
4632 cursor always at the beginning of the inset.
4633 (get_new_label): 15 instead of 10 max chars in the label.
4635 * insetert.C (localDispatch): added and handle various stuff we
4636 need to handle here (font setting on paragraph break, not permitted
4637 layout setting, etc.).
4639 * inset.h: added default copy-consturctor and implemented this in
4640 various insets with the change to use this in the clone function!
4642 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4644 * insetminipage.C (InsetMinipage): set background color to red :)
4646 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4648 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
4649 draw frame mode is LOCKED.
4651 * insetcollapsable.C (edit):
4652 (insetButtonRelease): set update status to full when
4655 * insettext.C (clearInset):
4656 * insettabular.C (draw):
4657 * insetlatexaccent.C (draw): honor background color.
4659 * inset.h: new member background_color_, initialized to
4662 * inset.C (backgroundColor): new method.
4663 (setBackgroundColor): new method.
4665 * insetert.C (init): new method, called by the ctors.
4666 (InsetERT): when inserting contents, make sure the font is
4669 * insetnote.C (InsetNote): when inserting content, remove trailing
4671 (init): set background color to LColor::note
4673 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4675 * insetcollapsable.C: adjust
4677 * insetbutton.C: adjust
4679 2001-07-23 Juergen Vigna <jug@sad.it>
4681 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
4682 parameter on the _collapsed function (was not needed) and call
4683 always width_collapsed().
4685 * insetert.C (InsetERT): use setLabel with "true" flag.
4687 * insetcollapsable.C: modified various functions to set the draw_label
4688 string right in any condition.
4689 (setLabel): added a bool parameter to set change_label_with_text.
4691 * insetcollapsable.h: added draw_label string which is set to the
4692 actual drawn label-string, while label is the original static label
4693 of this collapsable inset. Added bool change_label_with_text to set
4694 if we want that the label changes to the start of the InsetText's
4695 text when collabpsed. You can set this flag with the setLabel funciton.
4696 Added bool inlined for inlined collapsable insets, but not handled
4699 * insetcollapsable.C (get_new_label): added should get a new label
4700 from the InsetText beginning (for now 10 chars).
4702 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4704 * insetquotes.C (latex): fix the handling of french double quotes
4705 when not using the french pachage.
4707 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4709 * insetcollapsable.h: make WidthCollapsed mutable.
4711 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
4712 InsetPrintIndex returns INDEX_PRINT_CODE.
4714 * inset.h: add INDEX_PRINT_CODE
4716 * insetcollapsable.C (draw): init widthCollapsed if necessary
4719 * insetquotes.C (width): use the local language, not the document
4722 (dispString): add additional spacing for all french languages,
4724 (validate): make it work when there is no default language
4726 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
4728 * insetnote.C (init): new method, called by the constructors
4729 (InsetNote): new constructor with contents passed as a string
4731 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4733 * insetfootlike.C (insetAllowed): disallow float in footlike.
4735 * insetert.C (InsetERT): add collapsed argument to the constrctor
4738 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4740 * insetindex.h: shut off warning
4742 2001-07-20 Juergen Vigna <jug@sad.it>
4744 * insetcollapsable.C (update): recoded hopefully works now!
4746 2001-07-19 Juergen Vigna <jug@sad.it>
4748 * most files: implemented the below new introduced function.
4750 * inset.h: added new edit(BufferView *, bool front) method to be able
4751 to enter an inset from the front/back without knowing x/y positions
4752 and baselines inside the inset. So I just can tell the inset activate
4753 me and set the cursor on the front/back of yourself.
4755 2001-07-18 Juergen Vigna <jug@sad.it>
4757 * insetcollapsable.C (edit): fixed hopefully the y parameter which
4758 is given to the InsetText.
4759 (insetButtonPress): ditto
4760 (insetButtonRelease): ditto
4761 (insetMotionNotify): ditto
4763 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4765 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
4766 LIGATURE_BREAK, since the name is so stupid.
4768 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
4770 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
4771 the default InsetCollapsable methods. I.e., it can insert anything.
4772 (write) output the name of the inset, not some silly hack for
4773 compatability with the old InsetInfo.
4775 * insetinfo.[Ch]: removed.
4776 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
4777 now collapsable, but functionality is otherwise identical to InsetInfo.
4779 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
4781 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4783 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
4786 * insetquotes.C: general cleanup
4787 (dispString): add spaces inside french double quotes.
4788 (latex): ditto. Moreover, treat first the case where the frenchb
4789 or french options have been given.
4791 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
4793 * insetcite.[Ch] (latex, validate): new methods, required for natbib
4796 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
4798 * figinset.C (RegisterFigure): Print debug message only when
4799 current_view is available.
4801 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4803 * many files: update to match the change below
4805 * inset.h (insetAllowed): renamed from insertInsetAllowed;
4806 implement the version which takes an inset here.
4808 * insetcollapsable.[Ch]: implement open and isOpen
4810 * inset.h: remove insertInsetAllowed from Inset
4811 (open): new method, to open or close an inset
4812 (isOpen): returns the status of an inset
4813 (isCollapsable, colapse): removed
4815 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4817 * insetquotes.C (dispString): display french guillemets when using
4820 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4822 * insetcollapsable.h: remove bogus return statements
4824 2001-07-18 Juergen Vigna <jug@sad.it>
4826 * insettabular.C (selectNextWord): fixed spellchecking for the
4827 first cell of a tabular (wasn't entered!)
4828 (getLyXText): changed to enter automatically insettext and return
4829 it's LyXText if we're locked.
4831 2001-07-17 Juergen Vigna <jug@sad.it>
4833 * various files: implemented the below functions.
4835 * inset.h: added functions
4836 - virtual string selectNextWord(BufferView *, float & value) const;
4837 - virtual void selectSelectedWord(BufferView *) { return; }
4838 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
4839 needed for spellchecking correctly!
4841 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
4843 * insetert.C (latex): write out all paragraphs.
4845 2001-07-17 Baruch Even <baruch@lyx.org>
4847 * insetgraphics.C (draw): Removed unneeded casts.
4849 2001-07-16 Juergen Vigna <jug@sad.it>
4851 * insettext.C (update): fixed small oversight (reset lt to 0).
4853 2001-07-14 Baruch Even <baruch@lyx.org>
4856 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
4858 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
4860 Consistent use of Lsstream.h:
4861 * figinset.C: removed using std::ostringstream directive.
4863 * insetgraphics.C (createLatexOptions):
4864 * insetinclude.C (unique_id):
4865 std::ostringstream -> ostringstream.
4866 * insettext.C (localDispatch): std::istringstream -> istringstream.
4868 2001-07-13 Juergen Vigna <jug@sad.it>
4870 * insetfloat.C (insertInsetAllowed): added missing const_cast.
4872 * insetcollapsable.C (getLockingInset): ditto.
4874 2001-07-12 Juergen Vigna <jug@sad.it>
4876 * insetcollapsable.h: added implementation of new function for
4879 * various files: added implementation of new insertInsetAllowed-func
4880 and redone the function a bit more.
4882 * inset.h: added isCollapsable(), bool collapsed(),
4883 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
4885 * insetfloat.C (insertInsetAllowed): make a bit more checks.
4887 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
4888 LyXText which is marked for removal while we're using it!
4890 * insettext.h: added private LyXText * lt to use it to assure we are
4891 not deleting our LyXText while we're using it!
4893 2001-07-11 Juergen Vigna <jug@sad.it>
4895 * insettext.C (insertInset): check if we are before the inset after
4896 inserting it! This check IS needed. Remove the Undo-Call as it is
4897 called in LyXText::insertInset!
4899 * insettext.h: added struct InnerCache.
4901 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
4902 that we ONLY delete the LyXText in the getLyXText() routine. So we
4903 are sure we don't delete LyXText while someone is working with it!
4905 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4907 * insetexternal.C: (*it). -> it->
4908 * insettext.C: ditto
4910 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4912 * insetcollapsable.C (edit): always open collapsed insets (even if
4913 they are not autocollapsable)
4915 * insetcommand.C (operator=): simplify.
4917 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4919 * insetert.C (latex): handle META_NEWLINE
4921 2001-07-09 Juergen Vigna <jug@sad.it>
4923 * insetert.h: a normal InsetText can insert insets, but we won't.
4925 * inset.h: return default "false" on insertInsetAllowed and implement
4926 this function where a returnvalue != "false" is needed.
4928 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4930 * insetert.C (InsetERT): new contructor
4932 2001-07-06 Juergen Vigna <jug@sad.it>
4934 * a lot of files: added implementation of the below new functions
4935 and the change to clone(). Also the call of the new undo-functions
4938 * inset.h: added an inset_id, added functions getParFromID,
4939 getInsetFromID, firstParagraph, cursor and id functions, added
4940 bool same_ids to clone function.
4942 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4944 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
4945 of BufferView * and shared_ptr<LyXText>
4947 2001-07-05 Juergen Vigna <jug@sad.it>
4949 * insettext.C (clear): deleted also the cache not only LyXText.
4950 (setParagraphData): ditto.
4952 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4954 * insetfloat.C (latex): let the specific placement take presedence
4955 if set, otherwise choose document placement if set, otherwise just
4956 use float default placement.
4958 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4960 * insettext.C (localDispatch): call CutAndPaste::'s static method
4963 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4965 * insetbib.C: no meed to include forms.h here.
4967 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
4969 * insettext.C: added using std::make_pair directive.
4971 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4973 * insettext.C (getLyXText): avoid multiple lookups, and simplify
4975 (deleteLyXText): ditto
4976 (resizeLyXText): ditto
4978 2001-07-02 Juergen Vigna <jug@sad.it>
4980 * insettext.C (getLyXText): introduce a cache in getLyXText so that
4981 following calls are only returned the right pointer without the over
4982 head to search in the map.
4983 (various funcs): reset the cached_bview variable as this signs that
4984 the cache is not valid anymore.
4986 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4988 * insettabular.C (clone): do not copy the LyXTabular twice
4990 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4992 * insettext.h (TEXT): delete method
4994 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4996 * insetmarginal.C (latex):
4997 * insetfoot.C (latex): fix spacing of notes in LaTeX
4999 * insettext.C (localDispatch): use .c_str() on istringstream
5000 constructor argument.
5002 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
5007 * inseturl.C: fix method names in these to begin
5008 with small char too, so they inherit
5010 2001-06-28 Juergen Vigna <jug@sad.it>
5012 * insettext.C (setFont): fixed font settings using toggleFree()
5013 instead of setFont().
5015 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5017 * Change a lot of method names to begin with a small char.
5018 Changes to a lot of files because of this.
5020 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5022 * insetfloatlist.C (Write): std:: qualify ostream
5025 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
5029 * insetgraphics.C: send debug output to Debug::INFO instead of
5032 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
5035 * insettabular.C (getStatus): update to use func_status
5037 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
5039 * insetref.C (DocBook): added support for cross-references without
5042 2001-06-26 The LyX Project <jug@sad.it>
5047 * insetlabel.h: removed escape method and moved it to
5050 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5052 * insettabular.C (getMaxWidth): do the speedup in a different way,
5055 2001-06-24 The LyX Project <Asger>
5057 * insettabular.C (getMaxWidth): We cache a mapping from
5058 inset to cell in order to speed this method up.
5060 2001-06-24 The LyX Project <Asger>
5062 * insettext.C: Optimized InsetText::draw or something.
5064 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
5066 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
5068 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
5070 * inset.h: name change from lyxinset.h
5072 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
5074 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
5076 2001-06-14 Juergen Vigna <jug@sad.it>
5078 * insettext.C (draw): removed warnings.
5080 2001-06-13 Juergen Vigna <jug@sad.it>
5082 * insettabular.C (nodraw): only go down the tree if we don't have
5083 that flag set otherwise it's obvious that we don't want to draw.
5084 (LocalDispatch): do also an update if we have an undispached result.
5086 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
5089 * insetgraphicsParams.C:
5090 * insettext.C: removed // -*- C++ -*- as first line.
5092 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5094 * lyxinset.h (resizeLyXText): shut off warning about unused
5097 2001-06-07 Juergen Vigna <jug@sad.it>
5099 * insettext.C (resizeLyXText): honor the new force flag.
5101 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
5103 * insettabular.C (deleteLyXText): new function
5105 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
5113 * insetcollapsable.C:
5114 * insetcaption.C: LColor tidy
5116 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5118 * figinset.C: fix typo
5120 2001-06-01 Juergen Vigna <jug@sad.it>
5122 * insettabular.C (resetPos): small hack so that scroll is not set to
5123 0 when we are in the last column of a tabular. This is a problem we
5124 have because of constats 20 offset on both directions, so this can
5125 cause on the limit an endless loop.
5127 * insettext.C (SetFont): forgot that we can have locking insets ;)
5129 2001-05-31 Juergen Vigna <jug@sad.it>
5131 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
5133 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5135 * figinset.C: add using std:: directive for the C functions which
5138 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
5140 * insetfloat.C (Write): write out wide info
5141 (Read): read the wide info
5142 (Latex): use the wide info when creating latex.
5144 * insettext.C: adjust
5146 * insetgraphics.[Ch] (statusMessage): change to return string
5150 * figinset.C (runqueue): add std::
5153 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5155 * insetcite.C (Ascii): add std:: qualifier
5157 2001-05-28 Juergen Vigna <jug@sad.it>
5159 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
5160 a endless-width inset (maxWidth < 0).
5161 (Edit): change language only if not equal.
5163 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
5165 * insettext.C (draw): fixed draw/clear of InsetText-Frame
5167 2001-05-16 Juergen Vigna <jug@sad.it>
5169 * insettext.C (selectAll): added
5170 (clearSelection): added
5172 * insettabular.C (SetFont): now we may set a font on a whole selection!
5173 (getSelection): added helper function.
5175 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
5177 * insetcite.C (Ascii): Add method.
5179 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
5182 * insetbib.C: fix path for OS/2 & Win32
5184 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5186 * insetfoot.C (Latex): don't use % after footnote.
5188 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5190 * insettext.C (Read): use clear
5191 (SetParagraphData): use LyXParagraph copy constructor instead of clone
5193 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5195 * insetfloatlist.h: add a bunch of std:: qualifiers.
5197 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5199 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
5200 FLOAT_LIST_CODE, renumber code list.
5202 * insettoc.C (getScreenLabel): remove support for float lists
5206 * insetfloatlist.[Ch]: new files
5208 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
5210 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
5212 * insettabular.C (LocalDispatch):
5213 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
5216 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5218 * insettext.C: remvoe !NEW_INSETS cruft
5220 * insettabular.C: remove !NEW_INSETS cruft
5222 * insetcollapsable.h: remove !NEW_INSETS cruft
5224 * insetbib.C: remove !NEW_INSETS cruft
5226 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5228 * insettoc.C: hack to make listof algorithm work
5230 2001-04-20 Juergen Vigna <jug@sad.it>
5232 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
5234 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5236 * insetquotes.C (Latex): improve the guard against
5237 unwanted !` and ?` ligatures. This should really be done in
5238 another place (to catch all this ligatures at low-level).
5240 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5242 * insettext.C (init): remvoe leftovers from cursor_visible change
5243 (draw): use c++ cast
5244 (LocalDispatch): dispatch LFUN_MESSAGE
5246 * insettabular.C (InsetTabular): remove leftovers from
5247 cursor_visible, and scoped_ptr changes
5248 (draw): use c++ cast
5250 * insetcollapsable.C (draw): use c++ cast
5252 * ExternalTemplate.h: inherit privaely from noncopyable
5253 * insetcommand.h: ditto
5254 * insetinclude.h: ditto
5256 2001-04-16 Allan Rae <rae@lyx.org>
5258 * insettoc.C (Ascii):
5259 * insettext.C (draw):
5260 * insettabular.C (setPos):
5261 * insetminipage.C (Read):
5262 * insetfloat.C (placement):
5263 * insetcaption.C (Ascii, DocBook):
5264 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
5265 an unrecognised preprocessor directive. So ensure they're wrapped.
5267 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
5270 * insetexternal.C: set view on Clone. Add _ to private members.
5272 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5274 * insettext.C (InsetText): fix new
5275 (InsetText): reindent some, simplify deletion of par list
5276 (clear): simplify deletion of par list, fix new
5277 (SetParagraphData): simplify deletion of par list
5279 * insettabular.[Ch] (getLabelList): implement new method
5281 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5283 * lyxinset.h: do not include gettext.h...
5291 * insetlatexaccent.C:
5295 * inseturl.C: ... and do it here instead
5297 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5299 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
5301 * insettext.[Ch] (getLabelList): add std:: on vector<string>
5303 * insetcollapsable.[Ch] (getLabelList): implement
5305 * insettext.[Ch] (getLabelList): implement
5307 * insettext.h: reindent
5309 * insettabular.h: make tabular a scoped_ptr
5311 * insettext.C (init): adjust for cursor_visible
5312 (ToggleInsetCursor): constify asc and desc, font, adjust for
5314 (ShowInsetCursor): constify asc and desc, font, adjust for
5316 (HideInsetCursor): adjust for cursor_visible
5318 * insettabular.C: reindent some
5319 (InsetTabular): adjust for scoped_ptr and cursor_visible
5320 (InsetTabular): ditto
5321 (~InsetTabular): delete delete
5322 (Clone): adjust for scoped_ptr
5323 (Read): constify old_format, adjust for scoped_ptr, move init of
5325 (draw): constify tx, localize loop vars.
5326 some other localization of variables, remove double initilizatons.
5328 * insetfoot.C: remove using std::ostream, add ostream where needed
5330 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5332 * lyxinset.h: some reindentaion, use initializer list for
5334 UpdatableInset: make cursor_visible a private var add
5335 public isCursorVisible(), add protected toggleCursorVisible() and
5336 proctected setCursorVisible(bool), make scroll call the Inset::scroll
5338 * insettoc.C: remvoe using decl
5339 (getScreenLabel): make cmdname donst
5342 (Ascii): don't use endl
5344 * insetfootlike.C: remove using decl at file scope and add std::
5346 * insetmarginal.C: ditto
5348 * insetfoot.C: some reformatting
5350 * insetfloat.C (InsetButtonRelease): adjust the hit area
5352 * insetert.C (SetFont): some reformatting
5354 * insetcollapsable.C: some reformatting and constification
5355 (Clone): comment out.
5356 * insetcollapsable.h: some reformatting
5357 (Clone): comment out.
5362 2001-03-30 Juergen Vigna <jug@sad.it>
5364 * insetcollapsable.h: changen *inset to be a InsetText inset.
5366 * some files: changed to reflect the above change.
5368 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
5370 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
5371 InsetExternal::Params.
5372 Added operator==() and operator!=() for the Params struct.
5374 2001-03-29 Juergen Vigna <jug@sad.it>
5376 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
5379 * insetminipage.C: removed widthp_ and all it's functions and changed
5380 to use new %-lengths of LyXLength.
5382 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
5384 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
5386 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
5388 * insetgraphicsParams.C (operator!=): new function, needed by the
5389 ControlGraphics class.
5391 2001-03-28 Juergen Vigna <jug@sad.it>
5393 * insettext.C (InsetButtonPress): only enter !inset if button == 2
5394 (checkAndActivateInset): don't use the values returned from
5395 call to bv->checkInsetHit.
5397 * insetminipage.C (Clone): set special minipage values.
5399 * insetcollapsable.C (draw): changed to draw the button in the
5400 upper left corner outside the textinset.
5401 (ascent): changed because of different drawing
5405 (InsetButtonPress): ditto
5406 (InsetButtonRelease): ditto
5407 (InsetMotionNotify): ditto
5409 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
5411 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
5415 2001-03-26 Juergen Vigna <jug@sad.it>
5417 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
5419 * insettext.C (ShowInsetDialog): implemented above function.
5421 * insettabular.C (ShowInsetDialog): ditto
5423 * insetminipage.C (ShowInsetDialog): ditto
5425 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
5427 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
5428 InsetInclude::Params. Don't store a buffer * in Params. Store the
5429 master file name instead.
5431 2001-03-23 Juergen Vigna <jug@sad.it>
5433 * insetcollapsable.C (InsetMotionNotify):
5434 (InsetButtonRelease):
5435 (InsetButtonPress): fixed y-offset (minipages).
5437 * insettext.C (draw): force a FULL update if cleared == true.
5439 * insetcollapsable.C (draw): Lars forgotten entry for changing this
5440 routine to draw the minipages on its position-flag.
5441 (InsetInInsetY): give back the right y position, because of minipage
5444 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
5447 * insetfloat.C (DocBook): docbook export code.
5449 2001-03-22 Juergen Vigna <jug@sad.it>
5451 * insetminipage.C (getMaxWidth): added function to set the drawing
5453 (Read): should work now!
5455 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
5456 if we create a new inset.
5458 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
5460 * figinset.C (fl_set_preemptive_callback): moved definition outside
5463 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5465 * insetminipage.C (Read): prepare for reading of minipage arguments.
5467 2001-03-18 Baruch Even <baruch@lyx.org>
5469 * insetgraphics.C: Minor cleanups of the comments and code.
5471 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5473 * insetminipage.C (InsetMinipage): default to not collapsed
5475 2001-03-16 Juergen Vigna <jug@sad.it>
5477 * insetminipage.C (width): modified with to be a string
5478 (widthp): added widthp (for % width) support functions.
5479 (InsetButtonRelease): added to open the options dialog on button==3.
5480 (~InsetMinipage): added to hide the dialog.
5482 * insetminipage.h: added hideDialog signal
5484 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5486 * insetminipage.h: change the order or Position to match
5487 LyXParagraph::MINIPAGE_ALIGNMENT
5489 * several files: remvoe CXX_WORKING_NAMESPACES
5491 * ExternalTemplate.h: noncopyable is in namespace boost
5492 * insetinclude.h: ditto
5493 * insetcommand.h: ditto
5495 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
5497 * insettext.C (Edit): #else# -> #else.
5498 * insettoc.C: added using directive.
5500 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5502 * insetminipage.h: add pos, inner_pos, width and height. + getters
5503 and setters for all of them.
5505 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
5507 * insetinclude.C (Latex): Do not exit when the textclass of the
5508 included file differ from the textclass of the parent file.
5510 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
5512 * ExternalTemplate.C (read): the reading of external insets now checks
5513 for \end_inset and removes it form the input stream.
5515 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
5517 * ExternalTemplate.h:
5518 * ExternalTemplate.C:
5520 * insetexternal.C: move form to GUII
5522 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
5525 * insetinclude.C: add InsetIncludeParams, use
5526 composition rather than derivation of InsetCommand
5528 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5530 * insettoc.C (Ascii): use the Buffer typedefs
5532 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5534 * insettoc.C (Ascii): implement for dynamic number of lists
5536 * insetcaption.[Ch]: update from new_insets branch
5537 * insetfloat.[Ch]: ditto
5539 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
5542 * figinset.C: use new File Dialog
5544 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5546 * insettext.C: changes becuase of ParagraphParameters.
5548 2001-02-28 Baruch Even <baruch@ev-en.org>
5550 * insetgraphics.C (updateInset): Changed due to the change in
5553 2001-02-26 Juergen Vigna <jug@sad.it>
5555 * insettext.C (SetFont): Set Undo only if we have selection (as it is
5556 handled in LyXText).
5558 2001-02-23 Juergen Vigna <jug@sad.it>
5560 * insettext.C (draw): some small repainting fixes.
5561 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
5563 * inset.C (LocalDispatch): changed action to be a kb_action (as it
5564 should be) and not an int.
5566 * insettabular.C (LocalDispatch): ditto
5568 * insettext.C (LocalDispatch): ditto
5570 * insetcollapsable.C (LocalDispatch): ditto
5572 2001-02-22 Juergen Vigna <jug@sad.it>
5574 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
5575 DISPATCH it and we don't have a locking_inset.
5577 2001-02-21 Baruch Even <baruch@ev-en.org>
5579 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
5580 instead of GraphicsCacheItem *.
5582 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5584 * insetcollapsable.C (getLyXText): add const qualifier to second
5587 2001-02-22 Juergen Vigna <jug@sad.it>
5589 * insettext.C (getLyXText): honor the recursive parameter.
5590 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
5592 * inset.C (getLyXText): added bool recursive parameter.
5594 * insettext.C (SetUpdateStatus): or the update codes.
5595 (draw): check need_update with &.
5596 (InsetButtonPress): set no_selection to not put a selection when
5597 entering an inset and it is redraws in another spot.
5599 * insettext.h: made need_update an int.
5601 2001-02-20 Baruch Even <baruch@ev-en.org>
5604 * insetgraphisc.C: Changed to use better semantics when loading images
5605 for inline view. Now it doesn't keep the pixmap itself but it's holder.
5607 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
5611 * insetgraphics.C: change name of "hide" signal to "hideDialog",
5612 consistent with InsetTabular.
5614 2001-02-19 Juergen Vigna <jug@sad.it>
5616 * insettabular.C (LocalDispatch): implement PAGE up/down.
5618 * insettext.C (draw): clear all of it on need_update==INIT too!
5620 * insettabular.C (InsetUnlock): always clear the selection.
5622 * inset.C (scroll): normally we only want to scroll the inset until
5623 it is fully visible so if top_x + offset > 20 then just set scx to 0.
5625 2001-02-14 Juergen Vigna <jug@sad.it>
5627 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
5628 (resetPos): fixed scroll behaviour.
5629 (LocalDispatch): do an update if moving cursor inside a table cell
5630 requests a scroll of the tabular.
5632 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5634 * insettext.C (textWidth): constify local var
5636 * insettabular.C: small cleanup.
5638 * insetfoot.C (Latex): constify local var
5640 * insetcollapsable.C: small cleanup.
5642 * figinset.C (runqueue): use compare instead of strcmp
5644 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
5647 * insetinfo.C: remove cruft
5649 2001-02-14 Juergen Vigna <jug@sad.it>
5651 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
5653 2001-02-13 Juergen Vigna <jug@sad.it>
5655 * insettext.C (InsertInset): don't move left (is this right?)
5657 * insettabular.C (LocalDispatch): use of the no_draw variable
5659 * insettabular.h: new no_draw variable to stop redraw
5661 * insettabular.C (TabularFeatures): fixed update for alignment change
5663 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
5667 * insetbib.C: move dialogs to frontends/
5669 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
5671 * insettext.C (LocalDispatch): Restore the language if the inset
5674 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
5676 * insettext.C (moveRightIntern): Update the selection cursor.
5677 (moveLeftIntern): Ditto.
5679 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5681 * Makefile.am: remove BoundingBox.h
5683 * BoundingBox.h: removed
5685 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
5687 * insettext.C (LocalDispatch): Update selection cursor when moving
5688 cursor to the right.
5689 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
5690 (moveLeftIntern): Ditto.
5692 2001-02-05 Baruch Even <baruch.even@writeme.com>
5694 * insetgraphics.C: Updated automatic image conversion, it now goes into
5695 temporary directory instead of with the image itself.
5697 2001-01-21 Baruch Even <baruch@ev-en.org>
5699 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
5700 to EPS or PNG when needed (support bitmap graphics).
5702 2000-11-02 Baruch Even <baruch@ev-en.org>
5705 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
5706 and removal of commented out code.
5708 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5710 * insetbib.C (callback): Update citations if the key has changed.
5712 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5714 * insetbib.C (InsetBibKey): Better computation of default key.
5715 (getScreenLabel) Show both the key and the label.
5716 (getBibLabel): New method.
5717 (callback): Force a redraw if the inset have been changed.
5719 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
5721 * insetref.C (getType, getName): Move methods from
5722 src/frontends/xforms/FormRef.C.
5724 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
5726 * insettabular.C: Various improvements (use only one dummy position).
5728 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
5730 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
5731 par->bibkey->width. This fixes the crashes when running without
5732 gui or when having included documents.
5734 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
5736 * insetcommand.C (getAsString, setFromString): Cleanup.
5738 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
5740 * insetref.C: Add the array InsetRef::types that contains
5741 information about all supported reference types.
5743 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5745 * lyxinset.h: remove trailing comma in enum.
5747 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
5749 * insettext.C: kill LyXBell.