]> git.lyx.org Git - lyx.git/blob - src/insets/ChangeLog
do not call InsetOld::localDispatch
[lyx.git] / src / insets / ChangeLog
1 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2
3         * insetinclude.C (localDispatch): do not call
4         InsetOld::localDispatch, just return UNDISPATCHED
5         * insetgraphics.C (localDispatch): ditto
6         * insetcommand.C (localDispatch): ditto
7
8 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9
10         * inset.h: get rid of RESULT typedef for dispatch_result
11
12         * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
13         * insetert.[Ch] (localDispatch): ditto
14         * insettabular.[Ch] (localDispatch): ditto
15         (moveRight): ditto
16         (moveLeft): ditto
17         (moveUp): ditto
18         (moveDown): ditto
19         * insettext.[Ch] (localDispatch): ditto
20         (moveRight): ditto
21         (moveLeft): ditto
22         (moveRightIntern): ditto
23         (moveLeftIntern): ditto
24         (moveUp): ditto
25         (moveDown): ditto
26         * updatableinset.[Ch] (localDispatch): ditto
27
28 2003-10-12  Angus Leeming  <leeming@lyx.org>
29
30         * renderbase.h (view, view_): removed.
31         * renderbase.C: removed.
32         * Makefile.am: remove render_base.C. The shortest lived file in
33         history?
34
35         * renderbutton.C (draw):
36         * render_graphic.C (draw): don't cache the BufferView.
37
38         * insetabase.h (cache, view): removed.
39
40         * inset.h (generatePreview) removed.
41
42         * insetcallapsable.[Ch] (cache, view, view_): removed.
43
44         * insetcollapsable.C (draw): don't cache the BufferView.
45
46         * insetcommand.[Ch] (view): removed.
47
48         * insetexternal.[Ch] (cache, view, view_):
49         * insetgraphics.[Ch] (cache, view, view_):
50         * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
51
52         * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
53         when you have direct access to it. In fact, don't use the cache at all.
54
55 2003-10-10  Angus Leeming  <leeming@lyx.org>
56
57         * insetinclude.C (metrics): use preview_->metrics.
58         (draw): use preview_->draw.
59
60         * render_preview.[Ch] (pimage): removed.
61
62 2003-10-10  Angus Leeming  <leeming@lyx.org>
63
64         * renderers.[Ch]: removed.
65
66         * render_base.[Ch]:
67         * render_button.[Ch]:
68         * render_graphic.[Ch]:
69         * render_preview.[Ch]: new files. The first three are split out of
70         renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
71         contains a re-worked InsetInclude::PreviewImpl also.
72
73         * Makefile.am: reflect the changed files.
74
75         * insetcommand.h:
76         * insetexternal.[Ch]:
77         * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
78
79         * insetinclude.[Ch]: changes reflecting the change from
80         InsetInclude::PreviewImpl to RenderMonitoredPreview.
81
82         * insethfill.C:
83         * insetindex.C:
84         * insetlabel.C:
85         * insettoc.C:
86         * inseturl.C: add #include "support/std_ostream.h"
87
88 2003-10-09  Angus Leeming  <leeming@lyx.org>
89
90         * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
91         to PreviewedInset::previewReady.
92
93 2003-10-09  Angus Leeming  <leeming@lyx.org>
94
95         * insetexternal.[Ch] (statusChanged):
96         * insetgraphics.[Ch] (statusChanged): make a const member function.
97
98         * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
99         PreviewedInset.
100
101 2003-10-09  Angus Leeming  <leeming@lyx.org>
102
103         * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
104         to PreviewedInset's previewReady and removePreview member functions.
105
106 2003-10-08  André Pönitz  <poenitz@gmx.net>
107
108         * insetcollapsable.C:
109         * insettext.[Ch]: saner 'init' structure
110
111         * updatableinset.[Ch]: remove unneeded code
112
113 2003-10-08  Angus Leeming  <leeming@lyx.org>
114
115         Fix doxygen warnings.
116
117         * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
118         * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
119
120 2003-10-07  Angus Leeming  <leeming@lyx.org>
121
122         * ExternalTransforms.[Ch]: new files, detailing transforms that can
123         be applied to InsetExternal.
124
125         * Makefile.am: add these new files.
126
127         * ExternalTemplate.[Ch]: add a list of available transforms to
128         class Template and a list of factory functions for transformer classes
129         that can act on this data to class Format.
130
131         * insetexternal.[Ch]: add transform data to InsetExternal::Params.
132
133         * ExternalSupport.C: Add code to replace transform placeholders
134         with appropriate output.
135
136 2003-10-07  Angus Leeming  <leeming@lyx.org>
137
138         * ExternalSupport.[Ch]: new files, moving the private member functions
139         and namespace anon functions out of insetexternal.C to here, so making
140         it easier to understand what is going on in insetexternal itself.
141
142         * Makefile.am: add new files.
143
144         * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
145         allowing the class to be forward declared. (Also consistent with
146         all other Params classes.)
147         (write): moved out of the class. Move this function and those in
148         namespace anon to ExternalSupport.[Ch].
149
150 2003-10-07  Angus Leeming  <leeming@lyx.org>
151
152         * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
153         non-const member function.
154
155 2003-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
156
157         * Makefile.am:
158         * inset.h:
159         * insetbox.C:
160         * insetbox.h: The Box patch. Fancybox support, minipage, parbox
161
162 2003-10-02  André Pönitz  <poenitz@gmx.net>
163
164         * insettext.C (read): make sure there is at least one par
165           in the text after reading.
166
167 2003-10-01  José Matos  <jamatos@lyx.org>
168
169         * insetbranch.C (linuxdoc, docbook): minor fix.
170
171 2003-10-01  Angus Leeming  <leeming@lyx.org>
172
173         * ExternalTemplace.[Ch]: introduce namespace lyx::external.
174
175         * insetexternal.[Ch]: changes due to the introduction of
176         namespace lyx::external.
177
178 2003-09-30  Angus Leeming  <leeming@lyx.org>
179
180         * insetexternal.[Ch] (Params::read, write): new member functions.
181
182 2003-09-25  Angus Leeming  <leeming@lyx.org>
183
184         * insetexternal.[Ch] (TempName): new (private) nested struct with
185         fake copy semantics. Enables us to use the generated copy c-tor
186         in the Params struct.
187         (Params::templatename, Params::tempname): use accessor functions.
188
189 2003-09-25  Angus Leeming  <leeming@lyx.org>
190
191         * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
192         function, returning a const pointer.
193
194 2003-09-23  Angus Leeming  <leeming@lyx.org>
195
196         * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
197         store them in a vector, preambleNames.
198
199         * insetexternal.C (validate): loop over all preambleNames and call
200         LaTeXFeatures::addExternalPreamble with each.
201
202 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
203
204         * insetbranch.C: bug fix in branches
205
206 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
207
208         * insetnote.C: small clean-up.
209
210 2003-09-19  Angus Leeming  <leeming@lyx.org>
211
212         * inset.h (generatePreview): passed a 'Buffer const &' arg.
213
214         * insetcommand.C (string2params): clear params using the default c-tor.
215
216         * insetinclude[Ch]: get rid of the masterFilename_ parameter in
217         InsetInclude::Params. No more data in this struct than in
218         InsetCommandParams, so get rid of it and use InsetCommandParams instead.
219         (c-tor): no need to pass a 'Buffer const &' arg anymore.
220         (clone): remove #warning as it's now redundant.
221         (set): add a 'Buffer const &' arg. Make private.
222         (loadIfNeeded) move out of the class definition and into namespace anon.
223         (getMasterFilename, getFileName): ditto.
224
225 2003-09-18  Angus Leeming  <leeming@lyx.org>
226
227         * insetcommand.C (setParams): use the params' copy constructor.
228
229 2003-09-18  Angus Leeming  <leeming@lyx.org>
230
231         * insetinsetbase.h (getLabelList):
232         * insetinsetcollapsable.[Ch] (getLabelList):
233         * insetinsetinclude.[Ch] (getLabelList):
234         * insetinsetlabel.[Ch] (getLabelList):
235         * insetinsettabular.[Ch] (getLabelList):
236         * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
237         * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
238
239 2003-09-18  Angus Leeming  <leeming@lyx.org>
240
241         * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
242         redundant baggage from yesteryear.
243         Remove Params::flag as it is redundant; the info is present in
244         getCmdName.
245
246 2003-09-18  Angus Leeming  <leeming@lyx.org>
247
248         * insetinclude.C (latexString): add a Buffer const & arg.
249
250 2003-09-18  Angus Leeming  <leeming@lyx.org>
251
252         * inset.C:
253         * inset.h:
254         * insettext.C:
255         * insettext.h: rename EnumLColor as LColor_color.
256
257 2003-09-18  Angus Leeming  <leeming@lyx.org>
258
259         * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
260         * insetbase.h: add the dispatch_result wrapper class DispatchResult.
261
262 2003-09-16  Angus Leeming  <leeming@lyx.org>
263
264         * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
265         set before trying to generate a preview, else we trigger an assert.
266
267 2003-09-16  Angus Leeming  <leeming@lyx.org>
268
269         * insetinclude.C (PreviewImpl::parent): return a const reference.
270
271 2003-09-16  Angus Leeming  <leeming@lyx.org>
272
273         * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
274
275         * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
276         labelfont directly.
277         (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
278         InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
279
280         * insetminipage.C (metrics):
281         * insetnote.C (metrics):
282         * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
283         access collapsed_ directly.
284
285 2003-09-16  Angus Leeming  <leeming@lyx.org>
286
287         * insetbibitem.C: add #include "lyxfont.h".
288
289 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
290
291         * insetgraphics.C:
292         * insetbibtex.C: use namespace alias for lyx::support::os
293
294 2003-09-16  Angus Leeming  <leeming@lyx.org>
295
296         * insetcollapsable.h: remove unused framecolor variable.
297         Remove #include "LColor.h".
298
299         * insetcollapsable.C: remove unused framecolor variable.
300
301         * insetcaption.C:
302         * insetcollapsable.C:
303         * insetert.C:
304         * insetfloat.C:
305         * insetfootlike.C:
306         * insetminipage.C:
307         * insetnote.C:
308         * insetoptarg.C:
309         * insetwrap.C:
310         Add #include "LColor.h".
311
312 2003-09-16  Angus Leeming  <leeming@lyx.org>
313
314         * insettext.[Ch] (frameColor): new accessor function.
315         (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
316         insettext.h
317
318         * insetbranch.C:
319         * insettabular.C:
320         * insettext.C:
321         add #include "LColor.h".
322
323         * insetcollapsable.h: add #include "LColor.h"
324         (for its framecolor member variable).
325
326 2003-09-16  Angus Leeming  <leeming@lyx.org>
327
328         * insetenv.C (constructor): use accessor functions to access InsetText variables.
329
330         * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
331         rename frame_color as frame_color_. Make private.
332
333         * insettext.C: associated changes.
334
335 2003-09-16  Angus Leeming  <leeming@lyx.org>
336
337         * inset.h: store background_color_ as an int, not as an LColor::color to
338         get LColor.h out of the header file.
339
340         * inset.C:
341         * insetlatexaccent.C:
342         * insetnewline.C:
343         * insetspace.C:
344         * insetspecialchar.C:
345         * renderers.C:
346         add #include "LColor.h".
347
348 2003-09-16  Angus Leeming  <leeming@lyx.org>
349
350         * renderers.C:  LyXFont::setColor no longer return a LyXFont &, so cannot string
351         calls together.
352
353 2003-09-15  Angus Leeming  <leeming@lyx.org>
354
355         * inset.[Ch] (setBackgroundColor, backgroundColor):
356         * insettext.[Ch] (setFrameColor):
357         pass EnumLColor args, rather than LColor::color ones.
358
359 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
360
361         * insetcommand.C
362         * insetexternal.C
363         * insetfloat.C
364         * insetgraphics.C
365         * insetinclude.C
366         * insetminipage.C
367         * insetnote.C
368         * insettabular.C
369         * insetwrap.C: remove usage of STRCONV
370
371 2003-09-15  Angus Leeming  <leeming@lyx.org>
372
373         * renderers.C (draw):
374         * insetlatexaccent.C (draw): explicitly define the color passed to
375         the painter.
376
377 2003-09-10  Martin Vermeer  <martin.vermeer@hut.fi>
378
379         * insettext.C: remove block causing problems in lockInsetInInset
380         (mentioned erroneously under Bug #1366)
381
382 2003-09-10  Martin Vermeer  <martin.vermeer@hut.fi>
383
384         * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
385         in the process
386
387 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
388
389         * several files: change Assert to BOOST_ASSERT
390
391 2003-09-09  Martin Vermeer  <martin.vermeer@hut.fi>
392
393         * insettext.[Ch]: remove drawText[XY]Offset
394
395 2003-09-08  Angus Leeming  <leeming@lyx.org>
396
397         * insetcollapsable.C:
398         * insetenv.C:
399         * insetinclude.C:
400         * insetlabel.C:
401         * insetoptarg.C:
402         * insetspecialchar.C:
403         * insettabular.C:
404         * insettext.C:
405         * insettoc.C: remove redundant using directives.
406
407 2003-09-07  Angus Leeming  <leeming@lyx.org>
408
409         * insetspace.h:
410         * insetspecialchar.h: remove #include "support/std_string.h".
411
412 2003-09-06  Angus Leeming  <leeming@lyx.org>
413
414         * renderers.C: add #include "insets/inset.h"
415
416 2003-09-05  Angus Leeming  <leeming@lyx.org>
417
418         * *.C: strip out redundant #includes. (193 in total.)
419
420 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
421
422         * insets/insetbibtex.[Ch]:
423         * insets/insetcommand.h:
424         * insets/insetfloatlist.[Ch]:
425         * insets/insetinclude.[Ch]:
426         * insets/insettoc.[Ch]: Restricts the mouse click functionality
427         of insets like bibtex, include, toc and floatlist to the visible
428         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
429         up the dialogs. Cursor has to be in front of the inset (i.e.
430         start of row) for this to function.
431
432 2003-09-04  Angus Leeming  <leeming@lyx.org>
433
434         * ExternalTemplate.[Ch]: store the preamble snippets in a separate
435         structure outside of the Format struct. Format::preambleName refers to
436         an item in the map of all preamble snippets.
437         Make use of the new Debug::EXTERNAL flag.
438
439         * insetexternal.C: make use of the new Debug::EXTERNAL flag.
440         (validate): Small change due to the changed storage of preamble snippets.
441
442 2003-09-04  Angus Leeming  <leeming@lyx.org>
443
444         * insetgraphics.C: #include "support/os.h"
445
446         * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
447         * insettabular.h: move #include "FuncStatus.h" out of the header file.
448         * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
449
450         * insetcollapsable.h:
451         * insetbranch.C:
452         * insetnote.C: move #include "funcrequest.h" out of the header file.
453
454 2003-09-03  Angus Leeming  <leeming@lyx.org>
455
456         * insetexternal.C (updateExternal):
457         * insetgraphics.C (prepareFile): Fix the conversion when exporting to
458         latex.
459
460 2003-09-03  Angus Leeming  <leeming@lyx.org>
461
462         * insetexternal.C: don't bring namespace lyx::support into the global
463         namespace.
464
465 2003-09-02  Martin Vermeer  <martin.vermeer@hut.fi>
466
467         * insetbranch.C: Add Branch: to label
468
469 2003-09-02  John Levon  <levon@movementarian.org>
470
471         * insettext.h:
472         * insettext.C: remove cursor.i[xy]()
473
474 2003-08-28  Angus Leeming  <leeming@lyx.org>
475
476         * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
477         "sh ", enabling the conversion to be carried out even if the script
478         is not executable.
479
480 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
481
482         * most files: change to use const Buffer refs
483
484 2003-08-26  Martin Vermeer  <martin.vermeer@hut.fi>
485
486         * insetfootlike.C: whitespace.
487
488 2003-08-26  John Levon  <levon@movementarian.org>
489
490         * insetenv.h:
491         * insetcaption.h:
492         * insetindex.h: remove remaining mentions of needFullRow()
493
494 2003-08-26  André Pönitz  <poenitz@gmx.net>
495
496         * insetfoot.C:
497         * insetnewline.C:
498         * insetquotes.C:
499         * insettabular.C:
500         * inset.[Ch]: remove InsetOld::par_owner_ & handling
501
502 2003-08-26  Martin Vermeer  <martin.vermeer@hut.fi>
503
504         * insetbranch.C: Small fix to prevent a crash on loading.
505
506 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
507
508         * inset.h:
509         * insetbibtex.[Ch]:
510         * insetbranch.[Ch]:
511         * insetcollapsable.h:
512         * insetert.[Ch]:
513         * insetfloatlist.[Ch]:
514         * insetfootlike.[Ch]:
515         * insetinclude.[Ch]:
516         * insetindex.[Ch]:
517         * insetindex.h:
518         * insetminipage.h:
519         * insetnote.[Ch]:
520         * insettext.C:
521         * insettheorem.[Ch]:
522         * insettoc.[Ch]: eliminates the needFullRow/display() stuff
523         altogether, putting the logic in metrics/draw in the insets.=20
524         Draws short single row insets with more or less realistic metrics.
525
526 2003-08-19  André Pönitz  <poenitz@gmx.net>
527
528         * insettext.C: use new RowPainter interface
529
530 2003-08-18  John Levon  <levon@movementarian.org>
531
532         * insetref.C: require amsmath for eqref
533
534 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
535
536         * Makefile.am:
537         * inset.h:
538         * insetbranch.[Ch]: implements the 'branch inset'
539         idea. This allows the output of various versions of a document
540         from a single source version, selectively outputing or suppressing
541         output of parts of the text.
542         This implementation contains a 'branch list editor' in a separate
543         tab of the document settings dialog. Branches are user definable
544         and have a "display colour" to distinguish them on-screen.
545
546         ColorHandler was somewhat cleaned up.
547         (1) make possible a dynamically growing LColor list by allowing
548         the graphic context cache to grow along (vector);
549         (2) eliminate an IMHO unnecessary step in colour allocation.
550
551 2003-08-15  André Pönitz  <poenitz@gmx.net>
552
553         * insettext.[Ch]: adjust after rowlist split
554
555 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
556
557         * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
558           rename valign-center to valign-middle;
559           rename VALIGN_CENTER to VALIGN_MIDDLE
560
561 2003-08-11  André Pönitz  <poenitz@gmx.net>
562
563         * inset.h: remove resizeLyXText
564
565         * insetcaption.C:
566         * insetcollapsable.[Ch]:
567         * insetminipage.C:
568         * insettabular.[Ch]: adjust
569
570         * insettext.[Ch]: remove saveLyXTextState,
571          restoreLyXTextStat, sstate, reinitLyXText
572
573 2003-08-07  André Pönitz  <poenitz@gmx.net>
574
575         * inset.[Ch]: move non-crucial functions out-of-line
576
577         * insettext.C: rely on LyXText's LFUN handlers in some more cases,
578         remove duplicated code.
579
580 2003-08-05  André Pönitz  <poenitz@gmx.net>
581
582         * insetbibitem.C:
583         * insetcollapsable.[Ch]:
584         * insetcommand.C:
585         * insetert.C:
586         * insetexternal.C:
587         * insetfloat.C:
588         * insetgraphics.C:
589         * insetinclude.C:
590         * insetlabel.C:
591         * insetminipage.C:
592         * insetnote.C:
593         * insettabular.[Ch]:
594         * insettext.[Ch]:
595         * insetwrap.C:
596         * updatableinset.[Ch]: rip out "deep update"
597
598         * insettext.C (localDispatch): merge cases with default branch
599
600         * insettext.C (frame_x,y,w,h): replace member with automatic variables
601
602         * insettabular.[Ch] (updateLocal): simplify logic
603
604 2003-08-04  André Pönitz  <poenitz@gmx.net>
605
606         * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
607   is 'FULL' all the time.
608
609 2003-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
610
611         * insetert.C (get_new_label): only add ... to the (closed) label
612         when the string has been shortened
613
614 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
615
616         * Always use std::endl with lyxerr
617
618 2003-08-01      Martin Vermeer  <martin.vermeer@hut.fi>
619
620         * insetnote.C: update \author list
621
622 2003-07-31  André Pönitz  <poenitz@gmx.net>
623
624         * insetcollapsable.h:
625         * insettabular.[Ch]:
626         * insettext.[Ch]: remove toggleSelection
627
628 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
629
630         (with help from Juergen Spitzmueller)
631         * insetnote.C: add add i18n support. Use Prefs-definable
632         colours for Comment and Greyedout.
633
634 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
635
636         * insetcollapsable.[Ch]:
637         * insetnote.C:
638         * insetert.C: factor out the detection of clicking on the inset
639       button as 'hitButton'. John Levon contributed.
640
641 2003-07-30  André Pönitz  <poenitz@gmx.net>
642
643         * insetcollapsable.C:
644         * insetfootlike.C:
645         * insettabular.C: parantheses, localize vars etc.
646
647 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
648
649         * insetnote.C: Implement a newenvironment in preamble for
650         greyedout. Patch provided by Jürgen Spitzmüller.
651
652 2003-07-29  Angus Leeming  <leeming@lyx.org>
653
654         * insetcommand.C (localDispatch): default to
655         InsetOld::localDispatch.
656
657         * insetbibitem.C (localDispatch):
658         * insetbibtex.C (localDispatch): remove call to
659         ChangeCitationsIfUnique.
660
661         * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
662
663         * insetexternal.C (read): use pushpophelper.
664
665 2003-07-28  José Matos  <jamatos@lyx.org>
666
667         * insetext.C (read): \end_document replaces \the_end.
668
669 2003-07-28  José Matos  <jamatos@fep.up.pt>
670
671         * insetert.C (write): \layout -> \begin_layout.
672         Add missing \end_layout.
673
674 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
675
676         * insetquotes.C: document a bit the format
677
678         * insettabular.C (write): remove extra space
679
680 2003-07-28  Martin Vermeer  <martin.vermeer@hut.fi>
681         * insetnote.C: Umpf. Hope I *now* get it right :-(
682
683 2003-07-28  Martin Vermeer  <martin.vermeer@hut.fi>
684         *insetnote.C: did the right fix to greyedout: \color
685         instead of \textcolor.
686
687 2003-07-28  Angus Leeming  <leeming@lyx.org>
688
689         * insetbibtex.h: remove extraneous forward declaration.
690
691         * insetbibitem.h:
692         * insetbibtex.h: Also remove long-dead Holder member class
693         and variable.
694
695 2003-07-27  Martin Vermeer  <martin.vermeer@hut.fi>
696
697         * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
698         least.
699
700 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
701
702         * insetwrap.C (addToToc): adjust for lyx::toc
703
704         * insetfloatlist.C (ascii): adjust for lyx::toc
705
706         * insetfloat.C (addToToc): adjust for lyx::toc
707
708 2003-07-27  José Matos  <jamatos@fep.up.pt>
709
710         * insetnote.h (linuxdoc,docbook): update support.
711
712 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
713
714         * insetfloat.C (wide): add a space to label, for consistency
715
716 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
717
718         * insettext.C (nextChange): adjust for lyx::find
719         (searchForward): ditto
720         (searchBackward): ditto
721
722 2003-07-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
723
724         * insetgraphicsParams.C:
725         * insetexternal.C: declare extern displayTranslator
726
727         * insetexternal.C:
728         * renderers.C: add #include "support/LAssert.h"
729
730 2003-07-27  José Matos  <jamatos@fep.up.pt>
731
732         * insetfloat.[Ch] (linuxdoc):
733         * insetgraphics.C (linuxdoc):
734         * insettabular.C (linuxdoc):
735         * insettext.[Ch] (linuxdoc): add support for tables and figures
736         (linuxdoc).
737
738 2003-07-27  José Matos  <jamatos@fep.up.pt>
739
740         * insetinclude (latex): comply with makeLaTeXFile argument change.
741
742 2003-07-26  Asger Alstrup  <alstrup@local>
743
744         * insettext.C (reinitLyXText): Get rid of updateLocal which causes
745         the undo crashes. We'll see what problems other places this will
746         cause.
747
748 2003-07-26  Angus Leeming  <leeming@lyx.org>
749
750         * insetgraphics.C: remove unused declaration of system_tempdir.
751
752 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
753
754         * rename Inset to InsetOld
755
756         * all inset files (clone): return a auto_ptr<InsetBase>
757
758 2003-07-23  Angus Leeming  <leeming@lyx.org>
759
760         * insetexternal.[Ch] (setParams): pass it a Buffer const *.
761
762 2003-07-23  Angus Leeming  <leeming@lyx.org>
763
764         * mailinset.[Ch] (inset2string):
765         * insetcommand.[Ch] (inset2string):
766         * insetert.[Ch] (inset2string):
767         * insetexternal.[Ch] (inset2string):
768         * insetfloat.[Ch] (inset2string):
769         * insetgraphics.[Ch] (inset2string):
770         * insetinclude.[Ch] (inset2string):
771         * insetminipage.[Ch] (inset2string):
772         * insetnote.[Ch] (inset2string):
773         * insettabular.[Ch] (inset2string):
774         * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
775
776         * insetexternal.[Ch]:
777         * insetgraphics.[Ch]: get rid of the view() function. Associated
778         changes to the mailers' string2params and params2string functions.
779
780 2003-07-23  Angus Leeming  <leeming@lyx.org>
781
782         * insetexternal.[Ch]: store the external file name in a FileName
783         member variable rather than a string + associated changes.
784
785 2003-07-21  Angus Leeming  <leeming@lyx.org>
786
787         * insetgraphicsParams.[Ch]: store the graphics file name in
788         a FileName member variable rather than a string.
789
790         * insetgraphics.[Ch]:
791         * insetgraphicsParams.[Ch]: Associated changes.
792
793 2003-07-21  Angus Leeming  <leeming@lyx.org>
794
795         * insetgraphics.[Ch] (string2params, params2string): passed a
796         buffer_path argument.
797         (view): new method.
798
799 2003-07-21  Angus Leeming  <leeming@lyx.org>
800
801         * insetexternal.C:
802         * insetgraphicsParams.[Ch]:
803         * insetinclude.C:
804         * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
805
806 2003-07-21  Martin Vermeer  <martin.vermeer@hut.fi>
807
808         * insetnote.C: fixed greyout and conditionals layout foul-ups.
809
810 2003-07-18  André Pönitz  <poenitz@gmx.net>
811
812         * insetert.[Ch]:
813         * insetminipage.[Ch]:
814         * insettabular.[Ch]:
815         * insettext.[Ch]:
816         * insetwrap.[Ch]:
817         * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
818
819 2003-07-18  André Pönitz  <poenitz@gmx.net>
820
821         * inset.[Ch]:
822         * insetbibitem.C:
823         * insetcollapsable.C:
824         * insetcommand.C:
825         * insetert.C:
826         * insetexternal.C:
827         * insetgraphics.[Ch]:
828         * insetlatexaccent.[Ch]:
829         * insetminipage.C:
830         * insetnewline.C:
831         * insetquotes.C:
832         * insetspace.C:
833         * insetspecialchar.C:
834         * insettabular.[Ch]:
835         * insettext.[Ch]:
836         * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
837
838 2003-07-17  André Pönitz  <poenitz@gmx.net>
839
840         * insetcollapsable.C:
841         * insettabular.C:
842         * insettext.C: don't call Inset::update() anymore
843
844         * insettext.[Ch]:
845         * insettabular.[Ch]: remove unneeded in_update_ members
846
847         * insettext.[Ch]: remove unneeded InsetText::old_max_width member
848
849 2003-07-16  André Pönitz  <poenitz@gmx.net>
850
851         * insettext.C (selectAll): remove
852
853 2003-07-16  John Levon  <levon@movementarian.org>
854
855         * insetnote.h:
856         * insetnote.C: implement showInsetDialog()
857
858 2003-07-15  André Pönitz  <poenitz@gmx.net>
859
860         * insettabular.C:
861         * insettext.C: refresh_status tristate -> need_update bool
862
863 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
864
865         * insettext.C: adjust call to LyXText::init
866
867 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
868
869         * insettext.C: use bufferview_funcs->replaceSelection()
870         to delete selections in some cases (bugs 441, 673, 702, 954).
871
872 2003-07-14  André Pönitz  <poenitz@gmx.net>
873
874         * insettext.C (draw): use slimmed down rowpainter interface
875
876 2003-07-14  André Pönitz  <poenitz@gmx.net>
877
878         * insetcollapsable.C:
879         * insetert.C:
880         * insettext.[Ch] (cy, ciy, setUpdateStatus):
881         remove unused BufferView * argument
882
883 2003-07-14  André Pönitz  <poenitz@gmx.net>
884
885         * insettext.[Ch]: used cached metrics a bit more
886
887 2003-07-10  Alfredo Brauntein  <abraunst@libero.it>
888
889         * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
890
891 2003-07-10  André Pönitz  <poenitz@gmx.net>
892
893         * insettabular.C:
894         * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
895
896 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
897
898         * introduce namespace lyx::graphics
899
900 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
901
902         * introduce namespace lyx::support
903
904 2003-06-30  André Pönitz  <poenitz@gmx.net>
905
906         * insetcite.C (localDispatch): fix case of missing return value
907
908         * insetcite.C (ascii): remove unneeded temporary
909
910 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
911
912         * insetspace.h: fix \file
913
914         * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
915         * insetinclude.C (fillWithBibKeys): ditto
916
917         * insetbibitem.C: fix type const order
918
919         * inset.C (getLyXText): add varname for arg
920
921         * ExternalTemplate.h: fix type const order
922
923 2003-06-27  André Pönitz  <poenitz@gmx.net>
924
925         * insettext.C: take care of removed LyXCursor::row_ member
926
927         * insettext.[Ch]: use new TextCursor struct for sstate
928
929 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
930
931         * inseterror.[Ch]: removed
932
933 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
934
935         * insetinclude.C (docbook): use parseError instead of sgmlError
936
937 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
938
939         * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
940         of BufferList::loadLyXFile
941
942 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
943
944         * insettext.C (update): simplify
945         (updateLocal): remove commented code
946         (insetUnlock): simplify
947         (lockInset): simplify
948         (updateInsetInInset): simplify
949         (localDispatch): simplify
950         (setFont): simplify
951         (resizeLyXText): simplify
952         (collapseParagraphs): simplify
953
954         * insetert.C (get_new_label): simplify
955
956 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
957
958         * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
959         pasteSelection with index
960
961 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
962
963         * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
964
965 2003-06-16  André Pönitz  <poenitz@gmx.net>
966
967         * insetbase.h: new virtual base function clone()
968
969         * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
970           Inset * clone()  ->  InsetBase * clone()
971
972 2003-06-13  André Pönitz  <poenitz@gmx.net>
973
974         * insettabular.[Ch]: make tabular a proper member
975
976 2003-06-12  André Pönitz  <poenitz@gmx.net>
977
978         * insettabular.[Ch]: some renaming plus whitespace
979
980 2003-06-11  Angus Leeming  <leeming@lyx.org>
981
982         * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
983         Add renderers.[Ch].
984
985         * insetbutton.[Ch]: removed.
986         * graphicinset.[Ch]: renamed as renderers.[Ch].
987
988         * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
989         Create a new class ButtonRenderer using the InsetButton::metrics() and
990         draw() functions.
991         Derive both from a common RenderedInset base class.
992
993         * insetcommand.[Ch]:
994         * insetinclude.[Ch]: derive from Inset, not InsetButton.
995         Give it a ButtonRenderer member variable. Use it.
996         Give the classes working copy c-tors.
997         No longer derive from boost::noncopyable.
998
999         * insetexternal.[Ch]: enable the inset to choose dynamically whether to
1000         display its contents as a button or as a graphic.
1001
1002         * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
1003         GraphicRenderer.
1004
1005 2003-06-11  Angus Leeming  <leeming@lyx.org>
1006
1007         * insetcite.C (localDispatch): reformat.
1008
1009         * insetref.C (localDispatch): enable dialog to be lauched.
1010
1011 2003-06-11  John Levon  <levon@movementarian.org>
1012
1013         * insettabular.C: correctly mark all cells as erased
1014
1015 2003-06-11  Angus Leeming  <leeming@lyx.org>
1016
1017         * insetexternal.[Ch]: InsetExternal::Params no longer stores the
1018         ExternalTemplate but its name, templatename. This means that a file
1019         containing a reference to an External Template not installed on the
1020         current machine will be saved retaining this info rather than inserting
1021         the first "valid" template from the list of templates.
1022
1023         As a by product, the visual statement that the Template is missing is
1024         now very clear!
1025
1026 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1027
1028         * insettext.C (appendParagraphs): remove some commented code.
1029
1030 2003-06-10  Angus Leeming  <leeming@lyx.org>
1031
1032         * graphicinset.[Ch] (view): removed the publicly accessible function to set
1033         the cache.
1034
1035         * insetexternal.[Ch]: move tempname_ into the Params struct.
1036         (Params d-tor): new function, to clean-up this temp file.
1037         (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
1038         (cache): removed.
1039         (editExternal, doSubstitution): move out of class.
1040
1041 2003-06-10  Angus Leeming  <leeming@lyx.org>
1042
1043         * graphicinset.[Ch] (params): removed.
1044         * graphicinset.h (operator=): declared private but not defined.
1045         (statusMessage): made private.
1046
1047         * insetexternal.[Ch]: graphic_ renamed as renderer_.
1048
1049 2003-06-07  John Levon  <levon@movementarian.org>
1050
1051         * insetert.C (latex): make a newline mean just that not
1052         a new par
1053
1054 2003-06-07  José Matos  <jamatos@fep.up.pt>
1055
1056         * insethfill.[Ch] (linuxdoc, docbook): implement output
1057         * insetspace.C (linuxdoc, docbook): remove coments as the code
1058         is correct.
1059
1060 2003-06-06  José Matos  <jamatos@fep.up.pt>
1061
1062         * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
1063
1064 2003-06-06  André Pönitz  <poenitz@gmx.net>
1065
1066         * insetwrap.[Ch]: code compactification
1067
1068 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1069
1070         * mailinset.C (updateDialog): use Dialogs::visible
1071
1072 2003-06-04  Angus Leeming  <leeming@lyx.org>
1073
1074         * graphicinset.C (draw): add a comment for the #if 0 block.
1075
1076         * insetexternal.h: remove Params::parameters variable.
1077         * insetexternal.C (read, write): rewrite to output new ExternalInset format
1078         and read it back making full use of LyXLex.
1079
1080 2003-06-04  André Pönitz  <poenitz@gmx.net>
1081
1082         * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
1083
1084 2003-06-04  John Levon  <levon@movementarian.org>
1085
1086         * insettabular.C: back out tall table speed up. It was broken
1087
1088 2003-06-03  Angus Leeming  <leeming@lyx.org>
1089
1090         * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
1091         Remove ViewCommand and UpdateCommand.
1092
1093         * graphicinset.C (update): bug fix. Set the params before calling the
1094         loader.
1095         * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
1096         BufferView cache to enable the InsetExternal::editCommand to be invoked
1097         from the frontends. Would not be needed if this were dispatched properly.
1098         (old_ascent_): variable removed.
1099
1100         * insetexternal.[Ch]: large clean-up to use the converter mechanism to
1101         do any necessary conversions of external material. Also use the
1102         new GraphicsInset to display the inset within LyX.
1103
1104 2003-06-03  Angus Leeming  <leeming@lyx.org>
1105
1106         * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
1107         and move it somewhere where InsetExternal can use it too.
1108
1109         * Makefile.am: add the new files.
1110
1111         * insetgraphics.[Ch]: make use of the new GraphicInset.
1112
1113 2003-06-03  John Levon  <levon@movementarian.org>
1114
1115         * inset.h:
1116         * insetbibitem.[Ch]:
1117         * insetbibtex.h:
1118         * insetcite.h:
1119         * insetcommand.[Ch]:
1120         * insetenv.[Ch]:
1121         * inseterror.h:
1122         * insetert.[Ch]:
1123         * insetexternal.[Ch]:
1124         * insetfloat.[Ch]:
1125         * insetfloatlist.h:
1126         * insetfoot.[Ch]:
1127         * insetgraphics.[Ch]:
1128         * insethfill.h:
1129         * insetinclude.[Ch]:
1130         * insetindex.h:
1131         * insetlabel.h:
1132         * insetlatexaccent.[Ch]:
1133         * insetmarginal.[Ch]:
1134         * insetminipage.[Ch]:
1135         * insetnewline.h:
1136         * insetnote.[Ch]:
1137         * insetoptarg.[Ch]:
1138         * insetquotes.[Ch]:
1139         * insetref.[Ch]:
1140         * insetspace.[Ch]:
1141         * insetspecialchar.[Ch]:
1142         * insettabular.[Ch]:
1143         * insettext.[Ch]:
1144         * insetthereom.[Ch]:
1145         * insettoc.h:
1146         * inseturl.h:
1147         * insetwrap.[Ch]: make clone() not take a Buffer * arg
1148
1149         * insetgraphics.[Ch]:
1150         * insetgraphicsParams.[Ch]: always store an absolute
1151         path at runtime
1152
1153 2003-06-02  André Pönitz  <poenitz@gmx.net>
1154
1155         * inseterror.C:
1156         * insetgraphics.C:
1157         * insetlatexaccent.C: remove duplicated call to metrics()
1158
1159 2003-06-02  John Levon  <levon@movementarian.org>
1160
1161         * insettabular.C: fix resize of column width
1162
1163 2003-06-02  John Levon  <levon@movementarian.org>
1164
1165         * Makefile.am:
1166         * inset.h:
1167         * insetparent.h:
1168         * insetparent.C: remove insetparent
1169
1170 2003-06-02  André Pönitz  <poenitz@gmx.net>
1171
1172         * inset.[Ch]:
1173         * insetbase.h:
1174         * insetbibtex.[Ch]:
1175         * insetbutton.[Ch]:
1176         * insetcaption.C:
1177         * insetcollapsable.[Ch]:
1178         * inseterror.[Ch]:
1179         * insetert.[Ch]:
1180         * insetfootlike.C:
1181         * insetgraphics.[Ch]:
1182         * insetinclude.[Ch]:
1183         * insetlatexaccent.[Ch]:
1184         * insetminipage.[Ch]:
1185         * insetnewline.[Ch]:
1186         * insetquotes.[Ch]:
1187         * insetspace.[Ch]:
1188         * insetspecialchar.[Ch]:
1189         * insettabular.[Ch]:
1190         * insettext.[Ch]: unify first drawing phase
1191
1192         * inset.[Ch]:
1193         * insetbase.h: move validate() to the base
1194
1195 2003-05-31  Angus Leeming  <leeming@lyx.org>
1196
1197         * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
1198
1199 2003-05-30  André Pönitz  <poenitz@gmx.net>
1200
1201         * inset.h:
1202         * insetbase.h:
1203         * insetbutton.[Ch]:
1204         * insetcaption.[Ch]:
1205         * insetcollapsable.[Ch]:
1206         * inseterror.[Ch]:
1207         * insetert.[Ch]:
1208         * insetgraphics.[Ch]:
1209         * insetinclude.[Ch]:
1210         * insetlatexaccent.[Ch]:
1211         * insetnewline.[Ch]:
1212         * insetquotes.[Ch]:
1213         * insetspace.[Ch]:
1214         * insetspecialchar.[Ch]:
1215         * insettabular.[Ch]:
1216         * insettext.[Ch]:
1217         * updatableinset.[Ch]: unify second drawing phase
1218
1219 2003-05-30  John Levon  <levon@movementarian.org>
1220
1221         * insetgraphics.C: fix a bformat
1222
1223 2003-05-29  John Levon  <levon@movementarian.org>
1224
1225         * insettabular.C: remove unused bufferOwner()
1226
1227 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1228
1229         * insettext.C (lockInsetInInset): adjust
1230         (getLabelList): use const_iterator, adjust
1231         (getInsetFromID): use const_iterator, adjust
1232         (addPreview): use const_iterator, adjust
1233
1234         * insetwrap.C (clone): remove const_cast
1235
1236         * insetnote.C (clone): remove const_cast
1237
1238         * insetminipage.C (clone): remove const_cast
1239
1240         * insetmarginal.C (clone): remove const_cast
1241
1242         * insetfoot.C (clone): remove const_cast
1243
1244         * insetfloat.C (clone): remove const_cast
1245
1246         * insetert.C (clone): remove const_cast
1247
1248         * delete commented same_id functions from a lot of files.
1249
1250 2003-05-28  John Levon  <levon@movementarian.org>
1251
1252         * insetcite.C:
1253         * insetinclude.C:
1254         * insetindex.C:
1255         * insetparent.C:
1256         * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
1257
1258         * insetminipage.C: fix metrics (bug 1144)
1259
1260 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1261
1262         * insettext.C (saveLyXTextState): adjust
1263         (restoreLyXTextState): adjust
1264         (init): adjust
1265         (lockInset): adjust
1266         (unlockInsetInInset): adjust
1267         (localDispatch): adjust
1268         (getLyXText): adjust
1269
1270         * insettabular.C (insertAsciiString): adjust
1271
1272 2003-05-27  André Pönitz  <poenitz@gmx.net>
1273
1274         * insetbutton.C:
1275         * insetcollapsable.C:
1276         * inseterror.C:
1277         * insetgraphics.C:
1278         * insetlatexaccent.C:
1279         * insetminipage.C:
1280         * insetnewline.C:
1281         * insetquotes.C:
1282         * insetspace.C:
1283         * insetspecialchar.C:
1284         * insettabular.C:
1285         * insettext.C: dim.w -> dim.wid
1286
1287 2003-05-26  John Levon  <levon@movementarian.org>
1288
1289         * insettabular.C: avoid drawing all of a long table
1290         if it's not needed. A big speedup
1291
1292 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1293
1294         * remove same_id from function signatures, adjust
1295
1296 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1297
1298         * insettext.C (InsetText): adjust
1299         (clear): adjust
1300         (setParagraphData): separate same_id cases, adjust
1301         (appendParagraphs): adjust
1302         (appendParagraphs): adjust
1303
1304 2003-05-23  André Pönitz  <poenitz@gmx.net>
1305
1306         * insetbutton.h: whitespace
1307
1308         * insettabular.C: more compact code
1309
1310         * updatableinset.C: remove const_cast
1311
1312
1313 2003-05-23  Angus Leeming  <leeming@lyx.org>
1314
1315         * insetexternal.C (write): check how many lines are output.
1316         (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
1317         if the template has defined it.
1318
1319 2003-05-23  Angus Leeming  <leeming@lyx.org>
1320
1321         * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
1322
1323 2003-05-23  Angus Leeming  <leeming@lyx.org>
1324
1325         * insetfoot.C (latex):
1326         * inseturl.C (latex): rename fragile as moving_arg.
1327
1328 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1329
1330         * inseterror.C (localDispatch): comment out unused var.
1331
1332 2003-05-22  Angus Leeming  <leeming@lyx.org>
1333
1334         * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
1335         passed through the LatexRunParams arg.
1336
1337 2003-05-22  Angus Leeming  <leeming@lyx.org>
1338
1339         * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
1340         through the LatexRunParams arg.
1341
1342         * insetquotes.C (latex): accesses use_babel through the LatexRunParams
1343         arg rather than through a global var.
1344
1345 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1346
1347         * insetspecialchar.C (dimension): use a string.
1348
1349 2003-05-22  Angus Leeming  <leeming@lyx.org>
1350
1351         * insetbibtex.C (latex):
1352         * insetgraphics.C (latex):
1353         * insetinclude.C (latex): extract the buffer's 'nice'ness from
1354         runparams rather than from the buffer itself.
1355
1356 2003-05-22  Angus Leeming  <leeming@lyx.org>
1357
1358         * inset*.[Ch] (latex):
1359         passed a LatexRunParams parameter.
1360
1361         * insetgraphics.C (latex): actually use it ;-)
1362
1363 2003-05-22  Alfredo Braunstein  <abraunst@libero.it>
1364
1365         * insetfloat.C (addToToc): trivial compile fix
1366
1367 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1368
1369         * insettext.[Ch] (paragraph): delete unused function
1370
1371         * insetfloat.C (addToToc): parlist simplfication
1372
1373 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1374
1375         * insetspace.[Ch]: added (new space insets)
1376         * Makefile.am:
1377         * inset.h: handle new space insets
1378
1379 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1380
1381         * insetfloat.C (addToToc): adjust
1382
1383 2003-05-21  André Pönitz  <poenitz@gmx.net>
1384
1385         * insettext.[Ch]: fix drawing bug introduced earlier
1386
1387 2003-05-19  André Pönitz  <poenitz@gmx.net>
1388
1389         * insetspecialchar.C: fix bug introduced yesterday
1390
1391 2003-05-19  André Pönitz  <poenitz@gmx.net>
1392
1393         * inset.[Ch]:
1394         * insetbutton.[Ch]:
1395         * insetcollapsable.[Ch]:
1396         * inseterror.[Ch]:
1397         * insetert.[Ch]:
1398         * insetfoot.[Ch]:
1399         * insetgraphics.[Ch]:
1400         * insetgraphicsParams.[Ch]:
1401         * insetlatexaccent.[Ch]:
1402         * insetminipage.[Ch]:
1403         * insetnewline.[Ch]:
1404         * insetquotes.[Ch]:
1405         * insetspecialchar.[Ch]:
1406         * insettabular.[Ch]:
1407         * insettext.[Ch]: dimensions() instead of ascend/descend/width
1408
1409 2003-05-19  André Pönitz  <poenitz@gmx.net>
1410
1411         * insetenv.[Ch]:
1412         * insettext.C: more insetenv
1413
1414 2003-05-16  André Pönitz  <poenitz@gmx.net>
1415
1416         * insetcommand.C:
1417         * insetminimpage.[Ch]:
1418         * insetcollapsable.[Ch]: fix #832
1419
1420 2003-05-16  André Pönitz  <poenitz@gmx.net>
1421
1422         * inset.[Ch]:
1423         * insetbibitem.[Ch]:
1424         * insetbibtex.[Ch]:
1425         * insetbutton.[Ch]:
1426         * insetcite.[Ch]:
1427         * insetcollapsable.[Ch]:
1428         * insetcommand.[Ch]:
1429         * inseterror.[Ch]:
1430         * insetert.[Ch]:
1431         * insetexternal.[Ch]:
1432         * insetfloatlist.[Ch]:
1433         * insetgraphics.[Ch]:
1434         * insetinclude.[Ch]:
1435         * insetindex.[Ch]:
1436         * insetlabel.[Ch]:
1437         * insetlatexaccent.[Ch]:
1438         * insetparent.[Ch]:
1439         * insetref.[Ch]:
1440         * insettabular.[Ch]:
1441         * insettext.[Ch]:
1442         * insettoc.[Ch]:
1443         * inseturl.[Ch]:
1444         * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
1445
1446 2003-05-13  André Pönitz <poenitz@gmx.net>
1447
1448         * insetbibitem.C:
1449         * insetcollapsable.C:
1450         * insetert.C:
1451         * insetfloat.C:
1452         * insetinclude.C:
1453         * insetwrap.C: tostr from own header
1454
1455         * insetcommand.C:
1456         * insetexternal.C:
1457         * insetfloat.C:
1458         * insetfloat.h:
1459         * insetgraphics.C:
1460         * insetinclude.C:
1461         * insetminipage.C:
1462         * insetparent.C:
1463         * insettabular.C:
1464         * insettext.C:
1465         * insetwrap.C: STRCONV
1466
1467
1468 2003-05-12  André Pönitz <poenitz@gmx.net>
1469
1470         * insetcaption.C:
1471         * insetexternal.C:
1472         * insetfloat.C:
1473         * insetfloatlist.C:
1474         * insetgraphics.C:
1475         * insetinclude.C:
1476         * insetminipage.C:
1477         * insetminipage.C:
1478         * insettabular.C:
1479         * insettext.C:
1480         * insetwwrap.C:  boost::format -> bformat  all over the place
1481
1482 2003-05-05  André Pönitz <poenitz@gmx.net>
1483
1484         * insettext.h: add missing #include <map>
1485
1486 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1487
1488         * insettext.C (InsetText): parlist cleanup
1489         (clear): ditto
1490         (edit): ditto
1491         (insetUnlock): ditto
1492         (lockInset): ditto
1493         (lockInsetInInset): ditto
1494         (cx): ditto
1495         (cix): ditto
1496         (getLyXText): ditto
1497         (searchBackward): ditto
1498         (collapseParagraphs): ditto
1499
1500 2003-05-06  John Levon  <levon@movementarian.org>
1501
1502         * insetcaption.C: don't cast wrap inset to InsetFloat
1503
1504         * insetfloat.h:
1505         * insetfloat.C: remove unneeded type() function
1506
1507 2003-05-05  André Pönitz <poenitz@gmx.net>
1508
1509         * inset.h:
1510         * insettext.[Ch]:
1511         * insettabular.[Ch]:
1512         * insetcollapsable.[Ch]: remove unused function firstParagraph()
1513         replace getFirstParagraph() by getParagraphs()
1514
1515 2003-05-03  John Levon  <levon@movementarian.org>
1516
1517         * insetcollapsable.h:
1518         * insetcollapsable.C:
1519         * insettabular.h:
1520         * insettabular.C:
1521         * insettext.h:
1522         * insettext.C:
1523         * updatableinset.h:
1524         * updatableinset.C: remove cursor_visible_, showInsetCursor(),
1525         hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
1526         getCursor(). Remove explicit cursor hides.
1527
1528 2003-05-02  André Pönitz <poenitz@gmx.net>
1529
1530         * insettext.C: remove unneeded &*
1531
1532 2003-04-30  John Levon  <levon@movementarian.org>
1533
1534         * insettabular.C: fix edit message
1535
1536 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
1537
1538         * insettext.C (setFont): do not convert iterator -> pointer
1539
1540         * insettabular.C (localDispatch): do not convert iterator -> pointer
1541         (setFont): ditto
1542         (tabularFeatures): ditto
1543
1544 2003-04-29  André Pönitz <poenitz@gmx.net>
1545
1546         * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
1547
1548 2003-04-28  André Pönitz <poenitz@gmx.net>
1549
1550         * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1551           Changes
1552
1553 2003-04-25 André Pönitz <poenitz@gmx.net>
1554
1555         * insetenv.C: derive from InsetText instead of InsetCollapsable
1556
1557 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1558
1559         * insetexternal.C (string2params): dont do anything if the string
1560         is empty.
1561         * insetgraphics.C (string2params): ditto
1562         * insetcommand.C (string2params): ditto
1563         * insetert.C (string2params): ditto
1564         * insetfloat.C (string2params): ditto
1565         * insetinclude.C (string2params): ditto
1566         * insetminipage.C (string2params): ditto
1567         * insettabular.C (string2params): ditto
1568         * insetwrap.C (string2params): ditto
1569
1570 2003-04-24  André Pönitz <poenitz@gmx.net>
1571
1572         * insetref.C: support for eqref
1573
1574 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1575
1576         * insetert.C (read): use ParagraphList::iterator.
1577
1578 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1579
1580         * insetquotes.C (latex): comment some code and add warnings.
1581
1582 2003-04-14   Alfredo Braunstein  <abraunst@libero.it>
1583
1584         * insetexternal.C (localDispatch): added a missing DISPATCHED
1585
1586 2003-04-12  John Levon  <levon@movementarian.org>
1587
1588         * insetwrap.C (addToToc): fix a crash, conversion
1589         from while to for loop forgot to remove the explicit
1590         increment
1591
1592 2003-04-10  John Levon  <levon@movementarian.org>
1593
1594         * insettabular.C (tabularFeature): make sure
1595         to update the dialog when we change something
1596         (bug 1036).
1597
1598         (getStatus): don't disable some lfuns (bug 939)
1599
1600 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
1601
1602         * insettext.C (saveLyXTextState): adjust
1603         (localDispatch): adjust
1604         (setFont): adjust
1605         (cx): adjust
1606         (cix): adjust
1607         (cpar): adjust
1608
1609         * insettabular.C (localDispatch): adjust
1610         (setFont): adjust
1611         (tabularFeatures): adjust
1612
1613 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
1614
1615         * insettabular.C (searchForward,searchBackward): fix bug 782
1616
1617 2003-04-07  John Levon  <levon@movementarian.org>
1618
1619         * insettabular.C:
1620         * insettext.C: clear status message on inset exit
1621
1622 2003-04-03  John Levon  <levon@movementarian.org>
1623
1624         * insetcommand.C: return dispatched on DIALOG_UPDATE
1625
1626 2003-04-02  John Levon  <levon@movementarian.org>
1627
1628         * insettabular.C: tab lfuns renamed
1629
1630 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1631
1632         * insettext.C (update): move towards ParagraphList
1633         (updateLocal): ditto
1634         (edit): ditto
1635         (insetUnlock): ditto
1636         (lockInset): ditto
1637         (lockInsetInInset): ditto
1638         (updateInsetInInset): ditto
1639         (localDispatch): ditto
1640         (docbook): ditto
1641         (setFont): ditto
1642         (resizeLyXText): ditto
1643         (searchBackward): ditto
1644         (collapseParagraphs): ditto
1645         (addPreview): ditto
1646
1647         * insetwrap.C (InsetWrap): adjust
1648         (addToToc): adjust and rewrite loop
1649
1650         * insettext.[Ch] (paragraph): delete function
1651
1652         * insettabular.C (moveNextCell): adjust
1653         (movePrevCell): adjust
1654         (insertAsciiString): adjust
1655
1656         * insetfloat.C (InsetFloat): adjust
1657         (addToToc): adjust
1658
1659         * insetert.C (InsetERT): adjust
1660         (write): adjust, and rewrite loop
1661         (latex): adjust, and rewrite loop
1662         (linuxdoc): adjust, and rewrite loop
1663         (docbook): adjust, and rewrite loop
1664         (localDispatch): adjust
1665         (get_new_label): adjust
1666
1667 2003-04-01  John Levon  <levon@movementarian.org>
1668
1669         From Alfredo Braunstein
1670
1671         * insetbutton.h:
1672         * insetbutton.C: add localDispatch()
1673
1674         * insetcommand.C: return DISPATCHED when edit() called
1675
1676         * insettext.C: fix bug 967
1677
1678 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1679
1680         * insettext.C: adjust
1681
1682 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1683
1684         * insettext.C (draw): adjust
1685         (crow): return a RowList::iterator not a Row*
1686
1687         * insetminipage.C (localDispatch): adjust
1688
1689         * insetert.C (localDispatch): adjust
1690
1691 2003-03-31  John Levon  <levon@movementarian.org>
1692
1693         * insetgraphics.C:
1694         * insetgraphicsParams.C: use_gui moved to lyx_gui
1695
1696 2003-03-31  John Levon  <levon@movementarian.org>
1697
1698         * insettext.C: Alert fix
1699
1700 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
1701
1702         * insettext.C (ascent): adjust for RowList
1703         (descent): ditto
1704         (draw): ditto
1705         (getLyXText): adjust
1706         (toggleSelection): adjust
1707
1708         * insetminipage.C (localDispatch): adjust for RowList
1709
1710         * insetert.C (localDispatch): adjust for RowList
1711         (getMaxWidth): adjust for RowList
1712
1713 2003-03-29  John Levon  <levon@movementarian.org>
1714
1715         * insetert.C: Alert cleanup
1716
1717 2003-03-29  John Levon  <levon@movementarian.org>
1718
1719         * insettabular.C: Alert fix
1720
1721 2003-03-28  John Levon  <levon@movementarian.org>
1722
1723         * insetfloat.C: reset label on INSET_MODIFY
1724
1725 2003-03-28  John Levon  <levon@movementarian.org>
1726
1727         * insetgraphicsParams.C: read subcaptionText as a whole line
1728         (bug 656)
1729
1730 2003-03-28  John Levon  <levon@movementarian.org>
1731
1732         * insettext.C: remove unused prototypes
1733
1734 2003-03-25  Angus Leeming  <leeming@lyx.org>
1735
1736         * insetbibitem.C (localDispatch): repaint the view after modifying
1737         a bibitem inset in case the maximum InsetBibitem width has changed.
1738
1739 2003-03-25  John Levon  <levon@movementarian.org>
1740
1741         * insettext.C:
1742         * insettabular.C: LyXText renamings
1743
1744 2003-03-24  John Levon  <levon@movementarian.org>
1745
1746         * insettext.C: remove some dead code. Fix bug 972 and
1747           related by posting a repaint in updateLocal(), and making
1748           the SEL functions set SELECTION.
1749
1750 2003-03-22  John Levon  <levon@movementarian.org>
1751
1752         * inset.h:
1753         * inset.C: remove no-longer-needed topx_set
1754
1755         * insetcollapsable.h:
1756         * insetcollapsable.C: remove dead code
1757
1758         * insetminipage.C:
1759         * insetert.C: rebreak the rows when a possible
1760           change in size is made, and reset the cursor
1761           (bug 962, bug 965)
1762
1763         * insettabular.C: remove topx_set, CHANGED_IN_DRAW
1764
1765         * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
1766           topx_set. Fix drawing errors for clearInset(). Remove
1767           some unnecessary uses of topx, which should die.
1768
1769         * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
1770           is no longer needed. Replace it with an ugly hack.
1771
1772 2003-03-20  John Levon  <levon@movementarian.org>
1773
1774         * inset.h:
1775         * insetcollapsable.h:
1776         * insetcollapsable.C:
1777         * insetert.h:
1778         * insetert.C:
1779         * insetminipage.C:
1780         * insetminipage.C:
1781         * insettabular.h:
1782         * insettabular.C:
1783         * insettext.h:
1784         * insettext.C: remove spurious font parameter
1785         from update(). Fix drawing of ERT insets inside
1786         insets (bug 966). Remove unused mark_dirty from
1787         tabular's updateLocal()
1788
1789 2003-03-19  John Levon  <levon@movementarian.org>
1790
1791         * insetfloat.h:
1792         * insetfloat.C:
1793         * insetinclude.h:
1794         * insetinclude.C:
1795         * insetminipage.h:
1796         * insetminipage.C:
1797         * insetwrap.h:
1798         * insetwrap.C: remove unused getter/setters
1799
1800 2003-03-19  John Levon  <levon@movementarian.org>
1801
1802         * several files: bv->updateInset() doesn't take
1803         a bool mark_dirty any more
1804
1805 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1806
1807         * adjust for BufferView* arg removal from lyxtext.
1808
1809 2003-03-17  John Levon  <levon@movementarian.org>
1810
1811         * most files: remove the "cleared" parameter
1812         to draw in favour of always clearing. Associated
1813         code removal.
1814
1815 2003-03-16  John Levon  <levon@movementarian.org>
1816
1817         * insettext.C: remove unused s.refresh
1818
1819 2003-03-13  Angus Leeming  <leeming@lyx.org>
1820
1821         * insettext.C (edit): replace Dialogs::updateParagraph with
1822         BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
1823
1824 2003-03-13  André Pönitz <poenitz@gmx.net>
1825
1826         * Makefile.am: insert insetenv
1827
1828         * insethenv.[Ch]: new files, currently inactive
1829
1830 2003-03-12  John Levon  <levon@movementarian.org>
1831
1832         * Makefile.am:
1833         * inset.h:
1834         * inset.C:
1835         * insetert.h:
1836         * insetert.C:
1837         * insetnewline.h:
1838         * insetnewline.C:
1839         * insetquotes.C:
1840         * insettext.C: use new insetnewline
1841
1842 2003-03-12  John Levon  <levon@movementarian.org>
1843
1844         * insettext.C: readToken became readParagraph
1845
1846 2003-03-12  John Levon  <levon@movementarian.org>
1847
1848         * insettext.C: use parlist iterator for reading contents
1849
1850 2003-03-12  John Levon  <levon@movementarian.org>
1851
1852         * insettext.C: name change to readToken()
1853
1854 2003-03-11  André Pönitz <poenitz@gmx.net>
1855
1856         * Makefile.am: insert insethfill
1857
1858         * insethfill.[Ch]: new files
1859
1860 2003-03-10  Angus Leeming  <leeming@lyx.org>
1861
1862         * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
1863         BufferView * arg.
1864         (hideDialog): calls the new static Dialogs::hide() method.
1865
1866         * insetbibitem.C (edit):
1867         * insetbibtex.C (edit):
1868         * insetcite.C (edit):
1869         * insetcommand.C (localDispatch):
1870         * inseterror.C (d-tor):
1871         * insetert.C (showInsetDialog):
1872         * insetexternal.C (localDispatch, edit):
1873         * insetfloat.C (localDispatch, showInsetDialog):
1874         * insetfloatlist.C (edit):
1875         * insetgraphics.C (localDispatch, edit):
1876         * insetinclude.C (localDispatch, edit):
1877         * insetindex.C (edit):
1878         * insetlabel.C (edit):
1879         * insetminipage.C (localDispatch, showInsetDialog):
1880         * insetref.C (edit):
1881         * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
1882         resetPos, showInsetDialog, openLayoutDialog):
1883         * insettoc.C (edit):
1884         * inseturl.C (edit):
1885         * insetwrap.C (localDispatch, showInsetDialog):
1886         changes due to the changed MailInset interface.
1887
1888 2003-03-10  Dekel Tsur  <dekelts@tau.ac.il>
1889
1890         * insetfloat.h: Set default placement to an empty string.
1891
1892 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1893
1894         * insettext.C (latex): adjust call to latexParagraphs.
1895
1896 2003-03-10  Angus Leeming  <leeming@lyx.org>
1897
1898         * mailinset.C: warn the user if the BufferView has not been cached.
1899
1900 2003-03-10  Angus Leeming  <leeming@lyx.org>
1901
1902         * inset.h, insetbase.h: move cache() and view() into InsetBase.
1903
1904         * insetcommand.h (inset):
1905         * insetert.h (inset):
1906         * insetexternal.h (inset):
1907         * insetfloat.h (inset):
1908         * insetgraphics.h (inset):
1909         * insetinclude.h (inset):
1910         * insetminipage.h (inset):
1911         * insettabular.h (inset):
1912         * insetwrap.h (inset):
1913         * mailinset.h (inset): return an InsetBase &, not an Inset &.
1914
1915 2003-03-10  Angus Leeming  <leeming@lyx.org>
1916
1917         * insetcommand.C (string2params):
1918         * insetexternal.C (string2params):
1919         * insetfloat.C (string2params):
1920         * insetgraphics.C (string2params):
1921         * insetinclude.C (string2params):
1922         * insetminipage.C (string2params):
1923         * insettabular.C (string2params):
1924         * insetwrap.C (string2params): cure warning message about missing
1925         '\end_inset'.
1926
1927 2003-03-09  Angus Leeming  <leeming@lyx.org>
1928
1929         * insettabular.[Ch]: define a new class InsetTabularMailer and use
1930         it to communicate with the frontend dialogs.
1931
1932         * mailinset.C (hideDialog): only hide the dialog if it is showing the
1933         contents of this inset!
1934
1935 2003-03-07  Angus Leeming  <leeming@lyx.org>
1936
1937         * inseterror.C (localDispatch): new method; calls edit() on
1938         LFUN_MOUSE_RELEASE.
1939
1940 2003-03-07  Angus Leeming  <leeming@lyx.org>
1941
1942         * insetbibitem.C (localDispatch):
1943         * insetbibtex.C (localDispatch):
1944         * insetlabel.C (localDispatch):
1945         rewrite as a switch.
1946
1947 2003-03-07  Angus Leeming  <leeming@lyx.org>
1948
1949         * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
1950         it to communicate with the frontend dialogs.
1951
1952 2003-03-07  Angus Leeming  <leeming@lyx.org>
1953
1954         * insetexternal.C: remove operator== and operator!= for
1955         InsetExternal::Params. They were used only by the old controller
1956         scheme.
1957
1958 2003-03-07  Angus Leeming  <leeming@lyx.org>
1959
1960         * insetcommand.C (localDispatch):
1961         * insetexternal.C (localDispatch):
1962         * insetfloat.C (localDispatch):
1963         * insetinclude.C (localDispatch):
1964         * insetminipage.C (localDispatch):
1965         * insetwrap.C (localDispatch):
1966         add LFUN_INSET_DIALOG_UPDATE to the switch.
1967
1968 2003-03-07  Angus Leeming  <leeming@lyx.org>
1969
1970         * insetcommand.C (string2params):
1971         * insetexternal.C (string2params):
1972         * insetfloat.C (string2params):
1973         * insetinclude.C (string2params):
1974         * insetwrap.C (string2params): use LyXLeX more.
1975
1976         * insetert.[Ch]:
1977         * insetexternal.[Ch]:
1978         * insetfloat.[Ch]:
1979         * insetinclude.[Ch]:
1980         * insetwrap.[Ch]: change Mailer::name_ to be static.
1981
1982         * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
1983         it to communicate with the frontend dialogs.
1984
1985 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
1986
1987         * insettext.C:
1988         * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
1989
1990 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1991
1992         * insettext.C (updateLocal): un-const function
1993         (updateLocal): adjust
1994         (collapseParagraphs): un-const function
1995         (collapseParagraphs): adjust
1996
1997 2003-03-05  Angus Leeming  <leeming@lyx.org>
1998
1999         * insetwrap.[Ch]: define a new class InsetWrapMailer and use
2000         it to communicate with the frontend dialogs.
2001
2002 2003-03-05  Angus Leeming  <leeming@lyx.org>
2003
2004         * insetcollapsable.C (draw): cache the BufferView.
2005
2006         * insetfloat.[Ch]: define a new class InsetFloatMailer and use
2007         it to communicate with the frontend dialogs.
2008
2009 2003-03-05  Angus Leeming  <leeming@lyx.org>
2010
2011         * insetfloat.[Ch]: move the params into a separate InsetFloatParams
2012         struct.
2013
2014 2003-03-05  Angus Leeming  <leeming@lyx.org>
2015
2016         * insetcommandparams.[Ch] (getAsString, setFromString): remove.
2017
2018         * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
2019         it to communicate with the frontend dialogs.
2020
2021 2003-03-05  Angus Leeming  <leeming@lyx.org>
2022
2023         * insetexternal.[Ch]: define a new class InsetExternalMailer and use
2024         it to communicate with the frontend dialogs.
2025
2026 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2027
2028         * insettext.C (collapseParagraphs): adjust
2029         (appendParagraphs): make it take a Buffer* instead of a
2030         BufferParams& as arg.
2031         (appendParagraphs): adjust
2032
2033 2003-03-04  Angus Leeming  <leeming@lyx.org>
2034
2035         * insetbibitem.C (localDispatch):
2036         * insetbibtex.C (localDispatch):
2037         * insetcommand.C (localDispatch):
2038         * insetert.C (localDispatch):
2039         * insetlabel.C (localDispatch):
2040         handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
2041
2042 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2043
2044         * insettext.C (latex): adjust for ParagraphList::iterator
2045
2046 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2047
2048         * insetbutton.C (view): adjust for boost 1.30.0
2049         * insetcollapsable.C (view): ditto
2050         * insetgraphics.C (statusChanged): ditto
2051
2052         * insettext.h: move paragraphs to be public.
2053
2054 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2055
2056         * insetnote.[Ch] (InsetNote): remove unused constructor
2057
2058 2003-02-28  Alfredo Braunstein  <abraunst@libero.it>
2059
2060         * insetgraphics.C: added include "format.h"
2061
2062 2003-02-27  Angus Leeming  <leeming@lyx.org>
2063
2064         * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
2065         thingy.
2066
2067 2003-02-27  Angus Leeming  <leeming@lyx.org>
2068
2069         * insetbibitem.C (localDispatch):
2070         * insetbibtex.C (localDispatch):
2071         * insetcommand.C:
2072         * insetert:
2073         collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2074
2075 2003-02-26  Angus Leeming  <leeming@lyx.org>
2076
2077         * insetbibitem.[Ch] (localDispatch):
2078         * insetbibtex.[Ch] (localDispatch):
2079         new method. Modify inset on receipt of LFUN_XYZ_APPLY.
2080
2081         * insetcommand.C (localDispatch):
2082         act only on receipt of LFUN_XYZ_APPLY.
2083
2084         * insetert.C (localDispatch): reformat.
2085         add LFUN_XYZ_APPLY to the switch.
2086
2087 2003-02-26  John Levon  <levon@movementarian.org>
2088
2089         * insettext.C: use RowPainter
2090
2091         * inset.h: make helpers take const *
2092
2093 2003-02-26  Angus Leeming  <leeming@lyx.org>
2094
2095         * insetcommand.[Ch] (localDispatch): new method.
2096
2097 2003-02-26  Angus Leeming  <leeming@lyx.org>
2098
2099         * insetinclude.C (draw): cache the BufferView* using cache not
2100         PreviewImpl::setView
2101
2102 2003-02-26  Alfredo Braunstein <abraunst@libero.it>
2103
2104         * insetgraphics.C (draw)
2105         * insetinclude.C (draw): Eliminate also the other argument (owner
2106         inset inset) in the call to PreviewImage::image
2107
2108 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
2109
2110         * insetgraphics.C (draw)
2111         * insetinclude.C (draw): Eliminate Buferview argument in call to
2112         PreviewImage::image
2113
2114 2003-02-25  John Levon  <levon@movementarian.org>
2115
2116         * insetgraphicsParams.h:
2117         * insetgraphics.C: don't start a load process if
2118           the inset is set to NoDisplay (bug #920)
2119
2120 2003-02-22  John Levon  <levon@movementarian.org>
2121
2122         * insetfloat.C:
2123         * insetwrap.C: TocItem changed API (bug 913)
2124
2125 2003-02-21  Angus Leeming  <leeming@lyx.org>
2126
2127         * insetcollapsable.[Ch] (cache, edit):
2128         * insetbutton.[Ch] (cache, edit): new methods to cache the
2129         BufferView in the draw method.
2130
2131         * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
2132         simplify comunication between InsetCommand-derived classes and
2133         the Dialogs.
2134
2135         * insetbibitem.[Ch]:
2136         * insetbibtex.[Ch]:
2137         * insetcite.[Ch]:
2138         * inseterror.[Ch]:
2139         * insetfloatlist.[Ch]:
2140         * insetindex.[Ch]:
2141         * insetref.[Ch]:
2142         * insettoc.[Ch]:
2143         * inseturl.[Ch]: small changes to reflect the new interface to the
2144         Dialogs code.
2145
2146         * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
2147         other, similar classes.
2148
2149         * Makefile.am: add new files.
2150
2151 2003-02-21  Angus Leeming  <leeming@lyx.org>
2152
2153         * updatableinset.h (setView, view): remove.
2154         * inset.h (view, cache): to be replaced by these.
2155
2156         * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
2157         insetbibtex.[Ch]:
2158
2159         * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
2160         insetbibtex.[Ch].
2161
2162         * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
2163
2164 2003-02-21  Allan Rae  <rae@lyx.org>
2165
2166         * insetinclude.C (loadIfNeeded): ensure loading also works when
2167         child document is under version control.
2168
2169 2003-02-17  André Pönitz <poenitz@gmx.net>
2170
2171         * insetbib.[Ch]: Adjust access to bibkeys
2172
2173 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2174
2175         * insetquotes.C (dispString): remove use of acute accent for "'"
2176         right quote.
2177
2178 2003-02-14  John Levon  <levon@movementarian.org>
2179
2180         * insettabular.C: changed method names in tabular.C
2181
2182 2003-02-14  John Levon  <levon@movementarian.org>
2183
2184         * inset.h:
2185         * inset.C:
2186         * insetcollapsable.h:
2187         * insetcollapsable.C:
2188         * insettabular.h:
2189         * insettabular.C:
2190         * insettext.h:
2191         * insettext.C: remove unused getParFromID()
2192
2193 2003-02-13  John Levon  <levon@movementarian.org>
2194
2195         * insettext.h:
2196         * insettext.C: remove unused beginningofMainBody()
2197
2198 2003-02-08  John Levon  <levon@movementarian.org>
2199
2200         * inset.h:
2201         * inset.C:
2202         * insetcollapsable.h:
2203         * insetcollapsable.C:
2204         * insettabular.h:
2205         * insettabular.C:
2206         * insettext.h:
2207         * insettext.C:
2208           add nextChange(). Make allowSpellcheck() const. Add markErased().
2209
2210         * insetert.C: ignore deleted text
2211
2212         * insettabular.C: make sure to keep change  tracking working
2213           properly.
2214
2215 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
2216
2217         * insetert.C:
2218         * insetgraphics.C:
2219         * insettabular.C:
2220         * insettext.C: Use error messages with identical spelling and punctuation
2221
2222 2003-01-12  Michael Schmitt <michael.schmitt@teststep.org>
2223
2224         * insetgraphics.C (draw, width): Fix spacing around graphics inset
2225
2226 2002-12-17  Juergen Vigna  <jug@lyx.org>
2227
2228         * insettext.C (localDispatch): hopefully fixed cursor up down
2229         movement on leaving other insets.
2230
2231 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
2232
2233         * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
2234         and the like.
2235
2236 2002-12-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2237
2238         * insetgraphics.C (prepareFile): do not remove the extension of
2239         the file name if it is not the default extension for the given
2240         format (that is, in latex output, remove extension from foo.eps,
2241         but not from foo.epsi)
2242
2243 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
2244
2245         * insettext.C (lfunMouseRelease): hackish solution to the "double
2246         menu open" bug
2247
2248 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2249
2250         * insetfloat.C (addToToc): use the floats name not its type
2251         * insetwrap.C (addToToc): ditto
2252
2253 2002-12-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2254
2255         * insetnote.C (init): make label font smaller
2256
2257 2002-12-04  John Levon  <levon@movementarian.org>
2258
2259         * insetinclude.C: ressurect setting of command name
2260
2261 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2262
2263         * insetquotes.C (dispString): disambiguate insert call
2264
2265 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2266
2267         * several files: ws changes
2268
2269 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2270
2271         * insetquotes.C (dispString): use string::insert for prepending a
2272         char.
2273
2274 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2275
2276         * insetparent.C (getScreenLabel): use boost::format
2277
2278         * insetgraphics.C (prepareFile): use boost::format
2279         (ascii): ditto
2280
2281         * insetfloatlist.C (latex): use boost::format
2282
2283         * insetcaption.C (draw): use boost::format
2284
2285 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
2286
2287         * insettabular.C (tabularFeatures): Support for block alignment in fixed width
2288         columns.
2289
2290 2002-11-20  Juergen Vigna  <jug@sad.it>
2291
2292         * insettabular.C (resetPos): temporary fix for endless loop in
2293         this function on a redraw.
2294
2295 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2296
2297         * insettabular.C (copySelection): STRCONV
2298
2299         * insetinclude.C (uniqueID): STRCONV
2300         (latexString): ditto
2301
2302         * insetgraphics.C: put VersionNumber inside anon namespace
2303         (createLatexOptions): STRCONV
2304
2305         * insetcommandparams.C: include config.h
2306
2307 2002-10-31  Rob Lahaye  <lahaye@snu.ac.kr>
2308
2309         * insetgraphicsParams.C (Write): use lyx::float_equal.
2310         Write height data correctly.
2311         (Read): zero scale when reading height data.
2312
2313 2002-10-30  John Levon  <levon@movementarian.org>
2314
2315         * insetfloat.C (addToTOC): recursively traverse all
2316           contents looking for captions (fix #568)
2317
2318 2002-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2319
2320         * insetexternal.C (doSubstitution): do not try to replace
2321         environment variables, this is done when executing the command
2322
2323 2002-10-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2324
2325         * insetexternal.C (doSubstitution): change order of substitution
2326         to work around ReplaceEnvironmentPath brokenness
2327
2328 2002-10-24  Rob Lahaye  <lahaye@snu.ac.kr>
2329
2330         * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
2331
2332         * insetgraphicsParams.C (init, Write): associated changes
2333         * insetgraphics.C (createLatexOptions): use lyx::float_equal with
2334         InsetGraphicsParams::scale.
2335
2336 2002-10-21  John Levon  <levon@movementarian.org>
2337
2338         * inset.h: remove unused DISPATCH_RESULT
2339
2340         * insettext.C: sgml open/close tag now in sgml namespace
2341
2342 2002-10-21  Angus Leeming  <leeming@lyx.org>
2343
2344         * insetgraphics.C (draw): Fix the drawing of an inset with a relative
2345         file path subdir/fig.eps when pasting it into a buffer in a different
2346         directory.
2347
2348 2002-10-16  John Levon  <levon@movementarian.org>
2349
2350         * insetspecialchar.C: remove \\protected_separator parsing
2351
2352 2002-09-25  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2353
2354         * insetquote.C: fix LaTeX output of quotation marks.
2355
2356 2002-10-14  Juergen Vigna  <jug@sad.it>
2357
2358         * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
2359         Backspace functions which confused the Undo handling.
2360
2361 2002-10-09  Angus Leeming  <leeming@lyx.org>
2362
2363         * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
2364         BufferView::dispatch that turns off this optimisation when a new inset
2365         is inserted.
2366
2367         * insetcite.C (getNatbibLabel): correct logic of when and when not to
2368         reload the BibTeX keys.
2369
2370 2002-10-11  André Pönitz <poenitz@gmx.net>
2371
2372         * insettext.h: handle LFUN_PRIOR/NEXT
2373
2374 2002-07-30  Juergen Spitzmueller <j.spitzmueller@gmx.de>
2375
2376         * insetfloat.C: fix bug with float settings
2377         (document default != float default).
2378
2379 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
2380
2381         * insetwrap.C (addToToc): New method.
2382         (InsetWrap): Set layout to caption.
2383
2384 2002-09-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2385
2386         * Makefile.am (INCLUDES): loose SIGC_INCLUDES
2387
2388 2002-09-16  John Levon  <levon@movementarian.org>
2389
2390         * insettabular.h: hasSelection() needs to be public
2391
2392 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
2393
2394         * insetgraphicsParams.C: use empty string as default for rotateOrigin
2395
2396 2002-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2397
2398         * insetgraphicsParams.C: use empty string as default for rotateOrigin
2399
2400 2002-09-11  André Pönitz <poenitz@gmx.net>
2401
2402         * insettabular.C: implement LFUN_WORDSEL
2403
2404 2002-09-10  John Levon  <levon@movementarian.org>
2405
2406         * insetinclude.h: remove unused param
2407
2408 2002-09-09  John Levon  <levon@movementarian.org>
2409
2410         * insetinclude.h:
2411         * insetinclude.C: remove noload, default to input
2412
2413 2002-09-29  Martin Vermeer  <martin.vermeer@hut.fi>
2414
2415         * insetgraphics.C: disfuscated use of ']' in built output string.
2416
2417 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2418
2419         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
2420
2421 2002-08-29  Juergen Vigna  <jug@sad.it>
2422
2423         * insettabular.C (lfunMousePress): Pay attention where you set
2424         the x/y values as they depend on which inset in the tabular is
2425         actually locked. So you surely have to reset them if you (un)lock
2426         a inset!
2427
2428 2002-08-29  André Pönitz <poenitz@gmx.net>
2429
2430         * insetfootlike.h: rename include guard to ALL CAPS
2431
2432         * insettext.C: swap object and first parameter for checkInsetHit calls
2433           as this functions has moved from BufferView to LyXText
2434
2435
2436 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
2437
2438         * insetgraphicsParams.C: remove local displayTranslator and use
2439         the one from graphics/GraphicsTypes.h.
2440
2441 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2442
2443         * insetfloat.C (wide): add BufferParams parameter
2444
2445         * insetfloatlist.C (read):
2446         (latex):
2447         (getScreenLabel):
2448         * insetfloat.C (latex):
2449         (floatname):
2450         * insetcaption.C (draw): use LyXTextClass::floats()
2451
2452 2002-08-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2453
2454         * insetoptarg.h: add std:: qualifier.
2455
2456 2002-08-26  Juergen Vigna  <jug@sad.it>
2457
2458         * insettext.C (localDispatch): ditto.
2459
2460         * insettabular.C (localDispatch): fixed mouse pressing lfuns.
2461
2462 2002-08-25  John Levon  <levon@movementarian.org>
2463
2464         * inseturl.C: elide long URLs (bug 404)
2465
2466 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
2467
2468         * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
2469         remove "Format Version <version_no.>" string from inset header
2470
2471         * insetgraphics.C:
2472         * insetgraphicsParams.[Ch]: Implement new graphics dialog
2473
2474         * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
2475         a member of "grfx::Params" anymore.
2476
2477         * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
2478
2479 2002-08-24  John Levon  <levon@movementarian.org>
2480
2481         * insetoptarg.h:
2482         * insetoptarg.C: ws, pedantry ...
2483
2484 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2485
2486         * insettext.C (collapseParagraphs): pasteParagraph now in global
2487         scope
2488         (appendParagraphs): ditto
2489
2490 2002-08-21  Dekel Tsur  <dekelts@tau.ac.il>
2491
2492         * insetcite.C (latex): Remove spaces only after commmas.
2493
2494 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2495
2496         * insettext.C: remove NO_COMPABILITY stuff
2497
2498 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2499
2500         * insettext.C (edit): use ParagraphList iterators
2501
2502         * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
2503         (bibitemWidest): ditto
2504
2505 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2506
2507         * insettext.C: include <boost/bind.hpp>
2508         add using std::for_each
2509         (saveLyXTextState): use ParagraphsList::iterator
2510         (init): use for_each on paragraphlist iterators
2511         (InsetText): remove superflous setting cached_bview to 0
2512         (latex): reformat a bit
2513         (ascii): use paragraphlist iterators
2514         (validate): use for_each + boost bind
2515         (getLabelList): use paragraphlist iterators
2516         (deleteLyXText): use for_each + boost::bind
2517         (resizeLyXText): ditto
2518         (reinitLyXText): ditto
2519         (removeNewlines): use paragraphlist iterators
2520         (getParFromID): ditto
2521         (paragraph): use for_each + boost::bind
2522         (getInsetFromID): use paragraphlist iterators
2523         (getLabelList): typo fix
2524
2525 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2526
2527         * insettext.C (read): assign tmp to paragraphs after return from
2528         call to parseSingleLyXformat2Token
2529
2530
2531 2002-08-13  Angus Leeming  <leeming@lyx.org>
2532
2533         * insetbib.C:
2534         * insetcite.C:
2535         * inseterror.C:
2536         * insetert.C:
2537         * insetexternal.C:
2538         * insetfloat.C:
2539         * insetfloatlist.C:
2540         * insetgraphics.C:
2541         * insetinclude.C:
2542         * insetindex.C:
2543         * insetminipage.C:
2544         * insetparent.C:
2545         * insetref.C:
2546         * insettabular.C:
2547         * insettext.C:
2548         * insettoc.C:
2549         * inseturl.C:
2550         changes due to the changed LyXView interface that now returns references
2551         to member variables not pointers.
2552
2553 2002-08-13  Angus Leeming  <leeming@lyx.org>
2554
2555         * inset.h:
2556         * insetcollapsable.h:
2557         * insetert.h:
2558         * insettabular.h:
2559         * insettext.h: forward-declare WordLangTuple
2560         (selectNextWordToSpellcheck) constify return type.
2561
2562         * inset.C:
2563         * insetcollapsable.C:
2564         * insetert.C:
2565         * insettabular.C:
2566         * insettext.C: #include "WordLangTuple.h" and rearrange included files.
2567
2568 2002-08-12  Angus Leeming  <leeming@lyx.org>
2569
2570         * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
2571
2572 2002-08-12  Juergen Vigna  <jug@sad.it>
2573
2574         * insetcollapsable.C (edit): ignore if entered when pressing mouse
2575         button 3.
2576
2577 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
2578
2579         * insetbib.C (bibitemMaxWidth): ParagraphList changes
2580         (bibitemWidest): ditto
2581         * insettext.[Ch]: ditto
2582
2583 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2584
2585         * insettext.C, insetert.C: use Paragraph::empty where appropriate
2586
2587 2002-08-09  Angus Leeming  <leeming@lyx.org>
2588
2589         * insetinclude.C (latexString): remove fudge now that I've found out
2590         how to enable LaTeX to find the file using input@path.
2591
2592 2002-08-09  John Levon  <levon@movementarian.org>
2593
2594         * insettext.h:
2595         * insettext.C: remove unused xpos
2596
2597 2002-08-07  Juergen Vigna  <jug@lyx.org>
2598
2599         * insettabular.C (localDispatch): make delete not put the stuff
2600         in the clipboard only do this on a cut operation.
2601
2602         * insettext.C (localDispatch): make delete and backspace not put
2603         selected stuff to the clipboard.
2604
2605 2002-08-07  André Pönitz <poenitz@gmx.net>
2606
2607         * inset.[Ch]:
2608         * insetcollapsable.[Ch]:
2609         * insetert.[Ch]:
2610         * insetparent.[Ch]:
2611         * insetref.[Ch]:
2612         * insettabular.[Ch]:
2613         * insettext.[Ch]:  change (kb_action, arg) pair into a FuncRequest
2614
2615 2002-08-06  John Levon  <levon@movementarian.org>
2616
2617         * inset.h:
2618         * inset.C:
2619         * insetcollapsable.h:
2620         * insetcollapsable.C:
2621         * insetert.h:
2622         * insetert.C:
2623         * insettabular.h:
2624         * insettabular.C:
2625         * insettext.h:
2626         * insettext.C: use WordLangTuple for spellcheck
2627
2628 2002-08-06  Angus Leeming  <leeming@lyx.org>
2629
2630         * insetinclude.C: add a monitor to the previewed image, so that the
2631         image is refreshed if the \input-ed file changes.
2632
2633 2002-08-04  John Levon  <levon@movementarian.org>
2634
2635         * inset.h:
2636         * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
2637
2638 2002-08-02  Angus Leeming  <leeming@lyx.org>
2639
2640         * insetcommandparams.[Ch] (preview): new methods returning and setting
2641         a new bool preview_ flag.
2642         (read): read this flag.
2643         (operator==): add flag to check.
2644
2645         * insetinclude.C (write): output new preview() flag.
2646         (previewWanted): use this flag.
2647
2648 2002-08-02  Angus Leeming  <leeming@lyx.org>
2649
2650         * insetcollapsable.[Ch] (addPreview):
2651         * insettabular.[Ch] (addPreview):
2652         * insettext.[Ch] (addPreview): new methods. Can now generate previews
2653         for insets in insets.
2654
2655 2002-08-02  Angus Leeming  <leeming@lyx.org>
2656
2657         * insetcite.C: fix typo.
2658
2659         * insetgraphics.C: kill current_view and instead cache the BufferView
2660         as a weak_ptr.
2661
2662         * insetinclude.C: kill current_view and pass the BufferView to the
2663         PreviewedInset so that it can cache it.
2664
2665 2002-08-01  Angus Leeming  <leeming@lyx.org>
2666
2667         * inset.h (generatePreview): renamed as addPreview.
2668         (generatePreview): new method. Allows code to be moved out of
2669         math_nestinset.C and into the new PreviewedInset class.
2670
2671         * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
2672         add previews to the inset when \input-ing LaTeX.
2673
2674 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2675
2676         * several files: strip,frontStrip -> trim,ltrim,rtrim
2677
2678 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2679
2680         * insetbib.C (latex): modify because of strip changes
2681         (getKeys): ditto
2682         * insetnote.C (InsetNote): ditto
2683
2684 2002-07-26  Juergen Vigna  <jug@sad.it>
2685
2686         * insettabular.C (searchForward): check for lastcell if we
2687         had a locking inset.
2688
2689 2002-07-25  Juergen Vigna  <jug@sad.it>
2690
2691         * insettabular.C (insetMotionNotify): Don't update the screen
2692         if we didn't do nothing.
2693         (searchForward): last cell was not checked.
2694
2695 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
2696
2697         * insetfloat.C (read, write): Allow default placement
2698         (floatPlacement_ is empty).
2699
2700 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2701
2702         * insetminipage.h (noFontChange):
2703         * insettabular.h (noFontChange):
2704         * insetfootlike.h (noFontChange):
2705         * insetfloat.h (noFontChange): return true
2706
2707         * inset.h (noFontChange): new method, defaulting to false
2708
2709 2002-07-22  Herbert Voss  <voss@lyx.org>
2710
2711         * insetgraphicsParams.[Ch]: support size_type for old docs
2712
2713 2002-07-22  Herbert Voss  <voss@lyx.org>
2714
2715         * insetgraphics.C:
2716         * insetgraphicsParams.[Ch]: change size_type to size_kind and
2717         other small changes
2718
2719 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2720
2721         * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
2722
2723         * insetlatexaccent.h: do not include "lyxlex.h"
2724
2725         * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
2726
2727         * insetquotes.C:
2728         * insetlatexaccent.C:
2729         * insetgraphics.C:
2730         * insetexternal.C:
2731         * insetert.C:
2732         * insetbib.C: #include "lyxlex.h"
2733
2734         * insetinclude.C:
2735         * insetfloat.C:
2736         * insetert.C:
2737         * insetbib.C:
2738         * insettext.C: use BufferParams::getLyXTextClass
2739
2740
2741         * insetfloat.C (addToToc): new method. Add to toclist the entries
2742         corresponding to Caption layouts
2743         (InsetFloat): when creating a new float, set the layout to "Caption"
2744
2745 2002-07-21  Herbert Voss  <voss@lyx.org>
2746
2747         * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
2748         image relevant part into graphics/GraphicsImgae.C
2749
2750 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2751
2752         * insettoc.C (ascii):
2753         * insetfloatlist.C (ascii): change to use the new Toc functions
2754         instead of stuff that was in Buffer
2755
2756 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2757
2758         * insettext.C (localDispatch): BufferView::Dispatch has been
2759         renamed to BufferView::dispatch
2760
2761 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2762
2763         * insetgraphicsParams.C (as_grfxParams): use the new
2764         keepLyXAspectRatio parameter. Note that this is an adaptation of a
2765         1.2.0 patch, and I do not really know how to adapt it to the new
2766         grfx::Cache world. Angus, please could you have a look?
2767
2768 2002-05-01  Herbert Voss  <voss@lyx.org>
2769
2770         * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
2771
2772 2002-07-18  Angus Leeming  <leeming@lyx.org>
2773
2774         * insetgraphics.C: clean-up comments (from Herbert).
2775         add a new checksum variable to the cache. Use it in PrepareFile.
2776         (draw): start monitoring the file for a change.
2777         (prepareFile): re-arrange a little to avoid unnecessary steps.
2778
2779 2002-07-17  Angus Leeming  <leeming@lyx.org>
2780
2781         * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
2782         a method rather than to the signal directly.
2783
2784 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
2785
2786         * insettext.C: use view_state_changed, switchKeyMap
2787
2788 2002-07-17  Herbert Voss  <voss@perce.de>
2789
2790         * insetgraphics.C (prepareFile): keep the extension when
2791         exporting to nice file
2792
2793 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2794
2795         * insetcite.C (getNatbibLabel):
2796         * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
2797
2798 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
2799
2800         * insetgraphics.C: use ->isDrawable()
2801
2802 2002-07-12  Angus Leeming  <leeming@lyx.org>
2803
2804         * insetgraphics.C: use the new smart loading capabilities of the image
2805         loader.
2806
2807 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
2808
2809         * insettabular.C (edit): Move into correct cell when entering a
2810         tabular in
2811
2812         * insettext.C (unlockInsetInInset): Correct cursor behaviour for
2813         RTL paragraphs.
2814
2815 2002-07-05  Angus Leeming  <leeming@lyx.org>
2816
2817         * inset.h (generatePreview): new virtual method.
2818
2819 2002-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2820
2821         * insetcommandparams.[Ch] (operator=): move out of class
2822         (operator!): move out of class
2823
2824 2002-07-04  André Pönitz <poenitz@gmx.net>
2825
2826         * insetcommandparams.[Ch]: new files
2827
2828         * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
2829
2830 2002-06-15  Herbert Voss  <voss@perce.de>
2831
2832         * insetgraphics.C (prepareFile): bugfix; return always
2833         files without extension
2834
2835 2002-06-28  Angus Leeming  <leeming@lyx.org>
2836
2837         * insetgraphicsParams.[Ch]: forward declare grfx::Params.
2838         rename asGParams -> as_grfxParams.
2839
2840         * insetgraphics.C: reflect above change.
2841
2842 2002-06-26  Angus Leeming  <leeming@lyx.org>
2843
2844         * insetgraphics.h: use boost::scoped_ptr in preference to
2845         std::auto_ptr.
2846
2847 2002-06-26  Angus Leeming  <leeming@lyx.org>
2848
2849         * insetgraphics.C: moved the image loading stuff into a new class
2850         grfx::Loader. Simplifies this file enormously.
2851
2852         * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
2853
2854         * insetgraphicsParams.C: changes aassociated with moving
2855         grfx::DisplayType out of grfx::GParams.
2856
2857 2002-06-26  André Pönitz <poenitz@gmx.net>
2858
2859         * insetgraphics.C: use os::external_path where necesaary according to a
2860         patch from Claus Hentschel)
2861
2862 2002-06-25  Angus Leeming  <leeming@lyx.org>
2863
2864         * insetgraphics.[Ch]: The inset now assumes the responsibility for
2865         generating a pixmap once the graphics file is loaded into memory.
2866         The current_view ugliness that was in grfx::ModifiedImage has been
2867         moved here now that grfx::ModifiedImage is no more.
2868
2869 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2870
2871         * insettext.C: layout as layout
2872
2873 2002-05-28  André Pönitz <poenitz@gmx.net>
2874
2875         * insetfloatlist.h: remove source of compiler warning
2876
2877         * insetref.C: tiny whitespace
2878
2879 2002-06-15  Herbert Voss  <voss@perce.de>
2880
2881         * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
2882         and take always convert when no userdefined converter was
2883         found
2884         (latex) small changes in the lyxerr output
2885
2886 2002-06-15  LyX Development team <lyx@rilke>
2887
2888         * inset*.[Ch] (docbook): Added new argument to take the pernicious
2889         mixed content. Small white spaces clean.
2890
2891 2002-06-14  Angus Leeming  <leeming@lyx.org>
2892
2893         * inseetexternal.C: remove the using std::difftime declaration.
2894
2895 2002-06-13  Edwin Leuven  <leuven@fee.uva.nl>
2896
2897         * insetquotes.C: change lyxfont::draw to font_metrics::draw
2898
2899 2002-06-12  Vitaly Lipatov  <LAV@VL3143.spb.edu>
2900
2901         * insetquotes.C (draw): fix drawing of double quotes
2902
2903 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
2904
2905         * insettabular.C: s/scrollCB/scrollDocView/
2906
2907 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
2908
2909         * insettext.C: change of topCursorVisible()
2910           prototype
2911
2912 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
2913
2914         * insettext.h:
2915         * insettext.C: rename/change of LyXScreen
2916
2917 2002-06-07  Angus Leeming  <leeming@lyx.org>
2918
2919         Fixes needed to compile with Compaq cxx 6.5.
2920         * insetexternal.C:
2921         all c-library variables have been moved into namespace std.
2922         Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2923
2924 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2925
2926         * insetinclude.C (uniqueID):
2927         * insetgraphics.C (uniqueID): renamed from unique_id, since this
2928         conflicted with some AIX headers.
2929
2930 2002-05-31  Juergen Vigna  <jug@sad.it>
2931
2932         * insetert.C (get_new_label): add '...' for multi-paragraph ert
2933         insets too
2934         (update) new method
2935
2936 2002-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2937
2938         * insetexternal.C (clone): fix () bug when using new
2939         (updateExternal): don't only look for difftime in global scope
2940
2941 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
2942
2943         * insettabular.C: add const
2944
2945 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2946
2947         * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
2948         file name, in case there are weird characters like ',' in there.
2949         (bug #407)
2950
2951 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2952
2953         * switch from SigC signals to boost::signals.
2954
2955 2002-05-28  André Pönitz <poenitz@gmx.net>
2956
2957         * insets/insetgraphicsParams.[Ch]:
2958           put in inset related stuff from src/graphic
2959
2960 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
2961
2962         * inset.C:
2963         * inset.h:
2964         * insetbib.C:
2965         * insetbib.h:
2966         * insetcite.h:
2967         * insetcite.C:
2968         * insetcollapsable.C:
2969         * insetcollapsable.h:
2970         * inseterror.C:
2971         * inseterror.h:
2972         * insetert.C:
2973         * insetert.h:
2974         * insetexternal.C:
2975         * insetexternal.h:
2976         * insetfloatlist.C:
2977         * insetfloatlist.h:
2978         * insetgraphics.C:
2979         * insetgraphics.h:
2980         * insetinclude.C:
2981         * insetinclude.h:
2982         * insetindex.C:
2983         * insetindex.h:
2984         * insetlabel.C:
2985         * insetlabel.h:
2986         * insetparent.C:
2987         * insetparent.h:
2988         * insetref.C:
2989         * insetref.h:
2990         * insettabular.C:
2991         * insettabular.h:
2992         * insettext.C:
2993         * insettext.h:
2994         * insettoc.C:
2995         * insettoc.h:
2996         * inseturl.C:
2997         * inseturl.h: use mouse_state. Kill insetKeyPress
2998
2999 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
3000
3001         * insetbib.C:
3002         * insetbutton.C:
3003         * insetcaption.C:
3004         * insetcollapsable.C:
3005         * inseterror.C:
3006         * insetgraphics.C:
3007         * insetlatexaccent.C:
3008         * insetquotes.C:
3009         * insetspecialchar.C:
3010         * insettabular.C:
3011         * insettext.C: name change for font metrics
3012
3013 2002-05-24  Juergen Vigna  <jug@sad.it>
3014
3015         * insetgraphics.h: include inset.h first (for LString.h)
3016
3017 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
3018
3019         * insettext.C: screen moved
3020
3021 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
3022
3023         * insetbib.C:
3024         * insetcite.C:
3025         * inseterror.C:
3026         * insetert.C:
3027         * insetexternal.C:
3028         * insetfloat.C:
3029         * insetfloatlist.C:
3030         * insetgraphics.C:
3031         * insetinclude.C:
3032         * insetindex.C:
3033         * insetminipage.C:
3034         * insetparent.C:
3035         * insetref.C:
3036         * insettabular.C:
3037         * insettext.C:
3038         * insettoc.C:
3039         * inseturl.C: LyXView moved into frontends/
3040
3041 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
3042
3043         * inset.C:
3044         * insetbutton.C:
3045         * insetcaption.C:
3046         * insetcollapsable.C:
3047         * insetcommand.C:
3048         * inseterror.C:
3049         * insetgraphics.C:
3050         * insetgraphicsParams.C:
3051         * insetlatexaccent.C:
3052         * insetquotes.C:
3053         * insetspecialchar.C:
3054         * insettabular.C:
3055         * insettext.C: move Painter to frontends/
3056
3057 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3058
3059         * insettabular.h: use more specific smart_ptr header.
3060         * insettext.h: ditto
3061
3062         * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
3063         (draw): ditto
3064
3065 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
3066
3067         * insettext.C: clear selection on paste (bug 393)
3068
3069 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
3070
3071         * insettext.C (latex): Honor the moving_arg argument.
3072
3073 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3074
3075         * insetfoot.C (latex): if a footnote is in a title layout, then it
3076         is a \thanks. And then, its contents is a moving argument.
3077
3078 2002-05-14  Juergen Vigna  <jug@sad.it>
3079
3080         * insetcollapsable.C (InsetCollapsable): forgot to initialize
3081         first_after_edit.
3082
3083 2002-05-09  Angus Leeming  <a.leeming@ic.ac.uk>
3084
3085         * Insetcite.C (getNatbibLabel): don't disable natbib label support
3086         when using options "Full author list" or "Upper case".
3087
3088 2002-05-14  Herbert Voss  <voss@perce.de>
3089
3090         * insetgraphics.C (prepareFile): allow files with same name
3091         in different dirs
3092         (readFigInset): set the flags from old figinset in the right
3093         manner
3094         (findTargetFormat): more comments
3095
3096 2002-05-14  Juergen Vigna  <jug@sad.it>
3097
3098         * insettext.C (edit): tell checkAndActivateInset() that we don't
3099         have a button press.
3100         (checkAndActivateInset): if button < 0 we don't have a button press
3101         on the inset and os we won't call edit on it if it's not a Highly
3102         editable inset (then we have to enter it).
3103
3104 2002-05-13  Juergen Vigna  <jug@sad.it>
3105
3106         * insetcollapsable.C (insetButtonRelease): returned wrong return
3107         value.
3108
3109 2002-05-09  Juergen Vigna  <jug@sad.it>
3110
3111         * insetcollapsable.C (edit): first_after_edit should only be
3112         set to true if we enter this inset and it was collapsed so we
3113         open it up. This is needed to reclose it after a search/replace
3114         or spellcheck function opened it and was negative.
3115
3116 2002-05-09  Dekel Tsur  <dekelts@tau.ac.il>
3117
3118         * insetfloat.C (latex): Return correct value.
3119
3120 2002-05-04  Herbert Voss  <voss@perce.de>
3121
3122         * InsetgraphicsParams.C (read): fix bug with WH
3123
3124 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
3125
3126         * insetfloat.C (latex): More sensible latex output
3127         (fix the problem with endfloat).
3128
3129 2002-05-02  José Matos  <jamatos@fep.up.pt>
3130
3131         * insetgraphics.C (validate): acess params as everyone else.
3132
3133 2002-05-03  Juergen Vigna  <jug@sad.it>
3134
3135         * insettabular.C (fitInsetCursor): recalculate the cursor position
3136         if I request it.
3137
3138 2002-05-01  Angus Leeming  <a.leeming@ic.ac.uk>
3139
3140         * InsetgraphicsParams.[Ch]: whitespace.
3141
3142 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
3143
3144         * insetfloatlist.C (getScreenLabel): Fix crash in the case where
3145         float type do not exist.
3146
3147 2002-04-28  Herbert Voss  <voss@perce.de>
3148
3149         * insetgraphics.C (latex): fix bug with missing file-extension.
3150         LaTeX still allows a missing "eps" or "ps".
3151
3152 2002-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
3153
3154         * insetfloat.C (c-tor, wide): translate the name of the float.
3155
3156 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
3157
3158         * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
3159         when using natbib and make it work efficiently. Must emphasise that the
3160         real work is Herbert's.
3161
3162 2002-04-23  Herbert Voss  <voss@perce.de>
3163
3164         * insetgraphic.C (prepareFile): fix bug with overwriting and
3165         deleting an existing *.eps-file in the doc-dir
3166
3167 2002-04-23  Juergen Vigna  <jug@sad.it>
3168
3169         * insettabular.C (drawCellSelection): fix off by 1 error.
3170
3171 2002-04-22  Juergen Vigna  <jug@sad.it>
3172
3173         * insettabular.C (setFont): rewoke full selection if it was asked,
3174         after we changed all we had to change.
3175
3176         * insettext.C (insetUnlock): code was uninitialized in some situations.
3177
3178 2002-04-19  Herbert Voss  <voss@perce.de>
3179
3180         * insetgraphic.C (prepareFile): return filename without
3181         extension if we only export without compiling
3182
3183 2002-04-19  Juergen Vigna  <jug@sad.it>
3184
3185         * insettext.C (draw): call a fullRebreak on the row where we had a
3186         change and reset the cursor and selection-cursors.
3187
3188         * insettabular.C (insetUnlock):
3189         (insetButtonPress): call an update before setting the_locking_inset = 0
3190         as otherwise we don't repaint!
3191         (update): reset the cursor position when we changed dimensions as
3192         otherwise our cursor may be on the wrong spot.
3193
3194 2002-04-18  Juergen Vigna  <jug@sad.it>
3195
3196         * insettabular.C (localDispatch): repaint the cell if it was unlocked.
3197         (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
3198         redraw otherwise we won't redraw.
3199
3200         * insettext.C (draw): fixed the setting of LyXText::first_y it was
3201         not really right before, but I only discovered this with the last
3202         changes to Page up/down.
3203
3204 2002-04-17  Juergen Vigna  <jug@sad.it>
3205
3206         * insettext.C (checkAndActivateInset): simplified as we now have the
3207         edit(bv, bool) call.
3208
3209         * insettext.h: changed behind variables to front variables to be
3210         equal to the one in the edit call (as it is for that they are used).
3211
3212 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
3213
3214         * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
3215         not output anything at all!
3216
3217 2002-04-16  Juergen Vigna  <jug@sad.it>
3218
3219         * insettabular.C (insetButtonPress):
3220         (insetUnlock): call a redraw on unlocking the cell inset.
3221
3222         * insettext.C (insetButtonPress): same as below.
3223         (lockInset): new function to set initial values when inset should
3224         be locked.
3225         (insetButtonPress): use above function.
3226         (insetUnlock): don't force a repaint only set the updateStatus. The
3227         outside world should repaint if it thinks it should be done!
3228
3229         * insettabular.C (insetButtonPress): init values if not set as locked
3230         as we are locked if someone presses on us and don't call the edit()
3231         call of the InsetText to lock it do it as BufferView does it!
3232
3233         * inset.h (insetInInsetY): make func const and return an int.
3234         * insettext.C:
3235         * insettabular.C:
3236         * insetcollapsable.C: adapt the above changed function.
3237
3238 2002-04-15  Juergen Vigna  <jug@sad.it>
3239
3240         * insettext.C (getCursorPos): return relative position as to be able
3241         to give them directly to the edit() call.
3242         (edit): we have to set also x_fix as it is not set inside the
3243         setCursorFromCoordinates call!
3244         (insetMotionNotify): ditto.
3245
3246 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
3247
3248         * insetbib.C (getKeys): strip leading '\t's from the line too.
3249         With thanks to Henry Pfister <hpfister@ucsd.edu>.
3250
3251 2002-04-12  Juergen Vigna  <jug@sad.it>
3252
3253         * insettext.h: added cix() helper function and use it where appropriate
3254
3255 2002-04-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3256
3257         * insetgraphics.C (prepareFile): fix bug when graphics is a
3258         relative path
3259
3260 2002-04-12  Juergen Vigna  <jug@sad.it>
3261
3262         * insettext.C (insertInset): remove unneeded code!
3263         (updateLocal): fitCursor() fixes.
3264         (collapseParagraphs): fix a possible problem when having a selection
3265         and collapsing the paragraphs.
3266
3267 2002-04-08  Herbert Voss  <voss@perce.de>
3268
3269         * insetgraphic.C (write): write the rotating angle as
3270         a float as is. test only for != 0.0
3271
3272 2002-04-11  Juergen Vigna  <jug@sad.it>
3273
3274         * insettext.C: new function ciy() and use it for setting inset_y.
3275
3276         * insetert.C (draw): fix the x return for collapsed version.
3277
3278 2002-04-07  Herbert Voss  <voss@perce.de>
3279
3280         * insetgraphic.C (readFigInset): fix bug with subcaption and
3281         rotating
3282
3283 2002-04-08  Herbert Voss  <voss@lyx.org>
3284
3285         * insetgraphicsparam.C: forgot special option and delete old
3286         1.2.0 stuff
3287
3288 2002-04-05  Juergen Vigna  <jug@sad.it>
3289
3290         * insettext.C (localDispatch): make a CURSOR update if we inserted
3291         a character.
3292
3293 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3294
3295         * insetfloatlist.C (getScreenLabel):
3296         (latex): use Floating::listName
3297         (validate): new method
3298
3299 2002-04-03  José Matos  <jamatos@fep.up.pt>
3300
3301         * insetlabel.C (docbook): the anchor is an empty element in docbook.
3302
3303         * insetfoot.[Ch] (docbook): added forgotten method.
3304
3305 2002-04-03  Juergen Vigna  <jug@sad.it>
3306
3307         * insettext.C (insetButtonPress): fix insetButtonPress events the same
3308         way as in Bufferview_pimpl.
3309
3310 2002-04-03  Allan Rae  <rae@lyx.org>
3311
3312         * insetgraphics.C (latex): one % too many makes living on the bleeding
3313         edge fun with less than 30 minutes to a meeting with a PhD supervisor.
3314
3315 2002-03-28  Herbert Voss  <voss@lyx.org>
3316
3317         * insetgraphic.C (latex): simplify the code for the latex
3318         output when the file doesn't exist
3319
3320 2002-03-29  Juergen Vigna  <jug@sad.it>
3321
3322         * insettext.C (updateLocal): fixes to fitCursor calls when locking/
3323         unlocking inset.
3324
3325         * insettabular.C (edit): call fitCursor().
3326
3327         * insettext.C (insetButtonPress): change behaviour of no_selection
3328         to the one in the BufferView selection_possible and fix the spurious
3329         selection bug with it.
3330         (localDispatch): revoke selection on BREAK... functions.
3331
3332 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3333
3334         * insetfloatlist.C (getScreenLabel): translate the GUI label.
3335
3336 2002-03-28  Juergen Vigna  <jug@sad.it>
3337
3338         * insettabular.C (insetAllowed): return true as default value otherwise
3339         we're not able to insert insets inside paragraphs of an not locked
3340         insettext!
3341
3342 2002-03-27  Herbert Voss  <voss@lyx.org>
3343
3344         * insetgraphicsparam.C: change c%, p% to col%, page%
3345
3346 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3347
3348         * insetspecialchar.C (isLineSeparator): disable the nice code to
3349         allow linebreaks after hyphenation and menu separators.
3350
3351 2002-03-26  Herbert Voss  <voss@lyx.org>
3352
3353         * insetgraphics.C (figinsetRead): set the right lyxview
3354
3355 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
3356
3357         * insetgraphicsParams.C (latexify): use \textbackslash in preference to
3358         $\backslash$ and pass a "string const &" to the function.
3359         (prepareFile, latex): use Path rather than MakeAbsPath.
3360
3361 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
3362
3363         * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
3364         proper fix to the graphics cache.
3365         (latex): "really" nice output if the file is not found ;-)
3366
3367 2002-03-26  Juergen Vigna  <jug@sad.it>
3368
3369         * insettext.C (setText): added a LyXFont param and call reinitLyXText()
3370         (collapseParagraphs): fixed inserting of separator ' '
3371
3372         * insettabular.C (insertAsciiString): only check for buffer lenght
3373         not if we have \t or \n inside the buffer as if we don't have we only
3374         have 1 cell and that's it!
3375
3376         * insetert.C (close): don't collapse if inlined.
3377
3378 2002-03-25  Herbert Voss  <voss@lyx.org>
3379
3380         * insetgraphicsParams.C (Read): prevent LyX from hanging if the
3381         graphics file does not exist.
3382
3383 2002-03-25  Angus Leeming  <a.leeming@ic.ac.uk>
3384
3385         * insetgraphics.C (prepareFile): ensure that the file has an absolute
3386         path when preparing export.
3387
3388         * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
3389         no longer MakeRelPath.
3390
3391 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
3392
3393         * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
3394         Used to determine the absolute path to the graphics file in the
3395         graphics cache and only in the graphics cache.
3396         (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
3397         make graphics file name absolute if it is stored as a relative path.
3398
3399         * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
3400         make graphics file name absolute if it is stored as a relative path.
3401
3402         * insettext.C (edit): emit an updateParagraph signal on entering a text
3403         inset. Needs to be emitted when leaving the inset also.
3404
3405 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3406
3407         * all files: ws cleanup
3408
3409         * Makefile.am: remove ld -r stuff
3410
3411 2002-03-21  Juergen Vigna  <jug@sad.it>
3412
3413         * insettext.C (appendParagraphs): new function added to append
3414         the paragraphs to this insets paragraphs.
3415
3416 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3417
3418         * Makefile.am: special rules if partial linking
3419
3420 2002-03-19  Juergen Vigna  <jug@sad.it>
3421
3422         * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
3423
3424 2002-03-18  Angus Leeming  <a.leeming@ic.ac.uk>
3425
3426         * insetgraphics.C: Clean up Baruch's comments a little.
3427         (c-tor): remove code setting id_, as it's set in the Inset c-tor.
3428
3429 2002-03-14  John Levon  <moz@compsoc.man.ac.uk>
3430
3431         * insettabular.C:
3432         * insettheorem.C: wrap warnings
3433
3434         * insetgraphics.C: improve messages, move cached_status_
3435           setting to safer place
3436
3437 2002-03-18  Juergen Vigna  <jug@sad.it>
3438
3439         * insettabular.C (unlockInsetInInset): removed unneeded showCursor
3440         calls.
3441         (localDispatch): ditto
3442
3443         * insettext.C (edit): removed unneeded showCursor calls.
3444         (localDispatch): ditto.
3445
3446 2002-03-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3447
3448         * insetgraphics.h: remove display() method.
3449
3450 2002-03-11  Juergen Vigna  <jug@sad.it>
3451
3452         * insetgraphics.C (draw): hack to fix the redrawing bug.
3453         (draw): seems this fixes #268 (force redraw of row if we changed).
3454
3455         * insettext.C (updateInsetInInset): fixed for updates in insets inside
3456         this inset text (don't know why I missed this earlier).
3457
3458 2002-03-08  Juergen Vigna  <jug@sad.it>
3459
3460         * insettabular.C (updateLocal): do a FULL update if we're not locked
3461         and only a CELL update is asked.
3462
3463         * insettext.C (updateInsetInInset): update insets inside inset also
3464         if it isn't inside the_locking_inset.
3465
3466         * insettabular.C (updateInsetInInset): ditto.
3467
3468 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3469
3470         * insetexternal.C (doSubstitution): check whether we are using a
3471         temp dir for defining $$FPath
3472
3473 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
3474
3475         * insettabular.C:
3476         * insettext.C: remove #include "WorkArea.h".
3477
3478 2002-03-06  Juergen Vigna  <jug@sad.it>
3479
3480         * insettext.C (draw): fixed frame redrawing.
3481         (clear): forgot to set the inset_owner of the paragraph.
3482
3483         * insetert.C (status): pay attention the bv can be 0 here!
3484         (getMaxWidth): add the default leftMargin
3485
3486 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3487
3488         * insetert.C (getMaxWidth): make w unsigned int.
3489
3490 2002-03-05  Juergen Vigna  <jug@sad.it>
3491
3492         * insetert.C (status): change behaviour of Inlined.
3493         (getMaxWidth): added for new inlined behaviour.
3494
3495 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
3496
3497         * insetnote.h (linuxdoc, docbook): add empty methods.
3498         * insetinclude.C (validate): fix a case where buffer->niceFile was used
3499         before being initialized.
3500
3501 2002-03-05  Juergen Vigna  <jug@sad.it>
3502
3503         * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
3504         only that one in the inset. Should be enough.
3505         (updateLocal): set the selection cursor always if we don't have a
3506         selection to be sure it's set!
3507
3508         * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
3509
3510 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3511
3512         * insettext.C (clear): a gross hack to set layout on a newly
3513         created paragraph.
3514
3515 2002-03-04  Juergen Vigna  <jug@sad.it>
3516
3517         * insettabular.C (localDispatch): inserted handling of
3518         LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
3519         (insertAsciiString): new helper function.
3520
3521 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
3522
3523         * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
3524         argument.
3525
3526 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3527
3528         * insettext.C (InsetText): initalize newly created par with
3529         default layout. add bufferparams parameter
3530         first -> first_y
3531
3532         * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
3533         * insetcollapsable.[Ch] (InsetCollapsable): ditto
3534         * insetert.[Ch] (InsetERT): ditto
3535         * insetfloat.[Ch] (InsetFloat): ditto
3536         * insetfoot.[Ch] (InsetFoot): ditto
3537         * insetfootlike.[Ch] (InsetFootLike): ditto
3538         * insetmarginal.[Ch] (InsetMarginal): ditto
3539         * insetminipage.[Ch] (InsetMinipage): ditto
3540         * insetnote.[Ch] (InsetNote): ditto
3541         * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
3542
3543 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3544
3545         * insettext.C: layout as string
3546
3547         * insetinclude.C: layout as string
3548
3549         * insetert.C: layout as string
3550
3551         * insetbib.C: layout as string
3552
3553 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
3554
3555         * insetert.C:
3556         * insettabular.C: remove #include "lyx_gui_misc.h".
3557
3558 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
3559
3560         * Makefile.am:
3561         * figinset.h:
3562         * figinset.C:
3563         * inset.h: remove figinset, yahoo !
3564
3565 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
3566
3567         * insetgraphics.C (c-tors): initialise parent classes explicitly in
3568         copy c-tor and initialise member variables in the correct order.
3569
3570 2002-02-28  Juergen Vigna  <jug@sad.it>
3571
3572         * insettabular.C (localDispatch): clear selection on PgUp/Down.
3573
3574 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3575
3576         * inset.h: ... and add a better one here.
3577
3578         * insetcommand.C (insetButtonRelease): remove that one which was a
3579         bit broken...
3580
3581 2002-02-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3582
3583         * insetcommand.C (insetButtonRelease): ... and move it here.
3584
3585         * inseturl.h: remove insetButtonRelease from there...
3586
3587 2002-02-26  Juergen Vigna  <jug@sad.it>
3588
3589         * inseturl.h: Added a insetButtonRelease call returning true as
3590         prove of concept.
3591
3592         * insetlabel.C (edit): Fixed wrong update handling after change I
3593         leave in the wrong code for the one who wrote it to remove and have
3594         a look what he did wrong.
3595
3596         * insettabular.C (localDispatch): force a SELECTION update if we
3597         had a selection and we passed the event down to the inset (fix #213)
3598         (localDispatch): handle font changing stuff when we have a cell
3599         selection so that the selection is not rewoked. I don't really like
3600         this fix, but it's the only way I see to do it right now.
3601
3602 2002-02-22  Juergen Vigna  <jug@sad.it>
3603
3604         * insettext.C (insetUnlock): set the cursor to the second paragraph
3605         if available and if the first one is empty (fix #191).
3606
3607 2002-02-20  Juergen Vigna  <jug@sad.it>
3608
3609         * insettext.C (getDrawFont): implemented this function to call the
3610         one of the owner if present as the owner normally knows what to do
3611         with us.
3612
3613         * insetert.C: implement getDrawFont() function and comment out all
3614         the crap for setting a special latex font inside this inset.
3615         (InsetERT): added a Lanugage parameter to this constructor.
3616
3617         * inset.h: added function getDrawFont(LyXFont & font) to be able to
3618         change the font for being drawn on screen (used only in InsetERT for
3619         now).
3620
3621         * insettabular.C (draw): clear the parts around a cellinset ALWAYS
3622         and also above (was missing).
3623         (updateLocal): don't remove the cell selection if we have one this
3624         should be done where we really want to remove it.
3625
3626 2002-02-20  José Matos  <jamatos@fep.up.pt>
3627
3628         * insetinclude.h: include_label made string const.
3629
3630         * insetinclude.C (InsetInclude): moved include_label initialization.
3631         (linuxdoc):
3632         (docbook):
3633         (validate): fix support for temporary directory, for docbook and
3634         linuxdoc.
3635
3636         * insetgraphics.h : new private member, graphic_label, that holds
3637         the entity name that defines the graphics location (SGML).
3638
3639         * insetgraphics.C (unique_id): new function to give a unique label
3640         for graphic.
3641         (docbook):
3642         (validate): the file locatation is given by an entity reference.
3643
3644 2002-02-18  Herbert Voss  <voss@lyx.org>
3645
3646         * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
3647
3648 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
3649
3650         * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
3651         as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3652
3653 2002-02-18  José Matos  <jamatos@fep.up.pt>
3654
3655         * insetinclude.C (validate): some code only applies to latex buffers,
3656         it was made conditional.
3657
3658 2002-02-12  Herbert Voss  <voss@lyx.org>
3659
3660         * insetgraphics.C: (prepareFile) do not check at this time
3661         if the file is present.
3662
3663 2002-02-12  Herbert Voss  <voss@lyx.org>
3664
3665         * insetgraphics.C: latex(), return the correct newlines
3666
3667 2002-02-13  José Matos  <jamatos@fep.up.pt>
3668
3669         * inseturl.C (docbook): escape & in url.
3670
3671 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3672
3673         * insetspecialchar.C (isLineSeparator): line breaking is allowed
3674         after HYPHENATION and MENU_SEPARATOR
3675
3676         * inset.h (isLineSeparator): new method, returns false by default.
3677
3678 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3679
3680         * insetert.C (status): do not update the text inset, but the ERT
3681         inset.
3682
3683 2002-02-11  John Levon  <moz@compsoc.man.ac.uk>
3684
3685         * insetnote.C: use notebg for background
3686
3687 2002-02-08  Herbert Voss  <voss@lyx.org>
3688
3689         * insetgraphic.C:
3690         * insetgraphicsParams.[Ch]: adding new Option noUnzip to
3691         prevent LyX from unzipping when this should be handled
3692         by latex vis the graphic.cfg.
3693         clean up the code
3694
3695 2002-02-08  Herbert Voss  <voss@lyx.org>
3696
3697         * insetgraphic.C: prepareFile(): fix bug when file doesn't
3698         exists, than return filename with extension
3699
3700 2002-02-06  Herbert Voss  <voss@lyx.org>
3701
3702         * insetgraphic.C: prepareFile(): don't convert the file, when
3703         it's not viewed in LyX. Saves a lot of time when opening a
3704         document!
3705
3706 2002-02-05  Herbert Voss  <voss@lyx.org>
3707
3708         * insetgraphic.C:
3709         * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
3710         and adding a rotate bool similiar to subcaption
3711
3712 2002-02-04  Herbert Voss  <voss@lyx.org>
3713
3714         * insetgraphic.C:
3715         * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
3716         similiar view to the LaTeX one. Get zipped files work.
3717
3718 2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
3719
3720         * insetgraphicsParams.C (init): set display to DEFAULT.
3721         No longer #include "lyxrc.h".
3722
3723 2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
3724
3725         * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
3726         for now (so that the code compiles).
3727
3728 2002-02-02  Herbert Voss  <voss@lyx.org>
3729
3730         * insetgraphic.C: delete inVariant() and some minor changes
3731         * insetgraphicsParams.[C]:
3732
3733 2002-02-01  Angus Leeming  <a.leeming@ic.ac.uk>
3734
3735         * insetgraphics.C (updateInset): if params.display == DEFAULT,
3736         interogate lyxrc.display_graphics before diaplaying the graphic.
3737
3738         * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
3739         InsetGraphicsParams::DisplayType.
3740
3741 2002-01-31  Herbert Voss  <voss@lyx.org>
3742
3743         * insetgraphic.C: (readfigInset) set display to pref-default
3744
3745 2002-01-30  Herbert Voss  <voss@lyx.org>
3746
3747         * insetgraphic.C: get the filetyp from it's contents
3748         * insetgraphicparams.C: add token scale and lyxrc.display when
3749         creating a new inset
3750
3751 2002-01-30  Angus Leeming  <a.leeming@ic.ac.uk>
3752
3753         * figinset.C: added using std::ios directive.
3754
3755 2002-01-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3756
3757         * figinset.C (runqueue): open translation file in binary mode (for
3758         cygwin).
3759
3760 2002-01-27  Herbert Voss  <voss@lyx.org>
3761
3762         * insetgraphic.[Ch]: mostly newritten to support graphicx with
3763         all options and to be sure that the old figinsets are correct
3764         converted.
3765         * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
3766         structure and to support all lengths as LyXLength. The Parameter
3767         structure changed again, but reading of "old" 1.2 graphic insets
3768         is no problem.
3769
3770 2002-01-20  Dekel Tsur  <dekelts@tau.ac.il>
3771
3772         * insetert.h (forceDefaultParagraphs): Added
3773
3774 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3775
3776         * insettabular.C (getMaxWidth):
3777         (forceDefaultParagraphs): use Tabular::GetCellFromInset
3778
3779 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3780
3781         * insettabular.C (getMaxWidthOfCell): adapt to the new definition
3782         of LyXLength::inPixels
3783
3784         * inset.C (latexTextWidth):
3785         * insetminipage.C (latexTextWidth): new method, which implements
3786         the equivalent of the LaTeX macro \textwidth
3787
3788         * insetminipage.C (getMaxWidth): use latexTextWidth
3789
3790 2002-01-18  Juergen Vigna  <jug@sad.it>
3791
3792         * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
3793
3794 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3795
3796         * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
3797
3798         * insetminipage.[Ch]: change width_ and height_ to be LyXLength
3799         instead of string
3800
3801 2002-01-17  Juergen Vigna  <jug@sad.it>
3802
3803         * insettabular.C (lockInsetInInset): same change as in insettext.
3804
3805         * insettext.C (draw): width() function was called without setting
3806         the right top_x which could lead to wrong insetWidth setting!
3807         (lockInsetInInset): call edit instead of calling lockInset if we
3808         have to lock an inset inside!
3809         (edit): we have to also tell the inset that we have to redraw the
3810         frame on an edit call if this inset draws a frame only if locked.
3811
3812 2002-01-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3813
3814         * insetbib.C (getFiles): uncomment Path variable.
3815
3816 2002-01-16  Juergen Vigna  <jug@sad.it>
3817
3818         * insettabular.C (forceDefaultParagraphs): fixed bug returning value
3819         of wrong cell.
3820
3821 2002-01-16  Allan Rae  <rae@lyx.org>
3822
3823         * insetinclude.C (docbook): someone forgot a ";"
3824
3825 2002-01-16  José Matos  <jamatos@fep.up.pt>
3826
3827         * figinset.C (docbook): removed a old place holder "@".
3828         * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
3829         * insetinclude.C (linuxdoc): if include is verbatim, then export the
3830         ascii text version, clearly guarded inside a CDATA section.
3831         (docbook): in docbook 4, inlinegraphics is empty.
3832         * insettabular.C (linuxdoc): export the ascii version of the table
3833         inside a CDATA section.
3834
3835 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3836
3837         * insetparent.C (InsetParent):
3838         * insetgraphicsParams.C (Write):
3839         (Read):
3840         * insetgraphics.C (prepareFile):
3841         (readFigInset):
3842         (docbook):
3843         * insetexternal.C (executeCommand):
3844         (doSubstitution): use Buffer::filePath
3845
3846         * insetbib.C (getFiles): add a #warning for Angus
3847
3848         * insetgraphics.C: Add a remark about how filenames should be
3849         considered to be relative to buffer (but absolute is still allowed)
3850         (draw): do not try to get status if lyxrc.use_gui is false
3851
3852 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
3853
3854         * inset.[Ch]:
3855         * insetcollapsable.[Ch]:
3856         * insettabular.[Ch] (searchForward, searchBackward): change the
3857         bool const & params to bool.
3858
3859         * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
3860         to avoid the name clash with InsetCollapsable's methods of the same
3861         names but different functionality.
3862
3863 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
3864
3865         * insettext.C (ascii): use lyx::count rather than countChar.
3866
3867 2002-01-14  John Levon  <moz@compsoc.man.ac.uk>
3868
3869         * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
3870
3871 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3872
3873         * insetgraphics.C (updateInset): do not try to render image if
3874         lyxrc.use_gui is false (bug #104)
3875
3876         * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
3877         if file does not exist
3878
3879         * figinset.C (browseFile): add shortcuts to directory buttons
3880
3881         * insettext.C (updateLocal): update menubar and toolbar here too.
3882
3883 2002-01-13  Allan Rae  <rae@lyx.org>
3884
3885         * insettabular.C (InsetTabular): Both constructors now initialise
3886         all class variables.
3887
3888 2002-01-11  Juergen Vigna  <jug@sad.it>
3889
3890         * insettext.C (insetButtonPress): set the_locking_inset to 0.
3891
3892 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3893
3894         * insettabular.C (getStatus): add forgotten brace around multiline
3895         if statement.
3896
3897 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3898
3899         * insetfloat.C (validate): require "float" instead of "floats".
3900
3901 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
3902
3903         * insettabular.C (getStatus): use FuncStatus
3904
3905 2002-01-08  Juergen Vigna  <jug@sad.it>
3906
3907         * insettabular.C (insetButtonRelease): now this should work too
3908         correctly.
3909
3910         * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
3911         if the width is a percentage.
3912
3913         * inset.h: added isChar() function and implemented this for
3914         insetspecialchar insetquotes and insetlatexaccent.
3915         added forceDefaultParagraphs() and implemented it for insettabular.
3916
3917 2002-01-07  Juergen Vigna  <jug@sad.it>
3918
3919         * insettext.C (getLyXText): Fixed this function. An insert into the
3920         map is only done if we REALLY have a new BufferView.
3921
3922 2002-01-07  Martin Vermeer  <martin.vermeer@hut.fi>
3923
3924         * insettext.C: fix bug illustrated by attachment #37 of bug #59
3925
3926 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
3927
3928         * insetinclude.C: fix use of FileInfo
3929
3930 2002-01-07  Juergen Vigna  <jug@sad.it>
3931
3932         * insettabular.C (draw): fixed clearing of cell around inset.
3933
3934 2002-01-05  Juergen Vigna  <jug@sad.it>
3935
3936         * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
3937         variables are updated.
3938
3939         * insettabular.C (resetPos): set always the inset_y as it may be
3940         needed in another function.
3941         (searchBackward): don't draw while searching.
3942
3943 2002-01-04  Juergen Vigna  <jug@sad.it>
3944
3945         * insettext.C (lockInsetInInset): forgot to set a cursor.
3946
3947 2002-01-02  Juergen Vigna  <jug@sad.it>
3948
3949         * insettext.C (insertInset): make the correct undo informations on
3950         inserting new insets.
3951
3952 2001-12-31  John Levon  <moz@compsoc.man.ac.uk>
3953
3954         * insettabular.C: correct single-cell select vertically
3955
3956 2001-12-27  Juergen Vigna  <jug@sad.it>
3957
3958         * insettabular.C (ascii): export as tab-separated-values if the
3959         function was not called from export (f.ex.: clipboard).
3960
3961         * insetcollapsable.h: added default support for ascii, linuxdoc and
3962         docbook export (the insettext is exported by default!)
3963
3964         * insettabular.C (copySelection): suff the clipboard with the tabular
3965         data in a tab separated format, seems more naturals then with all the
3966         formating.
3967
3968 2001-12-24  Juergen Vigna  <jug@sad.it>
3969
3970         * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
3971         to check for REAL mouseMotion.
3972
3973 2001-12-20  Juergen Vigna  <jug@sad.it>
3974
3975         * inset.C (cursor): return the owners cursor if available instead of
3976         always only the bv->text->cursor.
3977
3978         * insettabular.C (checkLongtableSpecial): works now.
3979
3980 2001-12-19  Juergen Vigna  <jug@sad.it>
3981
3982         * insettabular.C (tabularFeatures): fix the row setting of ltt as
3983         this has to be always row + 1 as 0 means not selected!
3984         (checkLongtableSpecial): added
3985         (tabularFeatures): better longtable options support
3986
3987         * insettext.C (resizeLyXText): reinit the text always also on a
3988         empty insettext!
3989
3990 2001-12-18  Juergen Vigna  <jug@sad.it>
3991
3992         * insettext.C (updateInsetInInset): look if we have to autocollapse
3993         paragraps and return if the update is requested for ourself.
3994
3995         * insetert.C (status): update the insettext not myself as that is what
3996         we need.
3997
3998         * insetcollapsable.C (updateInsetInInset): always call the InsetText's
3999         function only return if the update was requested with myself.
4000
4001         * insettext.C (insetButtonPress): fixed stupid bug.
4002         (various functions): pay attention that lt is cleared BEFORE calling
4003         updateLocal() and try to use it in the right manner (don't use it
4004         if it's not really neccessary!)
4005         (collapseParagraphs): insert a blank between collapsing paragraphs
4006         if neccessary (not already there!).
4007
4008 2001-12-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4009
4010         * insettabular.C: move includes around a bit, add a couple of
4011         consts.
4012
4013         * insettext.[Ch]: move includes around a bit, other ws changes and
4014         small stuff.
4015
4016 2001-12-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4017
4018         * insettext.C (insetButtonRelease): fix compile problem
4019
4020 2001-12-17  Juergen Vigna  <jug@sad.it>
4021
4022         * insettext.C (insetButtonPress): set the selection cursor!
4023         (insetButtonPress): clear the selection (and set with that the
4024         selection.cursor) if we only hit an inset!
4025
4026         * insetert.C (read): removed piece of compatibility code only needed
4027         for 1.2.0.
4028
4029         * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
4030         can be opened.
4031
4032         * insetcollapsable.C (insetButtonRelease): changed so that it can
4033         open eventual existing popup dialogs on mousebutton==3.
4034
4035         * insetfloat.C (insetButtonRelease): removed not needed anymore!
4036
4037         * insetminipage.C (insetButtonRelease): removed not needed anymore!
4038
4039         * inset.C (insetButtonRelease): return a bool for telling the outer
4040         world that we opened a dialog.
4041
4042 2001-12-07  Juergen Vigna  <jug@sad.it>
4043
4044         * insettext.C (paragraph): remove the deleteing of paragraphs as
4045         it was a WRONG move!
4046
4047 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
4048
4049         * insettabular.h:
4050         * insettabular.C: use new setSelection(). Allow
4051           selection of single cells.
4052
4053 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4054
4055         * insetquotes.C (latex): fix to use the local language setting at
4056         the point where the inset is inserted (different macros for
4057         different french packages)
4058
4059 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4060
4061         * inset.h: add par_owner_ member variable and parOwner
4062         setter/accessor.
4063
4064 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4065
4066         * insettabular.C (everywhere): adapt because widths are now real
4067         widths and not strings
4068
4069         * insettext.C (draw): re-introduce the calls to width(), ascent()
4070         and descent() to initialize the caching variables.
4071
4072 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4073
4074         * insettext.C (draw):
4075         (drawFrame): use insetWidth instead of last_width
4076
4077         * insettext.h: remove variable last_width (insetWidth is exactly
4078         the same) and last_height (computed but never used!)
4079
4080 2001-12-10  Allan Rae  <rae@lyx.org>
4081
4082         * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
4083
4084 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
4085
4086         * insettext.C (insetAllowed): add comment
4087
4088 2001-12-05  Juergen Vigna  <jug@sad.it>
4089
4090         * insettext.C (insetAllowed): fixed for the case that we directly
4091         ask the insettext from its LyXText.
4092         (paragraph): fixed the crash when assigning the par->next() from
4093         the EmptyParagraphMechanism!
4094
4095 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4096
4097         * insetbib.C:
4098         * insettabular.C:
4099         * insettext.C: change "while(" to "while ("
4100
4101 2001-12-04  Juergen Vigna  <jug@sad.it>
4102
4103         * insetert.C (edit): handle Inlined status.
4104
4105         * insettext.C (insertInset): trying John's fix for the trailing cursor
4106
4107         * insetert.C (insetButtonPress): added to handle inlined status
4108         (insetMotionNotify): ditto.
4109
4110         * insettext.C (clearInset): changed Painter & in BufferView * param,
4111         to be able to call ascent,descent methods.
4112
4113 2001-12-03  Juergen Vigna  <jug@sad.it>
4114
4115         * insettext.C (updateInsetInInset): use lt variable to forbid
4116         changes of LyXText in an update call.
4117         (updateInsetInInset): fixed updating of non locked insets!
4118
4119 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
4120
4121         * insettabular.C: capture some more functions to prevent
4122         selection drawing problems. Bug #451274
4123
4124 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
4125
4126         * insetgraphics.C:
4127         * insetgraphicsParams.C: fix inverted sense of float_equal
4128
4129 2001-11-30  Juergen Vigna  <jug@sad.it>
4130
4131         * insettabular.C (InsetTabular): use the save_id flag to create also
4132         the tabular with the same id's.
4133
4134         * insettext.C (setParagraphData): added a same_id function for undo
4135         to set the same paragraph id's as of the paragraph we are setting.
4136
4137 2001-11-30  José Matos <jamatos@fep.up.pt>
4138
4139         * inseturl.[Ch]:
4140         * insettoc.[Ch]: DocBook -> docbook.
4141
4142 2001-11-29  André Pönitz <poenitz@gmx.net>
4143
4144         * inseterror.C:
4145         * insettext.C: further reduction of header dependencies by using
4146         lyx::layout_type and lyx::textclass_type from support/types.h
4147
4148 2001-11-29  Juergen Vigna  <jug@sad.it>
4149
4150         * insettext.C: inserted a reinitLyXText function everywhere I delete
4151         the paragraphs! This should fixe the crashes we had.
4152         Also use the new function firstRow() instead of getRowNearY(dummy_y)
4153         (paragraph): set the InsetOwner() of the new paragraphs!
4154
4155 2001-11-28  André Pönitz <poenitz@gmx.net>
4156
4157         * insetnote.C: add pos initialization that I removed without
4158           knowing what I did.
4159
4160 2001-11-28  Juergen Vigna  <jug@sad.it>
4161
4162         * insettabular.C (resetPos): hack to not crash with infinite paints.
4163
4164         * insettabular.h: insert missing function allowSpellcheck()!
4165
4166         * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
4167
4168 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
4169
4170         * insetfloatlist.h:
4171         * insetfloatlist.C: derive from InsetCommand so gui can use it
4172           easily
4173
4174 2001-11-26  André Pönitz <poenitz@gmx.net>
4175
4176         * insettext.[Ch]:
4177         * insetert.C:
4178         * insetnote.C: reduce header dependencies, introduce type for
4179         positions
4180
4181 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
4182
4183         * various: update for Alert.h
4184
4185 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
4186
4187         * inset.h: fix comment
4188
4189         * insettext.C: use par->isInset()
4190
4191 2001-11-22  Allan Rae  <rae@lyx.org>
4192
4193         * insetcollapsable.h:
4194         * inset.h: Changes to checkInsertChar() behaviour.
4195         Now return value indicates whether chars can be inserted.
4196
4197 2001-11-11  Michael A. Koziarski <michael@koziarski.org>
4198
4199         * various:  updated to use the new LaTeXFeatures
4200
4201 2001-11-14  José Matos  <jamatos@fep.up.pt>
4202
4203         * insetspecialchar.C (linuxdoc):
4204         (docbook): don't give a name to a unused variable.
4205
4206         * insettext.C (docbook): removed unused variable.
4207
4208 2001-11-13  Herbert Voss  <voss@perce.de>
4209
4210         * insetgraphic.C: fix scale bug
4211
4212 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4213
4214         * inset.h (isSpace):
4215         (isLetter): new virtual methods.
4216
4217         * insetspecialchar.C (isSpace):
4218         (isLetter): implement here.
4219
4220 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
4221
4222         * inset.h: new inline helpers
4223
4224         * insettext.C: use new helpers
4225
4226 2001-11-07  José Matos  <jamatos@fep.up.pt>
4227
4228         * insettext.C (docbook): full support for paragraphs inside insettext.
4229
4230 2001-11-06  José Matos  <jamatos@novalis.fc.up.pt>
4231
4232         * insetindex.C: added header file for std::ostream.
4233
4234 2001-11-03  José Matos  <jamatos@fep.up.pt>
4235
4236         * insetindex.C: added using std::ostream that I forgot yesterday.
4237
4238 2001-11-02  Ben Guillon  <nicolas.marsgui@libertysurf.fr>
4239
4240         * insetindex.h (docbook):
4241         * insetindex.C (docbook): added support for docbook export.
4242
4243 2001-11-02  José Matos  <jamatos@fep.up.pt>
4244
4245         * insetcaption.C(docbook): added support for docbook export.
4246
4247 2001-11-02  Dekel Tsur  <dekelts@tau.ac.il>
4248
4249         * insetexternal.C (updateExternal): Do not run update command if
4250         result file exists and is up to date.
4251
4252         * ExternalTemplate.C (readFormat): Support the updateresult token.
4253
4254 2001-10-31  Kayvan A. Sylvan  <kayvan@sylvan.com>
4255
4256         * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
4257         external_templates) to use the buffer->fileName() but only if
4258         previewing. Generating a TeX file should make FPath return
4259         "".
4260
4261 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
4262
4263         * insetert.h:
4264         * insetert.C: fix some problems
4265
4266 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
4267
4268         * insetexternal.C (doSubstitution): Added $$FPath token
4269         to list of usable substitutions in external inset templates.
4270
4271 2001-10-24  Juergen Vigna  <jug@sad.it>
4272
4273         * insettabular.C: use new ltType struct for setting longtable
4274         header and footers also new UNSET enums.
4275
4276 2001-10-24  José Matos  <jamatos@fep.up.pt>
4277
4278         * insettabular.C (linuxdoc): Now exports the ascii's table version.
4279         (docbook): If the table is not inside a float then wrap it inside
4280         <informaltable>...</informaltable>.
4281
4282 2001-10-23  José Matos  <jamatos@fep.up.pt>
4283
4284         * insetref.C (docbook): removed / terminator to conform SGML.
4285
4286         * insetspecialchar.C (linuxdoc):
4287         (docbook): Added support for special chars, more than ascii export.
4288
4289 2001-10-22  Juergen Vigna  <jug@sad.it>
4290
4291         * insettext.C (checkInsertChar): added for REALLY checking the
4292         font of the inserted char in the right inset!
4293
4294 2001-10-19  Juergen Vigna  <jug@sad.it>
4295
4296         * inset.h: added method allowSpellcheck() so that insets who do
4297         not have anything to spellcheck can tell and so they are over-jumped.
4298         Implemented for InsetText and co.
4299
4300 2001-10-18  Juergen Vigna  <jug@sad.it>
4301
4302         * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
4303
4304 2001-10-15  José Matos  <jamatos@fep.up.pt>
4305
4306         * insetert.C: allow export for docbook and linuxdoc
4307
4308 2001-10-07  Adrien Rebollo <adrien.rebollo@gmx.fr>
4309
4310         * insetquotes.C (dispString): handles latin3 and latin4 quotes
4311
4312 2001-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4313
4314         * insetquotes.C (dispString): fix handling of latin9 quotes
4315
4316 2001-10-03  Juergen Vigna  <jug@sad.it>
4317
4318         * insetert.C: ditto
4319
4320         * insetcollapsable.C: change updateInset calls to not tell BV that
4321         we have changed status.
4322
4323 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4324
4325         * insettabular.C (deletable): make const
4326
4327 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
4328
4329         * insetert.C (latex): Fix the returned value
4330
4331 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
4332
4333         * insetert.[Ch] (selectNextWordToSpellcheck): new method.
4334         Returns string(), so nothing in an ERT inset is spellchecked.
4335
4336         * insetgraphics.C (draw): print the filename if not displaying the
4337         image.
4338         (width): make sure that the width and draw methods are consistent.
4339         (updateInset): don't even load the image into cache if not displaying
4340         it.
4341
4342 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
4343
4344         * various files (selectNextWord): renamed as
4345         selectNextWordToSpellcheck.
4346
4347         * insetgraphics.C (draw): remove the previous change. Right place
4348         is in imageLoaderXPM.C.
4349         (draw): don't display the image if params.display == NONE.
4350
4351 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
4352
4353         * figinset.C (runqueue):
4354         * insetgraphics.C (draw): set background colour of inset from
4355         background to the user-configurable graphicsbg.
4356
4357 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4358
4359         * insetquotes.C (InsetQuotes): when trying to decide the side of
4360         the quote, choose `left' only after a space or '('
4361
4362 2001-09-04  José Matos  <jamatos@fep.up.pt>
4363         * figinset.C
4364         * figinset.h
4365         * insetcaption.C
4366         * insetcaption.h
4367         * insetcollapsable.h
4368         * insetcommand.C
4369         * insetcommand.h
4370         * inseterror.h
4371         * insetert.C
4372         * insetert.h
4373         * insetexternal.C
4374         * insetexternal.h
4375         * insetfloat.C
4376         * insetfloat.h
4377         * insetfloatlist.h
4378         * insetgraphics.C
4379         * insetgraphics.h
4380         * inset.h
4381         * insetinclude.C
4382         * insetinclude.h
4383         * insetlabel.C
4384         * insetlabel.h
4385         * insetlatexaccent.C
4386         * insetlatexaccent.h
4387         * insetquotes.C
4388         * insetquotes.h
4389         * insetref.C
4390         * insetref.h
4391         * insetspecialchar.C
4392         * insetspecialchar.h
4393         * insettabular.C
4394         * insettabular.h
4395         * insettext.C
4396         * insettext.C (docbook): rename docBook method to docbook.
4397
4398 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
4399
4400         * inset.h (getFirstParagraph): New virtual method.
4401
4402 2001-08-20  Herbert Voss  <voss@perce.de>
4403         * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
4404         in the the bibtex-database-gui for inserting a line
4405         \addcontentsline...
4406
4407         If no style is given than there is no tex-output.
4408
4409 2001-08-18  Angus Leeming  <a.leeming@ic.ac.uk>
4410
4411         * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
4412         files as a vector.
4413         (getKeys): use it.
4414
4415 2001-08-18  Dekel Tsur  <dekelts@tau.ac.il>
4416
4417         * insetert.C (latex): Fix output for multiple paragraphs.
4418         (write): New code for writing paragraph data.
4419         (read): Set font after reading the inset.
4420         (localDispatch): Call set_latex_font() for more cases.
4421
4422         * insetnote.h: Add empty validate method.
4423         * insetert.h: Ditto
4424
4425         * insetnote.C (InsetNote): Set language to the language of the
4426         document.
4427
4428 2001-08-16  Juergen Vigna  <jug@sad.it>
4429
4430         * insettext.C: implemented the new FINISHED states.
4431
4432         * insettabular.C: ditto
4433
4434         * inset.h: added more FINISHED states for cursor right,up,down
4435
4436 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
4437
4438         * insetfloatlist.C: use "FloatName List"
4439
4440 2001-08-14  Juergen Vigna  <jug@sad.it>
4441
4442         * insetert.C (edit): forgot to set status_ in edit calls!
4443
4444 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
4445
4446         * insettext.C: Compilation fix
4447
4448 2001-08-13  Juergen Vigna  <jug@sad.it>
4449
4450         * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
4451
4452         * insetcollapsable.C (edit): don't recollapse an already open inset.
4453
4454         * insettext.C: fixed problem when reinitializing LyXText by not doing
4455         it while lt is in use and post this to the next possible time in
4456         getLyXText().
4457         (searchForward): fixed not unlocking of inset if nothing found.
4458         (edit): set cursor behind right (was set -1 pos).
4459
4460         * insetert.C (InsetERT): init status_ also in the 3rd constructor.
4461
4462         * insettabular.C (tabularFeatures): fixed fix where deleting the
4463         last row didn't get the right actcell!
4464
4465 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
4466
4467         * insettext.C (localDispatch): Change language only when the inset
4468         becomes empty.
4469
4470 2001-08-10  Juergen Vigna  <jug@sad.it>
4471
4472         * insettabular.C (selectNextWordInt): use the front using edit call.
4473
4474         * insetcollapsable.C (getMaxWidth): rename inset to in to not have
4475         the parameter overwrite class variable inset.
4476
4477         * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
4478
4479         * insettext.C (saveLyXTextState): check for invalid cursor-par.
4480         (reinitLyXText): remove wrong_cursor bool as not needed anymore!
4481
4482         * insettabular.C (calculate_dimensions_of_cells): let's try to call
4483         update only for fixed with cells.
4484         (resetPos): try to fix the lockup on spellchecking or s&r.
4485
4486         * insettext.C (update): comment this out as it seems first wrong
4487         and second not needed anymore!
4488         (some functions): call reinitLyXText() only in update() in all other
4489         positions set only need_update = INIT.
4490
4491 2001-08-08  Juergen Vigna  <jug@sad.it>
4492
4493         * insettabular.C (setPos): fixed wrong actrow < rows() check.
4494
4495         * insettext.C (insetUnlock): remove double-space on inset unlock.
4496
4497         * insetcollapsable.C (draw): fix returned x when label > inset-width.
4498
4499         * insettabular.C (update): fixed cursor positon after an insert.
4500         (insetAllowed): do not allow to insert insets when not inside the
4501         inset!
4502         (draw): clear below an inset too as it could have changed height.
4503
4504         * inset.C (getMaxWidth): fixed width for inset in inset.
4505
4506         * insettext.C (update): small fix.
4507
4508         * insettabular.C (tabularFeatures): added selection support to
4509         DELETE_ROW/DELETE_COLUMN.
4510
4511 2001-08-07  Juergen Vigna  <jug@sad.it>
4512
4513         * inset.C (getMaxWidth): recoded and all it's implementations!
4514
4515         * insettext.C (init,setParagraph+constructors): cleanups
4516         (reinitLyXText): fixed problem with wrong cursor when all paragraphs
4517         are new and I want do a save/restore of the cursor position which is
4518         not possible anymore.
4519
4520         * insetcollapsable.C (searchBackward): recollapse inset if not found.
4521         (searchBackward): ditto
4522         (selectNextWord): ditto
4523
4524 2001-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
4525
4526         * insetlatexaccent.C (checkContents): Add some debug messages
4527
4528 2001-08-07  Juergen Vigna  <jug@sad.it>
4529
4530         * insetert.C (read): don't use InsetCollapsable::read as we don't
4531         write the collapsed status anymore only the status.
4532         (write): ditto.
4533
4534 2001-08-06  Juergen Vigna  <jug@sad.it>
4535
4536         * insetert.C (set_latex_font): use LyXText's setFont directly.
4537
4538         * insettext.C (drawFrame): fixed one time more the right position
4539         and size of the frame!
4540
4541         * insetert.C (~InsetERT): hide the dialog.
4542         (showInsetDialog): added implementation
4543         (open): ditto
4544         (close): ditto
4545         (status): new function for the status of the ERT inset (3-state).
4546         (write): output also the status of the inset for readback!
4547         (read): readback the status if available otherwise use collapsed_.
4548
4549         * insettext.C (edit): small fix of setting the position, which could
4550         have gone < 0.
4551
4552         * insetert.C (width): implement this function for inlined viewing.
4553         Added minimum width of 10 pixels!
4554
4555         * insetminipage.C (InsetMinipage): just change the colors a bit so
4556         that border/background is a bit more visible. We will remove this
4557         anyway for 1.2.0!
4558
4559         * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
4560         function for getting the important widths for drawing in various
4561         functions and in LyXText.
4562         (draw): fixed up a bit (frame drawing/clearing)
4563
4564 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4565
4566         * inset.C (convertFont): delete method. not used.
4567
4568 2001-08-03  Juergen Vigna  <jug@sad.it>
4569
4570         * insettext.C (setFont): don't call for a draw update if we're just
4571         changing the cursor font!
4572
4573 2001-08-02  Juergen Vigna  <jug@sad.it>
4574
4575         * insettext.C (draw): clear the background with the right color if
4576         needed. Update myself if x&max-width changed and return without doing
4577         anything. Let the update code handle the right stuff.
4578
4579         * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
4580         inside another inset.
4581
4582 2001-08-01  Juergen Vigna  <jug@sad.it>
4583
4584         * insetcollapsable.C (update): added an in_update bool so we avoid
4585         reentering.
4586
4587         * insettabular.C (update): added an in_update bool so we avoid
4588         reentering.
4589
4590         * insettext.C (insetButtonPress): hopefully fixed setselection/clear
4591         selection problem.
4592         (update): added an in_update bool so we avoid reentering.
4593
4594         * insettabular.C (localDispatch): clear col/row selection when doing
4595         something else inside an inset.
4596
4597         * insettext.C (getLyXText): fixed bug when requesting a recursive
4598         insettext!
4599
4600 2001-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
4601
4602         * insetcite.C (latex): Paranoia check. Make sure that there is no
4603         whitespace between the citation keys.
4604
4605 2001-07-31  Juergen Vigna  <jug@sad.it>
4606
4607         * inset.h (nodraw): make the set function also const so that this
4608         can be called from inside other const functions.
4609
4610         * insetcollapsable.h: removed inline variable and moved it over
4611         to the only user InsetERT.
4612
4613         * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
4614         inset opening immediately therein lying insets dialogs!
4615
4616         * insetert.C (localDispatch): set the font also if we don't have any
4617         chars in this paragraph, otherwise if we delete all of em and start
4618         writing we have the wrong font.
4619         (inlined): added
4620         (draw): implemented for inline support
4621         (insetButtonRelease): ditto.
4622
4623 2001-07-30  Juergen Vigna  <jug@sad.it>
4624
4625         * insettext.C (reinitLyXText): new function to reinit the insets
4626         text after lot's of paragraph changes. Use this instead of the
4627         cache.clear() which is VERY dangerous.
4628
4629         * insetfloat.C (insetButtonRelease): we should only show the dialog
4630         if we press on the label otherwise we have problems to open mouse
4631         button 3 dialogs inside this float (f.ex. of a tabular!)
4632
4633 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4634
4635         * insetert.C: change back to "ERT"
4636
4637         * insetfloat.C: handliign of RMB on label added.
4638
4639 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4640
4641         * insetgraphicsParams.C: #include LOstream.h here.
4642
4643         * insetfoot.h: remove InsetFoot:: qualifier.
4644
4645 2001-07-29  Baruch Even  <baruch@lyx.org>
4646
4647         * ChangeLog: Hiding time travel evidence.
4648
4649         * insetgraphicsParams.h:
4650         * insetgraphicsParams.C:
4651         * insetgraphics.C: Added horizontal scale option, it actually scales both
4652         directions since it keeps image proportions.
4653
4654         * insetgraphics.C: Fixed EPS detection to be non-hacky.
4655
4656 2001-07-29  Baruch Even  <baruch@lyx.org>
4657
4658         * insetgraphics.C (decideOutputImageFormat): when doing postscript output
4659         convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
4660
4661         HACKY! Will need to add an EPS detection routine like old InsetFig does!
4662
4663 2001-07-29  Baruch Even  <baruch@lyx.org>
4664
4665         * insetgraphics.C: Added EPSI to be an alias of EPS.
4666
4667 2001-07-29  Baruch Even  <baruch@lyx.org>
4668
4669         * insetgraphics.C: Change GRAPHICS to Graphics.
4670         Changed image conversion rules (documented at the beginning of file).
4671
4672 2001-07-28  Angus Leeming  <a.leeming@ic.ac.uk>
4673
4674         * insetert.C (get_new_label): int -> Paragraph::size_type to get
4675         std::min working.
4676
4677         * insetgraphics.C: added a using std::endl directive.
4678
4679         * insetcommand.h (getScreenLabel): removed pure virtual function,
4680         as it duplicates that in InsetButton.
4681
4682         * insetbib.[Ch] (getScreenLabel):
4683         * insetbutton.[Ch] (getScreenLabel):
4684         * insetcite.[Ch] (getScreenLabel):
4685         * insetert.[Ch] (getScreenLabel):
4686         * insetexternal.[Ch] (getScreenLabel):
4687         * insetfloatlist.[Ch] (getScreenLabel):
4688         * insetinclude.[Ch] (getScreenLabel):
4689         * insetindex.[Ch] (getScreenLabel):
4690         * insetlabel.h (getScreenLabel):
4691         * insetparent.[Ch] (getScreenLabel):
4692         * insetref.[Ch] (getScreenLabel):
4693         * insettoc.[Ch] (getScreenLabel):
4694         * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
4695
4696         * insetcite.C (getScreenLabel): use this Buffer parameter in creating
4697         the label.
4698         (validate): remove check on "cite" when using natbib.
4699
4700 2001-07-26  Baruch Even  <baruch@lyx.org>
4701
4702         * insetgraphics.C (draw): changed casting to be in one place rather than
4703         all over the function.
4704
4705         * insetgraphics.h:
4706         * insetgraphics.C (read): Added compatibility reads of InsetFig.
4707
4708         * insetgraphicsParams.h:
4709         * insetgraphicsParams.C:
4710         * insetgraphics.C: Removed inline option and changed rotateAngle to float.
4711
4712 2001-07-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
4713
4714         * insetfoot.C (validate): Added method to ensure that the
4715         right bit of LaTeX is emitted.
4716
4717         * insetfoot.h: Added validate method to set the correct
4718         LaTeXFeatures bit for the special footnote code.
4719
4720 2001-07-26  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
4721
4722         * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
4723         quotes
4724
4725 2001-07-27  Juergen Vigna  <jug@sad.it>
4726
4727         * inset.h: remove not used font variable in parameter.
4728         removed checkInsertChar in UpdatableInset as it was equal to
4729         the one in Inset and so not needed.
4730
4731         * insetert.C (checkInsertChar): implementation of function
4732         checkInsertChar.
4733
4734         * inset.h: added new function checkInsertChar.
4735
4736         * various files: added c-tor and clone() function.
4737
4738         * insetcollapsable.h: removed clone function here as this should
4739         be only realized in REAL insets and added it to all collapsable
4740         insets! (with the copy-constructor).
4741
4742 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4743
4744         * insetminipage.C (read): handle missing parameters more gracefully
4745
4746         * insetcollapsable.C (read): handel missing collapsed more gracefully
4747
4748 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4749
4750         * insetfloat.C (read): handle missing parameters.
4751
4752         * insettext.C (read): handle old latex end_inset
4753
4754         * insetert.C (setButtonLabel): new method
4755         (init): use it, to set the dynamic label correctly
4756         (read): use it
4757
4758         * Makefile.am (EXTRA_DIST): add files that is not part or the
4759         binary here.
4760
4761         * insetcollapsable.h: remove autocollapsable (no users), remove
4762         draw_label, change_label_with_text and companion code. Remove args
4763         from some methods.
4764         * insetert.[Ch]: move here instead (only user)
4765
4766         * inset.h: rename private variable name to name_, make
4767         selectNextWord return a const string. make getInsetName return a
4768         string const &. Remove bool from open, add close.
4769
4770         * Makefile.am: don't compile insetlist, insetsection
4771         and insettheorem
4772
4773 2001-07-24  Juergen Vigna  <jug@sad.it>
4774
4775         * insetert.C (InsetERT): put init after the paragraph initialization,
4776         as otherwise we don't set the draw_label right.
4777
4778         * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
4779         insets with the mouse without having strange selections.
4780         (edit): if the inset was collapsed and we open it here then put the
4781         cursor always at the beginning of the inset.
4782         (get_new_label): 15 instead of 10 max chars in the label.
4783
4784         * insetert.C (localDispatch): added and handle various stuff we
4785         need to handle here (font setting on paragraph break, not permitted
4786         layout setting, etc.).
4787
4788         * inset.h: added default copy-consturctor and implemented this in
4789         various insets with the change to use this in the clone function!
4790
4791 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4792
4793         * insetminipage.C (InsetMinipage): set background color to red :)
4794
4795 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4796
4797         * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
4798         draw frame mode is LOCKED.
4799
4800         * insetcollapsable.C (edit):
4801         (insetButtonRelease): set update status to full when
4802         opening inset.
4803
4804         * insettext.C (clearInset):
4805         * insettabular.C (draw):
4806         * insetlatexaccent.C (draw): honor background color.
4807
4808         * inset.h: new member background_color_, initialized to
4809         LColor::inherit.
4810
4811         * inset.C (backgroundColor): new method.
4812         (setBackgroundColor): new method.
4813
4814         * insetert.C (init): new method, called by the ctors.
4815         (InsetERT): when inserting contents, make sure the font is
4816         ALL_INHERIT.
4817
4818         * insetnote.C (InsetNote): when inserting content, remove trailing
4819         newline
4820         (init): set background color to LColor::note
4821
4822 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4823
4824         * insetcollapsable.C: adjust
4825
4826         * insetbutton.C: adjust
4827
4828 2001-07-23  Juergen Vigna  <jug@sad.it>
4829
4830         * insetcollapsable.h: removed widthCollapsed variable, LyXFont
4831         parameter on the _collapsed function (was not needed) and call
4832         always width_collapsed().
4833
4834         * insetert.C (InsetERT): use setLabel with "true" flag.
4835
4836         * insetcollapsable.C: modified various functions to set the draw_label
4837         string right in any condition.
4838         (setLabel): added a bool parameter to set change_label_with_text.
4839
4840         * insetcollapsable.h: added draw_label string which is set to the
4841         actual drawn label-string, while label is the original static label
4842         of this collapsable inset. Added bool change_label_with_text to set
4843         if we want that the label changes to the start of the InsetText's
4844         text when collabpsed. You can set this flag with the setLabel funciton.
4845         Added bool inlined for inlined collapsable insets, but not handled
4846         yet.
4847
4848         * insetcollapsable.C (get_new_label): added should get a new label
4849         from the InsetText beginning (for now 10 chars).
4850
4851 2001-07-21  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
4852
4853         * insetquotes.C (latex): fix the handling of french double quotes
4854         when not using the french pachage.
4855
4856 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4857
4858         * insetcollapsable.h: make WidthCollapsed mutable.
4859
4860         * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
4861         InsetPrintIndex returns INDEX_PRINT_CODE.
4862
4863         * inset.h: add INDEX_PRINT_CODE
4864
4865         * insetcollapsable.C (draw): init widthCollapsed if necessary
4866         (width): ditto.
4867
4868         * insetquotes.C (width): use the local language, not the document
4869         language.
4870         (draw): ditto.
4871         (dispString): add additional spacing for all french languages,
4872         like fr_CA.
4873         (validate): make it work when there is no default language
4874
4875         * insetspecialchar.h: rename kind to kind_; add kind() accessor.
4876
4877         * insetnote.C (init): new method, called by the constructors
4878         (InsetNote): new constructor with contents passed as a string
4879
4880 2001-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4881
4882         * insetfootlike.C (insetAllowed): disallow float in footlike.
4883
4884         * insetert.C (InsetERT): add collapsed argument to the constrctor
4885         with contents.
4886
4887 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4888
4889         * insetindex.h: shut off warning
4890
4891 2001-07-20  Juergen Vigna  <jug@sad.it>
4892
4893         * insetcollapsable.C (update): recoded hopefully works now!
4894
4895 2001-07-19  Juergen Vigna  <jug@sad.it>
4896
4897         * most files: implemented the below new introduced function.
4898
4899         * inset.h: added new edit(BufferView *, bool front) method to be able
4900         to enter an inset from the front/back without knowing x/y positions
4901         and baselines inside the inset. So I just can tell the inset activate
4902         me and set the cursor on the front/back of yourself.
4903
4904 2001-07-18  Juergen Vigna  <jug@sad.it>
4905
4906         * insetcollapsable.C (edit): fixed hopefully the y parameter which
4907         is given to the InsetText.
4908         (insetButtonPress): ditto
4909         (insetButtonRelease): ditto
4910         (insetMotionNotify): ditto
4911
4912 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4913
4914         * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
4915         LIGATURE_BREAK, since the name is so stupid.
4916
4917 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
4918
4919         * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
4920         the default InsetCollapsable methods. I.e., it can insert anything.
4921         (write) output the name of the inset, not some silly hack for
4922         compatability with the old InsetInfo.
4923
4924         * insetinfo.[Ch]: removed.
4925         * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
4926         now collapsable, but functionality is otherwise identical to InsetInfo.
4927
4928         * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
4929
4930 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4931
4932         * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
4933         reformatting
4934
4935         * insetquotes.C: general cleanup
4936         (dispString): add spaces inside french double quotes.
4937         (latex): ditto. Moreover, treat first the case where the frenchb
4938         or french options have been given.
4939
4940 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
4941
4942         * insetcite.[Ch] (latex, validate): new methods, required for natbib
4943         support.
4944
4945 2001-07-19  Dekel Tsur  <dekelts@tau.ac.il>
4946
4947         * figinset.C (RegisterFigure): Print debug message only when
4948         current_view is available.
4949
4950 2001-07-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4951
4952         * many files: update to match the change below
4953
4954         * inset.h (insetAllowed): renamed from insertInsetAllowed;
4955         implement the version which takes an inset here.
4956
4957         * insetcollapsable.[Ch]: implement open and isOpen
4958
4959         * inset.h: remove insertInsetAllowed from Inset
4960         (open): new method, to open or close an inset
4961         (isOpen): returns the status of an inset
4962         (isCollapsable, colapse): removed
4963
4964 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
4965
4966         * insetquotes.C (dispString): display french guillemets when using
4967         ISO8859-15.
4968
4969 2001-07-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4970
4971         * insetcollapsable.h: remove bogus return statements
4972
4973 2001-07-18  Juergen Vigna  <jug@sad.it>
4974
4975         * insettabular.C (selectNextWord): fixed spellchecking for the
4976         first cell of a tabular (wasn't entered!)
4977         (getLyXText): changed to enter automatically insettext and return
4978         it's LyXText if we're locked.
4979
4980 2001-07-17  Juergen Vigna  <jug@sad.it>
4981
4982         * various files: implemented the below functions.
4983
4984         * inset.h: added functions
4985         - virtual string selectNextWord(BufferView *, float & value) const;
4986         - virtual void selectSelectedWord(BufferView *) { return; }
4987         - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
4988         needed for spellchecking correctly!
4989
4990 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4991
4992         * insetert.C (latex): write out all paragraphs.
4993
4994 2001-07-17  Baruch Even  <baruch@lyx.org>
4995
4996         * insetgraphics.C (draw): Removed unneeded casts.
4997
4998 2001-07-16  Juergen Vigna  <jug@sad.it>
4999
5000         * insettext.C (update): fixed small oversight (reset lt to 0).
5001
5002 2001-07-14  Baruch Even  <baruch@lyx.org>
5003
5004         * insetgraphics.h:
5005         * insetgraphics.C: Added a copy c-tor and handled the same_id case.
5006
5007 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
5008
5009         Consistent use of Lsstream.h:
5010         * figinset.C: removed using std::ostringstream directive.
5011
5012         * insetgraphics.C (createLatexOptions):
5013         * insetinclude.C (unique_id):
5014         std::ostringstream -> ostringstream.
5015         * insettext.C (localDispatch): std::istringstream -> istringstream.
5016
5017 2001-07-13  Juergen Vigna  <jug@sad.it>
5018
5019         * insetfloat.C (insertInsetAllowed): added missing const_cast.
5020
5021         * insetcollapsable.C (getLockingInset): ditto.
5022
5023 2001-07-12  Juergen Vigna  <jug@sad.it>
5024
5025         * insetcollapsable.h: added implementation of new function for
5026         collapsable status.
5027
5028         * various files: added implementation of new insertInsetAllowed-func
5029         and redone the function a bit more.
5030
5031         * inset.h: added isCollapsable(), bool collapsed(),
5032         collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
5033
5034         * insetfloat.C (insertInsetAllowed): make a bit more checks.
5035
5036         * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
5037         LyXText which is marked for removal while we're using it!
5038
5039         * insettext.h: added private LyXText * lt to use it to assure we are
5040         not deleting our LyXText while we're using it!
5041
5042 2001-07-11  Juergen Vigna  <jug@sad.it>
5043
5044         * insettext.C (insertInset): check if we are before the inset after
5045         inserting it! This check IS needed. Remove the Undo-Call as it is
5046         called in LyXText::insertInset!
5047
5048         * insettext.h: added struct InnerCache.
5049
5050         * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
5051         that we ONLY delete the LyXText in the getLyXText() routine. So we
5052         are sure we don't delete LyXText while someone is working with it!
5053
5054 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5055
5056         * insetexternal.C: (*it). -> it->
5057         * insettext.C: ditto
5058
5059 2001-07-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5060
5061         * insetcollapsable.C (edit): always open collapsed insets (even if
5062         they are not autocollapsable)
5063
5064         * insetcommand.C (operator=): simplify.
5065
5066 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5067
5068         * insetert.C (latex): handle META_NEWLINE
5069
5070 2001-07-09  Juergen Vigna  <jug@sad.it>
5071
5072         * insetert.h: a normal InsetText can insert insets, but we won't.
5073
5074         * inset.h: return default "false" on insertInsetAllowed and implement
5075         this function where a returnvalue != "false" is needed.
5076
5077 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5078
5079         * insetert.C (InsetERT): new contructor
5080
5081 2001-07-06  Juergen Vigna  <jug@sad.it>
5082
5083         * a lot of files: added implementation of the below new functions
5084         and the change to clone(). Also the call of the new undo-functions
5085         where needed.
5086
5087         * inset.h: added an inset_id, added functions getParFromID,
5088         getInsetFromID, firstParagraph, cursor and id functions, added
5089         bool same_ids to clone function.
5090
5091 2001-07-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5092
5093         * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
5094         of BufferView * and shared_ptr<LyXText>
5095
5096 2001-07-05  Juergen Vigna  <jug@sad.it>
5097
5098         * insettext.C (clear): deleted also the cache not only LyXText.
5099         (setParagraphData): ditto.
5100
5101 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5102
5103         * insetfloat.C (latex): let the specific placement take presedence
5104         if set, otherwise choose document placement if set, otherwise just
5105         use float default placement.
5106
5107 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5108
5109         * insettext.C (localDispatch): call CutAndPaste::'s static method
5110         directly.
5111
5112 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5113
5114         * insetbib.C: no meed to include forms.h here.
5115
5116 2001-07-03  Angus Leeming  <a.leeming@ic.ac.uk>
5117
5118         * insettext.C: added using std::make_pair directive.
5119
5120 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5121
5122         * insettext.C (getLyXText): avoid multiple lookups, and simplify
5123         slightly
5124         (deleteLyXText): ditto
5125         (resizeLyXText): ditto
5126
5127 2001-07-02  Juergen Vigna  <jug@sad.it>
5128
5129         * insettext.C (getLyXText): introduce a cache in getLyXText so that
5130         following calls are only returned the right pointer without the over
5131         head to search in the map.
5132         (various funcs): reset the cached_bview variable as this signs that
5133         the cache is not valid anymore.
5134
5135 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5136
5137         * insettabular.C (clone): do not copy the LyXTabular twice
5138
5139 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5140
5141         * insettext.h (TEXT): delete method
5142
5143 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5144
5145         * insetmarginal.C (latex):
5146         * insetfoot.C (latex): fix spacing of notes in LaTeX
5147
5148         * insettext.C (localDispatch): use .c_str() on istringstream
5149         constructor argument.
5150
5151 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
5152
5153         * insettoc.h:
5154         * insettoc.C:
5155         * inseturl.h:
5156         * inseturl.C: fix method names in these to begin
5157           with small char too, so they inherit
5158
5159 2001-06-28  Juergen Vigna  <jug@sad.it>
5160
5161         * insettext.C (setFont): fixed font settings using toggleFree()
5162         instead of setFont().
5163
5164 2001-06-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5165
5166         * Change a lot of method names to begin with a small char.
5167         Changes to a lot of files because of this.
5168
5169 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5170
5171         * insetfloatlist.C (Write): std:: qualify ostream
5172         (Latex): ditto
5173
5174 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
5175
5176         * figinset.C:
5177         * inset.C:
5178         * insetgraphics.C: send debug output to Debug::INFO instead of
5179         Debug::ANY.
5180
5181 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
5182
5183         * insettabular.h:
5184         * insettabular.C (getStatus): update to use func_status
5185
5186 2001-06-26  ben <nicolas.marsgui@libertysurf.fr>
5187
5188         * insetref.C (DocBook): added support for cross-references without
5189         a name.
5190
5191 2001-06-26  The LyX Project  <jug@sad.it>
5192
5193         * insetref.C:
5194         * insetref.h:
5195         * insetlabel.C:
5196         * insetlabel.h: removed escape method and moved it to
5197         support/lstrings.h.
5198
5199 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5200
5201         * insettabular.C (getMaxWidth): do the speedup in a different way,
5202         remove dead code
5203
5204 2001-06-24  The LyX Project  <Asger>
5205
5206         * insettabular.C (getMaxWidth): We cache a mapping from
5207         inset to cell in order to speed this method up.
5208
5209 2001-06-24  The LyX Project  <Asger>
5210
5211         * insettext.C: Optimized InsetText::draw or something.
5212
5213 2001-06-23  The LyX Project  <lyx@rose.home.sad.it>
5214
5215         * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
5216
5217 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5218
5219         * inset.h: name change from lyxinset.h
5220
5221 2001-06-22  Dekel Tsur  <dekelts@tau.ac.il>
5222
5223         * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
5224
5225 2001-06-14  Juergen Vigna  <jug@sad.it>
5226
5227         * insettext.C (draw): removed warnings.
5228
5229 2001-06-13  Juergen Vigna  <jug@sad.it>
5230
5231         * insettabular.C (nodraw): only go down the tree if we don't have
5232         that flag set otherwise it's obvious that we don't want to draw.
5233         (LocalDispatch): do also an update if we have an undispached result.
5234
5235 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
5236
5237         * insetcite.C:
5238         * insetgraphicsParams.C:
5239         * insettext.C: removed // -*- C++ -*- as first line.
5240
5241 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5242
5243         * lyxinset.h (resizeLyXText): shut off warning about unused
5244         parameter "force"
5245
5246 2001-06-07  Juergen Vigna  <jug@sad.it>
5247
5248         * insettext.C (resizeLyXText): honor the new force flag.
5249
5250         * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
5251
5252         * insettabular.C (deleteLyXText): new function
5253
5254 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
5255
5256         * insettheorem.C:
5257         * insetminipage.C:
5258         * insetlist.C:
5259         * insetfootlike.C:
5260         * insetfloat.C:
5261         * insetert.C:
5262         * insetcollapsable.C:
5263         * insetcaption.C: LColor tidy
5264
5265 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5266
5267         * figinset.C: fix typo
5268
5269 2001-06-01  Juergen Vigna  <jug@sad.it>
5270
5271         * insettabular.C (resetPos): small hack so that scroll is not set to
5272         0 when we are in the last column of a tabular. This is a problem we
5273         have because of constats 20 offset on both directions, so this can
5274         cause on the limit an endless loop.
5275
5276         * insettext.C (SetFont): forgot that we can have locking insets ;)
5277
5278 2001-05-31  Juergen Vigna  <jug@sad.it>
5279
5280         * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
5281
5282 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5283
5284         * figinset.C: add using std:: directive for the C functions which
5285         need that.
5286
5287 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5288
5289         * insetfloat.C (Write): write out wide info
5290         (Read): read the wide info
5291         (Latex): use the wide info when creating latex.
5292
5293         * insettext.C: adjust
5294
5295         * insetgraphics.[Ch] (statusMessage): change to return string
5296         (width): adjust
5297         (draw): adjust
5298
5299         * figinset.C (runqueue): add std::
5300         (Recompute): ditto
5301
5302 2001-05-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5303
5304         * insetcite.C (Ascii): add std:: qualifier
5305
5306 2001-05-28  Juergen Vigna  <jug@sad.it>
5307
5308         * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
5309         a endless-width inset (maxWidth < 0).
5310         (Edit): change language only if not equal.
5311
5312         * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
5313
5314         * insettext.C (draw): fixed draw/clear of InsetText-Frame
5315
5316 2001-05-16  Juergen Vigna  <jug@sad.it>
5317
5318         * insettext.C (selectAll): added
5319         (clearSelection): added
5320
5321         * insettabular.C (SetFont): now we may set a font on a whole selection!
5322         (getSelection): added helper function.
5323
5324 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
5325
5326         * insetcite.C (Ascii): Add method.
5327
5328 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
5329
5330         * figinset.C:
5331         * insetbib.C: fix path for OS/2 & Win32
5332
5333 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5334
5335         * insetfoot.C (Latex): don't use % after footnote.
5336
5337 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5338
5339         * insettext.C (Read): use clear
5340         (SetParagraphData): use LyXParagraph copy constructor instead of clone
5341
5342 2001-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5343
5344         * insetfloatlist.h: add a bunch of std:: qualifiers.
5345
5346 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5347
5348         * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
5349         FLOAT_LIST_CODE, renumber code list.
5350
5351         * insettoc.C (getScreenLabel): remove support for float lists
5352         (LyxCode): ditto
5353         (Ascii): ditto
5354
5355         * insetfloatlist.[Ch]: new files
5356
5357         * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
5358
5359 2001-04-27  Angus Leeming  <a.leeming@ic.ac.uk>
5360
5361         * insettabular.C (LocalDispatch):
5362         * insettext.C (LocalDispatch): getClipboard() is now a BufferView
5363         method
5364
5365 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5366
5367         * insettext.C: remvoe !NEW_INSETS cruft
5368
5369         * insettabular.C: remove !NEW_INSETS cruft
5370
5371         * insetcollapsable.h: remove !NEW_INSETS cruft
5372
5373         * insetbib.C: remove !NEW_INSETS cruft
5374
5375 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5376
5377         * insettoc.C: hack to make listof algorithm work
5378
5379 2001-04-20  Juergen Vigna  <jug@sad.it>
5380
5381         * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
5382
5383 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5384
5385         * insetquotes.C (Latex): improve the guard against
5386         unwanted !` and ?` ligatures. This should really be done in
5387         another place (to catch all this ligatures at low-level).
5388
5389 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5390
5391         * insettext.C (init): remvoe leftovers from cursor_visible change
5392         (draw): use c++ cast
5393         (LocalDispatch): dispatch LFUN_MESSAGE
5394
5395         * insettabular.C (InsetTabular): remove leftovers from
5396         cursor_visible, and scoped_ptr changes
5397         (draw): use c++ cast
5398
5399         * insetcollapsable.C (draw): use c++ cast
5400
5401         * ExternalTemplate.h: inherit privaely from noncopyable
5402         * insetcommand.h: ditto
5403         * insetinclude.h: ditto
5404
5405 2001-04-16  Allan Rae  <rae@lyx.org>
5406
5407         * insettoc.C (Ascii):
5408         * insettext.C (draw):
5409         * insettabular.C (setPos):
5410         * insetminipage.C (Read):
5411         * insetfloat.C (placement):
5412         * insetcaption.C (Ascii, DocBook):
5413         * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
5414         an unrecognised preprocessor directive.  So ensure they're wrapped.
5415
5416 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
5417
5418         * insetexternal.h:
5419         * insetexternal.C: set view on Clone. Add _ to private members.
5420
5421 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5422
5423         * insettext.C (InsetText): fix new
5424         (InsetText): reindent some, simplify deletion of par list
5425         (clear): simplify deletion of par list, fix new
5426         (SetParagraphData): simplify deletion of par list
5427
5428         * insettabular.[Ch] (getLabelList): implement new method
5429
5430 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5431
5432         * lyxinset.h: do not include gettext.h...
5433
5434         * inset.C:
5435         * insetcaption.C:
5436         * insetexternal.C:
5437         * insetgraphics.C:
5438         * insetindex.C:
5439         * insetlabel.C:
5440         * insetlatexaccent.C:
5441         * insetminipage.C:
5442         * insetquotes.C:
5443         * insettabular.C:
5444         * inseturl.C: ... and do it here instead
5445
5446 2001-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5447
5448         * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
5449
5450         * insettext.[Ch] (getLabelList): add std:: on vector<string>
5451
5452         * insetcollapsable.[Ch] (getLabelList): implement
5453
5454         * insettext.[Ch] (getLabelList): implement
5455
5456         * insettext.h: reindent
5457
5458         * insettabular.h: make tabular a scoped_ptr
5459
5460         * insettext.C (init): adjust for cursor_visible
5461         (ToggleInsetCursor): constify asc and desc, font, adjust for
5462         cursor_visible
5463         (ShowInsetCursor): constify asc and desc, font, adjust for
5464         cursor_visible
5465         (HideInsetCursor): adjust for cursor_visible
5466
5467         * insettabular.C: reindent some
5468         (InsetTabular): adjust for scoped_ptr and cursor_visible
5469         (InsetTabular): ditto
5470         (~InsetTabular): delete delete
5471         (Clone): adjust for scoped_ptr
5472         (Read): constify old_format, adjust for scoped_ptr, move init of
5473         token
5474         (draw): constify tx, localize loop vars.
5475         some other localization of variables, remove double initilizatons.
5476
5477         * insetfoot.C: remove using std::ostream, add ostream where needed
5478
5479 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5480
5481         * lyxinset.h: some reindentaion, use initializer list for
5482         constructro.
5483         UpdatableInset: make cursor_visible a private var add
5484         public isCursorVisible(), add protected toggleCursorVisible() and
5485         proctected setCursorVisible(bool), make scroll call the Inset::scroll
5486
5487         * insettoc.C: remvoe using decl
5488         (getScreenLabel): make cmdname donst
5489         (LyxCode): ditto
5490         (Ascii): ditto
5491         (Ascii): don't use endl
5492
5493         * insetfootlike.C: remove using decl at file scope and add std::
5494         where needed
5495         * insetmarginal.C: ditto
5496
5497         * insetfoot.C: some reformatting
5498
5499         * insetfloat.C (InsetButtonRelease): adjust the hit area
5500
5501         * insetert.C (SetFont): some reformatting
5502
5503         * insetcollapsable.C: some reformatting and constification
5504         (Clone): comment out.
5505         * insetcollapsable.h: some reformatting
5506         (Clone): comment out.
5507
5508         * inset.C: reindent
5509         (scroll): simplify
5510
5511 2001-03-30  Juergen Vigna  <jug@sad.it>
5512
5513         * insetcollapsable.h: changen *inset to be a InsetText inset.
5514
5515         * some files: changed to reflect the above change.
5516
5517 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
5518
5519         * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
5520         InsetExternal::Params.
5521         Added operator==() and operator!=() for the Params struct.
5522
5523 2001-03-29  Juergen Vigna  <jug@sad.it>
5524
5525         * lyxinset.h: changed parameter of getMaxWidth from Painter & to
5526         BufferView *.
5527
5528         * insetminipage.C: removed widthp_ and all it's functions and changed
5529         to use new %-lengths of LyXLength.
5530
5531 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
5532
5533         * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
5534
5535 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
5536
5537         * insetgraphicsParams.C (operator!=): new function, needed by the
5538         ControlGraphics class.
5539
5540 2001-03-28  Juergen Vigna  <jug@sad.it>
5541
5542         * insettext.C (InsetButtonPress): only enter !inset if button == 2
5543         (checkAndActivateInset): don't use the values returned from
5544         call to bv->checkInsetHit.
5545
5546         * insetminipage.C (Clone): set special minipage values.
5547
5548         * insetcollapsable.C (draw): changed to draw the button in the
5549         upper left corner outside the textinset.
5550         (ascent): changed because of different drawing
5551         (descent): ditto
5552         (width): ditto
5553         (Edit): ditto
5554         (InsetButtonPress): ditto
5555         (InsetButtonRelease): ditto
5556         (InsetMotionNotify): ditto
5557
5558 2001-03-27  Dekel Tsur  <dekelts@tau.ac.il>
5559
5560         * figinset.C (GetPSSizes): Fix for the case when filename doesn't
5561         contain a suffix.
5562         (Clone): ditto
5563
5564 2001-03-26  Juergen Vigna  <jug@sad.it>
5565
5566         * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
5567
5568         * insettext.C (ShowInsetDialog): implemented above function.
5569
5570         * insettabular.C (ShowInsetDialog): ditto
5571
5572         * insetminipage.C (ShowInsetDialog): ditto
5573
5574 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
5575
5576         * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
5577         InsetInclude::Params. Don't store a buffer * in Params. Store the
5578         master file name instead.
5579
5580 2001-03-23  Juergen Vigna  <jug@sad.it>
5581
5582         * insetcollapsable.C (InsetMotionNotify):
5583         (InsetButtonRelease):
5584         (InsetButtonPress): fixed y-offset (minipages).
5585
5586         * insettext.C (draw): force a FULL update if cleared == true.
5587
5588         * insetcollapsable.C (draw): Lars forgotten entry for changing this
5589         routine to draw the minipages on its position-flag.
5590         (InsetInInsetY): give back the right y position, because of minipage
5591         position-flag.
5592
5593 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
5594
5595         * insetfloat.h
5596         * insetfloat.C (DocBook): docbook export code.
5597
5598 2001-03-22  Juergen Vigna  <jug@sad.it>
5599
5600         * insetminipage.C (getMaxWidth): added function to set the drawing
5601         width!
5602         (Read): should work now!
5603
5604         * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
5605         if we create a new inset.
5606
5607 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
5608
5609         * figinset.C (fl_set_preemptive_callback): moved definition outside
5610         of namespace anon.
5611
5612 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5613
5614         * insetminipage.C (Read): prepare for reading of minipage arguments.
5615
5616 2001-03-18  Baruch Even  <baruch@lyx.org>
5617
5618         * insetgraphics.C: Minor cleanups of the comments and code.
5619
5620 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5621
5622         * insetminipage.C (InsetMinipage): default to not collapsed
5623
5624 2001-03-16  Juergen Vigna  <jug@sad.it>
5625
5626         * insetminipage.C (width): modified with to be a string
5627         (widthp): added widthp (for % width) support functions.
5628         (InsetButtonRelease): added to open the options dialog on button==3.
5629         (~InsetMinipage): added to hide the dialog.
5630
5631         * insetminipage.h: added hideDialog signal
5632
5633 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5634
5635         * insetminipage.h: change the order or Position to match
5636         LyXParagraph::MINIPAGE_ALIGNMENT
5637
5638         * several files: remvoe CXX_WORKING_NAMESPACES
5639
5640         * ExternalTemplate.h: noncopyable is in namespace boost
5641         * insetinclude.h: ditto
5642         * insetcommand.h: ditto
5643
5644 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
5645
5646         * insettext.C (Edit): #else# -> #else.
5647         * insettoc.C: added using directive.
5648
5649 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5650
5651         * insetminipage.h: add pos, inner_pos, width and height. + getters
5652         and setters for all of them.
5653
5654 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
5655
5656         * insetinclude.C (Latex): Do not exit when the textclass of the
5657         included file differ from the textclass of the parent file.
5658
5659 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
5660
5661         * ExternalTemplate.C (read): the reading of external insets now checks
5662         for \end_inset and removes it form the input stream.
5663
5664 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
5665
5666         * ExternalTemplate.h:
5667         * ExternalTemplate.C:
5668         * insetexternal.h:
5669         * insetexternal.C: move form to GUII
5670
5671 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
5672
5673         * insetinclude.h:
5674         * insetinclude.C: add InsetIncludeParams, use
5675         composition rather than derivation of InsetCommand
5676
5677 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5678
5679         * insettoc.C (Ascii): use the Buffer typedefs
5680
5681 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5682
5683         * insettoc.C (Ascii): implement for dynamic number of lists
5684
5685         * insetcaption.[Ch]: update from new_insets branch
5686         * insetfloat.[Ch]: ditto
5687
5688 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
5689
5690         * insetexternal.C:
5691         * figinset.C: use new File Dialog
5692
5693 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5694
5695         * insettext.C: changes becuase of ParagraphParameters.
5696
5697 2001-02-28  Baruch Even  <baruch@ev-en.org>
5698
5699         * insetgraphics.C (updateInset): Changed due to the change in
5700         GraphicsCache.
5701
5702 2001-02-26  Juergen Vigna  <jug@sad.it>
5703
5704         * insettext.C (SetFont): Set Undo only if we have selection (as it is
5705         handled in LyXText).
5706
5707 2001-02-23  Juergen Vigna  <jug@sad.it>
5708
5709         * insettext.C (draw): some small repainting fixes.
5710         (LocalDispatch): put the sel_cursor stuff after the insert of chars.
5711
5712         * inset.C (LocalDispatch): changed action to be a kb_action (as it
5713         should be) and not an int.
5714
5715         * insettabular.C (LocalDispatch): ditto
5716
5717         * insettext.C (LocalDispatch): ditto
5718
5719         * insetcollapsable.C (LocalDispatch): ditto
5720
5721 2001-02-22  Juergen Vigna  <jug@sad.it>
5722
5723         * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
5724         DISPATCH it and we don't have a locking_inset.
5725
5726 2001-02-21  Baruch Even  <baruch@ev-en.org>
5727
5728         * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
5729         instead of GraphicsCacheItem *.
5730
5731 2001-02-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5732
5733         * insetcollapsable.C (getLyXText): add const qualifier to second
5734         parameter.
5735
5736 2001-02-22  Juergen Vigna  <jug@sad.it>
5737
5738         * insettext.C (getLyXText): honor the recursive parameter.
5739         (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
5740
5741         * inset.C (getLyXText): added bool recursive parameter.
5742
5743         * insettext.C (SetUpdateStatus): or the update codes.
5744         (draw): check need_update with &.
5745         (InsetButtonPress): set no_selection to not put a selection when
5746         entering an inset and it is redraws in another spot.
5747
5748         * insettext.h: made need_update an int.
5749
5750 2001-02-20  Baruch Even  <baruch@ev-en.org>
5751
5752         * insetgraphics.h:
5753         * insetgraphisc.C: Changed to use better semantics when loading images
5754         for inline view. Now it doesn't keep the pixmap itself but it's holder.
5755
5756 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
5757
5758         * insetcommand.h:
5759         * inseterror.h:
5760         * insetgraphics.C: change name of "hide" signal to "hideDialog",
5761         consistent with InsetTabular.
5762
5763 2001-02-19  Juergen Vigna  <jug@sad.it>
5764
5765         * insettabular.C (LocalDispatch): implement PAGE up/down.
5766
5767         * insettext.C (draw): clear all of it on need_update==INIT too!
5768
5769         * insettabular.C (InsetUnlock): always clear the selection.
5770
5771         * inset.C (scroll): normally we only want to scroll the inset until
5772         it is fully visible so if top_x + offset > 20 then just set scx to 0.
5773
5774 2001-02-14  Juergen Vigna  <jug@sad.it>
5775
5776         * insettabular.C (LocalDispatch): remove x_fix as it is not used.
5777         (resetPos): fixed scroll behaviour.
5778         (LocalDispatch): do an update if moving cursor inside a table cell
5779         requests a scroll of the tabular.
5780
5781 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
5782
5783         * insettext.C (textWidth): constify local var
5784
5785         * insettabular.C: small cleanup.
5786
5787         * insetfoot.C (Latex): constify local var
5788
5789         * insetcollapsable.C: small cleanup.
5790
5791         * figinset.C (runqueue): use compare instead of strcmp
5792
5793 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
5794
5795         * insettext.C:
5796         * insetinfo.C: remove cruft
5797
5798 2001-02-14  Juergen Vigna  <jug@sad.it>
5799
5800         * insettext.C (SetUpdateStatus): added a BufferView * parameter.
5801
5802 2001-02-13  Juergen Vigna  <jug@sad.it>
5803
5804         * insettext.C (InsertInset): don't move left (is this right?)
5805
5806         * insettabular.C (LocalDispatch): use of the no_draw variable
5807
5808         * insettabular.h: new no_draw variable to stop redraw
5809
5810         * insettabular.C (TabularFeatures): fixed update for alignment change
5811
5812 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
5813
5814         * insetinclude.C:
5815         * insetbib.h:
5816         * insetbib.C: move dialogs to frontends/
5817
5818 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
5819
5820         * insettext.C (LocalDispatch): Restore the language if the inset
5821         becomes empty.
5822
5823 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
5824
5825         * insettext.C (moveRightIntern): Update the selection cursor.
5826         (moveLeftIntern): Ditto.
5827
5828 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5829
5830         * Makefile.am: remove BoundingBox.h
5831
5832         * BoundingBox.h: removed
5833
5834 2001-02-08  Dekel Tsur  <dekelts@tau.ac.il>
5835
5836         * insettext.C (LocalDispatch): Update selection cursor when moving
5837         cursor to the right.
5838         (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
5839         (moveLeftIntern): Ditto.
5840
5841 2001-02-05  Baruch Even  <baruch.even@writeme.com>
5842
5843         * insetgraphics.C: Updated automatic image conversion, it now goes into
5844         temporary directory instead of with the image itself.
5845
5846 2001-01-21  Baruch Even  <baruch@ev-en.org>
5847
5848         * insetgraphics.C: Added Docbook support. Added Automatic image conversion
5849         to EPS or PNG when needed (support bitmap graphics).
5850
5851 2000-11-02  Baruch Even  <baruch@ev-en.org>
5852
5853         * insetgraphics.C:
5854         * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
5855         and removal of commented out code.
5856
5857 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
5858
5859         * insetbib.C (callback): Update citations if the key has changed.
5860
5861 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
5862
5863         * insetbib.C (InsetBibKey): Better computation of default key.
5864         (getScreenLabel) Show both the key and the label.
5865         (getBibLabel): New method.
5866         (callback): Force a redraw if the inset have been changed.
5867
5868 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
5869
5870         * insetref.C (getType, getName): Move methods from
5871         src/frontends/xforms/FormRef.C.
5872
5873 2001-01-12  Dekel Tsur  <dekelts@tau.ac.il>
5874
5875         * insettabular.C: Various improvements (use only one dummy position).
5876
5877 2001-01-25  Dekel Tsur  <dekelts@tau.ac.il>
5878
5879         * insetbib.C (bibitemWidest): Use lyxfont::width instead of
5880         par->bibkey->width. This fixes the crashes when running without
5881         gui or when having included documents.
5882
5883 2001-01-22  Dekel Tsur  <dekelts@tau.ac.il>
5884
5885         * insetcommand.C (getAsString, setFromString): Cleanup.
5886
5887 2001-01-21  Dekel Tsur  <dekelts@tau.ac.il>
5888
5889         * insetref.C: Add the array InsetRef::types that contains
5890         information about all supported reference types.
5891
5892 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5893
5894         * lyxinset.h: remove trailing comma in enum.
5895
5896 2001-01-17  John Levon  <moz@compsoc.man.ac.uk>
5897
5898         * insettext.C: kill LyXBell.