1 2003-10-07 Angus Leeming <leeming@lyx.org>
3 * ExternalTransforms.[Ch]: new files, detailing transforms that can
4 be applied to InsetExternal.
6 * Makefile.am: add these new files.
8 * ExternalTemplate.[Ch]: add a list of available transforms to
9 class Template and a list of factory functions for transformer classes
10 that can act on this data to class Format.
12 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
14 * ExternalSupport.C: Add code to replace transform placeholders
15 with appropriate output.
17 2003-10-07 Angus Leeming <leeming@lyx.org>
19 * ExternalSupport.[Ch]: new files, moving the private member functions
20 and namespace anon functions out of insetexternal.C to here, so making
21 it easier to understand what is going on in insetexternal itself.
23 * Makefile.am: add new files.
25 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
26 allowing the class to be forward declared. (Also consistent with
27 all other Params classes.)
28 (write): moved out of the class. Move this function and those in
29 namespace anon to ExternalSupport.[Ch].
31 2003-10-07 Angus Leeming <leeming@lyx.org>
33 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
34 non-const member function.
36 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
41 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
43 2003-10-02 André Pönitz <poenitz@gmx.net>
45 * insettext.C (read): make sure there is at least one par
46 in the text after reading.
48 2003-10-01 José Matos <jamatos@lyx.org>
50 * insetbranch.C (linuxdoc, docbook): minor fix.
52 2003-10-01 Angus Leeming <leeming@lyx.org>
54 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
56 * insetexternal.[Ch]: changes due to the introduction of
57 namespace lyx::external.
59 2003-09-30 Angus Leeming <leeming@lyx.org>
61 * insetexternal.[Ch] (Params::read, write): new member functions.
63 2003-09-25 Angus Leeming <leeming@lyx.org>
65 * insetexternal.[Ch] (TempName): new (private) nested struct with
66 fake copy semantics. Enables us to use the generated copy c-tor
68 (Params::templatename, Params::tempname): use accessor functions.
70 2003-09-25 Angus Leeming <leeming@lyx.org>
72 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
73 function, returning a const pointer.
75 2003-09-23 Angus Leeming <leeming@lyx.org>
77 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
78 store them in a vector, preambleNames.
80 * insetexternal.C (validate): loop over all preambleNames and call
81 LaTeXFeatures::addExternalPreamble with each.
83 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
85 * insetbranch.C: bug fix in branches
87 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
89 * insetnote.C: small clean-up.
91 2003-09-19 Angus Leeming <leeming@lyx.org>
93 * inset.h (generatePreview): passed a 'Buffer const &' arg.
95 * insetcommand.C (string2params): clear params using the default c-tor.
97 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
98 InsetInclude::Params. No more data in this struct than in
99 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
100 (c-tor): no need to pass a 'Buffer const &' arg anymore.
101 (clone): remove #warning as it's now redundant.
102 (set): add a 'Buffer const &' arg. Make private.
103 (loadIfNeeded) move out of the class definition and into namespace anon.
104 (getMasterFilename, getFileName): ditto.
106 2003-09-18 Angus Leeming <leeming@lyx.org>
108 * insetcommand.C (setParams): use the params' copy constructor.
110 2003-09-18 Angus Leeming <leeming@lyx.org>
112 * insetinsetbase.h (getLabelList):
113 * insetinsetcollapsable.[Ch] (getLabelList):
114 * insetinsetinclude.[Ch] (getLabelList):
115 * insetinsetlabel.[Ch] (getLabelList):
116 * insetinsettabular.[Ch] (getLabelList):
117 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
118 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
120 2003-09-18 Angus Leeming <leeming@lyx.org>
122 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
123 redundant baggage from yesteryear.
124 Remove Params::flag as it is redundant; the info is present in
127 2003-09-18 Angus Leeming <leeming@lyx.org>
129 * insetinclude.C (latexString): add a Buffer const & arg.
131 2003-09-18 Angus Leeming <leeming@lyx.org>
136 * insettext.h: rename EnumLColor as LColor_color.
138 2003-09-18 Angus Leeming <leeming@lyx.org>
140 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
141 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
143 2003-09-16 Angus Leeming <leeming@lyx.org>
145 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
146 set before trying to generate a preview, else we trigger an assert.
148 2003-09-16 Angus Leeming <leeming@lyx.org>
150 * insetinclude.C (PreviewImpl::parent): return a const reference.
152 2003-09-16 Angus Leeming <leeming@lyx.org>
154 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
156 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
158 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
159 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
161 * insetminipage.C (metrics):
162 * insetnote.C (metrics):
163 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
164 access collapsed_ directly.
166 2003-09-16 Angus Leeming <leeming@lyx.org>
168 * insetbibitem.C: add #include "lyxfont.h".
170 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
173 * insetbibtex.C: use namespace alias for lyx::support::os
175 2003-09-16 Angus Leeming <leeming@lyx.org>
177 * insetcollapsable.h: remove unused framecolor variable.
178 Remove #include "LColor.h".
180 * insetcollapsable.C: remove unused framecolor variable.
183 * insetcollapsable.C:
191 Add #include "LColor.h".
193 2003-09-16 Angus Leeming <leeming@lyx.org>
195 * insettext.[Ch] (frameColor): new accessor function.
196 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
202 add #include "LColor.h".
204 * insetcollapsable.h: add #include "LColor.h"
205 (for its framecolor member variable).
207 2003-09-16 Angus Leeming <leeming@lyx.org>
209 * insetenv.C (constructor): use accessor functions to access InsetText variables.
211 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
212 rename frame_color as frame_color_. Make private.
214 * insettext.C: associated changes.
216 2003-09-16 Angus Leeming <leeming@lyx.org>
218 * inset.h: store background_color_ as an int, not as an LColor::color to
219 get LColor.h out of the header file.
222 * insetlatexaccent.C:
225 * insetspecialchar.C:
227 add #include "LColor.h".
229 2003-09-16 Angus Leeming <leeming@lyx.org>
231 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
234 2003-09-15 Angus Leeming <leeming@lyx.org>
236 * inset.[Ch] (setBackgroundColor, backgroundColor):
237 * insettext.[Ch] (setFrameColor):
238 pass EnumLColor args, rather than LColor::color ones.
240 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
250 * insetwrap.C: remove usage of STRCONV
252 2003-09-15 Angus Leeming <leeming@lyx.org>
254 * renderers.C (draw):
255 * insetlatexaccent.C (draw): explicitly define the color passed to
258 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
260 * insettext.C: remove block causing problems in lockInsetInInset
261 (mentioned erroneously under Bug #1366)
263 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
265 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
268 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
270 * several files: change Assert to BOOST_ASSERT
272 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
274 * insettext.[Ch]: remove drawText[XY]Offset
276 2003-09-08 Angus Leeming <leeming@lyx.org>
278 * insetcollapsable.C:
283 * insetspecialchar.C:
286 * insettoc.C: remove redundant using directives.
288 2003-09-07 Angus Leeming <leeming@lyx.org>
291 * insetspecialchar.h: remove #include "support/std_string.h".
293 2003-09-06 Angus Leeming <leeming@lyx.org>
295 * renderers.C: add #include "insets/inset.h"
297 2003-09-05 Angus Leeming <leeming@lyx.org>
299 * *.C: strip out redundant #includes. (193 in total.)
301 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
303 * insets/insetbibtex.[Ch]:
304 * insets/insetcommand.h:
305 * insets/insetfloatlist.[Ch]:
306 * insets/insetinclude.[Ch]:
307 * insets/insettoc.[Ch]: Restricts the mouse click functionality
308 of insets like bibtex, include, toc and floatlist to the visible
309 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
310 up the dialogs. Cursor has to be in front of the inset (i.e.
311 start of row) for this to function.
313 2003-09-04 Angus Leeming <leeming@lyx.org>
315 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
316 structure outside of the Format struct. Format::preambleName refers to
317 an item in the map of all preamble snippets.
318 Make use of the new Debug::EXTERNAL flag.
320 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
321 (validate): Small change due to the changed storage of preamble snippets.
323 2003-09-04 Angus Leeming <leeming@lyx.org>
325 * insetgraphics.C: #include "support/os.h"
327 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
328 * insettabular.h: move #include "FuncStatus.h" out of the header file.
329 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
331 * insetcollapsable.h:
333 * insetnote.C: move #include "funcrequest.h" out of the header file.
335 2003-09-03 Angus Leeming <leeming@lyx.org>
337 * insetexternal.C (updateExternal):
338 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
341 2003-09-03 Angus Leeming <leeming@lyx.org>
343 * insetexternal.C: don't bring namespace lyx::support into the global
346 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
348 * insetbranch.C: Add Branch: to label
350 2003-09-02 John Levon <levon@movementarian.org>
353 * insettext.C: remove cursor.i[xy]()
355 2003-08-28 Angus Leeming <leeming@lyx.org>
357 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
358 "sh ", enabling the conversion to be carried out even if the script
361 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
363 * most files: change to use const Buffer refs
365 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
367 * insetfootlike.C: whitespace.
369 2003-08-26 John Levon <levon@movementarian.org>
373 * insetindex.h: remove remaining mentions of needFullRow()
375 2003-08-26 André Pönitz <poenitz@gmx.net>
381 * inset.[Ch]: remove InsetOld::par_owner_ & handling
383 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
385 * insetbranch.C: Small fix to prevent a crash on loading.
387 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
392 * insetcollapsable.h:
394 * insetfloatlist.[Ch]:
395 * insetfootlike.[Ch]:
403 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
404 altogether, putting the logic in metrics/draw in the insets.=20
405 Draws short single row insets with more or less realistic metrics.
407 2003-08-19 André Pönitz <poenitz@gmx.net>
409 * insettext.C: use new RowPainter interface
411 2003-08-18 John Levon <levon@movementarian.org>
413 * insetref.C: require amsmath for eqref
415 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
419 * insetbranch.[Ch]: implements the 'branch inset'
420 idea. This allows the output of various versions of a document
421 from a single source version, selectively outputing or suppressing
422 output of parts of the text.
423 This implementation contains a 'branch list editor' in a separate
424 tab of the document settings dialog. Branches are user definable
425 and have a "display colour" to distinguish them on-screen.
427 ColorHandler was somewhat cleaned up.
428 (1) make possible a dynamically growing LColor list by allowing
429 the graphic context cache to grow along (vector);
430 (2) eliminate an IMHO unnecessary step in colour allocation.
432 2003-08-15 André Pönitz <poenitz@gmx.net>
434 * insettext.[Ch]: adjust after rowlist split
436 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
438 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
439 rename valign-center to valign-middle;
440 rename VALIGN_CENTER to VALIGN_MIDDLE
442 2003-08-11 André Pönitz <poenitz@gmx.net>
444 * inset.h: remove resizeLyXText
447 * insetcollapsable.[Ch]:
449 * insettabular.[Ch]: adjust
451 * insettext.[Ch]: remove saveLyXTextState,
452 restoreLyXTextStat, sstate, reinitLyXText
454 2003-08-07 André Pönitz <poenitz@gmx.net>
456 * inset.[Ch]: move non-crucial functions out-of-line
458 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
459 remove duplicated code.
461 2003-08-05 André Pönitz <poenitz@gmx.net>
464 * insetcollapsable.[Ch]:
477 * updatableinset.[Ch]: rip out "deep update"
479 * insettext.C (localDispatch): merge cases with default branch
481 * insettext.C (frame_x,y,w,h): replace member with automatic variables
483 * insettabular.[Ch] (updateLocal): simplify logic
485 2003-08-04 André Pönitz <poenitz@gmx.net>
487 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
488 is 'FULL' all the time.
490 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
492 * insetert.C (get_new_label): only add ... to the (closed) label
493 when the string has been shortened
495 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
497 * Always use std::endl with lyxerr
499 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
501 * insetnote.C: update \author list
503 2003-07-31 André Pönitz <poenitz@gmx.net>
505 * insetcollapsable.h:
507 * insettext.[Ch]: remove toggleSelection
509 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
511 (with help from Juergen Spitzmueller)
512 * insetnote.C: add add i18n support. Use Prefs-definable
513 colours for Comment and Greyedout.
515 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
517 * insetcollapsable.[Ch]:
519 * insetert.C: factor out the detection of clicking on the inset
520 button as 'hitButton'. John Levon contributed.
522 2003-07-30 André Pönitz <poenitz@gmx.net>
524 * insetcollapsable.C:
526 * insettabular.C: parantheses, localize vars etc.
528 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
530 * insetnote.C: Implement a newenvironment in preamble for
531 greyedout. Patch provided by Jürgen Spitzmüller.
533 2003-07-29 Angus Leeming <leeming@lyx.org>
535 * insetcommand.C (localDispatch): default to
536 InsetOld::localDispatch.
538 * insetbibitem.C (localDispatch):
539 * insetbibtex.C (localDispatch): remove call to
540 ChangeCitationsIfUnique.
542 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
544 * insetexternal.C (read): use pushpophelper.
546 2003-07-28 José Matos <jamatos@lyx.org>
548 * insetext.C (read): \end_document replaces \the_end.
550 2003-07-28 José Matos <jamatos@fep.up.pt>
552 * insetert.C (write): \layout -> \begin_layout.
553 Add missing \end_layout.
555 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
557 * insetquotes.C: document a bit the format
559 * insettabular.C (write): remove extra space
561 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
562 * insetnote.C: Umpf. Hope I *now* get it right :-(
564 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
565 *insetnote.C: did the right fix to greyedout: \color
566 instead of \textcolor.
568 2003-07-28 Angus Leeming <leeming@lyx.org>
570 * insetbibtex.h: remove extraneous forward declaration.
573 * insetbibtex.h: Also remove long-dead Holder member class
576 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
578 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
581 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
583 * insetwrap.C (addToToc): adjust for lyx::toc
585 * insetfloatlist.C (ascii): adjust for lyx::toc
587 * insetfloat.C (addToToc): adjust for lyx::toc
589 2003-07-27 José Matos <jamatos@fep.up.pt>
591 * insetnote.h (linuxdoc,docbook): update support.
593 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
595 * insetfloat.C (wide): add a space to label, for consistency
597 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
599 * insettext.C (nextChange): adjust for lyx::find
600 (searchForward): ditto
601 (searchBackward): ditto
603 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
605 * insetgraphicsParams.C:
606 * insetexternal.C: declare extern displayTranslator
609 * renderers.C: add #include "support/LAssert.h"
611 2003-07-27 José Matos <jamatos@fep.up.pt>
613 * insetfloat.[Ch] (linuxdoc):
614 * insetgraphics.C (linuxdoc):
615 * insettabular.C (linuxdoc):
616 * insettext.[Ch] (linuxdoc): add support for tables and figures
619 2003-07-27 José Matos <jamatos@fep.up.pt>
621 * insetinclude (latex): comply with makeLaTeXFile argument change.
623 2003-07-26 Asger Alstrup <alstrup@local>
625 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
626 the undo crashes. We'll see what problems other places this will
629 2003-07-26 Angus Leeming <leeming@lyx.org>
631 * insetgraphics.C: remove unused declaration of system_tempdir.
633 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
635 * rename Inset to InsetOld
637 * all inset files (clone): return a auto_ptr<InsetBase>
639 2003-07-23 Angus Leeming <leeming@lyx.org>
641 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
643 2003-07-23 Angus Leeming <leeming@lyx.org>
645 * mailinset.[Ch] (inset2string):
646 * insetcommand.[Ch] (inset2string):
647 * insetert.[Ch] (inset2string):
648 * insetexternal.[Ch] (inset2string):
649 * insetfloat.[Ch] (inset2string):
650 * insetgraphics.[Ch] (inset2string):
651 * insetinclude.[Ch] (inset2string):
652 * insetminipage.[Ch] (inset2string):
653 * insetnote.[Ch] (inset2string):
654 * insettabular.[Ch] (inset2string):
655 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
657 * insetexternal.[Ch]:
658 * insetgraphics.[Ch]: get rid of the view() function. Associated
659 changes to the mailers' string2params and params2string functions.
661 2003-07-23 Angus Leeming <leeming@lyx.org>
663 * insetexternal.[Ch]: store the external file name in a FileName
664 member variable rather than a string + associated changes.
666 2003-07-21 Angus Leeming <leeming@lyx.org>
668 * insetgraphicsParams.[Ch]: store the graphics file name in
669 a FileName member variable rather than a string.
671 * insetgraphics.[Ch]:
672 * insetgraphicsParams.[Ch]: Associated changes.
674 2003-07-21 Angus Leeming <leeming@lyx.org>
676 * insetgraphics.[Ch] (string2params, params2string): passed a
677 buffer_path argument.
680 2003-07-21 Angus Leeming <leeming@lyx.org>
683 * insetgraphicsParams.[Ch]:
685 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
687 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
689 * insetnote.C: fixed greyout and conditionals layout foul-ups.
691 2003-07-18 André Pönitz <poenitz@gmx.net>
694 * insetminipage.[Ch]:
698 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
700 2003-07-18 André Pönitz <poenitz@gmx.net>
704 * insetcollapsable.C:
708 * insetgraphics.[Ch]:
709 * insetlatexaccent.[Ch]:
714 * insetspecialchar.C:
717 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
719 2003-07-17 André Pönitz <poenitz@gmx.net>
721 * insetcollapsable.C:
723 * insettext.C: don't call Inset::update() anymore
726 * insettabular.[Ch]: remove unneeded in_update_ members
728 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
730 2003-07-16 André Pönitz <poenitz@gmx.net>
732 * insettext.C (selectAll): remove
734 2003-07-16 John Levon <levon@movementarian.org>
737 * insetnote.C: implement showInsetDialog()
739 2003-07-15 André Pönitz <poenitz@gmx.net>
742 * insettext.C: refresh_status tristate -> need_update bool
744 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
746 * insettext.C: adjust call to LyXText::init
748 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
750 * insettext.C: use bufferview_funcs->replaceSelection()
751 to delete selections in some cases (bugs 441, 673, 702, 954).
753 2003-07-14 André Pönitz <poenitz@gmx.net>
755 * insettext.C (draw): use slimmed down rowpainter interface
757 2003-07-14 André Pönitz <poenitz@gmx.net>
759 * insetcollapsable.C:
761 * insettext.[Ch] (cy, ciy, setUpdateStatus):
762 remove unused BufferView * argument
764 2003-07-14 André Pönitz <poenitz@gmx.net>
766 * insettext.[Ch]: used cached metrics a bit more
768 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
770 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
772 2003-07-10 André Pönitz <poenitz@gmx.net>
775 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
777 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
779 * introduce namespace lyx::graphics
781 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
783 * introduce namespace lyx::support
785 2003-06-30 André Pönitz <poenitz@gmx.net>
787 * insetcite.C (localDispatch): fix case of missing return value
789 * insetcite.C (ascii): remove unneeded temporary
791 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
793 * insetspace.h: fix \file
795 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
796 * insetinclude.C (fillWithBibKeys): ditto
798 * insetbibitem.C: fix type const order
800 * inset.C (getLyXText): add varname for arg
802 * ExternalTemplate.h: fix type const order
804 2003-06-27 André Pönitz <poenitz@gmx.net>
806 * insettext.C: take care of removed LyXCursor::row_ member
808 * insettext.[Ch]: use new TextCursor struct for sstate
810 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
812 * inseterror.[Ch]: removed
814 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
816 * insetinclude.C (docbook): use parseError instead of sgmlError
818 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
820 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
821 of BufferList::loadLyXFile
823 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
825 * insettext.C (update): simplify
826 (updateLocal): remove commented code
827 (insetUnlock): simplify
828 (lockInset): simplify
829 (updateInsetInInset): simplify
830 (localDispatch): simplify
832 (resizeLyXText): simplify
833 (collapseParagraphs): simplify
835 * insetert.C (get_new_label): simplify
837 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
839 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
840 pasteSelection with index
842 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
844 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
846 2003-06-16 André Pönitz <poenitz@gmx.net>
848 * insetbase.h: new virtual base function clone()
850 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
851 Inset * clone() -> InsetBase * clone()
853 2003-06-13 André Pönitz <poenitz@gmx.net>
855 * insettabular.[Ch]: make tabular a proper member
857 2003-06-12 André Pönitz <poenitz@gmx.net>
859 * insettabular.[Ch]: some renaming plus whitespace
861 2003-06-11 Angus Leeming <leeming@lyx.org>
863 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
866 * insetbutton.[Ch]: removed.
867 * graphicinset.[Ch]: renamed as renderers.[Ch].
869 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
870 Create a new class ButtonRenderer using the InsetButton::metrics() and
872 Derive both from a common RenderedInset base class.
875 * insetinclude.[Ch]: derive from Inset, not InsetButton.
876 Give it a ButtonRenderer member variable. Use it.
877 Give the classes working copy c-tors.
878 No longer derive from boost::noncopyable.
880 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
881 display its contents as a button or as a graphic.
883 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
886 2003-06-11 Angus Leeming <leeming@lyx.org>
888 * insetcite.C (localDispatch): reformat.
890 * insetref.C (localDispatch): enable dialog to be lauched.
892 2003-06-11 John Levon <levon@movementarian.org>
894 * insettabular.C: correctly mark all cells as erased
896 2003-06-11 Angus Leeming <leeming@lyx.org>
898 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
899 ExternalTemplate but its name, templatename. This means that a file
900 containing a reference to an External Template not installed on the
901 current machine will be saved retaining this info rather than inserting
902 the first "valid" template from the list of templates.
904 As a by product, the visual statement that the Template is missing is
907 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
909 * insettext.C (appendParagraphs): remove some commented code.
911 2003-06-10 Angus Leeming <leeming@lyx.org>
913 * graphicinset.[Ch] (view): removed the publicly accessible function to set
916 * insetexternal.[Ch]: move tempname_ into the Params struct.
917 (Params d-tor): new function, to clean-up this temp file.
918 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
920 (editExternal, doSubstitution): move out of class.
922 2003-06-10 Angus Leeming <leeming@lyx.org>
924 * graphicinset.[Ch] (params): removed.
925 * graphicinset.h (operator=): declared private but not defined.
926 (statusMessage): made private.
928 * insetexternal.[Ch]: graphic_ renamed as renderer_.
930 2003-06-07 John Levon <levon@movementarian.org>
932 * insetert.C (latex): make a newline mean just that not
935 2003-06-07 José Matos <jamatos@fep.up.pt>
937 * insethfill.[Ch] (linuxdoc, docbook): implement output
938 * insetspace.C (linuxdoc, docbook): remove coments as the code
941 2003-06-06 José Matos <jamatos@fep.up.pt>
943 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
945 2003-06-06 André Pönitz <poenitz@gmx.net>
947 * insetwrap.[Ch]: code compactification
949 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
951 * mailinset.C (updateDialog): use Dialogs::visible
953 2003-06-04 Angus Leeming <leeming@lyx.org>
955 * graphicinset.C (draw): add a comment for the #if 0 block.
957 * insetexternal.h: remove Params::parameters variable.
958 * insetexternal.C (read, write): rewrite to output new ExternalInset format
959 and read it back making full use of LyXLex.
961 2003-06-04 André Pönitz <poenitz@gmx.net>
963 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
965 2003-06-04 John Levon <levon@movementarian.org>
967 * insettabular.C: back out tall table speed up. It was broken
969 2003-06-03 Angus Leeming <leeming@lyx.org>
971 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
972 Remove ViewCommand and UpdateCommand.
974 * graphicinset.C (update): bug fix. Set the params before calling the
976 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
977 BufferView cache to enable the InsetExternal::editCommand to be invoked
978 from the frontends. Would not be needed if this were dispatched properly.
979 (old_ascent_): variable removed.
981 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
982 do any necessary conversions of external material. Also use the
983 new GraphicsInset to display the inset within LyX.
985 2003-06-03 Angus Leeming <leeming@lyx.org>
987 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
988 and move it somewhere where InsetExternal can use it too.
990 * Makefile.am: add the new files.
992 * insetgraphics.[Ch]: make use of the new GraphicInset.
994 2003-06-03 John Levon <levon@movementarian.org>
1000 * insetcommand.[Ch]:
1004 * insetexternal.[Ch]:
1008 * insetgraphics.[Ch]:
1010 * insetinclude.[Ch]:
1013 * insetlatexaccent.[Ch]:
1014 * insetmarginal.[Ch]:
1015 * insetminipage.[Ch]:
1022 * insetspecialchar.[Ch]:
1023 * insettabular.[Ch]:
1025 * insetthereom.[Ch]:
1028 * insetwrap.[Ch]: make clone() not take a Buffer * arg
1030 * insetgraphics.[Ch]:
1031 * insetgraphicsParams.[Ch]: always store an absolute
1034 2003-06-02 André Pönitz <poenitz@gmx.net>
1038 * insetlatexaccent.C: remove duplicated call to metrics()
1040 2003-06-02 John Levon <levon@movementarian.org>
1042 * insettabular.C: fix resize of column width
1044 2003-06-02 John Levon <levon@movementarian.org>
1049 * insetparent.C: remove insetparent
1051 2003-06-02 André Pönitz <poenitz@gmx.net>
1058 * insetcollapsable.[Ch]:
1062 * insetgraphics.[Ch]:
1063 * insetinclude.[Ch]:
1064 * insetlatexaccent.[Ch]:
1065 * insetminipage.[Ch]:
1066 * insetnewline.[Ch]:
1069 * insetspecialchar.[Ch]:
1070 * insettabular.[Ch]:
1071 * insettext.[Ch]: unify first drawing phase
1074 * insetbase.h: move validate() to the base
1076 2003-05-31 Angus Leeming <leeming@lyx.org>
1078 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
1080 2003-05-30 André Pönitz <poenitz@gmx.net>
1085 * insetcaption.[Ch]:
1086 * insetcollapsable.[Ch]:
1089 * insetgraphics.[Ch]:
1090 * insetinclude.[Ch]:
1091 * insetlatexaccent.[Ch]:
1092 * insetnewline.[Ch]:
1095 * insetspecialchar.[Ch]:
1096 * insettabular.[Ch]:
1098 * updatableinset.[Ch]: unify second drawing phase
1100 2003-05-30 John Levon <levon@movementarian.org>
1102 * insetgraphics.C: fix a bformat
1104 2003-05-29 John Levon <levon@movementarian.org>
1106 * insettabular.C: remove unused bufferOwner()
1108 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1110 * insettext.C (lockInsetInInset): adjust
1111 (getLabelList): use const_iterator, adjust
1112 (getInsetFromID): use const_iterator, adjust
1113 (addPreview): use const_iterator, adjust
1115 * insetwrap.C (clone): remove const_cast
1117 * insetnote.C (clone): remove const_cast
1119 * insetminipage.C (clone): remove const_cast
1121 * insetmarginal.C (clone): remove const_cast
1123 * insetfoot.C (clone): remove const_cast
1125 * insetfloat.C (clone): remove const_cast
1127 * insetert.C (clone): remove const_cast
1129 * delete commented same_id functions from a lot of files.
1131 2003-05-28 John Levon <levon@movementarian.org>
1137 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
1139 * insetminipage.C: fix metrics (bug 1144)
1141 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1143 * insettext.C (saveLyXTextState): adjust
1144 (restoreLyXTextState): adjust
1147 (unlockInsetInInset): adjust
1148 (localDispatch): adjust
1149 (getLyXText): adjust
1151 * insettabular.C (insertAsciiString): adjust
1153 2003-05-27 André Pönitz <poenitz@gmx.net>
1156 * insetcollapsable.C:
1159 * insetlatexaccent.C:
1164 * insetspecialchar.C:
1166 * insettext.C: dim.w -> dim.wid
1168 2003-05-26 John Levon <levon@movementarian.org>
1170 * insettabular.C: avoid drawing all of a long table
1171 if it's not needed. A big speedup
1173 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1175 * remove same_id from function signatures, adjust
1177 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1179 * insettext.C (InsetText): adjust
1181 (setParagraphData): separate same_id cases, adjust
1182 (appendParagraphs): adjust
1183 (appendParagraphs): adjust
1185 2003-05-23 André Pönitz <poenitz@gmx.net>
1187 * insetbutton.h: whitespace
1189 * insettabular.C: more compact code
1191 * updatableinset.C: remove const_cast
1194 2003-05-23 Angus Leeming <leeming@lyx.org>
1196 * insetexternal.C (write): check how many lines are output.
1197 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
1198 if the template has defined it.
1200 2003-05-23 Angus Leeming <leeming@lyx.org>
1202 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
1204 2003-05-23 Angus Leeming <leeming@lyx.org>
1206 * insetfoot.C (latex):
1207 * inseturl.C (latex): rename fragile as moving_arg.
1209 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1211 * inseterror.C (localDispatch): comment out unused var.
1213 2003-05-22 Angus Leeming <leeming@lyx.org>
1215 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
1216 passed through the LatexRunParams arg.
1218 2003-05-22 Angus Leeming <leeming@lyx.org>
1220 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
1221 through the LatexRunParams arg.
1223 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
1224 arg rather than through a global var.
1226 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1228 * insetspecialchar.C (dimension): use a string.
1230 2003-05-22 Angus Leeming <leeming@lyx.org>
1232 * insetbibtex.C (latex):
1233 * insetgraphics.C (latex):
1234 * insetinclude.C (latex): extract the buffer's 'nice'ness from
1235 runparams rather than from the buffer itself.
1237 2003-05-22 Angus Leeming <leeming@lyx.org>
1239 * inset*.[Ch] (latex):
1240 passed a LatexRunParams parameter.
1242 * insetgraphics.C (latex): actually use it ;-)
1244 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
1246 * insetfloat.C (addToToc): trivial compile fix
1248 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1250 * insettext.[Ch] (paragraph): delete unused function
1252 * insetfloat.C (addToToc): parlist simplfication
1254 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1256 * insetspace.[Ch]: added (new space insets)
1258 * inset.h: handle new space insets
1260 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1262 * insetfloat.C (addToToc): adjust
1264 2003-05-21 André Pönitz <poenitz@gmx.net>
1266 * insettext.[Ch]: fix drawing bug introduced earlier
1268 2003-05-19 André Pönitz <poenitz@gmx.net>
1270 * insetspecialchar.C: fix bug introduced yesterday
1272 2003-05-19 André Pönitz <poenitz@gmx.net>
1276 * insetcollapsable.[Ch]:
1280 * insetgraphics.[Ch]:
1281 * insetgraphicsParams.[Ch]:
1282 * insetlatexaccent.[Ch]:
1283 * insetminipage.[Ch]:
1284 * insetnewline.[Ch]:
1286 * insetspecialchar.[Ch]:
1287 * insettabular.[Ch]:
1288 * insettext.[Ch]: dimensions() instead of ascend/descend/width
1290 2003-05-19 André Pönitz <poenitz@gmx.net>
1293 * insettext.C: more insetenv
1295 2003-05-16 André Pönitz <poenitz@gmx.net>
1298 * insetminimpage.[Ch]:
1299 * insetcollapsable.[Ch]: fix #832
1301 2003-05-16 André Pönitz <poenitz@gmx.net>
1304 * insetbibitem.[Ch]:
1308 * insetcollapsable.[Ch]:
1309 * insetcommand.[Ch]:
1312 * insetexternal.[Ch]:
1313 * insetfloatlist.[Ch]:
1314 * insetgraphics.[Ch]:
1315 * insetinclude.[Ch]:
1318 * insetlatexaccent.[Ch]:
1321 * insettabular.[Ch]:
1325 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
1327 2003-05-13 André Pönitz <poenitz@gmx.net>
1330 * insetcollapsable.C:
1334 * insetwrap.C: tostr from own header
1346 * insetwrap.C: STRCONV
1349 2003-05-12 André Pönitz <poenitz@gmx.net>
1361 * insetwwrap.C: boost::format -> bformat all over the place
1363 2003-05-05 André Pönitz <poenitz@gmx.net>
1365 * insettext.h: add missing #include <map>
1367 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1369 * insettext.C (InsetText): parlist cleanup
1372 (insetUnlock): ditto
1374 (lockInsetInInset): ditto
1378 (searchBackward): ditto
1379 (collapseParagraphs): ditto
1381 2003-05-06 John Levon <levon@movementarian.org>
1383 * insetcaption.C: don't cast wrap inset to InsetFloat
1386 * insetfloat.C: remove unneeded type() function
1388 2003-05-05 André Pönitz <poenitz@gmx.net>
1392 * insettabular.[Ch]:
1393 * insetcollapsable.[Ch]: remove unused function firstParagraph()
1394 replace getFirstParagraph() by getParagraphs()
1396 2003-05-03 John Levon <levon@movementarian.org>
1398 * insetcollapsable.h:
1399 * insetcollapsable.C:
1405 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
1406 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
1407 getCursor(). Remove explicit cursor hides.
1409 2003-05-02 André Pönitz <poenitz@gmx.net>
1411 * insettext.C: remove unneeded &*
1413 2003-04-30 John Levon <levon@movementarian.org>
1415 * insettabular.C: fix edit message
1417 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1419 * insettext.C (setFont): do not convert iterator -> pointer
1421 * insettabular.C (localDispatch): do not convert iterator -> pointer
1423 (tabularFeatures): ditto
1425 2003-04-29 André Pönitz <poenitz@gmx.net>
1427 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
1429 2003-04-28 André Pönitz <poenitz@gmx.net>
1431 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1434 2003-04-25 André Pönitz <poenitz@gmx.net>
1436 * insetenv.C: derive from InsetText instead of InsetCollapsable
1438 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1440 * insetexternal.C (string2params): dont do anything if the string
1442 * insetgraphics.C (string2params): ditto
1443 * insetcommand.C (string2params): ditto
1444 * insetert.C (string2params): ditto
1445 * insetfloat.C (string2params): ditto
1446 * insetinclude.C (string2params): ditto
1447 * insetminipage.C (string2params): ditto
1448 * insettabular.C (string2params): ditto
1449 * insetwrap.C (string2params): ditto
1451 2003-04-24 André Pönitz <poenitz@gmx.net>
1453 * insetref.C: support for eqref
1455 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1457 * insetert.C (read): use ParagraphList::iterator.
1459 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1461 * insetquotes.C (latex): comment some code and add warnings.
1463 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1465 * insetexternal.C (localDispatch): added a missing DISPATCHED
1467 2003-04-12 John Levon <levon@movementarian.org>
1469 * insetwrap.C (addToToc): fix a crash, conversion
1470 from while to for loop forgot to remove the explicit
1473 2003-04-10 John Levon <levon@movementarian.org>
1475 * insettabular.C (tabularFeature): make sure
1476 to update the dialog when we change something
1479 (getStatus): don't disable some lfuns (bug 939)
1481 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1483 * insettext.C (saveLyXTextState): adjust
1484 (localDispatch): adjust
1490 * insettabular.C (localDispatch): adjust
1492 (tabularFeatures): adjust
1494 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1496 * insettabular.C (searchForward,searchBackward): fix bug 782
1498 2003-04-07 John Levon <levon@movementarian.org>
1501 * insettext.C: clear status message on inset exit
1503 2003-04-03 John Levon <levon@movementarian.org>
1505 * insetcommand.C: return dispatched on DIALOG_UPDATE
1507 2003-04-02 John Levon <levon@movementarian.org>
1509 * insettabular.C: tab lfuns renamed
1511 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1513 * insettext.C (update): move towards ParagraphList
1514 (updateLocal): ditto
1516 (insetUnlock): ditto
1518 (lockInsetInInset): ditto
1519 (updateInsetInInset): ditto
1520 (localDispatch): ditto
1523 (resizeLyXText): ditto
1524 (searchBackward): ditto
1525 (collapseParagraphs): ditto
1528 * insetwrap.C (InsetWrap): adjust
1529 (addToToc): adjust and rewrite loop
1531 * insettext.[Ch] (paragraph): delete function
1533 * insettabular.C (moveNextCell): adjust
1534 (movePrevCell): adjust
1535 (insertAsciiString): adjust
1537 * insetfloat.C (InsetFloat): adjust
1540 * insetert.C (InsetERT): adjust
1541 (write): adjust, and rewrite loop
1542 (latex): adjust, and rewrite loop
1543 (linuxdoc): adjust, and rewrite loop
1544 (docbook): adjust, and rewrite loop
1545 (localDispatch): adjust
1546 (get_new_label): adjust
1548 2003-04-01 John Levon <levon@movementarian.org>
1550 From Alfredo Braunstein
1553 * insetbutton.C: add localDispatch()
1555 * insetcommand.C: return DISPATCHED when edit() called
1557 * insettext.C: fix bug 967
1559 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1561 * insettext.C: adjust
1563 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1565 * insettext.C (draw): adjust
1566 (crow): return a RowList::iterator not a Row*
1568 * insetminipage.C (localDispatch): adjust
1570 * insetert.C (localDispatch): adjust
1572 2003-03-31 John Levon <levon@movementarian.org>
1575 * insetgraphicsParams.C: use_gui moved to lyx_gui
1577 2003-03-31 John Levon <levon@movementarian.org>
1579 * insettext.C: Alert fix
1581 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1583 * insettext.C (ascent): adjust for RowList
1586 (getLyXText): adjust
1587 (toggleSelection): adjust
1589 * insetminipage.C (localDispatch): adjust for RowList
1591 * insetert.C (localDispatch): adjust for RowList
1592 (getMaxWidth): adjust for RowList
1594 2003-03-29 John Levon <levon@movementarian.org>
1596 * insetert.C: Alert cleanup
1598 2003-03-29 John Levon <levon@movementarian.org>
1600 * insettabular.C: Alert fix
1602 2003-03-28 John Levon <levon@movementarian.org>
1604 * insetfloat.C: reset label on INSET_MODIFY
1606 2003-03-28 John Levon <levon@movementarian.org>
1608 * insetgraphicsParams.C: read subcaptionText as a whole line
1611 2003-03-28 John Levon <levon@movementarian.org>
1613 * insettext.C: remove unused prototypes
1615 2003-03-25 Angus Leeming <leeming@lyx.org>
1617 * insetbibitem.C (localDispatch): repaint the view after modifying
1618 a bibitem inset in case the maximum InsetBibitem width has changed.
1620 2003-03-25 John Levon <levon@movementarian.org>
1623 * insettabular.C: LyXText renamings
1625 2003-03-24 John Levon <levon@movementarian.org>
1627 * insettext.C: remove some dead code. Fix bug 972 and
1628 related by posting a repaint in updateLocal(), and making
1629 the SEL functions set SELECTION.
1631 2003-03-22 John Levon <levon@movementarian.org>
1634 * inset.C: remove no-longer-needed topx_set
1636 * insetcollapsable.h:
1637 * insetcollapsable.C: remove dead code
1640 * insetert.C: rebreak the rows when a possible
1641 change in size is made, and reset the cursor
1644 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
1646 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
1647 topx_set. Fix drawing errors for clearInset(). Remove
1648 some unnecessary uses of topx, which should die.
1650 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
1651 is no longer needed. Replace it with an ugly hack.
1653 2003-03-20 John Levon <levon@movementarian.org>
1656 * insetcollapsable.h:
1657 * insetcollapsable.C:
1665 * insettext.C: remove spurious font parameter
1666 from update(). Fix drawing of ERT insets inside
1667 insets (bug 966). Remove unused mark_dirty from
1668 tabular's updateLocal()
1670 2003-03-19 John Levon <levon@movementarian.org>
1679 * insetwrap.C: remove unused getter/setters
1681 2003-03-19 John Levon <levon@movementarian.org>
1683 * several files: bv->updateInset() doesn't take
1684 a bool mark_dirty any more
1686 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1688 * adjust for BufferView* arg removal from lyxtext.
1690 2003-03-17 John Levon <levon@movementarian.org>
1692 * most files: remove the "cleared" parameter
1693 to draw in favour of always clearing. Associated
1696 2003-03-16 John Levon <levon@movementarian.org>
1698 * insettext.C: remove unused s.refresh
1700 2003-03-13 Angus Leeming <leeming@lyx.org>
1702 * insettext.C (edit): replace Dialogs::updateParagraph with
1703 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
1705 2003-03-13 André Pönitz <poenitz@gmx.net>
1707 * Makefile.am: insert insetenv
1709 * insethenv.[Ch]: new files, currently inactive
1711 2003-03-12 John Levon <levon@movementarian.org>
1721 * insettext.C: use new insetnewline
1723 2003-03-12 John Levon <levon@movementarian.org>
1725 * insettext.C: readToken became readParagraph
1727 2003-03-12 John Levon <levon@movementarian.org>
1729 * insettext.C: use parlist iterator for reading contents
1731 2003-03-12 John Levon <levon@movementarian.org>
1733 * insettext.C: name change to readToken()
1735 2003-03-11 André Pönitz <poenitz@gmx.net>
1737 * Makefile.am: insert insethfill
1739 * insethfill.[Ch]: new files
1741 2003-03-10 Angus Leeming <leeming@lyx.org>
1743 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
1745 (hideDialog): calls the new static Dialogs::hide() method.
1747 * insetbibitem.C (edit):
1748 * insetbibtex.C (edit):
1749 * insetcite.C (edit):
1750 * insetcommand.C (localDispatch):
1751 * inseterror.C (d-tor):
1752 * insetert.C (showInsetDialog):
1753 * insetexternal.C (localDispatch, edit):
1754 * insetfloat.C (localDispatch, showInsetDialog):
1755 * insetfloatlist.C (edit):
1756 * insetgraphics.C (localDispatch, edit):
1757 * insetinclude.C (localDispatch, edit):
1758 * insetindex.C (edit):
1759 * insetlabel.C (edit):
1760 * insetminipage.C (localDispatch, showInsetDialog):
1761 * insetref.C (edit):
1762 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
1763 resetPos, showInsetDialog, openLayoutDialog):
1764 * insettoc.C (edit):
1765 * inseturl.C (edit):
1766 * insetwrap.C (localDispatch, showInsetDialog):
1767 changes due to the changed MailInset interface.
1769 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
1771 * insetfloat.h: Set default placement to an empty string.
1773 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1775 * insettext.C (latex): adjust call to latexParagraphs.
1777 2003-03-10 Angus Leeming <leeming@lyx.org>
1779 * mailinset.C: warn the user if the BufferView has not been cached.
1781 2003-03-10 Angus Leeming <leeming@lyx.org>
1783 * inset.h, insetbase.h: move cache() and view() into InsetBase.
1785 * insetcommand.h (inset):
1786 * insetert.h (inset):
1787 * insetexternal.h (inset):
1788 * insetfloat.h (inset):
1789 * insetgraphics.h (inset):
1790 * insetinclude.h (inset):
1791 * insetminipage.h (inset):
1792 * insettabular.h (inset):
1793 * insetwrap.h (inset):
1794 * mailinset.h (inset): return an InsetBase &, not an Inset &.
1796 2003-03-10 Angus Leeming <leeming@lyx.org>
1798 * insetcommand.C (string2params):
1799 * insetexternal.C (string2params):
1800 * insetfloat.C (string2params):
1801 * insetgraphics.C (string2params):
1802 * insetinclude.C (string2params):
1803 * insetminipage.C (string2params):
1804 * insettabular.C (string2params):
1805 * insetwrap.C (string2params): cure warning message about missing
1808 2003-03-09 Angus Leeming <leeming@lyx.org>
1810 * insettabular.[Ch]: define a new class InsetTabularMailer and use
1811 it to communicate with the frontend dialogs.
1813 * mailinset.C (hideDialog): only hide the dialog if it is showing the
1814 contents of this inset!
1816 2003-03-07 Angus Leeming <leeming@lyx.org>
1818 * inseterror.C (localDispatch): new method; calls edit() on
1821 2003-03-07 Angus Leeming <leeming@lyx.org>
1823 * insetbibitem.C (localDispatch):
1824 * insetbibtex.C (localDispatch):
1825 * insetlabel.C (localDispatch):
1826 rewrite as a switch.
1828 2003-03-07 Angus Leeming <leeming@lyx.org>
1830 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
1831 it to communicate with the frontend dialogs.
1833 2003-03-07 Angus Leeming <leeming@lyx.org>
1835 * insetexternal.C: remove operator== and operator!= for
1836 InsetExternal::Params. They were used only by the old controller
1839 2003-03-07 Angus Leeming <leeming@lyx.org>
1841 * insetcommand.C (localDispatch):
1842 * insetexternal.C (localDispatch):
1843 * insetfloat.C (localDispatch):
1844 * insetinclude.C (localDispatch):
1845 * insetminipage.C (localDispatch):
1846 * insetwrap.C (localDispatch):
1847 add LFUN_INSET_DIALOG_UPDATE to the switch.
1849 2003-03-07 Angus Leeming <leeming@lyx.org>
1851 * insetcommand.C (string2params):
1852 * insetexternal.C (string2params):
1853 * insetfloat.C (string2params):
1854 * insetinclude.C (string2params):
1855 * insetwrap.C (string2params): use LyXLeX more.
1858 * insetexternal.[Ch]:
1860 * insetinclude.[Ch]:
1861 * insetwrap.[Ch]: change Mailer::name_ to be static.
1863 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
1864 it to communicate with the frontend dialogs.
1866 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1869 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
1871 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1873 * insettext.C (updateLocal): un-const function
1874 (updateLocal): adjust
1875 (collapseParagraphs): un-const function
1876 (collapseParagraphs): adjust
1878 2003-03-05 Angus Leeming <leeming@lyx.org>
1880 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
1881 it to communicate with the frontend dialogs.
1883 2003-03-05 Angus Leeming <leeming@lyx.org>
1885 * insetcollapsable.C (draw): cache the BufferView.
1887 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
1888 it to communicate with the frontend dialogs.
1890 2003-03-05 Angus Leeming <leeming@lyx.org>
1892 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
1895 2003-03-05 Angus Leeming <leeming@lyx.org>
1897 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
1899 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
1900 it to communicate with the frontend dialogs.
1902 2003-03-05 Angus Leeming <leeming@lyx.org>
1904 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
1905 it to communicate with the frontend dialogs.
1907 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1909 * insettext.C (collapseParagraphs): adjust
1910 (appendParagraphs): make it take a Buffer* instead of a
1911 BufferParams& as arg.
1912 (appendParagraphs): adjust
1914 2003-03-04 Angus Leeming <leeming@lyx.org>
1916 * insetbibitem.C (localDispatch):
1917 * insetbibtex.C (localDispatch):
1918 * insetcommand.C (localDispatch):
1919 * insetert.C (localDispatch):
1920 * insetlabel.C (localDispatch):
1921 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
1923 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1925 * insettext.C (latex): adjust for ParagraphList::iterator
1927 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1929 * insetbutton.C (view): adjust for boost 1.30.0
1930 * insetcollapsable.C (view): ditto
1931 * insetgraphics.C (statusChanged): ditto
1933 * insettext.h: move paragraphs to be public.
1935 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1937 * insetnote.[Ch] (InsetNote): remove unused constructor
1939 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1941 * insetgraphics.C: added include "format.h"
1943 2003-02-27 Angus Leeming <leeming@lyx.org>
1945 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
1948 2003-02-27 Angus Leeming <leeming@lyx.org>
1950 * insetbibitem.C (localDispatch):
1951 * insetbibtex.C (localDispatch):
1954 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1956 2003-02-26 Angus Leeming <leeming@lyx.org>
1958 * insetbibitem.[Ch] (localDispatch):
1959 * insetbibtex.[Ch] (localDispatch):
1960 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
1962 * insetcommand.C (localDispatch):
1963 act only on receipt of LFUN_XYZ_APPLY.
1965 * insetert.C (localDispatch): reformat.
1966 add LFUN_XYZ_APPLY to the switch.
1968 2003-02-26 John Levon <levon@movementarian.org>
1970 * insettext.C: use RowPainter
1972 * inset.h: make helpers take const *
1974 2003-02-26 Angus Leeming <leeming@lyx.org>
1976 * insetcommand.[Ch] (localDispatch): new method.
1978 2003-02-26 Angus Leeming <leeming@lyx.org>
1980 * insetinclude.C (draw): cache the BufferView* using cache not
1981 PreviewImpl::setView
1983 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
1985 * insetgraphics.C (draw)
1986 * insetinclude.C (draw): Eliminate also the other argument (owner
1987 inset inset) in the call to PreviewImage::image
1989 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
1991 * insetgraphics.C (draw)
1992 * insetinclude.C (draw): Eliminate Buferview argument in call to
1995 2003-02-25 John Levon <levon@movementarian.org>
1997 * insetgraphicsParams.h:
1998 * insetgraphics.C: don't start a load process if
1999 the inset is set to NoDisplay (bug #920)
2001 2003-02-22 John Levon <levon@movementarian.org>
2004 * insetwrap.C: TocItem changed API (bug 913)
2006 2003-02-21 Angus Leeming <leeming@lyx.org>
2008 * insetcollapsable.[Ch] (cache, edit):
2009 * insetbutton.[Ch] (cache, edit): new methods to cache the
2010 BufferView in the draw method.
2012 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
2013 simplify comunication between InsetCommand-derived classes and
2016 * insetbibitem.[Ch]:
2020 * insetfloatlist.[Ch]:
2024 * inseturl.[Ch]: small changes to reflect the new interface to the
2027 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
2028 other, similar classes.
2030 * Makefile.am: add new files.
2032 2003-02-21 Angus Leeming <leeming@lyx.org>
2034 * updatableinset.h (setView, view): remove.
2035 * inset.h (view, cache): to be replaced by these.
2037 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
2040 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
2043 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
2045 2003-02-21 Allan Rae <rae@lyx.org>
2047 * insetinclude.C (loadIfNeeded): ensure loading also works when
2048 child document is under version control.
2050 2003-02-17 André Pönitz <poenitz@gmx.net>
2052 * insetbib.[Ch]: Adjust access to bibkeys
2054 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2056 * insetquotes.C (dispString): remove use of acute accent for "'"
2059 2003-02-14 John Levon <levon@movementarian.org>
2061 * insettabular.C: changed method names in tabular.C
2063 2003-02-14 John Levon <levon@movementarian.org>
2067 * insetcollapsable.h:
2068 * insetcollapsable.C:
2072 * insettext.C: remove unused getParFromID()
2074 2003-02-13 John Levon <levon@movementarian.org>
2077 * insettext.C: remove unused beginningofMainBody()
2079 2003-02-08 John Levon <levon@movementarian.org>
2083 * insetcollapsable.h:
2084 * insetcollapsable.C:
2089 add nextChange(). Make allowSpellcheck() const. Add markErased().
2091 * insetert.C: ignore deleted text
2093 * insettabular.C: make sure to keep change tracking working
2096 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2101 * insettext.C: Use error messages with identical spelling and punctuation
2103 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
2105 * insetgraphics.C (draw, width): Fix spacing around graphics inset
2107 2002-12-17 Juergen Vigna <jug@lyx.org>
2109 * insettext.C (localDispatch): hopefully fixed cursor up down
2110 movement on leaving other insets.
2112 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2114 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
2117 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2119 * insetgraphics.C (prepareFile): do not remove the extension of
2120 the file name if it is not the default extension for the given
2121 format (that is, in latex output, remove extension from foo.eps,
2122 but not from foo.epsi)
2124 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2126 * insettext.C (lfunMouseRelease): hackish solution to the "double
2129 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2131 * insetfloat.C (addToToc): use the floats name not its type
2132 * insetwrap.C (addToToc): ditto
2134 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2136 * insetnote.C (init): make label font smaller
2138 2002-12-04 John Levon <levon@movementarian.org>
2140 * insetinclude.C: ressurect setting of command name
2142 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2144 * insetquotes.C (dispString): disambiguate insert call
2146 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2148 * several files: ws changes
2150 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2152 * insetquotes.C (dispString): use string::insert for prepending a
2155 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2157 * insetparent.C (getScreenLabel): use boost::format
2159 * insetgraphics.C (prepareFile): use boost::format
2162 * insetfloatlist.C (latex): use boost::format
2164 * insetcaption.C (draw): use boost::format
2166 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2168 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
2171 2002-11-20 Juergen Vigna <jug@sad.it>
2173 * insettabular.C (resetPos): temporary fix for endless loop in
2174 this function on a redraw.
2176 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2178 * insettabular.C (copySelection): STRCONV
2180 * insetinclude.C (uniqueID): STRCONV
2181 (latexString): ditto
2183 * insetgraphics.C: put VersionNumber inside anon namespace
2184 (createLatexOptions): STRCONV
2186 * insetcommandparams.C: include config.h
2188 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
2190 * insetgraphicsParams.C (Write): use lyx::float_equal.
2191 Write height data correctly.
2192 (Read): zero scale when reading height data.
2194 2002-10-30 John Levon <levon@movementarian.org>
2196 * insetfloat.C (addToTOC): recursively traverse all
2197 contents looking for captions (fix #568)
2199 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2201 * insetexternal.C (doSubstitution): do not try to replace
2202 environment variables, this is done when executing the command
2204 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2206 * insetexternal.C (doSubstitution): change order of substitution
2207 to work around ReplaceEnvironmentPath brokenness
2209 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
2211 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
2213 * insetgraphicsParams.C (init, Write): associated changes
2214 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
2215 InsetGraphicsParams::scale.
2217 2002-10-21 John Levon <levon@movementarian.org>
2219 * inset.h: remove unused DISPATCH_RESULT
2221 * insettext.C: sgml open/close tag now in sgml namespace
2223 2002-10-21 Angus Leeming <leeming@lyx.org>
2225 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
2226 file path subdir/fig.eps when pasting it into a buffer in a different
2229 2002-10-16 John Levon <levon@movementarian.org>
2231 * insetspecialchar.C: remove \\protected_separator parsing
2233 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2235 * insetquote.C: fix LaTeX output of quotation marks.
2237 2002-10-14 Juergen Vigna <jug@sad.it>
2239 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
2240 Backspace functions which confused the Undo handling.
2242 2002-10-09 Angus Leeming <leeming@lyx.org>
2244 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
2245 BufferView::dispatch that turns off this optimisation when a new inset
2248 * insetcite.C (getNatbibLabel): correct logic of when and when not to
2249 reload the BibTeX keys.
2251 2002-10-11 André Pönitz <poenitz@gmx.net>
2253 * insettext.h: handle LFUN_PRIOR/NEXT
2255 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2257 * insetfloat.C: fix bug with float settings
2258 (document default != float default).
2260 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2262 * insetwrap.C (addToToc): New method.
2263 (InsetWrap): Set layout to caption.
2265 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2267 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
2269 2002-09-16 John Levon <levon@movementarian.org>
2271 * insettabular.h: hasSelection() needs to be public
2273 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2275 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2277 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2279 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2281 2002-09-11 André Pönitz <poenitz@gmx.net>
2283 * insettabular.C: implement LFUN_WORDSEL
2285 2002-09-10 John Levon <levon@movementarian.org>
2287 * insetinclude.h: remove unused param
2289 2002-09-09 John Levon <levon@movementarian.org>
2292 * insetinclude.C: remove noload, default to input
2294 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
2296 * insetgraphics.C: disfuscated use of ']' in built output string.
2298 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2300 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
2302 2002-08-29 Juergen Vigna <jug@sad.it>
2304 * insettabular.C (lfunMousePress): Pay attention where you set
2305 the x/y values as they depend on which inset in the tabular is
2306 actually locked. So you surely have to reset them if you (un)lock
2309 2002-08-29 André Pönitz <poenitz@gmx.net>
2311 * insetfootlike.h: rename include guard to ALL CAPS
2313 * insettext.C: swap object and first parameter for checkInsetHit calls
2314 as this functions has moved from BufferView to LyXText
2317 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2319 * insetgraphicsParams.C: remove local displayTranslator and use
2320 the one from graphics/GraphicsTypes.h.
2322 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2324 * insetfloat.C (wide): add BufferParams parameter
2326 * insetfloatlist.C (read):
2329 * insetfloat.C (latex):
2331 * insetcaption.C (draw): use LyXTextClass::floats()
2333 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2335 * insetoptarg.h: add std:: qualifier.
2337 2002-08-26 Juergen Vigna <jug@sad.it>
2339 * insettext.C (localDispatch): ditto.
2341 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
2343 2002-08-25 John Levon <levon@movementarian.org>
2345 * inseturl.C: elide long URLs (bug 404)
2347 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2349 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
2350 remove "Format Version <version_no.>" string from inset header
2353 * insetgraphicsParams.[Ch]: Implement new graphics dialog
2355 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
2356 a member of "grfx::Params" anymore.
2358 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
2360 2002-08-24 John Levon <levon@movementarian.org>
2363 * insetoptarg.C: ws, pedantry ...
2365 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2367 * insettext.C (collapseParagraphs): pasteParagraph now in global
2369 (appendParagraphs): ditto
2371 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
2373 * insetcite.C (latex): Remove spaces only after commmas.
2375 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2377 * insettext.C: remove NO_COMPABILITY stuff
2379 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2381 * insettext.C (edit): use ParagraphList iterators
2383 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
2384 (bibitemWidest): ditto
2386 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2388 * insettext.C: include <boost/bind.hpp>
2389 add using std::for_each
2390 (saveLyXTextState): use ParagraphsList::iterator
2391 (init): use for_each on paragraphlist iterators
2392 (InsetText): remove superflous setting cached_bview to 0
2393 (latex): reformat a bit
2394 (ascii): use paragraphlist iterators
2395 (validate): use for_each + boost bind
2396 (getLabelList): use paragraphlist iterators
2397 (deleteLyXText): use for_each + boost::bind
2398 (resizeLyXText): ditto
2399 (reinitLyXText): ditto
2400 (removeNewlines): use paragraphlist iterators
2401 (getParFromID): ditto
2402 (paragraph): use for_each + boost::bind
2403 (getInsetFromID): use paragraphlist iterators
2404 (getLabelList): typo fix
2406 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2408 * insettext.C (read): assign tmp to paragraphs after return from
2409 call to parseSingleLyXformat2Token
2412 2002-08-13 Angus Leeming <leeming@lyx.org>
2431 changes due to the changed LyXView interface that now returns references
2432 to member variables not pointers.
2434 2002-08-13 Angus Leeming <leeming@lyx.org>
2437 * insetcollapsable.h:
2440 * insettext.h: forward-declare WordLangTuple
2441 (selectNextWordToSpellcheck) constify return type.
2444 * insetcollapsable.C:
2447 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
2449 2002-08-12 Angus Leeming <leeming@lyx.org>
2451 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
2453 2002-08-12 Juergen Vigna <jug@sad.it>
2455 * insetcollapsable.C (edit): ignore if entered when pressing mouse
2458 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2460 * insetbib.C (bibitemMaxWidth): ParagraphList changes
2461 (bibitemWidest): ditto
2462 * insettext.[Ch]: ditto
2464 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2466 * insettext.C, insetert.C: use Paragraph::empty where appropriate
2468 2002-08-09 Angus Leeming <leeming@lyx.org>
2470 * insetinclude.C (latexString): remove fudge now that I've found out
2471 how to enable LaTeX to find the file using input@path.
2473 2002-08-09 John Levon <levon@movementarian.org>
2476 * insettext.C: remove unused xpos
2478 2002-08-07 Juergen Vigna <jug@lyx.org>
2480 * insettabular.C (localDispatch): make delete not put the stuff
2481 in the clipboard only do this on a cut operation.
2483 * insettext.C (localDispatch): make delete and backspace not put
2484 selected stuff to the clipboard.
2486 2002-08-07 André Pönitz <poenitz@gmx.net>
2489 * insetcollapsable.[Ch]:
2493 * insettabular.[Ch]:
2494 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
2496 2002-08-06 John Levon <levon@movementarian.org>
2500 * insetcollapsable.h:
2501 * insetcollapsable.C:
2507 * insettext.C: use WordLangTuple for spellcheck
2509 2002-08-06 Angus Leeming <leeming@lyx.org>
2511 * insetinclude.C: add a monitor to the previewed image, so that the
2512 image is refreshed if the \input-ed file changes.
2514 2002-08-04 John Levon <levon@movementarian.org>
2517 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
2519 2002-08-02 Angus Leeming <leeming@lyx.org>
2521 * insetcommandparams.[Ch] (preview): new methods returning and setting
2522 a new bool preview_ flag.
2523 (read): read this flag.
2524 (operator==): add flag to check.
2526 * insetinclude.C (write): output new preview() flag.
2527 (previewWanted): use this flag.
2529 2002-08-02 Angus Leeming <leeming@lyx.org>
2531 * insetcollapsable.[Ch] (addPreview):
2532 * insettabular.[Ch] (addPreview):
2533 * insettext.[Ch] (addPreview): new methods. Can now generate previews
2534 for insets in insets.
2536 2002-08-02 Angus Leeming <leeming@lyx.org>
2538 * insetcite.C: fix typo.
2540 * insetgraphics.C: kill current_view and instead cache the BufferView
2543 * insetinclude.C: kill current_view and pass the BufferView to the
2544 PreviewedInset so that it can cache it.
2546 2002-08-01 Angus Leeming <leeming@lyx.org>
2548 * inset.h (generatePreview): renamed as addPreview.
2549 (generatePreview): new method. Allows code to be moved out of
2550 math_nestinset.C and into the new PreviewedInset class.
2552 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
2553 add previews to the inset when \input-ing LaTeX.
2555 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2557 * several files: strip,frontStrip -> trim,ltrim,rtrim
2559 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2561 * insetbib.C (latex): modify because of strip changes
2563 * insetnote.C (InsetNote): ditto
2565 2002-07-26 Juergen Vigna <jug@sad.it>
2567 * insettabular.C (searchForward): check for lastcell if we
2568 had a locking inset.
2570 2002-07-25 Juergen Vigna <jug@sad.it>
2572 * insettabular.C (insetMotionNotify): Don't update the screen
2573 if we didn't do nothing.
2574 (searchForward): last cell was not checked.
2576 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2578 * insetfloat.C (read, write): Allow default placement
2579 (floatPlacement_ is empty).
2581 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2583 * insetminipage.h (noFontChange):
2584 * insettabular.h (noFontChange):
2585 * insetfootlike.h (noFontChange):
2586 * insetfloat.h (noFontChange): return true
2588 * inset.h (noFontChange): new method, defaulting to false
2590 2002-07-22 Herbert Voss <voss@lyx.org>
2592 * insetgraphicsParams.[Ch]: support size_type for old docs
2594 2002-07-22 Herbert Voss <voss@lyx.org>
2597 * insetgraphicsParams.[Ch]: change size_type to size_kind and
2600 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2602 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
2604 * insetlatexaccent.h: do not include "lyxlex.h"
2606 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
2609 * insetlatexaccent.C:
2613 * insetbib.C: #include "lyxlex.h"
2619 * insettext.C: use BufferParams::getLyXTextClass
2622 * insetfloat.C (addToToc): new method. Add to toclist the entries
2623 corresponding to Caption layouts
2624 (InsetFloat): when creating a new float, set the layout to "Caption"
2626 2002-07-21 Herbert Voss <voss@lyx.org>
2628 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
2629 image relevant part into graphics/GraphicsImgae.C
2631 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2633 * insettoc.C (ascii):
2634 * insetfloatlist.C (ascii): change to use the new Toc functions
2635 instead of stuff that was in Buffer
2637 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2639 * insettext.C (localDispatch): BufferView::Dispatch has been
2640 renamed to BufferView::dispatch
2642 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2644 * insetgraphicsParams.C (as_grfxParams): use the new
2645 keepLyXAspectRatio parameter. Note that this is an adaptation of a
2646 1.2.0 patch, and I do not really know how to adapt it to the new
2647 grfx::Cache world. Angus, please could you have a look?
2649 2002-05-01 Herbert Voss <voss@lyx.org>
2651 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
2653 2002-07-18 Angus Leeming <leeming@lyx.org>
2655 * insetgraphics.C: clean-up comments (from Herbert).
2656 add a new checksum variable to the cache. Use it in PrepareFile.
2657 (draw): start monitoring the file for a change.
2658 (prepareFile): re-arrange a little to avoid unnecessary steps.
2660 2002-07-17 Angus Leeming <leeming@lyx.org>
2662 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
2663 a method rather than to the signal directly.
2665 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2667 * insettext.C: use view_state_changed, switchKeyMap
2669 2002-07-17 Herbert Voss <voss@perce.de>
2671 * insetgraphics.C (prepareFile): keep the extension when
2672 exporting to nice file
2674 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2676 * insetcite.C (getNatbibLabel):
2677 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
2679 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2681 * insetgraphics.C: use ->isDrawable()
2683 2002-07-12 Angus Leeming <leeming@lyx.org>
2685 * insetgraphics.C: use the new smart loading capabilities of the image
2688 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2690 * insettabular.C (edit): Move into correct cell when entering a
2693 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
2696 2002-07-05 Angus Leeming <leeming@lyx.org>
2698 * inset.h (generatePreview): new virtual method.
2700 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2702 * insetcommandparams.[Ch] (operator=): move out of class
2703 (operator!): move out of class
2705 2002-07-04 André Pönitz <poenitz@gmx.net>
2707 * insetcommandparams.[Ch]: new files
2709 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
2711 2002-06-15 Herbert Voss <voss@perce.de>
2713 * insetgraphics.C (prepareFile): bugfix; return always
2714 files without extension
2716 2002-06-28 Angus Leeming <leeming@lyx.org>
2718 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
2719 rename asGParams -> as_grfxParams.
2721 * insetgraphics.C: reflect above change.
2723 2002-06-26 Angus Leeming <leeming@lyx.org>
2725 * insetgraphics.h: use boost::scoped_ptr in preference to
2728 2002-06-26 Angus Leeming <leeming@lyx.org>
2730 * insetgraphics.C: moved the image loading stuff into a new class
2731 grfx::Loader. Simplifies this file enormously.
2733 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
2735 * insetgraphicsParams.C: changes aassociated with moving
2736 grfx::DisplayType out of grfx::GParams.
2738 2002-06-26 André Pönitz <poenitz@gmx.net>
2740 * insetgraphics.C: use os::external_path where necesaary according to a
2741 patch from Claus Hentschel)
2743 2002-06-25 Angus Leeming <leeming@lyx.org>
2745 * insetgraphics.[Ch]: The inset now assumes the responsibility for
2746 generating a pixmap once the graphics file is loaded into memory.
2747 The current_view ugliness that was in grfx::ModifiedImage has been
2748 moved here now that grfx::ModifiedImage is no more.
2750 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2752 * insettext.C: layout as layout
2754 2002-05-28 André Pönitz <poenitz@gmx.net>
2756 * insetfloatlist.h: remove source of compiler warning
2758 * insetref.C: tiny whitespace
2760 2002-06-15 Herbert Voss <voss@perce.de>
2762 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
2763 and take always convert when no userdefined converter was
2765 (latex) small changes in the lyxerr output
2767 2002-06-15 LyX Development team <lyx@rilke>
2769 * inset*.[Ch] (docbook): Added new argument to take the pernicious
2770 mixed content. Small white spaces clean.
2772 2002-06-14 Angus Leeming <leeming@lyx.org>
2774 * inseetexternal.C: remove the using std::difftime declaration.
2776 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
2778 * insetquotes.C: change lyxfont::draw to font_metrics::draw
2780 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
2782 * insetquotes.C (draw): fix drawing of double quotes
2784 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2786 * insettabular.C: s/scrollCB/scrollDocView/
2788 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2790 * insettext.C: change of topCursorVisible()
2793 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2796 * insettext.C: rename/change of LyXScreen
2798 2002-06-07 Angus Leeming <leeming@lyx.org>
2800 Fixes needed to compile with Compaq cxx 6.5.
2802 all c-library variables have been moved into namespace std.
2803 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2805 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2807 * insetinclude.C (uniqueID):
2808 * insetgraphics.C (uniqueID): renamed from unique_id, since this
2809 conflicted with some AIX headers.
2811 2002-05-31 Juergen Vigna <jug@sad.it>
2813 * insetert.C (get_new_label): add '...' for multi-paragraph ert
2817 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2819 * insetexternal.C (clone): fix () bug when using new
2820 (updateExternal): don't only look for difftime in global scope
2822 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2824 * insettabular.C: add const
2826 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2828 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
2829 file name, in case there are weird characters like ',' in there.
2832 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2834 * switch from SigC signals to boost::signals.
2836 2002-05-28 André Pönitz <poenitz@gmx.net>
2838 * insets/insetgraphicsParams.[Ch]:
2839 put in inset related stuff from src/graphic
2841 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2849 * insetcollapsable.C:
2850 * insetcollapsable.h:
2878 * inseturl.h: use mouse_state. Kill insetKeyPress
2880 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2885 * insetcollapsable.C:
2888 * insetlatexaccent.C:
2890 * insetspecialchar.C:
2892 * insettext.C: name change for font metrics
2894 2002-05-24 Juergen Vigna <jug@sad.it>
2896 * insetgraphics.h: include inset.h first (for LString.h)
2898 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2900 * insettext.C: screen moved
2902 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2920 * inseturl.C: LyXView moved into frontends/
2922 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2927 * insetcollapsable.C:
2931 * insetgraphicsParams.C:
2932 * insetlatexaccent.C:
2934 * insetspecialchar.C:
2936 * insettext.C: move Painter to frontends/
2938 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2940 * insettabular.h: use more specific smart_ptr header.
2941 * insettext.h: ditto
2943 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
2946 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
2948 * insettext.C: clear selection on paste (bug 393)
2950 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
2952 * insettext.C (latex): Honor the moving_arg argument.
2954 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2956 * insetfoot.C (latex): if a footnote is in a title layout, then it
2957 is a \thanks. And then, its contents is a moving argument.
2959 2002-05-14 Juergen Vigna <jug@sad.it>
2961 * insetcollapsable.C (InsetCollapsable): forgot to initialize
2964 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
2966 * Insetcite.C (getNatbibLabel): don't disable natbib label support
2967 when using options "Full author list" or "Upper case".
2969 2002-05-14 Herbert Voss <voss@perce.de>
2971 * insetgraphics.C (prepareFile): allow files with same name
2973 (readFigInset): set the flags from old figinset in the right
2975 (findTargetFormat): more comments
2977 2002-05-14 Juergen Vigna <jug@sad.it>
2979 * insettext.C (edit): tell checkAndActivateInset() that we don't
2980 have a button press.
2981 (checkAndActivateInset): if button < 0 we don't have a button press
2982 on the inset and os we won't call edit on it if it's not a Highly
2983 editable inset (then we have to enter it).
2985 2002-05-13 Juergen Vigna <jug@sad.it>
2987 * insetcollapsable.C (insetButtonRelease): returned wrong return
2990 2002-05-09 Juergen Vigna <jug@sad.it>
2992 * insetcollapsable.C (edit): first_after_edit should only be
2993 set to true if we enter this inset and it was collapsed so we
2994 open it up. This is needed to reclose it after a search/replace
2995 or spellcheck function opened it and was negative.
2997 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
2999 * insetfloat.C (latex): Return correct value.
3001 2002-05-04 Herbert Voss <voss@perce.de>
3003 * InsetgraphicsParams.C (read): fix bug with WH
3005 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3007 * insetfloat.C (latex): More sensible latex output
3008 (fix the problem with endfloat).
3010 2002-05-02 José Matos <jamatos@fep.up.pt>
3012 * insetgraphics.C (validate): acess params as everyone else.
3014 2002-05-03 Juergen Vigna <jug@sad.it>
3016 * insettabular.C (fitInsetCursor): recalculate the cursor position
3019 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
3021 * InsetgraphicsParams.[Ch]: whitespace.
3023 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3025 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
3026 float type do not exist.
3028 2002-04-28 Herbert Voss <voss@perce.de>
3030 * insetgraphics.C (latex): fix bug with missing file-extension.
3031 LaTeX still allows a missing "eps" or "ps".
3033 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3035 * insetfloat.C (c-tor, wide): translate the name of the float.
3037 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3039 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
3040 when using natbib and make it work efficiently. Must emphasise that the
3041 real work is Herbert's.
3043 2002-04-23 Herbert Voss <voss@perce.de>
3045 * insetgraphic.C (prepareFile): fix bug with overwriting and
3046 deleting an existing *.eps-file in the doc-dir
3048 2002-04-23 Juergen Vigna <jug@sad.it>
3050 * insettabular.C (drawCellSelection): fix off by 1 error.
3052 2002-04-22 Juergen Vigna <jug@sad.it>
3054 * insettabular.C (setFont): rewoke full selection if it was asked,
3055 after we changed all we had to change.
3057 * insettext.C (insetUnlock): code was uninitialized in some situations.
3059 2002-04-19 Herbert Voss <voss@perce.de>
3061 * insetgraphic.C (prepareFile): return filename without
3062 extension if we only export without compiling
3064 2002-04-19 Juergen Vigna <jug@sad.it>
3066 * insettext.C (draw): call a fullRebreak on the row where we had a
3067 change and reset the cursor and selection-cursors.
3069 * insettabular.C (insetUnlock):
3070 (insetButtonPress): call an update before setting the_locking_inset = 0
3071 as otherwise we don't repaint!
3072 (update): reset the cursor position when we changed dimensions as
3073 otherwise our cursor may be on the wrong spot.
3075 2002-04-18 Juergen Vigna <jug@sad.it>
3077 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
3078 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
3079 redraw otherwise we won't redraw.
3081 * insettext.C (draw): fixed the setting of LyXText::first_y it was
3082 not really right before, but I only discovered this with the last
3083 changes to Page up/down.
3085 2002-04-17 Juergen Vigna <jug@sad.it>
3087 * insettext.C (checkAndActivateInset): simplified as we now have the
3088 edit(bv, bool) call.
3090 * insettext.h: changed behind variables to front variables to be
3091 equal to the one in the edit call (as it is for that they are used).
3093 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3095 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
3096 not output anything at all!
3098 2002-04-16 Juergen Vigna <jug@sad.it>
3100 * insettabular.C (insetButtonPress):
3101 (insetUnlock): call a redraw on unlocking the cell inset.
3103 * insettext.C (insetButtonPress): same as below.
3104 (lockInset): new function to set initial values when inset should
3106 (insetButtonPress): use above function.
3107 (insetUnlock): don't force a repaint only set the updateStatus. The
3108 outside world should repaint if it thinks it should be done!
3110 * insettabular.C (insetButtonPress): init values if not set as locked
3111 as we are locked if someone presses on us and don't call the edit()
3112 call of the InsetText to lock it do it as BufferView does it!
3114 * inset.h (insetInInsetY): make func const and return an int.
3117 * insetcollapsable.C: adapt the above changed function.
3119 2002-04-15 Juergen Vigna <jug@sad.it>
3121 * insettext.C (getCursorPos): return relative position as to be able
3122 to give them directly to the edit() call.
3123 (edit): we have to set also x_fix as it is not set inside the
3124 setCursorFromCoordinates call!
3125 (insetMotionNotify): ditto.
3127 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3129 * insetbib.C (getKeys): strip leading '\t's from the line too.
3130 With thanks to Henry Pfister <hpfister@ucsd.edu>.
3132 2002-04-12 Juergen Vigna <jug@sad.it>
3134 * insettext.h: added cix() helper function and use it where appropriate
3136 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3138 * insetgraphics.C (prepareFile): fix bug when graphics is a
3141 2002-04-12 Juergen Vigna <jug@sad.it>
3143 * insettext.C (insertInset): remove unneeded code!
3144 (updateLocal): fitCursor() fixes.
3145 (collapseParagraphs): fix a possible problem when having a selection
3146 and collapsing the paragraphs.
3148 2002-04-08 Herbert Voss <voss@perce.de>
3150 * insetgraphic.C (write): write the rotating angle as
3151 a float as is. test only for != 0.0
3153 2002-04-11 Juergen Vigna <jug@sad.it>
3155 * insettext.C: new function ciy() and use it for setting inset_y.
3157 * insetert.C (draw): fix the x return for collapsed version.
3159 2002-04-07 Herbert Voss <voss@perce.de>
3161 * insetgraphic.C (readFigInset): fix bug with subcaption and
3164 2002-04-08 Herbert Voss <voss@lyx.org>
3166 * insetgraphicsparam.C: forgot special option and delete old
3169 2002-04-05 Juergen Vigna <jug@sad.it>
3171 * insettext.C (localDispatch): make a CURSOR update if we inserted
3174 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3176 * insetfloatlist.C (getScreenLabel):
3177 (latex): use Floating::listName
3178 (validate): new method
3180 2002-04-03 José Matos <jamatos@fep.up.pt>
3182 * insetlabel.C (docbook): the anchor is an empty element in docbook.
3184 * insetfoot.[Ch] (docbook): added forgotten method.
3186 2002-04-03 Juergen Vigna <jug@sad.it>
3188 * insettext.C (insetButtonPress): fix insetButtonPress events the same
3189 way as in Bufferview_pimpl.
3191 2002-04-03 Allan Rae <rae@lyx.org>
3193 * insetgraphics.C (latex): one % too many makes living on the bleeding
3194 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
3196 2002-03-28 Herbert Voss <voss@lyx.org>
3198 * insetgraphic.C (latex): simplify the code for the latex
3199 output when the file doesn't exist
3201 2002-03-29 Juergen Vigna <jug@sad.it>
3203 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
3206 * insettabular.C (edit): call fitCursor().
3208 * insettext.C (insetButtonPress): change behaviour of no_selection
3209 to the one in the BufferView selection_possible and fix the spurious
3210 selection bug with it.
3211 (localDispatch): revoke selection on BREAK... functions.
3213 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3215 * insetfloatlist.C (getScreenLabel): translate the GUI label.
3217 2002-03-28 Juergen Vigna <jug@sad.it>
3219 * insettabular.C (insetAllowed): return true as default value otherwise
3220 we're not able to insert insets inside paragraphs of an not locked
3223 2002-03-27 Herbert Voss <voss@lyx.org>
3225 * insetgraphicsparam.C: change c%, p% to col%, page%
3227 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3229 * insetspecialchar.C (isLineSeparator): disable the nice code to
3230 allow linebreaks after hyphenation and menu separators.
3232 2002-03-26 Herbert Voss <voss@lyx.org>
3234 * insetgraphics.C (figinsetRead): set the right lyxview
3236 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3238 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
3239 $\backslash$ and pass a "string const &" to the function.
3240 (prepareFile, latex): use Path rather than MakeAbsPath.
3242 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3244 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
3245 proper fix to the graphics cache.
3246 (latex): "really" nice output if the file is not found ;-)
3248 2002-03-26 Juergen Vigna <jug@sad.it>
3250 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
3251 (collapseParagraphs): fixed inserting of separator ' '
3253 * insettabular.C (insertAsciiString): only check for buffer lenght
3254 not if we have \t or \n inside the buffer as if we don't have we only
3255 have 1 cell and that's it!
3257 * insetert.C (close): don't collapse if inlined.
3259 2002-03-25 Herbert Voss <voss@lyx.org>
3261 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
3262 graphics file does not exist.
3264 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
3266 * insetgraphics.C (prepareFile): ensure that the file has an absolute
3267 path when preparing export.
3269 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
3270 no longer MakeRelPath.
3272 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3274 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
3275 Used to determine the absolute path to the graphics file in the
3276 graphics cache and only in the graphics cache.
3277 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
3278 make graphics file name absolute if it is stored as a relative path.
3280 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
3281 make graphics file name absolute if it is stored as a relative path.
3283 * insettext.C (edit): emit an updateParagraph signal on entering a text
3284 inset. Needs to be emitted when leaving the inset also.
3286 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3288 * all files: ws cleanup
3290 * Makefile.am: remove ld -r stuff
3292 2002-03-21 Juergen Vigna <jug@sad.it>
3294 * insettext.C (appendParagraphs): new function added to append
3295 the paragraphs to this insets paragraphs.
3297 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3299 * Makefile.am: special rules if partial linking
3301 2002-03-19 Juergen Vigna <jug@sad.it>
3303 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
3305 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
3307 * insetgraphics.C: Clean up Baruch's comments a little.
3308 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
3310 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
3313 * insettheorem.C: wrap warnings
3315 * insetgraphics.C: improve messages, move cached_status_
3316 setting to safer place
3318 2002-03-18 Juergen Vigna <jug@sad.it>
3320 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
3322 (localDispatch): ditto
3324 * insettext.C (edit): removed unneeded showCursor calls.
3325 (localDispatch): ditto.
3327 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3329 * insetgraphics.h: remove display() method.
3331 2002-03-11 Juergen Vigna <jug@sad.it>
3333 * insetgraphics.C (draw): hack to fix the redrawing bug.
3334 (draw): seems this fixes #268 (force redraw of row if we changed).
3336 * insettext.C (updateInsetInInset): fixed for updates in insets inside
3337 this inset text (don't know why I missed this earlier).
3339 2002-03-08 Juergen Vigna <jug@sad.it>
3341 * insettabular.C (updateLocal): do a FULL update if we're not locked
3342 and only a CELL update is asked.
3344 * insettext.C (updateInsetInInset): update insets inside inset also
3345 if it isn't inside the_locking_inset.
3347 * insettabular.C (updateInsetInInset): ditto.
3349 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3351 * insetexternal.C (doSubstitution): check whether we are using a
3352 temp dir for defining $$FPath
3354 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3357 * insettext.C: remove #include "WorkArea.h".
3359 2002-03-06 Juergen Vigna <jug@sad.it>
3361 * insettext.C (draw): fixed frame redrawing.
3362 (clear): forgot to set the inset_owner of the paragraph.
3364 * insetert.C (status): pay attention the bv can be 0 here!
3365 (getMaxWidth): add the default leftMargin
3367 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3369 * insetert.C (getMaxWidth): make w unsigned int.
3371 2002-03-05 Juergen Vigna <jug@sad.it>
3373 * insetert.C (status): change behaviour of Inlined.
3374 (getMaxWidth): added for new inlined behaviour.
3376 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3378 * insetnote.h (linuxdoc, docbook): add empty methods.
3379 * insetinclude.C (validate): fix a case where buffer->niceFile was used
3380 before being initialized.
3382 2002-03-05 Juergen Vigna <jug@sad.it>
3384 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
3385 only that one in the inset. Should be enough.
3386 (updateLocal): set the selection cursor always if we don't have a
3387 selection to be sure it's set!
3389 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
3391 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3393 * insettext.C (clear): a gross hack to set layout on a newly
3396 2002-03-04 Juergen Vigna <jug@sad.it>
3398 * insettabular.C (localDispatch): inserted handling of
3399 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
3400 (insertAsciiString): new helper function.
3402 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3404 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
3407 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3409 * insettext.C (InsetText): initalize newly created par with
3410 default layout. add bufferparams parameter
3413 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
3414 * insetcollapsable.[Ch] (InsetCollapsable): ditto
3415 * insetert.[Ch] (InsetERT): ditto
3416 * insetfloat.[Ch] (InsetFloat): ditto
3417 * insetfoot.[Ch] (InsetFoot): ditto
3418 * insetfootlike.[Ch] (InsetFootLike): ditto
3419 * insetmarginal.[Ch] (InsetMarginal): ditto
3420 * insetminipage.[Ch] (InsetMinipage): ditto
3421 * insetnote.[Ch] (InsetNote): ditto
3422 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
3424 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3426 * insettext.C: layout as string
3428 * insetinclude.C: layout as string
3430 * insetert.C: layout as string
3432 * insetbib.C: layout as string
3434 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3437 * insettabular.C: remove #include "lyx_gui_misc.h".
3439 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3444 * inset.h: remove figinset, yahoo !
3446 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3448 * insetgraphics.C (c-tors): initialise parent classes explicitly in
3449 copy c-tor and initialise member variables in the correct order.
3451 2002-02-28 Juergen Vigna <jug@sad.it>
3453 * insettabular.C (localDispatch): clear selection on PgUp/Down.
3455 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3457 * inset.h: ... and add a better one here.
3459 * insetcommand.C (insetButtonRelease): remove that one which was a
3462 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3464 * insetcommand.C (insetButtonRelease): ... and move it here.
3466 * inseturl.h: remove insetButtonRelease from there...
3468 2002-02-26 Juergen Vigna <jug@sad.it>
3470 * inseturl.h: Added a insetButtonRelease call returning true as
3473 * insetlabel.C (edit): Fixed wrong update handling after change I
3474 leave in the wrong code for the one who wrote it to remove and have
3475 a look what he did wrong.
3477 * insettabular.C (localDispatch): force a SELECTION update if we
3478 had a selection and we passed the event down to the inset (fix #213)
3479 (localDispatch): handle font changing stuff when we have a cell
3480 selection so that the selection is not rewoked. I don't really like
3481 this fix, but it's the only way I see to do it right now.
3483 2002-02-22 Juergen Vigna <jug@sad.it>
3485 * insettext.C (insetUnlock): set the cursor to the second paragraph
3486 if available and if the first one is empty (fix #191).
3488 2002-02-20 Juergen Vigna <jug@sad.it>
3490 * insettext.C (getDrawFont): implemented this function to call the
3491 one of the owner if present as the owner normally knows what to do
3494 * insetert.C: implement getDrawFont() function and comment out all
3495 the crap for setting a special latex font inside this inset.
3496 (InsetERT): added a Lanugage parameter to this constructor.
3498 * inset.h: added function getDrawFont(LyXFont & font) to be able to
3499 change the font for being drawn on screen (used only in InsetERT for
3502 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
3503 and also above (was missing).
3504 (updateLocal): don't remove the cell selection if we have one this
3505 should be done where we really want to remove it.
3507 2002-02-20 José Matos <jamatos@fep.up.pt>
3509 * insetinclude.h: include_label made string const.
3511 * insetinclude.C (InsetInclude): moved include_label initialization.
3514 (validate): fix support for temporary directory, for docbook and
3517 * insetgraphics.h : new private member, graphic_label, that holds
3518 the entity name that defines the graphics location (SGML).
3520 * insetgraphics.C (unique_id): new function to give a unique label
3523 (validate): the file locatation is given by an entity reference.
3525 2002-02-18 Herbert Voss <voss@lyx.org>
3527 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
3529 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3531 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
3532 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3534 2002-02-18 José Matos <jamatos@fep.up.pt>
3536 * insetinclude.C (validate): some code only applies to latex buffers,
3537 it was made conditional.
3539 2002-02-12 Herbert Voss <voss@lyx.org>
3541 * insetgraphics.C: (prepareFile) do not check at this time
3542 if the file is present.
3544 2002-02-12 Herbert Voss <voss@lyx.org>
3546 * insetgraphics.C: latex(), return the correct newlines
3548 2002-02-13 José Matos <jamatos@fep.up.pt>
3550 * inseturl.C (docbook): escape & in url.
3552 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3554 * insetspecialchar.C (isLineSeparator): line breaking is allowed
3555 after HYPHENATION and MENU_SEPARATOR
3557 * inset.h (isLineSeparator): new method, returns false by default.
3559 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3561 * insetert.C (status): do not update the text inset, but the ERT
3564 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
3566 * insetnote.C: use notebg for background
3568 2002-02-08 Herbert Voss <voss@lyx.org>
3571 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
3572 prevent LyX from unzipping when this should be handled
3573 by latex vis the graphic.cfg.
3576 2002-02-08 Herbert Voss <voss@lyx.org>
3578 * insetgraphic.C: prepareFile(): fix bug when file doesn't
3579 exists, than return filename with extension
3581 2002-02-06 Herbert Voss <voss@lyx.org>
3583 * insetgraphic.C: prepareFile(): don't convert the file, when
3584 it's not viewed in LyX. Saves a lot of time when opening a
3587 2002-02-05 Herbert Voss <voss@lyx.org>
3590 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
3591 and adding a rotate bool similiar to subcaption
3593 2002-02-04 Herbert Voss <voss@lyx.org>
3596 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
3597 similiar view to the LaTeX one. Get zipped files work.
3599 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
3601 * insetgraphicsParams.C (init): set display to DEFAULT.
3602 No longer #include "lyxrc.h".
3604 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
3606 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
3607 for now (so that the code compiles).
3609 2002-02-02 Herbert Voss <voss@lyx.org>
3611 * insetgraphic.C: delete inVariant() and some minor changes
3612 * insetgraphicsParams.[C]:
3614 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
3616 * insetgraphics.C (updateInset): if params.display == DEFAULT,
3617 interogate lyxrc.display_graphics before diaplaying the graphic.
3619 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
3620 InsetGraphicsParams::DisplayType.
3622 2002-01-31 Herbert Voss <voss@lyx.org>
3624 * insetgraphic.C: (readfigInset) set display to pref-default
3626 2002-01-30 Herbert Voss <voss@lyx.org>
3628 * insetgraphic.C: get the filetyp from it's contents
3629 * insetgraphicparams.C: add token scale and lyxrc.display when
3630 creating a new inset
3632 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
3634 * figinset.C: added using std::ios directive.
3636 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3638 * figinset.C (runqueue): open translation file in binary mode (for
3641 2002-01-27 Herbert Voss <voss@lyx.org>
3643 * insetgraphic.[Ch]: mostly newritten to support graphicx with
3644 all options and to be sure that the old figinsets are correct
3646 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
3647 structure and to support all lengths as LyXLength. The Parameter
3648 structure changed again, but reading of "old" 1.2 graphic insets
3651 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
3653 * insetert.h (forceDefaultParagraphs): Added
3655 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3657 * insettabular.C (getMaxWidth):
3658 (forceDefaultParagraphs): use Tabular::GetCellFromInset
3660 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3662 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
3663 of LyXLength::inPixels
3665 * inset.C (latexTextWidth):
3666 * insetminipage.C (latexTextWidth): new method, which implements
3667 the equivalent of the LaTeX macro \textwidth
3669 * insetminipage.C (getMaxWidth): use latexTextWidth
3671 2002-01-18 Juergen Vigna <jug@sad.it>
3673 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
3675 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3677 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
3679 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
3682 2002-01-17 Juergen Vigna <jug@sad.it>
3684 * insettabular.C (lockInsetInInset): same change as in insettext.
3686 * insettext.C (draw): width() function was called without setting
3687 the right top_x which could lead to wrong insetWidth setting!
3688 (lockInsetInInset): call edit instead of calling lockInset if we
3689 have to lock an inset inside!
3690 (edit): we have to also tell the inset that we have to redraw the
3691 frame on an edit call if this inset draws a frame only if locked.
3693 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3695 * insetbib.C (getFiles): uncomment Path variable.
3697 2002-01-16 Juergen Vigna <jug@sad.it>
3699 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
3702 2002-01-16 Allan Rae <rae@lyx.org>
3704 * insetinclude.C (docbook): someone forgot a ";"
3706 2002-01-16 José Matos <jamatos@fep.up.pt>
3708 * figinset.C (docbook): removed a old place holder "@".
3709 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
3710 * insetinclude.C (linuxdoc): if include is verbatim, then export the
3711 ascii text version, clearly guarded inside a CDATA section.
3712 (docbook): in docbook 4, inlinegraphics is empty.
3713 * insettabular.C (linuxdoc): export the ascii version of the table
3714 inside a CDATA section.
3716 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3718 * insetparent.C (InsetParent):
3719 * insetgraphicsParams.C (Write):
3721 * insetgraphics.C (prepareFile):
3724 * insetexternal.C (executeCommand):
3725 (doSubstitution): use Buffer::filePath
3727 * insetbib.C (getFiles): add a #warning for Angus
3729 * insetgraphics.C: Add a remark about how filenames should be
3730 considered to be relative to buffer (but absolute is still allowed)
3731 (draw): do not try to get status if lyxrc.use_gui is false
3733 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3736 * insetcollapsable.[Ch]:
3737 * insettabular.[Ch] (searchForward, searchBackward): change the
3738 bool const & params to bool.
3740 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
3741 to avoid the name clash with InsetCollapsable's methods of the same
3742 names but different functionality.
3744 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3746 * insettext.C (ascii): use lyx::count rather than countChar.
3748 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
3750 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
3752 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3754 * insetgraphics.C (updateInset): do not try to render image if
3755 lyxrc.use_gui is false (bug #104)
3757 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
3758 if file does not exist
3760 * figinset.C (browseFile): add shortcuts to directory buttons
3762 * insettext.C (updateLocal): update menubar and toolbar here too.
3764 2002-01-13 Allan Rae <rae@lyx.org>
3766 * insettabular.C (InsetTabular): Both constructors now initialise
3767 all class variables.
3769 2002-01-11 Juergen Vigna <jug@sad.it>
3771 * insettext.C (insetButtonPress): set the_locking_inset to 0.
3773 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3775 * insettabular.C (getStatus): add forgotten brace around multiline
3778 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3780 * insetfloat.C (validate): require "float" instead of "floats".
3782 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
3784 * insettabular.C (getStatus): use FuncStatus
3786 2002-01-08 Juergen Vigna <jug@sad.it>
3788 * insettabular.C (insetButtonRelease): now this should work too
3791 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
3792 if the width is a percentage.
3794 * inset.h: added isChar() function and implemented this for
3795 insetspecialchar insetquotes and insetlatexaccent.
3796 added forceDefaultParagraphs() and implemented it for insettabular.
3798 2002-01-07 Juergen Vigna <jug@sad.it>
3800 * insettext.C (getLyXText): Fixed this function. An insert into the
3801 map is only done if we REALLY have a new BufferView.
3803 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
3805 * insettext.C: fix bug illustrated by attachment #37 of bug #59
3807 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
3809 * insetinclude.C: fix use of FileInfo
3811 2002-01-07 Juergen Vigna <jug@sad.it>
3813 * insettabular.C (draw): fixed clearing of cell around inset.
3815 2002-01-05 Juergen Vigna <jug@sad.it>
3817 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
3818 variables are updated.
3820 * insettabular.C (resetPos): set always the inset_y as it may be
3821 needed in another function.
3822 (searchBackward): don't draw while searching.
3824 2002-01-04 Juergen Vigna <jug@sad.it>
3826 * insettext.C (lockInsetInInset): forgot to set a cursor.
3828 2002-01-02 Juergen Vigna <jug@sad.it>
3830 * insettext.C (insertInset): make the correct undo informations on
3831 inserting new insets.
3833 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
3835 * insettabular.C: correct single-cell select vertically
3837 2001-12-27 Juergen Vigna <jug@sad.it>
3839 * insettabular.C (ascii): export as tab-separated-values if the
3840 function was not called from export (f.ex.: clipboard).
3842 * insetcollapsable.h: added default support for ascii, linuxdoc and
3843 docbook export (the insettext is exported by default!)
3845 * insettabular.C (copySelection): suff the clipboard with the tabular
3846 data in a tab separated format, seems more naturals then with all the
3849 2001-12-24 Juergen Vigna <jug@sad.it>
3851 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
3852 to check for REAL mouseMotion.
3854 2001-12-20 Juergen Vigna <jug@sad.it>
3856 * inset.C (cursor): return the owners cursor if available instead of
3857 always only the bv->text->cursor.
3859 * insettabular.C (checkLongtableSpecial): works now.
3861 2001-12-19 Juergen Vigna <jug@sad.it>
3863 * insettabular.C (tabularFeatures): fix the row setting of ltt as
3864 this has to be always row + 1 as 0 means not selected!
3865 (checkLongtableSpecial): added
3866 (tabularFeatures): better longtable options support
3868 * insettext.C (resizeLyXText): reinit the text always also on a
3871 2001-12-18 Juergen Vigna <jug@sad.it>
3873 * insettext.C (updateInsetInInset): look if we have to autocollapse
3874 paragraps and return if the update is requested for ourself.
3876 * insetert.C (status): update the insettext not myself as that is what
3879 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
3880 function only return if the update was requested with myself.
3882 * insettext.C (insetButtonPress): fixed stupid bug.
3883 (various functions): pay attention that lt is cleared BEFORE calling
3884 updateLocal() and try to use it in the right manner (don't use it
3885 if it's not really neccessary!)
3886 (collapseParagraphs): insert a blank between collapsing paragraphs
3887 if neccessary (not already there!).
3889 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3891 * insettabular.C: move includes around a bit, add a couple of
3894 * insettext.[Ch]: move includes around a bit, other ws changes and
3897 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3899 * insettext.C (insetButtonRelease): fix compile problem
3901 2001-12-17 Juergen Vigna <jug@sad.it>
3903 * insettext.C (insetButtonPress): set the selection cursor!
3904 (insetButtonPress): clear the selection (and set with that the
3905 selection.cursor) if we only hit an inset!
3907 * insetert.C (read): removed piece of compatibility code only needed
3910 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
3913 * insetcollapsable.C (insetButtonRelease): changed so that it can
3914 open eventual existing popup dialogs on mousebutton==3.
3916 * insetfloat.C (insetButtonRelease): removed not needed anymore!
3918 * insetminipage.C (insetButtonRelease): removed not needed anymore!
3920 * inset.C (insetButtonRelease): return a bool for telling the outer
3921 world that we opened a dialog.
3923 2001-12-07 Juergen Vigna <jug@sad.it>
3925 * insettext.C (paragraph): remove the deleteing of paragraphs as
3926 it was a WRONG move!
3928 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
3931 * insettabular.C: use new setSelection(). Allow
3932 selection of single cells.
3934 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3936 * insetquotes.C (latex): fix to use the local language setting at
3937 the point where the inset is inserted (different macros for
3938 different french packages)
3940 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3942 * inset.h: add par_owner_ member variable and parOwner
3945 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3947 * insettabular.C (everywhere): adapt because widths are now real
3948 widths and not strings
3950 * insettext.C (draw): re-introduce the calls to width(), ascent()
3951 and descent() to initialize the caching variables.
3953 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3955 * insettext.C (draw):
3956 (drawFrame): use insetWidth instead of last_width
3958 * insettext.h: remove variable last_width (insetWidth is exactly
3959 the same) and last_height (computed but never used!)
3961 2001-12-10 Allan Rae <rae@lyx.org>
3963 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
3965 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3967 * insettext.C (insetAllowed): add comment
3969 2001-12-05 Juergen Vigna <jug@sad.it>
3971 * insettext.C (insetAllowed): fixed for the case that we directly
3972 ask the insettext from its LyXText.
3973 (paragraph): fixed the crash when assigning the par->next() from
3974 the EmptyParagraphMechanism!
3976 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3980 * insettext.C: change "while(" to "while ("
3982 2001-12-04 Juergen Vigna <jug@sad.it>
3984 * insetert.C (edit): handle Inlined status.
3986 * insettext.C (insertInset): trying John's fix for the trailing cursor
3988 * insetert.C (insetButtonPress): added to handle inlined status
3989 (insetMotionNotify): ditto.
3991 * insettext.C (clearInset): changed Painter & in BufferView * param,
3992 to be able to call ascent,descent methods.
3994 2001-12-03 Juergen Vigna <jug@sad.it>
3996 * insettext.C (updateInsetInInset): use lt variable to forbid
3997 changes of LyXText in an update call.
3998 (updateInsetInInset): fixed updating of non locked insets!
4000 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4002 * insettabular.C: capture some more functions to prevent
4003 selection drawing problems. Bug #451274
4005 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4008 * insetgraphicsParams.C: fix inverted sense of float_equal
4010 2001-11-30 Juergen Vigna <jug@sad.it>
4012 * insettabular.C (InsetTabular): use the save_id flag to create also
4013 the tabular with the same id's.
4015 * insettext.C (setParagraphData): added a same_id function for undo
4016 to set the same paragraph id's as of the paragraph we are setting.
4018 2001-11-30 José Matos <jamatos@fep.up.pt>
4021 * insettoc.[Ch]: DocBook -> docbook.
4023 2001-11-29 André Pönitz <poenitz@gmx.net>
4026 * insettext.C: further reduction of header dependencies by using
4027 lyx::layout_type and lyx::textclass_type from support/types.h
4029 2001-11-29 Juergen Vigna <jug@sad.it>
4031 * insettext.C: inserted a reinitLyXText function everywhere I delete
4032 the paragraphs! This should fixe the crashes we had.
4033 Also use the new function firstRow() instead of getRowNearY(dummy_y)
4034 (paragraph): set the InsetOwner() of the new paragraphs!
4036 2001-11-28 André Pönitz <poenitz@gmx.net>
4038 * insetnote.C: add pos initialization that I removed without
4041 2001-11-28 Juergen Vigna <jug@sad.it>
4043 * insettabular.C (resetPos): hack to not crash with infinite paints.
4045 * insettabular.h: insert missing function allowSpellcheck()!
4047 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
4049 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4052 * insetfloatlist.C: derive from InsetCommand so gui can use it
4055 2001-11-26 André Pönitz <poenitz@gmx.net>
4059 * insetnote.C: reduce header dependencies, introduce type for
4062 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4064 * various: update for Alert.h
4066 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4068 * inset.h: fix comment
4070 * insettext.C: use par->isInset()
4072 2001-11-22 Allan Rae <rae@lyx.org>
4074 * insetcollapsable.h:
4075 * inset.h: Changes to checkInsertChar() behaviour.
4076 Now return value indicates whether chars can be inserted.
4078 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
4080 * various: updated to use the new LaTeXFeatures
4082 2001-11-14 José Matos <jamatos@fep.up.pt>
4084 * insetspecialchar.C (linuxdoc):
4085 (docbook): don't give a name to a unused variable.
4087 * insettext.C (docbook): removed unused variable.
4089 2001-11-13 Herbert Voss <voss@perce.de>
4091 * insetgraphic.C: fix scale bug
4093 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4095 * inset.h (isSpace):
4096 (isLetter): new virtual methods.
4098 * insetspecialchar.C (isSpace):
4099 (isLetter): implement here.
4101 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4103 * inset.h: new inline helpers
4105 * insettext.C: use new helpers
4107 2001-11-07 José Matos <jamatos@fep.up.pt>
4109 * insettext.C (docbook): full support for paragraphs inside insettext.
4111 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
4113 * insetindex.C: added header file for std::ostream.
4115 2001-11-03 José Matos <jamatos@fep.up.pt>
4117 * insetindex.C: added using std::ostream that I forgot yesterday.
4119 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
4121 * insetindex.h (docbook):
4122 * insetindex.C (docbook): added support for docbook export.
4124 2001-11-02 José Matos <jamatos@fep.up.pt>
4126 * insetcaption.C(docbook): added support for docbook export.
4128 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
4130 * insetexternal.C (updateExternal): Do not run update command if
4131 result file exists and is up to date.
4133 * ExternalTemplate.C (readFormat): Support the updateresult token.
4135 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
4137 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
4138 external_templates) to use the buffer->fileName() but only if
4139 previewing. Generating a TeX file should make FPath return
4142 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4145 * insetert.C: fix some problems
4147 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
4149 * insetexternal.C (doSubstitution): Added $$FPath token
4150 to list of usable substitutions in external inset templates.
4152 2001-10-24 Juergen Vigna <jug@sad.it>
4154 * insettabular.C: use new ltType struct for setting longtable
4155 header and footers also new UNSET enums.
4157 2001-10-24 José Matos <jamatos@fep.up.pt>
4159 * insettabular.C (linuxdoc): Now exports the ascii's table version.
4160 (docbook): If the table is not inside a float then wrap it inside
4161 <informaltable>...</informaltable>.
4163 2001-10-23 José Matos <jamatos@fep.up.pt>
4165 * insetref.C (docbook): removed / terminator to conform SGML.
4167 * insetspecialchar.C (linuxdoc):
4168 (docbook): Added support for special chars, more than ascii export.
4170 2001-10-22 Juergen Vigna <jug@sad.it>
4172 * insettext.C (checkInsertChar): added for REALLY checking the
4173 font of the inserted char in the right inset!
4175 2001-10-19 Juergen Vigna <jug@sad.it>
4177 * inset.h: added method allowSpellcheck() so that insets who do
4178 not have anything to spellcheck can tell and so they are over-jumped.
4179 Implemented for InsetText and co.
4181 2001-10-18 Juergen Vigna <jug@sad.it>
4183 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
4185 2001-10-15 José Matos <jamatos@fep.up.pt>
4187 * insetert.C: allow export for docbook and linuxdoc
4189 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4191 * insetquotes.C (dispString): handles latin3 and latin4 quotes
4193 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4195 * insetquotes.C (dispString): fix handling of latin9 quotes
4197 2001-10-03 Juergen Vigna <jug@sad.it>
4201 * insetcollapsable.C: change updateInset calls to not tell BV that
4202 we have changed status.
4204 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4206 * insettabular.C (deletable): make const
4208 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
4210 * insetert.C (latex): Fix the returned value
4212 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
4214 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
4215 Returns string(), so nothing in an ERT inset is spellchecked.
4217 * insetgraphics.C (draw): print the filename if not displaying the
4219 (width): make sure that the width and draw methods are consistent.
4220 (updateInset): don't even load the image into cache if not displaying
4223 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
4225 * various files (selectNextWord): renamed as
4226 selectNextWordToSpellcheck.
4228 * insetgraphics.C (draw): remove the previous change. Right place
4229 is in imageLoaderXPM.C.
4230 (draw): don't display the image if params.display == NONE.
4232 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
4234 * figinset.C (runqueue):
4235 * insetgraphics.C (draw): set background colour of inset from
4236 background to the user-configurable graphicsbg.
4238 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4240 * insetquotes.C (InsetQuotes): when trying to decide the side of
4241 the quote, choose `left' only after a space or '('
4243 2001-09-04 José Matos <jamatos@fep.up.pt>
4248 * insetcollapsable.h
4266 * insetlatexaccent.C
4267 * insetlatexaccent.h
4272 * insetspecialchar.C
4273 * insetspecialchar.h
4277 * insettext.C (docbook): rename docBook method to docbook.
4279 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
4281 * inset.h (getFirstParagraph): New virtual method.
4283 2001-08-20 Herbert Voss <voss@perce.de>
4284 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
4285 in the the bibtex-database-gui for inserting a line
4288 If no style is given than there is no tex-output.
4290 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
4292 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
4296 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
4298 * insetert.C (latex): Fix output for multiple paragraphs.
4299 (write): New code for writing paragraph data.
4300 (read): Set font after reading the inset.
4301 (localDispatch): Call set_latex_font() for more cases.
4303 * insetnote.h: Add empty validate method.
4306 * insetnote.C (InsetNote): Set language to the language of the
4309 2001-08-16 Juergen Vigna <jug@sad.it>
4311 * insettext.C: implemented the new FINISHED states.
4313 * insettabular.C: ditto
4315 * inset.h: added more FINISHED states for cursor right,up,down
4317 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
4319 * insetfloatlist.C: use "FloatName List"
4321 2001-08-14 Juergen Vigna <jug@sad.it>
4323 * insetert.C (edit): forgot to set status_ in edit calls!
4325 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
4327 * insettext.C: Compilation fix
4329 2001-08-13 Juergen Vigna <jug@sad.it>
4331 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
4333 * insetcollapsable.C (edit): don't recollapse an already open inset.
4335 * insettext.C: fixed problem when reinitializing LyXText by not doing
4336 it while lt is in use and post this to the next possible time in
4338 (searchForward): fixed not unlocking of inset if nothing found.
4339 (edit): set cursor behind right (was set -1 pos).
4341 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
4343 * insettabular.C (tabularFeatures): fixed fix where deleting the
4344 last row didn't get the right actcell!
4346 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
4348 * insettext.C (localDispatch): Change language only when the inset
4351 2001-08-10 Juergen Vigna <jug@sad.it>
4353 * insettabular.C (selectNextWordInt): use the front using edit call.
4355 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
4356 the parameter overwrite class variable inset.
4358 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
4360 * insettext.C (saveLyXTextState): check for invalid cursor-par.
4361 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
4363 * insettabular.C (calculate_dimensions_of_cells): let's try to call
4364 update only for fixed with cells.
4365 (resetPos): try to fix the lockup on spellchecking or s&r.
4367 * insettext.C (update): comment this out as it seems first wrong
4368 and second not needed anymore!
4369 (some functions): call reinitLyXText() only in update() in all other
4370 positions set only need_update = INIT.
4372 2001-08-08 Juergen Vigna <jug@sad.it>
4374 * insettabular.C (setPos): fixed wrong actrow < rows() check.
4376 * insettext.C (insetUnlock): remove double-space on inset unlock.
4378 * insetcollapsable.C (draw): fix returned x when label > inset-width.
4380 * insettabular.C (update): fixed cursor positon after an insert.
4381 (insetAllowed): do not allow to insert insets when not inside the
4383 (draw): clear below an inset too as it could have changed height.
4385 * inset.C (getMaxWidth): fixed width for inset in inset.
4387 * insettext.C (update): small fix.
4389 * insettabular.C (tabularFeatures): added selection support to
4390 DELETE_ROW/DELETE_COLUMN.
4392 2001-08-07 Juergen Vigna <jug@sad.it>
4394 * inset.C (getMaxWidth): recoded and all it's implementations!
4396 * insettext.C (init,setParagraph+constructors): cleanups
4397 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
4398 are new and I want do a save/restore of the cursor position which is
4399 not possible anymore.
4401 * insetcollapsable.C (searchBackward): recollapse inset if not found.
4402 (searchBackward): ditto
4403 (selectNextWord): ditto
4405 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
4407 * insetlatexaccent.C (checkContents): Add some debug messages
4409 2001-08-07 Juergen Vigna <jug@sad.it>
4411 * insetert.C (read): don't use InsetCollapsable::read as we don't
4412 write the collapsed status anymore only the status.
4415 2001-08-06 Juergen Vigna <jug@sad.it>
4417 * insetert.C (set_latex_font): use LyXText's setFont directly.
4419 * insettext.C (drawFrame): fixed one time more the right position
4420 and size of the frame!
4422 * insetert.C (~InsetERT): hide the dialog.
4423 (showInsetDialog): added implementation
4426 (status): new function for the status of the ERT inset (3-state).
4427 (write): output also the status of the inset for readback!
4428 (read): readback the status if available otherwise use collapsed_.
4430 * insettext.C (edit): small fix of setting the position, which could
4433 * insetert.C (width): implement this function for inlined viewing.
4434 Added minimum width of 10 pixels!
4436 * insetminipage.C (InsetMinipage): just change the colors a bit so
4437 that border/background is a bit more visible. We will remove this
4440 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
4441 function for getting the important widths for drawing in various
4442 functions and in LyXText.
4443 (draw): fixed up a bit (frame drawing/clearing)
4445 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4447 * inset.C (convertFont): delete method. not used.
4449 2001-08-03 Juergen Vigna <jug@sad.it>
4451 * insettext.C (setFont): don't call for a draw update if we're just
4452 changing the cursor font!
4454 2001-08-02 Juergen Vigna <jug@sad.it>
4456 * insettext.C (draw): clear the background with the right color if
4457 needed. Update myself if x&max-width changed and return without doing
4458 anything. Let the update code handle the right stuff.
4460 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
4461 inside another inset.
4463 2001-08-01 Juergen Vigna <jug@sad.it>
4465 * insetcollapsable.C (update): added an in_update bool so we avoid
4468 * insettabular.C (update): added an in_update bool so we avoid
4471 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
4473 (update): added an in_update bool so we avoid reentering.
4475 * insettabular.C (localDispatch): clear col/row selection when doing
4476 something else inside an inset.
4478 * insettext.C (getLyXText): fixed bug when requesting a recursive
4481 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
4483 * insetcite.C (latex): Paranoia check. Make sure that there is no
4484 whitespace between the citation keys.
4486 2001-07-31 Juergen Vigna <jug@sad.it>
4488 * inset.h (nodraw): make the set function also const so that this
4489 can be called from inside other const functions.
4491 * insetcollapsable.h: removed inline variable and moved it over
4492 to the only user InsetERT.
4494 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
4495 inset opening immediately therein lying insets dialogs!
4497 * insetert.C (localDispatch): set the font also if we don't have any
4498 chars in this paragraph, otherwise if we delete all of em and start
4499 writing we have the wrong font.
4501 (draw): implemented for inline support
4502 (insetButtonRelease): ditto.
4504 2001-07-30 Juergen Vigna <jug@sad.it>
4506 * insettext.C (reinitLyXText): new function to reinit the insets
4507 text after lot's of paragraph changes. Use this instead of the
4508 cache.clear() which is VERY dangerous.
4510 * insetfloat.C (insetButtonRelease): we should only show the dialog
4511 if we press on the label otherwise we have problems to open mouse
4512 button 3 dialogs inside this float (f.ex. of a tabular!)
4514 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4516 * insetert.C: change back to "ERT"
4518 * insetfloat.C: handliign of RMB on label added.
4520 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4522 * insetgraphicsParams.C: #include LOstream.h here.
4524 * insetfoot.h: remove InsetFoot:: qualifier.
4526 2001-07-29 Baruch Even <baruch@lyx.org>
4528 * ChangeLog: Hiding time travel evidence.
4530 * insetgraphicsParams.h:
4531 * insetgraphicsParams.C:
4532 * insetgraphics.C: Added horizontal scale option, it actually scales both
4533 directions since it keeps image proportions.
4535 * insetgraphics.C: Fixed EPS detection to be non-hacky.
4537 2001-07-29 Baruch Even <baruch@lyx.org>
4539 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
4540 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
4542 HACKY! Will need to add an EPS detection routine like old InsetFig does!
4544 2001-07-29 Baruch Even <baruch@lyx.org>
4546 * insetgraphics.C: Added EPSI to be an alias of EPS.
4548 2001-07-29 Baruch Even <baruch@lyx.org>
4550 * insetgraphics.C: Change GRAPHICS to Graphics.
4551 Changed image conversion rules (documented at the beginning of file).
4553 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
4555 * insetert.C (get_new_label): int -> Paragraph::size_type to get
4558 * insetgraphics.C: added a using std::endl directive.
4560 * insetcommand.h (getScreenLabel): removed pure virtual function,
4561 as it duplicates that in InsetButton.
4563 * insetbib.[Ch] (getScreenLabel):
4564 * insetbutton.[Ch] (getScreenLabel):
4565 * insetcite.[Ch] (getScreenLabel):
4566 * insetert.[Ch] (getScreenLabel):
4567 * insetexternal.[Ch] (getScreenLabel):
4568 * insetfloatlist.[Ch] (getScreenLabel):
4569 * insetinclude.[Ch] (getScreenLabel):
4570 * insetindex.[Ch] (getScreenLabel):
4571 * insetlabel.h (getScreenLabel):
4572 * insetparent.[Ch] (getScreenLabel):
4573 * insetref.[Ch] (getScreenLabel):
4574 * insettoc.[Ch] (getScreenLabel):
4575 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
4577 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
4579 (validate): remove check on "cite" when using natbib.
4581 2001-07-26 Baruch Even <baruch@lyx.org>
4583 * insetgraphics.C (draw): changed casting to be in one place rather than
4584 all over the function.
4587 * insetgraphics.C (read): Added compatibility reads of InsetFig.
4589 * insetgraphicsParams.h:
4590 * insetgraphicsParams.C:
4591 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
4593 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4595 * insetfoot.C (validate): Added method to ensure that the
4596 right bit of LaTeX is emitted.
4598 * insetfoot.h: Added validate method to set the correct
4599 LaTeXFeatures bit for the special footnote code.
4601 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4603 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
4606 2001-07-27 Juergen Vigna <jug@sad.it>
4608 * inset.h: remove not used font variable in parameter.
4609 removed checkInsertChar in UpdatableInset as it was equal to
4610 the one in Inset and so not needed.
4612 * insetert.C (checkInsertChar): implementation of function
4615 * inset.h: added new function checkInsertChar.
4617 * various files: added c-tor and clone() function.
4619 * insetcollapsable.h: removed clone function here as this should
4620 be only realized in REAL insets and added it to all collapsable
4621 insets! (with the copy-constructor).
4623 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4625 * insetminipage.C (read): handle missing parameters more gracefully
4627 * insetcollapsable.C (read): handel missing collapsed more gracefully
4629 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4631 * insetfloat.C (read): handle missing parameters.
4633 * insettext.C (read): handle old latex end_inset
4635 * insetert.C (setButtonLabel): new method
4636 (init): use it, to set the dynamic label correctly
4639 * Makefile.am (EXTRA_DIST): add files that is not part or the
4642 * insetcollapsable.h: remove autocollapsable (no users), remove
4643 draw_label, change_label_with_text and companion code. Remove args
4645 * insetert.[Ch]: move here instead (only user)
4647 * inset.h: rename private variable name to name_, make
4648 selectNextWord return a const string. make getInsetName return a
4649 string const &. Remove bool from open, add close.
4651 * Makefile.am: don't compile insetlist, insetsection
4654 2001-07-24 Juergen Vigna <jug@sad.it>
4656 * insetert.C (InsetERT): put init after the paragraph initialization,
4657 as otherwise we don't set the draw_label right.
4659 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
4660 insets with the mouse without having strange selections.
4661 (edit): if the inset was collapsed and we open it here then put the
4662 cursor always at the beginning of the inset.
4663 (get_new_label): 15 instead of 10 max chars in the label.
4665 * insetert.C (localDispatch): added and handle various stuff we
4666 need to handle here (font setting on paragraph break, not permitted
4667 layout setting, etc.).
4669 * inset.h: added default copy-consturctor and implemented this in
4670 various insets with the change to use this in the clone function!
4672 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4674 * insetminipage.C (InsetMinipage): set background color to red :)
4676 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4678 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
4679 draw frame mode is LOCKED.
4681 * insetcollapsable.C (edit):
4682 (insetButtonRelease): set update status to full when
4685 * insettext.C (clearInset):
4686 * insettabular.C (draw):
4687 * insetlatexaccent.C (draw): honor background color.
4689 * inset.h: new member background_color_, initialized to
4692 * inset.C (backgroundColor): new method.
4693 (setBackgroundColor): new method.
4695 * insetert.C (init): new method, called by the ctors.
4696 (InsetERT): when inserting contents, make sure the font is
4699 * insetnote.C (InsetNote): when inserting content, remove trailing
4701 (init): set background color to LColor::note
4703 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4705 * insetcollapsable.C: adjust
4707 * insetbutton.C: adjust
4709 2001-07-23 Juergen Vigna <jug@sad.it>
4711 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
4712 parameter on the _collapsed function (was not needed) and call
4713 always width_collapsed().
4715 * insetert.C (InsetERT): use setLabel with "true" flag.
4717 * insetcollapsable.C: modified various functions to set the draw_label
4718 string right in any condition.
4719 (setLabel): added a bool parameter to set change_label_with_text.
4721 * insetcollapsable.h: added draw_label string which is set to the
4722 actual drawn label-string, while label is the original static label
4723 of this collapsable inset. Added bool change_label_with_text to set
4724 if we want that the label changes to the start of the InsetText's
4725 text when collabpsed. You can set this flag with the setLabel funciton.
4726 Added bool inlined for inlined collapsable insets, but not handled
4729 * insetcollapsable.C (get_new_label): added should get a new label
4730 from the InsetText beginning (for now 10 chars).
4732 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4734 * insetquotes.C (latex): fix the handling of french double quotes
4735 when not using the french pachage.
4737 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4739 * insetcollapsable.h: make WidthCollapsed mutable.
4741 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
4742 InsetPrintIndex returns INDEX_PRINT_CODE.
4744 * inset.h: add INDEX_PRINT_CODE
4746 * insetcollapsable.C (draw): init widthCollapsed if necessary
4749 * insetquotes.C (width): use the local language, not the document
4752 (dispString): add additional spacing for all french languages,
4754 (validate): make it work when there is no default language
4756 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
4758 * insetnote.C (init): new method, called by the constructors
4759 (InsetNote): new constructor with contents passed as a string
4761 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4763 * insetfootlike.C (insetAllowed): disallow float in footlike.
4765 * insetert.C (InsetERT): add collapsed argument to the constrctor
4768 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4770 * insetindex.h: shut off warning
4772 2001-07-20 Juergen Vigna <jug@sad.it>
4774 * insetcollapsable.C (update): recoded hopefully works now!
4776 2001-07-19 Juergen Vigna <jug@sad.it>
4778 * most files: implemented the below new introduced function.
4780 * inset.h: added new edit(BufferView *, bool front) method to be able
4781 to enter an inset from the front/back without knowing x/y positions
4782 and baselines inside the inset. So I just can tell the inset activate
4783 me and set the cursor on the front/back of yourself.
4785 2001-07-18 Juergen Vigna <jug@sad.it>
4787 * insetcollapsable.C (edit): fixed hopefully the y parameter which
4788 is given to the InsetText.
4789 (insetButtonPress): ditto
4790 (insetButtonRelease): ditto
4791 (insetMotionNotify): ditto
4793 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4795 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
4796 LIGATURE_BREAK, since the name is so stupid.
4798 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
4800 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
4801 the default InsetCollapsable methods. I.e., it can insert anything.
4802 (write) output the name of the inset, not some silly hack for
4803 compatability with the old InsetInfo.
4805 * insetinfo.[Ch]: removed.
4806 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
4807 now collapsable, but functionality is otherwise identical to InsetInfo.
4809 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
4811 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4813 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
4816 * insetquotes.C: general cleanup
4817 (dispString): add spaces inside french double quotes.
4818 (latex): ditto. Moreover, treat first the case where the frenchb
4819 or french options have been given.
4821 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
4823 * insetcite.[Ch] (latex, validate): new methods, required for natbib
4826 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
4828 * figinset.C (RegisterFigure): Print debug message only when
4829 current_view is available.
4831 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4833 * many files: update to match the change below
4835 * inset.h (insetAllowed): renamed from insertInsetAllowed;
4836 implement the version which takes an inset here.
4838 * insetcollapsable.[Ch]: implement open and isOpen
4840 * inset.h: remove insertInsetAllowed from Inset
4841 (open): new method, to open or close an inset
4842 (isOpen): returns the status of an inset
4843 (isCollapsable, colapse): removed
4845 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4847 * insetquotes.C (dispString): display french guillemets when using
4850 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4852 * insetcollapsable.h: remove bogus return statements
4854 2001-07-18 Juergen Vigna <jug@sad.it>
4856 * insettabular.C (selectNextWord): fixed spellchecking for the
4857 first cell of a tabular (wasn't entered!)
4858 (getLyXText): changed to enter automatically insettext and return
4859 it's LyXText if we're locked.
4861 2001-07-17 Juergen Vigna <jug@sad.it>
4863 * various files: implemented the below functions.
4865 * inset.h: added functions
4866 - virtual string selectNextWord(BufferView *, float & value) const;
4867 - virtual void selectSelectedWord(BufferView *) { return; }
4868 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
4869 needed for spellchecking correctly!
4871 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
4873 * insetert.C (latex): write out all paragraphs.
4875 2001-07-17 Baruch Even <baruch@lyx.org>
4877 * insetgraphics.C (draw): Removed unneeded casts.
4879 2001-07-16 Juergen Vigna <jug@sad.it>
4881 * insettext.C (update): fixed small oversight (reset lt to 0).
4883 2001-07-14 Baruch Even <baruch@lyx.org>
4886 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
4888 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
4890 Consistent use of Lsstream.h:
4891 * figinset.C: removed using std::ostringstream directive.
4893 * insetgraphics.C (createLatexOptions):
4894 * insetinclude.C (unique_id):
4895 std::ostringstream -> ostringstream.
4896 * insettext.C (localDispatch): std::istringstream -> istringstream.
4898 2001-07-13 Juergen Vigna <jug@sad.it>
4900 * insetfloat.C (insertInsetAllowed): added missing const_cast.
4902 * insetcollapsable.C (getLockingInset): ditto.
4904 2001-07-12 Juergen Vigna <jug@sad.it>
4906 * insetcollapsable.h: added implementation of new function for
4909 * various files: added implementation of new insertInsetAllowed-func
4910 and redone the function a bit more.
4912 * inset.h: added isCollapsable(), bool collapsed(),
4913 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
4915 * insetfloat.C (insertInsetAllowed): make a bit more checks.
4917 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
4918 LyXText which is marked for removal while we're using it!
4920 * insettext.h: added private LyXText * lt to use it to assure we are
4921 not deleting our LyXText while we're using it!
4923 2001-07-11 Juergen Vigna <jug@sad.it>
4925 * insettext.C (insertInset): check if we are before the inset after
4926 inserting it! This check IS needed. Remove the Undo-Call as it is
4927 called in LyXText::insertInset!
4929 * insettext.h: added struct InnerCache.
4931 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
4932 that we ONLY delete the LyXText in the getLyXText() routine. So we
4933 are sure we don't delete LyXText while someone is working with it!
4935 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4937 * insetexternal.C: (*it). -> it->
4938 * insettext.C: ditto
4940 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4942 * insetcollapsable.C (edit): always open collapsed insets (even if
4943 they are not autocollapsable)
4945 * insetcommand.C (operator=): simplify.
4947 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4949 * insetert.C (latex): handle META_NEWLINE
4951 2001-07-09 Juergen Vigna <jug@sad.it>
4953 * insetert.h: a normal InsetText can insert insets, but we won't.
4955 * inset.h: return default "false" on insertInsetAllowed and implement
4956 this function where a returnvalue != "false" is needed.
4958 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4960 * insetert.C (InsetERT): new contructor
4962 2001-07-06 Juergen Vigna <jug@sad.it>
4964 * a lot of files: added implementation of the below new functions
4965 and the change to clone(). Also the call of the new undo-functions
4968 * inset.h: added an inset_id, added functions getParFromID,
4969 getInsetFromID, firstParagraph, cursor and id functions, added
4970 bool same_ids to clone function.
4972 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4974 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
4975 of BufferView * and shared_ptr<LyXText>
4977 2001-07-05 Juergen Vigna <jug@sad.it>
4979 * insettext.C (clear): deleted also the cache not only LyXText.
4980 (setParagraphData): ditto.
4982 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4984 * insetfloat.C (latex): let the specific placement take presedence
4985 if set, otherwise choose document placement if set, otherwise just
4986 use float default placement.
4988 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4990 * insettext.C (localDispatch): call CutAndPaste::'s static method
4993 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4995 * insetbib.C: no meed to include forms.h here.
4997 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
4999 * insettext.C: added using std::make_pair directive.
5001 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5003 * insettext.C (getLyXText): avoid multiple lookups, and simplify
5005 (deleteLyXText): ditto
5006 (resizeLyXText): ditto
5008 2001-07-02 Juergen Vigna <jug@sad.it>
5010 * insettext.C (getLyXText): introduce a cache in getLyXText so that
5011 following calls are only returned the right pointer without the over
5012 head to search in the map.
5013 (various funcs): reset the cached_bview variable as this signs that
5014 the cache is not valid anymore.
5016 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5018 * insettabular.C (clone): do not copy the LyXTabular twice
5020 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5022 * insettext.h (TEXT): delete method
5024 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5026 * insetmarginal.C (latex):
5027 * insetfoot.C (latex): fix spacing of notes in LaTeX
5029 * insettext.C (localDispatch): use .c_str() on istringstream
5030 constructor argument.
5032 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
5037 * inseturl.C: fix method names in these to begin
5038 with small char too, so they inherit
5040 2001-06-28 Juergen Vigna <jug@sad.it>
5042 * insettext.C (setFont): fixed font settings using toggleFree()
5043 instead of setFont().
5045 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5047 * Change a lot of method names to begin with a small char.
5048 Changes to a lot of files because of this.
5050 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5052 * insetfloatlist.C (Write): std:: qualify ostream
5055 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
5059 * insetgraphics.C: send debug output to Debug::INFO instead of
5062 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
5065 * insettabular.C (getStatus): update to use func_status
5067 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
5069 * insetref.C (DocBook): added support for cross-references without
5072 2001-06-26 The LyX Project <jug@sad.it>
5077 * insetlabel.h: removed escape method and moved it to
5080 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5082 * insettabular.C (getMaxWidth): do the speedup in a different way,
5085 2001-06-24 The LyX Project <Asger>
5087 * insettabular.C (getMaxWidth): We cache a mapping from
5088 inset to cell in order to speed this method up.
5090 2001-06-24 The LyX Project <Asger>
5092 * insettext.C: Optimized InsetText::draw or something.
5094 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
5096 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
5098 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
5100 * inset.h: name change from lyxinset.h
5102 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
5104 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
5106 2001-06-14 Juergen Vigna <jug@sad.it>
5108 * insettext.C (draw): removed warnings.
5110 2001-06-13 Juergen Vigna <jug@sad.it>
5112 * insettabular.C (nodraw): only go down the tree if we don't have
5113 that flag set otherwise it's obvious that we don't want to draw.
5114 (LocalDispatch): do also an update if we have an undispached result.
5116 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
5119 * insetgraphicsParams.C:
5120 * insettext.C: removed // -*- C++ -*- as first line.
5122 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5124 * lyxinset.h (resizeLyXText): shut off warning about unused
5127 2001-06-07 Juergen Vigna <jug@sad.it>
5129 * insettext.C (resizeLyXText): honor the new force flag.
5131 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
5133 * insettabular.C (deleteLyXText): new function
5135 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
5143 * insetcollapsable.C:
5144 * insetcaption.C: LColor tidy
5146 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5148 * figinset.C: fix typo
5150 2001-06-01 Juergen Vigna <jug@sad.it>
5152 * insettabular.C (resetPos): small hack so that scroll is not set to
5153 0 when we are in the last column of a tabular. This is a problem we
5154 have because of constats 20 offset on both directions, so this can
5155 cause on the limit an endless loop.
5157 * insettext.C (SetFont): forgot that we can have locking insets ;)
5159 2001-05-31 Juergen Vigna <jug@sad.it>
5161 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
5163 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5165 * figinset.C: add using std:: directive for the C functions which
5168 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
5170 * insetfloat.C (Write): write out wide info
5171 (Read): read the wide info
5172 (Latex): use the wide info when creating latex.
5174 * insettext.C: adjust
5176 * insetgraphics.[Ch] (statusMessage): change to return string
5180 * figinset.C (runqueue): add std::
5183 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5185 * insetcite.C (Ascii): add std:: qualifier
5187 2001-05-28 Juergen Vigna <jug@sad.it>
5189 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
5190 a endless-width inset (maxWidth < 0).
5191 (Edit): change language only if not equal.
5193 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
5195 * insettext.C (draw): fixed draw/clear of InsetText-Frame
5197 2001-05-16 Juergen Vigna <jug@sad.it>
5199 * insettext.C (selectAll): added
5200 (clearSelection): added
5202 * insettabular.C (SetFont): now we may set a font on a whole selection!
5203 (getSelection): added helper function.
5205 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
5207 * insetcite.C (Ascii): Add method.
5209 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
5212 * insetbib.C: fix path for OS/2 & Win32
5214 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5216 * insetfoot.C (Latex): don't use % after footnote.
5218 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5220 * insettext.C (Read): use clear
5221 (SetParagraphData): use LyXParagraph copy constructor instead of clone
5223 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5225 * insetfloatlist.h: add a bunch of std:: qualifiers.
5227 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5229 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
5230 FLOAT_LIST_CODE, renumber code list.
5232 * insettoc.C (getScreenLabel): remove support for float lists
5236 * insetfloatlist.[Ch]: new files
5238 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
5240 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
5242 * insettabular.C (LocalDispatch):
5243 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
5246 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5248 * insettext.C: remvoe !NEW_INSETS cruft
5250 * insettabular.C: remove !NEW_INSETS cruft
5252 * insetcollapsable.h: remove !NEW_INSETS cruft
5254 * insetbib.C: remove !NEW_INSETS cruft
5256 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5258 * insettoc.C: hack to make listof algorithm work
5260 2001-04-20 Juergen Vigna <jug@sad.it>
5262 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
5264 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5266 * insetquotes.C (Latex): improve the guard against
5267 unwanted !` and ?` ligatures. This should really be done in
5268 another place (to catch all this ligatures at low-level).
5270 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5272 * insettext.C (init): remvoe leftovers from cursor_visible change
5273 (draw): use c++ cast
5274 (LocalDispatch): dispatch LFUN_MESSAGE
5276 * insettabular.C (InsetTabular): remove leftovers from
5277 cursor_visible, and scoped_ptr changes
5278 (draw): use c++ cast
5280 * insetcollapsable.C (draw): use c++ cast
5282 * ExternalTemplate.h: inherit privaely from noncopyable
5283 * insetcommand.h: ditto
5284 * insetinclude.h: ditto
5286 2001-04-16 Allan Rae <rae@lyx.org>
5288 * insettoc.C (Ascii):
5289 * insettext.C (draw):
5290 * insettabular.C (setPos):
5291 * insetminipage.C (Read):
5292 * insetfloat.C (placement):
5293 * insetcaption.C (Ascii, DocBook):
5294 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
5295 an unrecognised preprocessor directive. So ensure they're wrapped.
5297 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
5300 * insetexternal.C: set view on Clone. Add _ to private members.
5302 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5304 * insettext.C (InsetText): fix new
5305 (InsetText): reindent some, simplify deletion of par list
5306 (clear): simplify deletion of par list, fix new
5307 (SetParagraphData): simplify deletion of par list
5309 * insettabular.[Ch] (getLabelList): implement new method
5311 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5313 * lyxinset.h: do not include gettext.h...
5321 * insetlatexaccent.C:
5325 * inseturl.C: ... and do it here instead
5327 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5329 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
5331 * insettext.[Ch] (getLabelList): add std:: on vector<string>
5333 * insetcollapsable.[Ch] (getLabelList): implement
5335 * insettext.[Ch] (getLabelList): implement
5337 * insettext.h: reindent
5339 * insettabular.h: make tabular a scoped_ptr
5341 * insettext.C (init): adjust for cursor_visible
5342 (ToggleInsetCursor): constify asc and desc, font, adjust for
5344 (ShowInsetCursor): constify asc and desc, font, adjust for
5346 (HideInsetCursor): adjust for cursor_visible
5348 * insettabular.C: reindent some
5349 (InsetTabular): adjust for scoped_ptr and cursor_visible
5350 (InsetTabular): ditto
5351 (~InsetTabular): delete delete
5352 (Clone): adjust for scoped_ptr
5353 (Read): constify old_format, adjust for scoped_ptr, move init of
5355 (draw): constify tx, localize loop vars.
5356 some other localization of variables, remove double initilizatons.
5358 * insetfoot.C: remove using std::ostream, add ostream where needed
5360 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5362 * lyxinset.h: some reindentaion, use initializer list for
5364 UpdatableInset: make cursor_visible a private var add
5365 public isCursorVisible(), add protected toggleCursorVisible() and
5366 proctected setCursorVisible(bool), make scroll call the Inset::scroll
5368 * insettoc.C: remvoe using decl
5369 (getScreenLabel): make cmdname donst
5372 (Ascii): don't use endl
5374 * insetfootlike.C: remove using decl at file scope and add std::
5376 * insetmarginal.C: ditto
5378 * insetfoot.C: some reformatting
5380 * insetfloat.C (InsetButtonRelease): adjust the hit area
5382 * insetert.C (SetFont): some reformatting
5384 * insetcollapsable.C: some reformatting and constification
5385 (Clone): comment out.
5386 * insetcollapsable.h: some reformatting
5387 (Clone): comment out.
5392 2001-03-30 Juergen Vigna <jug@sad.it>
5394 * insetcollapsable.h: changen *inset to be a InsetText inset.
5396 * some files: changed to reflect the above change.
5398 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
5400 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
5401 InsetExternal::Params.
5402 Added operator==() and operator!=() for the Params struct.
5404 2001-03-29 Juergen Vigna <jug@sad.it>
5406 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
5409 * insetminipage.C: removed widthp_ and all it's functions and changed
5410 to use new %-lengths of LyXLength.
5412 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
5414 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
5416 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
5418 * insetgraphicsParams.C (operator!=): new function, needed by the
5419 ControlGraphics class.
5421 2001-03-28 Juergen Vigna <jug@sad.it>
5423 * insettext.C (InsetButtonPress): only enter !inset if button == 2
5424 (checkAndActivateInset): don't use the values returned from
5425 call to bv->checkInsetHit.
5427 * insetminipage.C (Clone): set special minipage values.
5429 * insetcollapsable.C (draw): changed to draw the button in the
5430 upper left corner outside the textinset.
5431 (ascent): changed because of different drawing
5435 (InsetButtonPress): ditto
5436 (InsetButtonRelease): ditto
5437 (InsetMotionNotify): ditto
5439 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
5441 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
5445 2001-03-26 Juergen Vigna <jug@sad.it>
5447 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
5449 * insettext.C (ShowInsetDialog): implemented above function.
5451 * insettabular.C (ShowInsetDialog): ditto
5453 * insetminipage.C (ShowInsetDialog): ditto
5455 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
5457 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
5458 InsetInclude::Params. Don't store a buffer * in Params. Store the
5459 master file name instead.
5461 2001-03-23 Juergen Vigna <jug@sad.it>
5463 * insetcollapsable.C (InsetMotionNotify):
5464 (InsetButtonRelease):
5465 (InsetButtonPress): fixed y-offset (minipages).
5467 * insettext.C (draw): force a FULL update if cleared == true.
5469 * insetcollapsable.C (draw): Lars forgotten entry for changing this
5470 routine to draw the minipages on its position-flag.
5471 (InsetInInsetY): give back the right y position, because of minipage
5474 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
5477 * insetfloat.C (DocBook): docbook export code.
5479 2001-03-22 Juergen Vigna <jug@sad.it>
5481 * insetminipage.C (getMaxWidth): added function to set the drawing
5483 (Read): should work now!
5485 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
5486 if we create a new inset.
5488 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
5490 * figinset.C (fl_set_preemptive_callback): moved definition outside
5493 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5495 * insetminipage.C (Read): prepare for reading of minipage arguments.
5497 2001-03-18 Baruch Even <baruch@lyx.org>
5499 * insetgraphics.C: Minor cleanups of the comments and code.
5501 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5503 * insetminipage.C (InsetMinipage): default to not collapsed
5505 2001-03-16 Juergen Vigna <jug@sad.it>
5507 * insetminipage.C (width): modified with to be a string
5508 (widthp): added widthp (for % width) support functions.
5509 (InsetButtonRelease): added to open the options dialog on button==3.
5510 (~InsetMinipage): added to hide the dialog.
5512 * insetminipage.h: added hideDialog signal
5514 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5516 * insetminipage.h: change the order or Position to match
5517 LyXParagraph::MINIPAGE_ALIGNMENT
5519 * several files: remvoe CXX_WORKING_NAMESPACES
5521 * ExternalTemplate.h: noncopyable is in namespace boost
5522 * insetinclude.h: ditto
5523 * insetcommand.h: ditto
5525 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
5527 * insettext.C (Edit): #else# -> #else.
5528 * insettoc.C: added using directive.
5530 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5532 * insetminipage.h: add pos, inner_pos, width and height. + getters
5533 and setters for all of them.
5535 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
5537 * insetinclude.C (Latex): Do not exit when the textclass of the
5538 included file differ from the textclass of the parent file.
5540 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
5542 * ExternalTemplate.C (read): the reading of external insets now checks
5543 for \end_inset and removes it form the input stream.
5545 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
5547 * ExternalTemplate.h:
5548 * ExternalTemplate.C:
5550 * insetexternal.C: move form to GUII
5552 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
5555 * insetinclude.C: add InsetIncludeParams, use
5556 composition rather than derivation of InsetCommand
5558 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5560 * insettoc.C (Ascii): use the Buffer typedefs
5562 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5564 * insettoc.C (Ascii): implement for dynamic number of lists
5566 * insetcaption.[Ch]: update from new_insets branch
5567 * insetfloat.[Ch]: ditto
5569 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
5572 * figinset.C: use new File Dialog
5574 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5576 * insettext.C: changes becuase of ParagraphParameters.
5578 2001-02-28 Baruch Even <baruch@ev-en.org>
5580 * insetgraphics.C (updateInset): Changed due to the change in
5583 2001-02-26 Juergen Vigna <jug@sad.it>
5585 * insettext.C (SetFont): Set Undo only if we have selection (as it is
5586 handled in LyXText).
5588 2001-02-23 Juergen Vigna <jug@sad.it>
5590 * insettext.C (draw): some small repainting fixes.
5591 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
5593 * inset.C (LocalDispatch): changed action to be a kb_action (as it
5594 should be) and not an int.
5596 * insettabular.C (LocalDispatch): ditto
5598 * insettext.C (LocalDispatch): ditto
5600 * insetcollapsable.C (LocalDispatch): ditto
5602 2001-02-22 Juergen Vigna <jug@sad.it>
5604 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
5605 DISPATCH it and we don't have a locking_inset.
5607 2001-02-21 Baruch Even <baruch@ev-en.org>
5609 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
5610 instead of GraphicsCacheItem *.
5612 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5614 * insetcollapsable.C (getLyXText): add const qualifier to second
5617 2001-02-22 Juergen Vigna <jug@sad.it>
5619 * insettext.C (getLyXText): honor the recursive parameter.
5620 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
5622 * inset.C (getLyXText): added bool recursive parameter.
5624 * insettext.C (SetUpdateStatus): or the update codes.
5625 (draw): check need_update with &.
5626 (InsetButtonPress): set no_selection to not put a selection when
5627 entering an inset and it is redraws in another spot.
5629 * insettext.h: made need_update an int.
5631 2001-02-20 Baruch Even <baruch@ev-en.org>
5634 * insetgraphisc.C: Changed to use better semantics when loading images
5635 for inline view. Now it doesn't keep the pixmap itself but it's holder.
5637 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
5641 * insetgraphics.C: change name of "hide" signal to "hideDialog",
5642 consistent with InsetTabular.
5644 2001-02-19 Juergen Vigna <jug@sad.it>
5646 * insettabular.C (LocalDispatch): implement PAGE up/down.
5648 * insettext.C (draw): clear all of it on need_update==INIT too!
5650 * insettabular.C (InsetUnlock): always clear the selection.
5652 * inset.C (scroll): normally we only want to scroll the inset until
5653 it is fully visible so if top_x + offset > 20 then just set scx to 0.
5655 2001-02-14 Juergen Vigna <jug@sad.it>
5657 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
5658 (resetPos): fixed scroll behaviour.
5659 (LocalDispatch): do an update if moving cursor inside a table cell
5660 requests a scroll of the tabular.
5662 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5664 * insettext.C (textWidth): constify local var
5666 * insettabular.C: small cleanup.
5668 * insetfoot.C (Latex): constify local var
5670 * insetcollapsable.C: small cleanup.
5672 * figinset.C (runqueue): use compare instead of strcmp
5674 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
5677 * insetinfo.C: remove cruft
5679 2001-02-14 Juergen Vigna <jug@sad.it>
5681 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
5683 2001-02-13 Juergen Vigna <jug@sad.it>
5685 * insettext.C (InsertInset): don't move left (is this right?)
5687 * insettabular.C (LocalDispatch): use of the no_draw variable
5689 * insettabular.h: new no_draw variable to stop redraw
5691 * insettabular.C (TabularFeatures): fixed update for alignment change
5693 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
5697 * insetbib.C: move dialogs to frontends/
5699 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
5701 * insettext.C (LocalDispatch): Restore the language if the inset
5704 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
5706 * insettext.C (moveRightIntern): Update the selection cursor.
5707 (moveLeftIntern): Ditto.
5709 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5711 * Makefile.am: remove BoundingBox.h
5713 * BoundingBox.h: removed
5715 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
5717 * insettext.C (LocalDispatch): Update selection cursor when moving
5718 cursor to the right.
5719 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
5720 (moveLeftIntern): Ditto.
5722 2001-02-05 Baruch Even <baruch.even@writeme.com>
5724 * insetgraphics.C: Updated automatic image conversion, it now goes into
5725 temporary directory instead of with the image itself.
5727 2001-01-21 Baruch Even <baruch@ev-en.org>
5729 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
5730 to EPS or PNG when needed (support bitmap graphics).
5732 2000-11-02 Baruch Even <baruch@ev-en.org>
5735 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
5736 and removal of commented out code.
5738 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5740 * insetbib.C (callback): Update citations if the key has changed.
5742 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5744 * insetbib.C (InsetBibKey): Better computation of default key.
5745 (getScreenLabel) Show both the key and the label.
5746 (getBibLabel): New method.
5747 (callback): Force a redraw if the inset have been changed.
5749 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
5751 * insetref.C (getType, getName): Move methods from
5752 src/frontends/xforms/FormRef.C.
5754 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
5756 * insettabular.C: Various improvements (use only one dummy position).
5758 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
5760 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
5761 par->bibkey->width. This fixes the crashes when running without
5762 gui or when having included documents.
5764 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
5766 * insetcommand.C (getAsString, setFromString): Cleanup.
5768 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
5770 * insetref.C: Add the array InsetRef::types that contains
5771 information about all supported reference types.
5773 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5775 * lyxinset.h: remove trailing comma in enum.
5777 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
5779 * insettext.C: kill LyXBell.