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