]> git.lyx.org Git - lyx.git/blob - src/insets/ChangeLog
compile fix in XPM image loader; fix opaque handling; remove warnings; fix turkish...
[lyx.git] / src / insets / ChangeLog
1 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2
3         * insetcite.C (getNatbibLabel): 
4         * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
5
6 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7
8         * insetgraphics.C: use ->isDrawable()
9  
10 2002-07-12  Angus Leeming  <leeming@lyx.org>
11
12         * insetgraphics.C: use the new smart loading capabilities of the image
13         loader.
14
15 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16
17         * insettabular.C (edit): Move into correct cell when entering a
18         tabular in 
19
20         * insettext.C (unlockInsetInInset): Correct cursor behaviour for
21         RTL paragraphs.
22
23 2002-07-05  Angus Leeming  <leeming@lyx.org>
24
25         * inset.h (generatePreview): new virtual method.
26
27 2002-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
28
29         * insetcommandparams.[Ch] (operator=): move out of class
30         (operator!): move out of class
31
32 2002-07-04  André Pönitz <poenitz@gmx.net>
33
34         * insetcommandparams.[Ch]: new files
35
36         * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
37
38 2002-06-15  Herbert Voss  <voss@perce.de>
39
40         * insetgraphics.C (prepareFile): bugfix; return always
41         files without extension
42
43 2002-06-28  Angus Leeming  <leeming@lyx.org>
44
45         * insetgraphicsParams.[Ch]: forward declare grfx::Params.
46         rename asGParams -> as_grfxParams.
47
48         * insetgraphics.C: reflect above change.
49
50 2002-06-26  Angus Leeming  <leeming@lyx.org>
51
52         * insetgraphics.h: use boost::scoped_ptr in preference to
53         std::auto_ptr.
54
55 2002-06-26  Angus Leeming  <leeming@lyx.org>
56
57         * insetgraphics.C: moved the image loading stuff into a new class
58         grfx::Loader. Simplifies this file enormously.
59
60         * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
61
62         * insetgraphicsParams.C: changes aassociated with moving
63         grfx::DisplayType out of grfx::GParams.
64
65 2002-06-26  André Pönitz <poenitz@gmx.net>
66
67         * insetgraphics.C: use os::external_path where necesaary according to a
68         patch from Claus Hentschel)
69
70 2002-06-25  Angus Leeming  <leeming@lyx.org>
71
72         * insetgraphics.[Ch]: The inset now assumes the responsibility for
73         generating a pixmap once the graphics file is loaded into memory.
74         The current_view ugliness that was in grfx::ModifiedImage has been
75         moved here now that grfx::ModifiedImage is no more.
76
77 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
78
79         * insettext.C: layout as layout
80
81 2002-05-28  André Pönitz <poenitz@gmx.net>
82
83         * insetfloatlist.h: remove source of compiler warning
84
85         * insetref.C: tiny whitespace
86
87 2002-06-15  Herbert Voss  <voss@perce.de>
88
89         * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
90         and take always convert when no userdefined converter was
91         found
92         (latex) small changes in the lyxerr output
93
94 2002-06-15  LyX Development team <lyx@rilke>
95
96         * inset*.[Ch] (docbook): Added new argument to take the pernicious
97         mixed content. Small white spaces clean.
98
99 2002-06-14  Angus Leeming  <leeming@lyx.org>
100
101         * inseetexternal.C: remove the using std::difftime declaration.
102
103 2002-06-13  Edwin Leuven  <leuven@fee.uva.nl>
104
105         * insetquotes.C: change lyxfont::draw to font_metrics::draw
106
107 2002-06-12  Vitaly Lipatov  <LAV@VL3143.spb.edu>
108
109         * insetquotes.C (draw): fix drawing of double quotes
110
111 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
112
113         * insettabular.C: s/scrollCB/scrollDocView/
114
115 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
116
117         * insettext.C: change of topCursorVisible()
118           prototype
119
120 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
121
122         * insettext.h:
123         * insettext.C: rename/change of LyXScreen
124
125 2002-06-07  Angus Leeming  <leeming@lyx.org>
126
127         Fixes needed to compile with Compaq cxx 6.5.
128         * insetexternal.C:
129         all c-library variables have been moved into namespace std.
130         Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
131
132 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
133
134         * insetinclude.C (uniqueID):
135         * insetgraphics.C (uniqueID): renamed from unique_id, since this
136         conflicted with some AIX headers.
137
138 2002-05-31  Juergen Vigna  <jug@sad.it>
139
140         * insetert.C (get_new_label): add '...' for multi-paragraph ert
141         insets too
142         (update) new method
143
144 2002-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
145
146         * insetexternal.C (clone): fix () bug when using new
147         (updateExternal): don't only look for difftime in global scope
148
149 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
150
151         * insettabular.C: add const
152
153 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
154
155         * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
156         file name, in case there are weird characters like ',' in there.
157         (bug #407)
158
159 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
160
161         * switch from SigC signals to boost::signals.
162
163 2002-05-28  André Pönitz <poenitz@gmx.net>
164
165         * insets/insetgraphicsParams.[Ch]:
166           put in inset related stuff from src/graphic
167
168 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
169
170         * inset.C:
171         * inset.h:
172         * insetbib.C:
173         * insetbib.h:
174         * insetcite.h:
175         * insetcite.C:
176         * insetcollapsable.C:
177         * insetcollapsable.h:
178         * inseterror.C:
179         * inseterror.h:
180         * insetert.C:
181         * insetert.h:
182         * insetexternal.C:
183         * insetexternal.h:
184         * insetfloatlist.C:
185         * insetfloatlist.h:
186         * insetgraphics.C:
187         * insetgraphics.h:
188         * insetinclude.C:
189         * insetinclude.h:
190         * insetindex.C:
191         * insetindex.h:
192         * insetlabel.C:
193         * insetlabel.h:
194         * insetparent.C:
195         * insetparent.h:
196         * insetref.C:
197         * insetref.h:
198         * insettabular.C:
199         * insettabular.h:
200         * insettext.C:
201         * insettext.h:
202         * insettoc.C:
203         * insettoc.h:
204         * inseturl.C:
205         * inseturl.h: use mouse_state. Kill insetKeyPress
206
207 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
208
209         * insetbib.C:
210         * insetbutton.C:
211         * insetcaption.C:
212         * insetcollapsable.C:
213         * inseterror.C:
214         * insetgraphics.C:
215         * insetlatexaccent.C:
216         * insetquotes.C:
217         * insetspecialchar.C:
218         * insettabular.C:
219         * insettext.C: name change for font metrics
220
221 2002-05-24  Juergen Vigna  <jug@sad.it>
222
223         * insetgraphics.h: include inset.h first (for LString.h)
224
225 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
226
227         * insettext.C: screen moved
228
229 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
230
231         * insetbib.C:
232         * insetcite.C:
233         * inseterror.C:
234         * insetert.C:
235         * insetexternal.C:
236         * insetfloat.C:
237         * insetfloatlist.C:
238         * insetgraphics.C:
239         * insetinclude.C:
240         * insetindex.C:
241         * insetminipage.C:
242         * insetparent.C:
243         * insetref.C:
244         * insettabular.C:
245         * insettext.C:
246         * insettoc.C:
247         * inseturl.C: LyXView moved into frontends/
248
249 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
250
251         * inset.C:
252         * insetbutton.C:
253         * insetcaption.C:
254         * insetcollapsable.C:
255         * insetcommand.C:
256         * inseterror.C:
257         * insetgraphics.C:
258         * insetgraphicsParams.C:
259         * insetlatexaccent.C:
260         * insetquotes.C:
261         * insetspecialchar.C:
262         * insettabular.C:
263         * insettext.C: move Painter to frontends/
264
265 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
266
267         * insettabular.h: use more specific smart_ptr header.
268         * insettext.h: ditto
269
270         * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
271         (draw): ditto
272
273 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
274
275         * insettext.C: clear selection on paste (bug 393)
276
277 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
278
279         * insettext.C (latex): Honor the moving_arg argument.
280
281 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
282
283         * insetfoot.C (latex): if a footnote is in a title layout, then it
284         is a \thanks. And then, its contents is a moving argument.
285
286 2002-05-14  Juergen Vigna  <jug@sad.it>
287
288         * insetcollapsable.C (InsetCollapsable): forgot to initialize
289         first_after_edit.
290
291 2002-05-09  Angus Leeming  <a.leeming@ic.ac.uk>
292
293         * Insetcite.C (getNatbibLabel): don't disable natbib label support
294         when using options "Full author list" or "Upper case".
295
296 2002-05-14  Herbert Voss  <voss@perce.de>
297
298         * insetgraphics.C (prepareFile): allow files with same name
299         in different dirs
300         (readFigInset): set the flags from old figinset in the right
301         manner
302         (findTargetFormat): more comments
303
304 2002-05-14  Juergen Vigna  <jug@sad.it>
305
306         * insettext.C (edit): tell checkAndActivateInset() that we don't
307         have a button press.
308         (checkAndActivateInset): if button < 0 we don't have a button press
309         on the inset and os we won't call edit on it if it's not a Highly
310         editable inset (then we have to enter it).
311
312 2002-05-13  Juergen Vigna  <jug@sad.it>
313
314         * insetcollapsable.C (insetButtonRelease): returned wrong return
315         value.
316
317 2002-05-09  Juergen Vigna  <jug@sad.it>
318
319         * insetcollapsable.C (edit): first_after_edit should only be
320         set to true if we enter this inset and it was collapsed so we
321         open it up. This is needed to reclose it after a search/replace
322         or spellcheck function opened it and was negative.
323
324 2002-05-09  Dekel Tsur  <dekelts@tau.ac.il>
325
326         * insetfloat.C (latex): Return correct value.
327
328 2002-05-04  Herbert Voss  <voss@perce.de>
329
330         * InsetgraphicsParams.C (read): fix bug with WH
331
332 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
333
334         * insetfloat.C (latex): More sensible latex output
335         (fix the problem with endfloat).
336
337 2002-05-02  José Matos  <jamatos@fep.up.pt>
338
339         * insetgraphics.C (validate): acess params as everyone else.
340
341 2002-05-03  Juergen Vigna  <jug@sad.it>
342
343         * insettabular.C (fitInsetCursor): recalculate the cursor position
344         if I request it.
345
346 2002-05-01  Angus Leeming  <a.leeming@ic.ac.uk>
347
348         * InsetgraphicsParams.[Ch]: whitespace.
349
350 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
351
352         * insetfloatlist.C (getScreenLabel): Fix crash in the case where
353         float type do not exist.
354
355 2002-04-28  Herbert Voss  <voss@perce.de>
356
357         * insetgraphics.C (latex): fix bug with missing file-extension.
358         LaTeX still allows a missing "eps" or "ps".
359
360 2002-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
361
362         * insetfloat.C (c-tor, wide): translate the name of the float.
363
364 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
365
366         * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
367         when using natbib and make it work efficiently. Must emphasise that the
368         real work is Herbert's.
369
370 2002-04-23  Herbert Voss  <voss@perce.de>
371
372         * insetgraphic.C (prepareFile): fix bug with overwriting and
373         deleting an existing *.eps-file in the doc-dir
374
375 2002-04-23  Juergen Vigna  <jug@sad.it>
376
377         * insettabular.C (drawCellSelection): fix off by 1 error.
378
379 2002-04-22  Juergen Vigna  <jug@sad.it>
380
381         * insettabular.C (setFont): rewoke full selection if it was asked,
382         after we changed all we had to change.
383
384         * insettext.C (insetUnlock): code was uninitialized in some situations.
385
386 2002-04-19  Herbert Voss  <voss@perce.de>
387
388         * insetgraphic.C (prepareFile): return filename without
389         extension if we only export without compiling
390
391 2002-04-19  Juergen Vigna  <jug@sad.it>
392
393         * insettext.C (draw): call a fullRebreak on the row where we had a
394         change and reset the cursor and selection-cursors.
395
396         * insettabular.C (insetUnlock):
397         (insetButtonPress): call an update before setting the_locking_inset = 0
398         as otherwise we don't repaint!
399         (update): reset the cursor position when we changed dimensions as
400         otherwise our cursor may be on the wrong spot.
401
402 2002-04-18  Juergen Vigna  <jug@sad.it>
403
404         * insettabular.C (localDispatch): repaint the cell if it was unlocked.
405         (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
406         redraw otherwise we won't redraw.
407
408         * insettext.C (draw): fixed the setting of LyXText::first_y it was
409         not really right before, but I only discovered this with the last
410         changes to Page up/down.
411
412 2002-04-17  Juergen Vigna  <jug@sad.it>
413
414         * insettext.C (checkAndActivateInset): simplified as we now have the
415         edit(bv, bool) call.
416
417         * insettext.h: changed behind variables to front variables to be
418         equal to the one in the edit call (as it is for that they are used).
419
420 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
421
422         * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
423         not output anything at all!
424
425 2002-04-16  Juergen Vigna  <jug@sad.it>
426
427         * insettabular.C (insetButtonPress):
428         (insetUnlock): call a redraw on unlocking the cell inset.
429
430         * insettext.C (insetButtonPress): same as below.
431         (lockInset): new function to set initial values when inset should
432         be locked.
433         (insetButtonPress): use above function.
434         (insetUnlock): don't force a repaint only set the updateStatus. The
435         outside world should repaint if it thinks it should be done!
436
437         * insettabular.C (insetButtonPress): init values if not set as locked
438         as we are locked if someone presses on us and don't call the edit()
439         call of the InsetText to lock it do it as BufferView does it!
440
441         * inset.h (insetInInsetY): make func const and return an int.
442         * insettext.C:
443         * insettabular.C:
444         * insetcollapsable.C: adapt the above changed function.
445
446 2002-04-15  Juergen Vigna  <jug@sad.it>
447
448         * insettext.C (getCursorPos): return relative position as to be able
449         to give them directly to the edit() call.
450         (edit): we have to set also x_fix as it is not set inside the
451         setCursorFromCoordinates call!
452         (insetMotionNotify): ditto.
453
454 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
455
456         * insetbib.C (getKeys): strip leading '\t's from the line too.
457         With thanks to Henry Pfister <hpfister@ucsd.edu>.
458
459 2002-04-12  Juergen Vigna  <jug@sad.it>
460
461         * insettext.h: added cix() helper function and use it where appropriate
462
463 2002-04-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
464
465         * insetgraphics.C (prepareFile): fix bug when graphics is a
466         relative path
467
468 2002-04-12  Juergen Vigna  <jug@sad.it>
469
470         * insettext.C (insertInset): remove unneeded code!
471         (updateLocal): fitCursor() fixes.
472         (collapseParagraphs): fix a possible problem when having a selection
473         and collapsing the paragraphs.
474
475 2002-04-08  Herbert Voss  <voss@perce.de>
476
477         * insetgraphic.C (write): write the rotating angle as
478         a float as is. test only for != 0.0
479
480 2002-04-11  Juergen Vigna  <jug@sad.it>
481
482         * insettext.C: new function ciy() and use it for setting inset_y.
483
484         * insetert.C (draw): fix the x return for collapsed version.
485
486 2002-04-07  Herbert Voss  <voss@perce.de>
487
488         * insetgraphic.C (readFigInset): fix bug with subcaption and
489         rotating
490
491 2002-04-08  Herbert Voss  <voss@lyx.org>
492
493         * insetgraphicsparam.C: forgot special option and delete old
494         1.2.0 stuff
495
496 2002-04-05  Juergen Vigna  <jug@sad.it>
497
498         * insettext.C (localDispatch): make a CURSOR update if we inserted
499         a character.
500
501 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
502
503         * insetfloatlist.C (getScreenLabel):
504         (latex): use Floating::listName
505         (validate): new method
506
507 2002-04-03  José Matos  <jamatos@fep.up.pt>
508
509         * insetlabel.C (docbook): the anchor is an empty element in docbook.
510
511         * insetfoot.[Ch] (docbook): added forgotten method.
512
513 2002-04-03  Juergen Vigna  <jug@sad.it>
514
515         * insettext.C (insetButtonPress): fix insetButtonPress events the same
516         way as in Bufferview_pimpl.
517
518 2002-04-03  Allan Rae  <rae@lyx.org>
519
520         * insetgraphics.C (latex): one % too many makes living on the bleeding
521         edge fun with less than 30 minutes to a meeting with a PhD supervisor.
522
523 2002-03-28  Herbert Voss  <voss@lyx.org>
524
525         * insetgraphic.C (latex): simplify the code for the latex
526         output when the file doesn't exist
527
528 2002-03-29  Juergen Vigna  <jug@sad.it>
529
530         * insettext.C (updateLocal): fixes to fitCursor calls when locking/
531         unlocking inset.
532
533         * insettabular.C (edit): call fitCursor().
534
535         * insettext.C (insetButtonPress): change behaviour of no_selection
536         to the one in the BufferView selection_possible and fix the spurious
537         selection bug with it.
538         (localDispatch): revoke selection on BREAK... functions.
539
540 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
541
542         * insetfloatlist.C (getScreenLabel): translate the GUI label.
543
544 2002-03-28  Juergen Vigna  <jug@sad.it>
545
546         * insettabular.C (insetAllowed): return true as default value otherwise
547         we're not able to insert insets inside paragraphs of an not locked
548         insettext!
549
550 2002-03-27  Herbert Voss  <voss@lyx.org>
551
552         * insetgraphicsparam.C: change c%, p% to col%, page%
553
554 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
555
556         * insetspecialchar.C (isLineSeparator): disable the nice code to
557         allow linebreaks after hyphenation and menu separators.
558
559 2002-03-26  Herbert Voss  <voss@lyx.org>
560
561         * insetgraphics.C (figinsetRead): set the right lyxview
562
563 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
564
565         * insetgraphicsParams.C (latexify): use \textbackslash in preference to
566         $\backslash$ and pass a "string const &" to the function.
567         (prepareFile, latex): use Path rather than MakeAbsPath.
568
569 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
570
571         * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
572         proper fix to the graphics cache.
573         (latex): "really" nice output if the file is not found ;-)
574
575 2002-03-26  Juergen Vigna  <jug@sad.it>
576
577         * insettext.C (setText): added a LyXFont param and call reinitLyXText()
578         (collapseParagraphs): fixed inserting of separator ' '
579
580         * insettabular.C (insertAsciiString): only check for buffer lenght
581         not if we have \t or \n inside the buffer as if we don't have we only
582         have 1 cell and that's it!
583
584         * insetert.C (close): don't collapse if inlined.
585
586 2002-03-25  Herbert Voss  <voss@lyx.org>
587
588         * insetgraphicsParams.C (Read): prevent LyX from hanging if the
589         graphics file does not exist.
590
591 2002-03-25  Angus Leeming  <a.leeming@ic.ac.uk>
592
593         * insetgraphics.C (prepareFile): ensure that the file has an absolute
594         path when preparing export.
595
596         * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
597         no longer MakeRelPath.
598
599 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
600
601         * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
602         Used to determine the absolute path to the graphics file in the
603         graphics cache and only in the graphics cache.
604         (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
605         make graphics file name absolute if it is stored as a relative path.
606
607         * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
608         make graphics file name absolute if it is stored as a relative path.
609
610         * insettext.C (edit): emit an updateParagraph signal on entering a text
611         inset. Needs to be emitted when leaving the inset also.
612
613 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
614
615         * all files: ws cleanup
616
617         * Makefile.am: remove ld -r stuff
618
619 2002-03-21  Juergen Vigna  <jug@sad.it>
620
621         * insettext.C (appendParagraphs): new function added to append
622         the paragraphs to this insets paragraphs.
623
624 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
625
626         * Makefile.am: special rules if partial linking
627
628 2002-03-19  Juergen Vigna  <jug@sad.it>
629
630         * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
631
632 2002-03-18  Angus Leeming  <a.leeming@ic.ac.uk>
633
634         * insetgraphics.C: Clean up Baruch's comments a little.
635         (c-tor): remove code setting id_, as it's set in the Inset c-tor.
636
637 2002-03-14  John Levon  <moz@compsoc.man.ac.uk>
638
639         * insettabular.C:
640         * insettheorem.C: wrap warnings
641
642         * insetgraphics.C: improve messages, move cached_status_
643           setting to safer place
644
645 2002-03-18  Juergen Vigna  <jug@sad.it>
646
647         * insettabular.C (unlockInsetInInset): removed unneeded showCursor
648         calls.
649         (localDispatch): ditto
650
651         * insettext.C (edit): removed unneeded showCursor calls.
652         (localDispatch): ditto.
653
654 2002-03-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
655
656         * insetgraphics.h: remove display() method.
657
658 2002-03-11  Juergen Vigna  <jug@sad.it>
659
660         * insetgraphics.C (draw): hack to fix the redrawing bug.
661         (draw): seems this fixes #268 (force redraw of row if we changed).
662
663         * insettext.C (updateInsetInInset): fixed for updates in insets inside
664         this inset text (don't know why I missed this earlier).
665
666 2002-03-08  Juergen Vigna  <jug@sad.it>
667
668         * insettabular.C (updateLocal): do a FULL update if we're not locked
669         and only a CELL update is asked.
670
671         * insettext.C (updateInsetInInset): update insets inside inset also
672         if it isn't inside the_locking_inset.
673
674         * insettabular.C (updateInsetInInset): ditto.
675
676 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
677
678         * insetexternal.C (doSubstitution): check whether we are using a
679         temp dir for defining $$FPath
680
681 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
682
683         * insettabular.C:
684         * insettext.C: remove #include "WorkArea.h".
685
686 2002-03-06  Juergen Vigna  <jug@sad.it>
687
688         * insettext.C (draw): fixed frame redrawing.
689         (clear): forgot to set the inset_owner of the paragraph.
690
691         * insetert.C (status): pay attention the bv can be 0 here!
692         (getMaxWidth): add the default leftMargin
693
694 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
695
696         * insetert.C (getMaxWidth): make w unsigned int.
697
698 2002-03-05  Juergen Vigna  <jug@sad.it>
699
700         * insetert.C (status): change behaviour of Inlined.
701         (getMaxWidth): added for new inlined behaviour.
702
703 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
704
705         * insetnote.h (linuxdoc, docbook): add empty methods.
706         * insetinclude.C (validate): fix a case where buffer->niceFile was used
707         before being initialized.
708
709 2002-03-05  Juergen Vigna  <jug@sad.it>
710
711         * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
712         only that one in the inset. Should be enough.
713         (updateLocal): set the selection cursor always if we don't have a
714         selection to be sure it's set!
715
716         * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
717
718 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
719
720         * insettext.C (clear): a gross hack to set layout on a newly
721         created paragraph.
722
723 2002-03-04  Juergen Vigna  <jug@sad.it>
724
725         * insettabular.C (localDispatch): inserted handling of
726         LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
727         (insertAsciiString): new helper function.
728
729 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
730
731         * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
732         argument.
733
734 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
735
736         * insettext.C (InsetText): initalize newly created par with
737         default layout. add bufferparams parameter
738         first -> first_y
739
740         * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
741         * insetcollapsable.[Ch] (InsetCollapsable): ditto
742         * insetert.[Ch] (InsetERT): ditto
743         * insetfloat.[Ch] (InsetFloat): ditto
744         * insetfoot.[Ch] (InsetFoot): ditto
745         * insetfootlike.[Ch] (InsetFootLike): ditto
746         * insetmarginal.[Ch] (InsetMarginal): ditto
747         * insetminipage.[Ch] (InsetMinipage): ditto
748         * insetnote.[Ch] (InsetNote): ditto
749         * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
750
751 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
752
753         * insettext.C: layout as string
754
755         * insetinclude.C: layout as string
756
757         * insetert.C: layout as string
758
759         * insetbib.C: layout as string
760
761 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
762
763         * insetert.C:
764         * insettabular.C: remove #include "lyx_gui_misc.h".
765
766 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
767
768         * Makefile.am:
769         * figinset.h:
770         * figinset.C:
771         * inset.h: remove figinset, yahoo !
772
773 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
774
775         * insetgraphics.C (c-tors): initialise parent classes explicitly in
776         copy c-tor and initialise member variables in the correct order.
777
778 2002-02-28  Juergen Vigna  <jug@sad.it>
779
780         * insettabular.C (localDispatch): clear selection on PgUp/Down.
781
782 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
783
784         * inset.h: ... and add a better one here.
785
786         * insetcommand.C (insetButtonRelease): remove that one which was a
787         bit broken...
788
789 2002-02-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
790
791         * insetcommand.C (insetButtonRelease): ... and move it here.
792
793         * inseturl.h: remove insetButtonRelease from there...
794
795 2002-02-26  Juergen Vigna  <jug@sad.it>
796
797         * inseturl.h: Added a insetButtonRelease call returning true as
798         prove of concept.
799
800         * insetlabel.C (edit): Fixed wrong update handling after change I
801         leave in the wrong code for the one who wrote it to remove and have
802         a look what he did wrong.
803
804         * insettabular.C (localDispatch): force a SELECTION update if we
805         had a selection and we passed the event down to the inset (fix #213)
806         (localDispatch): handle font changing stuff when we have a cell
807         selection so that the selection is not rewoked. I don't really like
808         this fix, but it's the only way I see to do it right now.
809
810 2002-02-22  Juergen Vigna  <jug@sad.it>
811
812         * insettext.C (insetUnlock): set the cursor to the second paragraph
813         if available and if the first one is empty (fix #191).
814
815 2002-02-20  Juergen Vigna  <jug@sad.it>
816
817         * insettext.C (getDrawFont): implemented this function to call the
818         one of the owner if present as the owner normally knows what to do
819         with us.
820
821         * insetert.C: implement getDrawFont() function and comment out all
822         the crap for setting a special latex font inside this inset.
823         (InsetERT): added a Lanugage parameter to this constructor.
824
825         * inset.h: added function getDrawFont(LyXFont & font) to be able to
826         change the font for being drawn on screen (used only in InsetERT for
827         now).
828
829         * insettabular.C (draw): clear the parts around a cellinset ALWAYS
830         and also above (was missing).
831         (updateLocal): don't remove the cell selection if we have one this
832         should be done where we really want to remove it.
833
834 2002-02-20  José Matos  <jamatos@fep.up.pt>
835
836         * insetinclude.h: include_label made string const.
837
838         * insetinclude.C (InsetInclude): moved include_label initialization.
839         (linuxdoc):
840         (docbook):
841         (validate): fix support for temporary directory, for docbook and
842         linuxdoc.
843
844         * insetgraphics.h : new private member, graphic_label, that holds
845         the entity name that defines the graphics location (SGML).
846
847         * insetgraphics.C (unique_id): new function to give a unique label
848         for graphic.
849         (docbook):
850         (validate): the file locatation is given by an entity reference.
851
852 2002-02-18  Herbert Voss  <voss@lyx.org>
853
854         * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
855
856 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
857
858         * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
859         as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
860
861 2002-02-18  José Matos  <jamatos@fep.up.pt>
862
863         * insetinclude.C (validate): some code only applies to latex buffers,
864         it was made conditional.
865
866 2002-02-12  Herbert Voss  <voss@lyx.org>
867
868         * insetgraphics.C: (prepareFile) do not check at this time
869         if the file is present.
870
871 2002-02-12  Herbert Voss  <voss@lyx.org>
872
873         * insetgraphics.C: latex(), return the correct newlines
874
875 2002-02-13  José Matos  <jamatos@fep.up.pt>
876
877         * inseturl.C (docbook): escape & in url.
878
879 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
880
881         * insetspecialchar.C (isLineSeparator): line breaking is allowed
882         after HYPHENATION and MENU_SEPARATOR
883
884         * inset.h (isLineSeparator): new method, returns false by default.
885
886 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
887
888         * insetert.C (status): do not update the text inset, but the ERT
889         inset.
890
891 2002-02-11  John Levon  <moz@compsoc.man.ac.uk>
892
893         * insetnote.C: use notebg for background
894
895 2002-02-08  Herbert Voss  <voss@lyx.org>
896
897         * insetgraphic.C:
898         * insetgraphicsParams.[Ch]: adding new Option noUnzip to
899         prevent LyX from unzipping when this should be handled
900         by latex vis the graphic.cfg.
901         clean up the code
902
903 2002-02-08  Herbert Voss  <voss@lyx.org>
904
905         * insetgraphic.C: prepareFile(): fix bug when file doesn't
906         exists, than return filename with extension
907
908 2002-02-06  Herbert Voss  <voss@lyx.org>
909
910         * insetgraphic.C: prepareFile(): don't convert the file, when
911         it's not viewed in LyX. Saves a lot of time when opening a
912         document!
913
914 2002-02-05  Herbert Voss  <voss@lyx.org>
915
916         * insetgraphic.C:
917         * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
918         and adding a rotate bool similiar to subcaption
919
920 2002-02-04  Herbert Voss  <voss@lyx.org>
921
922         * insetgraphic.C:
923         * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
924         similiar view to the LaTeX one. Get zipped files work.
925
926 2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
927
928         * insetgraphicsParams.C (init): set display to DEFAULT.
929         No longer #include "lyxrc.h".
930
931 2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
932
933         * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
934         for now (so that the code compiles).
935
936 2002-02-02  Herbert Voss  <voss@lyx.org>
937
938         * insetgraphic.C: delete inVariant() and some minor changes
939         * insetgraphicsParams.[C]:
940
941 2002-02-01  Angus Leeming  <a.leeming@ic.ac.uk>
942
943         * insetgraphics.C (updateInset): if params.display == DEFAULT,
944         interogate lyxrc.display_graphics before diaplaying the graphic.
945
946         * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
947         InsetGraphicsParams::DisplayType.
948
949 2002-01-31  Herbert Voss  <voss@lyx.org>
950
951         * insetgraphic.C: (readfigInset) set display to pref-default
952
953 2002-01-30  Herbert Voss  <voss@lyx.org>
954
955         * insetgraphic.C: get the filetyp from it's contents
956         * insetgraphicparams.C: add token scale and lyxrc.display when
957         creating a new inset
958
959 2002-01-30  Angus Leeming  <a.leeming@ic.ac.uk>
960
961         * figinset.C: added using std::ios directive.
962
963 2002-01-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
964
965         * figinset.C (runqueue): open translation file in binary mode (for
966         cygwin).
967
968 2002-01-27  Herbert Voss  <voss@lyx.org>
969
970         * insetgraphic.[Ch]: mostly newritten to support graphicx with
971         all options and to be sure that the old figinsets are correct
972         converted.
973         * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
974         structure and to support all lengths as LyXLength. The Parameter
975         structure changed again, but reading of "old" 1.2 graphic insets
976         is no problem.
977
978 2002-01-20  Dekel Tsur  <dekelts@tau.ac.il>
979
980         * insetert.h (forceDefaultParagraphs): Added
981
982 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
983
984         * insettabular.C (getMaxWidth):
985         (forceDefaultParagraphs): use Tabular::GetCellFromInset
986
987 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
988
989         * insettabular.C (getMaxWidthOfCell): adapt to the new definition
990         of LyXLength::inPixels
991
992         * inset.C (latexTextWidth):
993         * insetminipage.C (latexTextWidth): new method, which implements
994         the equivalent of the LaTeX macro \textwidth
995
996         * insetminipage.C (getMaxWidth): use latexTextWidth
997
998 2002-01-18  Juergen Vigna  <jug@sad.it>
999
1000         * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
1001
1002 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1003
1004         * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
1005
1006         * insetminipage.[Ch]: change width_ and height_ to be LyXLength
1007         instead of string
1008
1009 2002-01-17  Juergen Vigna  <jug@sad.it>
1010
1011         * insettabular.C (lockInsetInInset): same change as in insettext.
1012
1013         * insettext.C (draw): width() function was called without setting
1014         the right top_x which could lead to wrong insetWidth setting!
1015         (lockInsetInInset): call edit instead of calling lockInset if we
1016         have to lock an inset inside!
1017         (edit): we have to also tell the inset that we have to redraw the
1018         frame on an edit call if this inset draws a frame only if locked.
1019
1020 2002-01-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1021
1022         * insetbib.C (getFiles): uncomment Path variable.
1023
1024 2002-01-16  Juergen Vigna  <jug@sad.it>
1025
1026         * insettabular.C (forceDefaultParagraphs): fixed bug returning value
1027         of wrong cell.
1028
1029 2002-01-16  Allan Rae  <rae@lyx.org>
1030
1031         * insetinclude.C (docbook): someone forgot a ";"
1032
1033 2002-01-16  José Matos  <jamatos@fep.up.pt>
1034
1035         * figinset.C (docbook): removed a old place holder "@".
1036         * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
1037         * insetinclude.C (linuxdoc): if include is verbatim, then export the
1038         ascii text version, clearly guarded inside a CDATA section.
1039         (docbook): in docbook 4, inlinegraphics is empty.
1040         * insettabular.C (linuxdoc): export the ascii version of the table
1041         inside a CDATA section.
1042
1043 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1044
1045         * insetparent.C (InsetParent):
1046         * insetgraphicsParams.C (Write):
1047         (Read):
1048         * insetgraphics.C (prepareFile):
1049         (readFigInset):
1050         (docbook):
1051         * insetexternal.C (executeCommand):
1052         (doSubstitution): use Buffer::filePath
1053
1054         * insetbib.C (getFiles): add a #warning for Angus
1055
1056         * insetgraphics.C: Add a remark about how filenames should be
1057         considered to be relative to buffer (but absolute is still allowed)
1058         (draw): do not try to get status if lyxrc.use_gui is false
1059
1060 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
1061
1062         * inset.[Ch]:
1063         * insetcollapsable.[Ch]:
1064         * insettabular.[Ch] (searchForward, searchBackward): change the
1065         bool const & params to bool.
1066
1067         * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
1068         to avoid the name clash with InsetCollapsable's methods of the same
1069         names but different functionality.
1070
1071 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
1072
1073         * insettext.C (ascii): use lyx::count rather than countChar.
1074
1075 2002-01-14  John Levon  <moz@compsoc.man.ac.uk>
1076
1077         * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
1078
1079 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1080
1081         * insetgraphics.C (updateInset): do not try to render image if
1082         lyxrc.use_gui is false (bug #104)
1083
1084         * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
1085         if file does not exist
1086
1087         * figinset.C (browseFile): add shortcuts to directory buttons
1088
1089         * insettext.C (updateLocal): update menubar and toolbar here too.
1090
1091 2002-01-13  Allan Rae  <rae@lyx.org>
1092
1093         * insettabular.C (InsetTabular): Both constructors now initialise
1094         all class variables.
1095
1096 2002-01-11  Juergen Vigna  <jug@sad.it>
1097
1098         * insettext.C (insetButtonPress): set the_locking_inset to 0.
1099
1100 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1101
1102         * insettabular.C (getStatus): add forgotten brace around multiline
1103         if statement.
1104
1105 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1106
1107         * insetfloat.C (validate): require "float" instead of "floats".
1108
1109 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
1110
1111         * insettabular.C (getStatus): use FuncStatus
1112
1113 2002-01-08  Juergen Vigna  <jug@sad.it>
1114
1115         * insettabular.C (insetButtonRelease): now this should work too
1116         correctly.
1117
1118         * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
1119         if the width is a percentage.
1120
1121         * inset.h: added isChar() function and implemented this for
1122         insetspecialchar insetquotes and insetlatexaccent.
1123         added forceDefaultParagraphs() and implemented it for insettabular.
1124
1125 2002-01-07  Juergen Vigna  <jug@sad.it>
1126
1127         * insettext.C (getLyXText): Fixed this function. An insert into the
1128         map is only done if we REALLY have a new BufferView.
1129
1130 2002-01-07  Martin Vermeer  <martin.vermeer@hut.fi>
1131
1132         * insettext.C: fix bug illustrated by attachment #37 of bug #59
1133
1134 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
1135
1136         * insetinclude.C: fix use of FileInfo
1137
1138 2002-01-07  Juergen Vigna  <jug@sad.it>
1139
1140         * insettabular.C (draw): fixed clearing of cell around inset.
1141
1142 2002-01-05  Juergen Vigna  <jug@sad.it>
1143
1144         * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
1145         variables are updated.
1146
1147         * insettabular.C (resetPos): set always the inset_y as it may be
1148         needed in another function.
1149         (searchBackward): don't draw while searching.
1150
1151 2002-01-04  Juergen Vigna  <jug@sad.it>
1152
1153         * insettext.C (lockInsetInInset): forgot to set a cursor.
1154
1155 2002-01-02  Juergen Vigna  <jug@sad.it>
1156
1157         * insettext.C (insertInset): make the correct undo informations on
1158         inserting new insets.
1159
1160 2001-12-31  John Levon  <moz@compsoc.man.ac.uk>
1161
1162         * insettabular.C: correct single-cell select vertically
1163
1164 2001-12-27  Juergen Vigna  <jug@sad.it>
1165
1166         * insettabular.C (ascii): export as tab-separated-values if the
1167         function was not called from export (f.ex.: clipboard).
1168
1169         * insetcollapsable.h: added default support for ascii, linuxdoc and
1170         docbook export (the insettext is exported by default!)
1171
1172         * insettabular.C (copySelection): suff the clipboard with the tabular
1173         data in a tab separated format, seems more naturals then with all the
1174         formating.
1175
1176 2001-12-24  Juergen Vigna  <jug@sad.it>
1177
1178         * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
1179         to check for REAL mouseMotion.
1180
1181 2001-12-20  Juergen Vigna  <jug@sad.it>
1182
1183         * inset.C (cursor): return the owners cursor if available instead of
1184         always only the bv->text->cursor.
1185
1186         * insettabular.C (checkLongtableSpecial): works now.
1187
1188 2001-12-19  Juergen Vigna  <jug@sad.it>
1189
1190         * insettabular.C (tabularFeatures): fix the row setting of ltt as
1191         this has to be always row + 1 as 0 means not selected!
1192         (checkLongtableSpecial): added
1193         (tabularFeatures): better longtable options support
1194
1195         * insettext.C (resizeLyXText): reinit the text always also on a
1196         empty insettext!
1197
1198 2001-12-18  Juergen Vigna  <jug@sad.it>
1199
1200         * insettext.C (updateInsetInInset): look if we have to autocollapse
1201         paragraps and return if the update is requested for ourself.
1202
1203         * insetert.C (status): update the insettext not myself as that is what
1204         we need.
1205
1206         * insetcollapsable.C (updateInsetInInset): always call the InsetText's
1207         function only return if the update was requested with myself.
1208
1209         * insettext.C (insetButtonPress): fixed stupid bug.
1210         (various functions): pay attention that lt is cleared BEFORE calling
1211         updateLocal() and try to use it in the right manner (don't use it
1212         if it's not really neccessary!)
1213         (collapseParagraphs): insert a blank between collapsing paragraphs
1214         if neccessary (not already there!).
1215
1216 2001-12-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1217
1218         * insettabular.C: move includes around a bit, add a couple of
1219         consts.
1220
1221         * insettext.[Ch]: move includes around a bit, other ws changes and
1222         small stuff.
1223
1224 2001-12-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1225
1226         * insettext.C (insetButtonRelease): fix compile problem
1227
1228 2001-12-17  Juergen Vigna  <jug@sad.it>
1229
1230         * insettext.C (insetButtonPress): set the selection cursor!
1231         (insetButtonPress): clear the selection (and set with that the
1232         selection.cursor) if we only hit an inset!
1233
1234         * insetert.C (read): removed piece of compatibility code only needed
1235         for 1.2.0.
1236
1237         * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
1238         can be opened.
1239
1240         * insetcollapsable.C (insetButtonRelease): changed so that it can
1241         open eventual existing popup dialogs on mousebutton==3.
1242
1243         * insetfloat.C (insetButtonRelease): removed not needed anymore!
1244
1245         * insetminipage.C (insetButtonRelease): removed not needed anymore!
1246
1247         * inset.C (insetButtonRelease): return a bool for telling the outer
1248         world that we opened a dialog.
1249
1250 2001-12-07  Juergen Vigna  <jug@sad.it>
1251
1252         * insettext.C (paragraph): remove the deleteing of paragraphs as
1253         it was a WRONG move!
1254
1255 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
1256
1257         * insettabular.h:
1258         * insettabular.C: use new setSelection(). Allow
1259           selection of single cells.
1260
1261 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1262
1263         * insetquotes.C (latex): fix to use the local language setting at
1264         the point where the inset is inserted (different macros for
1265         different french packages)
1266
1267 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1268
1269         * inset.h: add par_owner_ member variable and parOwner
1270         setter/accessor.
1271
1272 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1273
1274         * insettabular.C (everywhere): adapt because widths are now real
1275         widths and not strings
1276
1277         * insettext.C (draw): re-introduce the calls to width(), ascent()
1278         and descent() to initialize the caching variables.
1279
1280 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1281
1282         * insettext.C (draw):
1283         (drawFrame): use insetWidth instead of last_width
1284
1285         * insettext.h: remove variable last_width (insetWidth is exactly
1286         the same) and last_height (computed but never used!)
1287
1288 2001-12-10  Allan Rae  <rae@lyx.org>
1289
1290         * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
1291
1292 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
1293
1294         * insettext.C (insetAllowed): add comment
1295
1296 2001-12-05  Juergen Vigna  <jug@sad.it>
1297
1298         * insettext.C (insetAllowed): fixed for the case that we directly
1299         ask the insettext from its LyXText.
1300         (paragraph): fixed the crash when assigning the par->next() from
1301         the EmptyParagraphMechanism!
1302
1303 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1304
1305         * insetbib.C:
1306         * insettabular.C:
1307         * insettext.C: change "while(" to "while ("
1308
1309 2001-12-04  Juergen Vigna  <jug@sad.it>
1310
1311         * insetert.C (edit): handle Inlined status.
1312
1313         * insettext.C (insertInset): trying John's fix for the trailing cursor
1314
1315         * insetert.C (insetButtonPress): added to handle inlined status
1316         (insetMotionNotify): ditto.
1317
1318         * insettext.C (clearInset): changed Painter & in BufferView * param,
1319         to be able to call ascent,descent methods.
1320
1321 2001-12-03  Juergen Vigna  <jug@sad.it>
1322
1323         * insettext.C (updateInsetInInset): use lt variable to forbid
1324         changes of LyXText in an update call.
1325         (updateInsetInInset): fixed updating of non locked insets!
1326
1327 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
1328
1329         * insettabular.C: capture some more functions to prevent
1330         selection drawing problems. Bug #451274
1331
1332 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
1333
1334         * insetgraphics.C:
1335         * insetgraphicsParams.C: fix inverted sense of float_equal
1336
1337 2001-11-30  Juergen Vigna  <jug@sad.it>
1338
1339         * insettabular.C (InsetTabular): use the save_id flag to create also
1340         the tabular with the same id's.
1341
1342         * insettext.C (setParagraphData): added a same_id function for undo
1343         to set the same paragraph id's as of the paragraph we are setting.
1344
1345 2001-11-30  José Matos <jamatos@fep.up.pt>
1346
1347         * inseturl.[Ch]:
1348         * insettoc.[Ch]: DocBook -> docbook.
1349
1350 2001-11-29  André Pönitz <poenitz@gmx.net>
1351
1352         * inseterror.C:
1353         * insettext.C: further reduction of header dependencies by using
1354         lyx::layout_type and lyx::textclass_type from support/types.h
1355
1356 2001-11-29  Juergen Vigna  <jug@sad.it>
1357
1358         * insettext.C: inserted a reinitLyXText function everywhere I delete
1359         the paragraphs! This should fixe the crashes we had.
1360         Also use the new function firstRow() instead of getRowNearY(dummy_y)
1361         (paragraph): set the InsetOwner() of the new paragraphs!
1362
1363 2001-11-28  André Pönitz <poenitz@gmx.net>
1364
1365         * insetnote.C: add pos initialization that I removed without
1366           knowing what I did.
1367
1368 2001-11-28  Juergen Vigna  <jug@sad.it>
1369
1370         * insettabular.C (resetPos): hack to not crash with infinite paints.
1371
1372         * insettabular.h: insert missing function allowSpellcheck()!
1373
1374         * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
1375
1376 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
1377
1378         * insetfloatlist.h:
1379         * insetfloatlist.C: derive from InsetCommand so gui can use it
1380           easily
1381
1382 2001-11-26  André Pönitz <poenitz@gmx.net>
1383
1384         * insettext.[Ch]:
1385         * insetert.C:
1386         * insetnote.C: reduce header dependencies, introduce type for
1387         positions
1388
1389 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
1390
1391         * various: update for Alert.h
1392
1393 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
1394
1395         * inset.h: fix comment
1396
1397         * insettext.C: use par->isInset()
1398
1399 2001-11-22  Allan Rae  <rae@lyx.org>
1400
1401         * insetcollapsable.h:
1402         * inset.h: Changes to checkInsertChar() behaviour.
1403         Now return value indicates whether chars can be inserted.
1404
1405 2001-11-11  Michael A. Koziarski <michael@koziarski.org>
1406
1407         * various:  updated to use the new LaTeXFeatures
1408
1409 2001-11-14  José Matos  <jamatos@fep.up.pt>
1410
1411         * insetspecialchar.C (linuxdoc):
1412         (docbook): don't give a name to a unused variable.
1413
1414         * insettext.C (docbook): removed unused variable.
1415
1416 2001-11-13  Herbert Voss  <voss@perce.de>
1417
1418         * insetgraphic.C: fix scale bug
1419
1420 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1421
1422         * inset.h (isSpace):
1423         (isLetter): new virtual methods.
1424
1425         * insetspecialchar.C (isSpace):
1426         (isLetter): implement here.
1427
1428 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
1429
1430         * inset.h: new inline helpers
1431
1432         * insettext.C: use new helpers
1433
1434 2001-11-07  José Matos  <jamatos@fep.up.pt>
1435
1436         * insettext.C (docbook): full support for paragraphs inside insettext.
1437
1438 2001-11-06  José Matos  <jamatos@novalis.fc.up.pt>
1439
1440         * insetindex.C: added header file for std::ostream.
1441
1442 2001-11-03  José Matos  <jamatos@fep.up.pt>
1443
1444         * insetindex.C: added using std::ostream that I forgot yesterday.
1445
1446 2001-11-02  Ben Guillon  <nicolas.marsgui@libertysurf.fr>
1447
1448         * insetindex.h (docbook):
1449         * insetindex.C (docbook): added support for docbook export.
1450
1451 2001-11-02  José Matos  <jamatos@fep.up.pt>
1452
1453         * insetcaption.C(docbook): added support for docbook export.
1454
1455 2001-11-02  Dekel Tsur  <dekelts@tau.ac.il>
1456
1457         * insetexternal.C (updateExternal): Do not run update command if
1458         result file exists and is up to date.
1459
1460         * ExternalTemplate.C (readFormat): Support the updateresult token.
1461
1462 2001-10-31  Kayvan A. Sylvan  <kayvan@sylvan.com>
1463
1464         * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
1465         external_templates) to use the buffer->fileName() but only if
1466         previewing. Generating a TeX file should make FPath return
1467         "".
1468
1469 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
1470
1471         * insetert.h:
1472         * insetert.C: fix some problems
1473
1474 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
1475
1476         * insetexternal.C (doSubstitution): Added $$FPath token
1477         to list of usable substitutions in external inset templates.
1478
1479 2001-10-24  Juergen Vigna  <jug@sad.it>
1480
1481         * insettabular.C: use new ltType struct for setting longtable
1482         header and footers also new UNSET enums.
1483
1484 2001-10-24  José Matos  <jamatos@fep.up.pt>
1485
1486         * insettabular.C (linuxdoc): Now exports the ascii's table version.
1487         (docbook): If the table is not inside a float then wrap it inside
1488         <informaltable>...</informaltable>.
1489
1490 2001-10-23  José Matos  <jamatos@fep.up.pt>
1491
1492         * insetref.C (docbook): removed / terminator to conform SGML.
1493
1494         * insetspecialchar.C (linuxdoc):
1495         (docbook): Added support for special chars, more than ascii export.
1496
1497 2001-10-22  Juergen Vigna  <jug@sad.it>
1498
1499         * insettext.C (checkInsertChar): added for REALLY checking the
1500         font of the inserted char in the right inset!
1501
1502 2001-10-19  Juergen Vigna  <jug@sad.it>
1503
1504         * inset.h: added method allowSpellcheck() so that insets who do
1505         not have anything to spellcheck can tell and so they are over-jumped.
1506         Implemented for InsetText and co.
1507
1508 2001-10-18  Juergen Vigna  <jug@sad.it>
1509
1510         * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
1511
1512 2001-10-15  José Matos  <jamatos@fep.up.pt>
1513
1514         * insetert.C: allow export for docbook and linuxdoc
1515
1516 2001-10-07  Adrien Rebollo <adrien.rebollo@gmx.fr>
1517
1518         * insetquotes.C (dispString): handles latin3 and latin4 quotes
1519
1520 2001-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1521
1522         * insetquotes.C (dispString): fix handling of latin9 quotes
1523
1524 2001-10-03  Juergen Vigna  <jug@sad.it>
1525
1526         * insetert.C: ditto
1527
1528         * insetcollapsable.C: change updateInset calls to not tell BV that
1529         we have changed status.
1530
1531 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1532
1533         * insettabular.C (deletable): make const
1534
1535 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
1536
1537         * insetert.C (latex): Fix the returned value
1538
1539 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
1540
1541         * insetert.[Ch] (selectNextWordToSpellcheck): new method.
1542         Returns string(), so nothing in an ERT inset is spellchecked.
1543
1544         * insetgraphics.C (draw): print the filename if not displaying the
1545         image.
1546         (width): make sure that the width and draw methods are consistent.
1547         (updateInset): don't even load the image into cache if not displaying
1548         it.
1549
1550 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
1551
1552         * various files (selectNextWord): renamed as
1553         selectNextWordToSpellcheck.
1554
1555         * insetgraphics.C (draw): remove the previous change. Right place
1556         is in imageLoaderXPM.C.
1557         (draw): don't display the image if params.display == NONE.
1558
1559 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
1560
1561         * figinset.C (runqueue):
1562         * insetgraphics.C (draw): set background colour of inset from
1563         background to the user-configurable graphicsbg.
1564
1565 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1566
1567         * insetquotes.C (InsetQuotes): when trying to decide the side of
1568         the quote, choose `left' only after a space or '('
1569
1570 2001-09-04  José Matos  <jamatos@fep.up.pt>
1571         * figinset.C
1572         * figinset.h
1573         * insetcaption.C
1574         * insetcaption.h
1575         * insetcollapsable.h
1576         * insetcommand.C
1577         * insetcommand.h
1578         * inseterror.h
1579         * insetert.C
1580         * insetert.h
1581         * insetexternal.C
1582         * insetexternal.h
1583         * insetfloat.C
1584         * insetfloat.h
1585         * insetfloatlist.h
1586         * insetgraphics.C
1587         * insetgraphics.h
1588         * inset.h
1589         * insetinclude.C
1590         * insetinclude.h
1591         * insetlabel.C
1592         * insetlabel.h
1593         * insetlatexaccent.C
1594         * insetlatexaccent.h
1595         * insetquotes.C
1596         * insetquotes.h
1597         * insetref.C
1598         * insetref.h
1599         * insetspecialchar.C
1600         * insetspecialchar.h
1601         * insettabular.C
1602         * insettabular.h
1603         * insettext.C
1604         * insettext.C (docbook): rename docBook method to docbook.
1605
1606 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
1607
1608         * inset.h (getFirstParagraph): New virtual method.
1609
1610 2001-08-20  Herbert Voss  <voss@perce.de>
1611         * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
1612         in the the bibtex-database-gui for inserting a line
1613         \addcontentsline...
1614
1615         If no style is given than there is no tex-output.
1616
1617 2001-08-18  Angus Leeming  <a.leeming@ic.ac.uk>
1618
1619         * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
1620         files as a vector.
1621         (getKeys): use it.
1622
1623 2001-08-18  Dekel Tsur  <dekelts@tau.ac.il>
1624
1625         * insetert.C (latex): Fix output for multiple paragraphs.
1626         (write): New code for writing paragraph data.
1627         (read): Set font after reading the inset.
1628         (localDispatch): Call set_latex_font() for more cases.
1629
1630         * insetnote.h: Add empty validate method.
1631         * insetert.h: Ditto
1632
1633         * insetnote.C (InsetNote): Set language to the language of the
1634         document.
1635
1636 2001-08-16  Juergen Vigna  <jug@sad.it>
1637
1638         * insettext.C: implemented the new FINISHED states.
1639
1640         * insettabular.C: ditto
1641
1642         * inset.h: added more FINISHED states for cursor right,up,down
1643
1644 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
1645
1646         * insetfloatlist.C: use "FloatName List"
1647
1648 2001-08-14  Juergen Vigna  <jug@sad.it>
1649
1650         * insetert.C (edit): forgot to set status_ in edit calls!
1651
1652 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
1653
1654         * insettext.C: Compilation fix
1655
1656 2001-08-13  Juergen Vigna  <jug@sad.it>
1657
1658         * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
1659
1660         * insetcollapsable.C (edit): don't recollapse an already open inset.
1661
1662         * insettext.C: fixed problem when reinitializing LyXText by not doing
1663         it while lt is in use and post this to the next possible time in
1664         getLyXText().
1665         (searchForward): fixed not unlocking of inset if nothing found.
1666         (edit): set cursor behind right (was set -1 pos).
1667
1668         * insetert.C (InsetERT): init status_ also in the 3rd constructor.
1669
1670         * insettabular.C (tabularFeatures): fixed fix where deleting the
1671         last row didn't get the right actcell!
1672
1673 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
1674
1675         * insettext.C (localDispatch): Change language only when the inset
1676         becomes empty.
1677
1678 2001-08-10  Juergen Vigna  <jug@sad.it>
1679
1680         * insettabular.C (selectNextWordInt): use the front using edit call.
1681
1682         * insetcollapsable.C (getMaxWidth): rename inset to in to not have
1683         the parameter overwrite class variable inset.
1684
1685         * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
1686
1687         * insettext.C (saveLyXTextState): check for invalid cursor-par.
1688         (reinitLyXText): remove wrong_cursor bool as not needed anymore!
1689
1690         * insettabular.C (calculate_dimensions_of_cells): let's try to call
1691         update only for fixed with cells.
1692         (resetPos): try to fix the lockup on spellchecking or s&r.
1693
1694         * insettext.C (update): comment this out as it seems first wrong
1695         and second not needed anymore!
1696         (some functions): call reinitLyXText() only in update() in all other
1697         positions set only need_update = INIT.
1698
1699 2001-08-08  Juergen Vigna  <jug@sad.it>
1700
1701         * insettabular.C (setPos): fixed wrong actrow < rows() check.
1702
1703         * insettext.C (insetUnlock): remove double-space on inset unlock.
1704
1705         * insetcollapsable.C (draw): fix returned x when label > inset-width.
1706
1707         * insettabular.C (update): fixed cursor positon after an insert.
1708         (insetAllowed): do not allow to insert insets when not inside the
1709         inset!
1710         (draw): clear below an inset too as it could have changed height.
1711
1712         * inset.C (getMaxWidth): fixed width for inset in inset.
1713
1714         * insettext.C (update): small fix.
1715
1716         * insettabular.C (tabularFeatures): added selection support to
1717         DELETE_ROW/DELETE_COLUMN.
1718
1719 2001-08-07  Juergen Vigna  <jug@sad.it>
1720
1721         * inset.C (getMaxWidth): recoded and all it's implementations!
1722
1723         * insettext.C (init,setParagraph+constructors): cleanups
1724         (reinitLyXText): fixed problem with wrong cursor when all paragraphs
1725         are new and I want do a save/restore of the cursor position which is
1726         not possible anymore.
1727
1728         * insetcollapsable.C (searchBackward): recollapse inset if not found.
1729         (searchBackward): ditto
1730         (selectNextWord): ditto
1731
1732 2001-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
1733
1734         * insetlatexaccent.C (checkContents): Add some debug messages
1735
1736 2001-08-07  Juergen Vigna  <jug@sad.it>
1737
1738         * insetert.C (read): don't use InsetCollapsable::read as we don't
1739         write the collapsed status anymore only the status.
1740         (write): ditto.
1741
1742 2001-08-06  Juergen Vigna  <jug@sad.it>
1743
1744         * insetert.C (set_latex_font): use LyXText's setFont directly.
1745
1746         * insettext.C (drawFrame): fixed one time more the right position
1747         and size of the frame!
1748
1749         * insetert.C (~InsetERT): hide the dialog.
1750         (showInsetDialog): added implementation
1751         (open): ditto
1752         (close): ditto
1753         (status): new function for the status of the ERT inset (3-state).
1754         (write): output also the status of the inset for readback!
1755         (read): readback the status if available otherwise use collapsed_.
1756
1757         * insettext.C (edit): small fix of setting the position, which could
1758         have gone < 0.
1759
1760         * insetert.C (width): implement this function for inlined viewing.
1761         Added minimum width of 10 pixels!
1762
1763         * insetminipage.C (InsetMinipage): just change the colors a bit so
1764         that border/background is a bit more visible. We will remove this
1765         anyway for 1.2.0!
1766
1767         * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
1768         function for getting the important widths for drawing in various
1769         functions and in LyXText.
1770         (draw): fixed up a bit (frame drawing/clearing)
1771
1772 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1773
1774         * inset.C (convertFont): delete method. not used.
1775
1776 2001-08-03  Juergen Vigna  <jug@sad.it>
1777
1778         * insettext.C (setFont): don't call for a draw update if we're just
1779         changing the cursor font!
1780
1781 2001-08-02  Juergen Vigna  <jug@sad.it>
1782
1783         * insettext.C (draw): clear the background with the right color if
1784         needed. Update myself if x&max-width changed and return without doing
1785         anything. Let the update code handle the right stuff.
1786
1787         * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
1788         inside another inset.
1789
1790 2001-08-01  Juergen Vigna  <jug@sad.it>
1791
1792         * insetcollapsable.C (update): added an in_update bool so we avoid
1793         reentering.
1794
1795         * insettabular.C (update): added an in_update bool so we avoid
1796         reentering.
1797
1798         * insettext.C (insetButtonPress): hopefully fixed setselection/clear
1799         selection problem.
1800         (update): added an in_update bool so we avoid reentering.
1801
1802         * insettabular.C (localDispatch): clear col/row selection when doing
1803         something else inside an inset.
1804
1805         * insettext.C (getLyXText): fixed bug when requesting a recursive
1806         insettext!
1807
1808 2001-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
1809
1810         * insetcite.C (latex): Paranoia check. Make sure that there is no
1811         whitespace between the citation keys.
1812
1813 2001-07-31  Juergen Vigna  <jug@sad.it>
1814
1815         * inset.h (nodraw): make the set function also const so that this
1816         can be called from inside other const functions.
1817
1818         * insetcollapsable.h: removed inline variable and moved it over
1819         to the only user InsetERT.
1820
1821         * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
1822         inset opening immediately therein lying insets dialogs!
1823
1824         * insetert.C (localDispatch): set the font also if we don't have any
1825         chars in this paragraph, otherwise if we delete all of em and start
1826         writing we have the wrong font.
1827         (inlined): added
1828         (draw): implemented for inline support
1829         (insetButtonRelease): ditto.
1830
1831 2001-07-30  Juergen Vigna  <jug@sad.it>
1832
1833         * insettext.C (reinitLyXText): new function to reinit the insets
1834         text after lot's of paragraph changes. Use this instead of the
1835         cache.clear() which is VERY dangerous.
1836
1837         * insetfloat.C (insetButtonRelease): we should only show the dialog
1838         if we press on the label otherwise we have problems to open mouse
1839         button 3 dialogs inside this float (f.ex. of a tabular!)
1840
1841 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1842
1843         * insetert.C: change back to "ERT"
1844
1845         * insetfloat.C: handliign of RMB on label added.
1846
1847 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1848
1849         * insetgraphicsParams.C: #include LOstream.h here.
1850
1851         * insetfoot.h: remove InsetFoot:: qualifier.
1852
1853 2001-07-29  Baruch Even  <baruch@lyx.org>
1854
1855         * ChangeLog: Hiding time travel evidence.
1856
1857         * insetgraphicsParams.h:
1858         * insetgraphicsParams.C:
1859         * insetgraphics.C: Added horizontal scale option, it actually scales both
1860         directions since it keeps image proportions.
1861
1862         * insetgraphics.C: Fixed EPS detection to be non-hacky.
1863
1864 2001-07-29  Baruch Even  <baruch@lyx.org>
1865
1866         * insetgraphics.C (decideOutputImageFormat): when doing postscript output
1867         convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
1868
1869         HACKY! Will need to add an EPS detection routine like old InsetFig does!
1870
1871 2001-07-29  Baruch Even  <baruch@lyx.org>
1872
1873         * insetgraphics.C: Added EPSI to be an alias of EPS.
1874
1875 2001-07-29  Baruch Even  <baruch@lyx.org>
1876
1877         * insetgraphics.C: Change GRAPHICS to Graphics.
1878         Changed image conversion rules (documented at the beginning of file).
1879
1880 2001-07-28  Angus Leeming  <a.leeming@ic.ac.uk>
1881
1882         * insetert.C (get_new_label): int -> Paragraph::size_type to get
1883         std::min working.
1884
1885         * insetgraphics.C: added a using std::endl directive.
1886
1887         * insetcommand.h (getScreenLabel): removed pure virtual function,
1888         as it duplicates that in InsetButton.
1889
1890         * insetbib.[Ch] (getScreenLabel):
1891         * insetbutton.[Ch] (getScreenLabel):
1892         * insetcite.[Ch] (getScreenLabel):
1893         * insetert.[Ch] (getScreenLabel):
1894         * insetexternal.[Ch] (getScreenLabel):
1895         * insetfloatlist.[Ch] (getScreenLabel):
1896         * insetinclude.[Ch] (getScreenLabel):
1897         * insetindex.[Ch] (getScreenLabel):
1898         * insetlabel.h (getScreenLabel):
1899         * insetparent.[Ch] (getScreenLabel):
1900         * insetref.[Ch] (getScreenLabel):
1901         * insettoc.[Ch] (getScreenLabel):
1902         * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
1903
1904         * insetcite.C (getScreenLabel): use this Buffer parameter in creating
1905         the label.
1906         (validate): remove check on "cite" when using natbib.
1907
1908 2001-07-26  Baruch Even  <baruch@lyx.org>
1909
1910         * insetgraphics.C (draw): changed casting to be in one place rather than
1911         all over the function.
1912
1913         * insetgraphics.h:
1914         * insetgraphics.C (read): Added compatibility reads of InsetFig.
1915
1916         * insetgraphicsParams.h:
1917         * insetgraphicsParams.C:
1918         * insetgraphics.C: Removed inline option and changed rotateAngle to float.
1919
1920 2001-07-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
1921
1922         * insetfoot.C (validate): Added method to ensure that the
1923         right bit of LaTeX is emitted.
1924
1925         * insetfoot.h: Added validate method to set the correct
1926         LaTeXFeatures bit for the special footnote code.
1927
1928 2001-07-26  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
1929
1930         * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
1931         quotes
1932
1933 2001-07-27  Juergen Vigna  <jug@sad.it>
1934
1935         * inset.h: remove not used font variable in parameter.
1936         removed checkInsertChar in UpdatableInset as it was equal to
1937         the one in Inset and so not needed.
1938
1939         * insetert.C (checkInsertChar): implementation of function
1940         checkInsertChar.
1941
1942         * inset.h: added new function checkInsertChar.
1943
1944         * various files: added c-tor and clone() function.
1945
1946         * insetcollapsable.h: removed clone function here as this should
1947         be only realized in REAL insets and added it to all collapsable
1948         insets! (with the copy-constructor).
1949
1950 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1951
1952         * insetminipage.C (read): handle missing parameters more gracefully
1953
1954         * insetcollapsable.C (read): handel missing collapsed more gracefully
1955
1956 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1957
1958         * insetfloat.C (read): handle missing parameters.
1959
1960         * insettext.C (read): handle old latex end_inset
1961
1962         * insetert.C (setButtonLabel): new method
1963         (init): use it, to set the dynamic label correctly
1964         (read): use it
1965
1966         * Makefile.am (EXTRA_DIST): add files that is not part or the
1967         binary here.
1968
1969         * insetcollapsable.h: remove autocollapsable (no users), remove
1970         draw_label, change_label_with_text and companion code. Remove args
1971         from some methods.
1972         * insetert.[Ch]: move here instead (only user)
1973
1974         * inset.h: rename private variable name to name_, make
1975         selectNextWord return a const string. make getInsetName return a
1976         string const &. Remove bool from open, add close.
1977
1978         * Makefile.am: don't compile insetlist, insetsection
1979         and insettheorem
1980
1981 2001-07-24  Juergen Vigna  <jug@sad.it>
1982
1983         * insetert.C (InsetERT): put init after the paragraph initialization,
1984         as otherwise we don't set the draw_label right.
1985
1986         * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
1987         insets with the mouse without having strange selections.
1988         (edit): if the inset was collapsed and we open it here then put the
1989         cursor always at the beginning of the inset.
1990         (get_new_label): 15 instead of 10 max chars in the label.
1991
1992         * insetert.C (localDispatch): added and handle various stuff we
1993         need to handle here (font setting on paragraph break, not permitted
1994         layout setting, etc.).
1995
1996         * inset.h: added default copy-consturctor and implemented this in
1997         various insets with the change to use this in the clone function!
1998
1999 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2000
2001         * insetminipage.C (InsetMinipage): set background color to red :)
2002
2003 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2004
2005         * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
2006         draw frame mode is LOCKED.
2007
2008         * insetcollapsable.C (edit):
2009         (insetButtonRelease): set update status to full when
2010         opening inset.
2011
2012         * insettext.C (clearInset):
2013         * insettabular.C (draw):
2014         * insetlatexaccent.C (draw): honor background color.
2015
2016         * inset.h: new member background_color_, initialized to
2017         LColor::inherit.
2018
2019         * inset.C (backgroundColor): new method.
2020         (setBackgroundColor): new method.
2021
2022         * insetert.C (init): new method, called by the ctors.
2023         (InsetERT): when inserting contents, make sure the font is
2024         ALL_INHERIT.
2025
2026         * insetnote.C (InsetNote): when inserting content, remove trailing
2027         newline
2028         (init): set background color to LColor::note
2029
2030 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2031
2032         * insetcollapsable.C: adjust
2033
2034         * insetbutton.C: adjust
2035
2036 2001-07-23  Juergen Vigna  <jug@sad.it>
2037
2038         * insetcollapsable.h: removed widthCollapsed variable, LyXFont
2039         parameter on the _collapsed function (was not needed) and call
2040         always width_collapsed().
2041
2042         * insetert.C (InsetERT): use setLabel with "true" flag.
2043
2044         * insetcollapsable.C: modified various functions to set the draw_label
2045         string right in any condition.
2046         (setLabel): added a bool parameter to set change_label_with_text.
2047
2048         * insetcollapsable.h: added draw_label string which is set to the
2049         actual drawn label-string, while label is the original static label
2050         of this collapsable inset. Added bool change_label_with_text to set
2051         if we want that the label changes to the start of the InsetText's
2052         text when collabpsed. You can set this flag with the setLabel funciton.
2053         Added bool inlined for inlined collapsable insets, but not handled
2054         yet.
2055
2056         * insetcollapsable.C (get_new_label): added should get a new label
2057         from the InsetText beginning (for now 10 chars).
2058
2059 2001-07-21  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
2060
2061         * insetquotes.C (latex): fix the handling of french double quotes
2062         when not using the french pachage.
2063
2064 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2065
2066         * insetcollapsable.h: make WidthCollapsed mutable.
2067
2068         * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
2069         InsetPrintIndex returns INDEX_PRINT_CODE.
2070
2071         * inset.h: add INDEX_PRINT_CODE
2072
2073         * insetcollapsable.C (draw): init widthCollapsed if necessary
2074         (width): ditto.
2075
2076         * insetquotes.C (width): use the local language, not the document
2077         language.
2078         (draw): ditto.
2079         (dispString): add additional spacing for all french languages,
2080         like fr_CA.
2081         (validate): make it work when there is no default language
2082
2083         * insetspecialchar.h: rename kind to kind_; add kind() accessor.
2084
2085         * insetnote.C (init): new method, called by the constructors
2086         (InsetNote): new constructor with contents passed as a string
2087
2088 2001-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2089
2090         * insetfootlike.C (insetAllowed): disallow float in footlike.
2091
2092         * insetert.C (InsetERT): add collapsed argument to the constrctor
2093         with contents.
2094
2095 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2096
2097         * insetindex.h: shut off warning
2098
2099 2001-07-20  Juergen Vigna  <jug@sad.it>
2100
2101         * insetcollapsable.C (update): recoded hopefully works now!
2102
2103 2001-07-19  Juergen Vigna  <jug@sad.it>
2104
2105         * most files: implemented the below new introduced function.
2106
2107         * inset.h: added new edit(BufferView *, bool front) method to be able
2108         to enter an inset from the front/back without knowing x/y positions
2109         and baselines inside the inset. So I just can tell the inset activate
2110         me and set the cursor on the front/back of yourself.
2111
2112 2001-07-18  Juergen Vigna  <jug@sad.it>
2113
2114         * insetcollapsable.C (edit): fixed hopefully the y parameter which
2115         is given to the InsetText.
2116         (insetButtonPress): ditto
2117         (insetButtonRelease): ditto
2118         (insetMotionNotify): ditto
2119
2120 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2121
2122         * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
2123         LIGATURE_BREAK, since the name is so stupid.
2124
2125 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
2126
2127         * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
2128         the default InsetCollapsable methods. I.e., it can insert anything.
2129         (write) output the name of the inset, not some silly hack for
2130         compatability with the old InsetInfo.
2131
2132         * insetinfo.[Ch]: removed.
2133         * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
2134         now collapsable, but functionality is otherwise identical to InsetInfo.
2135
2136         * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
2137
2138 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2139
2140         * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
2141         reformatting
2142
2143         * insetquotes.C: general cleanup
2144         (dispString): add spaces inside french double quotes.
2145         (latex): ditto. Moreover, treat first the case where the frenchb
2146         or french options have been given.
2147
2148 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
2149
2150         * insetcite.[Ch] (latex, validate): new methods, required for natbib
2151         support.
2152
2153 2001-07-19  Dekel Tsur  <dekelts@tau.ac.il>
2154
2155         * figinset.C (RegisterFigure): Print debug message only when
2156         current_view is available.
2157
2158 2001-07-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2159
2160         * many files: update to match the change below
2161
2162         * inset.h (insetAllowed): renamed from insertInsetAllowed;
2163         implement the version which takes an inset here.
2164
2165         * insetcollapsable.[Ch]: implement open and isOpen
2166
2167         * inset.h: remove insertInsetAllowed from Inset
2168         (open): new method, to open or close an inset
2169         (isOpen): returns the status of an inset
2170         (isCollapsable, colapse): removed
2171
2172 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
2173
2174         * insetquotes.C (dispString): display french guillemets when using
2175         ISO8859-15.
2176
2177 2001-07-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2178
2179         * insetcollapsable.h: remove bogus return statements
2180
2181 2001-07-18  Juergen Vigna  <jug@sad.it>
2182
2183         * insettabular.C (selectNextWord): fixed spellchecking for the
2184         first cell of a tabular (wasn't entered!)
2185         (getLyXText): changed to enter automatically insettext and return
2186         it's LyXText if we're locked.
2187
2188 2001-07-17  Juergen Vigna  <jug@sad.it>
2189
2190         * various files: implemented the below functions.
2191
2192         * inset.h: added functions
2193         - virtual string selectNextWord(BufferView *, float & value) const;
2194         - virtual void selectSelectedWord(BufferView *) { return; }
2195         - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
2196         needed for spellchecking correctly!
2197
2198 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2199
2200         * insetert.C (latex): write out all paragraphs.
2201
2202 2001-07-17  Baruch Even  <baruch@lyx.org>
2203
2204         * insetgraphics.C (draw): Removed unneeded casts.
2205
2206 2001-07-16  Juergen Vigna  <jug@sad.it>
2207
2208         * insettext.C (update): fixed small oversight (reset lt to 0).
2209
2210 2001-07-14  Baruch Even  <baruch@lyx.org>
2211
2212         * insetgraphics.h:
2213         * insetgraphics.C: Added a copy c-tor and handled the same_id case.
2214
2215 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
2216
2217         Consistent use of Lsstream.h:
2218         * figinset.C: removed using std::ostringstream directive.
2219
2220         * insetgraphics.C (createLatexOptions):
2221         * insetinclude.C (unique_id):
2222         std::ostringstream -> ostringstream.
2223         * insettext.C (localDispatch): std::istringstream -> istringstream.
2224
2225 2001-07-13  Juergen Vigna  <jug@sad.it>
2226
2227         * insetfloat.C (insertInsetAllowed): added missing const_cast.
2228
2229         * insetcollapsable.C (getLockingInset): ditto.
2230
2231 2001-07-12  Juergen Vigna  <jug@sad.it>
2232
2233         * insetcollapsable.h: added implementation of new function for
2234         collapsable status.
2235
2236         * various files: added implementation of new insertInsetAllowed-func
2237         and redone the function a bit more.
2238
2239         * inset.h: added isCollapsable(), bool collapsed(),
2240         collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
2241
2242         * insetfloat.C (insertInsetAllowed): make a bit more checks.
2243
2244         * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
2245         LyXText which is marked for removal while we're using it!
2246
2247         * insettext.h: added private LyXText * lt to use it to assure we are
2248         not deleting our LyXText while we're using it!
2249
2250 2001-07-11  Juergen Vigna  <jug@sad.it>
2251
2252         * insettext.C (insertInset): check if we are before the inset after
2253         inserting it! This check IS needed. Remove the Undo-Call as it is
2254         called in LyXText::insertInset!
2255
2256         * insettext.h: added struct InnerCache.
2257
2258         * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
2259         that we ONLY delete the LyXText in the getLyXText() routine. So we
2260         are sure we don't delete LyXText while someone is working with it!
2261
2262 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2263
2264         * insetexternal.C: (*it). -> it->
2265         * insettext.C: ditto
2266
2267 2001-07-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2268
2269         * insetcollapsable.C (edit): always open collapsed insets (even if
2270         they are not autocollapsable)
2271
2272         * insetcommand.C (operator=): simplify.
2273
2274 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2275
2276         * insetert.C (latex): handle META_NEWLINE
2277
2278 2001-07-09  Juergen Vigna  <jug@sad.it>
2279
2280         * insetert.h: a normal InsetText can insert insets, but we won't.
2281
2282         * inset.h: return default "false" on insertInsetAllowed and implement
2283         this function where a returnvalue != "false" is needed.
2284
2285 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2286
2287         * insetert.C (InsetERT): new contructor
2288
2289 2001-07-06  Juergen Vigna  <jug@sad.it>
2290
2291         * a lot of files: added implementation of the below new functions
2292         and the change to clone(). Also the call of the new undo-functions
2293         where needed.
2294
2295         * inset.h: added an inset_id, added functions getParFromID,
2296         getInsetFromID, firstParagraph, cursor and id functions, added
2297         bool same_ids to clone function.
2298
2299 2001-07-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2300
2301         * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
2302         of BufferView * and shared_ptr<LyXText>
2303
2304 2001-07-05  Juergen Vigna  <jug@sad.it>
2305
2306         * insettext.C (clear): deleted also the cache not only LyXText.
2307         (setParagraphData): ditto.
2308
2309 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2310
2311         * insetfloat.C (latex): let the specific placement take presedence
2312         if set, otherwise choose document placement if set, otherwise just
2313         use float default placement.
2314
2315 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2316
2317         * insettext.C (localDispatch): call CutAndPaste::'s static method
2318         directly.
2319
2320 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2321
2322         * insetbib.C: no meed to include forms.h here.
2323
2324 2001-07-03  Angus Leeming  <a.leeming@ic.ac.uk>
2325
2326         * insettext.C: added using std::make_pair directive.
2327
2328 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2329
2330         * insettext.C (getLyXText): avoid multiple lookups, and simplify
2331         slightly
2332         (deleteLyXText): ditto
2333         (resizeLyXText): ditto
2334
2335 2001-07-02  Juergen Vigna  <jug@sad.it>
2336
2337         * insettext.C (getLyXText): introduce a cache in getLyXText so that
2338         following calls are only returned the right pointer without the over
2339         head to search in the map.
2340         (various funcs): reset the cached_bview variable as this signs that
2341         the cache is not valid anymore.
2342
2343 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2344
2345         * insettabular.C (clone): do not copy the LyXTabular twice
2346
2347 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2348
2349         * insettext.h (TEXT): delete method
2350
2351 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2352
2353         * insetmarginal.C (latex):
2354         * insetfoot.C (latex): fix spacing of notes in LaTeX
2355
2356         * insettext.C (localDispatch): use .c_str() on istringstream
2357         constructor argument.
2358
2359 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
2360
2361         * insettoc.h:
2362         * insettoc.C:
2363         * inseturl.h:
2364         * inseturl.C: fix method names in these to begin
2365           with small char too, so they inherit
2366
2367 2001-06-28  Juergen Vigna  <jug@sad.it>
2368
2369         * insettext.C (setFont): fixed font settings using toggleFree()
2370         instead of setFont().
2371
2372 2001-06-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2373
2374         * Change a lot of method names to begin with a small char.
2375         Changes to a lot of files because of this.
2376
2377 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2378
2379         * insetfloatlist.C (Write): std:: qualify ostream
2380         (Latex): ditto
2381
2382 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
2383
2384         * figinset.C:
2385         * inset.C:
2386         * insetgraphics.C: send debug output to Debug::INFO instead of
2387         Debug::ANY.
2388
2389 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
2390
2391         * insettabular.h:
2392         * insettabular.C (getStatus): update to use func_status
2393
2394 2001-06-26  ben <nicolas.marsgui@libertysurf.fr>
2395
2396         * insetref.C (DocBook): added support for cross-references without
2397         a name.
2398
2399 2001-06-26  The LyX Project  <jug@sad.it>
2400
2401         * insetref.C:
2402         * insetref.h:
2403         * insetlabel.C:
2404         * insetlabel.h: removed escape method and moved it to
2405         support/lstrings.h.
2406
2407 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2408
2409         * insettabular.C (getMaxWidth): do the speedup in a different way,
2410         remove dead code
2411
2412 2001-06-24  The LyX Project  <Asger>
2413
2414         * insettabular.C (getMaxWidth): We cache a mapping from
2415         inset to cell in order to speed this method up.
2416
2417 2001-06-24  The LyX Project  <Asger>
2418
2419         * insettext.C: Optimized InsetText::draw or something.
2420
2421 2001-06-23  The LyX Project  <lyx@rose.home.sad.it>
2422
2423         * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
2424
2425 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2426
2427         * inset.h: name change from lyxinset.h
2428
2429 2001-06-22  Dekel Tsur  <dekelts@tau.ac.il>
2430
2431         * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
2432
2433 2001-06-14  Juergen Vigna  <jug@sad.it>
2434
2435         * insettext.C (draw): removed warnings.
2436
2437 2001-06-13  Juergen Vigna  <jug@sad.it>
2438
2439         * insettabular.C (nodraw): only go down the tree if we don't have
2440         that flag set otherwise it's obvious that we don't want to draw.
2441         (LocalDispatch): do also an update if we have an undispached result.
2442
2443 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
2444
2445         * insetcite.C:
2446         * insetgraphicsParams.C:
2447         * insettext.C: removed // -*- C++ -*- as first line.
2448
2449 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2450
2451         * lyxinset.h (resizeLyXText): shut off warning about unused
2452         parameter "force"
2453
2454 2001-06-07  Juergen Vigna  <jug@sad.it>
2455
2456         * insettext.C (resizeLyXText): honor the new force flag.
2457
2458         * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
2459
2460         * insettabular.C (deleteLyXText): new function
2461
2462 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
2463
2464         * insettheorem.C:
2465         * insetminipage.C:
2466         * insetlist.C:
2467         * insetfootlike.C:
2468         * insetfloat.C:
2469         * insetert.C:
2470         * insetcollapsable.C:
2471         * insetcaption.C: LColor tidy
2472
2473 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2474
2475         * figinset.C: fix typo
2476
2477 2001-06-01  Juergen Vigna  <jug@sad.it>
2478
2479         * insettabular.C (resetPos): small hack so that scroll is not set to
2480         0 when we are in the last column of a tabular. This is a problem we
2481         have because of constats 20 offset on both directions, so this can
2482         cause on the limit an endless loop.
2483
2484         * insettext.C (SetFont): forgot that we can have locking insets ;)
2485
2486 2001-05-31  Juergen Vigna  <jug@sad.it>
2487
2488         * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
2489
2490 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2491
2492         * figinset.C: add using std:: directive for the C functions which
2493         need that.
2494
2495 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2496
2497         * insetfloat.C (Write): write out wide info
2498         (Read): read the wide info
2499         (Latex): use the wide info when creating latex.
2500
2501         * insettext.C: adjust
2502
2503         * insetgraphics.[Ch] (statusMessage): change to return string
2504         (width): adjust
2505         (draw): adjust
2506
2507         * figinset.C (runqueue): add std::
2508         (Recompute): ditto
2509
2510 2001-05-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2511
2512         * insetcite.C (Ascii): add std:: qualifier
2513
2514 2001-05-28  Juergen Vigna  <jug@sad.it>
2515
2516         * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
2517         a endless-width inset (maxWidth < 0).
2518         (Edit): change language only if not equal.
2519
2520         * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
2521
2522         * insettext.C (draw): fixed draw/clear of InsetText-Frame
2523
2524 2001-05-16  Juergen Vigna  <jug@sad.it>
2525
2526         * insettext.C (selectAll): added
2527         (clearSelection): added
2528
2529         * insettabular.C (SetFont): now we may set a font on a whole selection!
2530         (getSelection): added helper function.
2531
2532 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
2533
2534         * insetcite.C (Ascii): Add method.
2535
2536 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
2537
2538         * figinset.C:
2539         * insetbib.C: fix path for OS/2 & Win32
2540
2541 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2542
2543         * insetfoot.C (Latex): don't use % after footnote.
2544
2545 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2546
2547         * insettext.C (Read): use clear
2548         (SetParagraphData): use LyXParagraph copy constructor instead of clone
2549
2550 2001-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2551
2552         * insetfloatlist.h: add a bunch of std:: qualifiers.
2553
2554 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2555
2556         * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
2557         FLOAT_LIST_CODE, renumber code list.
2558
2559         * insettoc.C (getScreenLabel): remove support for float lists
2560         (LyxCode): ditto
2561         (Ascii): ditto
2562
2563         * insetfloatlist.[Ch]: new files
2564
2565         * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
2566
2567 2001-04-27  Angus Leeming  <a.leeming@ic.ac.uk>
2568
2569         * insettabular.C (LocalDispatch):
2570         * insettext.C (LocalDispatch): getClipboard() is now a BufferView
2571         method
2572
2573 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2574
2575         * insettext.C: remvoe !NEW_INSETS cruft
2576
2577         * insettabular.C: remove !NEW_INSETS cruft
2578
2579         * insetcollapsable.h: remove !NEW_INSETS cruft
2580
2581         * insetbib.C: remove !NEW_INSETS cruft
2582
2583 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2584
2585         * insettoc.C: hack to make listof algorithm work
2586
2587 2001-04-20  Juergen Vigna  <jug@sad.it>
2588
2589         * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
2590
2591 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2592
2593         * insetquotes.C (Latex): improve the guard against
2594         unwanted !` and ?` ligatures. This should really be done in
2595         another place (to catch all this ligatures at low-level).
2596
2597 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2598
2599         * insettext.C (init): remvoe leftovers from cursor_visible change
2600         (draw): use c++ cast
2601         (LocalDispatch): dispatch LFUN_MESSAGE
2602
2603         * insettabular.C (InsetTabular): remove leftovers from
2604         cursor_visible, and scoped_ptr changes
2605         (draw): use c++ cast
2606
2607         * insetcollapsable.C (draw): use c++ cast
2608
2609         * ExternalTemplate.h: inherit privaely from noncopyable
2610         * insetcommand.h: ditto
2611         * insetinclude.h: ditto
2612
2613 2001-04-16  Allan Rae  <rae@lyx.org>
2614
2615         * insettoc.C (Ascii):
2616         * insettext.C (draw):
2617         * insettabular.C (setPos):
2618         * insetminipage.C (Read):
2619         * insetfloat.C (placement):
2620         * insetcaption.C (Ascii, DocBook):
2621         * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
2622         an unrecognised preprocessor directive.  So ensure they're wrapped.
2623
2624 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
2625
2626         * insetexternal.h:
2627         * insetexternal.C: set view on Clone. Add _ to private members.
2628
2629 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2630
2631         * insettext.C (InsetText): fix new
2632         (InsetText): reindent some, simplify deletion of par list
2633         (clear): simplify deletion of par list, fix new
2634         (SetParagraphData): simplify deletion of par list
2635
2636         * insettabular.[Ch] (getLabelList): implement new method
2637
2638 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2639
2640         * lyxinset.h: do not include gettext.h...
2641
2642         * inset.C:
2643         * insetcaption.C:
2644         * insetexternal.C:
2645         * insetgraphics.C:
2646         * insetindex.C:
2647         * insetlabel.C:
2648         * insetlatexaccent.C:
2649         * insetminipage.C:
2650         * insetquotes.C:
2651         * insettabular.C:
2652         * inseturl.C: ... and do it here instead
2653
2654 2001-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2655
2656         * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
2657
2658         * insettext.[Ch] (getLabelList): add std:: on vector<string>
2659
2660         * insetcollapsable.[Ch] (getLabelList): implement
2661
2662         * insettext.[Ch] (getLabelList): implement
2663
2664         * insettext.h: reindent
2665
2666         * insettabular.h: make tabular a scoped_ptr
2667
2668         * insettext.C (init): adjust for cursor_visible
2669         (ToggleInsetCursor): constify asc and desc, font, adjust for
2670         cursor_visible
2671         (ShowInsetCursor): constify asc and desc, font, adjust for
2672         cursor_visible
2673         (HideInsetCursor): adjust for cursor_visible
2674
2675         * insettabular.C: reindent some
2676         (InsetTabular): adjust for scoped_ptr and cursor_visible
2677         (InsetTabular): ditto
2678         (~InsetTabular): delete delete
2679         (Clone): adjust for scoped_ptr
2680         (Read): constify old_format, adjust for scoped_ptr, move init of
2681         token
2682         (draw): constify tx, localize loop vars.
2683         some other localization of variables, remove double initilizatons.
2684
2685         * insetfoot.C: remove using std::ostream, add ostream where needed
2686
2687 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2688
2689         * lyxinset.h: some reindentaion, use initializer list for
2690         constructro.
2691         UpdatableInset: make cursor_visible a private var add
2692         public isCursorVisible(), add protected toggleCursorVisible() and
2693         proctected setCursorVisible(bool), make scroll call the Inset::scroll
2694
2695         * insettoc.C: remvoe using decl
2696         (getScreenLabel): make cmdname donst
2697         (LyxCode): ditto
2698         (Ascii): ditto
2699         (Ascii): don't use endl
2700
2701         * insetfootlike.C: remove using decl at file scope and add std::
2702         where needed
2703         * insetmarginal.C: ditto
2704
2705         * insetfoot.C: some reformatting
2706
2707         * insetfloat.C (InsetButtonRelease): adjust the hit area
2708
2709         * insetert.C (SetFont): some reformatting
2710
2711         * insetcollapsable.C: some reformatting and constification
2712         (Clone): comment out.
2713         * insetcollapsable.h: some reformatting
2714         (Clone): comment out.
2715
2716         * inset.C: reindent
2717         (scroll): simplify
2718
2719 2001-03-30  Juergen Vigna  <jug@sad.it>
2720
2721         * insetcollapsable.h: changen *inset to be a InsetText inset.
2722
2723         * some files: changed to reflect the above change.
2724
2725 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
2726
2727         * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
2728         InsetExternal::Params.
2729         Added operator==() and operator!=() for the Params struct.
2730
2731 2001-03-29  Juergen Vigna  <jug@sad.it>
2732
2733         * lyxinset.h: changed parameter of getMaxWidth from Painter & to
2734         BufferView *.
2735
2736         * insetminipage.C: removed widthp_ and all it's functions and changed
2737         to use new %-lengths of LyXLength.
2738
2739 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
2740
2741         * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
2742
2743 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
2744
2745         * insetgraphicsParams.C (operator!=): new function, needed by the
2746         ControlGraphics class.
2747
2748 2001-03-28  Juergen Vigna  <jug@sad.it>
2749
2750         * insettext.C (InsetButtonPress): only enter !inset if button == 2
2751         (checkAndActivateInset): don't use the values returned from
2752         call to bv->checkInsetHit.
2753
2754         * insetminipage.C (Clone): set special minipage values.
2755
2756         * insetcollapsable.C (draw): changed to draw the button in the
2757         upper left corner outside the textinset.
2758         (ascent): changed because of different drawing
2759         (descent): ditto
2760         (width): ditto
2761         (Edit): ditto
2762         (InsetButtonPress): ditto
2763         (InsetButtonRelease): ditto
2764         (InsetMotionNotify): ditto
2765
2766 2001-03-27  Dekel Tsur  <dekelts@tau.ac.il>
2767
2768         * figinset.C (GetPSSizes): Fix for the case when filename doesn't
2769         contain a suffix.
2770         (Clone): ditto
2771
2772 2001-03-26  Juergen Vigna  <jug@sad.it>
2773
2774         * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
2775
2776         * insettext.C (ShowInsetDialog): implemented above function.
2777
2778         * insettabular.C (ShowInsetDialog): ditto
2779
2780         * insetminipage.C (ShowInsetDialog): ditto
2781
2782 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
2783
2784         * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
2785         InsetInclude::Params. Don't store a buffer * in Params. Store the
2786         master file name instead.
2787
2788 2001-03-23  Juergen Vigna  <jug@sad.it>
2789
2790         * insetcollapsable.C (InsetMotionNotify):
2791         (InsetButtonRelease):
2792         (InsetButtonPress): fixed y-offset (minipages).
2793
2794         * insettext.C (draw): force a FULL update if cleared == true.
2795
2796         * insetcollapsable.C (draw): Lars forgotten entry for changing this
2797         routine to draw the minipages on its position-flag.
2798         (InsetInInsetY): give back the right y position, because of minipage
2799         position-flag.
2800
2801 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
2802
2803         * insetfloat.h
2804         * insetfloat.C (DocBook): docbook export code.
2805
2806 2001-03-22  Juergen Vigna  <jug@sad.it>
2807
2808         * insetminipage.C (getMaxWidth): added function to set the drawing
2809         width!
2810         (Read): should work now!
2811
2812         * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
2813         if we create a new inset.
2814
2815 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
2816
2817         * figinset.C (fl_set_preemptive_callback): moved definition outside
2818         of namespace anon.
2819
2820 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2821
2822         * insetminipage.C (Read): prepare for reading of minipage arguments.
2823
2824 2001-03-18  Baruch Even  <baruch@lyx.org>
2825
2826         * insetgraphics.C: Minor cleanups of the comments and code.
2827
2828 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2829
2830         * insetminipage.C (InsetMinipage): default to not collapsed
2831
2832 2001-03-16  Juergen Vigna  <jug@sad.it>
2833
2834         * insetminipage.C (width): modified with to be a string
2835         (widthp): added widthp (for % width) support functions.
2836         (InsetButtonRelease): added to open the options dialog on button==3.
2837         (~InsetMinipage): added to hide the dialog.
2838
2839         * insetminipage.h: added hideDialog signal
2840
2841 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2842
2843         * insetminipage.h: change the order or Position to match
2844         LyXParagraph::MINIPAGE_ALIGNMENT
2845
2846         * several files: remvoe CXX_WORKING_NAMESPACES
2847
2848         * ExternalTemplate.h: noncopyable is in namespace boost
2849         * insetinclude.h: ditto
2850         * insetcommand.h: ditto
2851
2852 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
2853
2854         * insettext.C (Edit): #else# -> #else.
2855         * insettoc.C: added using directive.
2856
2857 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2858
2859         * insetminipage.h: add pos, inner_pos, width and height. + getters
2860         and setters for all of them.
2861
2862 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
2863
2864         * insetinclude.C (Latex): Do not exit when the textclass of the
2865         included file differ from the textclass of the parent file.
2866
2867 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
2868
2869         * ExternalTemplate.C (read): the reading of external insets now checks
2870         for \end_inset and removes it form the input stream.
2871
2872 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
2873
2874         * ExternalTemplate.h:
2875         * ExternalTemplate.C:
2876         * insetexternal.h:
2877         * insetexternal.C: move form to GUII
2878
2879 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
2880
2881         * insetinclude.h:
2882         * insetinclude.C: add InsetIncludeParams, use
2883         composition rather than derivation of InsetCommand
2884
2885 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2886
2887         * insettoc.C (Ascii): use the Buffer typedefs
2888
2889 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2890
2891         * insettoc.C (Ascii): implement for dynamic number of lists
2892
2893         * insetcaption.[Ch]: update from new_insets branch
2894         * insetfloat.[Ch]: ditto
2895
2896 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
2897
2898         * insetexternal.C:
2899         * figinset.C: use new File Dialog
2900
2901 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2902
2903         * insettext.C: changes becuase of ParagraphParameters.
2904
2905 2001-02-28  Baruch Even  <baruch@ev-en.org>
2906
2907         * insetgraphics.C (updateInset): Changed due to the change in
2908         GraphicsCache.
2909
2910 2001-02-26  Juergen Vigna  <jug@sad.it>
2911
2912         * insettext.C (SetFont): Set Undo only if we have selection (as it is
2913         handled in LyXText).
2914
2915 2001-02-23  Juergen Vigna  <jug@sad.it>
2916
2917         * insettext.C (draw): some small repainting fixes.
2918         (LocalDispatch): put the sel_cursor stuff after the insert of chars.
2919
2920         * inset.C (LocalDispatch): changed action to be a kb_action (as it
2921         should be) and not an int.
2922
2923         * insettabular.C (LocalDispatch): ditto
2924
2925         * insettext.C (LocalDispatch): ditto
2926
2927         * insetcollapsable.C (LocalDispatch): ditto
2928
2929 2001-02-22  Juergen Vigna  <jug@sad.it>
2930
2931         * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
2932         DISPATCH it and we don't have a locking_inset.
2933
2934 2001-02-21  Baruch Even  <baruch@ev-en.org>
2935
2936         * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
2937         instead of GraphicsCacheItem *.
2938
2939 2001-02-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2940
2941         * insetcollapsable.C (getLyXText): add const qualifier to second
2942         parameter.
2943
2944 2001-02-22  Juergen Vigna  <jug@sad.it>
2945
2946         * insettext.C (getLyXText): honor the recursive parameter.
2947         (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
2948
2949         * inset.C (getLyXText): added bool recursive parameter.
2950
2951         * insettext.C (SetUpdateStatus): or the update codes.
2952         (draw): check need_update with &.
2953         (InsetButtonPress): set no_selection to not put a selection when
2954         entering an inset and it is redraws in another spot.
2955
2956         * insettext.h: made need_update an int.
2957
2958 2001-02-20  Baruch Even  <baruch@ev-en.org>
2959
2960         * insetgraphics.h:
2961         * insetgraphisc.C: Changed to use better semantics when loading images
2962         for inline view. Now it doesn't keep the pixmap itself but it's holder.
2963
2964 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
2965
2966         * insetcommand.h:
2967         * inseterror.h:
2968         * insetgraphics.C: change name of "hide" signal to "hideDialog",
2969         consistent with InsetTabular.
2970
2971 2001-02-19  Juergen Vigna  <jug@sad.it>
2972
2973         * insettabular.C (LocalDispatch): implement PAGE up/down.
2974
2975         * insettext.C (draw): clear all of it on need_update==INIT too!
2976
2977         * insettabular.C (InsetUnlock): always clear the selection.
2978
2979         * inset.C (scroll): normally we only want to scroll the inset until
2980         it is fully visible so if top_x + offset > 20 then just set scx to 0.
2981
2982 2001-02-14  Juergen Vigna  <jug@sad.it>
2983
2984         * insettabular.C (LocalDispatch): remove x_fix as it is not used.
2985         (resetPos): fixed scroll behaviour.
2986         (LocalDispatch): do an update if moving cursor inside a table cell
2987         requests a scroll of the tabular.
2988
2989 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
2990
2991         * insettext.C (textWidth): constify local var
2992
2993         * insettabular.C: small cleanup.
2994
2995         * insetfoot.C (Latex): constify local var
2996
2997         * insetcollapsable.C: small cleanup.
2998
2999         * figinset.C (runqueue): use compare instead of strcmp
3000
3001 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3002
3003         * insettext.C:
3004         * insetinfo.C: remove cruft
3005
3006 2001-02-14  Juergen Vigna  <jug@sad.it>
3007
3008         * insettext.C (SetUpdateStatus): added a BufferView * parameter.
3009
3010 2001-02-13  Juergen Vigna  <jug@sad.it>
3011
3012         * insettext.C (InsertInset): don't move left (is this right?)
3013
3014         * insettabular.C (LocalDispatch): use of the no_draw variable
3015
3016         * insettabular.h: new no_draw variable to stop redraw
3017
3018         * insettabular.C (TabularFeatures): fixed update for alignment change
3019
3020 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
3021
3022         * insetinclude.C:
3023         * insetbib.h:
3024         * insetbib.C: move dialogs to frontends/
3025
3026 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
3027
3028         * insettext.C (LocalDispatch): Restore the language if the inset
3029         becomes empty.
3030
3031 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
3032
3033         * insettext.C (moveRightIntern): Update the selection cursor.
3034         (moveLeftIntern): Ditto.
3035
3036 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3037
3038         * Makefile.am: remove BoundingBox.h
3039
3040         * BoundingBox.h: removed
3041
3042 2001-02-08  Dekel Tsur  <dekelts@tau.ac.il>
3043
3044         * insettext.C (LocalDispatch): Update selection cursor when moving
3045         cursor to the right.
3046         (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
3047         (moveLeftIntern): Ditto.
3048
3049 2001-02-05  Baruch Even  <baruch.even@writeme.com>
3050
3051         * insetgraphics.C: Updated automatic image conversion, it now goes into
3052         temporary directory instead of with the image itself.
3053
3054 2001-01-21  Baruch Even  <baruch@ev-en.org>
3055
3056         * insetgraphics.C: Added Docbook support. Added Automatic image conversion
3057         to EPS or PNG when needed (support bitmap graphics).
3058
3059 2000-11-02  Baruch Even  <baruch@ev-en.org>
3060
3061         * insetgraphics.C:
3062         * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
3063         and removal of commented out code.
3064
3065 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
3066
3067         * insetbib.C (callback): Update citations if the key has changed.
3068
3069 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
3070
3071         * insetbib.C (InsetBibKey): Better computation of default key.
3072         (getScreenLabel) Show both the key and the label.
3073         (getBibLabel): New method.
3074         (callback): Force a redraw if the inset have been changed.
3075
3076 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
3077
3078         * insetref.C (getType, getName): Move methods from
3079         src/frontends/xforms/FormRef.C.
3080
3081 2001-01-12  Dekel Tsur  <dekelts@tau.ac.il>
3082
3083         * insettabular.C: Various improvements (use only one dummy position).
3084
3085 2001-01-25  Dekel Tsur  <dekelts@tau.ac.il>
3086
3087         * insetbib.C (bibitemWidest): Use lyxfont::width instead of
3088         par->bibkey->width. This fixes the crashes when running without
3089         gui or when having included documents.
3090
3091 2001-01-22  Dekel Tsur  <dekelts@tau.ac.il>
3092
3093         * insetcommand.C (getAsString, setFromString): Cleanup.
3094
3095 2001-01-21  Dekel Tsur  <dekelts@tau.ac.il>
3096
3097         * insetref.C: Add the array InsetRef::types that contains
3098         information about all supported reference types.
3099
3100 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3101
3102         * lyxinset.h: remove trailing comma in enum.
3103
3104 2001-01-17  John Levon  <moz@compsoc.man.ac.uk>
3105
3106         * insettext.C: kill LyXBell.