1 2003-10-07 Angus Leeming <leeming@lyx.org>
3 * ExternalSupport.[Ch]: new files, moving the private member functions
4 and namespace anon functions out of insetexternal.C to here, so making
5 it easier to understand what is going on in insetexternal itself.
7 * Makefile.am: add new files.
9 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
10 allowing the class to be forward declared. (Also consistent with
11 all other Params classes.)
12 (write): moved out of the class. Move this function and those in
13 namespace anon to ExternalSupport.[Ch].
15 2003-10-07 Angus Leeming <leeming@lyx.org>
17 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
18 non-const member function.
20 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
25 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
27 2003-10-02 André Pönitz <poenitz@gmx.net>
29 * insettext.C (read): make sure there is at least one par
30 in the text after reading.
32 2003-10-01 José Matos <jamatos@lyx.org>
34 * insetbranch.C (linuxdoc, docbook): minor fix.
36 2003-10-01 Angus Leeming <leeming@lyx.org>
38 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
40 * insetexternal.[Ch]: changes due to the introduction of
41 namespace lyx::external.
43 2003-09-30 Angus Leeming <leeming@lyx.org>
45 * insetexternal.[Ch] (Params::read, write): new member functions.
47 2003-09-25 Angus Leeming <leeming@lyx.org>
49 * insetexternal.[Ch] (TempName): new (private) nested struct with
50 fake copy semantics. Enables us to use the generated copy c-tor
52 (Params::templatename, Params::tempname): use accessor functions.
54 2003-09-25 Angus Leeming <leeming@lyx.org>
56 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
57 function, returning a const pointer.
59 2003-09-23 Angus Leeming <leeming@lyx.org>
61 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
62 store them in a vector, preambleNames.
64 * insetexternal.C (validate): loop over all preambleNames and call
65 LaTeXFeatures::addExternalPreamble with each.
67 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
69 * insetbranch.C: bug fix in branches
71 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
73 * insetnote.C: small clean-up.
75 2003-09-19 Angus Leeming <leeming@lyx.org>
77 * inset.h (generatePreview): passed a 'Buffer const &' arg.
79 * insetcommand.C (string2params): clear params using the default c-tor.
81 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
82 InsetInclude::Params. No more data in this struct than in
83 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
84 (c-tor): no need to pass a 'Buffer const &' arg anymore.
85 (clone): remove #warning as it's now redundant.
86 (set): add a 'Buffer const &' arg. Make private.
87 (loadIfNeeded) move out of the class definition and into namespace anon.
88 (getMasterFilename, getFileName): ditto.
90 2003-09-18 Angus Leeming <leeming@lyx.org>
92 * insetcommand.C (setParams): use the params' copy constructor.
94 2003-09-18 Angus Leeming <leeming@lyx.org>
96 * insetinsetbase.h (getLabelList):
97 * insetinsetcollapsable.[Ch] (getLabelList):
98 * insetinsetinclude.[Ch] (getLabelList):
99 * insetinsetlabel.[Ch] (getLabelList):
100 * insetinsettabular.[Ch] (getLabelList):
101 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
102 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
104 2003-09-18 Angus Leeming <leeming@lyx.org>
106 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
107 redundant baggage from yesteryear.
108 Remove Params::flag as it is redundant; the info is present in
111 2003-09-18 Angus Leeming <leeming@lyx.org>
113 * insetinclude.C (latexString): add a Buffer const & arg.
115 2003-09-18 Angus Leeming <leeming@lyx.org>
120 * insettext.h: rename EnumLColor as LColor_color.
122 2003-09-18 Angus Leeming <leeming@lyx.org>
124 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
125 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
127 2003-09-16 Angus Leeming <leeming@lyx.org>
129 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
130 set before trying to generate a preview, else we trigger an assert.
132 2003-09-16 Angus Leeming <leeming@lyx.org>
134 * insetinclude.C (PreviewImpl::parent): return a const reference.
136 2003-09-16 Angus Leeming <leeming@lyx.org>
138 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
140 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
142 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
143 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
145 * insetminipage.C (metrics):
146 * insetnote.C (metrics):
147 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
148 access collapsed_ directly.
150 2003-09-16 Angus Leeming <leeming@lyx.org>
152 * insetbibitem.C: add #include "lyxfont.h".
154 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
157 * insetbibtex.C: use namespace alias for lyx::support::os
159 2003-09-16 Angus Leeming <leeming@lyx.org>
161 * insetcollapsable.h: remove unused framecolor variable.
162 Remove #include "LColor.h".
164 * insetcollapsable.C: remove unused framecolor variable.
167 * insetcollapsable.C:
175 Add #include "LColor.h".
177 2003-09-16 Angus Leeming <leeming@lyx.org>
179 * insettext.[Ch] (frameColor): new accessor function.
180 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
186 add #include "LColor.h".
188 * insetcollapsable.h: add #include "LColor.h"
189 (for its framecolor member variable).
191 2003-09-16 Angus Leeming <leeming@lyx.org>
193 * insetenv.C (constructor): use accessor functions to access InsetText variables.
195 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
196 rename frame_color as frame_color_. Make private.
198 * insettext.C: associated changes.
200 2003-09-16 Angus Leeming <leeming@lyx.org>
202 * inset.h: store background_color_ as an int, not as an LColor::color to
203 get LColor.h out of the header file.
206 * insetlatexaccent.C:
209 * insetspecialchar.C:
211 add #include "LColor.h".
213 2003-09-16 Angus Leeming <leeming@lyx.org>
215 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
218 2003-09-15 Angus Leeming <leeming@lyx.org>
220 * inset.[Ch] (setBackgroundColor, backgroundColor):
221 * insettext.[Ch] (setFrameColor):
222 pass EnumLColor args, rather than LColor::color ones.
224 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
234 * insetwrap.C: remove usage of STRCONV
236 2003-09-15 Angus Leeming <leeming@lyx.org>
238 * renderers.C (draw):
239 * insetlatexaccent.C (draw): explicitly define the color passed to
242 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
244 * insettext.C: remove block causing problems in lockInsetInInset
245 (mentioned erroneously under Bug #1366)
247 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
249 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
252 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
254 * several files: change Assert to BOOST_ASSERT
256 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
258 * insettext.[Ch]: remove drawText[XY]Offset
260 2003-09-08 Angus Leeming <leeming@lyx.org>
262 * insetcollapsable.C:
267 * insetspecialchar.C:
270 * insettoc.C: remove redundant using directives.
272 2003-09-07 Angus Leeming <leeming@lyx.org>
275 * insetspecialchar.h: remove #include "support/std_string.h".
277 2003-09-06 Angus Leeming <leeming@lyx.org>
279 * renderers.C: add #include "insets/inset.h"
281 2003-09-05 Angus Leeming <leeming@lyx.org>
283 * *.C: strip out redundant #includes. (193 in total.)
285 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
287 * insets/insetbibtex.[Ch]:
288 * insets/insetcommand.h:
289 * insets/insetfloatlist.[Ch]:
290 * insets/insetinclude.[Ch]:
291 * insets/insettoc.[Ch]: Restricts the mouse click functionality
292 of insets like bibtex, include, toc and floatlist to the visible
293 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
294 up the dialogs. Cursor has to be in front of the inset (i.e.
295 start of row) for this to function.
297 2003-09-04 Angus Leeming <leeming@lyx.org>
299 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
300 structure outside of the Format struct. Format::preambleName refers to
301 an item in the map of all preamble snippets.
302 Make use of the new Debug::EXTERNAL flag.
304 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
305 (validate): Small change due to the changed storage of preamble snippets.
307 2003-09-04 Angus Leeming <leeming@lyx.org>
309 * insetgraphics.C: #include "support/os.h"
311 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
312 * insettabular.h: move #include "FuncStatus.h" out of the header file.
313 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
315 * insetcollapsable.h:
317 * insetnote.C: move #include "funcrequest.h" out of the header file.
319 2003-09-03 Angus Leeming <leeming@lyx.org>
321 * insetexternal.C (updateExternal):
322 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
325 2003-09-03 Angus Leeming <leeming@lyx.org>
327 * insetexternal.C: don't bring namespace lyx::support into the global
330 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
332 * insetbranch.C: Add Branch: to label
334 2003-09-02 John Levon <levon@movementarian.org>
337 * insettext.C: remove cursor.i[xy]()
339 2003-08-28 Angus Leeming <leeming@lyx.org>
341 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
342 "sh ", enabling the conversion to be carried out even if the script
345 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
347 * most files: change to use const Buffer refs
349 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
351 * insetfootlike.C: whitespace.
353 2003-08-26 John Levon <levon@movementarian.org>
357 * insetindex.h: remove remaining mentions of needFullRow()
359 2003-08-26 André Pönitz <poenitz@gmx.net>
365 * inset.[Ch]: remove InsetOld::par_owner_ & handling
367 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
369 * insetbranch.C: Small fix to prevent a crash on loading.
371 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
376 * insetcollapsable.h:
378 * insetfloatlist.[Ch]:
379 * insetfootlike.[Ch]:
387 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
388 altogether, putting the logic in metrics/draw in the insets.=20
389 Draws short single row insets with more or less realistic metrics.
391 2003-08-19 André Pönitz <poenitz@gmx.net>
393 * insettext.C: use new RowPainter interface
395 2003-08-18 John Levon <levon@movementarian.org>
397 * insetref.C: require amsmath for eqref
399 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
403 * insetbranch.[Ch]: implements the 'branch inset'
404 idea. This allows the output of various versions of a document
405 from a single source version, selectively outputing or suppressing
406 output of parts of the text.
407 This implementation contains a 'branch list editor' in a separate
408 tab of the document settings dialog. Branches are user definable
409 and have a "display colour" to distinguish them on-screen.
411 ColorHandler was somewhat cleaned up.
412 (1) make possible a dynamically growing LColor list by allowing
413 the graphic context cache to grow along (vector);
414 (2) eliminate an IMHO unnecessary step in colour allocation.
416 2003-08-15 André Pönitz <poenitz@gmx.net>
418 * insettext.[Ch]: adjust after rowlist split
420 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
422 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
423 rename valign-center to valign-middle;
424 rename VALIGN_CENTER to VALIGN_MIDDLE
426 2003-08-11 André Pönitz <poenitz@gmx.net>
428 * inset.h: remove resizeLyXText
431 * insetcollapsable.[Ch]:
433 * insettabular.[Ch]: adjust
435 * insettext.[Ch]: remove saveLyXTextState,
436 restoreLyXTextStat, sstate, reinitLyXText
438 2003-08-07 André Pönitz <poenitz@gmx.net>
440 * inset.[Ch]: move non-crucial functions out-of-line
442 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
443 remove duplicated code.
445 2003-08-05 André Pönitz <poenitz@gmx.net>
448 * insetcollapsable.[Ch]:
461 * updatableinset.[Ch]: rip out "deep update"
463 * insettext.C (localDispatch): merge cases with default branch
465 * insettext.C (frame_x,y,w,h): replace member with automatic variables
467 * insettabular.[Ch] (updateLocal): simplify logic
469 2003-08-04 André Pönitz <poenitz@gmx.net>
471 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
472 is 'FULL' all the time.
474 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
476 * insetert.C (get_new_label): only add ... to the (closed) label
477 when the string has been shortened
479 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
481 * Always use std::endl with lyxerr
483 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
485 * insetnote.C: update \author list
487 2003-07-31 André Pönitz <poenitz@gmx.net>
489 * insetcollapsable.h:
491 * insettext.[Ch]: remove toggleSelection
493 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
495 (with help from Juergen Spitzmueller)
496 * insetnote.C: add add i18n support. Use Prefs-definable
497 colours for Comment and Greyedout.
499 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
501 * insetcollapsable.[Ch]:
503 * insetert.C: factor out the detection of clicking on the inset
504 button as 'hitButton'. John Levon contributed.
506 2003-07-30 André Pönitz <poenitz@gmx.net>
508 * insetcollapsable.C:
510 * insettabular.C: parantheses, localize vars etc.
512 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
514 * insetnote.C: Implement a newenvironment in preamble for
515 greyedout. Patch provided by Jürgen Spitzmüller.
517 2003-07-29 Angus Leeming <leeming@lyx.org>
519 * insetcommand.C (localDispatch): default to
520 InsetOld::localDispatch.
522 * insetbibitem.C (localDispatch):
523 * insetbibtex.C (localDispatch): remove call to
524 ChangeCitationsIfUnique.
526 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
528 * insetexternal.C (read): use pushpophelper.
530 2003-07-28 José Matos <jamatos@lyx.org>
532 * insetext.C (read): \end_document replaces \the_end.
534 2003-07-28 José Matos <jamatos@fep.up.pt>
536 * insetert.C (write): \layout -> \begin_layout.
537 Add missing \end_layout.
539 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
541 * insetquotes.C: document a bit the format
543 * insettabular.C (write): remove extra space
545 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
546 * insetnote.C: Umpf. Hope I *now* get it right :-(
548 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
549 *insetnote.C: did the right fix to greyedout: \color
550 instead of \textcolor.
552 2003-07-28 Angus Leeming <leeming@lyx.org>
554 * insetbibtex.h: remove extraneous forward declaration.
557 * insetbibtex.h: Also remove long-dead Holder member class
560 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
562 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
565 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
567 * insetwrap.C (addToToc): adjust for lyx::toc
569 * insetfloatlist.C (ascii): adjust for lyx::toc
571 * insetfloat.C (addToToc): adjust for lyx::toc
573 2003-07-27 José Matos <jamatos@fep.up.pt>
575 * insetnote.h (linuxdoc,docbook): update support.
577 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
579 * insetfloat.C (wide): add a space to label, for consistency
581 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
583 * insettext.C (nextChange): adjust for lyx::find
584 (searchForward): ditto
585 (searchBackward): ditto
587 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
589 * insetgraphicsParams.C:
590 * insetexternal.C: declare extern displayTranslator
593 * renderers.C: add #include "support/LAssert.h"
595 2003-07-27 José Matos <jamatos@fep.up.pt>
597 * insetfloat.[Ch] (linuxdoc):
598 * insetgraphics.C (linuxdoc):
599 * insettabular.C (linuxdoc):
600 * insettext.[Ch] (linuxdoc): add support for tables and figures
603 2003-07-27 José Matos <jamatos@fep.up.pt>
605 * insetinclude (latex): comply with makeLaTeXFile argument change.
607 2003-07-26 Asger Alstrup <alstrup@local>
609 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
610 the undo crashes. We'll see what problems other places this will
613 2003-07-26 Angus Leeming <leeming@lyx.org>
615 * insetgraphics.C: remove unused declaration of system_tempdir.
617 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
619 * rename Inset to InsetOld
621 * all inset files (clone): return a auto_ptr<InsetBase>
623 2003-07-23 Angus Leeming <leeming@lyx.org>
625 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
627 2003-07-23 Angus Leeming <leeming@lyx.org>
629 * mailinset.[Ch] (inset2string):
630 * insetcommand.[Ch] (inset2string):
631 * insetert.[Ch] (inset2string):
632 * insetexternal.[Ch] (inset2string):
633 * insetfloat.[Ch] (inset2string):
634 * insetgraphics.[Ch] (inset2string):
635 * insetinclude.[Ch] (inset2string):
636 * insetminipage.[Ch] (inset2string):
637 * insetnote.[Ch] (inset2string):
638 * insettabular.[Ch] (inset2string):
639 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
641 * insetexternal.[Ch]:
642 * insetgraphics.[Ch]: get rid of the view() function. Associated
643 changes to the mailers' string2params and params2string functions.
645 2003-07-23 Angus Leeming <leeming@lyx.org>
647 * insetexternal.[Ch]: store the external file name in a FileName
648 member variable rather than a string + associated changes.
650 2003-07-21 Angus Leeming <leeming@lyx.org>
652 * insetgraphicsParams.[Ch]: store the graphics file name in
653 a FileName member variable rather than a string.
655 * insetgraphics.[Ch]:
656 * insetgraphicsParams.[Ch]: Associated changes.
658 2003-07-21 Angus Leeming <leeming@lyx.org>
660 * insetgraphics.[Ch] (string2params, params2string): passed a
661 buffer_path argument.
664 2003-07-21 Angus Leeming <leeming@lyx.org>
667 * insetgraphicsParams.[Ch]:
669 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
671 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
673 * insetnote.C: fixed greyout and conditionals layout foul-ups.
675 2003-07-18 André Pönitz <poenitz@gmx.net>
678 * insetminipage.[Ch]:
682 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
684 2003-07-18 André Pönitz <poenitz@gmx.net>
688 * insetcollapsable.C:
692 * insetgraphics.[Ch]:
693 * insetlatexaccent.[Ch]:
698 * insetspecialchar.C:
701 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
703 2003-07-17 André Pönitz <poenitz@gmx.net>
705 * insetcollapsable.C:
707 * insettext.C: don't call Inset::update() anymore
710 * insettabular.[Ch]: remove unneeded in_update_ members
712 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
714 2003-07-16 André Pönitz <poenitz@gmx.net>
716 * insettext.C (selectAll): remove
718 2003-07-16 John Levon <levon@movementarian.org>
721 * insetnote.C: implement showInsetDialog()
723 2003-07-15 André Pönitz <poenitz@gmx.net>
726 * insettext.C: refresh_status tristate -> need_update bool
728 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
730 * insettext.C: adjust call to LyXText::init
732 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
734 * insettext.C: use bufferview_funcs->replaceSelection()
735 to delete selections in some cases (bugs 441, 673, 702, 954).
737 2003-07-14 André Pönitz <poenitz@gmx.net>
739 * insettext.C (draw): use slimmed down rowpainter interface
741 2003-07-14 André Pönitz <poenitz@gmx.net>
743 * insetcollapsable.C:
745 * insettext.[Ch] (cy, ciy, setUpdateStatus):
746 remove unused BufferView * argument
748 2003-07-14 André Pönitz <poenitz@gmx.net>
750 * insettext.[Ch]: used cached metrics a bit more
752 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
754 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
756 2003-07-10 André Pönitz <poenitz@gmx.net>
759 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
761 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
763 * introduce namespace lyx::graphics
765 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
767 * introduce namespace lyx::support
769 2003-06-30 André Pönitz <poenitz@gmx.net>
771 * insetcite.C (localDispatch): fix case of missing return value
773 * insetcite.C (ascii): remove unneeded temporary
775 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
777 * insetspace.h: fix \file
779 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
780 * insetinclude.C (fillWithBibKeys): ditto
782 * insetbibitem.C: fix type const order
784 * inset.C (getLyXText): add varname for arg
786 * ExternalTemplate.h: fix type const order
788 2003-06-27 André Pönitz <poenitz@gmx.net>
790 * insettext.C: take care of removed LyXCursor::row_ member
792 * insettext.[Ch]: use new TextCursor struct for sstate
794 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
796 * inseterror.[Ch]: removed
798 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
800 * insetinclude.C (docbook): use parseError instead of sgmlError
802 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
804 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
805 of BufferList::loadLyXFile
807 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
809 * insettext.C (update): simplify
810 (updateLocal): remove commented code
811 (insetUnlock): simplify
812 (lockInset): simplify
813 (updateInsetInInset): simplify
814 (localDispatch): simplify
816 (resizeLyXText): simplify
817 (collapseParagraphs): simplify
819 * insetert.C (get_new_label): simplify
821 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
823 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
824 pasteSelection with index
826 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
828 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
830 2003-06-16 André Pönitz <poenitz@gmx.net>
832 * insetbase.h: new virtual base function clone()
834 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
835 Inset * clone() -> InsetBase * clone()
837 2003-06-13 André Pönitz <poenitz@gmx.net>
839 * insettabular.[Ch]: make tabular a proper member
841 2003-06-12 André Pönitz <poenitz@gmx.net>
843 * insettabular.[Ch]: some renaming plus whitespace
845 2003-06-11 Angus Leeming <leeming@lyx.org>
847 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
850 * insetbutton.[Ch]: removed.
851 * graphicinset.[Ch]: renamed as renderers.[Ch].
853 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
854 Create a new class ButtonRenderer using the InsetButton::metrics() and
856 Derive both from a common RenderedInset base class.
859 * insetinclude.[Ch]: derive from Inset, not InsetButton.
860 Give it a ButtonRenderer member variable. Use it.
861 Give the classes working copy c-tors.
862 No longer derive from boost::noncopyable.
864 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
865 display its contents as a button or as a graphic.
867 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
870 2003-06-11 Angus Leeming <leeming@lyx.org>
872 * insetcite.C (localDispatch): reformat.
874 * insetref.C (localDispatch): enable dialog to be lauched.
876 2003-06-11 John Levon <levon@movementarian.org>
878 * insettabular.C: correctly mark all cells as erased
880 2003-06-11 Angus Leeming <leeming@lyx.org>
882 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
883 ExternalTemplate but its name, templatename. This means that a file
884 containing a reference to an External Template not installed on the
885 current machine will be saved retaining this info rather than inserting
886 the first "valid" template from the list of templates.
888 As a by product, the visual statement that the Template is missing is
891 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
893 * insettext.C (appendParagraphs): remove some commented code.
895 2003-06-10 Angus Leeming <leeming@lyx.org>
897 * graphicinset.[Ch] (view): removed the publicly accessible function to set
900 * insetexternal.[Ch]: move tempname_ into the Params struct.
901 (Params d-tor): new function, to clean-up this temp file.
902 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
904 (editExternal, doSubstitution): move out of class.
906 2003-06-10 Angus Leeming <leeming@lyx.org>
908 * graphicinset.[Ch] (params): removed.
909 * graphicinset.h (operator=): declared private but not defined.
910 (statusMessage): made private.
912 * insetexternal.[Ch]: graphic_ renamed as renderer_.
914 2003-06-07 John Levon <levon@movementarian.org>
916 * insetert.C (latex): make a newline mean just that not
919 2003-06-07 José Matos <jamatos@fep.up.pt>
921 * insethfill.[Ch] (linuxdoc, docbook): implement output
922 * insetspace.C (linuxdoc, docbook): remove coments as the code
925 2003-06-06 José Matos <jamatos@fep.up.pt>
927 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
929 2003-06-06 André Pönitz <poenitz@gmx.net>
931 * insetwrap.[Ch]: code compactification
933 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
935 * mailinset.C (updateDialog): use Dialogs::visible
937 2003-06-04 Angus Leeming <leeming@lyx.org>
939 * graphicinset.C (draw): add a comment for the #if 0 block.
941 * insetexternal.h: remove Params::parameters variable.
942 * insetexternal.C (read, write): rewrite to output new ExternalInset format
943 and read it back making full use of LyXLex.
945 2003-06-04 André Pönitz <poenitz@gmx.net>
947 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
949 2003-06-04 John Levon <levon@movementarian.org>
951 * insettabular.C: back out tall table speed up. It was broken
953 2003-06-03 Angus Leeming <leeming@lyx.org>
955 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
956 Remove ViewCommand and UpdateCommand.
958 * graphicinset.C (update): bug fix. Set the params before calling the
960 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
961 BufferView cache to enable the InsetExternal::editCommand to be invoked
962 from the frontends. Would not be needed if this were dispatched properly.
963 (old_ascent_): variable removed.
965 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
966 do any necessary conversions of external material. Also use the
967 new GraphicsInset to display the inset within LyX.
969 2003-06-03 Angus Leeming <leeming@lyx.org>
971 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
972 and move it somewhere where InsetExternal can use it too.
974 * Makefile.am: add the new files.
976 * insetgraphics.[Ch]: make use of the new GraphicInset.
978 2003-06-03 John Levon <levon@movementarian.org>
988 * insetexternal.[Ch]:
992 * insetgraphics.[Ch]:
997 * insetlatexaccent.[Ch]:
998 * insetmarginal.[Ch]:
999 * insetminipage.[Ch]:
1006 * insetspecialchar.[Ch]:
1007 * insettabular.[Ch]:
1009 * insetthereom.[Ch]:
1012 * insetwrap.[Ch]: make clone() not take a Buffer * arg
1014 * insetgraphics.[Ch]:
1015 * insetgraphicsParams.[Ch]: always store an absolute
1018 2003-06-02 André Pönitz <poenitz@gmx.net>
1022 * insetlatexaccent.C: remove duplicated call to metrics()
1024 2003-06-02 John Levon <levon@movementarian.org>
1026 * insettabular.C: fix resize of column width
1028 2003-06-02 John Levon <levon@movementarian.org>
1033 * insetparent.C: remove insetparent
1035 2003-06-02 André Pönitz <poenitz@gmx.net>
1042 * insetcollapsable.[Ch]:
1046 * insetgraphics.[Ch]:
1047 * insetinclude.[Ch]:
1048 * insetlatexaccent.[Ch]:
1049 * insetminipage.[Ch]:
1050 * insetnewline.[Ch]:
1053 * insetspecialchar.[Ch]:
1054 * insettabular.[Ch]:
1055 * insettext.[Ch]: unify first drawing phase
1058 * insetbase.h: move validate() to the base
1060 2003-05-31 Angus Leeming <leeming@lyx.org>
1062 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
1064 2003-05-30 André Pönitz <poenitz@gmx.net>
1069 * insetcaption.[Ch]:
1070 * insetcollapsable.[Ch]:
1073 * insetgraphics.[Ch]:
1074 * insetinclude.[Ch]:
1075 * insetlatexaccent.[Ch]:
1076 * insetnewline.[Ch]:
1079 * insetspecialchar.[Ch]:
1080 * insettabular.[Ch]:
1082 * updatableinset.[Ch]: unify second drawing phase
1084 2003-05-30 John Levon <levon@movementarian.org>
1086 * insetgraphics.C: fix a bformat
1088 2003-05-29 John Levon <levon@movementarian.org>
1090 * insettabular.C: remove unused bufferOwner()
1092 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1094 * insettext.C (lockInsetInInset): adjust
1095 (getLabelList): use const_iterator, adjust
1096 (getInsetFromID): use const_iterator, adjust
1097 (addPreview): use const_iterator, adjust
1099 * insetwrap.C (clone): remove const_cast
1101 * insetnote.C (clone): remove const_cast
1103 * insetminipage.C (clone): remove const_cast
1105 * insetmarginal.C (clone): remove const_cast
1107 * insetfoot.C (clone): remove const_cast
1109 * insetfloat.C (clone): remove const_cast
1111 * insetert.C (clone): remove const_cast
1113 * delete commented same_id functions from a lot of files.
1115 2003-05-28 John Levon <levon@movementarian.org>
1121 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
1123 * insetminipage.C: fix metrics (bug 1144)
1125 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1127 * insettext.C (saveLyXTextState): adjust
1128 (restoreLyXTextState): adjust
1131 (unlockInsetInInset): adjust
1132 (localDispatch): adjust
1133 (getLyXText): adjust
1135 * insettabular.C (insertAsciiString): adjust
1137 2003-05-27 André Pönitz <poenitz@gmx.net>
1140 * insetcollapsable.C:
1143 * insetlatexaccent.C:
1148 * insetspecialchar.C:
1150 * insettext.C: dim.w -> dim.wid
1152 2003-05-26 John Levon <levon@movementarian.org>
1154 * insettabular.C: avoid drawing all of a long table
1155 if it's not needed. A big speedup
1157 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1159 * remove same_id from function signatures, adjust
1161 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1163 * insettext.C (InsetText): adjust
1165 (setParagraphData): separate same_id cases, adjust
1166 (appendParagraphs): adjust
1167 (appendParagraphs): adjust
1169 2003-05-23 André Pönitz <poenitz@gmx.net>
1171 * insetbutton.h: whitespace
1173 * insettabular.C: more compact code
1175 * updatableinset.C: remove const_cast
1178 2003-05-23 Angus Leeming <leeming@lyx.org>
1180 * insetexternal.C (write): check how many lines are output.
1181 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
1182 if the template has defined it.
1184 2003-05-23 Angus Leeming <leeming@lyx.org>
1186 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
1188 2003-05-23 Angus Leeming <leeming@lyx.org>
1190 * insetfoot.C (latex):
1191 * inseturl.C (latex): rename fragile as moving_arg.
1193 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1195 * inseterror.C (localDispatch): comment out unused var.
1197 2003-05-22 Angus Leeming <leeming@lyx.org>
1199 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
1200 passed through the LatexRunParams arg.
1202 2003-05-22 Angus Leeming <leeming@lyx.org>
1204 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
1205 through the LatexRunParams arg.
1207 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
1208 arg rather than through a global var.
1210 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1212 * insetspecialchar.C (dimension): use a string.
1214 2003-05-22 Angus Leeming <leeming@lyx.org>
1216 * insetbibtex.C (latex):
1217 * insetgraphics.C (latex):
1218 * insetinclude.C (latex): extract the buffer's 'nice'ness from
1219 runparams rather than from the buffer itself.
1221 2003-05-22 Angus Leeming <leeming@lyx.org>
1223 * inset*.[Ch] (latex):
1224 passed a LatexRunParams parameter.
1226 * insetgraphics.C (latex): actually use it ;-)
1228 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
1230 * insetfloat.C (addToToc): trivial compile fix
1232 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1234 * insettext.[Ch] (paragraph): delete unused function
1236 * insetfloat.C (addToToc): parlist simplfication
1238 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1240 * insetspace.[Ch]: added (new space insets)
1242 * inset.h: handle new space insets
1244 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1246 * insetfloat.C (addToToc): adjust
1248 2003-05-21 André Pönitz <poenitz@gmx.net>
1250 * insettext.[Ch]: fix drawing bug introduced earlier
1252 2003-05-19 André Pönitz <poenitz@gmx.net>
1254 * insetspecialchar.C: fix bug introduced yesterday
1256 2003-05-19 André Pönitz <poenitz@gmx.net>
1260 * insetcollapsable.[Ch]:
1264 * insetgraphics.[Ch]:
1265 * insetgraphicsParams.[Ch]:
1266 * insetlatexaccent.[Ch]:
1267 * insetminipage.[Ch]:
1268 * insetnewline.[Ch]:
1270 * insetspecialchar.[Ch]:
1271 * insettabular.[Ch]:
1272 * insettext.[Ch]: dimensions() instead of ascend/descend/width
1274 2003-05-19 André Pönitz <poenitz@gmx.net>
1277 * insettext.C: more insetenv
1279 2003-05-16 André Pönitz <poenitz@gmx.net>
1282 * insetminimpage.[Ch]:
1283 * insetcollapsable.[Ch]: fix #832
1285 2003-05-16 André Pönitz <poenitz@gmx.net>
1288 * insetbibitem.[Ch]:
1292 * insetcollapsable.[Ch]:
1293 * insetcommand.[Ch]:
1296 * insetexternal.[Ch]:
1297 * insetfloatlist.[Ch]:
1298 * insetgraphics.[Ch]:
1299 * insetinclude.[Ch]:
1302 * insetlatexaccent.[Ch]:
1305 * insettabular.[Ch]:
1309 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
1311 2003-05-13 André Pönitz <poenitz@gmx.net>
1314 * insetcollapsable.C:
1318 * insetwrap.C: tostr from own header
1330 * insetwrap.C: STRCONV
1333 2003-05-12 André Pönitz <poenitz@gmx.net>
1345 * insetwwrap.C: boost::format -> bformat all over the place
1347 2003-05-05 André Pönitz <poenitz@gmx.net>
1349 * insettext.h: add missing #include <map>
1351 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1353 * insettext.C (InsetText): parlist cleanup
1356 (insetUnlock): ditto
1358 (lockInsetInInset): ditto
1362 (searchBackward): ditto
1363 (collapseParagraphs): ditto
1365 2003-05-06 John Levon <levon@movementarian.org>
1367 * insetcaption.C: don't cast wrap inset to InsetFloat
1370 * insetfloat.C: remove unneeded type() function
1372 2003-05-05 André Pönitz <poenitz@gmx.net>
1376 * insettabular.[Ch]:
1377 * insetcollapsable.[Ch]: remove unused function firstParagraph()
1378 replace getFirstParagraph() by getParagraphs()
1380 2003-05-03 John Levon <levon@movementarian.org>
1382 * insetcollapsable.h:
1383 * insetcollapsable.C:
1389 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
1390 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
1391 getCursor(). Remove explicit cursor hides.
1393 2003-05-02 André Pönitz <poenitz@gmx.net>
1395 * insettext.C: remove unneeded &*
1397 2003-04-30 John Levon <levon@movementarian.org>
1399 * insettabular.C: fix edit message
1401 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1403 * insettext.C (setFont): do not convert iterator -> pointer
1405 * insettabular.C (localDispatch): do not convert iterator -> pointer
1407 (tabularFeatures): ditto
1409 2003-04-29 André Pönitz <poenitz@gmx.net>
1411 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
1413 2003-04-28 André Pönitz <poenitz@gmx.net>
1415 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1418 2003-04-25 André Pönitz <poenitz@gmx.net>
1420 * insetenv.C: derive from InsetText instead of InsetCollapsable
1422 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1424 * insetexternal.C (string2params): dont do anything if the string
1426 * insetgraphics.C (string2params): ditto
1427 * insetcommand.C (string2params): ditto
1428 * insetert.C (string2params): ditto
1429 * insetfloat.C (string2params): ditto
1430 * insetinclude.C (string2params): ditto
1431 * insetminipage.C (string2params): ditto
1432 * insettabular.C (string2params): ditto
1433 * insetwrap.C (string2params): ditto
1435 2003-04-24 André Pönitz <poenitz@gmx.net>
1437 * insetref.C: support for eqref
1439 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1441 * insetert.C (read): use ParagraphList::iterator.
1443 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1445 * insetquotes.C (latex): comment some code and add warnings.
1447 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1449 * insetexternal.C (localDispatch): added a missing DISPATCHED
1451 2003-04-12 John Levon <levon@movementarian.org>
1453 * insetwrap.C (addToToc): fix a crash, conversion
1454 from while to for loop forgot to remove the explicit
1457 2003-04-10 John Levon <levon@movementarian.org>
1459 * insettabular.C (tabularFeature): make sure
1460 to update the dialog when we change something
1463 (getStatus): don't disable some lfuns (bug 939)
1465 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1467 * insettext.C (saveLyXTextState): adjust
1468 (localDispatch): adjust
1474 * insettabular.C (localDispatch): adjust
1476 (tabularFeatures): adjust
1478 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1480 * insettabular.C (searchForward,searchBackward): fix bug 782
1482 2003-04-07 John Levon <levon@movementarian.org>
1485 * insettext.C: clear status message on inset exit
1487 2003-04-03 John Levon <levon@movementarian.org>
1489 * insetcommand.C: return dispatched on DIALOG_UPDATE
1491 2003-04-02 John Levon <levon@movementarian.org>
1493 * insettabular.C: tab lfuns renamed
1495 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1497 * insettext.C (update): move towards ParagraphList
1498 (updateLocal): ditto
1500 (insetUnlock): ditto
1502 (lockInsetInInset): ditto
1503 (updateInsetInInset): ditto
1504 (localDispatch): ditto
1507 (resizeLyXText): ditto
1508 (searchBackward): ditto
1509 (collapseParagraphs): ditto
1512 * insetwrap.C (InsetWrap): adjust
1513 (addToToc): adjust and rewrite loop
1515 * insettext.[Ch] (paragraph): delete function
1517 * insettabular.C (moveNextCell): adjust
1518 (movePrevCell): adjust
1519 (insertAsciiString): adjust
1521 * insetfloat.C (InsetFloat): adjust
1524 * insetert.C (InsetERT): adjust
1525 (write): adjust, and rewrite loop
1526 (latex): adjust, and rewrite loop
1527 (linuxdoc): adjust, and rewrite loop
1528 (docbook): adjust, and rewrite loop
1529 (localDispatch): adjust
1530 (get_new_label): adjust
1532 2003-04-01 John Levon <levon@movementarian.org>
1534 From Alfredo Braunstein
1537 * insetbutton.C: add localDispatch()
1539 * insetcommand.C: return DISPATCHED when edit() called
1541 * insettext.C: fix bug 967
1543 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1545 * insettext.C: adjust
1547 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1549 * insettext.C (draw): adjust
1550 (crow): return a RowList::iterator not a Row*
1552 * insetminipage.C (localDispatch): adjust
1554 * insetert.C (localDispatch): adjust
1556 2003-03-31 John Levon <levon@movementarian.org>
1559 * insetgraphicsParams.C: use_gui moved to lyx_gui
1561 2003-03-31 John Levon <levon@movementarian.org>
1563 * insettext.C: Alert fix
1565 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1567 * insettext.C (ascent): adjust for RowList
1570 (getLyXText): adjust
1571 (toggleSelection): adjust
1573 * insetminipage.C (localDispatch): adjust for RowList
1575 * insetert.C (localDispatch): adjust for RowList
1576 (getMaxWidth): adjust for RowList
1578 2003-03-29 John Levon <levon@movementarian.org>
1580 * insetert.C: Alert cleanup
1582 2003-03-29 John Levon <levon@movementarian.org>
1584 * insettabular.C: Alert fix
1586 2003-03-28 John Levon <levon@movementarian.org>
1588 * insetfloat.C: reset label on INSET_MODIFY
1590 2003-03-28 John Levon <levon@movementarian.org>
1592 * insetgraphicsParams.C: read subcaptionText as a whole line
1595 2003-03-28 John Levon <levon@movementarian.org>
1597 * insettext.C: remove unused prototypes
1599 2003-03-25 Angus Leeming <leeming@lyx.org>
1601 * insetbibitem.C (localDispatch): repaint the view after modifying
1602 a bibitem inset in case the maximum InsetBibitem width has changed.
1604 2003-03-25 John Levon <levon@movementarian.org>
1607 * insettabular.C: LyXText renamings
1609 2003-03-24 John Levon <levon@movementarian.org>
1611 * insettext.C: remove some dead code. Fix bug 972 and
1612 related by posting a repaint in updateLocal(), and making
1613 the SEL functions set SELECTION.
1615 2003-03-22 John Levon <levon@movementarian.org>
1618 * inset.C: remove no-longer-needed topx_set
1620 * insetcollapsable.h:
1621 * insetcollapsable.C: remove dead code
1624 * insetert.C: rebreak the rows when a possible
1625 change in size is made, and reset the cursor
1628 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
1630 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
1631 topx_set. Fix drawing errors for clearInset(). Remove
1632 some unnecessary uses of topx, which should die.
1634 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
1635 is no longer needed. Replace it with an ugly hack.
1637 2003-03-20 John Levon <levon@movementarian.org>
1640 * insetcollapsable.h:
1641 * insetcollapsable.C:
1649 * insettext.C: remove spurious font parameter
1650 from update(). Fix drawing of ERT insets inside
1651 insets (bug 966). Remove unused mark_dirty from
1652 tabular's updateLocal()
1654 2003-03-19 John Levon <levon@movementarian.org>
1663 * insetwrap.C: remove unused getter/setters
1665 2003-03-19 John Levon <levon@movementarian.org>
1667 * several files: bv->updateInset() doesn't take
1668 a bool mark_dirty any more
1670 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1672 * adjust for BufferView* arg removal from lyxtext.
1674 2003-03-17 John Levon <levon@movementarian.org>
1676 * most files: remove the "cleared" parameter
1677 to draw in favour of always clearing. Associated
1680 2003-03-16 John Levon <levon@movementarian.org>
1682 * insettext.C: remove unused s.refresh
1684 2003-03-13 Angus Leeming <leeming@lyx.org>
1686 * insettext.C (edit): replace Dialogs::updateParagraph with
1687 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
1689 2003-03-13 André Pönitz <poenitz@gmx.net>
1691 * Makefile.am: insert insetenv
1693 * insethenv.[Ch]: new files, currently inactive
1695 2003-03-12 John Levon <levon@movementarian.org>
1705 * insettext.C: use new insetnewline
1707 2003-03-12 John Levon <levon@movementarian.org>
1709 * insettext.C: readToken became readParagraph
1711 2003-03-12 John Levon <levon@movementarian.org>
1713 * insettext.C: use parlist iterator for reading contents
1715 2003-03-12 John Levon <levon@movementarian.org>
1717 * insettext.C: name change to readToken()
1719 2003-03-11 André Pönitz <poenitz@gmx.net>
1721 * Makefile.am: insert insethfill
1723 * insethfill.[Ch]: new files
1725 2003-03-10 Angus Leeming <leeming@lyx.org>
1727 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
1729 (hideDialog): calls the new static Dialogs::hide() method.
1731 * insetbibitem.C (edit):
1732 * insetbibtex.C (edit):
1733 * insetcite.C (edit):
1734 * insetcommand.C (localDispatch):
1735 * inseterror.C (d-tor):
1736 * insetert.C (showInsetDialog):
1737 * insetexternal.C (localDispatch, edit):
1738 * insetfloat.C (localDispatch, showInsetDialog):
1739 * insetfloatlist.C (edit):
1740 * insetgraphics.C (localDispatch, edit):
1741 * insetinclude.C (localDispatch, edit):
1742 * insetindex.C (edit):
1743 * insetlabel.C (edit):
1744 * insetminipage.C (localDispatch, showInsetDialog):
1745 * insetref.C (edit):
1746 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
1747 resetPos, showInsetDialog, openLayoutDialog):
1748 * insettoc.C (edit):
1749 * inseturl.C (edit):
1750 * insetwrap.C (localDispatch, showInsetDialog):
1751 changes due to the changed MailInset interface.
1753 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
1755 * insetfloat.h: Set default placement to an empty string.
1757 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1759 * insettext.C (latex): adjust call to latexParagraphs.
1761 2003-03-10 Angus Leeming <leeming@lyx.org>
1763 * mailinset.C: warn the user if the BufferView has not been cached.
1765 2003-03-10 Angus Leeming <leeming@lyx.org>
1767 * inset.h, insetbase.h: move cache() and view() into InsetBase.
1769 * insetcommand.h (inset):
1770 * insetert.h (inset):
1771 * insetexternal.h (inset):
1772 * insetfloat.h (inset):
1773 * insetgraphics.h (inset):
1774 * insetinclude.h (inset):
1775 * insetminipage.h (inset):
1776 * insettabular.h (inset):
1777 * insetwrap.h (inset):
1778 * mailinset.h (inset): return an InsetBase &, not an Inset &.
1780 2003-03-10 Angus Leeming <leeming@lyx.org>
1782 * insetcommand.C (string2params):
1783 * insetexternal.C (string2params):
1784 * insetfloat.C (string2params):
1785 * insetgraphics.C (string2params):
1786 * insetinclude.C (string2params):
1787 * insetminipage.C (string2params):
1788 * insettabular.C (string2params):
1789 * insetwrap.C (string2params): cure warning message about missing
1792 2003-03-09 Angus Leeming <leeming@lyx.org>
1794 * insettabular.[Ch]: define a new class InsetTabularMailer and use
1795 it to communicate with the frontend dialogs.
1797 * mailinset.C (hideDialog): only hide the dialog if it is showing the
1798 contents of this inset!
1800 2003-03-07 Angus Leeming <leeming@lyx.org>
1802 * inseterror.C (localDispatch): new method; calls edit() on
1805 2003-03-07 Angus Leeming <leeming@lyx.org>
1807 * insetbibitem.C (localDispatch):
1808 * insetbibtex.C (localDispatch):
1809 * insetlabel.C (localDispatch):
1810 rewrite as a switch.
1812 2003-03-07 Angus Leeming <leeming@lyx.org>
1814 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
1815 it to communicate with the frontend dialogs.
1817 2003-03-07 Angus Leeming <leeming@lyx.org>
1819 * insetexternal.C: remove operator== and operator!= for
1820 InsetExternal::Params. They were used only by the old controller
1823 2003-03-07 Angus Leeming <leeming@lyx.org>
1825 * insetcommand.C (localDispatch):
1826 * insetexternal.C (localDispatch):
1827 * insetfloat.C (localDispatch):
1828 * insetinclude.C (localDispatch):
1829 * insetminipage.C (localDispatch):
1830 * insetwrap.C (localDispatch):
1831 add LFUN_INSET_DIALOG_UPDATE to the switch.
1833 2003-03-07 Angus Leeming <leeming@lyx.org>
1835 * insetcommand.C (string2params):
1836 * insetexternal.C (string2params):
1837 * insetfloat.C (string2params):
1838 * insetinclude.C (string2params):
1839 * insetwrap.C (string2params): use LyXLeX more.
1842 * insetexternal.[Ch]:
1844 * insetinclude.[Ch]:
1845 * insetwrap.[Ch]: change Mailer::name_ to be static.
1847 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
1848 it to communicate with the frontend dialogs.
1850 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1853 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
1855 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1857 * insettext.C (updateLocal): un-const function
1858 (updateLocal): adjust
1859 (collapseParagraphs): un-const function
1860 (collapseParagraphs): adjust
1862 2003-03-05 Angus Leeming <leeming@lyx.org>
1864 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
1865 it to communicate with the frontend dialogs.
1867 2003-03-05 Angus Leeming <leeming@lyx.org>
1869 * insetcollapsable.C (draw): cache the BufferView.
1871 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
1872 it to communicate with the frontend dialogs.
1874 2003-03-05 Angus Leeming <leeming@lyx.org>
1876 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
1879 2003-03-05 Angus Leeming <leeming@lyx.org>
1881 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
1883 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
1884 it to communicate with the frontend dialogs.
1886 2003-03-05 Angus Leeming <leeming@lyx.org>
1888 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
1889 it to communicate with the frontend dialogs.
1891 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1893 * insettext.C (collapseParagraphs): adjust
1894 (appendParagraphs): make it take a Buffer* instead of a
1895 BufferParams& as arg.
1896 (appendParagraphs): adjust
1898 2003-03-04 Angus Leeming <leeming@lyx.org>
1900 * insetbibitem.C (localDispatch):
1901 * insetbibtex.C (localDispatch):
1902 * insetcommand.C (localDispatch):
1903 * insetert.C (localDispatch):
1904 * insetlabel.C (localDispatch):
1905 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
1907 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1909 * insettext.C (latex): adjust for ParagraphList::iterator
1911 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1913 * insetbutton.C (view): adjust for boost 1.30.0
1914 * insetcollapsable.C (view): ditto
1915 * insetgraphics.C (statusChanged): ditto
1917 * insettext.h: move paragraphs to be public.
1919 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1921 * insetnote.[Ch] (InsetNote): remove unused constructor
1923 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1925 * insetgraphics.C: added include "format.h"
1927 2003-02-27 Angus Leeming <leeming@lyx.org>
1929 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
1932 2003-02-27 Angus Leeming <leeming@lyx.org>
1934 * insetbibitem.C (localDispatch):
1935 * insetbibtex.C (localDispatch):
1938 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1940 2003-02-26 Angus Leeming <leeming@lyx.org>
1942 * insetbibitem.[Ch] (localDispatch):
1943 * insetbibtex.[Ch] (localDispatch):
1944 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
1946 * insetcommand.C (localDispatch):
1947 act only on receipt of LFUN_XYZ_APPLY.
1949 * insetert.C (localDispatch): reformat.
1950 add LFUN_XYZ_APPLY to the switch.
1952 2003-02-26 John Levon <levon@movementarian.org>
1954 * insettext.C: use RowPainter
1956 * inset.h: make helpers take const *
1958 2003-02-26 Angus Leeming <leeming@lyx.org>
1960 * insetcommand.[Ch] (localDispatch): new method.
1962 2003-02-26 Angus Leeming <leeming@lyx.org>
1964 * insetinclude.C (draw): cache the BufferView* using cache not
1965 PreviewImpl::setView
1967 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
1969 * insetgraphics.C (draw)
1970 * insetinclude.C (draw): Eliminate also the other argument (owner
1971 inset inset) in the call to PreviewImage::image
1973 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
1975 * insetgraphics.C (draw)
1976 * insetinclude.C (draw): Eliminate Buferview argument in call to
1979 2003-02-25 John Levon <levon@movementarian.org>
1981 * insetgraphicsParams.h:
1982 * insetgraphics.C: don't start a load process if
1983 the inset is set to NoDisplay (bug #920)
1985 2003-02-22 John Levon <levon@movementarian.org>
1988 * insetwrap.C: TocItem changed API (bug 913)
1990 2003-02-21 Angus Leeming <leeming@lyx.org>
1992 * insetcollapsable.[Ch] (cache, edit):
1993 * insetbutton.[Ch] (cache, edit): new methods to cache the
1994 BufferView in the draw method.
1996 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
1997 simplify comunication between InsetCommand-derived classes and
2000 * insetbibitem.[Ch]:
2004 * insetfloatlist.[Ch]:
2008 * inseturl.[Ch]: small changes to reflect the new interface to the
2011 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
2012 other, similar classes.
2014 * Makefile.am: add new files.
2016 2003-02-21 Angus Leeming <leeming@lyx.org>
2018 * updatableinset.h (setView, view): remove.
2019 * inset.h (view, cache): to be replaced by these.
2021 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
2024 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
2027 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
2029 2003-02-21 Allan Rae <rae@lyx.org>
2031 * insetinclude.C (loadIfNeeded): ensure loading also works when
2032 child document is under version control.
2034 2003-02-17 André Pönitz <poenitz@gmx.net>
2036 * insetbib.[Ch]: Adjust access to bibkeys
2038 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2040 * insetquotes.C (dispString): remove use of acute accent for "'"
2043 2003-02-14 John Levon <levon@movementarian.org>
2045 * insettabular.C: changed method names in tabular.C
2047 2003-02-14 John Levon <levon@movementarian.org>
2051 * insetcollapsable.h:
2052 * insetcollapsable.C:
2056 * insettext.C: remove unused getParFromID()
2058 2003-02-13 John Levon <levon@movementarian.org>
2061 * insettext.C: remove unused beginningofMainBody()
2063 2003-02-08 John Levon <levon@movementarian.org>
2067 * insetcollapsable.h:
2068 * insetcollapsable.C:
2073 add nextChange(). Make allowSpellcheck() const. Add markErased().
2075 * insetert.C: ignore deleted text
2077 * insettabular.C: make sure to keep change tracking working
2080 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2085 * insettext.C: Use error messages with identical spelling and punctuation
2087 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
2089 * insetgraphics.C (draw, width): Fix spacing around graphics inset
2091 2002-12-17 Juergen Vigna <jug@lyx.org>
2093 * insettext.C (localDispatch): hopefully fixed cursor up down
2094 movement on leaving other insets.
2096 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2098 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
2101 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2103 * insetgraphics.C (prepareFile): do not remove the extension of
2104 the file name if it is not the default extension for the given
2105 format (that is, in latex output, remove extension from foo.eps,
2106 but not from foo.epsi)
2108 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2110 * insettext.C (lfunMouseRelease): hackish solution to the "double
2113 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2115 * insetfloat.C (addToToc): use the floats name not its type
2116 * insetwrap.C (addToToc): ditto
2118 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2120 * insetnote.C (init): make label font smaller
2122 2002-12-04 John Levon <levon@movementarian.org>
2124 * insetinclude.C: ressurect setting of command name
2126 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2128 * insetquotes.C (dispString): disambiguate insert call
2130 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2132 * several files: ws changes
2134 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2136 * insetquotes.C (dispString): use string::insert for prepending a
2139 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2141 * insetparent.C (getScreenLabel): use boost::format
2143 * insetgraphics.C (prepareFile): use boost::format
2146 * insetfloatlist.C (latex): use boost::format
2148 * insetcaption.C (draw): use boost::format
2150 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2152 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
2155 2002-11-20 Juergen Vigna <jug@sad.it>
2157 * insettabular.C (resetPos): temporary fix for endless loop in
2158 this function on a redraw.
2160 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2162 * insettabular.C (copySelection): STRCONV
2164 * insetinclude.C (uniqueID): STRCONV
2165 (latexString): ditto
2167 * insetgraphics.C: put VersionNumber inside anon namespace
2168 (createLatexOptions): STRCONV
2170 * insetcommandparams.C: include config.h
2172 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
2174 * insetgraphicsParams.C (Write): use lyx::float_equal.
2175 Write height data correctly.
2176 (Read): zero scale when reading height data.
2178 2002-10-30 John Levon <levon@movementarian.org>
2180 * insetfloat.C (addToTOC): recursively traverse all
2181 contents looking for captions (fix #568)
2183 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2185 * insetexternal.C (doSubstitution): do not try to replace
2186 environment variables, this is done when executing the command
2188 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2190 * insetexternal.C (doSubstitution): change order of substitution
2191 to work around ReplaceEnvironmentPath brokenness
2193 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
2195 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
2197 * insetgraphicsParams.C (init, Write): associated changes
2198 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
2199 InsetGraphicsParams::scale.
2201 2002-10-21 John Levon <levon@movementarian.org>
2203 * inset.h: remove unused DISPATCH_RESULT
2205 * insettext.C: sgml open/close tag now in sgml namespace
2207 2002-10-21 Angus Leeming <leeming@lyx.org>
2209 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
2210 file path subdir/fig.eps when pasting it into a buffer in a different
2213 2002-10-16 John Levon <levon@movementarian.org>
2215 * insetspecialchar.C: remove \\protected_separator parsing
2217 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2219 * insetquote.C: fix LaTeX output of quotation marks.
2221 2002-10-14 Juergen Vigna <jug@sad.it>
2223 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
2224 Backspace functions which confused the Undo handling.
2226 2002-10-09 Angus Leeming <leeming@lyx.org>
2228 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
2229 BufferView::dispatch that turns off this optimisation when a new inset
2232 * insetcite.C (getNatbibLabel): correct logic of when and when not to
2233 reload the BibTeX keys.
2235 2002-10-11 André Pönitz <poenitz@gmx.net>
2237 * insettext.h: handle LFUN_PRIOR/NEXT
2239 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2241 * insetfloat.C: fix bug with float settings
2242 (document default != float default).
2244 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2246 * insetwrap.C (addToToc): New method.
2247 (InsetWrap): Set layout to caption.
2249 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2251 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
2253 2002-09-16 John Levon <levon@movementarian.org>
2255 * insettabular.h: hasSelection() needs to be public
2257 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2259 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2261 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2263 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2265 2002-09-11 André Pönitz <poenitz@gmx.net>
2267 * insettabular.C: implement LFUN_WORDSEL
2269 2002-09-10 John Levon <levon@movementarian.org>
2271 * insetinclude.h: remove unused param
2273 2002-09-09 John Levon <levon@movementarian.org>
2276 * insetinclude.C: remove noload, default to input
2278 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
2280 * insetgraphics.C: disfuscated use of ']' in built output string.
2282 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2284 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
2286 2002-08-29 Juergen Vigna <jug@sad.it>
2288 * insettabular.C (lfunMousePress): Pay attention where you set
2289 the x/y values as they depend on which inset in the tabular is
2290 actually locked. So you surely have to reset them if you (un)lock
2293 2002-08-29 André Pönitz <poenitz@gmx.net>
2295 * insetfootlike.h: rename include guard to ALL CAPS
2297 * insettext.C: swap object and first parameter for checkInsetHit calls
2298 as this functions has moved from BufferView to LyXText
2301 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2303 * insetgraphicsParams.C: remove local displayTranslator and use
2304 the one from graphics/GraphicsTypes.h.
2306 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2308 * insetfloat.C (wide): add BufferParams parameter
2310 * insetfloatlist.C (read):
2313 * insetfloat.C (latex):
2315 * insetcaption.C (draw): use LyXTextClass::floats()
2317 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2319 * insetoptarg.h: add std:: qualifier.
2321 2002-08-26 Juergen Vigna <jug@sad.it>
2323 * insettext.C (localDispatch): ditto.
2325 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
2327 2002-08-25 John Levon <levon@movementarian.org>
2329 * inseturl.C: elide long URLs (bug 404)
2331 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2333 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
2334 remove "Format Version <version_no.>" string from inset header
2337 * insetgraphicsParams.[Ch]: Implement new graphics dialog
2339 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
2340 a member of "grfx::Params" anymore.
2342 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
2344 2002-08-24 John Levon <levon@movementarian.org>
2347 * insetoptarg.C: ws, pedantry ...
2349 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2351 * insettext.C (collapseParagraphs): pasteParagraph now in global
2353 (appendParagraphs): ditto
2355 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
2357 * insetcite.C (latex): Remove spaces only after commmas.
2359 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2361 * insettext.C: remove NO_COMPABILITY stuff
2363 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2365 * insettext.C (edit): use ParagraphList iterators
2367 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
2368 (bibitemWidest): ditto
2370 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2372 * insettext.C: include <boost/bind.hpp>
2373 add using std::for_each
2374 (saveLyXTextState): use ParagraphsList::iterator
2375 (init): use for_each on paragraphlist iterators
2376 (InsetText): remove superflous setting cached_bview to 0
2377 (latex): reformat a bit
2378 (ascii): use paragraphlist iterators
2379 (validate): use for_each + boost bind
2380 (getLabelList): use paragraphlist iterators
2381 (deleteLyXText): use for_each + boost::bind
2382 (resizeLyXText): ditto
2383 (reinitLyXText): ditto
2384 (removeNewlines): use paragraphlist iterators
2385 (getParFromID): ditto
2386 (paragraph): use for_each + boost::bind
2387 (getInsetFromID): use paragraphlist iterators
2388 (getLabelList): typo fix
2390 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2392 * insettext.C (read): assign tmp to paragraphs after return from
2393 call to parseSingleLyXformat2Token
2396 2002-08-13 Angus Leeming <leeming@lyx.org>
2415 changes due to the changed LyXView interface that now returns references
2416 to member variables not pointers.
2418 2002-08-13 Angus Leeming <leeming@lyx.org>
2421 * insetcollapsable.h:
2424 * insettext.h: forward-declare WordLangTuple
2425 (selectNextWordToSpellcheck) constify return type.
2428 * insetcollapsable.C:
2431 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
2433 2002-08-12 Angus Leeming <leeming@lyx.org>
2435 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
2437 2002-08-12 Juergen Vigna <jug@sad.it>
2439 * insetcollapsable.C (edit): ignore if entered when pressing mouse
2442 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2444 * insetbib.C (bibitemMaxWidth): ParagraphList changes
2445 (bibitemWidest): ditto
2446 * insettext.[Ch]: ditto
2448 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2450 * insettext.C, insetert.C: use Paragraph::empty where appropriate
2452 2002-08-09 Angus Leeming <leeming@lyx.org>
2454 * insetinclude.C (latexString): remove fudge now that I've found out
2455 how to enable LaTeX to find the file using input@path.
2457 2002-08-09 John Levon <levon@movementarian.org>
2460 * insettext.C: remove unused xpos
2462 2002-08-07 Juergen Vigna <jug@lyx.org>
2464 * insettabular.C (localDispatch): make delete not put the stuff
2465 in the clipboard only do this on a cut operation.
2467 * insettext.C (localDispatch): make delete and backspace not put
2468 selected stuff to the clipboard.
2470 2002-08-07 André Pönitz <poenitz@gmx.net>
2473 * insetcollapsable.[Ch]:
2477 * insettabular.[Ch]:
2478 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
2480 2002-08-06 John Levon <levon@movementarian.org>
2484 * insetcollapsable.h:
2485 * insetcollapsable.C:
2491 * insettext.C: use WordLangTuple for spellcheck
2493 2002-08-06 Angus Leeming <leeming@lyx.org>
2495 * insetinclude.C: add a monitor to the previewed image, so that the
2496 image is refreshed if the \input-ed file changes.
2498 2002-08-04 John Levon <levon@movementarian.org>
2501 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
2503 2002-08-02 Angus Leeming <leeming@lyx.org>
2505 * insetcommandparams.[Ch] (preview): new methods returning and setting
2506 a new bool preview_ flag.
2507 (read): read this flag.
2508 (operator==): add flag to check.
2510 * insetinclude.C (write): output new preview() flag.
2511 (previewWanted): use this flag.
2513 2002-08-02 Angus Leeming <leeming@lyx.org>
2515 * insetcollapsable.[Ch] (addPreview):
2516 * insettabular.[Ch] (addPreview):
2517 * insettext.[Ch] (addPreview): new methods. Can now generate previews
2518 for insets in insets.
2520 2002-08-02 Angus Leeming <leeming@lyx.org>
2522 * insetcite.C: fix typo.
2524 * insetgraphics.C: kill current_view and instead cache the BufferView
2527 * insetinclude.C: kill current_view and pass the BufferView to the
2528 PreviewedInset so that it can cache it.
2530 2002-08-01 Angus Leeming <leeming@lyx.org>
2532 * inset.h (generatePreview): renamed as addPreview.
2533 (generatePreview): new method. Allows code to be moved out of
2534 math_nestinset.C and into the new PreviewedInset class.
2536 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
2537 add previews to the inset when \input-ing LaTeX.
2539 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2541 * several files: strip,frontStrip -> trim,ltrim,rtrim
2543 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2545 * insetbib.C (latex): modify because of strip changes
2547 * insetnote.C (InsetNote): ditto
2549 2002-07-26 Juergen Vigna <jug@sad.it>
2551 * insettabular.C (searchForward): check for lastcell if we
2552 had a locking inset.
2554 2002-07-25 Juergen Vigna <jug@sad.it>
2556 * insettabular.C (insetMotionNotify): Don't update the screen
2557 if we didn't do nothing.
2558 (searchForward): last cell was not checked.
2560 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2562 * insetfloat.C (read, write): Allow default placement
2563 (floatPlacement_ is empty).
2565 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2567 * insetminipage.h (noFontChange):
2568 * insettabular.h (noFontChange):
2569 * insetfootlike.h (noFontChange):
2570 * insetfloat.h (noFontChange): return true
2572 * inset.h (noFontChange): new method, defaulting to false
2574 2002-07-22 Herbert Voss <voss@lyx.org>
2576 * insetgraphicsParams.[Ch]: support size_type for old docs
2578 2002-07-22 Herbert Voss <voss@lyx.org>
2581 * insetgraphicsParams.[Ch]: change size_type to size_kind and
2584 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2586 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
2588 * insetlatexaccent.h: do not include "lyxlex.h"
2590 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
2593 * insetlatexaccent.C:
2597 * insetbib.C: #include "lyxlex.h"
2603 * insettext.C: use BufferParams::getLyXTextClass
2606 * insetfloat.C (addToToc): new method. Add to toclist the entries
2607 corresponding to Caption layouts
2608 (InsetFloat): when creating a new float, set the layout to "Caption"
2610 2002-07-21 Herbert Voss <voss@lyx.org>
2612 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
2613 image relevant part into graphics/GraphicsImgae.C
2615 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2617 * insettoc.C (ascii):
2618 * insetfloatlist.C (ascii): change to use the new Toc functions
2619 instead of stuff that was in Buffer
2621 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2623 * insettext.C (localDispatch): BufferView::Dispatch has been
2624 renamed to BufferView::dispatch
2626 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2628 * insetgraphicsParams.C (as_grfxParams): use the new
2629 keepLyXAspectRatio parameter. Note that this is an adaptation of a
2630 1.2.0 patch, and I do not really know how to adapt it to the new
2631 grfx::Cache world. Angus, please could you have a look?
2633 2002-05-01 Herbert Voss <voss@lyx.org>
2635 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
2637 2002-07-18 Angus Leeming <leeming@lyx.org>
2639 * insetgraphics.C: clean-up comments (from Herbert).
2640 add a new checksum variable to the cache. Use it in PrepareFile.
2641 (draw): start monitoring the file for a change.
2642 (prepareFile): re-arrange a little to avoid unnecessary steps.
2644 2002-07-17 Angus Leeming <leeming@lyx.org>
2646 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
2647 a method rather than to the signal directly.
2649 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2651 * insettext.C: use view_state_changed, switchKeyMap
2653 2002-07-17 Herbert Voss <voss@perce.de>
2655 * insetgraphics.C (prepareFile): keep the extension when
2656 exporting to nice file
2658 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2660 * insetcite.C (getNatbibLabel):
2661 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
2663 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2665 * insetgraphics.C: use ->isDrawable()
2667 2002-07-12 Angus Leeming <leeming@lyx.org>
2669 * insetgraphics.C: use the new smart loading capabilities of the image
2672 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2674 * insettabular.C (edit): Move into correct cell when entering a
2677 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
2680 2002-07-05 Angus Leeming <leeming@lyx.org>
2682 * inset.h (generatePreview): new virtual method.
2684 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2686 * insetcommandparams.[Ch] (operator=): move out of class
2687 (operator!): move out of class
2689 2002-07-04 André Pönitz <poenitz@gmx.net>
2691 * insetcommandparams.[Ch]: new files
2693 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
2695 2002-06-15 Herbert Voss <voss@perce.de>
2697 * insetgraphics.C (prepareFile): bugfix; return always
2698 files without extension
2700 2002-06-28 Angus Leeming <leeming@lyx.org>
2702 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
2703 rename asGParams -> as_grfxParams.
2705 * insetgraphics.C: reflect above change.
2707 2002-06-26 Angus Leeming <leeming@lyx.org>
2709 * insetgraphics.h: use boost::scoped_ptr in preference to
2712 2002-06-26 Angus Leeming <leeming@lyx.org>
2714 * insetgraphics.C: moved the image loading stuff into a new class
2715 grfx::Loader. Simplifies this file enormously.
2717 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
2719 * insetgraphicsParams.C: changes aassociated with moving
2720 grfx::DisplayType out of grfx::GParams.
2722 2002-06-26 André Pönitz <poenitz@gmx.net>
2724 * insetgraphics.C: use os::external_path where necesaary according to a
2725 patch from Claus Hentschel)
2727 2002-06-25 Angus Leeming <leeming@lyx.org>
2729 * insetgraphics.[Ch]: The inset now assumes the responsibility for
2730 generating a pixmap once the graphics file is loaded into memory.
2731 The current_view ugliness that was in grfx::ModifiedImage has been
2732 moved here now that grfx::ModifiedImage is no more.
2734 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2736 * insettext.C: layout as layout
2738 2002-05-28 André Pönitz <poenitz@gmx.net>
2740 * insetfloatlist.h: remove source of compiler warning
2742 * insetref.C: tiny whitespace
2744 2002-06-15 Herbert Voss <voss@perce.de>
2746 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
2747 and take always convert when no userdefined converter was
2749 (latex) small changes in the lyxerr output
2751 2002-06-15 LyX Development team <lyx@rilke>
2753 * inset*.[Ch] (docbook): Added new argument to take the pernicious
2754 mixed content. Small white spaces clean.
2756 2002-06-14 Angus Leeming <leeming@lyx.org>
2758 * inseetexternal.C: remove the using std::difftime declaration.
2760 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
2762 * insetquotes.C: change lyxfont::draw to font_metrics::draw
2764 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
2766 * insetquotes.C (draw): fix drawing of double quotes
2768 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2770 * insettabular.C: s/scrollCB/scrollDocView/
2772 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2774 * insettext.C: change of topCursorVisible()
2777 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2780 * insettext.C: rename/change of LyXScreen
2782 2002-06-07 Angus Leeming <leeming@lyx.org>
2784 Fixes needed to compile with Compaq cxx 6.5.
2786 all c-library variables have been moved into namespace std.
2787 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2789 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2791 * insetinclude.C (uniqueID):
2792 * insetgraphics.C (uniqueID): renamed from unique_id, since this
2793 conflicted with some AIX headers.
2795 2002-05-31 Juergen Vigna <jug@sad.it>
2797 * insetert.C (get_new_label): add '...' for multi-paragraph ert
2801 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2803 * insetexternal.C (clone): fix () bug when using new
2804 (updateExternal): don't only look for difftime in global scope
2806 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2808 * insettabular.C: add const
2810 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2812 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
2813 file name, in case there are weird characters like ',' in there.
2816 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2818 * switch from SigC signals to boost::signals.
2820 2002-05-28 André Pönitz <poenitz@gmx.net>
2822 * insets/insetgraphicsParams.[Ch]:
2823 put in inset related stuff from src/graphic
2825 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2833 * insetcollapsable.C:
2834 * insetcollapsable.h:
2862 * inseturl.h: use mouse_state. Kill insetKeyPress
2864 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2869 * insetcollapsable.C:
2872 * insetlatexaccent.C:
2874 * insetspecialchar.C:
2876 * insettext.C: name change for font metrics
2878 2002-05-24 Juergen Vigna <jug@sad.it>
2880 * insetgraphics.h: include inset.h first (for LString.h)
2882 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2884 * insettext.C: screen moved
2886 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2904 * inseturl.C: LyXView moved into frontends/
2906 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2911 * insetcollapsable.C:
2915 * insetgraphicsParams.C:
2916 * insetlatexaccent.C:
2918 * insetspecialchar.C:
2920 * insettext.C: move Painter to frontends/
2922 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2924 * insettabular.h: use more specific smart_ptr header.
2925 * insettext.h: ditto
2927 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
2930 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
2932 * insettext.C: clear selection on paste (bug 393)
2934 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
2936 * insettext.C (latex): Honor the moving_arg argument.
2938 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2940 * insetfoot.C (latex): if a footnote is in a title layout, then it
2941 is a \thanks. And then, its contents is a moving argument.
2943 2002-05-14 Juergen Vigna <jug@sad.it>
2945 * insetcollapsable.C (InsetCollapsable): forgot to initialize
2948 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
2950 * Insetcite.C (getNatbibLabel): don't disable natbib label support
2951 when using options "Full author list" or "Upper case".
2953 2002-05-14 Herbert Voss <voss@perce.de>
2955 * insetgraphics.C (prepareFile): allow files with same name
2957 (readFigInset): set the flags from old figinset in the right
2959 (findTargetFormat): more comments
2961 2002-05-14 Juergen Vigna <jug@sad.it>
2963 * insettext.C (edit): tell checkAndActivateInset() that we don't
2964 have a button press.
2965 (checkAndActivateInset): if button < 0 we don't have a button press
2966 on the inset and os we won't call edit on it if it's not a Highly
2967 editable inset (then we have to enter it).
2969 2002-05-13 Juergen Vigna <jug@sad.it>
2971 * insetcollapsable.C (insetButtonRelease): returned wrong return
2974 2002-05-09 Juergen Vigna <jug@sad.it>
2976 * insetcollapsable.C (edit): first_after_edit should only be
2977 set to true if we enter this inset and it was collapsed so we
2978 open it up. This is needed to reclose it after a search/replace
2979 or spellcheck function opened it and was negative.
2981 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
2983 * insetfloat.C (latex): Return correct value.
2985 2002-05-04 Herbert Voss <voss@perce.de>
2987 * InsetgraphicsParams.C (read): fix bug with WH
2989 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
2991 * insetfloat.C (latex): More sensible latex output
2992 (fix the problem with endfloat).
2994 2002-05-02 José Matos <jamatos@fep.up.pt>
2996 * insetgraphics.C (validate): acess params as everyone else.
2998 2002-05-03 Juergen Vigna <jug@sad.it>
3000 * insettabular.C (fitInsetCursor): recalculate the cursor position
3003 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
3005 * InsetgraphicsParams.[Ch]: whitespace.
3007 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3009 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
3010 float type do not exist.
3012 2002-04-28 Herbert Voss <voss@perce.de>
3014 * insetgraphics.C (latex): fix bug with missing file-extension.
3015 LaTeX still allows a missing "eps" or "ps".
3017 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3019 * insetfloat.C (c-tor, wide): translate the name of the float.
3021 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3023 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
3024 when using natbib and make it work efficiently. Must emphasise that the
3025 real work is Herbert's.
3027 2002-04-23 Herbert Voss <voss@perce.de>
3029 * insetgraphic.C (prepareFile): fix bug with overwriting and
3030 deleting an existing *.eps-file in the doc-dir
3032 2002-04-23 Juergen Vigna <jug@sad.it>
3034 * insettabular.C (drawCellSelection): fix off by 1 error.
3036 2002-04-22 Juergen Vigna <jug@sad.it>
3038 * insettabular.C (setFont): rewoke full selection if it was asked,
3039 after we changed all we had to change.
3041 * insettext.C (insetUnlock): code was uninitialized in some situations.
3043 2002-04-19 Herbert Voss <voss@perce.de>
3045 * insetgraphic.C (prepareFile): return filename without
3046 extension if we only export without compiling
3048 2002-04-19 Juergen Vigna <jug@sad.it>
3050 * insettext.C (draw): call a fullRebreak on the row where we had a
3051 change and reset the cursor and selection-cursors.
3053 * insettabular.C (insetUnlock):
3054 (insetButtonPress): call an update before setting the_locking_inset = 0
3055 as otherwise we don't repaint!
3056 (update): reset the cursor position when we changed dimensions as
3057 otherwise our cursor may be on the wrong spot.
3059 2002-04-18 Juergen Vigna <jug@sad.it>
3061 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
3062 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
3063 redraw otherwise we won't redraw.
3065 * insettext.C (draw): fixed the setting of LyXText::first_y it was
3066 not really right before, but I only discovered this with the last
3067 changes to Page up/down.
3069 2002-04-17 Juergen Vigna <jug@sad.it>
3071 * insettext.C (checkAndActivateInset): simplified as we now have the
3072 edit(bv, bool) call.
3074 * insettext.h: changed behind variables to front variables to be
3075 equal to the one in the edit call (as it is for that they are used).
3077 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3079 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
3080 not output anything at all!
3082 2002-04-16 Juergen Vigna <jug@sad.it>
3084 * insettabular.C (insetButtonPress):
3085 (insetUnlock): call a redraw on unlocking the cell inset.
3087 * insettext.C (insetButtonPress): same as below.
3088 (lockInset): new function to set initial values when inset should
3090 (insetButtonPress): use above function.
3091 (insetUnlock): don't force a repaint only set the updateStatus. The
3092 outside world should repaint if it thinks it should be done!
3094 * insettabular.C (insetButtonPress): init values if not set as locked
3095 as we are locked if someone presses on us and don't call the edit()
3096 call of the InsetText to lock it do it as BufferView does it!
3098 * inset.h (insetInInsetY): make func const and return an int.
3101 * insetcollapsable.C: adapt the above changed function.
3103 2002-04-15 Juergen Vigna <jug@sad.it>
3105 * insettext.C (getCursorPos): return relative position as to be able
3106 to give them directly to the edit() call.
3107 (edit): we have to set also x_fix as it is not set inside the
3108 setCursorFromCoordinates call!
3109 (insetMotionNotify): ditto.
3111 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3113 * insetbib.C (getKeys): strip leading '\t's from the line too.
3114 With thanks to Henry Pfister <hpfister@ucsd.edu>.
3116 2002-04-12 Juergen Vigna <jug@sad.it>
3118 * insettext.h: added cix() helper function and use it where appropriate
3120 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3122 * insetgraphics.C (prepareFile): fix bug when graphics is a
3125 2002-04-12 Juergen Vigna <jug@sad.it>
3127 * insettext.C (insertInset): remove unneeded code!
3128 (updateLocal): fitCursor() fixes.
3129 (collapseParagraphs): fix a possible problem when having a selection
3130 and collapsing the paragraphs.
3132 2002-04-08 Herbert Voss <voss@perce.de>
3134 * insetgraphic.C (write): write the rotating angle as
3135 a float as is. test only for != 0.0
3137 2002-04-11 Juergen Vigna <jug@sad.it>
3139 * insettext.C: new function ciy() and use it for setting inset_y.
3141 * insetert.C (draw): fix the x return for collapsed version.
3143 2002-04-07 Herbert Voss <voss@perce.de>
3145 * insetgraphic.C (readFigInset): fix bug with subcaption and
3148 2002-04-08 Herbert Voss <voss@lyx.org>
3150 * insetgraphicsparam.C: forgot special option and delete old
3153 2002-04-05 Juergen Vigna <jug@sad.it>
3155 * insettext.C (localDispatch): make a CURSOR update if we inserted
3158 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3160 * insetfloatlist.C (getScreenLabel):
3161 (latex): use Floating::listName
3162 (validate): new method
3164 2002-04-03 José Matos <jamatos@fep.up.pt>
3166 * insetlabel.C (docbook): the anchor is an empty element in docbook.
3168 * insetfoot.[Ch] (docbook): added forgotten method.
3170 2002-04-03 Juergen Vigna <jug@sad.it>
3172 * insettext.C (insetButtonPress): fix insetButtonPress events the same
3173 way as in Bufferview_pimpl.
3175 2002-04-03 Allan Rae <rae@lyx.org>
3177 * insetgraphics.C (latex): one % too many makes living on the bleeding
3178 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
3180 2002-03-28 Herbert Voss <voss@lyx.org>
3182 * insetgraphic.C (latex): simplify the code for the latex
3183 output when the file doesn't exist
3185 2002-03-29 Juergen Vigna <jug@sad.it>
3187 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
3190 * insettabular.C (edit): call fitCursor().
3192 * insettext.C (insetButtonPress): change behaviour of no_selection
3193 to the one in the BufferView selection_possible and fix the spurious
3194 selection bug with it.
3195 (localDispatch): revoke selection on BREAK... functions.
3197 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3199 * insetfloatlist.C (getScreenLabel): translate the GUI label.
3201 2002-03-28 Juergen Vigna <jug@sad.it>
3203 * insettabular.C (insetAllowed): return true as default value otherwise
3204 we're not able to insert insets inside paragraphs of an not locked
3207 2002-03-27 Herbert Voss <voss@lyx.org>
3209 * insetgraphicsparam.C: change c%, p% to col%, page%
3211 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3213 * insetspecialchar.C (isLineSeparator): disable the nice code to
3214 allow linebreaks after hyphenation and menu separators.
3216 2002-03-26 Herbert Voss <voss@lyx.org>
3218 * insetgraphics.C (figinsetRead): set the right lyxview
3220 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3222 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
3223 $\backslash$ and pass a "string const &" to the function.
3224 (prepareFile, latex): use Path rather than MakeAbsPath.
3226 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3228 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
3229 proper fix to the graphics cache.
3230 (latex): "really" nice output if the file is not found ;-)
3232 2002-03-26 Juergen Vigna <jug@sad.it>
3234 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
3235 (collapseParagraphs): fixed inserting of separator ' '
3237 * insettabular.C (insertAsciiString): only check for buffer lenght
3238 not if we have \t or \n inside the buffer as if we don't have we only
3239 have 1 cell and that's it!
3241 * insetert.C (close): don't collapse if inlined.
3243 2002-03-25 Herbert Voss <voss@lyx.org>
3245 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
3246 graphics file does not exist.
3248 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
3250 * insetgraphics.C (prepareFile): ensure that the file has an absolute
3251 path when preparing export.
3253 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
3254 no longer MakeRelPath.
3256 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3258 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
3259 Used to determine the absolute path to the graphics file in the
3260 graphics cache and only in the graphics cache.
3261 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
3262 make graphics file name absolute if it is stored as a relative path.
3264 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
3265 make graphics file name absolute if it is stored as a relative path.
3267 * insettext.C (edit): emit an updateParagraph signal on entering a text
3268 inset. Needs to be emitted when leaving the inset also.
3270 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3272 * all files: ws cleanup
3274 * Makefile.am: remove ld -r stuff
3276 2002-03-21 Juergen Vigna <jug@sad.it>
3278 * insettext.C (appendParagraphs): new function added to append
3279 the paragraphs to this insets paragraphs.
3281 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3283 * Makefile.am: special rules if partial linking
3285 2002-03-19 Juergen Vigna <jug@sad.it>
3287 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
3289 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
3291 * insetgraphics.C: Clean up Baruch's comments a little.
3292 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
3294 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
3297 * insettheorem.C: wrap warnings
3299 * insetgraphics.C: improve messages, move cached_status_
3300 setting to safer place
3302 2002-03-18 Juergen Vigna <jug@sad.it>
3304 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
3306 (localDispatch): ditto
3308 * insettext.C (edit): removed unneeded showCursor calls.
3309 (localDispatch): ditto.
3311 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3313 * insetgraphics.h: remove display() method.
3315 2002-03-11 Juergen Vigna <jug@sad.it>
3317 * insetgraphics.C (draw): hack to fix the redrawing bug.
3318 (draw): seems this fixes #268 (force redraw of row if we changed).
3320 * insettext.C (updateInsetInInset): fixed for updates in insets inside
3321 this inset text (don't know why I missed this earlier).
3323 2002-03-08 Juergen Vigna <jug@sad.it>
3325 * insettabular.C (updateLocal): do a FULL update if we're not locked
3326 and only a CELL update is asked.
3328 * insettext.C (updateInsetInInset): update insets inside inset also
3329 if it isn't inside the_locking_inset.
3331 * insettabular.C (updateInsetInInset): ditto.
3333 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3335 * insetexternal.C (doSubstitution): check whether we are using a
3336 temp dir for defining $$FPath
3338 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3341 * insettext.C: remove #include "WorkArea.h".
3343 2002-03-06 Juergen Vigna <jug@sad.it>
3345 * insettext.C (draw): fixed frame redrawing.
3346 (clear): forgot to set the inset_owner of the paragraph.
3348 * insetert.C (status): pay attention the bv can be 0 here!
3349 (getMaxWidth): add the default leftMargin
3351 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3353 * insetert.C (getMaxWidth): make w unsigned int.
3355 2002-03-05 Juergen Vigna <jug@sad.it>
3357 * insetert.C (status): change behaviour of Inlined.
3358 (getMaxWidth): added for new inlined behaviour.
3360 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3362 * insetnote.h (linuxdoc, docbook): add empty methods.
3363 * insetinclude.C (validate): fix a case where buffer->niceFile was used
3364 before being initialized.
3366 2002-03-05 Juergen Vigna <jug@sad.it>
3368 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
3369 only that one in the inset. Should be enough.
3370 (updateLocal): set the selection cursor always if we don't have a
3371 selection to be sure it's set!
3373 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
3375 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3377 * insettext.C (clear): a gross hack to set layout on a newly
3380 2002-03-04 Juergen Vigna <jug@sad.it>
3382 * insettabular.C (localDispatch): inserted handling of
3383 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
3384 (insertAsciiString): new helper function.
3386 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3388 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
3391 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3393 * insettext.C (InsetText): initalize newly created par with
3394 default layout. add bufferparams parameter
3397 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
3398 * insetcollapsable.[Ch] (InsetCollapsable): ditto
3399 * insetert.[Ch] (InsetERT): ditto
3400 * insetfloat.[Ch] (InsetFloat): ditto
3401 * insetfoot.[Ch] (InsetFoot): ditto
3402 * insetfootlike.[Ch] (InsetFootLike): ditto
3403 * insetmarginal.[Ch] (InsetMarginal): ditto
3404 * insetminipage.[Ch] (InsetMinipage): ditto
3405 * insetnote.[Ch] (InsetNote): ditto
3406 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
3408 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3410 * insettext.C: layout as string
3412 * insetinclude.C: layout as string
3414 * insetert.C: layout as string
3416 * insetbib.C: layout as string
3418 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3421 * insettabular.C: remove #include "lyx_gui_misc.h".
3423 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3428 * inset.h: remove figinset, yahoo !
3430 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3432 * insetgraphics.C (c-tors): initialise parent classes explicitly in
3433 copy c-tor and initialise member variables in the correct order.
3435 2002-02-28 Juergen Vigna <jug@sad.it>
3437 * insettabular.C (localDispatch): clear selection on PgUp/Down.
3439 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3441 * inset.h: ... and add a better one here.
3443 * insetcommand.C (insetButtonRelease): remove that one which was a
3446 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3448 * insetcommand.C (insetButtonRelease): ... and move it here.
3450 * inseturl.h: remove insetButtonRelease from there...
3452 2002-02-26 Juergen Vigna <jug@sad.it>
3454 * inseturl.h: Added a insetButtonRelease call returning true as
3457 * insetlabel.C (edit): Fixed wrong update handling after change I
3458 leave in the wrong code for the one who wrote it to remove and have
3459 a look what he did wrong.
3461 * insettabular.C (localDispatch): force a SELECTION update if we
3462 had a selection and we passed the event down to the inset (fix #213)
3463 (localDispatch): handle font changing stuff when we have a cell
3464 selection so that the selection is not rewoked. I don't really like
3465 this fix, but it's the only way I see to do it right now.
3467 2002-02-22 Juergen Vigna <jug@sad.it>
3469 * insettext.C (insetUnlock): set the cursor to the second paragraph
3470 if available and if the first one is empty (fix #191).
3472 2002-02-20 Juergen Vigna <jug@sad.it>
3474 * insettext.C (getDrawFont): implemented this function to call the
3475 one of the owner if present as the owner normally knows what to do
3478 * insetert.C: implement getDrawFont() function and comment out all
3479 the crap for setting a special latex font inside this inset.
3480 (InsetERT): added a Lanugage parameter to this constructor.
3482 * inset.h: added function getDrawFont(LyXFont & font) to be able to
3483 change the font for being drawn on screen (used only in InsetERT for
3486 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
3487 and also above (was missing).
3488 (updateLocal): don't remove the cell selection if we have one this
3489 should be done where we really want to remove it.
3491 2002-02-20 José Matos <jamatos@fep.up.pt>
3493 * insetinclude.h: include_label made string const.
3495 * insetinclude.C (InsetInclude): moved include_label initialization.
3498 (validate): fix support for temporary directory, for docbook and
3501 * insetgraphics.h : new private member, graphic_label, that holds
3502 the entity name that defines the graphics location (SGML).
3504 * insetgraphics.C (unique_id): new function to give a unique label
3507 (validate): the file locatation is given by an entity reference.
3509 2002-02-18 Herbert Voss <voss@lyx.org>
3511 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
3513 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3515 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
3516 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3518 2002-02-18 José Matos <jamatos@fep.up.pt>
3520 * insetinclude.C (validate): some code only applies to latex buffers,
3521 it was made conditional.
3523 2002-02-12 Herbert Voss <voss@lyx.org>
3525 * insetgraphics.C: (prepareFile) do not check at this time
3526 if the file is present.
3528 2002-02-12 Herbert Voss <voss@lyx.org>
3530 * insetgraphics.C: latex(), return the correct newlines
3532 2002-02-13 José Matos <jamatos@fep.up.pt>
3534 * inseturl.C (docbook): escape & in url.
3536 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3538 * insetspecialchar.C (isLineSeparator): line breaking is allowed
3539 after HYPHENATION and MENU_SEPARATOR
3541 * inset.h (isLineSeparator): new method, returns false by default.
3543 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3545 * insetert.C (status): do not update the text inset, but the ERT
3548 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
3550 * insetnote.C: use notebg for background
3552 2002-02-08 Herbert Voss <voss@lyx.org>
3555 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
3556 prevent LyX from unzipping when this should be handled
3557 by latex vis the graphic.cfg.
3560 2002-02-08 Herbert Voss <voss@lyx.org>
3562 * insetgraphic.C: prepareFile(): fix bug when file doesn't
3563 exists, than return filename with extension
3565 2002-02-06 Herbert Voss <voss@lyx.org>
3567 * insetgraphic.C: prepareFile(): don't convert the file, when
3568 it's not viewed in LyX. Saves a lot of time when opening a
3571 2002-02-05 Herbert Voss <voss@lyx.org>
3574 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
3575 and adding a rotate bool similiar to subcaption
3577 2002-02-04 Herbert Voss <voss@lyx.org>
3580 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
3581 similiar view to the LaTeX one. Get zipped files work.
3583 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
3585 * insetgraphicsParams.C (init): set display to DEFAULT.
3586 No longer #include "lyxrc.h".
3588 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
3590 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
3591 for now (so that the code compiles).
3593 2002-02-02 Herbert Voss <voss@lyx.org>
3595 * insetgraphic.C: delete inVariant() and some minor changes
3596 * insetgraphicsParams.[C]:
3598 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
3600 * insetgraphics.C (updateInset): if params.display == DEFAULT,
3601 interogate lyxrc.display_graphics before diaplaying the graphic.
3603 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
3604 InsetGraphicsParams::DisplayType.
3606 2002-01-31 Herbert Voss <voss@lyx.org>
3608 * insetgraphic.C: (readfigInset) set display to pref-default
3610 2002-01-30 Herbert Voss <voss@lyx.org>
3612 * insetgraphic.C: get the filetyp from it's contents
3613 * insetgraphicparams.C: add token scale and lyxrc.display when
3614 creating a new inset
3616 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
3618 * figinset.C: added using std::ios directive.
3620 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3622 * figinset.C (runqueue): open translation file in binary mode (for
3625 2002-01-27 Herbert Voss <voss@lyx.org>
3627 * insetgraphic.[Ch]: mostly newritten to support graphicx with
3628 all options and to be sure that the old figinsets are correct
3630 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
3631 structure and to support all lengths as LyXLength. The Parameter
3632 structure changed again, but reading of "old" 1.2 graphic insets
3635 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
3637 * insetert.h (forceDefaultParagraphs): Added
3639 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3641 * insettabular.C (getMaxWidth):
3642 (forceDefaultParagraphs): use Tabular::GetCellFromInset
3644 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3646 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
3647 of LyXLength::inPixels
3649 * inset.C (latexTextWidth):
3650 * insetminipage.C (latexTextWidth): new method, which implements
3651 the equivalent of the LaTeX macro \textwidth
3653 * insetminipage.C (getMaxWidth): use latexTextWidth
3655 2002-01-18 Juergen Vigna <jug@sad.it>
3657 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
3659 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3661 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
3663 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
3666 2002-01-17 Juergen Vigna <jug@sad.it>
3668 * insettabular.C (lockInsetInInset): same change as in insettext.
3670 * insettext.C (draw): width() function was called without setting
3671 the right top_x which could lead to wrong insetWidth setting!
3672 (lockInsetInInset): call edit instead of calling lockInset if we
3673 have to lock an inset inside!
3674 (edit): we have to also tell the inset that we have to redraw the
3675 frame on an edit call if this inset draws a frame only if locked.
3677 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3679 * insetbib.C (getFiles): uncomment Path variable.
3681 2002-01-16 Juergen Vigna <jug@sad.it>
3683 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
3686 2002-01-16 Allan Rae <rae@lyx.org>
3688 * insetinclude.C (docbook): someone forgot a ";"
3690 2002-01-16 José Matos <jamatos@fep.up.pt>
3692 * figinset.C (docbook): removed a old place holder "@".
3693 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
3694 * insetinclude.C (linuxdoc): if include is verbatim, then export the
3695 ascii text version, clearly guarded inside a CDATA section.
3696 (docbook): in docbook 4, inlinegraphics is empty.
3697 * insettabular.C (linuxdoc): export the ascii version of the table
3698 inside a CDATA section.
3700 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3702 * insetparent.C (InsetParent):
3703 * insetgraphicsParams.C (Write):
3705 * insetgraphics.C (prepareFile):
3708 * insetexternal.C (executeCommand):
3709 (doSubstitution): use Buffer::filePath
3711 * insetbib.C (getFiles): add a #warning for Angus
3713 * insetgraphics.C: Add a remark about how filenames should be
3714 considered to be relative to buffer (but absolute is still allowed)
3715 (draw): do not try to get status if lyxrc.use_gui is false
3717 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3720 * insetcollapsable.[Ch]:
3721 * insettabular.[Ch] (searchForward, searchBackward): change the
3722 bool const & params to bool.
3724 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
3725 to avoid the name clash with InsetCollapsable's methods of the same
3726 names but different functionality.
3728 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3730 * insettext.C (ascii): use lyx::count rather than countChar.
3732 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
3734 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
3736 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3738 * insetgraphics.C (updateInset): do not try to render image if
3739 lyxrc.use_gui is false (bug #104)
3741 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
3742 if file does not exist
3744 * figinset.C (browseFile): add shortcuts to directory buttons
3746 * insettext.C (updateLocal): update menubar and toolbar here too.
3748 2002-01-13 Allan Rae <rae@lyx.org>
3750 * insettabular.C (InsetTabular): Both constructors now initialise
3751 all class variables.
3753 2002-01-11 Juergen Vigna <jug@sad.it>
3755 * insettext.C (insetButtonPress): set the_locking_inset to 0.
3757 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3759 * insettabular.C (getStatus): add forgotten brace around multiline
3762 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3764 * insetfloat.C (validate): require "float" instead of "floats".
3766 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
3768 * insettabular.C (getStatus): use FuncStatus
3770 2002-01-08 Juergen Vigna <jug@sad.it>
3772 * insettabular.C (insetButtonRelease): now this should work too
3775 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
3776 if the width is a percentage.
3778 * inset.h: added isChar() function and implemented this for
3779 insetspecialchar insetquotes and insetlatexaccent.
3780 added forceDefaultParagraphs() and implemented it for insettabular.
3782 2002-01-07 Juergen Vigna <jug@sad.it>
3784 * insettext.C (getLyXText): Fixed this function. An insert into the
3785 map is only done if we REALLY have a new BufferView.
3787 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
3789 * insettext.C: fix bug illustrated by attachment #37 of bug #59
3791 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
3793 * insetinclude.C: fix use of FileInfo
3795 2002-01-07 Juergen Vigna <jug@sad.it>
3797 * insettabular.C (draw): fixed clearing of cell around inset.
3799 2002-01-05 Juergen Vigna <jug@sad.it>
3801 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
3802 variables are updated.
3804 * insettabular.C (resetPos): set always the inset_y as it may be
3805 needed in another function.
3806 (searchBackward): don't draw while searching.
3808 2002-01-04 Juergen Vigna <jug@sad.it>
3810 * insettext.C (lockInsetInInset): forgot to set a cursor.
3812 2002-01-02 Juergen Vigna <jug@sad.it>
3814 * insettext.C (insertInset): make the correct undo informations on
3815 inserting new insets.
3817 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
3819 * insettabular.C: correct single-cell select vertically
3821 2001-12-27 Juergen Vigna <jug@sad.it>
3823 * insettabular.C (ascii): export as tab-separated-values if the
3824 function was not called from export (f.ex.: clipboard).
3826 * insetcollapsable.h: added default support for ascii, linuxdoc and
3827 docbook export (the insettext is exported by default!)
3829 * insettabular.C (copySelection): suff the clipboard with the tabular
3830 data in a tab separated format, seems more naturals then with all the
3833 2001-12-24 Juergen Vigna <jug@sad.it>
3835 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
3836 to check for REAL mouseMotion.
3838 2001-12-20 Juergen Vigna <jug@sad.it>
3840 * inset.C (cursor): return the owners cursor if available instead of
3841 always only the bv->text->cursor.
3843 * insettabular.C (checkLongtableSpecial): works now.
3845 2001-12-19 Juergen Vigna <jug@sad.it>
3847 * insettabular.C (tabularFeatures): fix the row setting of ltt as
3848 this has to be always row + 1 as 0 means not selected!
3849 (checkLongtableSpecial): added
3850 (tabularFeatures): better longtable options support
3852 * insettext.C (resizeLyXText): reinit the text always also on a
3855 2001-12-18 Juergen Vigna <jug@sad.it>
3857 * insettext.C (updateInsetInInset): look if we have to autocollapse
3858 paragraps and return if the update is requested for ourself.
3860 * insetert.C (status): update the insettext not myself as that is what
3863 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
3864 function only return if the update was requested with myself.
3866 * insettext.C (insetButtonPress): fixed stupid bug.
3867 (various functions): pay attention that lt is cleared BEFORE calling
3868 updateLocal() and try to use it in the right manner (don't use it
3869 if it's not really neccessary!)
3870 (collapseParagraphs): insert a blank between collapsing paragraphs
3871 if neccessary (not already there!).
3873 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3875 * insettabular.C: move includes around a bit, add a couple of
3878 * insettext.[Ch]: move includes around a bit, other ws changes and
3881 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3883 * insettext.C (insetButtonRelease): fix compile problem
3885 2001-12-17 Juergen Vigna <jug@sad.it>
3887 * insettext.C (insetButtonPress): set the selection cursor!
3888 (insetButtonPress): clear the selection (and set with that the
3889 selection.cursor) if we only hit an inset!
3891 * insetert.C (read): removed piece of compatibility code only needed
3894 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
3897 * insetcollapsable.C (insetButtonRelease): changed so that it can
3898 open eventual existing popup dialogs on mousebutton==3.
3900 * insetfloat.C (insetButtonRelease): removed not needed anymore!
3902 * insetminipage.C (insetButtonRelease): removed not needed anymore!
3904 * inset.C (insetButtonRelease): return a bool for telling the outer
3905 world that we opened a dialog.
3907 2001-12-07 Juergen Vigna <jug@sad.it>
3909 * insettext.C (paragraph): remove the deleteing of paragraphs as
3910 it was a WRONG move!
3912 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
3915 * insettabular.C: use new setSelection(). Allow
3916 selection of single cells.
3918 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3920 * insetquotes.C (latex): fix to use the local language setting at
3921 the point where the inset is inserted (different macros for
3922 different french packages)
3924 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3926 * inset.h: add par_owner_ member variable and parOwner
3929 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3931 * insettabular.C (everywhere): adapt because widths are now real
3932 widths and not strings
3934 * insettext.C (draw): re-introduce the calls to width(), ascent()
3935 and descent() to initialize the caching variables.
3937 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3939 * insettext.C (draw):
3940 (drawFrame): use insetWidth instead of last_width
3942 * insettext.h: remove variable last_width (insetWidth is exactly
3943 the same) and last_height (computed but never used!)
3945 2001-12-10 Allan Rae <rae@lyx.org>
3947 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
3949 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3951 * insettext.C (insetAllowed): add comment
3953 2001-12-05 Juergen Vigna <jug@sad.it>
3955 * insettext.C (insetAllowed): fixed for the case that we directly
3956 ask the insettext from its LyXText.
3957 (paragraph): fixed the crash when assigning the par->next() from
3958 the EmptyParagraphMechanism!
3960 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3964 * insettext.C: change "while(" to "while ("
3966 2001-12-04 Juergen Vigna <jug@sad.it>
3968 * insetert.C (edit): handle Inlined status.
3970 * insettext.C (insertInset): trying John's fix for the trailing cursor
3972 * insetert.C (insetButtonPress): added to handle inlined status
3973 (insetMotionNotify): ditto.
3975 * insettext.C (clearInset): changed Painter & in BufferView * param,
3976 to be able to call ascent,descent methods.
3978 2001-12-03 Juergen Vigna <jug@sad.it>
3980 * insettext.C (updateInsetInInset): use lt variable to forbid
3981 changes of LyXText in an update call.
3982 (updateInsetInInset): fixed updating of non locked insets!
3984 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
3986 * insettabular.C: capture some more functions to prevent
3987 selection drawing problems. Bug #451274
3989 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
3992 * insetgraphicsParams.C: fix inverted sense of float_equal
3994 2001-11-30 Juergen Vigna <jug@sad.it>
3996 * insettabular.C (InsetTabular): use the save_id flag to create also
3997 the tabular with the same id's.
3999 * insettext.C (setParagraphData): added a same_id function for undo
4000 to set the same paragraph id's as of the paragraph we are setting.
4002 2001-11-30 José Matos <jamatos@fep.up.pt>
4005 * insettoc.[Ch]: DocBook -> docbook.
4007 2001-11-29 André Pönitz <poenitz@gmx.net>
4010 * insettext.C: further reduction of header dependencies by using
4011 lyx::layout_type and lyx::textclass_type from support/types.h
4013 2001-11-29 Juergen Vigna <jug@sad.it>
4015 * insettext.C: inserted a reinitLyXText function everywhere I delete
4016 the paragraphs! This should fixe the crashes we had.
4017 Also use the new function firstRow() instead of getRowNearY(dummy_y)
4018 (paragraph): set the InsetOwner() of the new paragraphs!
4020 2001-11-28 André Pönitz <poenitz@gmx.net>
4022 * insetnote.C: add pos initialization that I removed without
4025 2001-11-28 Juergen Vigna <jug@sad.it>
4027 * insettabular.C (resetPos): hack to not crash with infinite paints.
4029 * insettabular.h: insert missing function allowSpellcheck()!
4031 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
4033 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4036 * insetfloatlist.C: derive from InsetCommand so gui can use it
4039 2001-11-26 André Pönitz <poenitz@gmx.net>
4043 * insetnote.C: reduce header dependencies, introduce type for
4046 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4048 * various: update for Alert.h
4050 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4052 * inset.h: fix comment
4054 * insettext.C: use par->isInset()
4056 2001-11-22 Allan Rae <rae@lyx.org>
4058 * insetcollapsable.h:
4059 * inset.h: Changes to checkInsertChar() behaviour.
4060 Now return value indicates whether chars can be inserted.
4062 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
4064 * various: updated to use the new LaTeXFeatures
4066 2001-11-14 José Matos <jamatos@fep.up.pt>
4068 * insetspecialchar.C (linuxdoc):
4069 (docbook): don't give a name to a unused variable.
4071 * insettext.C (docbook): removed unused variable.
4073 2001-11-13 Herbert Voss <voss@perce.de>
4075 * insetgraphic.C: fix scale bug
4077 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4079 * inset.h (isSpace):
4080 (isLetter): new virtual methods.
4082 * insetspecialchar.C (isSpace):
4083 (isLetter): implement here.
4085 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4087 * inset.h: new inline helpers
4089 * insettext.C: use new helpers
4091 2001-11-07 José Matos <jamatos@fep.up.pt>
4093 * insettext.C (docbook): full support for paragraphs inside insettext.
4095 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
4097 * insetindex.C: added header file for std::ostream.
4099 2001-11-03 José Matos <jamatos@fep.up.pt>
4101 * insetindex.C: added using std::ostream that I forgot yesterday.
4103 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
4105 * insetindex.h (docbook):
4106 * insetindex.C (docbook): added support for docbook export.
4108 2001-11-02 José Matos <jamatos@fep.up.pt>
4110 * insetcaption.C(docbook): added support for docbook export.
4112 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
4114 * insetexternal.C (updateExternal): Do not run update command if
4115 result file exists and is up to date.
4117 * ExternalTemplate.C (readFormat): Support the updateresult token.
4119 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
4121 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
4122 external_templates) to use the buffer->fileName() but only if
4123 previewing. Generating a TeX file should make FPath return
4126 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4129 * insetert.C: fix some problems
4131 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
4133 * insetexternal.C (doSubstitution): Added $$FPath token
4134 to list of usable substitutions in external inset templates.
4136 2001-10-24 Juergen Vigna <jug@sad.it>
4138 * insettabular.C: use new ltType struct for setting longtable
4139 header and footers also new UNSET enums.
4141 2001-10-24 José Matos <jamatos@fep.up.pt>
4143 * insettabular.C (linuxdoc): Now exports the ascii's table version.
4144 (docbook): If the table is not inside a float then wrap it inside
4145 <informaltable>...</informaltable>.
4147 2001-10-23 José Matos <jamatos@fep.up.pt>
4149 * insetref.C (docbook): removed / terminator to conform SGML.
4151 * insetspecialchar.C (linuxdoc):
4152 (docbook): Added support for special chars, more than ascii export.
4154 2001-10-22 Juergen Vigna <jug@sad.it>
4156 * insettext.C (checkInsertChar): added for REALLY checking the
4157 font of the inserted char in the right inset!
4159 2001-10-19 Juergen Vigna <jug@sad.it>
4161 * inset.h: added method allowSpellcheck() so that insets who do
4162 not have anything to spellcheck can tell and so they are over-jumped.
4163 Implemented for InsetText and co.
4165 2001-10-18 Juergen Vigna <jug@sad.it>
4167 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
4169 2001-10-15 José Matos <jamatos@fep.up.pt>
4171 * insetert.C: allow export for docbook and linuxdoc
4173 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4175 * insetquotes.C (dispString): handles latin3 and latin4 quotes
4177 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4179 * insetquotes.C (dispString): fix handling of latin9 quotes
4181 2001-10-03 Juergen Vigna <jug@sad.it>
4185 * insetcollapsable.C: change updateInset calls to not tell BV that
4186 we have changed status.
4188 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4190 * insettabular.C (deletable): make const
4192 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
4194 * insetert.C (latex): Fix the returned value
4196 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
4198 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
4199 Returns string(), so nothing in an ERT inset is spellchecked.
4201 * insetgraphics.C (draw): print the filename if not displaying the
4203 (width): make sure that the width and draw methods are consistent.
4204 (updateInset): don't even load the image into cache if not displaying
4207 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
4209 * various files (selectNextWord): renamed as
4210 selectNextWordToSpellcheck.
4212 * insetgraphics.C (draw): remove the previous change. Right place
4213 is in imageLoaderXPM.C.
4214 (draw): don't display the image if params.display == NONE.
4216 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
4218 * figinset.C (runqueue):
4219 * insetgraphics.C (draw): set background colour of inset from
4220 background to the user-configurable graphicsbg.
4222 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4224 * insetquotes.C (InsetQuotes): when trying to decide the side of
4225 the quote, choose `left' only after a space or '('
4227 2001-09-04 José Matos <jamatos@fep.up.pt>
4232 * insetcollapsable.h
4250 * insetlatexaccent.C
4251 * insetlatexaccent.h
4256 * insetspecialchar.C
4257 * insetspecialchar.h
4261 * insettext.C (docbook): rename docBook method to docbook.
4263 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
4265 * inset.h (getFirstParagraph): New virtual method.
4267 2001-08-20 Herbert Voss <voss@perce.de>
4268 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
4269 in the the bibtex-database-gui for inserting a line
4272 If no style is given than there is no tex-output.
4274 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
4276 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
4280 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
4282 * insetert.C (latex): Fix output for multiple paragraphs.
4283 (write): New code for writing paragraph data.
4284 (read): Set font after reading the inset.
4285 (localDispatch): Call set_latex_font() for more cases.
4287 * insetnote.h: Add empty validate method.
4290 * insetnote.C (InsetNote): Set language to the language of the
4293 2001-08-16 Juergen Vigna <jug@sad.it>
4295 * insettext.C: implemented the new FINISHED states.
4297 * insettabular.C: ditto
4299 * inset.h: added more FINISHED states for cursor right,up,down
4301 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
4303 * insetfloatlist.C: use "FloatName List"
4305 2001-08-14 Juergen Vigna <jug@sad.it>
4307 * insetert.C (edit): forgot to set status_ in edit calls!
4309 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
4311 * insettext.C: Compilation fix
4313 2001-08-13 Juergen Vigna <jug@sad.it>
4315 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
4317 * insetcollapsable.C (edit): don't recollapse an already open inset.
4319 * insettext.C: fixed problem when reinitializing LyXText by not doing
4320 it while lt is in use and post this to the next possible time in
4322 (searchForward): fixed not unlocking of inset if nothing found.
4323 (edit): set cursor behind right (was set -1 pos).
4325 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
4327 * insettabular.C (tabularFeatures): fixed fix where deleting the
4328 last row didn't get the right actcell!
4330 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
4332 * insettext.C (localDispatch): Change language only when the inset
4335 2001-08-10 Juergen Vigna <jug@sad.it>
4337 * insettabular.C (selectNextWordInt): use the front using edit call.
4339 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
4340 the parameter overwrite class variable inset.
4342 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
4344 * insettext.C (saveLyXTextState): check for invalid cursor-par.
4345 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
4347 * insettabular.C (calculate_dimensions_of_cells): let's try to call
4348 update only for fixed with cells.
4349 (resetPos): try to fix the lockup on spellchecking or s&r.
4351 * insettext.C (update): comment this out as it seems first wrong
4352 and second not needed anymore!
4353 (some functions): call reinitLyXText() only in update() in all other
4354 positions set only need_update = INIT.
4356 2001-08-08 Juergen Vigna <jug@sad.it>
4358 * insettabular.C (setPos): fixed wrong actrow < rows() check.
4360 * insettext.C (insetUnlock): remove double-space on inset unlock.
4362 * insetcollapsable.C (draw): fix returned x when label > inset-width.
4364 * insettabular.C (update): fixed cursor positon after an insert.
4365 (insetAllowed): do not allow to insert insets when not inside the
4367 (draw): clear below an inset too as it could have changed height.
4369 * inset.C (getMaxWidth): fixed width for inset in inset.
4371 * insettext.C (update): small fix.
4373 * insettabular.C (tabularFeatures): added selection support to
4374 DELETE_ROW/DELETE_COLUMN.
4376 2001-08-07 Juergen Vigna <jug@sad.it>
4378 * inset.C (getMaxWidth): recoded and all it's implementations!
4380 * insettext.C (init,setParagraph+constructors): cleanups
4381 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
4382 are new and I want do a save/restore of the cursor position which is
4383 not possible anymore.
4385 * insetcollapsable.C (searchBackward): recollapse inset if not found.
4386 (searchBackward): ditto
4387 (selectNextWord): ditto
4389 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
4391 * insetlatexaccent.C (checkContents): Add some debug messages
4393 2001-08-07 Juergen Vigna <jug@sad.it>
4395 * insetert.C (read): don't use InsetCollapsable::read as we don't
4396 write the collapsed status anymore only the status.
4399 2001-08-06 Juergen Vigna <jug@sad.it>
4401 * insetert.C (set_latex_font): use LyXText's setFont directly.
4403 * insettext.C (drawFrame): fixed one time more the right position
4404 and size of the frame!
4406 * insetert.C (~InsetERT): hide the dialog.
4407 (showInsetDialog): added implementation
4410 (status): new function for the status of the ERT inset (3-state).
4411 (write): output also the status of the inset for readback!
4412 (read): readback the status if available otherwise use collapsed_.
4414 * insettext.C (edit): small fix of setting the position, which could
4417 * insetert.C (width): implement this function for inlined viewing.
4418 Added minimum width of 10 pixels!
4420 * insetminipage.C (InsetMinipage): just change the colors a bit so
4421 that border/background is a bit more visible. We will remove this
4424 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
4425 function for getting the important widths for drawing in various
4426 functions and in LyXText.
4427 (draw): fixed up a bit (frame drawing/clearing)
4429 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4431 * inset.C (convertFont): delete method. not used.
4433 2001-08-03 Juergen Vigna <jug@sad.it>
4435 * insettext.C (setFont): don't call for a draw update if we're just
4436 changing the cursor font!
4438 2001-08-02 Juergen Vigna <jug@sad.it>
4440 * insettext.C (draw): clear the background with the right color if
4441 needed. Update myself if x&max-width changed and return without doing
4442 anything. Let the update code handle the right stuff.
4444 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
4445 inside another inset.
4447 2001-08-01 Juergen Vigna <jug@sad.it>
4449 * insetcollapsable.C (update): added an in_update bool so we avoid
4452 * insettabular.C (update): added an in_update bool so we avoid
4455 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
4457 (update): added an in_update bool so we avoid reentering.
4459 * insettabular.C (localDispatch): clear col/row selection when doing
4460 something else inside an inset.
4462 * insettext.C (getLyXText): fixed bug when requesting a recursive
4465 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
4467 * insetcite.C (latex): Paranoia check. Make sure that there is no
4468 whitespace between the citation keys.
4470 2001-07-31 Juergen Vigna <jug@sad.it>
4472 * inset.h (nodraw): make the set function also const so that this
4473 can be called from inside other const functions.
4475 * insetcollapsable.h: removed inline variable and moved it over
4476 to the only user InsetERT.
4478 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
4479 inset opening immediately therein lying insets dialogs!
4481 * insetert.C (localDispatch): set the font also if we don't have any
4482 chars in this paragraph, otherwise if we delete all of em and start
4483 writing we have the wrong font.
4485 (draw): implemented for inline support
4486 (insetButtonRelease): ditto.
4488 2001-07-30 Juergen Vigna <jug@sad.it>
4490 * insettext.C (reinitLyXText): new function to reinit the insets
4491 text after lot's of paragraph changes. Use this instead of the
4492 cache.clear() which is VERY dangerous.
4494 * insetfloat.C (insetButtonRelease): we should only show the dialog
4495 if we press on the label otherwise we have problems to open mouse
4496 button 3 dialogs inside this float (f.ex. of a tabular!)
4498 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4500 * insetert.C: change back to "ERT"
4502 * insetfloat.C: handliign of RMB on label added.
4504 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4506 * insetgraphicsParams.C: #include LOstream.h here.
4508 * insetfoot.h: remove InsetFoot:: qualifier.
4510 2001-07-29 Baruch Even <baruch@lyx.org>
4512 * ChangeLog: Hiding time travel evidence.
4514 * insetgraphicsParams.h:
4515 * insetgraphicsParams.C:
4516 * insetgraphics.C: Added horizontal scale option, it actually scales both
4517 directions since it keeps image proportions.
4519 * insetgraphics.C: Fixed EPS detection to be non-hacky.
4521 2001-07-29 Baruch Even <baruch@lyx.org>
4523 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
4524 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
4526 HACKY! Will need to add an EPS detection routine like old InsetFig does!
4528 2001-07-29 Baruch Even <baruch@lyx.org>
4530 * insetgraphics.C: Added EPSI to be an alias of EPS.
4532 2001-07-29 Baruch Even <baruch@lyx.org>
4534 * insetgraphics.C: Change GRAPHICS to Graphics.
4535 Changed image conversion rules (documented at the beginning of file).
4537 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
4539 * insetert.C (get_new_label): int -> Paragraph::size_type to get
4542 * insetgraphics.C: added a using std::endl directive.
4544 * insetcommand.h (getScreenLabel): removed pure virtual function,
4545 as it duplicates that in InsetButton.
4547 * insetbib.[Ch] (getScreenLabel):
4548 * insetbutton.[Ch] (getScreenLabel):
4549 * insetcite.[Ch] (getScreenLabel):
4550 * insetert.[Ch] (getScreenLabel):
4551 * insetexternal.[Ch] (getScreenLabel):
4552 * insetfloatlist.[Ch] (getScreenLabel):
4553 * insetinclude.[Ch] (getScreenLabel):
4554 * insetindex.[Ch] (getScreenLabel):
4555 * insetlabel.h (getScreenLabel):
4556 * insetparent.[Ch] (getScreenLabel):
4557 * insetref.[Ch] (getScreenLabel):
4558 * insettoc.[Ch] (getScreenLabel):
4559 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
4561 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
4563 (validate): remove check on "cite" when using natbib.
4565 2001-07-26 Baruch Even <baruch@lyx.org>
4567 * insetgraphics.C (draw): changed casting to be in one place rather than
4568 all over the function.
4571 * insetgraphics.C (read): Added compatibility reads of InsetFig.
4573 * insetgraphicsParams.h:
4574 * insetgraphicsParams.C:
4575 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
4577 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4579 * insetfoot.C (validate): Added method to ensure that the
4580 right bit of LaTeX is emitted.
4582 * insetfoot.h: Added validate method to set the correct
4583 LaTeXFeatures bit for the special footnote code.
4585 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4587 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
4590 2001-07-27 Juergen Vigna <jug@sad.it>
4592 * inset.h: remove not used font variable in parameter.
4593 removed checkInsertChar in UpdatableInset as it was equal to
4594 the one in Inset and so not needed.
4596 * insetert.C (checkInsertChar): implementation of function
4599 * inset.h: added new function checkInsertChar.
4601 * various files: added c-tor and clone() function.
4603 * insetcollapsable.h: removed clone function here as this should
4604 be only realized in REAL insets and added it to all collapsable
4605 insets! (with the copy-constructor).
4607 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4609 * insetminipage.C (read): handle missing parameters more gracefully
4611 * insetcollapsable.C (read): handel missing collapsed more gracefully
4613 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4615 * insetfloat.C (read): handle missing parameters.
4617 * insettext.C (read): handle old latex end_inset
4619 * insetert.C (setButtonLabel): new method
4620 (init): use it, to set the dynamic label correctly
4623 * Makefile.am (EXTRA_DIST): add files that is not part or the
4626 * insetcollapsable.h: remove autocollapsable (no users), remove
4627 draw_label, change_label_with_text and companion code. Remove args
4629 * insetert.[Ch]: move here instead (only user)
4631 * inset.h: rename private variable name to name_, make
4632 selectNextWord return a const string. make getInsetName return a
4633 string const &. Remove bool from open, add close.
4635 * Makefile.am: don't compile insetlist, insetsection
4638 2001-07-24 Juergen Vigna <jug@sad.it>
4640 * insetert.C (InsetERT): put init after the paragraph initialization,
4641 as otherwise we don't set the draw_label right.
4643 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
4644 insets with the mouse without having strange selections.
4645 (edit): if the inset was collapsed and we open it here then put the
4646 cursor always at the beginning of the inset.
4647 (get_new_label): 15 instead of 10 max chars in the label.
4649 * insetert.C (localDispatch): added and handle various stuff we
4650 need to handle here (font setting on paragraph break, not permitted
4651 layout setting, etc.).
4653 * inset.h: added default copy-consturctor and implemented this in
4654 various insets with the change to use this in the clone function!
4656 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4658 * insetminipage.C (InsetMinipage): set background color to red :)
4660 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4662 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
4663 draw frame mode is LOCKED.
4665 * insetcollapsable.C (edit):
4666 (insetButtonRelease): set update status to full when
4669 * insettext.C (clearInset):
4670 * insettabular.C (draw):
4671 * insetlatexaccent.C (draw): honor background color.
4673 * inset.h: new member background_color_, initialized to
4676 * inset.C (backgroundColor): new method.
4677 (setBackgroundColor): new method.
4679 * insetert.C (init): new method, called by the ctors.
4680 (InsetERT): when inserting contents, make sure the font is
4683 * insetnote.C (InsetNote): when inserting content, remove trailing
4685 (init): set background color to LColor::note
4687 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4689 * insetcollapsable.C: adjust
4691 * insetbutton.C: adjust
4693 2001-07-23 Juergen Vigna <jug@sad.it>
4695 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
4696 parameter on the _collapsed function (was not needed) and call
4697 always width_collapsed().
4699 * insetert.C (InsetERT): use setLabel with "true" flag.
4701 * insetcollapsable.C: modified various functions to set the draw_label
4702 string right in any condition.
4703 (setLabel): added a bool parameter to set change_label_with_text.
4705 * insetcollapsable.h: added draw_label string which is set to the
4706 actual drawn label-string, while label is the original static label
4707 of this collapsable inset. Added bool change_label_with_text to set
4708 if we want that the label changes to the start of the InsetText's
4709 text when collabpsed. You can set this flag with the setLabel funciton.
4710 Added bool inlined for inlined collapsable insets, but not handled
4713 * insetcollapsable.C (get_new_label): added should get a new label
4714 from the InsetText beginning (for now 10 chars).
4716 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4718 * insetquotes.C (latex): fix the handling of french double quotes
4719 when not using the french pachage.
4721 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4723 * insetcollapsable.h: make WidthCollapsed mutable.
4725 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
4726 InsetPrintIndex returns INDEX_PRINT_CODE.
4728 * inset.h: add INDEX_PRINT_CODE
4730 * insetcollapsable.C (draw): init widthCollapsed if necessary
4733 * insetquotes.C (width): use the local language, not the document
4736 (dispString): add additional spacing for all french languages,
4738 (validate): make it work when there is no default language
4740 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
4742 * insetnote.C (init): new method, called by the constructors
4743 (InsetNote): new constructor with contents passed as a string
4745 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4747 * insetfootlike.C (insetAllowed): disallow float in footlike.
4749 * insetert.C (InsetERT): add collapsed argument to the constrctor
4752 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4754 * insetindex.h: shut off warning
4756 2001-07-20 Juergen Vigna <jug@sad.it>
4758 * insetcollapsable.C (update): recoded hopefully works now!
4760 2001-07-19 Juergen Vigna <jug@sad.it>
4762 * most files: implemented the below new introduced function.
4764 * inset.h: added new edit(BufferView *, bool front) method to be able
4765 to enter an inset from the front/back without knowing x/y positions
4766 and baselines inside the inset. So I just can tell the inset activate
4767 me and set the cursor on the front/back of yourself.
4769 2001-07-18 Juergen Vigna <jug@sad.it>
4771 * insetcollapsable.C (edit): fixed hopefully the y parameter which
4772 is given to the InsetText.
4773 (insetButtonPress): ditto
4774 (insetButtonRelease): ditto
4775 (insetMotionNotify): ditto
4777 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4779 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
4780 LIGATURE_BREAK, since the name is so stupid.
4782 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
4784 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
4785 the default InsetCollapsable methods. I.e., it can insert anything.
4786 (write) output the name of the inset, not some silly hack for
4787 compatability with the old InsetInfo.
4789 * insetinfo.[Ch]: removed.
4790 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
4791 now collapsable, but functionality is otherwise identical to InsetInfo.
4793 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
4795 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4797 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
4800 * insetquotes.C: general cleanup
4801 (dispString): add spaces inside french double quotes.
4802 (latex): ditto. Moreover, treat first the case where the frenchb
4803 or french options have been given.
4805 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
4807 * insetcite.[Ch] (latex, validate): new methods, required for natbib
4810 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
4812 * figinset.C (RegisterFigure): Print debug message only when
4813 current_view is available.
4815 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4817 * many files: update to match the change below
4819 * inset.h (insetAllowed): renamed from insertInsetAllowed;
4820 implement the version which takes an inset here.
4822 * insetcollapsable.[Ch]: implement open and isOpen
4824 * inset.h: remove insertInsetAllowed from Inset
4825 (open): new method, to open or close an inset
4826 (isOpen): returns the status of an inset
4827 (isCollapsable, colapse): removed
4829 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4831 * insetquotes.C (dispString): display french guillemets when using
4834 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4836 * insetcollapsable.h: remove bogus return statements
4838 2001-07-18 Juergen Vigna <jug@sad.it>
4840 * insettabular.C (selectNextWord): fixed spellchecking for the
4841 first cell of a tabular (wasn't entered!)
4842 (getLyXText): changed to enter automatically insettext and return
4843 it's LyXText if we're locked.
4845 2001-07-17 Juergen Vigna <jug@sad.it>
4847 * various files: implemented the below functions.
4849 * inset.h: added functions
4850 - virtual string selectNextWord(BufferView *, float & value) const;
4851 - virtual void selectSelectedWord(BufferView *) { return; }
4852 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
4853 needed for spellchecking correctly!
4855 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
4857 * insetert.C (latex): write out all paragraphs.
4859 2001-07-17 Baruch Even <baruch@lyx.org>
4861 * insetgraphics.C (draw): Removed unneeded casts.
4863 2001-07-16 Juergen Vigna <jug@sad.it>
4865 * insettext.C (update): fixed small oversight (reset lt to 0).
4867 2001-07-14 Baruch Even <baruch@lyx.org>
4870 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
4872 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
4874 Consistent use of Lsstream.h:
4875 * figinset.C: removed using std::ostringstream directive.
4877 * insetgraphics.C (createLatexOptions):
4878 * insetinclude.C (unique_id):
4879 std::ostringstream -> ostringstream.
4880 * insettext.C (localDispatch): std::istringstream -> istringstream.
4882 2001-07-13 Juergen Vigna <jug@sad.it>
4884 * insetfloat.C (insertInsetAllowed): added missing const_cast.
4886 * insetcollapsable.C (getLockingInset): ditto.
4888 2001-07-12 Juergen Vigna <jug@sad.it>
4890 * insetcollapsable.h: added implementation of new function for
4893 * various files: added implementation of new insertInsetAllowed-func
4894 and redone the function a bit more.
4896 * inset.h: added isCollapsable(), bool collapsed(),
4897 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
4899 * insetfloat.C (insertInsetAllowed): make a bit more checks.
4901 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
4902 LyXText which is marked for removal while we're using it!
4904 * insettext.h: added private LyXText * lt to use it to assure we are
4905 not deleting our LyXText while we're using it!
4907 2001-07-11 Juergen Vigna <jug@sad.it>
4909 * insettext.C (insertInset): check if we are before the inset after
4910 inserting it! This check IS needed. Remove the Undo-Call as it is
4911 called in LyXText::insertInset!
4913 * insettext.h: added struct InnerCache.
4915 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
4916 that we ONLY delete the LyXText in the getLyXText() routine. So we
4917 are sure we don't delete LyXText while someone is working with it!
4919 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4921 * insetexternal.C: (*it). -> it->
4922 * insettext.C: ditto
4924 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4926 * insetcollapsable.C (edit): always open collapsed insets (even if
4927 they are not autocollapsable)
4929 * insetcommand.C (operator=): simplify.
4931 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4933 * insetert.C (latex): handle META_NEWLINE
4935 2001-07-09 Juergen Vigna <jug@sad.it>
4937 * insetert.h: a normal InsetText can insert insets, but we won't.
4939 * inset.h: return default "false" on insertInsetAllowed and implement
4940 this function where a returnvalue != "false" is needed.
4942 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4944 * insetert.C (InsetERT): new contructor
4946 2001-07-06 Juergen Vigna <jug@sad.it>
4948 * a lot of files: added implementation of the below new functions
4949 and the change to clone(). Also the call of the new undo-functions
4952 * inset.h: added an inset_id, added functions getParFromID,
4953 getInsetFromID, firstParagraph, cursor and id functions, added
4954 bool same_ids to clone function.
4956 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4958 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
4959 of BufferView * and shared_ptr<LyXText>
4961 2001-07-05 Juergen Vigna <jug@sad.it>
4963 * insettext.C (clear): deleted also the cache not only LyXText.
4964 (setParagraphData): ditto.
4966 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4968 * insetfloat.C (latex): let the specific placement take presedence
4969 if set, otherwise choose document placement if set, otherwise just
4970 use float default placement.
4972 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4974 * insettext.C (localDispatch): call CutAndPaste::'s static method
4977 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4979 * insetbib.C: no meed to include forms.h here.
4981 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
4983 * insettext.C: added using std::make_pair directive.
4985 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4987 * insettext.C (getLyXText): avoid multiple lookups, and simplify
4989 (deleteLyXText): ditto
4990 (resizeLyXText): ditto
4992 2001-07-02 Juergen Vigna <jug@sad.it>
4994 * insettext.C (getLyXText): introduce a cache in getLyXText so that
4995 following calls are only returned the right pointer without the over
4996 head to search in the map.
4997 (various funcs): reset the cached_bview variable as this signs that
4998 the cache is not valid anymore.
5000 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5002 * insettabular.C (clone): do not copy the LyXTabular twice
5004 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5006 * insettext.h (TEXT): delete method
5008 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5010 * insetmarginal.C (latex):
5011 * insetfoot.C (latex): fix spacing of notes in LaTeX
5013 * insettext.C (localDispatch): use .c_str() on istringstream
5014 constructor argument.
5016 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
5021 * inseturl.C: fix method names in these to begin
5022 with small char too, so they inherit
5024 2001-06-28 Juergen Vigna <jug@sad.it>
5026 * insettext.C (setFont): fixed font settings using toggleFree()
5027 instead of setFont().
5029 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5031 * Change a lot of method names to begin with a small char.
5032 Changes to a lot of files because of this.
5034 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5036 * insetfloatlist.C (Write): std:: qualify ostream
5039 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
5043 * insetgraphics.C: send debug output to Debug::INFO instead of
5046 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
5049 * insettabular.C (getStatus): update to use func_status
5051 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
5053 * insetref.C (DocBook): added support for cross-references without
5056 2001-06-26 The LyX Project <jug@sad.it>
5061 * insetlabel.h: removed escape method and moved it to
5064 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5066 * insettabular.C (getMaxWidth): do the speedup in a different way,
5069 2001-06-24 The LyX Project <Asger>
5071 * insettabular.C (getMaxWidth): We cache a mapping from
5072 inset to cell in order to speed this method up.
5074 2001-06-24 The LyX Project <Asger>
5076 * insettext.C: Optimized InsetText::draw or something.
5078 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
5080 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
5082 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
5084 * inset.h: name change from lyxinset.h
5086 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
5088 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
5090 2001-06-14 Juergen Vigna <jug@sad.it>
5092 * insettext.C (draw): removed warnings.
5094 2001-06-13 Juergen Vigna <jug@sad.it>
5096 * insettabular.C (nodraw): only go down the tree if we don't have
5097 that flag set otherwise it's obvious that we don't want to draw.
5098 (LocalDispatch): do also an update if we have an undispached result.
5100 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
5103 * insetgraphicsParams.C:
5104 * insettext.C: removed // -*- C++ -*- as first line.
5106 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5108 * lyxinset.h (resizeLyXText): shut off warning about unused
5111 2001-06-07 Juergen Vigna <jug@sad.it>
5113 * insettext.C (resizeLyXText): honor the new force flag.
5115 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
5117 * insettabular.C (deleteLyXText): new function
5119 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
5127 * insetcollapsable.C:
5128 * insetcaption.C: LColor tidy
5130 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5132 * figinset.C: fix typo
5134 2001-06-01 Juergen Vigna <jug@sad.it>
5136 * insettabular.C (resetPos): small hack so that scroll is not set to
5137 0 when we are in the last column of a tabular. This is a problem we
5138 have because of constats 20 offset on both directions, so this can
5139 cause on the limit an endless loop.
5141 * insettext.C (SetFont): forgot that we can have locking insets ;)
5143 2001-05-31 Juergen Vigna <jug@sad.it>
5145 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
5147 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5149 * figinset.C: add using std:: directive for the C functions which
5152 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
5154 * insetfloat.C (Write): write out wide info
5155 (Read): read the wide info
5156 (Latex): use the wide info when creating latex.
5158 * insettext.C: adjust
5160 * insetgraphics.[Ch] (statusMessage): change to return string
5164 * figinset.C (runqueue): add std::
5167 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5169 * insetcite.C (Ascii): add std:: qualifier
5171 2001-05-28 Juergen Vigna <jug@sad.it>
5173 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
5174 a endless-width inset (maxWidth < 0).
5175 (Edit): change language only if not equal.
5177 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
5179 * insettext.C (draw): fixed draw/clear of InsetText-Frame
5181 2001-05-16 Juergen Vigna <jug@sad.it>
5183 * insettext.C (selectAll): added
5184 (clearSelection): added
5186 * insettabular.C (SetFont): now we may set a font on a whole selection!
5187 (getSelection): added helper function.
5189 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
5191 * insetcite.C (Ascii): Add method.
5193 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
5196 * insetbib.C: fix path for OS/2 & Win32
5198 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5200 * insetfoot.C (Latex): don't use % after footnote.
5202 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5204 * insettext.C (Read): use clear
5205 (SetParagraphData): use LyXParagraph copy constructor instead of clone
5207 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5209 * insetfloatlist.h: add a bunch of std:: qualifiers.
5211 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5213 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
5214 FLOAT_LIST_CODE, renumber code list.
5216 * insettoc.C (getScreenLabel): remove support for float lists
5220 * insetfloatlist.[Ch]: new files
5222 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
5224 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
5226 * insettabular.C (LocalDispatch):
5227 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
5230 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5232 * insettext.C: remvoe !NEW_INSETS cruft
5234 * insettabular.C: remove !NEW_INSETS cruft
5236 * insetcollapsable.h: remove !NEW_INSETS cruft
5238 * insetbib.C: remove !NEW_INSETS cruft
5240 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5242 * insettoc.C: hack to make listof algorithm work
5244 2001-04-20 Juergen Vigna <jug@sad.it>
5246 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
5248 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5250 * insetquotes.C (Latex): improve the guard against
5251 unwanted !` and ?` ligatures. This should really be done in
5252 another place (to catch all this ligatures at low-level).
5254 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5256 * insettext.C (init): remvoe leftovers from cursor_visible change
5257 (draw): use c++ cast
5258 (LocalDispatch): dispatch LFUN_MESSAGE
5260 * insettabular.C (InsetTabular): remove leftovers from
5261 cursor_visible, and scoped_ptr changes
5262 (draw): use c++ cast
5264 * insetcollapsable.C (draw): use c++ cast
5266 * ExternalTemplate.h: inherit privaely from noncopyable
5267 * insetcommand.h: ditto
5268 * insetinclude.h: ditto
5270 2001-04-16 Allan Rae <rae@lyx.org>
5272 * insettoc.C (Ascii):
5273 * insettext.C (draw):
5274 * insettabular.C (setPos):
5275 * insetminipage.C (Read):
5276 * insetfloat.C (placement):
5277 * insetcaption.C (Ascii, DocBook):
5278 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
5279 an unrecognised preprocessor directive. So ensure they're wrapped.
5281 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
5284 * insetexternal.C: set view on Clone. Add _ to private members.
5286 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5288 * insettext.C (InsetText): fix new
5289 (InsetText): reindent some, simplify deletion of par list
5290 (clear): simplify deletion of par list, fix new
5291 (SetParagraphData): simplify deletion of par list
5293 * insettabular.[Ch] (getLabelList): implement new method
5295 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5297 * lyxinset.h: do not include gettext.h...
5305 * insetlatexaccent.C:
5309 * inseturl.C: ... and do it here instead
5311 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5313 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
5315 * insettext.[Ch] (getLabelList): add std:: on vector<string>
5317 * insetcollapsable.[Ch] (getLabelList): implement
5319 * insettext.[Ch] (getLabelList): implement
5321 * insettext.h: reindent
5323 * insettabular.h: make tabular a scoped_ptr
5325 * insettext.C (init): adjust for cursor_visible
5326 (ToggleInsetCursor): constify asc and desc, font, adjust for
5328 (ShowInsetCursor): constify asc and desc, font, adjust for
5330 (HideInsetCursor): adjust for cursor_visible
5332 * insettabular.C: reindent some
5333 (InsetTabular): adjust for scoped_ptr and cursor_visible
5334 (InsetTabular): ditto
5335 (~InsetTabular): delete delete
5336 (Clone): adjust for scoped_ptr
5337 (Read): constify old_format, adjust for scoped_ptr, move init of
5339 (draw): constify tx, localize loop vars.
5340 some other localization of variables, remove double initilizatons.
5342 * insetfoot.C: remove using std::ostream, add ostream where needed
5344 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5346 * lyxinset.h: some reindentaion, use initializer list for
5348 UpdatableInset: make cursor_visible a private var add
5349 public isCursorVisible(), add protected toggleCursorVisible() and
5350 proctected setCursorVisible(bool), make scroll call the Inset::scroll
5352 * insettoc.C: remvoe using decl
5353 (getScreenLabel): make cmdname donst
5356 (Ascii): don't use endl
5358 * insetfootlike.C: remove using decl at file scope and add std::
5360 * insetmarginal.C: ditto
5362 * insetfoot.C: some reformatting
5364 * insetfloat.C (InsetButtonRelease): adjust the hit area
5366 * insetert.C (SetFont): some reformatting
5368 * insetcollapsable.C: some reformatting and constification
5369 (Clone): comment out.
5370 * insetcollapsable.h: some reformatting
5371 (Clone): comment out.
5376 2001-03-30 Juergen Vigna <jug@sad.it>
5378 * insetcollapsable.h: changen *inset to be a InsetText inset.
5380 * some files: changed to reflect the above change.
5382 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
5384 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
5385 InsetExternal::Params.
5386 Added operator==() and operator!=() for the Params struct.
5388 2001-03-29 Juergen Vigna <jug@sad.it>
5390 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
5393 * insetminipage.C: removed widthp_ and all it's functions and changed
5394 to use new %-lengths of LyXLength.
5396 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
5398 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
5400 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
5402 * insetgraphicsParams.C (operator!=): new function, needed by the
5403 ControlGraphics class.
5405 2001-03-28 Juergen Vigna <jug@sad.it>
5407 * insettext.C (InsetButtonPress): only enter !inset if button == 2
5408 (checkAndActivateInset): don't use the values returned from
5409 call to bv->checkInsetHit.
5411 * insetminipage.C (Clone): set special minipage values.
5413 * insetcollapsable.C (draw): changed to draw the button in the
5414 upper left corner outside the textinset.
5415 (ascent): changed because of different drawing
5419 (InsetButtonPress): ditto
5420 (InsetButtonRelease): ditto
5421 (InsetMotionNotify): ditto
5423 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
5425 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
5429 2001-03-26 Juergen Vigna <jug@sad.it>
5431 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
5433 * insettext.C (ShowInsetDialog): implemented above function.
5435 * insettabular.C (ShowInsetDialog): ditto
5437 * insetminipage.C (ShowInsetDialog): ditto
5439 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
5441 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
5442 InsetInclude::Params. Don't store a buffer * in Params. Store the
5443 master file name instead.
5445 2001-03-23 Juergen Vigna <jug@sad.it>
5447 * insetcollapsable.C (InsetMotionNotify):
5448 (InsetButtonRelease):
5449 (InsetButtonPress): fixed y-offset (minipages).
5451 * insettext.C (draw): force a FULL update if cleared == true.
5453 * insetcollapsable.C (draw): Lars forgotten entry for changing this
5454 routine to draw the minipages on its position-flag.
5455 (InsetInInsetY): give back the right y position, because of minipage
5458 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
5461 * insetfloat.C (DocBook): docbook export code.
5463 2001-03-22 Juergen Vigna <jug@sad.it>
5465 * insetminipage.C (getMaxWidth): added function to set the drawing
5467 (Read): should work now!
5469 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
5470 if we create a new inset.
5472 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
5474 * figinset.C (fl_set_preemptive_callback): moved definition outside
5477 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5479 * insetminipage.C (Read): prepare for reading of minipage arguments.
5481 2001-03-18 Baruch Even <baruch@lyx.org>
5483 * insetgraphics.C: Minor cleanups of the comments and code.
5485 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5487 * insetminipage.C (InsetMinipage): default to not collapsed
5489 2001-03-16 Juergen Vigna <jug@sad.it>
5491 * insetminipage.C (width): modified with to be a string
5492 (widthp): added widthp (for % width) support functions.
5493 (InsetButtonRelease): added to open the options dialog on button==3.
5494 (~InsetMinipage): added to hide the dialog.
5496 * insetminipage.h: added hideDialog signal
5498 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5500 * insetminipage.h: change the order or Position to match
5501 LyXParagraph::MINIPAGE_ALIGNMENT
5503 * several files: remvoe CXX_WORKING_NAMESPACES
5505 * ExternalTemplate.h: noncopyable is in namespace boost
5506 * insetinclude.h: ditto
5507 * insetcommand.h: ditto
5509 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
5511 * insettext.C (Edit): #else# -> #else.
5512 * insettoc.C: added using directive.
5514 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5516 * insetminipage.h: add pos, inner_pos, width and height. + getters
5517 and setters for all of them.
5519 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
5521 * insetinclude.C (Latex): Do not exit when the textclass of the
5522 included file differ from the textclass of the parent file.
5524 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
5526 * ExternalTemplate.C (read): the reading of external insets now checks
5527 for \end_inset and removes it form the input stream.
5529 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
5531 * ExternalTemplate.h:
5532 * ExternalTemplate.C:
5534 * insetexternal.C: move form to GUII
5536 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
5539 * insetinclude.C: add InsetIncludeParams, use
5540 composition rather than derivation of InsetCommand
5542 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5544 * insettoc.C (Ascii): use the Buffer typedefs
5546 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5548 * insettoc.C (Ascii): implement for dynamic number of lists
5550 * insetcaption.[Ch]: update from new_insets branch
5551 * insetfloat.[Ch]: ditto
5553 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
5556 * figinset.C: use new File Dialog
5558 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5560 * insettext.C: changes becuase of ParagraphParameters.
5562 2001-02-28 Baruch Even <baruch@ev-en.org>
5564 * insetgraphics.C (updateInset): Changed due to the change in
5567 2001-02-26 Juergen Vigna <jug@sad.it>
5569 * insettext.C (SetFont): Set Undo only if we have selection (as it is
5570 handled in LyXText).
5572 2001-02-23 Juergen Vigna <jug@sad.it>
5574 * insettext.C (draw): some small repainting fixes.
5575 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
5577 * inset.C (LocalDispatch): changed action to be a kb_action (as it
5578 should be) and not an int.
5580 * insettabular.C (LocalDispatch): ditto
5582 * insettext.C (LocalDispatch): ditto
5584 * insetcollapsable.C (LocalDispatch): ditto
5586 2001-02-22 Juergen Vigna <jug@sad.it>
5588 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
5589 DISPATCH it and we don't have a locking_inset.
5591 2001-02-21 Baruch Even <baruch@ev-en.org>
5593 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
5594 instead of GraphicsCacheItem *.
5596 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5598 * insetcollapsable.C (getLyXText): add const qualifier to second
5601 2001-02-22 Juergen Vigna <jug@sad.it>
5603 * insettext.C (getLyXText): honor the recursive parameter.
5604 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
5606 * inset.C (getLyXText): added bool recursive parameter.
5608 * insettext.C (SetUpdateStatus): or the update codes.
5609 (draw): check need_update with &.
5610 (InsetButtonPress): set no_selection to not put a selection when
5611 entering an inset and it is redraws in another spot.
5613 * insettext.h: made need_update an int.
5615 2001-02-20 Baruch Even <baruch@ev-en.org>
5618 * insetgraphisc.C: Changed to use better semantics when loading images
5619 for inline view. Now it doesn't keep the pixmap itself but it's holder.
5621 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
5625 * insetgraphics.C: change name of "hide" signal to "hideDialog",
5626 consistent with InsetTabular.
5628 2001-02-19 Juergen Vigna <jug@sad.it>
5630 * insettabular.C (LocalDispatch): implement PAGE up/down.
5632 * insettext.C (draw): clear all of it on need_update==INIT too!
5634 * insettabular.C (InsetUnlock): always clear the selection.
5636 * inset.C (scroll): normally we only want to scroll the inset until
5637 it is fully visible so if top_x + offset > 20 then just set scx to 0.
5639 2001-02-14 Juergen Vigna <jug@sad.it>
5641 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
5642 (resetPos): fixed scroll behaviour.
5643 (LocalDispatch): do an update if moving cursor inside a table cell
5644 requests a scroll of the tabular.
5646 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5648 * insettext.C (textWidth): constify local var
5650 * insettabular.C: small cleanup.
5652 * insetfoot.C (Latex): constify local var
5654 * insetcollapsable.C: small cleanup.
5656 * figinset.C (runqueue): use compare instead of strcmp
5658 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
5661 * insetinfo.C: remove cruft
5663 2001-02-14 Juergen Vigna <jug@sad.it>
5665 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
5667 2001-02-13 Juergen Vigna <jug@sad.it>
5669 * insettext.C (InsertInset): don't move left (is this right?)
5671 * insettabular.C (LocalDispatch): use of the no_draw variable
5673 * insettabular.h: new no_draw variable to stop redraw
5675 * insettabular.C (TabularFeatures): fixed update for alignment change
5677 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
5681 * insetbib.C: move dialogs to frontends/
5683 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
5685 * insettext.C (LocalDispatch): Restore the language if the inset
5688 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
5690 * insettext.C (moveRightIntern): Update the selection cursor.
5691 (moveLeftIntern): Ditto.
5693 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5695 * Makefile.am: remove BoundingBox.h
5697 * BoundingBox.h: removed
5699 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
5701 * insettext.C (LocalDispatch): Update selection cursor when moving
5702 cursor to the right.
5703 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
5704 (moveLeftIntern): Ditto.
5706 2001-02-05 Baruch Even <baruch.even@writeme.com>
5708 * insetgraphics.C: Updated automatic image conversion, it now goes into
5709 temporary directory instead of with the image itself.
5711 2001-01-21 Baruch Even <baruch@ev-en.org>
5713 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
5714 to EPS or PNG when needed (support bitmap graphics).
5716 2000-11-02 Baruch Even <baruch@ev-en.org>
5719 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
5720 and removal of commented out code.
5722 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5724 * insetbib.C (callback): Update citations if the key has changed.
5726 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5728 * insetbib.C (InsetBibKey): Better computation of default key.
5729 (getScreenLabel) Show both the key and the label.
5730 (getBibLabel): New method.
5731 (callback): Force a redraw if the inset have been changed.
5733 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
5735 * insetref.C (getType, getName): Move methods from
5736 src/frontends/xforms/FormRef.C.
5738 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
5740 * insettabular.C: Various improvements (use only one dummy position).
5742 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
5744 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
5745 par->bibkey->width. This fixes the crashes when running without
5746 gui or when having included documents.
5748 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
5750 * insetcommand.C (getAsString, setFromString): Cleanup.
5752 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
5754 * insetref.C: Add the array InsetRef::types that contains
5755 information about all supported reference types.
5757 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5759 * lyxinset.h: remove trailing comma in enum.
5761 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
5763 * insettext.C: kill LyXBell.