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