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