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