]> git.lyx.org Git - lyx.git/blob - src/insets/ChangeLog
rename hyphenation-break to ligature-break
[lyx.git] / src / insets / ChangeLog
1 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2
3         * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
4         LIGATURE_BREAK, since the name is so stupid.
5
6 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
7
8         * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
9         the default InsetCollapsable methods. I.e., it can insert anything.
10         (write) output the name of the inset, not some silly hack for
11         compatability with the old InsetInfo.
12         
13         * insetinfo.[Ch]: removed.
14         * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
15         now collapsable, but functionality is otherwise identical to InsetInfo.
16
17         * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
18
19 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
20
21         * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
22         reformatting
23
24         * insetquotes.C: general cleanup
25         (dispString): add spaces inside french double quotes.
26         (latex): ditto. Moreover, treat first the case where the frenchb
27         or french options have been given.
28
29 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
30
31         * insetcite.[Ch] (latex, validate): new methods, required for natbib
32         support.
33
34 2001-07-19  Dekel Tsur  <dekelts@tau.ac.il>
35
36         * figinset.C (RegisterFigure): Print debug message only when
37         current_view is available.
38
39 2001-07-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
40
41         * many files: update to match the change below
42
43         * inset.h (insetAllowed): renamed from insertInsetAllowed;
44         implement the version which takes an inset here.
45
46         * insetcollapsable.[Ch]: implement open and isOpen
47
48         * inset.h: remove insertInsetAllowed from Inset
49         (open): new method, to open or close an inset
50         (isOpen): returns the status of an inset
51         (isCollapsable, colapse): removed
52
53 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
54
55         * insetquotes.C (dispString): display french guillemets when using
56         ISO8859-15.
57
58 2001-07-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
59
60         * insetcollapsable.h: remove bogus return statements
61
62 2001-07-18  Juergen Vigna  <jug@sad.it>
63
64         * insettabular.C (selectNextWord): fixed spellchecking for the
65         first cell of a tabular (wasn't entered!)
66
67 2001-07-17  Juergen Vigna  <jug@sad.it>
68
69         * various files: implemented the below functions.
70         
71         * inset.h: added functions
72         - virtual string selectNextWord(BufferView *, float & value) const;
73         - virtual void selectSelectedWord(BufferView *) { return; }
74         - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
75         needed for spellchecking correctly!
76
77 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
78
79         * insetert.C (latex): write out all paragraphs.
80
81 2001-07-17  Baruch Even  <baruch@lyx.org>
82
83         * insetgraphics.C (draw): Removed unneeded casts.
84
85 2001-07-16  Juergen Vigna  <jug@sad.it>
86
87         * insettext.C (update): fixed small oversight (reset lt to 0).
88
89 2001-07-14  Baruch Even  <baruch@lyx.org>
90
91         * insetgraphics.h:
92         * insetgraphics.C: Added a copy c-tor and handled the same_id case. 
93
94 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
95
96         Consistent use of Lsstream.h:
97         * figinset.C: removed using std::ostringstream directive.
98
99         * insetgraphics.C (createLatexOptions):
100         * insetinclude.C (unique_id):
101         std::ostringstream -> ostringstream.
102         * insettext.C (localDispatch): std::istringstream -> istringstream.
103
104 2001-07-13  Juergen Vigna  <jug@sad.it>
105
106         * insetfloat.C (insertInsetAllowed): added missing const_cast.
107
108         * insetcollapsable.C (getLockingInset): ditto.
109
110 2001-07-12  Juergen Vigna  <jug@sad.it>
111
112         * insetcollapsable.h: added implementation of new function for
113         collapsable status.
114
115         * various files: added implementation of new insertInsetAllowed-func
116         and redone the function a bit more.
117         
118         * inset.h: added isCollapsable(), bool collapsed(),
119         collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
120
121         * insetfloat.C (insertInsetAllowed): make a bit more checks.
122
123         * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
124         LyXText which is marked for removal while we're using it!
125
126         * insettext.h: added private LyXText * lt to use it to assure we are
127         not deleting our LyXText while we're using it!
128
129 2001-07-11  Juergen Vigna  <jug@sad.it>
130
131         * insettext.C (insertInset): check if we are before the inset after
132         inserting it! This check IS needed. Remove the Undo-Call as it is
133         called in LyXText::insertInset!
134
135         * insettext.h: added struct InnerCache.
136
137         * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
138         that we ONLY delete the LyXText in the getLyXText() routine. So we
139         are sure we don't delete LyXText while someone is working with it!
140
141 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
142
143         * insetexternal.C: (*it). -> it->
144         * insettext.C: ditto
145
146 2001-07-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
147
148         * insetcollapsable.C (edit): always open collapsed insets (even if
149         they are not autocollapsable)
150
151         * insetcommand.C (operator=): simplify.
152
153 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
154
155         * insetert.C (latex): handle META_NEWLINE
156
157 2001-07-09  Juergen Vigna  <jug@sad.it>
158
159         * insetert.h: a normal InsetText can insert insets, but we won't.
160
161         * inset.h: return default "false" on insertInsetAllowed and implement
162         this function where a returnvalue != "false" is needed.
163
164 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
165
166         * insetert.C (InsetERT): new contructor
167
168 2001-07-06  Juergen Vigna  <jug@sad.it>
169
170         * a lot of files: added implementation of the below new functions
171         and the change to clone(). Also the call of the new undo-functions
172         where needed.
173         
174         * inset.h: added an inset_id, added functions getParFromID,
175         getInsetFromID, firstParagraph, cursor and id functions, added
176         bool same_ids to clone function.
177
178 2001-07-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
179
180         * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
181         of BufferView * and shared_ptr<LyXText>
182
183 2001-07-05  Juergen Vigna  <jug@sad.it>
184
185         * insettext.C (clear): deleted also the cache not only LyXText.
186         (setParagraphData): ditto.
187
188 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
189
190         * insetfloat.C (latex): let the specific placement take presedence
191         if set, otherwise choose document placement if set, otherwise just
192         use float default placement.
193
194 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
195
196         * insettext.C (localDispatch): call CutAndPaste::'s static method
197         directly. 
198
199 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
200
201         * insetbib.C: no meed to include forms.h here.
202
203 2001-07-03  Angus Leeming  <a.leeming@ic.ac.uk>
204
205         * insettext.C: added using std::make_pair directive.
206
207 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
208
209         * insettext.C (getLyXText): avoid multiple lookups, and simplify
210         slightly
211         (deleteLyXText): ditto
212         (resizeLyXText): ditto
213
214 2001-07-02  Juergen Vigna  <jug@sad.it>
215
216         * insettext.C (getLyXText): introduce a cache in getLyXText so that
217         following calls are only returned the right pointer without the over
218         head to search in the map.
219         (various funcs): reset the cached_bview variable as this signs that
220         the cache is not valid anymore.
221
222 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
223
224         * insettabular.C (clone): do not copy the LyXTabular twice
225
226 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
227
228         * insettext.h (TEXT): delete method
229
230 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
231
232         * insetmarginal.C (latex): 
233         * insetfoot.C (latex): fix spacing of notes in LaTeX
234
235         * insettext.C (localDispatch): use .c_str() on istringstream
236         constructor argument.
237
238 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
239
240         * insettoc.h:
241         * insettoc.C:
242         * inseturl.h:
243         * inseturl.C: fix method names in these to begin
244           with small char too, so they inherit
245  
246 2001-06-28  Juergen Vigna  <jug@sad.it>
247
248         * insettext.C (setFont): fixed font settings using toggleFree()
249         instead of setFont().
250
251 2001-06-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
252
253         * Change a lot of method names to begin with a small char.
254         Changes to a lot of files because of this.
255
256 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
257
258         * insetfloatlist.C (Write): std:: qualify ostream
259         (Latex): ditto
260
261 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
262
263         * figinset.C:
264         * inset.C:
265         * insetgraphics.C: send debug output to Debug::INFO instead of
266         Debug::ANY.
267
268 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
269
270         * insettabular.h:
271         * insettabular.C (getStatus): update to use func_status
272
273 2001-06-26  ben <nicolas.marsgui@libertysurf.fr>
274
275         * insetref.C (DocBook): added support for cross-references without
276         a name.
277
278 2001-06-26  The LyX Project  <jug@sad.it>
279
280         * insetref.C:
281         * insetref.h:
282         * insetlabel.C:
283         * insetlabel.h: removed escape method and moved it to
284         support/lstrings.h.
285
286 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
287
288         * insettabular.C (getMaxWidth): do the speedup in a different way,
289         remove dead code
290
291 2001-06-24  The LyX Project  <Asger>
292
293         * insettabular.C (getMaxWidth): We cache a mapping from
294         inset to cell in order to speed this method up.
295
296 2001-06-24  The LyX Project  <Asger>
297
298         * insettext.C: Optimized InsetText::draw or something.
299
300 2001-06-23  The LyX Project  <lyx@rose.home.sad.it>
301
302         * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
303
304 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
305
306         * inset.h: name change from lyxinset.h
307
308 2001-06-22  Dekel Tsur  <dekelts@tau.ac.il>
309
310         * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
311
312 2001-06-14  Juergen Vigna  <jug@sad.it>
313
314         * insettext.C (draw): removed warnings.
315
316 2001-06-13  Juergen Vigna  <jug@sad.it>
317
318         * insettabular.C (nodraw): only go down the tree if we don't have
319         that flag set otherwise it's obvious that we don't want to draw.
320         (LocalDispatch): do also an update if we have an undispached result.
321
322 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
323
324         * insetcite.C:
325         * insetgraphicsParams.C:
326         * insettext.C: removed // -*- C++ -*- as first line.
327
328 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
329
330         * lyxinset.h (resizeLyXText): shut off warning about unused
331         parameter "force" 
332
333 2001-06-07  Juergen Vigna  <jug@sad.it>
334
335         * insettext.C (resizeLyXText): honor the new force flag.
336
337         * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
338
339         * insettabular.C (deleteLyXText): new function
340
341 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
342
343         * insettheorem.C:
344         * insetminipage.C:
345         * insetlist.C:
346         * insetfootlike.C:
347         * insetfloat.C:
348         * insetert.C:
349         * insetcollapsable.C:
350         * insetcaption.C: LColor tidy
351          
352 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
353
354         * figinset.C: fix typo
355
356 2001-06-01  Juergen Vigna  <jug@sad.it>
357
358         * insettabular.C (resetPos): small hack so that scroll is not set to
359         0 when we are in the last column of a tabular. This is a problem we
360         have because of constats 20 offset on both directions, so this can
361         cause on the limit an endless loop.
362
363         * insettext.C (SetFont): forgot that we can have locking insets ;)
364
365 2001-05-31  Juergen Vigna  <jug@sad.it>
366
367         * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
368
369 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
370
371         * figinset.C: add using std:: directive for the C functions which
372         need that.
373
374 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
375
376         * insetfloat.C (Write): write out wide info
377         (Read): read the wide info
378         (Latex): use the wide info when creating latex.
379
380         * insettext.C: adjust
381
382         * insetgraphics.[Ch] (statusMessage): change to return string
383         (width): adjust
384         (draw): adjust
385
386         * figinset.C (runqueue): add std::
387         (Recompute): ditto
388
389 2001-05-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
390
391         * insetcite.C (Ascii): add std:: qualifier
392
393 2001-05-28  Juergen Vigna  <jug@sad.it>
394
395         * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
396         a endless-width inset (maxWidth < 0).
397         (Edit): change language only if not equal.
398
399         * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
400
401         * insettext.C (draw): fixed draw/clear of InsetText-Frame
402
403 2001-05-16  Juergen Vigna  <jug@sad.it>
404
405         * insettext.C (selectAll): added
406         (clearSelection): added
407
408         * insettabular.C (SetFont): now we may set a font on a whole selection!
409         (getSelection): added helper function.
410
411 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
412
413         * insetcite.C (Ascii): Add method.
414
415 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
416
417         * figinset.C:
418         * insetbib.C: fix path for OS/2 & Win32
419
420 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
421
422         * insetfoot.C (Latex): don't use % after footnote.
423
424 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
425
426         * insettext.C (Read): use clear
427         (SetParagraphData): use LyXParagraph copy constructor instead of clone
428
429 2001-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
430
431         * insetfloatlist.h: add a bunch of std:: qualifiers.
432
433 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
434
435         * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
436         FLOAT_LIST_CODE, renumber code list.
437
438         * insettoc.C (getScreenLabel): remove support for float lists
439         (LyxCode): ditto
440         (Ascii): ditto
441
442         * insetfloatlist.[Ch]: new files
443
444         * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
445
446 2001-04-27  Angus Leeming  <a.leeming@ic.ac.uk>
447
448         * insettabular.C (LocalDispatch):
449         * insettext.C (LocalDispatch): getClipboard() is now a BufferView
450         method 
451
452 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
453
454         * insettext.C: remvoe !NEW_INSETS cruft
455
456         * insettabular.C: remove !NEW_INSETS cruft
457
458         * insetcollapsable.h: remove !NEW_INSETS cruft
459
460         * insetbib.C: remove !NEW_INSETS cruft
461
462 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
463
464         * insettoc.C: hack to make listof algorithm work
465
466 2001-04-20  Juergen Vigna  <jug@sad.it>
467
468         * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
469
470 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
471
472         * insetquotes.C (Latex): improve the guard against
473         unwanted !` and ?` ligatures. This should really be done in
474         another place (to catch all this ligatures at low-level).
475
476 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
477
478         * insettext.C (init): remvoe leftovers from cursor_visible change
479         (draw): use c++ cast
480         (LocalDispatch): dispatch LFUN_MESSAGE
481
482         * insettabular.C (InsetTabular): remove leftovers from
483         cursor_visible, and scoped_ptr changes
484         (draw): use c++ cast
485
486         * insetcollapsable.C (draw): use c++ cast
487
488         * ExternalTemplate.h: inherit privaely from noncopyable
489         * insetcommand.h: ditto
490         * insetinclude.h: ditto
491
492 2001-04-16  Allan Rae  <rae@lyx.org>
493
494         * insettoc.C (Ascii): 
495         * insettext.C (draw): 
496         * insettabular.C (setPos): 
497         * insetminipage.C (Read): 
498         * insetfloat.C (placement): 
499         * insetcaption.C (Ascii, DocBook): 
500         * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
501         an unrecognised preprocessor directive.  So ensure they're wrapped. 
502
503 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
504
505         * insetexternal.h:
506         * insetexternal.C: set view on Clone. Add _ to private members.
507
508 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
509
510         * insettext.C (InsetText): fix new
511         (InsetText): reindent some, simplify deletion of par list 
512         (clear): simplify deletion of par list, fix new
513         (SetParagraphData): simplify deletion of par list
514
515         * insettabular.[Ch] (getLabelList): implement new method
516
517 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
518
519         * lyxinset.h: do not include gettext.h...
520
521         * inset.C:
522         * insetcaption.C:
523         * insetexternal.C:
524         * insetgraphics.C:
525         * insetindex.C:
526         * insetlabel.C:
527         * insetlatexaccent.C:
528         * insetminipage.C:
529         * insetquotes.C:
530         * insettabular.C:
531         * inseturl.C: ... and do it here instead
532
533 2001-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
534
535         * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
536
537         * insettext.[Ch] (getLabelList): add std:: on vector<string> 
538
539         * insetcollapsable.[Ch] (getLabelList): implement
540
541         * insettext.[Ch] (getLabelList): implement
542
543         * insettext.h: reindent
544
545         * insettabular.h: make tabular a scoped_ptr
546
547         * insettext.C (init): adjust for cursor_visible
548         (ToggleInsetCursor): constify asc and desc, font, adjust for
549         cursor_visible
550         (ShowInsetCursor): constify asc and desc, font, adjust for
551         cursor_visible
552         (HideInsetCursor): adjust for cursor_visible
553
554         * insettabular.C: reindent some
555         (InsetTabular): adjust for scoped_ptr and cursor_visible
556         (InsetTabular): ditto
557         (~InsetTabular): delete delete
558         (Clone): adjust for scoped_ptr
559         (Read): constify old_format, adjust for scoped_ptr, move init of
560         token
561         (draw): constify tx, localize loop vars.
562         some other localization of variables, remove double initilizatons.
563         
564         * insetfoot.C: remove using std::ostream, add ostream where needed
565
566 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
567
568         * lyxinset.h: some reindentaion, use initializer list for
569         constructro.
570         UpdatableInset: make cursor_visible a private var add
571         public isCursorVisible(), add protected toggleCursorVisible() and
572         proctected setCursorVisible(bool), make scroll call the Inset::scroll
573
574         * insettoc.C: remvoe using decl
575         (getScreenLabel): make cmdname donst
576         (LyxCode): ditto
577         (Ascii): ditto
578         (Ascii): don't use endl
579
580         * insetfootlike.C: remove using decl at file scope and add std::
581         where needed
582         * insetmarginal.C: ditto
583
584         * insetfoot.C: some reformatting
585
586         * insetfloat.C (InsetButtonRelease): adjust the hit area
587
588         * insetert.C (SetFont): some reformatting
589
590         * insetcollapsable.C: some reformatting and constification
591         (Clone): comment out.
592         * insetcollapsable.h: some reformatting
593         (Clone): comment out.
594         
595         * inset.C: reindent
596         (scroll): simplify
597
598 2001-03-30  Juergen Vigna  <jug@sad.it>
599
600         * insetcollapsable.h: changen *inset to be a InsetText inset.
601         
602         * some files: changed to reflect the above change.
603
604 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
605
606         * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
607         InsetExternal::Params.
608         Added operator==() and operator!=() for the Params struct.
609
610 2001-03-29  Juergen Vigna  <jug@sad.it>
611
612         * lyxinset.h: changed parameter of getMaxWidth from Painter & to
613         BufferView *.
614
615         * insetminipage.C: removed widthp_ and all it's functions and changed
616         to use new %-lengths of LyXLength.
617
618 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
619
620         * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
621
622 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
623
624         * insetgraphicsParams.C (operator!=): new function, needed by the
625         ControlGraphics class.
626
627 2001-03-28  Juergen Vigna  <jug@sad.it>
628
629         * insettext.C (InsetButtonPress): only enter !inset if button == 2
630         (checkAndActivateInset): don't use the values returned from
631         call to bv->checkInsetHit.
632
633         * insetminipage.C (Clone): set special minipage values.
634
635         * insetcollapsable.C (draw): changed to draw the button in the
636         upper left corner outside the textinset.
637         (ascent): changed because of different drawing 
638         (descent): ditto
639         (width): ditto
640         (Edit): ditto
641         (InsetButtonPress): ditto
642         (InsetButtonRelease): ditto
643         (InsetMotionNotify): ditto
644
645 2001-03-27  Dekel Tsur  <dekelts@tau.ac.il>
646
647         * figinset.C (GetPSSizes): Fix for the case when filename doesn't
648         contain a suffix.
649         (Clone): ditto
650
651 2001-03-26  Juergen Vigna  <jug@sad.it>
652
653         * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
654
655         * insettext.C (ShowInsetDialog): implemented above function.
656
657         * insettabular.C (ShowInsetDialog): ditto
658
659         * insetminipage.C (ShowInsetDialog): ditto
660
661 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
662
663         * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
664         InsetInclude::Params. Don't store a buffer * in Params. Store the
665         master file name instead.
666
667 2001-03-23  Juergen Vigna  <jug@sad.it>
668
669         * insetcollapsable.C (InsetMotionNotify):
670         (InsetButtonRelease): 
671         (InsetButtonPress): fixed y-offset (minipages).
672
673         * insettext.C (draw): force a FULL update if cleared == true.
674
675         * insetcollapsable.C (draw): Lars forgotten entry for changing this
676         routine to draw the minipages on its position-flag.
677         (InsetInInsetY): give back the right y position, because of minipage
678         position-flag.
679
680 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
681
682         * insetfloat.h
683         * insetfloat.C (DocBook): docbook export code.
684
685 2001-03-22  Juergen Vigna  <jug@sad.it>
686
687         * insetminipage.C (getMaxWidth): added function to set the drawing
688         width!
689         (Read): should work now!
690
691         * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
692         if we create a new inset.
693
694 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
695
696         * figinset.C (fl_set_preemptive_callback): moved definition outside
697         of namespace anon.
698
699 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
700
701         * insetminipage.C (Read): prepare for reading of minipage arguments.
702
703 2001-03-18  Baruch Even  <baruch@lyx.org>
704
705         * insetgraphics.C: Minor cleanups of the comments and code.
706
707 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
708
709         * insetminipage.C (InsetMinipage): default to not collapsed
710
711 2001-03-16  Juergen Vigna  <jug@sad.it>
712
713         * insetminipage.C (width): modified with to be a string
714         (widthp): added widthp (for % width) support functions.
715         (InsetButtonRelease): added to open the options dialog on button==3.
716         (~InsetMinipage): added to hide the dialog.
717
718         * insetminipage.h: added hideDialog signal
719
720 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
721
722         * insetminipage.h: change the order or Position to match
723         LyXParagraph::MINIPAGE_ALIGNMENT
724
725         * several files: remvoe CXX_WORKING_NAMESPACES
726
727         * ExternalTemplate.h: noncopyable is in namespace boost
728         * insetinclude.h: ditto
729         * insetcommand.h: ditto
730
731 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
732
733         * insettext.C (Edit): #else# -> #else.
734         * insettoc.C: added using directive.
735
736 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
737
738         * insetminipage.h: add pos, inner_pos, width and height. + getters
739         and setters for all of them.
740
741 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
742
743         * insetinclude.C (Latex): Do not exit when the textclass of the
744         included file differ from the textclass of the parent file.
745
746 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
747
748         * ExternalTemplate.C (read): the reading of external insets now checks
749         for \end_inset and removes it form the input stream.
750
751 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
752
753         * ExternalTemplate.h:
754         * ExternalTemplate.C:
755         * insetexternal.h:
756         * insetexternal.C: move form to GUII
757
758 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
759
760         * insetinclude.h:
761         * insetinclude.C: add InsetIncludeParams, use
762         composition rather than derivation of InsetCommand
763
764 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
765
766         * insettoc.C (Ascii): use the Buffer typedefs
767
768 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
769
770         * insettoc.C (Ascii): implement for dynamic number of lists
771
772         * insetcaption.[Ch]: update from new_insets branch
773         * insetfloat.[Ch]: ditto
774         
775 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
776
777         * insetexternal.C:
778         * figinset.C: use new File Dialog
779
780 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
781
782         * insettext.C: changes becuase of ParagraphParameters.
783
784 2001-02-28  Baruch Even  <baruch@ev-en.org>
785
786         * insetgraphics.C (updateInset): Changed due to the change in
787         GraphicsCache.
788
789 2001-02-26  Juergen Vigna  <jug@sad.it>
790
791         * insettext.C (SetFont): Set Undo only if we have selection (as it is
792         handled in LyXText).
793
794 2001-02-23  Juergen Vigna  <jug@sad.it>
795
796         * insettext.C (draw): some small repainting fixes.
797         (LocalDispatch): put the sel_cursor stuff after the insert of chars.
798
799         * inset.C (LocalDispatch): changed action to be a kb_action (as it
800         should be) and not an int.
801         
802         * insettabular.C (LocalDispatch): ditto
803
804         * insettext.C (LocalDispatch): ditto
805
806         * insetcollapsable.C (LocalDispatch): ditto
807
808 2001-02-22  Juergen Vigna  <jug@sad.it>
809
810         * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
811         DISPATCH it and we don't have a locking_inset.
812
813 2001-02-21  Baruch Even  <baruch@ev-en.org>
814
815         * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
816         instead of GraphicsCacheItem *.
817
818 2001-02-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
819
820         * insetcollapsable.C (getLyXText): add const qualifier to second
821         parameter. 
822
823 2001-02-22  Juergen Vigna  <jug@sad.it>
824
825         * insettext.C (getLyXText): honor the recursive parameter.
826         (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
827
828         * inset.C (getLyXText): added bool recursive parameter.
829
830         * insettext.C (SetUpdateStatus): or the update codes.
831         (draw): check need_update with &.
832         (InsetButtonPress): set no_selection to not put a selection when
833         entering an inset and it is redraws in another spot.
834
835         * insettext.h: made need_update an int.
836
837 2001-02-20  Baruch Even  <baruch@ev-en.org>
838
839         * insetgraphics.h:
840         * insetgraphisc.C: Changed to use better semantics when loading images
841         for inline view. Now it doesn't keep the pixmap itself but it's holder.
842
843 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
844
845         * insetcommand.h:
846         * inseterror.h:
847         * insetgraphics.C: change name of "hide" signal to "hideDialog",
848         consistent with InsetTabular.
849         
850 2001-02-19  Juergen Vigna  <jug@sad.it>
851
852         * insettabular.C (LocalDispatch): implement PAGE up/down.
853
854         * insettext.C (draw): clear all of it on need_update==INIT too!
855
856         * insettabular.C (InsetUnlock): always clear the selection.
857
858         * inset.C (scroll): normally we only want to scroll the inset until
859         it is fully visible so if top_x + offset > 20 then just set scx to 0.
860
861 2001-02-14  Juergen Vigna  <jug@sad.it>
862
863         * insettabular.C (LocalDispatch): remove x_fix as it is not used.
864         (resetPos): fixed scroll behaviour.
865         (LocalDispatch): do an update if moving cursor inside a table cell
866         requests a scroll of the tabular.
867
868 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
869
870         * insettext.C (textWidth): constify local var
871
872         * insettabular.C: small cleanup.
873
874         * insetfoot.C (Latex): constify local var
875
876         * insetcollapsable.C: small cleanup.
877
878         * figinset.C (runqueue): use compare instead of strcmp
879
880 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
881
882         * insettext.C:
883         * insetinfo.C: remove cruft
884
885 2001-02-14  Juergen Vigna  <jug@sad.it>
886
887         * insettext.C (SetUpdateStatus): added a BufferView * parameter.
888
889 2001-02-13  Juergen Vigna  <jug@sad.it>
890
891         * insettext.C (InsertInset): don't move left (is this right?)
892
893         * insettabular.C (LocalDispatch): use of the no_draw variable
894
895         * insettabular.h: new no_draw variable to stop redraw
896
897         * insettabular.C (TabularFeatures): fixed update for alignment change
898
899 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
900
901         * insetinclude.C:
902         * insetbib.h:
903         * insetbib.C: move dialogs to frontends/
904
905 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
906
907         * insettext.C (LocalDispatch): Restore the language if the inset
908         becomes empty.
909
910 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
911
912         * insettext.C (moveRightIntern): Update the selection cursor.
913         (moveLeftIntern): Ditto.
914
915 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
916
917         * Makefile.am: remove BoundingBox.h
918
919         * BoundingBox.h: removed
920
921 2001-02-08  Dekel Tsur  <dekelts@tau.ac.il>
922         
923         * insettext.C (LocalDispatch): Update selection cursor when moving 
924         cursor to the right.
925         (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
926         (moveLeftIntern): Ditto.
927
928 2001-02-05  Baruch Even  <baruch.even@writeme.com>
929
930         * insetgraphics.C: Updated automatic image conversion, it now goes into
931         temporary directory instead of with the image itself.
932
933 2001-01-21  Baruch Even  <baruch@ev-en.org>
934
935         * insetgraphics.C: Added Docbook support. Added Automatic image conversion
936         to EPS or PNG when needed (support bitmap graphics).
937
938 2000-11-02  Baruch Even  <baruch@ev-en.org>
939
940         * insetgraphics.C:
941         * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
942         and removal of commented out code.
943
944 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
945
946         * insetbib.C (callback): Update citations if the key has changed.
947
948 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
949
950         * insetbib.C (InsetBibKey): Better computation of default key.
951         (getScreenLabel) Show both the key and the label.
952         (getBibLabel): New method.
953         (callback): Force a redraw if the inset have been changed.
954
955 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
956
957         * insetref.C (getType, getName): Move methods from 
958         src/frontends/xforms/FormRef.C.
959
960 2001-01-12  Dekel Tsur  <dekelts@tau.ac.il>
961
962         * insettabular.C: Various improvements (use only one dummy position).
963
964 2001-01-25  Dekel Tsur  <dekelts@tau.ac.il>
965
966         * insetbib.C (bibitemWidest): Use lyxfont::width instead of
967         par->bibkey->width. This fixes the crashes when running without
968         gui or when having included documents.
969
970 2001-01-22  Dekel Tsur  <dekelts@tau.ac.il>
971
972         * insetcommand.C (getAsString, setFromString): Cleanup.
973
974 2001-01-21  Dekel Tsur  <dekelts@tau.ac.il>
975
976         * insetref.C: Add the array InsetRef::types that contains
977         information about all supported reference types.
978
979 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
980
981         * lyxinset.h: remove trailing comma in enum.
982
983 2001-01-17  John Levon  <moz@compsoc.man.ac.uk>
984
985         * insettext.C: kill LyXBell.