]> git.lyx.org Git - lyx.git/blob - src/insets/ChangeLog
Honor FINISHED_XXX flags in LocalDispatch of InsetText/Tabular.
[lyx.git] / src / insets / ChangeLog
1 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
2
3         * insetert.C (latex): Fix the returned value
4
5 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
6
7         * insetert.[Ch] (selectNextWordToSpellcheck): new method.
8         Returns string(), so nothing in an ERT inset is spellchecked.
9
10         * insetgraphics.C (draw): print the filename if not displaying the
11         image.
12         (width): make sure that the width and draw methods are consistent.
13         (updateInset): don't even load the image into cache if not displaying
14         it.
15
16 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
17
18         * various files (selectNextWord): renamed as
19         selectNextWordToSpellcheck.
20
21         * insetgraphics.C (draw): remove the previous change. Right place
22         is in imageLoaderXPM.C.
23         (draw): don't display the image if params.display == NONE.
24
25 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
26
27         * figinset.C (runqueue):
28         * insetgraphics.C (draw): set background colour of inset from
29         background to the user-configurable graphicsbg.
30
31 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
32
33         * insetquotes.C (InsetQuotes): when trying to decide the side of
34         the quote, choose `left' only after a space or '('
35
36 2001-09-04  José Matos  <jamatos@fep.up.pt>
37         * figinset.C
38         * figinset.h
39         * insetcaption.C
40         * insetcaption.h
41         * insetcollapsable.h
42         * insetcommand.C
43         * insetcommand.h
44         * inseterror.h
45         * insetert.C
46         * insetert.h
47         * insetexternal.C
48         * insetexternal.h
49         * insetfloat.C
50         * insetfloat.h
51         * insetfloatlist.h
52         * insetgraphics.C
53         * insetgraphics.h
54         * inset.h
55         * insetinclude.C
56         * insetinclude.h
57         * insetlabel.C
58         * insetlabel.h
59         * insetlatexaccent.C
60         * insetlatexaccent.h
61         * insetquotes.C
62         * insetquotes.h
63         * insetref.C
64         * insetref.h
65         * insetspecialchar.C
66         * insetspecialchar.h
67         * insettabular.C
68         * insettabular.h
69         * insettext.C
70         * insettext.C (docbook): rename docBook method to docbook.
71
72 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
73
74         * inset.h (getFirstParagraph): New virtual method.
75
76 2001-08-20  Herbert Voss  <voss@perce.de>
77         * insetbib.C: added a option bibtotoc which is from "BIB to TOC" 
78         in the the bibtex-database-gui for inserting a line
79         \addcontentsline... 
80
81         If no style is given than there is no tex-output.
82         
83 2001-08-18  Angus Leeming  <a.leeming@ic.ac.uk>
84
85         * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
86         files as a vector.
87         (getKeys): use it.
88
89 2001-08-18  Dekel Tsur  <dekelts@tau.ac.il>
90
91         * insetert.C (latex): Fix output for multiple paragraphs.
92         (write): New code for writing paragraph data.
93         (read): Set font after reading the inset.
94         (localDispatch): Call set_latex_font() for more cases.
95
96         * insetnote.h: Add empty validate method.
97         * insetert.h: Ditto
98
99         * insetnote.C (InsetNote): Set language to the language of the 
100         document.
101
102 2001-08-16  Juergen Vigna  <jug@sad.it>
103
104         * insettext.C: implemented the new FINISHED states.
105
106         * insettabular.C: ditto 
107
108         * inset.h: added more FINISHED states for cursor right,up,down
109
110 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
111
112         * insetfloatlist.C: use "FloatName List" 
113  
114 2001-08-14  Juergen Vigna  <jug@sad.it>
115
116         * insetert.C (edit): forgot to set status_ in edit calls!
117
118 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
119
120         * insettext.C: Compilation fix
121
122 2001-08-13  Juergen Vigna  <jug@sad.it>
123
124         * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
125
126         * insetcollapsable.C (edit): don't recollapse an already open inset.
127
128         * insettext.C: fixed problem when reinitializing LyXText by not doing
129         it while lt is in use and post this to the next possible time in
130         getLyXText().
131         (searchForward): fixed not unlocking of inset if nothing found.
132         (edit): set cursor behind right (was set -1 pos).
133
134         * insetert.C (InsetERT): init status_ also in the 3rd constructor.
135
136         * insettabular.C (tabularFeatures): fixed fix where deleting the
137         last row didn't get the right actcell!
138
139 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
140
141         * insettext.C (localDispatch): Change language only when the inset 
142         becomes empty.
143
144 2001-08-10  Juergen Vigna  <jug@sad.it>
145
146         * insettabular.C (selectNextWordInt): use the front using edit call.
147
148         * insetcollapsable.C (getMaxWidth): rename inset to in to not have
149         the parameter overwrite class variable inset.
150
151         * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
152
153         * insettext.C (saveLyXTextState): check for invalid cursor-par.
154         (reinitLyXText): remove wrong_cursor bool as not needed anymore!
155
156         * insettabular.C (calculate_dimensions_of_cells): let's try to call
157         update only for fixed with cells.
158         (resetPos): try to fix the lockup on spellchecking or s&r.
159
160         * insettext.C (update): comment this out as it seems first wrong
161         and second not needed anymore!
162         (some functions): call reinitLyXText() only in update() in all other
163         positions set only need_update = INIT.
164
165 2001-08-08  Juergen Vigna  <jug@sad.it>
166
167         * insettabular.C (setPos): fixed wrong actrow < rows() check.
168
169         * insettext.C (insetUnlock): remove double-space on inset unlock.
170
171         * insetcollapsable.C (draw): fix returned x when label > inset-width.
172
173         * insettabular.C (update): fixed cursor positon after an insert.
174         (insetAllowed): do not allow to insert insets when not inside the
175         inset!
176         (draw): clear below an inset too as it could have changed height.
177
178         * inset.C (getMaxWidth): fixed width for inset in inset.
179
180         * insettext.C (update): small fix.
181
182         * insettabular.C (tabularFeatures): added selection support to
183         DELETE_ROW/DELETE_COLUMN.
184
185 2001-08-07  Juergen Vigna  <jug@sad.it>
186
187         * inset.C (getMaxWidth): recoded and all it's implementations!
188
189         * insettext.C (init,setParagraph+constructors): cleanups
190         (reinitLyXText): fixed problem with wrong cursor when all paragraphs
191         are new and I want do a save/restore of the cursor position which is
192         not possible anymore.
193
194         * insetcollapsable.C (searchBackward): recollapse inset if not found.
195         (searchBackward): ditto
196         (selectNextWord): ditto
197
198 2001-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
199
200         * insetlatexaccent.C (checkContents): Add some debug messages
201
202 2001-08-07  Juergen Vigna  <jug@sad.it>
203
204         * insetert.C (read): don't use InsetCollapsable::read as we don't
205         write the collapsed status anymore only the status.
206         (write): ditto.
207
208 2001-08-06  Juergen Vigna  <jug@sad.it>
209
210         * insetert.C (set_latex_font): use LyXText's setFont directly.
211
212         * insettext.C (drawFrame): fixed one time more the right position
213         and size of the frame!
214
215         * insetert.C (~InsetERT): hide the dialog.
216         (showInsetDialog): added implementation
217         (open): ditto
218         (close): ditto
219         (status): new function for the status of the ERT inset (3-state).
220         (write): output also the status of the inset for readback!
221         (read): readback the status if available otherwise use collapsed_.
222
223         * insettext.C (edit): small fix of setting the position, which could
224         have gone < 0.
225
226         * insetert.C (width): implement this function for inlined viewing.
227         Added minimum width of 10 pixels!
228
229         * insetminipage.C (InsetMinipage): just change the colors a bit so
230         that border/background is a bit more visible. We will remove this
231         anyway for 1.2.0!
232
233         * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
234         function for getting the important widths for drawing in various
235         functions and in LyXText.
236         (draw): fixed up a bit (frame drawing/clearing)
237
238 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
239
240         * inset.C (convertFont): delete method. not used. 
241
242 2001-08-03  Juergen Vigna  <jug@sad.it>
243
244         * insettext.C (setFont): don't call for a draw update if we're just
245         changing the cursor font!
246
247 2001-08-02  Juergen Vigna  <jug@sad.it>
248
249         * insettext.C (draw): clear the background with the right color if
250         needed. Update myself if x&max-width changed and return without doing
251         anything. Let the update code handle the right stuff.
252
253         * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
254         inside another inset.
255
256 2001-08-01  Juergen Vigna  <jug@sad.it>
257
258         * insetcollapsable.C (update): added an in_update bool so we avoid
259         reentering.
260
261         * insettabular.C (update): added an in_update bool so we avoid
262         reentering.
263
264         * insettext.C (insetButtonPress): hopefully fixed setselection/clear
265         selection problem.
266         (update): added an in_update bool so we avoid reentering.
267
268         * insettabular.C (localDispatch): clear col/row selection when doing
269         something else inside an inset.
270
271         * insettext.C (getLyXText): fixed bug when requesting a recursive
272         insettext!
273
274 2001-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
275
276         * insetcite.C (latex): Paranoia check. Make sure that there is no
277         whitespace between the citation keys.
278
279 2001-07-31  Juergen Vigna  <jug@sad.it>
280
281         * inset.h (nodraw): make the set function also const so that this
282         can be called from inside other const functions.
283
284         * insetcollapsable.h: removed inline variable and moved it over
285         to the only user InsetERT.
286
287         * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
288         inset opening immediately therein lying insets dialogs!
289
290         * insetert.C (localDispatch): set the font also if we don't have any
291         chars in this paragraph, otherwise if we delete all of em and start
292         writing we have the wrong font.
293         (inlined): added
294         (draw): implemented for inline support
295         (insetButtonRelease): ditto.
296
297 2001-07-30  Juergen Vigna  <jug@sad.it>
298
299         * insettext.C (reinitLyXText): new function to reinit the insets
300         text after lot's of paragraph changes. Use this instead of the
301         cache.clear() which is VERY dangerous.
302
303         * insetfloat.C (insetButtonRelease): we should only show the dialog
304         if we press on the label otherwise we have problems to open mouse
305         button 3 dialogs inside this float (f.ex. of a tabular!)
306
307 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
308
309         * insetert.C: change back to "ERT"
310
311         * insetfloat.C: handliign of RMB on label added.
312
313 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
314
315         * insetgraphicsParams.C: #include LOstream.h here.
316
317         * insetfoot.h: remove InsetFoot:: qualifier.
318
319 2001-07-29  Baruch Even  <baruch@lyx.org>
320
321         * ChangeLog: Hiding time travel evidence.
322
323         * insetgraphicsParams.h:
324         * insetgraphicsParams.C: 
325         * insetgraphics.C: Added horizontal scale option, it actually scales both
326         directions since it keeps image proportions.
327
328         * insetgraphics.C: Fixed EPS detection to be non-hacky.
329
330 2001-07-29  Baruch Even  <baruch@lyx.org>
331
332         * insetgraphics.C (decideOutputImageFormat): when doing postscript output
333         convert PNG/GIF/JPG to EPS, assume the rest are EPS already. 
334
335         HACKY! Will need to add an EPS detection routine like old InsetFig does!
336
337 2001-07-29  Baruch Even  <baruch@lyx.org>
338
339         * insetgraphics.C: Added EPSI to be an alias of EPS.
340
341 2001-07-29  Baruch Even  <baruch@lyx.org>
342
343         * insetgraphics.C: Change GRAPHICS to Graphics.
344         Changed image conversion rules (documented at the beginning of file).
345
346 2001-07-28  Angus Leeming  <a.leeming@ic.ac.uk>
347
348         * insetert.C (get_new_label): int -> Paragraph::size_type to get
349         std::min working.
350
351         * insetgraphics.C: added a using std::endl directive.
352
353         * insetcommand.h (getScreenLabel): removed pure virtual function,
354         as it duplicates that in InsetButton.
355
356         * insetbib.[Ch] (getScreenLabel):
357         * insetbutton.[Ch] (getScreenLabel):
358         * insetcite.[Ch] (getScreenLabel):
359         * insetert.[Ch] (getScreenLabel):
360         * insetexternal.[Ch] (getScreenLabel):
361         * insetfloatlist.[Ch] (getScreenLabel):
362         * insetinclude.[Ch] (getScreenLabel):
363         * insetindex.[Ch] (getScreenLabel):
364         * insetlabel.h (getScreenLabel):
365         * insetparent.[Ch] (getScreenLabel):
366         * insetref.[Ch] (getScreenLabel):
367         * insettoc.[Ch] (getScreenLabel):
368         * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
369
370         * insetcite.C (getScreenLabel): use this Buffer parameter in creating
371         the label.
372         (validate): remove check on "cite" when using natbib.
373
374 2001-07-26  Baruch Even  <baruch@lyx.org>
375
376         * insetgraphics.C (draw): changed casting to be in one place rather than 
377         all over the function.
378
379         * insetgraphics.h:
380         * insetgraphics.C (read): Added compatibility reads of InsetFig.
381         
382         * insetgraphicsParams.h:
383         * insetgraphicsParams.C: 
384         * insetgraphics.C: Removed inline option and changed rotateAngle to float.
385
386 2001-07-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
387
388         * insetfoot.C (validate): Added method to ensure that the
389         right bit of LaTeX is emitted.
390
391         * insetfoot.h: Added validate method to set the correct
392         LaTeXFeatures bit for the special footnote code.
393
394 2001-07-26  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
395
396         * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
397         quotes
398
399 2001-07-27  Juergen Vigna  <jug@sad.it>
400
401         * inset.h: remove not used font variable in parameter.
402         removed checkInsertChar in UpdatableInset as it was equal to
403         the one in Inset and so not needed.
404
405         * insetert.C (checkInsertChar): implementation of function
406         checkInsertChar.
407
408         * inset.h: added new function checkInsertChar.
409
410         * various files: added c-tor and clone() function.
411         
412         * insetcollapsable.h: removed clone function here as this should
413         be only realized in REAL insets and added it to all collapsable
414         insets! (with the copy-constructor).
415
416 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
417
418         * insetminipage.C (read): handle missing parameters more gracefully
419
420         * insetcollapsable.C (read): handel missing collapsed more gracefully
421
422 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
423
424         * insetfloat.C (read): handle missing parameters.
425
426         * insettext.C (read): handle old latex end_inset
427
428         * insetert.C (setButtonLabel): new method
429         (init): use it, to set the dynamic label correctly
430         (read): use it
431
432         * Makefile.am (EXTRA_DIST): add files that is not part or the
433         binary here.
434
435         * insetcollapsable.h: remove autocollapsable (no users), remove
436         draw_label, change_label_with_text and companion code. Remove args
437         from some methods.
438         * insetert.[Ch]: move here instead (only user)
439
440         * inset.h: rename private variable name to name_, make
441         selectNextWord return a const string. make getInsetName return a
442         string const &. Remove bool from open, add close.
443
444         * Makefile.am: don't compile insetlist, insetsection
445         and insettheorem
446
447 2001-07-24  Juergen Vigna  <jug@sad.it>
448
449         * insetert.C (InsetERT): put init after the paragraph initialization,
450         as otherwise we don't set the draw_label right.
451
452         * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
453         insets with the mouse without having strange selections.
454         (edit): if the inset was collapsed and we open it here then put the
455         cursor always at the beginning of the inset.
456         (get_new_label): 15 instead of 10 max chars in the label.
457
458         * insetert.C (localDispatch): added and handle various stuff we
459         need to handle here (font setting on paragraph break, not permitted
460         layout setting, etc.).
461
462         * inset.h: added default copy-consturctor and implemented this in
463         various insets with the change to use this in the clone function!
464
465 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
466
467         * insetminipage.C (InsetMinipage): set background color to red :)
468
469 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
470
471         * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
472         draw frame mode is LOCKED.
473
474         * insetcollapsable.C (edit): 
475         (insetButtonRelease): set update status to full when
476         opening inset.
477
478         * insettext.C (clearInset): 
479         * insettabular.C (draw): 
480         * insetlatexaccent.C (draw): honor background color.
481
482         * inset.h: new member background_color_, initialized to
483         LColor::inherit.
484
485         * inset.C (backgroundColor): new method.
486         (setBackgroundColor): new method.
487
488         * insetert.C (init): new method, called by the ctors.
489         (InsetERT): when inserting contents, make sure the font is
490         ALL_INHERIT.
491
492         * insetnote.C (InsetNote): when inserting content, remove trailing
493         newline
494         (init): set background color to LColor::note
495
496 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
497
498         * insetcollapsable.C: adjust
499
500         * insetbutton.C: adjust
501
502 2001-07-23  Juergen Vigna  <jug@sad.it>
503
504         * insetcollapsable.h: removed widthCollapsed variable, LyXFont
505         parameter on the _collapsed function (was not needed) and call
506         always width_collapsed().
507
508         * insetert.C (InsetERT): use setLabel with "true" flag.
509
510         * insetcollapsable.C: modified various functions to set the draw_label
511         string right in any condition.
512         (setLabel): added a bool parameter to set change_label_with_text.
513
514         * insetcollapsable.h: added draw_label string which is set to the
515         actual drawn label-string, while label is the original static label
516         of this collapsable inset. Added bool change_label_with_text to set
517         if we want that the label changes to the start of the InsetText's
518         text when collabpsed. You can set this flag with the setLabel funciton.
519         Added bool inlined for inlined collapsable insets, but not handled
520         yet.
521
522         * insetcollapsable.C (get_new_label): added should get a new label
523         from the InsetText beginning (for now 10 chars).
524
525 2001-07-21  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
526
527         * insetquotes.C (latex): fix the handling of french double quotes
528         when not using the french pachage.
529
530 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
531
532         * insetcollapsable.h: make WidthCollapsed mutable.
533
534         * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
535         InsetPrintIndex returns INDEX_PRINT_CODE.
536
537         * inset.h: add INDEX_PRINT_CODE
538
539         * insetcollapsable.C (draw): init widthCollapsed if necessary
540         (width): ditto.
541
542         * insetquotes.C (width): use the local language, not the document
543         language.
544         (draw): ditto.
545         (dispString): add additional spacing for all french languages,
546         like fr_CA.
547         (validate): make it work when there is no default language
548
549         * insetspecialchar.h: rename kind to kind_; add kind() accessor.
550
551         * insetnote.C (init): new method, called by the constructors
552         (InsetNote): new constructor with contents passed as a string
553
554 2001-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
555
556         * insetfootlike.C (insetAllowed): disallow float in footlike.
557
558         * insetert.C (InsetERT): add collapsed argument to the constrctor
559         with contents.
560
561 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
562
563         * insetindex.h: shut off warning
564
565 2001-07-20  Juergen Vigna  <jug@sad.it>
566
567         * insetcollapsable.C (update): recoded hopefully works now!
568
569 2001-07-19  Juergen Vigna  <jug@sad.it>
570
571         * most files: implemented the below new introduced function.
572         
573         * inset.h: added new edit(BufferView *, bool front) method to be able
574         to enter an inset from the front/back without knowing x/y positions
575         and baselines inside the inset. So I just can tell the inset activate
576         me and set the cursor on the front/back of yourself.
577
578 2001-07-18  Juergen Vigna  <jug@sad.it>
579
580         * insetcollapsable.C (edit): fixed hopefully the y parameter which
581         is givven to the InsetText.
582         (insetButtonPress): ditto
583         (insetButtonRelease): ditto
584         (insetMotionNotify): ditto
585
586 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
587
588         * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
589         LIGATURE_BREAK, since the name is so stupid.
590
591 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
592
593         * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
594         the default InsetCollapsable methods. I.e., it can insert anything.
595         (write) output the name of the inset, not some silly hack for
596         compatability with the old InsetInfo.
597         
598         * insetinfo.[Ch]: removed.
599         * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
600         now collapsable, but functionality is otherwise identical to InsetInfo.
601
602         * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
603
604 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
605
606         * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
607         reformatting
608
609         * insetquotes.C: general cleanup
610         (dispString): add spaces inside french double quotes.
611         (latex): ditto. Moreover, treat first the case where the frenchb
612         or french options have been given.
613
614 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
615
616         * insetcite.[Ch] (latex, validate): new methods, required for natbib
617         support.
618
619 2001-07-19  Dekel Tsur  <dekelts@tau.ac.il>
620
621         * figinset.C (RegisterFigure): Print debug message only when
622         current_view is available.
623
624 2001-07-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
625
626         * many files: update to match the change below
627
628         * inset.h (insetAllowed): renamed from insertInsetAllowed;
629         implement the version which takes an inset here.
630
631         * insetcollapsable.[Ch]: implement open and isOpen
632
633         * inset.h: remove insertInsetAllowed from Inset
634         (open): new method, to open or close an inset
635         (isOpen): returns the status of an inset
636         (isCollapsable, colapse): removed
637
638 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
639
640         * insetquotes.C (dispString): display french guillemets when using
641         ISO8859-15.
642
643 2001-07-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
644
645         * insetcollapsable.h: remove bogus return statements
646
647 2001-07-18  Juergen Vigna  <jug@sad.it>
648
649         * insettabular.C (selectNextWord): fixed spellchecking for the
650         first cell of a tabular (wasn't entered!)
651         (getLyXText): changed to enter automatically insettext and return
652         it's LyXText if we're locked.
653
654 2001-07-17  Juergen Vigna  <jug@sad.it>
655
656         * various files: implemented the below functions.
657         
658         * inset.h: added functions
659         - virtual string selectNextWord(BufferView *, float & value) const;
660         - virtual void selectSelectedWord(BufferView *) { return; }
661         - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
662         needed for spellchecking correctly!
663
664 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
665
666         * insetert.C (latex): write out all paragraphs.
667
668 2001-07-17  Baruch Even  <baruch@lyx.org>
669
670         * insetgraphics.C (draw): Removed unneeded casts.
671
672 2001-07-16  Juergen Vigna  <jug@sad.it>
673
674         * insettext.C (update): fixed small oversight (reset lt to 0).
675
676 2001-07-14  Baruch Even  <baruch@lyx.org>
677
678         * insetgraphics.h:
679         * insetgraphics.C: Added a copy c-tor and handled the same_id case. 
680
681 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
682
683         Consistent use of Lsstream.h:
684         * figinset.C: removed using std::ostringstream directive.
685
686         * insetgraphics.C (createLatexOptions):
687         * insetinclude.C (unique_id):
688         std::ostringstream -> ostringstream.
689         * insettext.C (localDispatch): std::istringstream -> istringstream.
690
691 2001-07-13  Juergen Vigna  <jug@sad.it>
692
693         * insetfloat.C (insertInsetAllowed): added missing const_cast.
694
695         * insetcollapsable.C (getLockingInset): ditto.
696
697 2001-07-12  Juergen Vigna  <jug@sad.it>
698
699         * insetcollapsable.h: added implementation of new function for
700         collapsable status.
701
702         * various files: added implementation of new insertInsetAllowed-func
703         and redone the function a bit more.
704         
705         * inset.h: added isCollapsable(), bool collapsed(),
706         collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
707
708         * insetfloat.C (insertInsetAllowed): make a bit more checks.
709
710         * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
711         LyXText which is marked for removal while we're using it!
712
713         * insettext.h: added private LyXText * lt to use it to assure we are
714         not deleting our LyXText while we're using it!
715
716 2001-07-11  Juergen Vigna  <jug@sad.it>
717
718         * insettext.C (insertInset): check if we are before the inset after
719         inserting it! This check IS needed. Remove the Undo-Call as it is
720         called in LyXText::insertInset!
721
722         * insettext.h: added struct InnerCache.
723
724         * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
725         that we ONLY delete the LyXText in the getLyXText() routine. So we
726         are sure we don't delete LyXText while someone is working with it!
727
728 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
729
730         * insetexternal.C: (*it). -> it->
731         * insettext.C: ditto
732
733 2001-07-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
734
735         * insetcollapsable.C (edit): always open collapsed insets (even if
736         they are not autocollapsable)
737
738         * insetcommand.C (operator=): simplify.
739
740 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
741
742         * insetert.C (latex): handle META_NEWLINE
743
744 2001-07-09  Juergen Vigna  <jug@sad.it>
745
746         * insetert.h: a normal InsetText can insert insets, but we won't.
747
748         * inset.h: return default "false" on insertInsetAllowed and implement
749         this function where a returnvalue != "false" is needed.
750
751 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
752
753         * insetert.C (InsetERT): new contructor
754
755 2001-07-06  Juergen Vigna  <jug@sad.it>
756
757         * a lot of files: added implementation of the below new functions
758         and the change to clone(). Also the call of the new undo-functions
759         where needed.
760         
761         * inset.h: added an inset_id, added functions getParFromID,
762         getInsetFromID, firstParagraph, cursor and id functions, added
763         bool same_ids to clone function.
764
765 2001-07-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
766
767         * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
768         of BufferView * and shared_ptr<LyXText>
769
770 2001-07-05  Juergen Vigna  <jug@sad.it>
771
772         * insettext.C (clear): deleted also the cache not only LyXText.
773         (setParagraphData): ditto.
774
775 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
776
777         * insetfloat.C (latex): let the specific placement take presedence
778         if set, otherwise choose document placement if set, otherwise just
779         use float default placement.
780
781 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
782
783         * insettext.C (localDispatch): call CutAndPaste::'s static method
784         directly. 
785
786 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
787
788         * insetbib.C: no meed to include forms.h here.
789
790 2001-07-03  Angus Leeming  <a.leeming@ic.ac.uk>
791
792         * insettext.C: added using std::make_pair directive.
793
794 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
795
796         * insettext.C (getLyXText): avoid multiple lookups, and simplify
797         slightly
798         (deleteLyXText): ditto
799         (resizeLyXText): ditto
800
801 2001-07-02  Juergen Vigna  <jug@sad.it>
802
803         * insettext.C (getLyXText): introduce a cache in getLyXText so that
804         following calls are only returned the right pointer without the over
805         head to search in the map.
806         (various funcs): reset the cached_bview variable as this signs that
807         the cache is not valid anymore.
808
809 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
810
811         * insettabular.C (clone): do not copy the LyXTabular twice
812
813 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
814
815         * insettext.h (TEXT): delete method
816
817 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
818
819         * insetmarginal.C (latex): 
820         * insetfoot.C (latex): fix spacing of notes in LaTeX
821
822         * insettext.C (localDispatch): use .c_str() on istringstream
823         constructor argument.
824
825 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
826
827         * insettoc.h:
828         * insettoc.C:
829         * inseturl.h:
830         * inseturl.C: fix method names in these to begin
831           with small char too, so they inherit
832  
833 2001-06-28  Juergen Vigna  <jug@sad.it>
834
835         * insettext.C (setFont): fixed font settings using toggleFree()
836         instead of setFont().
837
838 2001-06-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
839
840         * Change a lot of method names to begin with a small char.
841         Changes to a lot of files because of this.
842
843 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
844
845         * insetfloatlist.C (Write): std:: qualify ostream
846         (Latex): ditto
847
848 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
849
850         * figinset.C:
851         * inset.C:
852         * insetgraphics.C: send debug output to Debug::INFO instead of
853         Debug::ANY.
854
855 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
856
857         * insettabular.h:
858         * insettabular.C (getStatus): update to use func_status
859
860 2001-06-26  ben <nicolas.marsgui@libertysurf.fr>
861
862         * insetref.C (DocBook): added support for cross-references without
863         a name.
864
865 2001-06-26  The LyX Project  <jug@sad.it>
866
867         * insetref.C:
868         * insetref.h:
869         * insetlabel.C:
870         * insetlabel.h: removed escape method and moved it to
871         support/lstrings.h.
872
873 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
874
875         * insettabular.C (getMaxWidth): do the speedup in a different way,
876         remove dead code
877
878 2001-06-24  The LyX Project  <Asger>
879
880         * insettabular.C (getMaxWidth): We cache a mapping from
881         inset to cell in order to speed this method up.
882
883 2001-06-24  The LyX Project  <Asger>
884
885         * insettext.C: Optimized InsetText::draw or something.
886
887 2001-06-23  The LyX Project  <lyx@rose.home.sad.it>
888
889         * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
890
891 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
892
893         * inset.h: name change from lyxinset.h
894
895 2001-06-22  Dekel Tsur  <dekelts@tau.ac.il>
896
897         * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
898
899 2001-06-14  Juergen Vigna  <jug@sad.it>
900
901         * insettext.C (draw): removed warnings.
902
903 2001-06-13  Juergen Vigna  <jug@sad.it>
904
905         * insettabular.C (nodraw): only go down the tree if we don't have
906         that flag set otherwise it's obvious that we don't want to draw.
907         (LocalDispatch): do also an update if we have an undispached result.
908
909 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
910
911         * insetcite.C:
912         * insetgraphicsParams.C:
913         * insettext.C: removed // -*- C++ -*- as first line.
914
915 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
916
917         * lyxinset.h (resizeLyXText): shut off warning about unused
918         parameter "force" 
919
920 2001-06-07  Juergen Vigna  <jug@sad.it>
921
922         * insettext.C (resizeLyXText): honor the new force flag.
923
924         * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
925
926         * insettabular.C (deleteLyXText): new function
927
928 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
929
930         * insettheorem.C:
931         * insetminipage.C:
932         * insetlist.C:
933         * insetfootlike.C:
934         * insetfloat.C:
935         * insetert.C:
936         * insetcollapsable.C:
937         * insetcaption.C: LColor tidy
938          
939 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
940
941         * figinset.C: fix typo
942
943 2001-06-01  Juergen Vigna  <jug@sad.it>
944
945         * insettabular.C (resetPos): small hack so that scroll is not set to
946         0 when we are in the last column of a tabular. This is a problem we
947         have because of constats 20 offset on both directions, so this can
948         cause on the limit an endless loop.
949
950         * insettext.C (SetFont): forgot that we can have locking insets ;)
951
952 2001-05-31  Juergen Vigna  <jug@sad.it>
953
954         * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
955
956 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
957
958         * figinset.C: add using std:: directive for the C functions which
959         need that.
960
961 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
962
963         * insetfloat.C (Write): write out wide info
964         (Read): read the wide info
965         (Latex): use the wide info when creating latex.
966
967         * insettext.C: adjust
968
969         * insetgraphics.[Ch] (statusMessage): change to return string
970         (width): adjust
971         (draw): adjust
972
973         * figinset.C (runqueue): add std::
974         (Recompute): ditto
975
976 2001-05-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
977
978         * insetcite.C (Ascii): add std:: qualifier
979
980 2001-05-28  Juergen Vigna  <jug@sad.it>
981
982         * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
983         a endless-width inset (maxWidth < 0).
984         (Edit): change language only if not equal.
985
986         * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
987
988         * insettext.C (draw): fixed draw/clear of InsetText-Frame
989
990 2001-05-16  Juergen Vigna  <jug@sad.it>
991
992         * insettext.C (selectAll): added
993         (clearSelection): added
994
995         * insettabular.C (SetFont): now we may set a font on a whole selection!
996         (getSelection): added helper function.
997
998 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
999
1000         * insetcite.C (Ascii): Add method.
1001
1002 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
1003
1004         * figinset.C:
1005         * insetbib.C: fix path for OS/2 & Win32
1006
1007 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1008
1009         * insetfoot.C (Latex): don't use % after footnote.
1010
1011 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1012
1013         * insettext.C (Read): use clear
1014         (SetParagraphData): use LyXParagraph copy constructor instead of clone
1015
1016 2001-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1017
1018         * insetfloatlist.h: add a bunch of std:: qualifiers.
1019
1020 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1021
1022         * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
1023         FLOAT_LIST_CODE, renumber code list.
1024
1025         * insettoc.C (getScreenLabel): remove support for float lists
1026         (LyxCode): ditto
1027         (Ascii): ditto
1028
1029         * insetfloatlist.[Ch]: new files
1030
1031         * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
1032
1033 2001-04-27  Angus Leeming  <a.leeming@ic.ac.uk>
1034
1035         * insettabular.C (LocalDispatch):
1036         * insettext.C (LocalDispatch): getClipboard() is now a BufferView
1037         method 
1038
1039 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1040
1041         * insettext.C: remvoe !NEW_INSETS cruft
1042
1043         * insettabular.C: remove !NEW_INSETS cruft
1044
1045         * insetcollapsable.h: remove !NEW_INSETS cruft
1046
1047         * insetbib.C: remove !NEW_INSETS cruft
1048
1049 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1050
1051         * insettoc.C: hack to make listof algorithm work
1052
1053 2001-04-20  Juergen Vigna  <jug@sad.it>
1054
1055         * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
1056
1057 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1058
1059         * insetquotes.C (Latex): improve the guard against
1060         unwanted !` and ?` ligatures. This should really be done in
1061         another place (to catch all this ligatures at low-level).
1062
1063 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1064
1065         * insettext.C (init): remvoe leftovers from cursor_visible change
1066         (draw): use c++ cast
1067         (LocalDispatch): dispatch LFUN_MESSAGE
1068
1069         * insettabular.C (InsetTabular): remove leftovers from
1070         cursor_visible, and scoped_ptr changes
1071         (draw): use c++ cast
1072
1073         * insetcollapsable.C (draw): use c++ cast
1074
1075         * ExternalTemplate.h: inherit privaely from noncopyable
1076         * insetcommand.h: ditto
1077         * insetinclude.h: ditto
1078
1079 2001-04-16  Allan Rae  <rae@lyx.org>
1080
1081         * insettoc.C (Ascii): 
1082         * insettext.C (draw): 
1083         * insettabular.C (setPos): 
1084         * insetminipage.C (Read): 
1085         * insetfloat.C (placement): 
1086         * insetcaption.C (Ascii, DocBook): 
1087         * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
1088         an unrecognised preprocessor directive.  So ensure they're wrapped. 
1089
1090 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
1091
1092         * insetexternal.h:
1093         * insetexternal.C: set view on Clone. Add _ to private members.
1094
1095 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1096
1097         * insettext.C (InsetText): fix new
1098         (InsetText): reindent some, simplify deletion of par list 
1099         (clear): simplify deletion of par list, fix new
1100         (SetParagraphData): simplify deletion of par list
1101
1102         * insettabular.[Ch] (getLabelList): implement new method
1103
1104 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1105
1106         * lyxinset.h: do not include gettext.h...
1107
1108         * inset.C:
1109         * insetcaption.C:
1110         * insetexternal.C:
1111         * insetgraphics.C:
1112         * insetindex.C:
1113         * insetlabel.C:
1114         * insetlatexaccent.C:
1115         * insetminipage.C:
1116         * insetquotes.C:
1117         * insettabular.C:
1118         * inseturl.C: ... and do it here instead
1119
1120 2001-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1121
1122         * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
1123
1124         * insettext.[Ch] (getLabelList): add std:: on vector<string> 
1125
1126         * insetcollapsable.[Ch] (getLabelList): implement
1127
1128         * insettext.[Ch] (getLabelList): implement
1129
1130         * insettext.h: reindent
1131
1132         * insettabular.h: make tabular a scoped_ptr
1133
1134         * insettext.C (init): adjust for cursor_visible
1135         (ToggleInsetCursor): constify asc and desc, font, adjust for
1136         cursor_visible
1137         (ShowInsetCursor): constify asc and desc, font, adjust for
1138         cursor_visible
1139         (HideInsetCursor): adjust for cursor_visible
1140
1141         * insettabular.C: reindent some
1142         (InsetTabular): adjust for scoped_ptr and cursor_visible
1143         (InsetTabular): ditto
1144         (~InsetTabular): delete delete
1145         (Clone): adjust for scoped_ptr
1146         (Read): constify old_format, adjust for scoped_ptr, move init of
1147         token
1148         (draw): constify tx, localize loop vars.
1149         some other localization of variables, remove double initilizatons.
1150         
1151         * insetfoot.C: remove using std::ostream, add ostream where needed
1152
1153 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1154
1155         * lyxinset.h: some reindentaion, use initializer list for
1156         constructro.
1157         UpdatableInset: make cursor_visible a private var add
1158         public isCursorVisible(), add protected toggleCursorVisible() and
1159         proctected setCursorVisible(bool), make scroll call the Inset::scroll
1160
1161         * insettoc.C: remvoe using decl
1162         (getScreenLabel): make cmdname donst
1163         (LyxCode): ditto
1164         (Ascii): ditto
1165         (Ascii): don't use endl
1166
1167         * insetfootlike.C: remove using decl at file scope and add std::
1168         where needed
1169         * insetmarginal.C: ditto
1170
1171         * insetfoot.C: some reformatting
1172
1173         * insetfloat.C (InsetButtonRelease): adjust the hit area
1174
1175         * insetert.C (SetFont): some reformatting
1176
1177         * insetcollapsable.C: some reformatting and constification
1178         (Clone): comment out.
1179         * insetcollapsable.h: some reformatting
1180         (Clone): comment out.
1181         
1182         * inset.C: reindent
1183         (scroll): simplify
1184
1185 2001-03-30  Juergen Vigna  <jug@sad.it>
1186
1187         * insetcollapsable.h: changen *inset to be a InsetText inset.
1188         
1189         * some files: changed to reflect the above change.
1190
1191 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
1192
1193         * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
1194         InsetExternal::Params.
1195         Added operator==() and operator!=() for the Params struct.
1196
1197 2001-03-29  Juergen Vigna  <jug@sad.it>
1198
1199         * lyxinset.h: changed parameter of getMaxWidth from Painter & to
1200         BufferView *.
1201
1202         * insetminipage.C: removed widthp_ and all it's functions and changed
1203         to use new %-lengths of LyXLength.
1204
1205 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
1206
1207         * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
1208
1209 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
1210
1211         * insetgraphicsParams.C (operator!=): new function, needed by the
1212         ControlGraphics class.
1213
1214 2001-03-28  Juergen Vigna  <jug@sad.it>
1215
1216         * insettext.C (InsetButtonPress): only enter !inset if button == 2
1217         (checkAndActivateInset): don't use the values returned from
1218         call to bv->checkInsetHit.
1219
1220         * insetminipage.C (Clone): set special minipage values.
1221
1222         * insetcollapsable.C (draw): changed to draw the button in the
1223         upper left corner outside the textinset.
1224         (ascent): changed because of different drawing 
1225         (descent): ditto
1226         (width): ditto
1227         (Edit): ditto
1228         (InsetButtonPress): ditto
1229         (InsetButtonRelease): ditto
1230         (InsetMotionNotify): ditto
1231
1232 2001-03-27  Dekel Tsur  <dekelts@tau.ac.il>
1233
1234         * figinset.C (GetPSSizes): Fix for the case when filename doesn't
1235         contain a suffix.
1236         (Clone): ditto
1237
1238 2001-03-26  Juergen Vigna  <jug@sad.it>
1239
1240         * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
1241
1242         * insettext.C (ShowInsetDialog): implemented above function.
1243
1244         * insettabular.C (ShowInsetDialog): ditto
1245
1246         * insetminipage.C (ShowInsetDialog): ditto
1247
1248 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
1249
1250         * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
1251         InsetInclude::Params. Don't store a buffer * in Params. Store the
1252         master file name instead.
1253
1254 2001-03-23  Juergen Vigna  <jug@sad.it>
1255
1256         * insetcollapsable.C (InsetMotionNotify):
1257         (InsetButtonRelease): 
1258         (InsetButtonPress): fixed y-offset (minipages).
1259
1260         * insettext.C (draw): force a FULL update if cleared == true.
1261
1262         * insetcollapsable.C (draw): Lars forgotten entry for changing this
1263         routine to draw the minipages on its position-flag.
1264         (InsetInInsetY): give back the right y position, because of minipage
1265         position-flag.
1266
1267 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
1268
1269         * insetfloat.h
1270         * insetfloat.C (DocBook): docbook export code.
1271
1272 2001-03-22  Juergen Vigna  <jug@sad.it>
1273
1274         * insetminipage.C (getMaxWidth): added function to set the drawing
1275         width!
1276         (Read): should work now!
1277
1278         * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
1279         if we create a new inset.
1280
1281 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
1282
1283         * figinset.C (fl_set_preemptive_callback): moved definition outside
1284         of namespace anon.
1285
1286 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1287
1288         * insetminipage.C (Read): prepare for reading of minipage arguments.
1289
1290 2001-03-18  Baruch Even  <baruch@lyx.org>
1291
1292         * insetgraphics.C: Minor cleanups of the comments and code.
1293
1294 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1295
1296         * insetminipage.C (InsetMinipage): default to not collapsed
1297
1298 2001-03-16  Juergen Vigna  <jug@sad.it>
1299
1300         * insetminipage.C (width): modified with to be a string
1301         (widthp): added widthp (for % width) support functions.
1302         (InsetButtonRelease): added to open the options dialog on button==3.
1303         (~InsetMinipage): added to hide the dialog.
1304
1305         * insetminipage.h: added hideDialog signal
1306
1307 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1308
1309         * insetminipage.h: change the order or Position to match
1310         LyXParagraph::MINIPAGE_ALIGNMENT
1311
1312         * several files: remvoe CXX_WORKING_NAMESPACES
1313
1314         * ExternalTemplate.h: noncopyable is in namespace boost
1315         * insetinclude.h: ditto
1316         * insetcommand.h: ditto
1317
1318 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
1319
1320         * insettext.C (Edit): #else# -> #else.
1321         * insettoc.C: added using directive.
1322
1323 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1324
1325         * insetminipage.h: add pos, inner_pos, width and height. + getters
1326         and setters for all of them.
1327
1328 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
1329
1330         * insetinclude.C (Latex): Do not exit when the textclass of the
1331         included file differ from the textclass of the parent file.
1332
1333 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
1334
1335         * ExternalTemplate.C (read): the reading of external insets now checks
1336         for \end_inset and removes it form the input stream.
1337
1338 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
1339
1340         * ExternalTemplate.h:
1341         * ExternalTemplate.C:
1342         * insetexternal.h:
1343         * insetexternal.C: move form to GUII
1344
1345 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
1346
1347         * insetinclude.h:
1348         * insetinclude.C: add InsetIncludeParams, use
1349         composition rather than derivation of InsetCommand
1350
1351 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1352
1353         * insettoc.C (Ascii): use the Buffer typedefs
1354
1355 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1356
1357         * insettoc.C (Ascii): implement for dynamic number of lists
1358
1359         * insetcaption.[Ch]: update from new_insets branch
1360         * insetfloat.[Ch]: ditto
1361         
1362 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
1363
1364         * insetexternal.C:
1365         * figinset.C: use new File Dialog
1366
1367 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1368
1369         * insettext.C: changes becuase of ParagraphParameters.
1370
1371 2001-02-28  Baruch Even  <baruch@ev-en.org>
1372
1373         * insetgraphics.C (updateInset): Changed due to the change in
1374         GraphicsCache.
1375
1376 2001-02-26  Juergen Vigna  <jug@sad.it>
1377
1378         * insettext.C (SetFont): Set Undo only if we have selection (as it is
1379         handled in LyXText).
1380
1381 2001-02-23  Juergen Vigna  <jug@sad.it>
1382
1383         * insettext.C (draw): some small repainting fixes.
1384         (LocalDispatch): put the sel_cursor stuff after the insert of chars.
1385
1386         * inset.C (LocalDispatch): changed action to be a kb_action (as it
1387         should be) and not an int.
1388         
1389         * insettabular.C (LocalDispatch): ditto
1390
1391         * insettext.C (LocalDispatch): ditto
1392
1393         * insetcollapsable.C (LocalDispatch): ditto
1394
1395 2001-02-22  Juergen Vigna  <jug@sad.it>
1396
1397         * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
1398         DISPATCH it and we don't have a locking_inset.
1399
1400 2001-02-21  Baruch Even  <baruch@ev-en.org>
1401
1402         * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
1403         instead of GraphicsCacheItem *.
1404
1405 2001-02-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1406
1407         * insetcollapsable.C (getLyXText): add const qualifier to second
1408         parameter. 
1409
1410 2001-02-22  Juergen Vigna  <jug@sad.it>
1411
1412         * insettext.C (getLyXText): honor the recursive parameter.
1413         (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
1414
1415         * inset.C (getLyXText): added bool recursive parameter.
1416
1417         * insettext.C (SetUpdateStatus): or the update codes.
1418         (draw): check need_update with &.
1419         (InsetButtonPress): set no_selection to not put a selection when
1420         entering an inset and it is redraws in another spot.
1421
1422         * insettext.h: made need_update an int.
1423
1424 2001-02-20  Baruch Even  <baruch@ev-en.org>
1425
1426         * insetgraphics.h:
1427         * insetgraphisc.C: Changed to use better semantics when loading images
1428         for inline view. Now it doesn't keep the pixmap itself but it's holder.
1429
1430 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
1431
1432         * insetcommand.h:
1433         * inseterror.h:
1434         * insetgraphics.C: change name of "hide" signal to "hideDialog",
1435         consistent with InsetTabular.
1436         
1437 2001-02-19  Juergen Vigna  <jug@sad.it>
1438
1439         * insettabular.C (LocalDispatch): implement PAGE up/down.
1440
1441         * insettext.C (draw): clear all of it on need_update==INIT too!
1442
1443         * insettabular.C (InsetUnlock): always clear the selection.
1444
1445         * inset.C (scroll): normally we only want to scroll the inset until
1446         it is fully visible so if top_x + offset > 20 then just set scx to 0.
1447
1448 2001-02-14  Juergen Vigna  <jug@sad.it>
1449
1450         * insettabular.C (LocalDispatch): remove x_fix as it is not used.
1451         (resetPos): fixed scroll behaviour.
1452         (LocalDispatch): do an update if moving cursor inside a table cell
1453         requests a scroll of the tabular.
1454
1455 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
1456
1457         * insettext.C (textWidth): constify local var
1458
1459         * insettabular.C: small cleanup.
1460
1461         * insetfoot.C (Latex): constify local var
1462
1463         * insetcollapsable.C: small cleanup.
1464
1465         * figinset.C (runqueue): use compare instead of strcmp
1466
1467 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1468
1469         * insettext.C:
1470         * insetinfo.C: remove cruft
1471
1472 2001-02-14  Juergen Vigna  <jug@sad.it>
1473
1474         * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1475
1476 2001-02-13  Juergen Vigna  <jug@sad.it>
1477
1478         * insettext.C (InsertInset): don't move left (is this right?)
1479
1480         * insettabular.C (LocalDispatch): use of the no_draw variable
1481
1482         * insettabular.h: new no_draw variable to stop redraw
1483
1484         * insettabular.C (TabularFeatures): fixed update for alignment change
1485
1486 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
1487
1488         * insetinclude.C:
1489         * insetbib.h:
1490         * insetbib.C: move dialogs to frontends/
1491
1492 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
1493
1494         * insettext.C (LocalDispatch): Restore the language if the inset
1495         becomes empty.
1496
1497 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
1498
1499         * insettext.C (moveRightIntern): Update the selection cursor.
1500         (moveLeftIntern): Ditto.
1501
1502 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1503
1504         * Makefile.am: remove BoundingBox.h
1505
1506         * BoundingBox.h: removed
1507
1508 2001-02-08  Dekel Tsur  <dekelts@tau.ac.il>
1509         
1510         * insettext.C (LocalDispatch): Update selection cursor when moving 
1511         cursor to the right.
1512         (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1513         (moveLeftIntern): Ditto.
1514
1515 2001-02-05  Baruch Even  <baruch.even@writeme.com>
1516
1517         * insetgraphics.C: Updated automatic image conversion, it now goes into
1518         temporary directory instead of with the image itself.
1519
1520 2001-01-21  Baruch Even  <baruch@ev-en.org>
1521
1522         * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1523         to EPS or PNG when needed (support bitmap graphics).
1524
1525 2000-11-02  Baruch Even  <baruch@ev-en.org>
1526
1527         * insetgraphics.C:
1528         * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1529         and removal of commented out code.
1530
1531 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
1532
1533         * insetbib.C (callback): Update citations if the key has changed.
1534
1535 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
1536
1537         * insetbib.C (InsetBibKey): Better computation of default key.
1538         (getScreenLabel) Show both the key and the label.
1539         (getBibLabel): New method.
1540         (callback): Force a redraw if the inset have been changed.
1541
1542 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
1543
1544         * insetref.C (getType, getName): Move methods from 
1545         src/frontends/xforms/FormRef.C.
1546
1547 2001-01-12  Dekel Tsur  <dekelts@tau.ac.il>
1548
1549         * insettabular.C: Various improvements (use only one dummy position).
1550
1551 2001-01-25  Dekel Tsur  <dekelts@tau.ac.il>
1552
1553         * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1554         par->bibkey->width. This fixes the crashes when running without
1555         gui or when having included documents.
1556
1557 2001-01-22  Dekel Tsur  <dekelts@tau.ac.il>
1558
1559         * insetcommand.C (getAsString, setFromString): Cleanup.
1560
1561 2001-01-21  Dekel Tsur  <dekelts@tau.ac.il>
1562
1563         * insetref.C: Add the array InsetRef::types that contains
1564         information about all supported reference types.
1565
1566 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1567
1568         * lyxinset.h: remove trailing comma in enum.
1569
1570 2001-01-17  John Levon  <moz@compsoc.man.ac.uk>
1571
1572         * insettext.C: kill LyXBell.