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