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