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