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