]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
add limited_stack.h to Makefile
[lyx.git] / src / ChangeLog
1 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
2
3         * Makefile.am:
4         * buffer.h: 
5         * undostack.h:
6         * undostack.C:
7         * undo_funcs.h:
8         * undo_funcs.C: some cleanups. Use shared_ptr
9           and a template for the undo stacks.
10         
11  
12 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
13
14         * BufferView_pimpl.h:
15         * BufferView_pimpl.C:
16         * kbmap.h:
17         * kbmap.C:
18         * kbsequence.h:
19         * kbsequence.C:
20         * lyxfunc.h:
21         * lyxfunc.C:
22         * text2.C: use key_state/mouse_state
23  
24 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
25
26         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
27         and LSubstring
28
29         * chset.C: change include order
30         (loadFile): use boost regex and get rid of LRegex and LSubstring
31
32         * Makefile.am (BOOST_LIBS): new variable
33         (lyx_LDADD): use it
34
35         * LaTeX.C: change include order.
36         (scanAuxFile): use boost regex and get rid of LRegex and
37         LSubstring
38         (deplog): ditto
39
40 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
41
42         * ColorHandler.h:
43         * ColorHandler.C:
44         * FontInfo.h:
45         * FontInfo.C: moved to frontends/xforms/
46
47         * FontLoader.h:
48         * FontLoader.C: moved into frontends for GUIIzation
49
50         * Makefile.am:
51         * lyx_gui.C:
52         * lyxfont.C:
53         * lyxfunc.C: changes from above
54
55 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
56
57         * LColor.C: remove spurious X include
58
59         * BufferView_pimpl.C:
60         * Makefile.am:
61         * font.h:
62         * font.C:
63         * text.C:
64         * text2.C: move font metrics to frontends/
65
66 2002-05-24  Juergen Vigna  <jug@sad.it>
67
68         * undo_funcs.C (textHandleUndo): fix the cursor selection after
69         setting the undo_cursor.
70
71         * ParagraphParameters.h: include local includes first.
72
73 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
74
75         * BufferView_pimpl.C:
76         * BufferView_pimpl.h:
77         * Makefile.am:
78         * WorkArea.h:
79         * WorkArea.C:
80         * screen.C: move WorkArea into frontends/
81
82         * lyxscreen.h:
83         * screen.C:
84         * text.C:
85         * BufferView.C:
86         * BufferView2.C: move LyXScreen into frontends/
87
88         * lyxlookup.h:
89         * lyxlookup.C:
90         * lyx_gui.C: move lyxlookup into frontends/xforms/
91
92 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
93
94         * BufferView2.C:
95         * BufferView_pimpl.C:
96         * FontLoader.C:
97         * LyXView.h:
98         * LyXView.C:
99         * Makefile.am:
100         * WorkArea.C:
101         * XFormsView.h:
102         * XFormsView.C:
103         * buffer.C:
104         * bufferlist.C:
105         * bufferview_funcs.C:
106         * converter.C:
107         * importer.C:
108         * lyx_cb.C:
109         * lyx_gui.C:
110         * lyx_main.C:
111         * lyx_find.C:
112         * lyxfunc.C:
113         * lyxvc.C:
114         * minibuffer.C:
115         * text.C:
116         * text2.C:
117         * trans.C:
118         * vc-backend.C: move LyX/XFormsView into frontends/
119
120 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
121
122         * Makefile.am:
123         * PainterBase.C:
124         * PainterBase.h:
125         * Painter.C:
126         * Painter.h:
127         * WorkArea.C:
128         * WorkArea.h:
129         * screen.C:
130         * tabular.C:
131         * text.C:
132         * text2.C: move Painter to frontends/
133
134 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
135
136         * buffer.C: comment out some some code that depend upon lyx_format
137         < 220
138
139         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
140         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
141
142         * buffer.h (NO_COMPABILITY): turn off compability
143
144         * ColorHandler.C: include scoped_array.hpp
145
146         * font.C: Use more specific smart_ptr header.
147         * Painter.C: ditto
148         * gettext.C: ditto
149         * ShareContainer.h: ditto
150         * lyx_main.h: ditto
151         * kbmap.h: ditto
152         * FontInfo.h: ditto
153         * BufferView_pimpl.h: ditto
154         * ColorHandler.h: ditto
155
156         * kbmap.C (defkey): change call to shared_ptr::reset
157
158 2002-05-21  Juergen Vigna  <jug@sad.it>
159
160         * buffer.C (insertErtContents): fix to insert ert asis if it is
161         non empty. Skip it completely if it contains only whitespaces.
162
163 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
164
165         * BufferView_pimpl.C:
166         * BufferView2.C: clear selection on paste (bug 393)
167
168 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
169
170         * DepTable.C: include ctime
171
172 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
173
174         * buffer.C (latexParagraphs): Add new argument (moving_arg).
175
176 2002-05-14  Juergen Vigna  <jug@sad.it>
177
178         * text.C (breakParagraph): fixed function to honor the keepempty
179         layout in the right maner and also to permit the right breaking
180         algorithm on empty or non empyt keepempty paragraphs.
181
182         * paragraph.C (breakParagraph): we have to check also if the par
183         is really empty (!size()) for isempty otherwise we do the wrong
184         paragraph break.
185
186 2002-05-10  Juergen Vigna  <jug@sad.it>
187
188         * buffer.[Ch] : The following are only changes to the ert
189         compatibility read reading old LaTeX layout and font stuff and
190         convert it to ERTInsets.
191
192         * buffer.h: added isErtInset().
193
194         * buffer.C (struct ErtComp): add a fromlayout bool to check
195         if we're inside a LaTeX layout.
196         (isErtInset): new helper function.
197         (insertErtContents): look for other ert insets before this one
198         and insert the contents there, so that we don't have subsequent
199         ERT insets with nothing between them. This way we create only one
200         inset with multiple paragraphs. Also check if we don't insert only
201         spaces ' ' as they are ignored anyway afterwards in the .tex file
202         so if we have only spaces we will ignore this latex part in the
203         new file.
204         (parseSingleLyXformat2Token \\layout): better compatibility when
205         reading layout-latex stuff.
206         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
207         language tag.
208         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
209         stuff after reading the inset only get the information back from
210         the stack.
211
212 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
213
214         * buffer.C (makeLaTeXFile): Put language options after loading babel.
215
216         * LaTeXFeatures.C (getBabelOptions): New method.
217
218 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
219
220         * BufferView_pimpl.C (Dispatch): work around missing argument for
221         'layout'
222
223 2002-05-08  Juergen Vigna  <jug@sad.it>
224
225         * text.C (leftMargin): handle paragraph leftindent.
226
227         * paragraph.C (writeFile): write the new \\leftindent tag.
228         (validate): handle leftindent code.
229         (TeXEnvironment): handle paragraphleftindent code again.
230
231         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
232
233         * buffer.C (parseSingleLyXformat2Token): added compatibility code
234         for paragrap_extra indent code and new token \\leftindent.
235         (latexParagraphs): handle the leftindent as environment.
236
237         * ParameterStruct.h: added leftindent support.
238
239         * ParagraphParameters.C (leftIndent): added support functions for
240         the paragraph left indent.
241
242         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
243         more appropriate.
244
245 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
246
247         * paragraph.C (isRightToLeftPar): Return false for a paragraph
248         inside insetERT.
249
250         * text.C (computeBidiTables): No bidi in insetERT.
251
252         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
253         in RTL documents.
254
255 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
256
257         * version.C.in: pre 5
258
259 2002-05-02  José Matos  <jamatos@fep.up.pt>
260         * buffer.C (makeDocBookFile): white space changes, add newline to
261         command styles.
262         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
263
264         * tabular.C (docBook): fix typo.
265
266 2002-05-03  Juergen Vigna  <jug@sad.it>
267
268         * screen.C (drawFromTo): recalculate the rowpointer if we had a
269         change in LyXText as we can not be sure it was not freed.
270         (drawOneRow): remove unused code.
271
272         * text.C (drawInset): redo the calculation of the need_break_row as
273         it could have a row which was already freed.
274         (draw): look at the return value of drawInset and return false if
275         it also returned false.
276         (paintRowText): look at the return value of draw and return false if
277         it also returned false.
278
279         * lyxtext.h: added bool return type to drawInset() and draw() so that
280         if we have a change in the row so that the rowbreak has to be redone
281         we abort drawing as it will be called again.
282
283 2002-05-02  Juergen Vigna  <jug@sad.it>
284
285         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
286         a change in the maintext also if we're inside an inset.
287         (Dispatch): set the cursor again after a break line and after the
288         screen has been updated as it could be we're in a different row.
289
290         * text2.C (fixCursorAfterDelete): check to make sure we don't request
291         to set the cursor behind the pargraph with > size().
292         (setCursor): check also for the same paragraph when checking where
293         to put the cursor if we have a NFR inset.
294
295         * buffer.C (parseSingleLyXformat2Token): move the compatibility
296         parts of layout read further up as it still was in the wrong
297         position.
298
299 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
300
301         * screen.C (drawFromTo): change sine fullRebreak always return
302         true.
303
304         * buffer.C (parseSingleLyXformat2Token): reindent some
305
306         * BufferView_pimpl.C (update): change since fullRebreak always
307         return true.
308         (Dispatch): git rid of the last hardcoded "Standard"s.
309
310 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
311
312         * text2.[Ch] (fullRebreak): make it return void now that we always
313         returned true.
314
315 2002-04-30  Juergen Vigna  <jug@sad.it>
316
317         * buffer.C (parseSingleLyXformat2Token): reset the font before the
318         ert compatibility check for "latex" layout.
319
320 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
321
322         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
323         minipages: use col% instead of p%, and also use the current font.
324         (makeLaTeXFile): Fix use babel condition.
325         (parseSingleLyXformat2Token): Correct font when reading old floats.
326
327 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
328
329         * BufferView_pimpl.C (Dispatch): Check that float type exists when
330         inserting list of floats.
331
332 2002-04-25  Herbert Voss  <voss@lyx.org>
333
334         * MenuBackend.C (expand): don't add the graphics extensions to the
335         export menu
336
337 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
338
339         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
340         non-existing layout, do not complain if it was the default layout
341         of the original class (bug #342)
342
343 2002-04-24  Juergen Vigna  <jug@sad.it>
344
345         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
346         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
347
348 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
349
350         * buffer.C (getBibkeyList): If using \bibliography, return the
351         option field with the reference itself. Enables us to provide natbib
352         support when using \bibliography.
353
354 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
355
356         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
357
358         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
359         natbib is provided by the LaTeX class.
360
361 2002-04-23  Juergen Vigna  <jug@sad.it>
362
363         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
364         Wakeup functions.
365
366         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
367
368 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
369
370         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
371
372         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
373         ensuremath around textordmasculine, textordfeminine and
374         textdegree.
375
376 2002-04-19  Juergen Vigna  <jug@sad.it>
377
378         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
379         reinitializing the buffer otherwise row-dimensions may be wrong.
380         (update): reset also the selection cursors if they do exits otherwise
381         their x/y positions may be wrong.
382
383         * text2.C (cursorDown): don't enter the inset if we came from a row
384         above and are one row over the inset.
385
386         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
387         really leaving an inset.
388
389 2002-04-18  Juergen Vigna  <jug@sad.it>
390
391         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
392         of the selected paragraph does not have the selected layout also if
393         the last one had!
394
395         * text2.C (setLayout): fixed bug which did not change last selected
396         paragraph.
397
398         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
399         changed the read and substituted \\end_float with \\end_inset!
400
401         * BufferView_pimpl.C (cursorPrevious):
402         (cursorNext): fixed to make it work with rows heigher than the work
403         area without moving the cursor only the draw of the row.
404         (workAreaMotionNotify): fix jumping over high rows.
405
406 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
407
408         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
409         Ressler.
410
411 2002-04-16  Juergen Vigna  <jug@sad.it>
412
413         * text2.C (setCursor): set also the irow().
414         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
415         (cursorUp):
416         (cursorDown): support for locking an inset if the x_fix value goes
417         inside it. That way I can transverse insets too with cursor up/down.
418
419         * lyxrow.h: added irow helper function same as other (i) functions.
420
421         * BufferView_pimpl.C (cursorPrevious):
422         (cursorNext): fixed for insets!
423
424 2002-04-15  Juergen Vigna  <jug@sad.it>
425
426         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
427         position otherwise it is wrong in some cases.
428
429         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
430         inside the inset before the call.
431
432 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
433
434         * buffer.[Ch] (getBibkeyList): make it const.
435
436 2002-04-12  Juergen Vigna  <jug@sad.it>
437
438         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
439
440         * text2.C (getCursorX): new helper function
441         (setCursor): compute also ix_
442         (setCursorFromCoordinates): set also ix.
443
444         * lyxcursor.h: added ix_ and helper functions.
445
446         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
447
448         * buffer.C (insertStringAsLines): dont break paragraph if the this
449         paragraph is inside an inset which does not permit it!
450
451         * text.C (breakParagraph): honor keepempty flag and break the paragraph
452         also with no chars on this paragraph.
453         (paintRowText): only paint stuff if it's inside the workarea!
454
455         * paragraph.C (breakParagraph): honor keepempty flag and break the
456         paragraph always below not above.
457
458         * BufferView2.C (unlockInset): update the paragraph layout on inset
459         unlock as we changed paragraph in such a case.
460
461         * lyxfind.C (LyXFind): clear the former selection if not found!
462
463         * text2.C (insertInset): freeze Undo after setUndo so that it is not
464         again called in insertChar().
465
466         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
467         an inset which uses the whole row!
468         (rightMargin): ditto.
469         (insertChar): force a rebreak if we inserted an inset!
470
471 2002-03-28  Herbert Voss  <voss@lyx.org>
472
473         * lyxlength.[Ch]: add inBP() to get the right PS-point
474         units (BigPoint). With inPixels we have rounding errors
475
476 2002-04-11  Juergen Vigna  <jug@sad.it>
477
478         * text2.C (setCursorFromCoordinates): set iy to the right value.
479         (setCursor): add check if row->previous exists!
480
481         * buffer.C (parseSingleLyXformat2Token): reset font after read of
482         an old float_type as this was the case in the old code!
483
484         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
485
486         * BufferView2.C (showLockedInsetCursor): use iy
487         (fitLockedInsetCursor): ditto
488
489         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
490         locked insets as there we have the right value now.
491
492         * lyxcursor.C: added iy_ variable and iy functions to set to the
493         baseline of cursor-y of the locked inset.
494
495         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
496         (setCursor): fixed for insets which need a full row.
497
498         * text.C (rowLastPrintable): don't ignore the last space when before
499         an inset which needs a full row.
500         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
501         as last character of a row when before a inset which needs a full row.
502
503 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
504
505         * version.C.in: update date
506
507         * text2.C (fullRebreak): try to always return true and see what
508         happens...
509
510 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
511
512         * MenuBackend.C (expand): use Floating::listName
513
514         * FloatList.C (FloatList): add listName argument to the built-in
515         floats
516
517         * Floating.[Ch]: add listName member, which is the 'List of XXX'
518         text associated with the float.
519
520 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
521
522         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
523
524 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
525
526         * ShareContainer.h: add a couple of missing typenames.
527
528 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
529
530         * lyxrc.C (getDescription): use _() correctly rather than N_().
531
532 2002-03-28  Herbert Voss  <voss@lyx.org>
533
534         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
535         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
536
537 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
538
539         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
540         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
541
542 2002-03-29  Juergen Vigna  <jug@sad.it>
543
544         * lyxfunc.C (dispatch): add a missing fitCursor call.
545
546         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
547         it was scrolled by a cursor move, so return the bool status.
548
549         * BufferView.C (fitCursor): return the bool flag also to the outside
550         world as this is needed.
551
552         * screen.C (toggleToggle): don't subtract the offset if it's positive.
553
554         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
555         call the edit() as it is not needed (and wrong) IMO.
556         (workAreaButtonPress): set the screen_first variable before evt.
557         unlock the inset as this may change screen_first and then we have
558         a wrong y position for the click!
559
560 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
561
562         * MenuBackend.C (expand): another translation that I missed
563
564 2002-03-28  Juergen Vigna  <jug@sad.it>
565
566         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
567
568         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
569
570 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
571
572         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
573
574         * MenuBackend.C (expand): fix export/view/update when there is no
575         document open.
576
577 2002-03-27  Herbert Voss  <voss@lyx.org>
578
579         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
580         and text%
581
582 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
583
584         * bufferview_funcs.C (currentState): only show paragraph number
585         for is DEVEL_VERSION is set.
586
587         * lyxfunc.C (dispatch): put warning in INFO channel
588
589         * MenuBackend.C (expand): translate the name of floats
590
591         * FloatList.C (FloatList): mark the float names for translation
592
593         * converter.C (convert): use LibScriptSearch
594
595 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
596
597         * MenuBackend.C (defaults): fix default menu (we might as well get
598         rid of it...)
599
600 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
601
602         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
603         directory.
604
605 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
606
607         * lyxvc.C: reorder includes.
608
609 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
610
611         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
612           properly
613
614 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
615
616         * CutAndPaste.C: change layouts earlier on paste
617           to avoid crashing when calling getFont()
618
619 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
620
621         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
622         irritating #error.
623
624 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
625
626         * WorkArea.C: remove 'Pending' debug message.
627
628         * most files: ws cleanup
629
630         * buffer.[Ch]: ws changes
631
632         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
633
634 2002-03-21  Juergen Vigna  <jug@sad.it>
635
636         * tabular.C (SetMultiColumn): collapse also the contents of the
637         cells and set the last border right. Added a Buffer const * param.
638
639 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
640
641         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
642         linking or not.
643
644 2002-03-19  Juergen Vigna  <jug@sad.it>
645
646         * text2.C (clearSelection): reset also xsel_cache.
647
648         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
649         where it needs to be called (John tells us to do so too :)
650         (selectionLost): reset sel_cache.
651
652         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
653
654 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
655
656         * text2.C (setCursorIntern): put debuging code in INSETS channel
657
658 2002-03-19  André Pönitz <poenitz@gmx.net>
659
660         * lyxfunc.C: tiny whitespace change
661
662 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
663
664         * ToolbarDefaults.C (init):
665         * LyXAction.C (init):
666         * commandtags.h:
667         * BufferView_pimpl.C (Dispatch):
668         * lyxfunc.C (dispatch): remove LFUN_DEPTH
669
670 2002-03-19  Allan Rae  <rae@lyx.org>
671
672         * exporter.C (Export): removeAutoInsets before doing anything else.
673         While I've just introduced a dependency on BufferView this really is
674         the best place to clean the buffer otherwise you need to cleanup in
675         a dozen places before calling export or cleanup in a dozen functions
676         that export calls.
677
678         * converter.C (runLaTeX):
679         (scanLog): Better handling of removeAutoInsets and screen updates.
680
681         * lyxfunc.C (dispatch): small whitespace changes
682
683 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
684
685         * WorkArea.C (C_WorkAreaEvent): return a value.
686         (event_cb): return 1 if we handled the event, 0 otherwise.
687
688         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
689
690 2002-03-18  Juergen Vigna  <jug@sad.it>
691
692         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
693         (GetAdditionalWidth): ditto.
694         (RightLine): ditto.
695         (LeftLine): ditto.
696
697         * BufferView2.C (copy): use getLyXText() so that we do it inside an
698         inset if we're there actually (probably not used right now but this
699         is the direction to go for unifying code).
700         (paste): disable code to clear the selection.
701
702         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
703         inside an InsetText and move the check further up as it is in the
704         wrong place.
705
706         * text2.C (pasteSelection): set a selection over the pasted text.
707
708 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
709
710         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
711         and libgraphics to build on Cygwin.
712
713 2002-03-15  Juergen Vigna  <jug@sad.it>
714
715         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
716         inserting an Inset into the paragraph. I know this is not the best
717         fix but we already use current_view in CutAndPaste so we will remove
718         all of it's using at the same time.
719
720         * buffer.C (sgmlError): deactivated function till it is rewritten in
721         the right mode, now it can create problems.
722
723         * paragraph.C (isLineSeparator): check if getInset returns != 0,
724         before accessing it.
725
726 2002-03-14  Juergen Vigna  <jug@sad.it>
727
728         * undo_funcs.C (textHandleUndo): do the right thing when updating
729         the inset after the undo/redo.
730
731         * text2.C (setCursor): just some testcode for #44 not ready yet.
732
733         * undo_funcs.C (textHandleUndo): set the next() and previous()
734         pointers of the paragraph to 0 before deleting otherwise we have
735         problems with the Paragraph::[destructor].
736
737         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
738         on a paragraph insertion.
739
740 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
741
742         * buffer.C (asciiParagraph): use += operator for char append to
743         string.
744
745         * paragraph.C (getFontSettings): compare >= not just >
746         (highestFontInRange): ditto
747         (setFont): ditto
748
749 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
750
751         * paragraph.C: change several algorithm to be more appripriate for
752         the problem domain. This is lookip in FontList and in the InsetList.
753
754 2002-03-13  André Pönitz <poenitz@gmx.net>
755
756         * commandtags.h:
757         * LyXAction.C: remove unused LFUN_MATH_MACROARG
758
759 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
760
761         * commandtags.h:
762         * LyXAction.C:
763         * lyxfunc.C:
764         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
765
766 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
767
768         * Painter.C (display): anon helper function, adjust code for this
769         change.
770         (pixmap): remove function.
771
772         * Painter.h: remove private display variable.
773
774         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
775
776 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
777
778         * WorkArea.[Ch]: remove figinset_canvas cruft.
779
780 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
781
782         * lyxtextclass.C (operator): add one item cache optimization.
783
784         * bufferlist.h: doxy changes
785
786         * bufferlist.C: ws changes
787
788         * DepTable.[Ch] (ext_exist): place const in the right spot.
789
790         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
791         call resizeInsets.
792         (workAreaExpose): call resizeInsets when the with BufferView changes.
793         (Dispatch): adjust for protectedBlank removal
794         (specialChar): call updateInset if the insert went ok.
795
796         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
797         specialChar instead.
798
799         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
800
801         * BufferView.h: doxy change
802
803         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
804
805         * lyxtextclass.C (operator[]): remove non-const version
806         (defaultLayout): remove non-const version
807
808 2002-03-12  Juergen Vigna  <jug@sad.it>
809
810         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
811         did resize the LyXText too.
812
813         * buffer.C (readLyXformat2): set layout information on newly allocated
814         paragraphs.
815
816         * tabular.C (OldFormatRead): set layout information on the paragraph.
817
818 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
819
820         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
821
822 2002-03-11  Juergen Vigna  <jug@sad.it>
823
824         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
825         plainly wrong.
826         (resizeCurrentBuffer): force also the insets to resize themselfes.
827         (moveCursorUpdate): fixed up for InsetText.
828
829 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
830
831         * commandtags.h:
832         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
833         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
834         value of Dialogs::tooltipsEnabled().
835         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
836
837 2002-03-08  Juergen Vigna  <jug@sad.it>
838
839         * BufferView_pimpl.C (updateInset): update inset inside inset also
840         if it isn't inside theLockingInset().
841
842 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
843
844         * buffer.C (asciiParagraph): redo some of the word and line length
845         handling.
846         (getLists): look for Caption instead of caption.
847
848 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
849
850         * buffer.C (Buffer): initialize niceFile to true
851         (makeLaTeXFile):
852         (makeLinuxDocFile):
853         (makeDocBookFile): make sure niceFile is true on exit
854
855 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
856
857         * buffer.C (makeLaTeXFile): escape ~ in \input@path
858
859 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
860
861         * LyXSendto.C: remove.
862         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
863         * lyx_gui.C: remove now-redundant comment.
864         * ColorHandler.h: remove forward declaration of class WorkArea.
865         * lyxfunc.C: remove #include "WorkArea.h".
866
867 2002-03-07  Juergen Vigna  <jug@sad.it>
868
869         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
870         got moved away with the DEPM and also set the inset_owner always
871         right which before could have been omitted.
872
873 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
874
875         * buffer.C (parseSingleLyXformat2Token): use default layout is the
876         wanted layout is not found.
877
878 2002-03-07  Juergen Vigna  <jug@sad.it>
879
880         * CutAndPaste.C (cutSelection): another layout settings forgotten.
881
882 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
883
884         * paragraph.C (breakParagraph): use default layout not layout of
885         prev paragraph.
886         (Paragraph): clear ParagraphParameters.
887
888 2002-03-06  Juergen Vigna  <jug@sad.it>
889
890         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
891         otherwise it would not be a valid lenght. Fixed a special case in
892         the minipage compatibility read where we end the document with a
893         minipage.
894
895         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
896         was set as it could be 0 for InsetTexts first entry.
897
898 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
899
900         * paragraph.C (writeFile): if layout is empty write out
901         defaultLayoutName().
902
903         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
904         file without named layout we set layout to defaultLayoutName().
905
906 2002-03-06  Juergen Vigna  <jug@sad.it>
907
908         * CutAndPaste.C (copySelection): set layout for new paragraph.
909
910         * text.C (prepareToPrint): leave ERT inset left aligned
911         (leftMargin): don't indent paragraphs inside ERT insets
912
913 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
914
915         * paragraph.C (breakParagraph): dont call clear do the work manually
916
917         * paragraph.[Ch] (clear): remove function
918
919 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
920
921         * paragraph.C (Paragraph): dont call clear, the work has already
922         been done.
923
924         * lyxtextclass.C (operator): assert if n is empty
925
926         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
927         work manually instead.
928
929 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
930
931         * BufferView_pimpl.C: protect selectionLost against text == 0
932
933 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
934
935         * text.C (breakParagraph): fix a setting layout to '0' problem.
936
937 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
938
939         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
940         final location of file, for the included files, and graphics.
941
942 2002-03-05  Juergen Vigna  <jug@sad.it>
943
944         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
945
946 2002-03-04  Juergen Vigna  <jug@sad.it>
947
948         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
949
950         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
951         last column of multicolumn cells.
952         (SetWidthOfMulticolCell): recalculate NMC and real columns.
953
954 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
955
956         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
957         file if it doesn't go to a temporary file.
958
959         * buffer.C (sgmlOpenTag):
960         (sgmlCloseTag):  remove extra newline insertion.
961
962 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
963
964         * text.C (getRowNearY): comment out debug msg
965
966 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
967
968         * text2.C: first -> first_y
969
970         * text.C (getRowNearY): add some attemts at a possible
971         optimization, not working.
972
973         * tabular.[Ch]: add BufferParams to several function so that newly
974         created paragraph can be initialized to he default layotu for the
975         buffers textclass.
976
977         * tabular-old.C (ReadOld): add buf->params to call of Init
978
979         * screen.C: rename text->first to text->first_y
980
981         * paragraph.C (breakParagraph): always set layout in the broken
982         paragraph
983
984         * lyxtextclass.C (Read): remove lowercase
985         (hasLayout): ditto
986         (operator): ditto
987         (delete_layout): ditto
988
989         * lyxtext.h: rename first -> first_y
990
991         * lyxlayout.C (Read): remove lowercase
992         (name): ditto
993         (setName): ditto
994         (obsoleted_by): ditto
995
996         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
997
998         * buffer.C (insertErtContents): add params are to InsetERT
999         (parseSingleLyXformat2Token): add code to check if a paragraphs
1000         layout really exist.
1001         (parseSingleLyXformat2Token): add params to several inset
1002         constructors
1003         (asciiParagraph): remove lowercase, do the layout comparisons with
1004         no_case
1005
1006         * BufferView_pimpl.C (cursorNext): first -> first_y
1007         (resizeCurrentBuffer): first -> first_y
1008         (updateScrollbar): first -> first_y
1009         (scrollCB): first -> first_y
1010         (workAreaMotionNotify): first -> first_y
1011         (workAreaButtonPress): first -> first_y
1012         (checkInsetHit): first -> first_y
1013         (cursorPrevious): first -> first_y
1014         (cursorNext): first -> first_y
1015         (Dispatch): add buffer_->params to severl inset contructors
1016
1017 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1018
1019         * lyxlayout.C (Read): remove some debug info that I forgot.
1020
1021         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
1022         clean up the code slightly.
1023         (makeLinuxDocFile): ditto
1024         (makeDocBookFile): ditto
1025
1026         * text2.C: layout as string
1027
1028         * text.C: layout as string
1029
1030         * paragraph_pimpl.C: layout as string
1031
1032         * paragraph.[Ch]: layout as string
1033
1034         * lyxtextclasslist.[Ch]: layout as string
1035
1036         * lyxtextclass.[Ch]: layout as string
1037
1038         * lyxtext.h: layout as string
1039
1040         * lyxlayout.[Ch]: layout as string
1041
1042         * lyx_cb.C: layout as string
1043
1044         * bufferview_funcs.C: layout as string
1045
1046         * bufferparams.C: layout as string
1047
1048         * buffer.C: layout as string
1049
1050         * LyXView.[Ch]: layout as string
1051
1052         * LaTeXFeatures.[Ch]: layout as string
1053
1054         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
1055
1056         * BufferView_pimpl.C: change current_layout to string, remove
1057         lyx::layout_type.
1058         (Dispatch):
1059         (smartQuote):
1060         (insertInset):
1061         (workAreaButtonRelease): layout as string
1062
1063         * BufferView2.C (unlockInset): adjust
1064
1065         * vspace.C (asLatexCommand): use an explict temp variable.
1066
1067 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
1068
1069         * Makefile.am: use FRONTEND_*
1070
1071 2002-03-01  Juergen Vigna  <jug@sad.it>
1072
1073         * tabular.C (SetWidthOfMulticolCell): changed to something better
1074         I hope but still work in progress.
1075         (recalculateMulticolumnsOfColumn): renamed function from
1076         recalculateMulticolCells as it is more appropriate now.
1077         (SetWidthOfCell): calculate multicols better.
1078
1079 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1080
1081         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
1082
1083         * lyxfunc.C (processKeySym): print sequence also if it is
1084         `deleted' (complete)
1085
1086         * kbsequence.C (print): print sequence even if it is deleted
1087         (complete would be a better word, actually).
1088
1089         * lyxfunc.C (dispatch): print complete options after a prefix key
1090
1091         * vspace.C (asLatexCommand): rewrite in a slightly different form.
1092
1093 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
1094
1095         * text2.C (setCharFont): eliminate setCharFont code duplication.
1096
1097 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1098
1099         * BufferView_pimpl.C (Dispatch): remove bogus handling of
1100         LFUN_TABULAR_FEATURE (bug #177)
1101
1102 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
1103
1104         * Makefile.am: remove figure.h
1105
1106 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
1107
1108         * Bufferview_pimpl.C:
1109         * CutAndPasteC:
1110         * LaTeX.C:
1111         * LyXSendto.C:
1112         * buffer.C:
1113         * bufferlist.C:
1114         * converter.C:
1115         * language.C:
1116         * lyxfunc.C:
1117         * lyxvc.C:
1118         * paragraph.C:
1119         * text.C:
1120         * text2.C: remove #include "lyx_gui_misc.h".
1121
1122         * LaTeX.C: added #include <cstdio>
1123
1124 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1125
1126         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
1127         that the paragraph following this one can have.
1128
1129         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
1130
1131         * vspace.C (asLatexCommand): fix bogus gcc warning
1132
1133         * Makefile.am (lyx_SOURCES): remove vms_defines.h
1134
1135 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
1136
1137         * text2.C (setLayout): get rid of redundant code
1138
1139 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
1140
1141         * text2.C (incDepth): make sure depth cannot be increased beyond
1142         reasonable values.
1143
1144 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
1145
1146         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
1147         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
1148
1149         * PainterBase.h (image):
1150         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
1151         a LyXImage const *.
1152
1153 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
1154
1155         * BufferView.C:
1156         * BufferView.h:
1157         * BufferView_pimpl.C:
1158         * BufferView_pimpl.h:
1159         * LaTeXFeatures.C:
1160         * LyXAction.C:
1161         * LyXView.C:
1162         * Makefile.am:
1163         * UpdateList.h:
1164         * UpdateList.C:
1165         * buffer.C:
1166         * figure.h:
1167         * figureForm.C:
1168         * figureForm.h:
1169         * figure_form.C:
1170         * figure_form.h:
1171         * lyx_cb.C:
1172         * lyx_gui.C:
1173         * lyx_gui_misc.C:
1174         * lyxfunc.C:
1175         * sp_base.h:
1176         * sp_ispell.h:
1177         * sp_pspell.h:
1178         * sp_spell.C: remove fig inset, and the crap house of
1179           cards that follows it
1180
1181 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
1182
1183         * Makefile.am:
1184         * lyxserver.C:
1185         * os2_defines.h:
1186         * os2_errortable.h:
1187         * nt_defines.h: move .h into support/
1188
1189         * vms_defines.h: remove
1190
1191         * WorkArea.C: add space in debug output
1192
1193         * text2.C:
1194         * paragraph.C:
1195         * buffer.C: add WITH_WARNINGS
1196
1197         * vc-backend.h:
1198         * vc-backend.C:
1199         * bufferlist.C: s/retrive/retrieve/, add docs
1200
1201         * vspace.h:
1202         * vspace.C:
1203         * kbmap.h:
1204         * lyxlength.h:
1205         * lyxgluelength.h:
1206         * length_common.h:
1207         * chset.h:
1208         * chset.C: add docs
1209
1210         * lyxgui.C: add ID to X error handler
1211
1212         * lyxtestclass.c: fix typo
1213
1214 2002-02-26  Juergen Vigna  <jug@sad.it>
1215
1216         * tabular_funcs.C (write_attribute): changed so that some default
1217         attributes are not written at all.
1218         (getTokenValue): set default values before trying to read the
1219         value so we have the return value always set as default if we don't
1220         find the token we search for.
1221
1222         * tabular.C (Write): write bools as bools not as strings!
1223
1224 2002-02-22  Juergen Vigna  <jug@sad.it>
1225
1226         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
1227         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
1228
1229         * text.C (leftMargin): don't add an indent for paragraphs inside
1230         tabular cells (fix #208).
1231
1232 2002-02-21  José Matos  <jamatos@fep.up.pt>
1233
1234         * tabular.C (docBook): fixed support for long tables.
1235
1236 2002-02-20  Juergen Vigna  <jug@sad.it>
1237
1238         * text2.C (getFont): get the drawing font of the Inset if this
1239         paragraph is inside an inset (only important for InsetERT for now).
1240
1241         * buffer.C (insertErtContents): use new lanugage params in ERT
1242         constructor.
1243
1244         * CutAndPaste.C: commenting out seemingly uneeded code.
1245
1246 2002-02-19  Allan Rae  <rae@lyx.org>
1247
1248         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
1249         Iterators might be simple to use but they also get invalidated.
1250         (removeAutoInsets): renamed saved cursor tracking variables and added
1251         some comments to clarify what everything does.
1252
1253 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
1254
1255         * Chktex.C:
1256         * LaTeX.C:
1257         * LyXSendto.C:
1258         * converter.C:
1259         * lyx_cb.C:
1260         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
1261         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
1262
1263         * lyxfunc.C:
1264         * vc-backend.h: remove #include "support/syscall.h"
1265
1266         * LaTeX.C:
1267         * LyXSendto.C:
1268         * converter.C: rearrange #includes in Lars' approved fashion.
1269
1270         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
1271         forward declare class Timeout in the header file.
1272
1273         * XFormsView.C: changes due to the above.
1274
1275         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
1276         similar to LyXView.
1277
1278         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
1279         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
1280
1281 2002-02-18  José Matos  <jamatos@fep.up.pt>
1282
1283         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
1284         insets contents.
1285
1286 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
1287
1288         * a lot of small ws changes
1289         * add a lot of using std::XXX
1290         * use std construcs some places where approp.
1291         * use some exisint stuff from lyxfunctional where approp.
1292         * Make file changes to use partial linking (lets test this now...)
1293
1294 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
1295
1296         * Chktex.C:
1297         * buffer.C:
1298         remove #include "support/syscontr.h" as it's redundant. Always has been.
1299
1300         * Chktex.C:
1301         * LaTeX.C:
1302         * LyXSendto.C:
1303         * converter.C:
1304         * lyx_cb.C:
1305         * vc-backend.C:
1306         change Systemcalls::System to Systemcalls::Wait and
1307         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
1308         No change of functionality, just reflects the stripped down Systemcalls
1309         class.
1310
1311 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
1312
1313         * debug.[Ch]: add a GRAPHICS type to the enum.
1314
1315 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1316
1317         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
1318
1319         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
1320         there is an inset.
1321
1322 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1323
1324         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
1325         match the changes below.
1326
1327         * text2.C (toggleInset): if there is not editable inset at cursor
1328         position, try to see if cursor is _inside_ a collapsable inset
1329         and close it.
1330
1331 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1332
1333         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
1334         document menu has a nice checkbox
1335
1336 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1337
1338         * lyxlength.C (asLatexString): change PW to output as percent of
1339         \textwidth.
1340
1341         * lengthcommon.C: change '%' to 't%'
1342
1343         * lyxfunc.C (dispatch): a few comments from Martin
1344
1345 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
1346
1347         * WorkArea.h:
1348         * WorkArea.C:
1349         * BufferView_pimpl.h:
1350         * BufferView_pimpl.C: clear our selection when X tells us we've lost
1351           the X selection.
1352
1353 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1354
1355         * vspace.C (inPixels): fix compiler warning
1356
1357 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1358
1359         * lyxfunc.C (getStatus): fix status message for disabled commands.
1360
1361 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
1362
1363         * BufferView_pimpl.C: fix crash on close buffer
1364         during selection (#227)
1365
1366 2002-01-27  Herbert Voss  <voss@lyx.org>
1367
1368         * buffer.C: link old Figure to new graphic inset
1369
1370 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
1371
1372         * FontLoader.C (getFontinfo): Change the latex font names in order
1373         to match the names of type1inst.
1374
1375 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1376
1377         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
1378
1379         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
1380         (extchanged): ditto
1381         (ext_exist): ditto
1382         (remove_files_with_extension): ditto
1383         (remove_file): ditto
1384         (write): ditto
1385
1386         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
1387         document is smaller than the work area height. Do not initialize
1388         static variables to 0.
1389
1390 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1391
1392         * lyx_gui.C (init): give the toolbar tooltips a normal font.
1393
1394         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
1395         LFUN_LAYOUT_PARAGRAPHS.
1396
1397         * tabular.C (GetCellFromInset): new method. Finds an inset in a
1398         tabular. It is possible to provide a possible cell, which will
1399         typically be the actcell from the corresponding insettabular
1400
1401         * lyxfunc.C (getStatus): small cleanup; disable
1402         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
1403         true
1404
1405 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1406
1407         * tabular.C (Validate): remove broken optimization (fixes bug #201)
1408
1409         * paragraph.C (startTeXParParams):
1410         (endTeXParParams): new methods. The LaTeX code to
1411         start/end paragraph formatting
1412         (simpleTeXOnePar): call startTeXParParams also when paragraph is
1413         empty (fixes bug #200)
1414
1415         * vspace.C (inPixels): adapt to the change below
1416         (inPixels): [later] more cleanups (remove unused variables)
1417
1418         * lyxlength.C (inPixels): change to use a width and a height as
1419         parameter.
1420
1421 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1422
1423         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
1424         Replaced with \paperwidth
1425
1426         * DepTable.C (insert): add std:: qualifier
1427
1428 2002-01-18  Allan Rae  <rae@lyx.org>
1429
1430         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
1431         updated also?
1432
1433         * text.C (drawInset): Turned out I didn't know enough about how
1434         rebreaking worked.  This fixes most of the redraw problems.  I see
1435         an occasional cursor trail when a line is broken now and the cursor
1436         placement can seem out by a few pixels also after a rebreak.
1437
1438 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1439
1440         * buffer.C (parseSingleLyXformat2Token): update because minipage
1441         width is now a LyXLength
1442
1443         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
1444
1445         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
1446         math insets
1447
1448 2002-01-17  Juergen Vigna  <jug@sad.it>
1449
1450         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
1451
1452         * BufferView2.C (lockInset): call edit() so that theLockingInset()
1453         is set correctly and the inset is updated correctly.
1454
1455 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1456
1457         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
1458         the beginning of the loop.
1459
1460 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
1461
1462         * lyxrc.C: improve help for use_scalable_fonts
1463
1464 2002-01-17  Allan Rae  <rae@lyx.org>
1465
1466         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
1467
1468 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1469
1470         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
1471         make sure to set their inset_owner to the right value (bug #171)
1472
1473 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
1474
1475         * DepTable.h
1476         * DepTable.C: Implement mtime checking to reduce time spent doing
1477         CRCs.
1478
1479 2002-01-16  Juergen Vigna  <jug@sad.it>
1480
1481         * tabular.C (GetAdditionalHeight): one of error fixed.
1482
1483         * lyxrc.C (output): small fix in writing use_pspell.
1484
1485 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
1486
1487         * sp_base.h: #include LString.h
1488
1489 2002-01-16  Allan Rae  <rae@lyx.org>
1490
1491         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
1492         Can someone check this please?
1493
1494         * text.C (drawInset): It was possible that p.row would be removed by
1495         breakAgainOneRow upsetting a few other settings.  There may be another
1496         small tweak possible by setting need_break_row = 0 when p.row has been
1497         removed but I don't know enough about the logic here.
1498
1499 2002-01-15  Allan Rae  <rae@lyx.org>
1500
1501         * text.C (insertChar): removed conditional truism.
1502
1503         * BufferView2.C (removeAutoInsets): More tweaks.
1504         cur_par_prev could be a stray pointer.  Check for trailing empty line
1505         in case last line was cur_par and only had an error inset on it.
1506
1507 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1508
1509         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
1510         absolute
1511
1512         * vc-backend.C (most methods):
1513         * exporter.C (Export):
1514         * converter.C (convert):
1515         (runLaTeX):
1516         * LyXSendto.C (SendtoApplyCB):
1517         * lyxfunc.C (dispatch):
1518         (menuNew):
1519         (open):
1520         (doImport):
1521         * lyx_cb.C (AutoSave):
1522         (InsertAsciiFile):
1523         * BufferView_pimpl.C (MenuInsertLyXFile):
1524         * buffer.C (runChktex): use Buffer::filePath().
1525
1526         * buffer.h: rename filename to filename_; rename filepath to
1527         filepath_ and make it private
1528         (filePath): new method
1529
1530         * buffer.C (writeFile): use fileName()
1531         (getLatexName):
1532
1533         * lyx_main.C (init): fix starting  of LyX when the binary is a
1534         link from so,ewhere else.
1535
1536         * minibuffer.C: include <cctype> for isprint
1537
1538 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
1539
1540         * buffer.C (parseSingleLyXformat2Token): changes associated with the
1541         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
1542         name clash with InsetCollapsable's width function.
1543
1544 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1545
1546         * lastfiles.C: include <iterator>
1547
1548 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
1549
1550         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
1551         std::count.
1552
1553         * buffer.C (makeLaTeXFile): ditto.
1554         Also make loop operation more transparent.
1555
1556 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
1557
1558         * ToolbarDefaults.C: remove trailing comma closing namespace.
1559
1560         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
1561
1562         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
1563         as in WorkArea.
1564
1565         * trans.C (Load): comment out unused variable, allowed.
1566
1567 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
1568
1569         * minibuffer.[Ch] (append_char): new method to recieve input from the
1570         drop-down completion browser. If a key was pressed, then recieve this
1571         char and append it to the existing string.
1572         (peek_event): modify the positioning data passed to the completion
1573         browser so that it can be placed above the minibuffer rather than below.
1574 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1575
1576         * LyXAction.C (init): alloe error-next for readonly documents.
1577
1578         * BufferView2.C (ChangeRefsIfUnique): use standard version of
1579         count.
1580
1581 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1582
1583         * bufferlist.C (readFile): create the buffer _after_ checking that
1584         the file exists.
1585
1586         * lyxfunc.C (verboseDispatch): fix handling of arguments
1587
1588         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
1589
1590         * lyxrc.C: use string::erase() instead of initializing to "".
1591
1592
1593 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
1594
1595         * BufferView_pimpl.h:
1596         * BufferView_pimpl.C:
1597         * WorkArea.h:
1598         * WorkArea.C:
1599         * text2.C: tell X when we have made a selection for copying
1600
1601 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1602
1603         * BufferView_pimpl.C (MenuInsertLyXFile):
1604         * lyxfunc.C (menuNew):
1605         (open):
1606         (doImport): add shortcuts to directory buttons
1607
1608         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
1609         open a float)
1610
1611         * lyxfunc.C (setStatusMessage):
1612         (getStatusMessage): new methods
1613         (getStatus):use setStatusMessage instead of setErrorMessage
1614         (dispatch): when function is disabled, set error message here
1615         [instead of in getStatus previously]
1616
1617         * BufferView_pimpl.C (workAreaButtonRelease): update
1618         toolbar/menubar here too.
1619
1620 2002-01-13  Allan Rae  <rae@lyx.org>
1621
1622         * BufferView2.C (removeAutoInsets): finished off earlier fix.
1623         Now seems indestructible.  Remaining task is to audit all other
1624         code affected by deleteEmptyParagraphMechanism.  One small quirk
1625         left is that an empty document with an error in the preamble can
1626         be made to report an error but no error box appears.  I don't know
1627         where it goes.
1628         (removeAutoInsets): Improved comments.
1629
1630 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
1631
1632         * Thesaurus.h:
1633         * Thesaurus.C: update for Aiksaurus 0.14
1634
1635 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1636
1637         * text2.C (firstParagraph): removed member function, all uses
1638         replaces with ownerParagraph
1639         (redoParagraphs): here
1640         (updateInset): here
1641         (toggleAppendix): here
1642         * BufferView2.C (insertErrors): here
1643         (setCursorFromRow): here
1644
1645 2002-01-13  Allan Rae  <rae@lyx.org>
1646
1647         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
1648         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
1649         There is still a way to segfault this although you may have to do this
1650         multiple times: Have an InsetERT with an unknown command in it.
1651         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
1652         <down-arrow>, <Enter> again, View->DVI, BANG!
1653
1654         * text2.C (setCursor):
1655         (deleteEmptyParagraphMechanism):
1656         * lyxtext.h (setCursor):
1657         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
1658         Making use of the return value may help fix other bugs.
1659
1660 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1661
1662         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
1663
1664         * LyXView.C (updateMenubar): call MenuBar::update here
1665         (updateToolbar): but not here
1666         (showState): do not update toolbar/menubar
1667
1668         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
1669         should need to care about that.
1670
1671         * lyxfunc.C (verboseDispatch): simplify a bit
1672         (getStatus): have a version which takes a pseudoaction, and
1673         another which requires a (kb_action,string).
1674
1675         * LyXAction.C (retrieveActionArg): make it work also when action
1676         is not a pseudo-action.
1677         (getActionName): simplify a bit
1678         (helpText):
1679
1680 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1681
1682         * lyxfunc.C (verboseDispatch): new families of methods with
1683         several ways to specify a command and a bool to indicate whether
1684         the command name and shortcut should be displayed in minibuffer
1685         (eventually, we could extend that to a finer bitmask like
1686         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
1687         (dispatch): the pristine dispatch command which just, well,
1688         dispatchs! Note it still sets its result to minibuffer; I'm not
1689         sure we want that.
1690
1691         * lyxfunc.h: remove setHintMessage
1692
1693         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
1694
1695 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1696
1697         * BufferView_pimpl.C (specialChar): delete new inset if we have
1698         not been able to insert it.
1699
1700         * kbmap.C: revert to using int instead of kb_action, since all we
1701         are dealing with is pseudo-actions.
1702
1703         * LyXAction.C (searchActionArg): change to return int instead of
1704         kb_action, since the result is a pseudoaction.
1705
1706 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
1707
1708         * buffer.C (insertErtContents): Fix (partially) the font bug.
1709
1710 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
1711
1712         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
1713         as the other one is broken on my machine!
1714
1715 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
1716
1717         * commandtags.h:
1718         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
1719
1720 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
1721
1722         * lyxrc.[Ch]: change names and descriptions of popup font variables to
1723         reflect their actual use. Provide compatibility code for older lyxrc
1724         files.
1725
1726         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
1727         FL_NORMAL_STYLE.
1728         change names of popup font variables in line with the changes to lyxrc.C
1729
1730 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1731
1732         * buffer.C (asciiParagraph): avoid outputing a word twice after
1733         an inset.
1734
1735         * lyxrc.C (getDescription): document that document_path and
1736         template_path can be empty.
1737
1738 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1739
1740         * LaTeXFeatures.C (getMacros):
1741         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
1742
1743         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
1744
1745         * LaTeXFeatures.C (useFloat): require "float" here instead of in
1746         getPackages.
1747         (getPackages): rename feature "floats" to "float". Use an array to
1748         iterate over 'simple' features (i.e. just a \usepackage). Add
1749         handling of "amsmath" (renamed from "amsstyle").
1750
1751 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
1752
1753         * LaTeXFeatures.C (require): Prevent duplicate entries in the
1754         features list.
1755
1756 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
1757
1758         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
1759         FuncStaus::FuncStatus & FuncStaus::some_method().
1760
1761 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
1762
1763         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
1764         of the func_satus stuff. Edited and massaged in various ways by
1765         JMarc.
1766
1767         * lyxfunc.C (getStatus): use FuncStatus
1768
1769 2002-01-08  Juergen Vigna  <jug@sad.it>
1770
1771         * text.C (nextBreakPoint): use function Inset::isChar().
1772
1773         * paragraph.C (TeXOnePar): use function
1774         Inset::forceDefaultParagraphs.
1775
1776         * buffer.C (latexParagraphs): use function
1777         Inset::forceDefaultParagraphs.
1778
1779 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
1780
1781         * lyx_gui.C (init): set the style of the menu popups to
1782         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
1783
1784 2002-01-07  Juergen Vigna  <jug@sad.it>
1785
1786         * text.C (setHeightOfRow): small fix
1787         (prepareToPrint): don't look at alignment if we don't have the place
1788         for doing it.
1789
1790 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
1791
1792         * box.C: New file. Move the Box methods and functions out of box.h,
1793         following Lars' suggestion.
1794
1795 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
1796
1797         * box.h: #include "support/LOstream.h", needed for inlined function.
1798
1799         * lyxtextclass.C:
1800         * lyxtextclasslist.C: added some using std declarations.
1801
1802 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
1803
1804         * box.h: make signed dimensions to allow insets wider than
1805           the screen (bug #162)
1806
1807         * BufferView_pimpl.C: add some insetHit debug
1808
1809 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
1810
1811         * vc-backend.C: add FIXME
1812
1813 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1814
1815         * lyxfunc.C (getStatus): enable code for showing math font status
1816         in toolbar/menu.
1817
1818 2002-01-07  Juergen Vigna  <jug@sad.it>
1819
1820         * text.C (nextBreakPoint): removed debug output not needed anymore.
1821
1822 2002-01-06  Juergen Vigna  <jug@sad.it>
1823
1824         * text.C (nextBreakPoint): fixed up this function we had this bug
1825         since ever but now hopefully we break row better.
1826         (insertChar): we have to check if an inset is the next char as it
1827         could now happen that a large inset is causing a break.
1828
1829 2002-01-05  Juergen Vigna  <jug@sad.it>
1830
1831         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
1832         if it doesn't like to be drawed.
1833
1834 2002-01-04  Juergen Vigna  <jug@sad.it>
1835
1836         * BufferView2.C (lockInset): forgot to set a cursor.
1837
1838         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
1839
1840 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
1841
1842         * FormMathsPanel.C:
1843         * FormMathsPanel.h
1844         * MathsSymbols.C:
1845         * form_maths_panel.C:
1846         * form_maths_panel.h:
1847         * form_maths_panel.fd: implemented sub- and super- buttons in math
1848         panel.
1849
1850         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
1851         (or ^ space) to be used as in TeX (req'd by André).
1852
1853         * lyxfunc.C: Allow ^ and _ again to be used both as
1854         super/subscript (mathed) and as themselves (in text).
1855
1856 2002-01-03  Allan Rae  <rae@lyx.org>
1857
1858         * LyXView.C (updateWindowTitle): Setup a short icon title of either
1859         "LyX" or the filename of the current buffer if it has one.  This is a
1860         modified form of John Levon's patch.
1861
1862         * XFormsView.C (setWindowTitle): also set icon title.
1863
1864         * LyXView.h (setWindowTitle): signature changed.
1865         * XFormsView.h (setWindowTitle): ditto.
1866
1867 2002-01-02  Juergen Vigna  <jug@sad.it>
1868
1869         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
1870
1871 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1872
1873         * screen.C (topCursorVisible): introduce a temp var for
1874         text->cursor.row(), handle the case where this row is null. (kindo
1875         hachish)
1876
1877         * text2.C (setCursor): add a couple of asserts.
1878
1879         * paragraph.h (inset_iterator): add -> operator
1880
1881         * paragraph.[Ch] (autoDeleteInsets): remove member function
1882
1883         * BufferView2.C (removeAutoInsets): rewrite to handle the old
1884         cursor pos correctly and handle inset deletion by itself.
1885         (insertErrors): move iterator declaration out of for expression
1886
1887         * lyxtextclass.C: add <algorithm>
1888
1889         * Makefile.am: added the new files to sources, removed layout.C
1890
1891         * layout.C: removed file
1892
1893         * layout.h: remove LYX_DUMMY_LAYOUT
1894
1895         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
1896         layout.
1897
1898         * lyxlayout.[Ch]:
1899         * lyxtextclass.[Ch]:
1900         * lyxtextclasslist.[Ch]: new files
1901
1902         * include order changes to a lot of files, also changes because of
1903         the six new files.
1904
1905 2001-12-27  Juergen Vigna  <jug@sad.it>
1906
1907         * buffer.C (asciiParagraph): more fixes.
1908
1909         * tabular.C (ascii): make ascii export support export of only the
1910         data separated by a column-delimiter.
1911         (ascii): better support for ascii export.
1912
1913         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
1914
1915 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1916
1917         * tabular_funcs.C: use a "using std::getline" instead of the
1918         previous fix from Angus (necessary for cxx + lyxstring)
1919
1920 2001-12-24  Juergen Vigna  <jug@sad.it>
1921
1922         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
1923
1924         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
1925         problems. First check a minipage also if we have some ert-contents
1926         (not only on par->size(), second set the right depth of the paragraph
1927         on the relink to the root-paragraph-list!
1928
1929         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
1930         which then did not anymore update the main paragraphs on undo/redo!
1931
1932 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1933
1934         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
1935         code. Support all font-changing funcs (even those which are not in
1936         menu currently). Support for reporting font settings in
1937         mathed (disabled until Andre provides a function on mathed's side).
1938
1939         * func_status.h (toggle): small helper function to set toggle
1940         state on a flag.
1941
1942 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
1943
1944         * tabular_funcs.C: getline -> std::getline
1945
1946 2001-12-21  Juergen Vigna  <jug@sad.it>
1947
1948         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
1949         accessed and could be 0 (I couldn't generate this but it seems
1950         Michael could!).
1951
1952 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1953
1954         * tabular_funcs.C: add LIstream.h, move write_attribute to..
1955         * tabular_funcs.h: here and include iosfwd
1956
1957 2001-12-20  Juergen Vigna  <jug@sad.it>
1958
1959         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
1960         inside inset but undo_par was.
1961
1962 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1963
1964         * Thesaurus.C: always include <config.h> in sources.
1965
1966         * Painter.h:
1967         * lyxlookup.h:
1968         * box.h: do not include <config.h> in header files
1969
1970         * text.C (paintLastRow): remove unused variable
1971
1972         * text.C (transformChar):
1973         (insertChar):
1974         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
1975
1976         * Painter.C (text):
1977         * font.C (width): rewrite to use uppercase() instead of
1978         islower/toupper.
1979
1980         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
1981
1982 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
1983
1984         * lyxfind.C: clean up of find failure position change
1985
1986 2001-12-20  Juergen Vigna  <jug@sad.it>
1987
1988         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
1989
1990         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
1991         (TeXRow): added to LaTeX a single tabular row.
1992         (TeXLongtableHeaderFooter): added to output LT-h/f data.
1993         (Latex): simplified and finally good LT-h/f support.
1994         (various_functions): just small adaptions for LT-h/f support.
1995
1996         * tabular_funcs.[hC]: added and moved here all not classfunctions
1997         of LyXTabular.
1998
1999 2001-12-19  Juergen Vigna  <jug@sad.it>
2000
2001         * tabular.[Ch]: better support for longtabular options (not finished
2002         yet!)
2003
2004 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2005
2006         * text.C (paintLastRow): use the label font instead of the font of
2007         the last character to compute the size of *_BOX. This makes more
2008         sense and avoids a crash with empty paragraphs.
2009         Use Painter::rectangle to draw EMPTY_BOX.
2010
2011 2001-12-19  Juergen Vigna  <jug@sad.it>
2012
2013         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
2014         the paragraphs if the replaced paragraph is not the first one!
2015         Tried to delete not used paragraphs but does not work yet so for
2016         now it's inside #ifdef's and by default off!
2017
2018 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2019
2020         * MenuBackend.C: include "lyx_main.h" instead of declaring
2021         lastfiles (actually was declared as LastFiles* instead of a
2022         scoped_ptr).
2023
2024 2001-12-17  Juergen Vigna  <jug@sad.it>
2025
2026         * tabular.C (AppendColumn): applied John's fix
2027
2028 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
2029
2030         * BufferView.h:
2031         * BufferView.C:
2032         * BufferView_pimpl.h:
2033         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
2034
2035         * Makefile.am:
2036         * box.h: new start of class for above
2037
2038         * lyxfunc.C: ignore space-only minibuffer dispatches.
2039           Show the command name when it doesn't exist
2040
2041         * minibuffer.C: don't add empty lines to the history
2042
2043         * minibuffer.C: add a space on dropdown completion
2044
2045 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
2046
2047         * text.C: fix line above/below drawing in insets
2048
2049 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2050
2051         * lyxlength.C (LyXLength): Initialize private variables.
2052
2053 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
2054
2055         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
2056         when inserting error insets.
2057
2058 2001-12-13  Juergen Vigna  <jug@sad.it>
2059
2060         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
2061         actually sometimes the before-paragraph.
2062         (setUndo): don't clear the redostack if we're not actually undoing!
2063
2064 2001-12-06  Juergen Vigna  <jug@sad.it>
2065
2066         * undo_funcs.C (textHandleUndo): well after John's hint I got here
2067         and fixed redoing of main paragraph, so we can use it now ;)
2068
2069         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
2070
2071 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2072
2073         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
2074         Juergen's request
2075
2076 2001-12-13  André Pönitz <poenitz@gmx.net>
2077
2078         * undostack.[Ch]:
2079         * undo_func.C: minor cleanup
2080
2081 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2082
2083         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
2084         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
2085         font in urw-fonts package which is marked as -urw-fontspecific and
2086         does not work (incidentally, changing the encoding in the
2087         fonts.dir of this package to -adobe-fontspecific fixes the
2088         problem).
2089
2090         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
2091         is a crash when undoing first paragraph (Juergen, please take a
2092         look). THis does not mean the undo fix is wrong, just that it
2093         uncovers problems.
2094
2095         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
2096         the (Paragraph*) version when needed instead of duplicating the
2097         code.
2098
2099         * text.C (workWidth): use Inset::parOwner to find out where the
2100         inset has been inserted. This is a huge performance gain for large
2101         documents with lots of insets. If Inset::parOwner is not set, fall
2102         back on the brute force method
2103
2104         * paragraph_pimpl.C (insertInset):
2105         * paragraph.C (Paragraph):
2106         (cutIntoMinibuffer): set parOwner of insets when
2107         inserting/removing them
2108
2109         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
2110
2111 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
2112
2113         * commandtags.h:
2114         * LyXAction.C:
2115         * lyx_main.C:
2116         * lyxfunc.C:
2117         * mathed/formulabase.C:
2118         * mathed/math_cursor.[Ch]:
2119         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
2120
2121
2122 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2123
2124         * lyxlength.[Ch] (operator!=): new function
2125
2126 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2127
2128         * text.C (workWidth): use Inset::parOwner to find out where the
2129         inset has been inserted. This is a huge performance gain for large
2130         documents with lots of insets. If Inset::parOwner is not set, fall
2131         back on the brute force method
2132
2133         * paragraph_pimpl.C (insertInset):
2134         * paragraph.C (Paragraph):
2135         (cutIntoMinibuffer): set parOwner of insets when
2136         inserting/removing them
2137
2138         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
2139
2140 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2141
2142         * tabular-old.C (getTokenValue):
2143         * tabular.C (getTokenValue):
2144         (write_attribute): new versions for LyXLength
2145         (everywhere): adjust the use of widths
2146
2147         * tabular.h: change the type of widths from string to LyXLength
2148
2149 2001-12-11  Ben Stanley <bds02@uow.edu.au>
2150
2151         * paragraph.C: fixed missing line number count when exporting
2152         Environments to LaTeX file
2153
2154         * buffer.C: added informational message for checking line numbers.
2155
2156 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2157
2158         * text2.C (deleteEmptyParagraphMechanism): if there is only one
2159         paragraph, do the 'double space' part, but not the 'empty
2160         paragraph' one.
2161
2162         * text.C (workWidth): small optimization
2163         (getLengthMarkerHeight): use minimal size for negative lengths.
2164
2165 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
2166
2167         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
2168
2169         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
2170
2171 2001-12-11  André Pönitz <poenitz@gmx.net>
2172
2173         * FontLoader.C:
2174         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
2175
2176 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
2177
2178         * text2.C: keep selection on a setFont()
2179
2180 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
2181
2182         * lyx_cb.C: another bv->text misuse, from insert label
2183
2184 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
2185
2186         * kbsequence.h:
2187         * kbsequence.C: re-instate nmodifier mask
2188
2189 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
2190
2191         * lyx_main.h: make lyxGUI private.
2192
2193 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
2194
2195         * lyxfind.C: place the cursor correctly on failed search
2196
2197 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2198
2199         * text.C (getLengthMarkerHeight): for small heights, the arrows
2200         are not always on top/bottom of the text
2201         (drawLengthMarker): smaller arrows; take the left margin in
2202         account; draw also vfills.
2203         (paintFirstRow):
2204         (paintLastRow): remove special code for vfill and standard spaces,
2205         since everything is handled in drawLengthMarker now.
2206
2207 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2208
2209         * buffer.C (insertErtContents): try to handle font and language
2210         interaction a bit better.g
2211
2212         * ColorHandler.C (updateColor): change the hash to cover the whole
2213         LColor enum, ws cleanup
2214         (getGCLinepars): ditto
2215         (getGCLinepars): only lookup in the linecache once.
2216
2217 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
2218
2219         * iterators.C (operator++): Make the iterator more robust
2220
2221         * BufferView2.C (removeAutoInsets): Use paragraph iterators
2222         (John's patch)
2223         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
2224
2225 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
2226
2227         * lyxtext.h:
2228         * text.C: better added space drawing
2229
2230 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
2231
2232         * LyXView.C:
2233         * BufferView2.C: fix layout combo update on inset unlock
2234
2235 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
2236
2237         * Makefile.am: don't compile unused files
2238
2239 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
2240
2241         * lyxfunc.C:
2242         * commandtags.h:
2243         * LyXAction.C: remove old LFUN_LAYOUTNO
2244
2245 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
2246
2247         * paragraph_pimpl.h:
2248         * paragraph_pimpl.C: isTextAt() doesn't need font param
2249
2250 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
2251
2252         * lyxlex.h:
2253         * lyxlex.C: little cleanup
2254
2255 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
2256
2257         * BufferView_pimpl.C: fix insertAscii for insets
2258
2259 2001-12-05  Juergen Vigna  <jug@sad.it>
2260
2261         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
2262         set the right font on the "multi" paragraph paste!
2263
2264 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2265
2266         * trans_decl.h:
2267         * trans_mgr.[Ch]:
2268         * trans.[Ch]:
2269         * lyxgluelength.C:
2270         * lyxlength.C: remove out-commented code.
2271
2272         * BufferView_pimpl:
2273         * CutAndPaste.C:
2274         * DepTable.C:
2275         * buffer.C:
2276         * chset.C:
2277         * lastfiles.C:
2278         * lyxlex.C:
2279         * lyxlex_pimpl.C:
2280         * lyxserver.C:
2281         * screen.C:
2282         * tabular-old.C:
2283         * tabular.C:
2284         * text.C:
2285         * trans_mgr.C:
2286         * vc-backend.C: change "while(" to "while ("
2287
2288         * lyxlength.[Ch]: add zero function to check if length is zero or
2289         not
2290         * lyxgluelength.C: use it
2291
2292 2001-12-05  Allan Rae  <rae@lyx.org>
2293
2294         * lyxlength.C: Attempted a fix for the abs(int) header selection.
2295         Works for 2.95.3, from what I understand of Garst's reports this should
2296         work for other g++ versions.  We're screwed if the abs(int) definition
2297         changed between bugfix releases of gcc.
2298
2299 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
2300
2301         * text.C: fix chapter label offset !
2302
2303 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
2304
2305         * lyxtext.h:
2306         * text.C: fix hfill at end of line, clean up
2307
2308 2001-12-04  Juergen Vigna  <jug@sad.it>
2309
2310         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
2311         that we force an update of the inset and it's owners if neccessary.
2312
2313 2001-12-03  Juergen Vigna  <jug@sad.it>
2314
2315         * text.C (rowLast): simplified code
2316
2317 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
2318
2319         * lyxfunc.C: fix show options on timeout
2320
2321 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2322
2323         * screen.C (topCursorVisible): scroll half a page when the cursor
2324         reached top of bottom of screen
2325
2326 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
2327
2328         * minibuffer.C: deactivate on loss of focus
2329
2330 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2331
2332         * vspace.[Ch] (operator!=): add operator.
2333
2334 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
2335
2336         * BufferView_pimpl.C: refuse to open an inset when
2337         there's a selection.
2338
2339 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
2340
2341         * BufferView_pimpl.C: allow to click on RHS of full row insets
2342
2343 2001-11-30  Juergen Vigna  <jug@sad.it>
2344
2345         * tabular.C (LyXTabular): add a same_id to set the same id's in the
2346         insets for undo reasons.
2347
2348 2001-11-28  André Pönitz <poenitz@gmx.net>
2349
2350         * vspace.[Ch]: cosmetical changes
2351
2352 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
2353
2354         * LyXAction.h:
2355         * LyXAction.C:
2356         * lyxfunc.h:
2357         * lyxfunc.C:
2358         * kbmap.h:
2359         * kbmap.C:
2360         * lyxrc.C:
2361         * kbsequence.h:
2362         * kbsequence.C: part re-write of old kb code
2363
2364         * Painter.C:
2365         * WorkArea.C: remove Lgb_bug_find_hack
2366
2367 2001-11-30  José Matos <jamatos@fep.up.pt>
2368
2369         * buffer.C (makeDocBookFile): add a comment to point a hack.
2370         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
2371         Fixed a double write of labels.
2372
2373 2001-11-29 Ben Stanley <bds02@uow.edu.au>
2374
2375         * LaTeX.C:
2376         * LaTeX.h Fixed bug in LaTeX class where it would not
2377         re-run latex if no depfiles were changed, but the .dvi was removed.
2378
2379 2001-11-28  André Pönitz <poenitz@gmx.net>
2380
2381         * all the files from the change on 2001/11/26:
2382         use lyx::layout_type instead of LyXTextClass::size_type
2383         use lyx::textclass_type instead of LyXTextClassList::size_type
2384
2385 2001-11-29  Juergen Vigna  <jug@sad.it>
2386
2387         * text.C: added support for paragraph::isFreeSpacing()
2388
2389         * buffer.C: same as above
2390
2391         * paragraph.h: inserted isFreeSpacing() function to enable
2392         FreeSpacing inside InsetERT.
2393
2394         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
2395         of the paragraph's in the cut/copy buffer to 0!
2396
2397         * text2.C (removeRow): remove the assert as it can!
2398
2399         * lyxtext.h: added helper function firstRow returning firstrow and
2400         made firstrow private again.
2401
2402         * BufferView2.C (lockInset): don't relock if we're already locked!
2403
2404         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
2405         the only paragraph.
2406         (removeRow): added Assert::(firstrow)
2407
2408         * debug.C: forgot to add INSETTEXT here.
2409
2410 2001-11-28  Juergen Vigna  <jug@sad.it>
2411
2412         * sp_spell.C (initialize): changed error text to more general
2413         spellchecker command use (not only ispell!)
2414
2415         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
2416
2417         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
2418
2419 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
2420
2421         * vspace.C: initialise lyxgluelength on failure
2422
2423 2001-11-28  Allan Rae  <rae@lyx.org>
2424
2425         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
2426         declaration & definition that looks like a function declaration.
2427
2428 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2429
2430         * BufferView2.C (copy):
2431         (copyEnvironment): do not clear the selection when doing a copy.
2432
2433         * text.C (paintFirstRow): compilation fix
2434
2435 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
2436
2437         * tabular.C (Latex): correct line count when writing latex.
2438
2439 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
2440
2441         * paragraph_pimpl.h:
2442         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
2443           bug a bit
2444
2445 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
2446
2447         * text.C:
2448         * LColor.h:
2449         * LColor.C: change vfillline->added_space
2450
2451         * text.C: add markers and text for added space
2452
2453         * vspace.C: fix comment
2454
2455 2001-11-28  André Pönitz <poenitz@gmx.net>
2456
2457         * paragraph.C: whitespace changes
2458         * all the other files from the change on 2001/11/26:
2459         change *::pos_type into lyx::pos_type
2460
2461 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
2462
2463         * buffer.C (parseSingleLyXformat2Token): Set the language to the
2464         language of the document when inserting error insets.
2465
2466 2001-11-26  André Pönitz <poenitz@gmx.net>
2467
2468         * BufferView_pimpl.[Ch]:
2469         *       CutAndPaste.C:
2470         * buffer.[Ch]:
2471         * lyxcursor.[Ch]:
2472         * lyxfind.C:
2473         * lyxfunc.C:
2474         * lyxrow.[Ch]:
2475         * paragraph.[Ch]:
2476         * paragraph_pimpl.[Ch]:
2477         * sp_spell.C:
2478         * text.C:
2479         * text2.C: reduce header dependencies, introduce type for positions
2480
2481 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
2482
2483         * <various>: change to use Alert.h
2484
2485 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
2486
2487         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
2488         when encountering an unknown token.
2489         (readLyXformat2): Show an error message if there were unknown tokens.
2490
2491 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
2492
2493         * BufferView2.C:
2494         * BufferView_pimpl.C:
2495         * buffer.C:
2496         * paragraph.h:
2497         * text.C:
2498         * text2.C: use par->isInset()
2499
2500 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
2501
2502         * paragraph_pimpl.h:
2503         * paragraph_pimpl.C: cleanup
2504
2505 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2506
2507         * text2.C (removeRow):
2508         * text.C (setHeightOfRow): remove useless (and costly) call to
2509         getRow.
2510
2511 2001-11-20  Allan Rae  <rae@lyx.org>
2512
2513         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
2514         Now need Inset*::checkInsertChar() to return true for appropriate
2515         cases so that the characters in the minibuffer will actually be
2516         inserted.
2517
2518 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2519
2520         * text.C: change the order of the includes.
2521         (workWidth): initialize it at once.
2522         (workWidth): make maxw unsigned
2523         (setHeightOfRow): remove unused variable (inset)
2524         (selectSelectedWord): remove unused variable (inset)
2525         (paintRowText): fix drawing of hfill characters, and clean up a bit.
2526
2527 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2528
2529         * lyxserver.C (emergencyCleanup): do not try to close pipes if
2530         server is not running.
2531         (openConnection):
2532         (closeConnection): add debug info when server is disabled.
2533
2534         * ColorHandler.C (getGCForeground): send debug message to GUI
2535         channel.
2536
2537         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
2538
2539         * kbmap.C (bind): modify because return conventions of
2540         kb_sequence::parse have changed.
2541
2542         * kbsequence.C (parse): only ignore spaces and not any stupid
2543         control character. This avoids tests like s[i] <= ' ', which are
2544         guaranteed to fail with 8bit characters and signed chars.
2545         Change return code to string::npos when there have been no error
2546         (0 was a bad idea when error is at first character)
2547
2548 2001-11-14  José Matos  <jamatos@fep.up.pt>
2549
2550         * buffer.h:
2551         * buffer.C (simpleDocBookOnePar): removed unused argument.
2552
2553 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2554
2555         * text.C (selectNextWordToSpellcheck): do not test explicitely for
2556         insets which are part of a word. Paragraph::isLetter takes care of
2557         that now. Use Paragraph::isInset to identify insets.
2558         (selectSelectedWord): do not test for hyphenation break.
2559
2560         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
2561         that protected spaces are considered as spaces.
2562
2563         * paragraph.C (isLetter): cleanup the code for ispell extras; use
2564         Inset::isLetter.
2565
2566 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
2567
2568         * lyxserver.h:
2569         * lyxserver.C: fix it. and small cleanup.
2570
2571 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
2572
2573         * BufferView_pimpl.C: use inline helpers
2574
2575         * LaTeXFeatures.h:
2576         * LaTeXFeatures.C: fix typos
2577
2578         * Spacing.h:
2579         * Spacing.C: move spacing_string into class
2580
2581         * ToolbarDefaults.C: move stuff into namespace anon
2582
2583         * layout.h: update enum
2584
2585         * lyxfunc.C: use better debug
2586
2587         * minibuffer.h: fix typo
2588
2589         * debug.h:
2590         * debug.C:
2591         * WorkArea.C: add and use Debug::WORKAREA
2592
2593         * lyxtext.h:
2594         * text.C:
2595         * text2.C: code re-organisation, inline helpers
2596
2597 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
2598
2599         * Layout.C: replaced a few cases of std::vector.size() == 0 with
2600         std::vector.empty().
2601
2602 2001-11-09  Allan Rae  <rae@lyx.org>
2603
2604         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
2605         '\n's after tables.  Tabular and ERT inset work now makes this no
2606         longer necessary.
2607
2608 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
2609
2610         * minibuffer.h:
2611         * minibuffer.C: fix crash, improve drop-down completion
2612
2613 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
2614
2615         * lyxserver.h:
2616         * lyxserver.C: invalidate fd's when doing endPipe()
2617
2618 2001-11-08  José Matos  <jamatos@fep.up.pt>
2619
2620         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
2621         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
2622
2623         * paragraph.h:
2624         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
2625
2626 2001-11-07  José Matos  <jamatos@fep.up.pt>
2627
2628         * buffer.h:
2629         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
2630         const qualifier.
2631
2632         * buffer.C (sgmlOpenTag):
2633         * buffer.C (sgmlCloseTag): removed debug info.
2634
2635         * buffer.h (sgmlOpenTag):
2636         * buffer.h (sgmlCloseTag): made public.
2637
2638 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2639
2640         * buffer.C (saveParamsAsDefaults):
2641         * lyx_cb.C (MenuLayoutSave): remove
2642
2643         * LyXAction.C (init):
2644         * commandtags.h:
2645         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
2646
2647 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2648
2649         * buffer.C (setPaperStuff): removed from here...
2650
2651         * bufferparams.C (setPaperStuff): ... and moved there.
2652
2653 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
2654
2655         * minibuffer.h:
2656         * minibuffer.C:
2657         * XFormsView.C: add support for drop-down completion
2658
2659 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
2660
2661         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
2662         commands.
2663
2664 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2665
2666         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
2667         disabled.
2668
2669 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
2670
2671         * lyx_main.C: change ref to known bugs
2672
2673 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
2674
2675         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
2676         to work around older babel problems.
2677
2678 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
2679
2680         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
2681
2682 2001-10-24  Juergen Vigna  <jug@sad.it>
2683
2684         * tabular-old.C (ReadOld): below variable changes reflected.
2685
2686         * tabular.[Ch]: added ltType struct for longtable header/footer
2687         defines and changed all instances where they are used. Added
2688         future support for double top/bottom rows.
2689
2690 2001-10-24  José Matos  <jamatos@fep.up.pt>
2691
2692         * buffer.h (docbookHandleCaption):
2693         * buffer.C (docbookHandleCaption): removed unused function.
2694         (makeDocBookFile): moved docbook supported version to v4.1.
2695
2696 2001-10-24  José Matos  <jamatos@fep.up.pt>
2697
2698         * tabular.h:
2699         * tabular.C (docbookRow): new function to export docbook code of a row.
2700         (DocBook): now honors the longtable flags.
2701
2702 2001-10-23  José Matos  <jamatos@fep.up.pt>
2703
2704         * LaTeXFeatures.h:
2705         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
2706         of the lyx defined sgml entities used in a docbook/linuxdoc document.
2707
2708         * buffer.C (makeLinuxDocFile):
2709         (makeDocBookFile): reworked the preamble, more clean, and with
2710         support for lyx defined entities. Changed the document declaration
2711         to be more XML friendly.
2712
2713         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
2714         if we need to output XML that should be done with a filter.
2715
2716 2001-10-22  Juergen Vigna  <jug@sad.it>
2717
2718         * sp_pspell.h (class PSpell): add alive function needed in the
2719         controller to see if the spellchecker could be started.
2720
2721 2001-10-22  Juergen Vigna  <jug@sad.it>
2722
2723         * buffer.C (insertStringAsLines): modify the font for inserting
2724         chars in certain conditions by calling checkInsertChar(font).
2725
2726 2001-10-19  Juergen Vigna  <jug@sad.it>
2727
2728         * text.C (workWidth): use getRow instead of wrong algorithm.
2729         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
2730
2731 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
2732
2733         * lyxserver.h:
2734         * lyxserver.C:
2735         * lyx_main.h:
2736         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
2737
2738 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2739
2740         * text.C (workWidth): do not search for the exact row when
2741         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
2742         optimization for big documents.
2743
2744 2001-10-18  Juergen Vigna  <jug@sad.it>
2745
2746         * text.C (workWidth): new function with added Inset * parameter.
2747
2748 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2749
2750         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
2751
2752         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
2753         change return type of getColumnNearX.
2754
2755
2756         * text.C (changeRegionCase): use uppercase/lowercase instead of
2757         toupper/tolower.
2758         (leftMargin):
2759         (rightMargin): simplify code by factoring out the uses of
2760         textclasslist.
2761         (labelFill):
2762         (numberOfHfills):
2763         (setHeightOfRow):
2764         (appendParagraph): use Paragraph::size_type
2765
2766 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2767
2768         * vspace.C (asLatexString): add a missing break
2769
2770 2001-10-15  Herbert Voss  <voss@perce.de>
2771
2772         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
2773
2774 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2775
2776         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
2777         is not available.
2778
2779 2001-10-10  André Pönitz <poenitz@gmx.net>
2780
2781         * lyxfunc.C: removed greek_kb_flag.
2782
2783 2001-10-10  Herbert Voss  <voss@perce.de>
2784
2785         * lyx_main.C: delete global string help_lyxdir.
2786
2787 2001-10-09  Herbert Voss  <voss@perce.de>
2788
2789         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
2790
2791         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
2792
2793         * lyx_main.C: added global string help_lyxdir.
2794
2795         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
2796
2797 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2798
2799         * lyxrc.C (set_font_norm_type): support iso8859-4
2800
2801 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
2802
2803         * LaTeX.C (deplog): add another regex for MikTeX
2804
2805 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2806
2807         * lyxrc.C (set_font_norm_type): support iso8859-3
2808
2809 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2810
2811         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
2812
2813         * LaTeXFeatures.C: remove special case of french and index
2814
2815         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
2816         before \begin{document}). This solves several incompatibilities.
2817
2818 2001-10-03  Garst Reese  <reese@isn.net>
2819
2820         * lyx_cb.C: change CheckTex error msg.
2821
2822 2001-10-03  José Matos  <jamatos@fep.up.pt>
2823
2824         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
2825
2826 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2827
2828         * .cvsignore: update
2829
2830         * lyx_main.C (commandLineVersionInfo): use new style version info.
2831
2832         * buffer.C (writeFile):
2833         (makeLaTeXFile):
2834         (makeLinuxDocFile):
2835         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
2836
2837         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
2838
2839         * version.h: update to use stuff in version.C
2840
2841         * version.C.in: new file. Contains version information determined
2842         at compile time. This is a merging of version.h and
2843         version_info.h.in.
2844
2845 2001-10-03  Juergen Vigna  <jug@sad.it>
2846
2847         * BufferView_pimpl.C (update): don't change "dirty" status in
2848         updateInset call.
2849
2850 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
2851
2852         * WorkArea.C (c-tor): re-position version string slightly.
2853
2854 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
2855
2856         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
2857         revert to previous code.
2858
2859         WorkArea.[Ch]: (show, destroySplash): methods removed.
2860
2861         WorkArea.C: rework code so that it's an amalgam of the codes before and
2862         after the splash screen was moved to WorkArea.
2863
2864 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2865
2866         * lyxrc.C (read):
2867         * vspace.C (inPixels):
2868         (lyx_advance):
2869         * kbmap.C (bind):
2870         * buffer.C (insertStringAsLines):
2871         (asciiParagraph): fix types to be large enough
2872
2873         * lyxlex_pimpl.h: change member status from short to int
2874
2875         * layout.h: fix type of endlabeltype
2876
2877         * kbmap.C (bind):
2878         * kbsequence.C (parse): change return type to string::size_type
2879
2880         * LaTeX.C (updateBibtexDependencies): comment out unneeded
2881         variable
2882
2883         * Bullet.C (bulletSize):
2884         (bulletEntry): do not use short ints as parameters
2885
2886         * BufferView2.C (insertLyXFile): change a char to an int.
2887
2888         * WorkArea.C (WorkArea): remove unneeded floats in computation
2889
2890 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
2891
2892         * buffer.C (asciiParagraph): Treat '\\' as other chars.
2893
2894         * paragraph.C (asString): Do not ignore newline/hfill chars when
2895         copying to the clipboard.
2896
2897 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
2898
2899         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
2900         after a multi-line inset.
2901
2902 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
2903
2904         * paragraph.C (validate): Set NeedLyXFootnoteCode
2905
2906 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
2907
2908         * lyxfont.C (LyXSizeNames): changed increase-error to increase
2909         and decrease-error to decrease.
2910
2911 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2912
2913         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
2914         it more readable (should be equivalent)
2915
2916 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2917
2918         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
2919
2920 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2921
2922         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
2923         of a cursor (row, etc.) after a character has been deleted
2924         (deleteEmptyParagraphMechanism): call the method above on _all_
2925         cursors held by the LyXText when a double space has been
2926         detected/deleted.
2927
2928 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
2929
2930         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
2931         pixmap.
2932         (resizeCurrentBuff): remove code to destroy the old splash dialog.
2933
2934         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
2935         background. Use greyOut() and the new show() methods to toggle between
2936         the foreground and background. Add code to remove the splash after
2937         its initial showing.
2938
2939         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
2940         (create_forms): no longer call Dialogs::showSplash.
2941
2942 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2943
2944         * .cvsignore: add version_info.h
2945
2946 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2947
2948         * version_info.h.in: new file
2949
2950         * Makefile.am: add version_info.h.in
2951
2952         * lyx_main.C (commandLineVersionInfo): use version_info defined in
2953         version_info.h instead of VERSION_INFO
2954
2955 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
2956
2957         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
2958         The ERT inset now returns string().
2959
2960 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
2961
2962         * lyxtext.h, text.C (selectNextWord): renamed as
2963         selectNextWordToSpellcheck.
2964
2965         * text.C (selectNextWordToSpellcheck): Modified to not select
2966         words inside an ERT inset.
2967
2968 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2969
2970         * lyx_cb.C (MenuLayoutSave): change a bit the question
2971
2972         * sp_base.h: include <sys/types.h>
2973
2974 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
2975
2976         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
2977
2978 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
2979
2980         * several files: fix typos in user-visible strings
2981
2982 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2983
2984         * text2.C (pasteSelection): do not set the selection, since it
2985         will be cleared later. Actually, the intent was to fix the way the
2986         selection was set, but I figured rmoving the code was just as good.
2987
2988 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
2989
2990         * FontLoader.C (available): Check if font is available without
2991         loading the font.
2992
2993 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2994
2995         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
2996
2997 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
2998
2999         * lyxrc.[Ch]: added display_graphics variable and associated code.
3000
3001 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3002
3003         * bufferparams.C (hasClassDefaults): new method. Returns true if
3004         the buffer parameters correspond to known class defaults
3005
3006 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
3007
3008         * XFormsView.C (show): set minimum size to the main window.
3009
3010 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3011
3012         * text2.C (copySelection):
3013         (cutSelection):
3014         * lyxfind.C (LyXReplace):
3015         * BufferView_pimpl.C (Dispatch): pass the correct flag to
3016         LyXText::selectionAsString.
3017
3018         * paragraph.C (asString): add "label" argument to the second form
3019
3020         * text2.C (selectionAsString): add "label" argument and pass it to
3021         Paragraph::asString.
3022
3023 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3024
3025         * lyx_main.C (commandLineHelp): remove version information
3026
3027 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
3028
3029         * lyx_main.C: add -version commandline option
3030
3031 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3032
3033         * paragraph.h: make the optional constructor arg required instead.
3034         some modifications to other files because of this.
3035
3036         * minibuffer.C (C_MiniBuffer_peek_event): make it static
3037
3038         * lyxserver.C (C_LyXComm_callback): make it static
3039
3040         * lyx_main.C (error_handler): make it static
3041
3042         * lyx_gui.C (LyX_XErrHandler): make it static
3043
3044         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
3045
3046         * WorkArea.C: make the extern "C" methods static.
3047
3048         * Makefile.am (lyx_LDADD): simplify
3049
3050 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
3051
3052         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
3053         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
3054
3055         * LyXAction.C (init):
3056         * lyxfunc.C (dispatch): associated code removal.
3057
3058 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3059
3060         * lyxfont.h (isSymbolFont): shut off warning
3061
3062         * text.C (setHeightOfRow):
3063         (getVisibleRow): fix crash with empty paragraphs which have a
3064         bottom line
3065
3066 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
3067
3068         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
3069         code.
3070
3071 2001-09-04  José Matos  <jamatos@fep.up.pt>
3072         * buffer.C
3073         * buffer.h
3074         * tabular.C (docbook): rename docBook method to docbook.
3075
3076 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
3077
3078         * Makefile.am: add dependencies to main.o.
3079
3080 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
3081
3082         * FontLoader.C (available): Return false if !lyxrc.use_gui
3083
3084 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
3085
3086         * FontInfo.C (query):
3087         * converter.C (view):
3088         * importer.C (Import):
3089         * exporter.C (Export): Can not -> cannot.
3090
3091 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
3092
3093         * BufferView_pimpl.C: allow to create index inset even if
3094           string is empty
3095
3096 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
3097
3098         * buffer.C (getLists): replace boost::tie code with an explicit pair
3099         as boost::tie can break some compilers.
3100
3101         * iterators.h: Added a std:: declaration to the return type of
3102         ParIterator::size.
3103
3104 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
3105
3106         * lyxrc.C: add help for view_dvi_paper_option, default to safe
3107           case.
3108
3109 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
3110
3111         * iterators.[Ch]: New files. Provide paragraph iterators.
3112
3113         * buffer.C (changeLanguage): Use paragraph iterators.
3114         (isMultiLingual): ditto
3115
3116         * BufferView2.C (ChangeInsets): Use paragraph iterators.
3117
3118 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
3119
3120         * FontLoader.C: Support for cmr font.
3121
3122 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
3123
3124         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
3125         (available): New method.
3126
3127         * FontInfo.C (getFontname): Use scalable fonts even when
3128         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
3129         found.
3130
3131 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
3132
3133         * converter.C (Formats::view): reverted! Incorrect fix.
3134
3135 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
3136
3137         * converter.C (Formats::view): only output the -paper option
3138         if the dvi viewer is xdvi, thereby fixing bug #233429.
3139
3140 2001-08-23  Herbert Voss  <voss@perce>
3141
3142         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
3143
3144 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
3145
3146         * Spacing.h (Spacing): Set space to Default on in the default
3147         constructor.
3148
3149 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3150
3151         * vc-backend.h (RCS::versionString): add RCS to version
3152         (CVS::versionString): add CVS to version
3153
3154         * vc-backend.C (scanMaster): do not add CVS to version.
3155         (scanMaster): do not add RCS to version
3156
3157         * lyxvc.C (versionString): new method
3158
3159         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
3160
3161 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3162
3163         * Spacing.C (set): initialize fval
3164
3165 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
3166
3167         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
3168         " or \.
3169
3170 2001-08-16  Juergen Vigna  <jug@sad.it>
3171
3172         * lyxfunc.C (dispatch): implemented the new FINISHED states.
3173
3174 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
3175
3176         * BufferView_pimpl.C:
3177         * figureForm.C:
3178         * lyxtext.h:
3179         * text2.C: setParagraph takes linespacing now
3180
3181 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
3182
3183         * LyxAction.C: add internal LFUN_CITATION_INSERT
3184
3185         * LyXView.C: actually apply fix
3186
3187         * bufferlist.C: fix open non-existent file
3188
3189         * lyxfind.C: fix indentation
3190
3191         * lyxfunc.C: remove unneeded assert, fix typo
3192
3193 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
3194
3195         * MenuBackend.C: use "Floatname List"
3196
3197 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
3198
3199         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
3200         when converting LaTeX layout to insetERT.
3201         Generate a non-collapsed float when reading old float
3202
3203 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
3204
3205         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
3206         ERT insets.
3207
3208 2001-08-13  Juergen Vigna  <jug@sad.it>
3209
3210         * text.C (fill): return 0 instead of 20 as this seems to be the more
3211         correct value.
3212
3213 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
3214
3215         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
3216         lyxrc.font_norm.
3217
3218 2001-08-13  Juergen Vigna  <jug@sad.it>
3219
3220         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
3221         casesensitive off.
3222         (SearchBackward): comment out the unlocking of the inset_owner this
3223         should not be needed!
3224
3225 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
3226
3227         * Many files: Remove inherit_language, and add latex_language
3228
3229         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
3230         collapsible insets.
3231
3232 2001-08-10  Juergen Vigna  <jug@sad.it>
3233
3234         * text.C (prepareToPrint): fixed hfill-width in draw!
3235
3236         * BufferView2.C (selectLastWord): save the selection cursor as this
3237         now is cleared in the function LyXText::clearSelection!
3238
3239 2001-08-08  Juergen Vigna  <jug@sad.it>
3240
3241         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
3242         BACKSPACE type functions.
3243
3244         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
3245         is only cutted from the document but not put in the cut-buffer, where
3246         still the old stuff should be.
3247
3248         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
3249
3250         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
3251
3252         * tabular.C (SetWidthOfCell): fixed special case where the width
3253         was not updated!
3254         (LeftLine): handle '|' in align_special.
3255         (RightLine): ditto
3256         (LeftAlreadyDrawed): ditto
3257         (SetWidthOfCell): ditto
3258
3259 2001-08-07  Juergen Vigna  <jug@sad.it>
3260
3261         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
3262
3263 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3264
3265         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
3266         * lyxlex.[hC]: ditto
3267
3268 2001-08-06  Juergen Vigna  <jug@sad.it>
3269
3270         * text.C (getVisibleRow): fix up row clearing a bit.
3271
3272 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3273
3274         * minibuffer.C: make sure the X server sees the changes in the input.
3275
3276 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3277
3278         * paragraph.C (getFont): split into...
3279         (getLabelFont): this
3280         (getLayoutFont): and this
3281         * paragraph_pimpl.C (realizeFont): calling this
3282
3283         * text2.C (getFont): split into...
3284         (getLayoutFont): this
3285         (getLabelFont): and this
3286         (realizeFont): all three calling this
3287
3288         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
3289         files where used.
3290
3291 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3292
3293         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
3294
3295 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
3296
3297         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
3298         layouts from the Quote inset insertion.
3299
3300 2001-08-03  Juergen Vigna  <jug@sad.it>
3301
3302         * BufferView_pimpl.C (update): do the fitCursor only at the end!
3303
3304         * screen.C (drawFromTo): don't call fitcursor here and do the loop
3305         only if status not is already CHANGED_IN_DRAW (second level).
3306
3307         * text.C (draw): don't set the need_break_row when inside an
3308         InsetText LyXText.
3309
3310 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3311
3312         * buffer.C (parseSingleLyXformat2Token): handle more latex
3313         conversion cases.
3314
3315         * bufferview_funcs.[hC]: change function names to
3316         begin with small char, adjust other files.
3317
3318 2001-08-02  André Pönitz <poenitz@gmx.net>
3319
3320         * lyxfunc.C:
3321         BufferView_pimpl.C: remove broken special code for math-greek
3322
3323 2001-08-02  Juergen Vigna  <jug@sad.it>
3324
3325         * BufferView_pimpl.C (update): redone this function so that we
3326         update the text again if there was a CHANGE_IN_DRAW.
3327
3328         * screen.C (cursorToggle): removed LyXText parameter and recoded.
3329         (drawFromTo): added a new internal bool which is used by draw() and
3330         redraw() function.
3331         (general): some cursor drawing problems fixed.
3332
3333 2001-08-01  Juergen Vigna  <jug@sad.it>
3334
3335         * lyxfind.C (LyXFind): fixed
3336         (SearchForward): ditto
3337         (SearchBackward): ditto
3338
3339         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
3340         spurius drawing of the cursor in the main area.
3341
3342         * text2.C (status): small fix which could lead to a segfault!
3343         (clearSelection): remove unneeded BufferView param.
3344
3345 2001-08-01  André Pönitz <poenitz@gmx.net>
3346
3347         * lyxfunc.C: small change due to changed mathed interface
3348
3349 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3350
3351         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
3352
3353 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
3354
3355         * lyxfunc.c: fail gracefully if file doesn't exist
3356
3357         * LyXSendto.C:
3358         * buffer.C:
3359         * lyxfunc.C:
3360         * BufferView_pimpl.C: IsDirWriteable() proto changed
3361
3362         * LyXView.C: fix updateWindowTitle() to store the last title
3363
3364 2001-07-31  Juergen Vigna  <jug@sad.it>
3365
3366         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
3367         the font (wrong since using of Paragraph::highestFontInRange).
3368
3369         * paragraph.C (highestFontInRange): added a default_size parameter.
3370
3371         * text.C (getVisibleRow): minor clear row changes (still not perfect).
3372         (setHeightOfRow): reformat
3373
3374 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3375
3376         * converter.[hC] + affected files: move to (inital-char)lowercase
3377         function names.
3378
3379         * ParagraphParameters.C (ParagraphParameters): remove commented code
3380
3381         * PainterBase.[Ch]: remove commented code
3382
3383         * LaTeXFeatures.h: add "bool floats" for float.sty
3384
3385         * LaTeXFeatures.C (LaTeXFeatures): init floats
3386         (require): handle float
3387         (getPackages): do it with floats
3388
3389 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3390
3391         * BufferView_pimpl.C (Dispatch): improve handling of
3392         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
3393
3394         * commandtags.h: #include lyxfont.h here temporarily to avoid
3395         keybinding bug.
3396
3397         * bufferlist.h: include LString.h here.
3398
3399 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3400
3401         * text2.C (getStringToIndex): new method.
3402
3403 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
3404
3405         * *: Reduced header file dependencies all over.
3406
3407 2001-07-30  Baruch Even  <baruch@lyx.org>
3408
3409         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
3410
3411 2001-07-29  Baruch Even  <baruch@lyx.org>
3412
3413         * buffer.C (readInset): Changed GRAPHICS to Graphics.
3414
3415 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3416
3417         * ParameterStruct.h (endif): add a default constructor to make
3418         sure that all variables is initialized.
3419
3420         * ParagraphParameters.C (ParagraphParameters): adjust
3421
3422 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3423
3424         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
3425         index; also, check that there is something to index, and that it
3426         does not span over several paragraphs.
3427         (doubleClick): use WHOLE_WORD_STRICT for double click.
3428
3429         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
3430
3431         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
3432         scheme.
3433
3434 2001-07-26  Baruch Even  <baruch@lyx.org>
3435
3436         * buffer.C (readInset): Changed to call up InsetGraphics when reading
3437         an InsetFig figure, backwards compatible reading of old figure code.
3438
3439 2001-07-27  Juergen Vigna  <jug@sad.it>
3440
3441         * text2.C: font.realize function adaption.
3442
3443         * text.C (draw): add a warnings lyxerr text if needed.
3444
3445         * layout.C: font.realize function adaption.
3446
3447         * language.C: add inherit_language and implement it's handlings
3448
3449         * bufferview_funcs.C (StyleReset): remove language parameter from
3450         font creation (should be language_inherit now).
3451
3452         * bufferparams.C (writeFile): handle ignore_language.
3453
3454         * paragraph.C (getFontSettings): the language has to be resolved
3455         otherwise we have problems in LyXFont!
3456
3457         * lyxfont.C (lyxWriteChanges): added document_language parameter
3458         (update): removed unneeded language parameter
3459
3460         * paragraph.C (validate): fixed wrong output of color-package when
3461         using interface colors for certain fonts in certain environments,
3462         which should not seen as that on the final output.
3463
3464 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
3465
3466         * BufferView_pimpl.C:
3467         * Thesaurus.h:
3468         * Thesaurus.C:
3469         * Makefile.am:
3470         * commandtags.h:
3471         * LyXAction.C: add thesaurus support
3472
3473         * lyxfind.h:
3474         * lyxfind.C: add "once" parameter, for thesaurus, to not
3475           move to the next match
3476
3477 2001-07-26  Juergen Vigna  <jug@sad.it>
3478
3479         * lyxfont.C (realize): honor ignore_language too!
3480         (resolved): ditto.
3481
3482         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
3483
3484         * text.C (draw): one place more for ignore_language to not draw
3485         itself!
3486
3487 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
3488
3489         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
3490
3491 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3492
3493         * buffer.C (parseSingleLyXformat2Token): a more general fix for
3494         the minipage conversion problem.
3495
3496 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3497
3498         * buffer.C (parseSingleLyXformat2Token): check minipage if we
3499         insert an inset.
3500
3501 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3502
3503         * BufferView.h: don't forward declare WorkArea
3504
3505         * BufferView.C: don't include WorkArea.h
3506
3507 2001-07-25  André Pönitz <poenitz@gmx.net>
3508
3509         * commandtags.h:
3510         * LyXAction.C:
3511         * lyxfunc.C:  new LFUN 'math-space'
3512
3513         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
3514
3515 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3516
3517         * text2.C (toggleInset): call open/close
3518
3519 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3520
3521         * lyxfunc.C (dispatch): add debug for the disabled case
3522
3523         * font.C (buttonText): make similar to rectText
3524
3525         * buffer.C (readInset): comment out parsing of insetlist and
3526         insttheorem
3527
3528         * PainterBase.C (rectText): small correction
3529
3530         * BufferView_pimpl.C: comment out insettheorem and insetlist
3531         * LyXAction.C: ditto
3532         * commandtags.h: ditto
3533
3534 2001-07-24  Juergen Vigna  <jug@sad.it>
3535
3536         * text.C (draw): honor the ignore_language.
3537
3538         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
3539
3540 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3541
3542         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
3543         char inset.
3544
3545 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3546
3547         * lyxtext.h: remove unused (and unimplemented) methods
3548
3549 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3550
3551         * text.C (getVisibleRow): honor background color
3552
3553         * PainterBase.h:
3554         * Painter.h: remove default color argument for fillRectangle
3555
3556         * text.C (backgroundColor): new method
3557
3558 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3559
3560         * text.C (getVisibleRow): adjust
3561
3562         * font.[Ch] (rectText): new method, metrics
3563         (buttonText): new method, metrics
3564
3565         * PainterBase.[hC]: make rectText and buttonText always draw and take
3566         fewer paramteres.
3567
3568 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3569
3570         * ToolbarDefaults.C (read):
3571         * MenuBackend.C (read): allow escaping in all strings
3572
3573         * BufferView_pimpl.C (insertAndEditInset): new method.
3574         (Dispatch): use insertAndEditInset whenever appropriate.
3575
3576         * BufferView_pimpl.C (insertNote): removed
3577
3578         * BufferView_pimpl.C (smartQuote): new method, moved from
3579         BufferView; if an insetquote cannot be inserted, insert a '"'
3580         character instead.
3581
3582         * BufferView2.C: remove insertCorrectQuote();
3583
3584         * lyxfunc.C (getStatus): Add support for all remaingin
3585         inset-insert lfuns.
3586
3587         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
3588
3589         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
3590         command (necessary to pass " as parameter of self-insert.
3591
3592         * text.C (selectWordWhenUnderCursor):
3593         (selectWord): add word_location parameter
3594         (selectWordWhenUnderCursor): same + remove special code for word
3595         boundary.
3596         (selectNextWord): use kind() to guess type of insetspecialchar,
3597         not latex().
3598
3599         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
3600         (insertErtContents): create ert insets as collapsed.
3601         (readInset): better compatibility code for Info inset.
3602
3603 2001-07-20  Juergen Vigna  <jug@sad.it>
3604
3605         * lyxfunc.C (dispatch): use always LyXFind now!
3606
3607         * text2.C (init): add a reinit flag so that the LyXText can be
3608         reinited instead of deleted and reallocated (used in InsetText).
3609
3610         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
3611
3612         * text.C: ditto
3613
3614         * text2.C: ditto
3615
3616 2001-07-18  Juergen Vigna  <jug@sad.it>
3617
3618         * text.C (selectNextWord): handle insets inside inset by calling
3619         always the bv->text functions so that we can go up the_locking_inset!
3620
3621         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
3622         in strange locations when inside an inset!
3623
3624         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
3625         handling to include insets.
3626
3627         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
3628
3629 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3630
3631         * LyXAction.C (init):
3632         * commandtags.h:
3633         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
3634         LIGATURE_BREAK, since the name is so stupid.
3635
3636 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
3637
3638         * buffer.C (readInset): enable reading of new InsetNotes as well as old
3639         InsetInfos.
3640
3641         * FontLoader.C: remove FORMS_H_LOCATION cruft.
3642
3643         * sp_form.[Ch]: remove.
3644
3645         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
3646
3647         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
3648         InsetInfo.
3649
3650         * src/buffer.C (readInset): ditto.
3651
3652 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3653
3654         * BufferView_pimpl.C (specialChar): new method. Obsoletes
3655         menuSeparator(), endOfSentenceDot(), ldots() and
3656         hyphenationPoint(), which are therefore removed.
3657         (Dispatch): handle LFUN_HYPHENATION_BREAK.
3658
3659         * LyXAction.C (init):
3660         * commandtags.h: add LFUN_HYPHENATION_BREAK.
3661
3662         * paragraph.C (getWord): removed.
3663
3664         * BufferView_pimpl.C (Dispatch): use last word or selection for
3665         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
3666
3667         * lyx_main.C (queryUserLyXDir): do not ask before creating
3668         user_dir, except if it has been named explicitely.
3669
3670 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
3671
3672         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
3673         a document of zero size.
3674
3675 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
3676
3677         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
3678         approriately in the c-tor and in require().
3679         (getPackages): output the appropriate LaTeX for natbib support.
3680
3681         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
3682         variables "use_natbib" and "use_numerical_citations" when reading the
3683         LyX file.
3684         (readInset): read the various natbib cite commands.
3685         (validate): white-space change.
3686
3687         * bufferparams.[Ch]: new variables "bool use_natbib" and
3688         "bool use_numerical_citations".
3689         (writeFile): output them in the LyX file.
3690
3691 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3692
3693         * lyxfunc.C (getStatus): add support for all the inset insertion
3694         commands.
3695
3696         * text2.C (insertInset):
3697         * paragraph.C (insetAllowed):
3698         * BufferView_pimpl.C (insertInset): update to take in account the
3699         renaming of insertInsetAllowed
3700
3701         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
3702
3703         * text2.C (getInset): new method. returns inset at cursor position.
3704
3705         * BufferView_pimpl.C (Dispatch): changes because of this.
3706
3707         * LyXAction.C (init): rename open-stuff to inset-toggle.
3708
3709         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
3710
3711         * text2.C (toggleInset): renamed from openStuff; use
3712         Inset::open().
3713
3714 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
3715
3716         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
3717
3718         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
3719
3720 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
3721
3722         * buffer.C (readLyXformat2): Add filename to the error dialog
3723
3724 2001-07-18  Juergen Vigna  <jug@sad.it>
3725
3726         * tabular.C (GetCellNumber): put an assert here instead of the check!
3727
3728 2001-07-17  Juergen Vigna  <jug@sad.it>
3729
3730         * BufferView_pimpl.C (toggleSelection): adapted too.
3731
3732         * text.C (selectNextWord): adapted for use with insets.
3733         (selectSelectedWord): ditto
3734
3735 2001-07-17  Juergen Vigna  <jug@sad.it>
3736
3737         * sp_spell.C (PSpell): fix initialitation order.
3738
3739 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3740
3741         * paragraph.C: spacing
3742
3743 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
3744
3745         * sp_spell.C: repair language selection for pspell
3746
3747 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3748
3749         * lyxfunc.h: change more methods to begin with lower char.
3750
3751 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
3752
3753         * buffer.C (parseSingleLyXformat2Token): Generate error insets
3754         for unknown layouts.
3755
3756 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
3757
3758         * buffer.C (readLyXformat2): Generate an error dialog if there are
3759         unknown layouts.
3760
3761 2001-07-16  Juergen Vigna  <jug@sad.it>
3762
3763         * sp_spell.C: always compile ISpell part.
3764
3765         * lyxrc.C: added use_pspell entry and it's handling.
3766
3767 2001-07-13  Juergen Vigna  <jug@sad.it>
3768
3769         * sp_spell.C: removed double includes.
3770
3771 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
3772
3773         Consistent use of Lsstream.h:
3774         * Lsstream.h: added using std::stringstream for consistencies sake.
3775
3776         * buffer.C: removed using std::stringstream
3777
3778         * lyxfont.C (stateText):
3779         * paragraph.C (asString):
3780         * text.C (selectNextWord, selectSelectedWord):
3781         * text2.C (setCounter):
3782         * vspace.C (asString, asLatexString):
3783         std::ostringstream -> ostringstream.
3784
3785 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
3786
3787         * LyXAction.C: add LFUN_HELP_ABOUTLYX
3788         * commandtags.h: add LFUN_HELP_ABOUTLYX
3789         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
3790
3791 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
3792
3793         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
3794         cursorToggle()
3795         * lyx_gui_misc.C: remove spellchecker
3796         * lyxfunc.C: showSpellchecker
3797         * sp_base.h: added
3798         * sp_ispell.h: added
3799         * sp_pspell.h: added
3800         * sp_spell.C: added
3801         * sp_form.[Ch]: removed
3802         * spellchecker.[Ch]: removed
3803
3804 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
3805
3806         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
3807         is set.
3808         (simpleTeXSpecialChars): Simply print the input character without
3809         any special translation if pass_thru is set.
3810
3811         * layout.h: Added bool pass_thru to layout class for being able to
3812         implement pass through of a paragraph for Literate Programming.
3813
3814         * layout.C: add LT_PASS_THRU to LayoutTags enum.
3815         * layout.C (LyXLayout): set pass_thru to flase in constructor.
3816         * layout.C (Read): add "passthru" to list of layout tags and add
3817         code to set the pass_thru boolean when it is read.
3818
3819 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3820
3821         * trans_decl.h: remove allowed from KmodInfo
3822
3823         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
3824         remove allowed code
3825         (Load): adjust
3826
3827         * paragraph_pimpl.C (erase): use boost::prior
3828
3829         * Painter.C (text): use data() instead of c_str() when length is
3830         also provided.
3831         * WorkArea.C (putClipboard): ditto
3832         * font.h (width): ditto
3833
3834         * BufferView2.C: use it-> instead of (*it). for iterators
3835         * texrow.C: ditto
3836         * paragraph_pimpl.C: ditto
3837         * paragraph.C: ditto
3838         * minibuffer.C: ditto
3839         * language.C: ditto
3840         * kbmap.C: ditto
3841         * encoding.C: ditto
3842         * counters.C: ditto
3843         * converter.C: ditto
3844         * chset.C: ditto
3845         * Variables.C: ditto
3846         * TextCache.C: ditto
3847         * MenuBackend.C: ditto
3848         * LyXAction.C: ditto
3849         * LColor.C: ditto
3850         * FloatList.C: ditto
3851         * DepTable.C: ditto
3852         * ColorHandler.C (LyXColorHandler): ditto
3853
3854 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3855
3856         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
3857
3858         * text2.C (openStuff): reintroduce this method (which had been
3859         nuked in NEW_INSETS frenzy).
3860
3861         * lyxfunc.C (Dispatch): when an action has not been handled, use
3862         its name in the error message, not its number.
3863
3864         * paragraph.C (inInset): change method name to begin with lowercase.
3865
3866         * undo_funcs.C:
3867         * text2.C: updates because of this.
3868
3869 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3870
3871         * ToolbarDefaults.C (add): add spaces in error message
3872
3873 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3874
3875         * buffer.C (readLyXformat2): initialize the ert comp. variables.
3876         (readLyXformat2): rename return_par to first_par, use lyxlex's
3877         pushToken and remove the manual push handling.
3878         (parseSingleLyXformat2Token): add another ert comp. variable:
3879         in_tabular, rename return_par to first_par. handle newlines better
3880
3881 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3882
3883         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
3884
3885 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3886
3887         * text2.C (getParFromID): removed
3888
3889         * buffer.C (getParFromID): new method moved form lyxtext.
3890         * BufferView2.C (insertErrors): adjust
3891         (setCursorFromRow): adjust
3892         * BufferView_pimpl.C (restorePosition): adjust
3893         * lyxfunc.C (Dispatch): adjust
3894         * undo_funcs.C (textUndo): adjust
3895         (textRedo): adjust
3896         (textHandleUndo): adjust
3897         (textHandleUndo): adjust
3898
3899 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3900
3901         * buffer.C: up' the LYX_FORMAT
3902
3903         * lyxfont.h: turn NO_LATEX on as default
3904
3905         * buffer.C (insertErtContents): new methods of tex style compability.
3906         (parseSingleLyXformat2Token): use it several places.
3907         * tabular.C (OldFormatRead): and here
3908
3909 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3910
3911         * text2.C: remove some commented code.
3912         reindent file.
3913
3914         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
3915         * trans.C: changes because of the above.
3916
3917 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
3918
3919         * text2.C (setCounter): Fix counters bug with bibliography layout.
3920
3921 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3922
3923         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
3924         own member functions
3925         (simpleTeXSpecialChars): ditto
3926
3927 2001-07-06  Juergen Vigna  <jug@sad.it>
3928
3929         * a lot of files: changed the access to LyXText::status and the
3930         call of undo-functions.
3931
3932         * undo.[Ch]: added a inset_id to the undo informations.
3933
3934         * undo_funcs.[Ch]: added and moved here all undo functions.
3935
3936         * lyxtext.h: give the status enum a weight, made status_ a private
3937         variable and made accessor functions for it, removed the whole bunch
3938         of undo-functions as they are now in their own file, make some
3939         functions publically available. Added function ownerParagraph with
3940         int parameter.
3941
3942         * paragraph.[Ch]: added "bool same_ids" to the constructor,
3943         made InInset() a const function, added getParFromID() function.
3944
3945         * buffer.[Ch]: added const version for inset_iterator functions,
3946         added getInsetFromID() function.
3947
3948         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
3949         changed undo functions for new version.
3950
3951 2001-07-05  Juergen Vigna  <jug@sad.it>
3952
3953         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
3954         unknow mechanism does not call the proper constructor but only this
3955         one also if I request the other!?
3956
3957 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3958
3959         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
3960
3961         * text2.C (LyXText): use initialization lists.
3962
3963         * lyxtext.h (Selection): initialize set_ and mark_
3964         (init): remove method
3965
3966 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
3967
3968         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
3969
3970 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3971
3972         * screen.[Ch]: change method names to begin with lowercase
3973
3974         * BufferView_pimpl.C (updateScrollbar): simplify further and
3975         hopefully make it a bit faster.
3976
3977 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3978
3979         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
3980         calling directly xforms functions.
3981
3982         * Painter.C (Painter):
3983         * lyx_cb.C (MenuWrite):
3984         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
3985         fl_display.
3986
3987         * lyx_gui.C: remove bogus guiruntime extern declaration.
3988
3989 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3990
3991         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
3992         in NEW_INSETS
3993         (redoDrawingOfParagraph): ditto
3994         (redoParagraphs): ditto
3995         (cutSelection): don't create a object for CutAndPaste use the
3996         static method directly
3997         (pasteSelection): ditto
3998
3999         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
4000         LyXview (+ rename)
4001
4002 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4003
4004         * modifications to some other files because of this.
4005
4006         * Makefile.am (lyx_SOURCES): add XFormsView
4007
4008         * XFormsView.[Ch]: new files
4009
4010         * LyXView.[Ch]: make LyXView a base class for the gui handling for
4011         the main window. Move the gui dependent stuff to XFormsView
4012
4013 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4014
4015         * tabular.C (GetCellInset): update cur_cell also in the row/col
4016         version of this function.
4017
4018         * lyxfunc.C: no need to include figure_form.h here.
4019
4020         * FontLoader.h:
4021         * lyxfunc.h:
4022         * lyxscreen.h:
4023         * text2.C:
4024         * lyxvc.C: no need to include forms.h here.
4025
4026 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4027
4028         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
4029
4030         * lyxfunc.C (Dispatch):
4031         * Spacing.C (set):
4032         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
4033         constructor argument.
4034
4035 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4036
4037         * paragraph.C (Paragraph): dont't clear, and just set layout.
4038         (makeSameLayout): use params's copy contructor.
4039
4040         * ParagraphParameters.[Ch] (makeSame): delete method
4041
4042 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
4043
4044         * Variables.[Ch]: fix indentation, rename set to isSet
4045
4046 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4047
4048         * lyxfunc.C (Dispatch): fix typo
4049
4050 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4051
4052         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
4053         upper_bound.
4054
4055         * bufferlist.C: include assert.h for emergencyWrite().
4056
4057 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
4058
4059         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
4060           give up at last (bug #425202) !
4061
4062 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
4063
4064         * lyx_gui_misc.C:
4065         * sp_form.h:
4066         * sp_form.C:
4067         * spellchecker.h:
4068         * spellchecker.C: strip spellchecker options and bring up
4069           preferences tab instead
4070
4071 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4072
4073         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
4074         the istringstream constructor
4075
4076 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4077
4078         * paragraph.C (getLayout): fix return value
4079
4080         * paragraph.h: do not declare getLayout as inline.
4081
4082         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
4083
4084 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4085
4086         * lyxcursor.h (operator<): new func
4087         (operator>): new func
4088         (operator>=): new func
4089         (operator<=): new func
4090
4091         * text.C (changeCase): use selection.start and selection.end
4092         (changeRegionCase): require from to be <= to. Require par to be a
4093         valid paragraph.
4094
4095         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
4096
4097 2001-06-27  Juergen Vigna  <jug@sad.it>
4098
4099         * text.C (cursorLeftOneWord): changed to return the cursor and added
4100         overlay with BufferView * parameter which calls this one.
4101         (getWord): added
4102         (selectWord): use new getWord function.
4103         (changeCase): renamed from changeWordCase as and extended to work
4104         also on selections.
4105
4106         * lyxtext.h: added enum word_location
4107
4108         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
4109         changeCase as this operates now also on selections.
4110
4111 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
4112
4113         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
4114
4115         * many files: send debug output to Debug::INFO instead of
4116         Debug::ANY.
4117
4118         * converter.C (View):
4119         (Convert):
4120         (Move): send debug output to Debug::FILES instead of console.
4121
4122 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
4123
4124         * lyxfunc.C (getStatus): use func_status
4125
4126         * func_status.h: new header, describing the results of
4127         LyXFunc::getStatus;
4128
4129         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
4130         LFUN_MATH_HALIGN.
4131
4132 2001-06-25  The LyX Project  <jug@sad.it>
4133
4134         * buffer.C (sgmlOpenTag):
4135         (sgmlCloseTag):
4136         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
4137
4138 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4139
4140         * text2.C: remove some dead code
4141
4142         * tabular.C (GetCellInset): store the last cell checked (gotten)
4143
4144         * tabular.h: add the helper for the speedup
4145
4146         * lyxtext.h: remove some dead code
4147
4148 2001-06-26  The LyX Project  <Asger>
4149
4150         * paragraph.C: Change export to LaTeX of alignment to
4151         \begin{center} and family for better roundtrip work with reLyX.
4152
4153         * Tune the math drawing a bit.
4154
4155 2001-06-25  The LyX Project  <Asger>
4156
4157         * LColor.C (LColor): New color for math background. New color
4158         for buttons.
4159
4160 2001-06-25  The LyX Project  <jug@sad.it>
4161
4162         * lyxfunc.C (MenuNew): remove extra check for .lyx file
4163
4164         * lyxfunc.C (Open):
4165         * bufferlist.C (newFile): do not restrict to files ending with
4166         .lyx
4167
4168         * BufferView_pimpl.C (MenuInsertLyXFile):
4169
4170 2001-06-24  The LyX Project  <jug@sad.it>
4171
4172         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
4173         of compare_no_case
4174
4175 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4176
4177         * lyxtext.h: rename most methods to begin with a small char.
4178         Lots of changes because of this.
4179
4180         * paragraph.C (Paragraph): do not call fitToSize
4181         (erase): call Pimpl::erase
4182         (insertChar): call Pimpl::insertChar
4183         (insertInset): call Pipl::insertInset
4184         (breakParagraph): do not call fitToSize
4185         (breakParagraphConservative): do not call fitToSize
4186         (fitToSize): remove method
4187
4188         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
4189
4190 2001-06-24  The LyX Project  <Asger>
4191
4192         * Fix Qt compilation^2
4193
4194 2001-06-24  The LyX Project  <jug@sad.it>
4195
4196         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
4197         depthHook(getDepth()-1).
4198
4199         * paragraph.h:
4200         * ParagraphParameters.h:
4201         * ParameterStruct.h: change type of depth to unsigned int ==
4202         depth_type. Many adaptations to other files before of that.
4203
4204 2001-06-24  The LyX Project  <Asger>
4205
4206         * Fix Qt compilation.
4207
4208 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4209
4210         * paragraph.h: renamed several methods to begin with small letter.
4211         several changes to many parts of the code because of this.
4212
4213 2001-06-23  The LyX Project  <jug@sad.it>
4214
4215         * text2.C (InsertStringAsLines): renamed from InsertStringA;
4216         rewritten to discard all double spaces when KeepEmpty is off
4217         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
4218         to only handle newlines but not fiddle with spaces and friends.
4219
4220         * lyxfunc.C (MenuNew): when doing 'new from template', use
4221         template_path as default directory
4222
4223 2001-06-23  The LyX Project  <Asger>
4224
4225         * Clean-up of header file includes all over
4226         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
4227
4228 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4229
4230         * paragraph.h: renamed from lyxparagraph.h
4231
4232 2001-06-23  Asger  <lyx@violet.home.sad.it>
4233
4234         * Buffer.h: Removed Buffer::resize
4235         * BufferList.h: Removed BufferList::resize
4236         * LyXView.h: Added LyXView::resize. This way, we will only reflow
4237         the document lazily when we change the width, or the font settings.
4238
4239 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
4240
4241         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
4242
4243 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
4244
4245         * buffer.h: remove out of date comment
4246
4247 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
4248
4249         * lyxscreen.h:
4250         * screen.C: fix "theoretical" GC leak
4251
4252 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4253
4254         * LaTeX.C (scanAuxFile):
4255         (deplog): remove trailing \r when reading stream (useful under
4256         win32)
4257
4258 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
4259
4260         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
4261         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
4262         and BufferView::theLockingInset(Inset*), so should use them and not
4263         access bv_->text->the_locking_inset directly.
4264
4265         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
4266
4267 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
4268
4269         * Makefile.am:
4270         * tex-defs.h: remove old unused file
4271
4272 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
4273
4274         * BufferView_pimpl.C: fix typo, remove minibuffer message
4275           when buffer has loaded
4276
4277 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4278
4279         * lyxfunc.C (Dispatch): use stringstream
4280         (MenuNew): use stringstream
4281         (Open): use stringstream
4282
4283         * importer.C (Import): use stringstream
4284
4285         * bufferview_funcs.C (CurrentState): use stringstream
4286
4287         * LaTeX.C (run): use stringstream
4288
4289         * BufferView_pimpl.C (savePosition): use stringstream
4290         (restorePosition): use stringstream
4291         (MenuInsertLyXFile): use stringstream
4292
4293 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
4294
4295         * BufferView.C:
4296         * Bullet.C:
4297         * ColorHandler.C:
4298         * FontInfo.C:
4299         * FontLoader.C:
4300         * LColor.C:
4301         * LaTeXFeatures.C:
4302         * Painter.C:
4303         * gettext.C:
4304         * lyx_gui_misc.C:
4305         * lyxserver.C:
4306         * vspace.C: removed // -*- C++ -*- as first line.
4307
4308         * lyxfind.h:
4309         * version.h: added // -*- C++ -*- as first line.
4310
4311 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4312
4313         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
4314
4315         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
4316         of string
4317
4318 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4319
4320         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
4321         of floats.
4322
4323 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4324
4325         * gettext.C: include LString.h even when --disable-nls is on.
4326
4327 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
4328
4329         * converter.h (Get): changed argument type from int to
4330         FormatList::size_type to avoid unnecessary conversion.
4331
4332         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
4333         before using it.
4334
4335 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4336
4337         * gettext.h: include LString.h even when --disable-nls is on.
4338
4339 2001-06-07  Juergen Vigna  <jug@sad.it>
4340
4341         * text.C (BreakAgain): subst spaces with tabs.
4342
4343         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
4344         (resizeInsetsLyXText): set force on resizeLyXText.
4345
4346 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4347
4348         * gettext.h (gettext_init):
4349         (locale_init): use a real definition instead of a macro
4350
4351 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
4352
4353         * Bufferview_pimpl.C:
4354         * LColor.h:
4355         * LColor.C: further lcolor tidies
4356
4357 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4358
4359         * BufferView_pimpl.C (updateScrollbar): simplify.
4360
4361         * BufferView2.C: don't include insets/insetinfo.h, change
4362         prototype for insertInset and call the Pimpl version. let
4363         updateInset call Pimpl version.
4364
4365         * BufferView.h: move inset_slept to BufferView::Pimpl, move
4366         gotoInset to BufferView::Pimpl
4367
4368 2001-06-01  Juergen Vigna  <jug@sad.it>
4369
4370         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
4371         inside a LockingInset (is the update needed at all?).
4372
4373 2001-05-31  Juergen Vigna  <jug@sad.it>
4374
4375         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
4376         here not the old one otherwise how should we compare it afterwards
4377         if it's the same!
4378
4379 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4380
4381         * lyxfont.C:
4382         * tabular.C:
4383         * tabular-old.C:
4384         * FontInfo.C: bring C functions into global namespace when
4385         necessary
4386
4387 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4388
4389         * LString.h: make sure config.h has been loaded before LString.h.
4390
4391         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
4392         (one for each char read by EatLine!).
4393
4394         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
4395         variables.
4396
4397 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4398
4399         * paragraph.C (BreakParagraph): set the inset_owner in the new par
4400         to the same as the par we break from
4401
4402 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4403
4404         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
4405
4406         * MenuBackend.C (expand): also create menu entries for wide
4407         versions of the floats.
4408
4409         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
4410
4411         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
4412
4413         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
4414         frontends/Makefile.am
4415
4416         * text2.C: adjust
4417         * text.C: adjust
4418
4419
4420         * tabular.C (getTokenValue): add std::
4421
4422         * tabular-old.C (getTokenValue): add std::
4423         (getTokenValue): ditto
4424         (getTokenValue): ditto
4425
4426         * screen.C (ToggleSelection): adjust
4427
4428         * lyxtext.h: put selection cursors inside a Selection struct.
4429
4430         * lyxfunc.C (moveCursorUpdate): adjust
4431
4432         * lyxfont.C (latexWriteStartChanges): add std::
4433
4434         * lyxfind.C: adjust
4435
4436         * font.h: delete with(char const *, LyXFont const &)
4437
4438         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
4439
4440         * FontInfo.C (getFontname): add std::
4441
4442         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4443         (workAreaButtonPress): adjust
4444         (tripleClick): adjust
4445         (update): adjust
4446         (moveCursorUpdate): adjust
4447         (Dispatch): adjust
4448
4449         * BufferView2.C (gotoInset): adjust
4450
4451 2001-05-30  Juergen Vigna  <jug@sad.it>
4452
4453         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
4454         to check pspell I add this as default as I now have new pspell
4455         libraries and they seem to use this.
4456
4457 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4458
4459         * text2.C (CutSelection): make the cursor valid before the call to
4460         ClearSelection.
4461
4462 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4463
4464         * kbsequence.C (parse): de-uglify a bit the parsing code, which
4465         relied on 0 terminated strings and other horrors. Bug found due to
4466         the new assert in lyxstring!
4467
4468         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
4469         KP_ keys.
4470
4471 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4472
4473         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
4474         to latinkeys.bind.
4475
4476         * lyxfunc.C (processKeySym): change method of getting to the
4477         self-insert char.
4478
4479         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
4480         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
4481         * BufferView_pimpl.[Ch]: here as private methods.
4482
4483 2001-05-28  Juergen Vigna  <jug@sad.it>
4484
4485         * text.C (SetHeightOfRow): added the update() call again as it is
4486         needed to initialize inset dimensions!
4487
4488 2001-05-16  Juergen Vigna  <jug@sad.it>
4489
4490         * text2.C (SetCharFont): Add new function with BufferView * and
4491         bool toggleall parameters for setting insets internal fonts.
4492         (SetFont): Freeze the undo as we may change fonts in Insets and
4493         all this change should be inside only one Undo!
4494
4495         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
4496         setting font's in insets as for them we have the SetFont function!
4497
4498 2001-05-15  Juergen Vigna  <jug@sad.it>
4499
4500         * text2.C (ClearSelection): to be sure we REALLY don't have any
4501         selection anymore!
4502
4503         * tabular.C (TeXCellPreamble): fixed the left border problem for
4504         multicolumn cells.
4505
4506 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
4507
4508         * LaTeX.C (deplog): Make sure that the main .tex file is in the
4509         dependancy file
4510
4511 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4512
4513         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
4514         LFUN_BREAKPARAGRAPH.
4515
4516         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
4517         help test to "internal only", similar for LFUN_INSERT_URL
4518
4519         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
4520         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
4521         auto_region_delete and deadkeys.
4522
4523 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
4524
4525         * LColor.h:
4526         * LColor.C: remove some dead entries, tidy a little
4527
4528 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4529
4530         * lyxfunc.C (processKeySym): comment the Escape handling, remove
4531         commented code.
4532         (Dispatch): implement LFUN_ESCAPE
4533
4534         * commandtags.h: add LFUN_ESCAPE
4535
4536         * LyXAction.C (init): add entry for LFUN_ESCAPE
4537
4538         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
4539         Remove commented code.
4540         (insertNote): moved here
4541         (open_new_inset): moved here
4542
4543         * BufferView[2].[Ch]: move insertNote and open_new_inset to
4544         BufferView_pimpl
4545
4546 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4547
4548         * kbmap.C (findbinding): clean it up and make it work correctly.
4549
4550         * lyx_main.C (init): do not pass argc and argv as parameters
4551
4552 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
4553
4554         * buffer.C: fix path for OS/2 & Win32
4555
4556         * lyx_gui.C:
4557         * lyx_main:
4558         * lyx_main.C: Added os:: class.
4559
4560         * os2_defines.h: update
4561
4562 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4563
4564         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
4565         better by trying again with reduced state.
4566
4567 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4568
4569         * lyxrc.C (read): print error about invalid key sequence only when
4570         debugging (because not all latinX keysyms are known to some X
4571         servers)
4572
4573         * kbsequence.C (getiso): add a few std:: qualifiers
4574         (getiso): comment out extra return statement.
4575
4576 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4577
4578         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
4579         handling.
4580         (Dispatch): enhance the accent inset a bit. (not perfect)
4581
4582 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4583
4584         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
4585
4586 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4587
4588         * bufferlist.C (emergencyWrite): fix assert() call
4589
4590 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
4591
4592         * text.C (InsertChar): Added trivial patch to only send the "you
4593         can not do multiple spaces this way" message once during a
4594         session.
4595
4596 2001-05-08  Baruch Even  <baruch@lyx.org>
4597
4598         * Makefile.am: Changed order of libraries to get LyX to link properly
4599         with the gnome frontend.
4600
4601 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4602
4603         * LaTeXFeatures.h: add a std:: qualifier
4604
4605 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4606
4607         * paragraph.C (String): use stringstream
4608
4609 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4610
4611         * paragraph.C (writeFile): remove footflag arg
4612
4613         * buffer.C (makeLaTeXFile): use stringstream
4614         (latexParagraphs): remove footnot gurba
4615
4616         * LaTeXFeatures.C (getPackages): use stringstream
4617         (getMacros): likewise
4618         (getTClassPreamble): likewise
4619         (getFloatDefinitions): new method
4620
4621         * paragraph.C (writeFile): reindent
4622         (Erase): reindent
4623
4624         * WorkArea.h: revert the xpos + etc changes.
4625
4626         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
4627
4628         * lyxparagraph.[Ch]: add copy constructor, remove Clone
4629
4630         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
4631         (pasteSelection): likewise
4632         * text2.C (CreateUndo): likewise
4633
4634 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4635
4636         * minibuffer.C (peek_event): temporarily reduce the functionality
4637         of the minibuffer (to allow args on lfuns)
4638
4639         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
4640         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
4641
4642         * buffer.C (readInset): add compability reading of old float
4643         lists, add reading of new style float list.
4644         (readInset): avoid reevaluation of inscmd.getCmdName()
4645         (getLists): reindent
4646
4647         * MenuBackend.C (MenuItem): implement parsing of
4648         md_floatlistinsert and md_floatinsert.
4649         (expand::LastFiles): move initalizaton of iterators out of loop,
4650         avoid reevaluation.
4651         (expand::Documents): introduce typdedef vector<string> Strings,
4652         and use it.
4653         (expand::ExportFormats): introduce typedef vector<Format const *>
4654         Formats, and use it.
4655         (expand): implement FloatListInsert and FloatInsert.
4656
4657         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
4658         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
4659         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
4660
4661         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
4662         handling.
4663         (Dispatch::LFUN_FLOAT_LIST): implement
4664
4665 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
4666
4667         * LaTeX.C (run): Fix problem with --export code.
4668
4669 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
4670
4671         * BufferView.[Ch] (workarea): removed.
4672         (getClipboard) new method; wrapper for workarea()->getClipboard()
4673
4674         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
4675         bug.
4676
4677         * WorkArea.h (width, height, xpos, ypos): These methods all
4678         returned the dimensions of the work_area sub-area of WorkArea,
4679         resulting in a position error if the WorkArea were resized. Now
4680         return the dimensions of the entire WorkArea.
4681
4682         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
4683
4684 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4685
4686         * LaTeX.C (deplog): correct the syntax of regex reg1
4687
4688 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4689
4690         * undo.C: remove !NEW_INSETS cruft
4691
4692 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4693
4694         * text2.C: remove !NEW_INSETS cruft
4695
4696         * text.C: remove !NEW_INSETS cruft
4697
4698         * tabular.C: remove !NEW_INSETS cruft
4699
4700         * spellchecker.C: remove !NEW_INSETS cruft
4701
4702         * lyxtext.h: remove !NEW_INSETS cruft
4703
4704         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
4705
4706         * lyxfunc.C: remove !NEW_INSETS cruft
4707
4708         * lyxfind.C: remove !NEW_INSETS cruft
4709
4710         * lyx_cb.C: remove !NEW_INSETS cruft
4711
4712         * figureForm.C: remove  !NEW_INSETS cruft
4713
4714         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
4715
4716         * buffer.[Ch]: remove !NEW_INSETS cruft
4717
4718         * ToolbarDefaults.C: remove !NEW_INSETS cruft
4719
4720         * CutAndPaste.C: remove !NEW_INSETS cruft
4721
4722         * BufferView_pimpl.C: remove !NEW_INSETS cruft
4723
4724         * BufferView2.C: remove !NEW_INSETS cruft
4725
4726         * BufferView.h: remove !NEW_INSETS cruft
4727
4728 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4729
4730         * Lsstream.h: include LString.h before the sstream headers to
4731         fix problem with gcc 2.95.3 and lyxstring
4732
4733 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4734
4735         * lyx_main.C: add using directives when needed for C functions
4736         declared in std:: namespace.
4737
4738 2001-04-27  Juergen Vigna  <jug@sad.it>
4739
4740         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
4741         (SetHeightOfRow): comment out the update call should not be needed!
4742
4743 2001-04-13  Juergen Vigna  <jug@sad.it>
4744
4745         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
4746         (LyXTabular): tried to minimize operator= operations (and realized
4747         hopfully Lars wish).
4748
4749 2001-04-27  Juergen Vigna  <jug@sad.it>
4750
4751         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
4752
4753 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4754
4755         * lyxfunc.C (Dispatch): hack to make listof algorithm work
4756
4757         * buffer.C (readInset): hack to make listof algorithm work
4758
4759         * BufferView_pimpl.C: hack to make listof algorithm work
4760
4761 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4762
4763         * LyXAction.C: removed all !NEW_INSETS cruft
4764         (init): moved lfun_item in method
4765
4766         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
4767
4768 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
4769
4770         * BufferView2.C (theLockingInset): white space.
4771
4772 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4773
4774         * minibuffer.C: include <iostream>
4775
4776         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
4777
4778         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
4779
4780         * commandtags.h: add LFUN_TRANSPOSE_CHARS
4781
4782         * text.[Ch] (TransposeChars): new method
4783
4784 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4785
4786         * call message directly through LyXView instead of through LyXFunc
4787         * BufferView2.C: adjust
4788         * BufferView_pimpl.C: adjust
4789         * FontLoader.C: adjust
4790         * buffer.C: adjust
4791         * bufferview_funcs.C: adjust
4792         * converter.C: adjust
4793         * figureForm.C: adjust
4794         * importer.C: adjust
4795         * lyx_cb.C: adjust
4796         * lyx_gui_misc.C: adjust
4797         * lyxfunc.C: adjust
4798         * lyxvc.C: adjust
4799         * text2.C: adjust
4800         + more files in subdirs
4801
4802         * lyxparagraph.h (size): move up int file
4803         (GetLayout): ditto
4804
4805         * adjust all uses of Assert to lyx::Assert.
4806
4807         * BufferView2.C (ChangeCitationsIfUnique): adjust for
4808         lyxfunctional in namespace lyx
4809         * layout.C (hasLayout): ditto
4810         (GetLayout): ditto
4811         (GetLayout): ditto
4812         (delete_layout): ditto
4813         (NumberOfClass): ditto
4814         * converter.C (GetFormat): ditto
4815         (GetNumber): ditto
4816         (Add): ditto
4817         (Delete): ditto
4818         (SetViewer): ditto
4819         * bufferlist.C (getFileNames): ditto
4820         (emergencyWriteAll): ditto
4821         (exists): ditto
4822         (getBuffer): ditto
4823         * MenuBackend.C (hasSubmenu): ditto
4824         (hasMenu): ditto
4825         (getMenu): ditto
4826         * BufferView_pimpl.C (getInsetByCode): ditto
4827
4828 2001-04-18  Juergen Vigna  <jug@sad.it>
4829
4830         * vspace.C (asLatexString): fixed the 100% problem.
4831
4832 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4833
4834         * lyxfunc.C (Dispatch):
4835         * minibuffer.C:
4836         * minibuffer.h: add a few std:: qualifiers
4837
4838 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4839
4840         * minibuffer.[Ch]: reimplement so that commands is initiated and
4841         run from lyxfunc, simplified som handling, and made the completion
4842         and history code for complete. wip.
4843
4844         * lyxfunc.C (processKeySym): call message
4845         (miniDispatch): new temporary method
4846         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
4847         (LFUN_MESSAGE): implement
4848         (LFUN_MESSAGE_PUSH): implement
4849         (LFUN_MESSAGE_POP): implement
4850         (initMiniBuffer): the initial/defualt minibuffer message.
4851
4852         * lyxfont.[Ch]: inline some more getters
4853
4854         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
4855
4856         * lyx_gui_misc.[Ch] (WriteStatus): remove method
4857
4858         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
4859         (AutoSave): use LFUN_MESSAGE
4860         (Reconfigure): ditto
4861
4862         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
4863
4864         * figureForm.C: use LFUN_MESSAGE
4865
4866         * converter.C (runLaTeX): use LFUN_MESSAGE
4867
4868         * bufferview_funcs.C: use LFUN_MESSAGE
4869         (Melt): ditto
4870         (changeDepth): ditto
4871
4872         * bufferparams.h: use boost::
4873
4874         * bufferlist.h: inherit privately from noncopyable
4875
4876         * bufferlist.C (loadLyXFile): remove some commented code.
4877
4878         * buffer.C (runChktex): use LFUN_MESSAGE
4879
4880         * ShareContainer.h: inherit privately from noncopyable
4881
4882         * ParagraphParameters.[hC] (depth): inline it.
4883
4884         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
4885         methods.
4886         (message): new method
4887         (messagePush): ditto
4888         (messagePop): ditto
4889         (show): init minibuffer
4890         (showState): direct call
4891
4892         * LaTeX.[Ch]: inherit privately from noncopyable
4893         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
4894         instead of WriteStatus.
4895
4896         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
4897
4898         * BufferView_pimpl.C (buffer): don't init minibuffer
4899         (workAreaButtonPress): use LFUN_MESSAGE
4900         (workAreaButtonRelease): ditto
4901         (savePosition): ditto
4902         (restorePosition): ditto
4903         (MenuInsertLyXFile): ditto
4904         (workAreaExpose): don't init minibuffer
4905         (update): remove commented code, simplify
4906
4907         * BufferView2.C (openStuff): use LFUN_MESSAGE
4908         (toggleFloat): ditto
4909         (menuUndo): ditto
4910         (menuRedo): ditto
4911         (copyEnvironment): ditto
4912         (pasteEnvironment): ditto
4913         (copy): ditto
4914         (cut): ditto
4915         (paste): ditto
4916         (gotoInset): ditto
4917         (updateInset): remove some commented code
4918
4919         * lastfiles.h: inherit privately from noncopyable
4920         * layout.h: ditto
4921         * lyx_gui.h: ditto
4922         * lyx_main.h: ditto
4923         * lyxlex.h: ditto
4924         * lyxlex_pimpl.h: ditto
4925
4926         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
4927         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
4928         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
4929
4930         * LyXAction.h: inherit privately from noncopyable, add methods
4931         func_begin, func_end, returning iterators to the func map.
4932
4933         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
4934         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
4935         (func_begin): new method
4936         (func_end): new method
4937
4938         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
4939         and not)
4940         (copySelection): ditto
4941         (pasteSelection): ditto
4942
4943         * BufferView.C: whitespace change
4944         * BufferView.h: inherit privately from noncopyable
4945
4946 2001-04-16  Allan Rae  <rae@lyx.org>
4947
4948         * tabular-old.C (l_getline):
4949         * spellchecker.C (sc_check_word):
4950         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
4951         an unrecognised preprocessor directive.  So ensure they're wrapped.
4952
4953 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
4954
4955         * src/exporter.C (Export): Give an error message when path to file
4956         contains spaces.
4957
4958 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
4959
4960         * LaTeX.C (deplog): Always check that foundfile exists.
4961
4962 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4963
4964         * lyx_main.h:
4965         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
4966
4967 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4968
4969         * tabular.[Ch] (getLabelList): implement new method
4970
4971         * minibuffer.h: comment ouf setTiimer
4972
4973         * minibuffer.C (ExecutingCB): constify res
4974         (peek_event): constify s
4975         (Set): constify ntext
4976         (Init): constify nicename
4977
4978         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
4979
4980         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
4981         (savePosition): use two params to Minibuffer::Set
4982         (restorePosition): ditto
4983
4984 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4985
4986         * lyx_main.C: include language.h
4987
4988         * Makefile.am (lyx_main.o): add language.h
4989
4990 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4991
4992         * exporter.C:
4993         * paragraph.C:
4994         * screen.C:
4995         * tabular.C:
4996         * CutAndPaste.C: include gettext.h
4997
4998         * lyxfont.h: remove old hack with ON and OFF.
4999
5000         * lyxparagraph.h:
5001         * lyxfont.h: do not include language.h...
5002
5003         * BufferView2.C:
5004         * LaTeXFeatures.C:
5005         * Painter.C:
5006         * bufferview_funcs.C:
5007         * font.C:
5008         * lyxfont.C:
5009         * text.C:
5010         * text2.C:
5011         * trans_mgr.C:
5012         * paragraph.C: ... but do it here instead
5013
5014 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5015
5016         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
5017
5018         * tabular.C: small reformat
5019
5020         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
5021         NEW_INSETS version
5022         (GetChar): ditto
5023         (BreakParagraph): ditto
5024         (SetOnlyLayout): ditto
5025         (SetLayout): ditto
5026
5027         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
5028         with one arg less.
5029
5030         * lastfiles.C: removed most using decl, add std:: where needed
5031
5032         * buffer.C: ws changes
5033
5034         * MenuBackend.C (class compare_format): put into anon namespace
5035         (expand): constify label, names, action, action2
5036         (expand):
5037
5038         * text.C (SingleWidth): constify font
5039         (IsBoundary): constify rtl2
5040         (GetVisibleRow): constify ww
5041
5042         * LaTeX.C (deplog): constify logfile
5043
5044         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
5045         start_x, end_x
5046         (workAreaExpose): constify widthChange, heightChange
5047
5048         * lyxrow.C (par): moved
5049         (height): moved
5050         (next): moved
5051         * lyxrow.h: as inlines here
5052
5053         * lyxfont.h (shape): moved from lyxfont.C
5054         (emph): moved from lyxfont.C
5055
5056         * lyxfont.C (LyXFont): use initialization list for all
5057         constructors
5058         (shape): move to lyxfont.h as inline
5059         (emph): move to lyxfont.h as inline
5060
5061
5062 2001-04-04  Juergen Vigna  <jug@sad.it>
5063
5064         * vspace.C: had to include stdio.h for use of sscanf
5065
5066 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
5067
5068         * BufferView.h:
5069         * BufferView_pimpl.h: remove xforms cruft. Both classes are
5070         independent of xforms.
5071
5072 2001-04-02  Juergen Vigna  <jug@sad.it>
5073
5074         * spellchecker.C: fixed namespace placing!
5075
5076 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
5077
5078         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
5079         the LyXParagraph * is 0.
5080
5081 2001-03-29  Juergen Vigna  <jug@sad.it>
5082
5083         * vspace.C: added support for %, c%, p%, l%.
5084         (stringFromUnit): added helper function.
5085         (asLatexString): changed to give right results for the %-values.
5086
5087         * buffer.C: convert the widthp in a width%.
5088
5089 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
5090
5091         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
5092         figureForm.[Ch].
5093
5094         * figureForm.[Ch]: stripped the FD_from_figure manipulation
5095         code out of lux_cb.[Ch], ready for its (imminent?) removal.
5096
5097         * lyx_cb.[Ch]: see above.
5098
5099         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
5100         form1.[Ch].
5101
5102         * form1.[Ch]:
5103         * lyx.[Ch]: replaced by figure_form.[Ch].
5104
5105         * lyx_gui.C:
5106         * lyx_gui_misc.C:
5107         * lyxfunc.C: changed headers associated with above changes.
5108
5109 2001-03-27  Juergen Vigna  <jug@sad.it>
5110
5111         * BufferView_pimpl.C: set the temporary cursor right!
5112
5113 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
5114
5115         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
5116
5117 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
5118
5119         * LString.h: removed "using std::getline"!
5120
5121         * BufferView_pimpl.C (Dispatch): changes due to changes in
5122         InsetInclude::Params.
5123
5124         * buffer.C (tag_name): removed redundant break statements as they were
5125         producing lots of warnings with my compiler.
5126
5127 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5128
5129         * LString.h: add "using std::getline" when using the real <string>.
5130
5131 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
5132
5133         * buffer.C: removed bitset usage.
5134         PAR_TAG moved to an anonymous name space.
5135         (tag_name): new funtion, also in the anonymous namespace.
5136         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
5137         (makeDocBookFile): clean code. Completed transition from string arrays
5138         to string vectors.
5139         (SimpleDocBookOnePar): code clean.
5140
5141 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5142
5143         * tabular.C: add some comments.
5144
5145 2001-03-22  Juergen Vigna  <jug@sad.it>
5146
5147         * buffer.C (parseSingleLyXformat2Token): redone the minipage
5148         compatibility read a bit and fixed bug with minipage in different
5149         depth.
5150
5151 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
5152
5153         * buffer.C (pop_tag): removed.
5154         (push_tag): removed.
5155         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
5156         array replaced with vector. Added support for CDATA sections.
5157         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
5158         at any nest level.
5159         (makeDocBookFile): XML conformant declaration of CDATA section,
5160         fixed bug related to <emphasis> in the first paragraph char.
5161         (sgmlOpenTag): exclude empty tags.
5162         (sgmlCloseTag): ditto.
5163
5164         * buffer.h (pop_tag): removed.
5165         (push_tag): removed.
5166
5167 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
5168
5169         * language.h (Languages): added size_type and size().
5170
5171 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5172
5173         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
5174         response on compability reading of minipages. One probliem is that
5175         the old usage of minipages was «flertydig»
5176
5177         * several files here and in subdirs: don't use static at file
5178         scope use anon namespaces instead.
5179
5180 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
5181
5182         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
5183         LaTeX output. This is necessary for Literate document
5184         processing.
5185
5186 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5187
5188         * buffer.C: insert hfill when needed.
5189
5190         * tabular.C (l_getline): use string::erase, small whitespace change.
5191
5192         * BufferView_pimpl.C: try the anon namespace.
5193         * WorkArea.C: ditto
5194
5195 2001-03-16  Juergen Vigna  <jug@sad.it>
5196
5197         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
5198         otherwise it won't open options-dialogs.
5199
5200         * buffer.C: honor pextraWidth(p) on converting minipages.
5201
5202         * tabular.C (l_getline): changed the functions to strip trailing \r.
5203
5204 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
5205
5206         * BufferView_pimpl.C:
5207         * minibuffer..C: added "using SigC::slot" declaration.
5208
5209 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5210
5211         * lyxlex_pimpl.h: noncopyable is in namespace boost.
5212
5213         * text2.C: ditto
5214
5215         * text.C: ditto
5216
5217         * paragraph.C: ditto
5218
5219         * lyxtext.h: NO_PEXTRA
5220
5221         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
5222
5223         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
5224         * ParameterStruct.h: ditto
5225         * ParagraphParameters.h: ditto
5226         * lyxparagraph.h: ditto
5227
5228 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5229
5230         * buffer.C: add compability for minipage alignment.
5231         (latexParagraphs): remove unwanted pextra check.
5232
5233         * several files: remove CXX_WORKING_NAMESPACES
5234
5235         * buffer.C (pop_tag): tie is in namespace boost
5236
5237         * BufferView.h: noncopyable is in namespace boost
5238         * lyxlex.h: ditto
5239         * lyx_main.h: ditto
5240         * lyx_gui.h: ditto
5241         * layout.h: ditto
5242         * lastfiles.h: ditto
5243         * bufferlist.h: ditto
5244         * ShareContainer.h: ditto
5245         * LyXView.h: ditto
5246         * LyXAction.h: ditto
5247         * LaTeX.h: ditto
5248
5249 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
5250
5251         * Merging changes from BRANCH_MVC back into HEAD.
5252
5253         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
5254
5255 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
5256
5257         * BufferView_pimpl.C: change from intl.C
5258
5259         * combox.h:
5260         * combox.C:
5261         * Makefile.am: move combox.*
5262
5263         * form1.h:
5264         * form1.C:
5265         * lyx_gui.C:
5266         * intl.h:
5267         * intl.C: remove dialog (covered by prefs)
5268
5269 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
5270
5271         * lyxfunc.C (Dispatch): removed redundant break statement.
5272
5273 2001-03-14  Juergen Vigna  <jug@sad.it>
5274
5275         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
5276
5277 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5278
5279         * buffer.C: add hack to fix compability reading of minipages.
5280
5281 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
5282
5283         * buffer.C (getLists): Cleanup.
5284
5285 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5286
5287         * lyxfont.C (update): don't honor toggleall on font size.
5288
5289 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
5290
5291         * bmtable.c:
5292         * bmtable.h:
5293         * Makefile.am: moved to frontends/xforms/
5294
5295         * lyx_gui_misc.C:
5296         * lyxfunc.C:
5297         * BufferView_pimpl.C: changes for moved mathpanel
5298
5299 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
5300
5301         * gettext.h: fix gettext_init() in --disable-nls
5302
5303 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5304
5305         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
5306
5307 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
5308
5309         * lyx.C:
5310         * lyx.h: strip external form
5311
5312 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
5313
5314         * BufferView_pimpl.C: add comment, destroySplash()
5315
5316 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
5317
5318         * BufferView_pimpl.C:
5319         * LyXAction.C:
5320         * buffer.C:
5321         * commandtags.h:
5322         * lyxfunc.C: use re-worked insetinclude
5323
5324 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5325
5326         * buffer.C: add using std::stringstream.
5327
5328         * lyx_cb.C: readd using std::ios.
5329
5330         * buffer.C: add using std::map.
5331
5332         * BufferView_pimpl.C: add using std::vector.
5333
5334         * ShareContainer.h: add std:: to swap.
5335
5336         * buffer.h: add some typedefs
5337         * buffer.C (getLists): use them
5338         (getLists): renamed from getTocList.
5339         add a counter for the different float types and use it in the
5340         generated string.
5341         (getLists): use the same counter for the NEW_INSETS and the "non"
5342         NEW_INSETS
5343
5344         * lyx_cb.h: remove unused items, includes, using etc.
5345
5346         * ShareContainer.h: remove some commented code, add more comments
5347         and "documentation".
5348
5349 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5350
5351         * buffer.C (getTocList): make the list also when NEW_INSETS is
5352         defined.
5353
5354         * buffer.h: remove TocType
5355
5356         * buffer.C (getTocList): change to return a map<string,
5357         vector<TocItem> >, implement for dynamic number of list.
5358
5359         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
5360         * text2.C (PasteSelection): adjust
5361         * CutAndPaste.C (pasteSelection): adjust
5362
5363         * FloatList.C (FloatList): update from the new_insets branch.
5364         * Floating.[Ch]: ditto
5365         * LaTeXFeatures.C: ditto
5366         * buffer.C: ditto
5367         * lyxlex_pimpl.C: ditto
5368
5369         * paragraph.C (Last): remove when NEW_INSETS is defined.
5370
5371         * other file: changes because of the above.
5372
5373 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5374
5375         * lyxparagraph.h: rename next to next_, previous to previous_,
5376         make them private for NEW_INSETS. Rename Next() to next(),
5377         Previous() to previous().
5378
5379         * other files: changes because of the above.
5380
5381 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
5382
5383         * BufferView.h:
5384         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
5385         problem.
5386
5387 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5388
5389         * main.C (main): pass lyx_localedir to gettext_init().
5390
5391         * gettext.h: remove locale_init and gettext_init macros
5392
5393         * gettext.C (locale_init): new function
5394         (gettext_init): new function
5395
5396         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
5397         setlocale().
5398
5399 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
5400
5401         * Moved credits to frontends:
5402         * credits.[Ch]: removed
5403         * credits_form.[Ch]: removed
5404         * lyx_gui_misc.C: remove credits stuff
5405         * Makefile.am:
5406
5407 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5408
5409         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
5410
5411         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
5412         unneeded destructor.
5413
5414         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
5415         a standalone pointer again.
5416
5417         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
5418
5419 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
5420
5421         * Makefile.am:
5422         * filedlg.h:
5423         * filedlg.C:
5424         * LyXAction.C:
5425         * ToolbarDefaults.C:
5426         * bufferlist.C:
5427         * commandtags.h:
5428         * form1.C:
5429         * form1.h:
5430         * lyx_cb.C:
5431         * lyx_cb.h:
5432         * lyxfunc.h:
5433         * lyxfunc.C:
5434         * BufferView_pimpl.C: use new file dialog in GUII
5435
5436         * lyx_cb.h:
5437         * lyx_cb.C: remove LayoutsCB to Toolbar
5438
5439 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5440
5441         * ShareContainer.h (get): add std:: qualifier
5442
5443 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5444
5445         * ShareContainer.h: define a proper ShareContainer::value_type
5446         type (and use typename to please compaq cxx)
5447
5448 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5449
5450         * lyxparagraph.h: move serveral local vars to
5451         ParameterStruct/ParagraphParameters., use ShareContainer in
5452         FontTable., make vars in FontTable private and add getter and
5453         setter.
5454
5455         * paragraph.C: changes because of the above.
5456
5457         * lyxfont.h: remove copy constructor and copy assignment. (the
5458         default ones is ok), move number inside FontBits. move inlines to
5459         lyxfont.C
5460
5461         * lyxfont.C: add number to initializaton of statics, move several
5462         inlines here. constify several local vars. some whitespace
5463         cleanup. Dont hide outerscope variables.
5464
5465         * Spacing.h: add two new constructors to match the set methods.
5466
5467         * ShareContainer.h: new file, will perhaps be moved to support
5468
5469         * ParameterStruct.h: new file
5470
5471         * ParagraphParameters.h: new file
5472
5473         * ParagraphParameters.C: new file
5474
5475         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
5476         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
5477
5478         * BufferView_pimpl.C: ParagraphParameter changes.
5479         * buffer.C: Likewise.
5480         * bufferview_funcs.C: Likewise.
5481         * text.C: Likewise.
5482         * text2.C: Likewise.
5483
5484 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5485
5486         * lyxfind.C (LyXReplace): do not redefine default argument in
5487         implementation.
5488         (IsStringInText): ditto
5489         (SearchForward): ditto
5490         (SearchBackward): ditto
5491
5492 2001-03-06  Juergen Vigna  <jug@sad.it>
5493
5494         * lyxfind.C (IsStringInText): put parentes around expressions.
5495
5496 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
5497
5498         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
5499
5500 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
5501
5502         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
5503
5504         * stl_string_fwd.h: add comment
5505
5506         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
5507
5508         * tabular.h:
5509         * tabular.C: remove unused DocBook methods
5510
5511         * intl.C:
5512         * language.C:
5513         * paragraph.C:
5514         * buffer.C:
5515         killed DO_USE_DEFAULT_LANGUAGE
5516
5517 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5518
5519         * lyx_gui.C: do not include language.h.
5520
5521         * bufferview_funcs.C (ToggleAndShow): do not provide optional
5522         arguments in function implementation.
5523
5524 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5525
5526         * BufferView_pimpl.C: add <ctime>
5527
5528 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5529
5530         * BufferView_pimpl.C: add using std::find_if
5531
5532 2001-02-27  José Matos  <jamatos@fep.up.pt>
5533
5534         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
5535         by OnlyPath.
5536
5537 2001-02-11  José Matos  <jamatos@fep.up.pt>
5538
5539         * buffer.C (makeDocBookFile): command styles now have a parameter as
5540         "title" by default.
5541
5542 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
5543
5544         * layout_forms.[Ch]: removed
5545         * lyx_cb.[Ch]: out character
5546         * lyx_gui.C: out character
5547         * lyx_gui_misc.C: out character
5548         * bufferview_funcs.C: : out character,
5549         added toggleall as parameter in ToggleAndShow
5550
5551 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
5552
5553         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
5554
5555         * text2.C (SetCurrentFont): Disable number property at boundary.
5556
5557 2001-02-26  Juergen Vigna  <jug@sad.it>
5558
5559         * lyxfunc.C (getStatus): added a string argument override function so
5560         that this is correctly called from LyXFunc::Dispatch if it contains a
5561         do_not_use_argument which is used!
5562         (Dispatch): added check for "custom" export and call appropriate func.
5563
5564 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
5565
5566         * lyxrc.C: Add language_command_local, language_use_babel and
5567         language_global_options.
5568
5569         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
5570
5571         * buffer.C (makeLaTeXFile): Use language_use_babel and
5572         language_global_options.
5573
5574 2001-02-23  Juergen Vigna  <jug@sad.it>
5575
5576         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
5577         which works with LyXText and putted it inside BufferView. Here now we
5578         only call for that part the BufferView::Dispatch() function.
5579
5580         * BufferView.C (Dispatch): added.
5581
5582         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
5583         functions which needs to use a LyXText over from LyXFunc.
5584         (MenuInsertLyXFile): added
5585         (getInsetByCode): added
5586         (moveCursorUpdate): added
5587         (static TEXT): added
5588
5589 2001-02-22  Juergen Vigna  <jug@sad.it>
5590
5591         * BufferView_pimpl.C (update): call a status update to see if LyXText
5592         needs it.
5593
5594 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5595
5596         * vc-backend.C (revert): implement for CVS
5597         (getLog): implement for CVS
5598
5599 2001-02-20  Juergen Vigna  <jug@sad.it>
5600
5601         * text2.C (ClearSelection): added BufferView param for inset_owner call
5602
5603         * lyxfunc.C (TEXT): added this function and use it instead of
5604         directly owner->view()-text of getLyXText().
5605
5606 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
5607
5608         * src/layout_forms.C: out preamble
5609         * src/layout_forms.h: out preamble
5610         * src/lyx_cb.C: out preamble
5611         * src/lyx_cb.h: out preamble
5612         * src/lyx_gui.C: out preamble
5613         * src/lyx_gui_misc.C: out preamble
5614         * src/lyxfunc.C: connect with guii preamble
5615
5616 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
5617
5618         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
5619
5620 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
5621
5622         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
5623         whether to run bibtex.
5624
5625 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
5626
5627         * Makefile.am (lyx_SOURCES): Remove BackStack.h
5628
5629 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
5630
5631         * Makefile.am (lyx_SOURCES): removed bibforms.h
5632
5633         * vspace.h: doxygen
5634
5635         * text.C (GetVisibleRow): make several local vars const
5636
5637         * tabular.C: small cleanup.
5638
5639         * lyxserver.C (callback): use compare instead of strncmp
5640
5641         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
5642         inlines to after class or to paragraph.C
5643
5644         * lyxfont.h: remove friend operator!=
5645
5646         * converter.h: move friend bool operator< to non friend and after
5647         class def.
5648
5649         * combox.h: small cleanup
5650
5651         * buffer.h: doxygen, remove unused constructor, move inclas inlies
5652         to inlines after class def.
5653
5654         * buffer.C (pop_tag): use string operations instead of strcmp
5655
5656         * bmtable.c: doxygen, small cleanup
5657
5658         * LaTeX.h: remove friend operator==
5659
5660 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
5661
5662         * screen.C:
5663         * lyxrc.[Ch]:
5664         * lyxfunc.C:
5665         * lyxfont.[Ch]:
5666         * lyx_cb.C:
5667         * intl.[Ch]:
5668         * commandtags.h:
5669         * buffer.C:
5670         * WorkArea.[Ch]:
5671         * LyXAction.C:
5672         * BufferView_pimpl.C:
5673         * BufferView.[Ch]: remove cruft
5674
5675 2001-02-14  Juergen Vigna  <jug@sad.it>
5676
5677         * lyxfunc.C: removed #if 0 unused code
5678
5679         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
5680
5681         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
5682
5683         * text2.C (SetSelection): added a BufferView * parameter
5684
5685 2001-02-13  Juergen Vigna  <jug@sad.it>
5686
5687         * lyxfunc.C (Dispatch): fixed protected blank problem.
5688         * BufferView2.C (protectedBlank): added LyxText * parameter.
5689
5690         * tabular.C (AppendRow): forgot to set row_info of newly added row.
5691         (AppendColumn): same as above for column_info.
5692
5693         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
5694         (moveCursorUpdate): use a LyXText param for support of InsetText.
5695
5696         * BufferView_pimpl.C (doubleClick): added support for InsetText.
5697         (tripleClick): ditto
5698
5699         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
5700
5701         * BufferView_pimpl.C (update): added LyXText param to honor insets.
5702
5703         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
5704
5705         * text2.C (SetSelection): set correct update status if inset_owner
5706         (ToggleFree): ditto
5707
5708 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
5709
5710         * tabular.C: remove some commented code.
5711
5712 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
5713
5714         * BufferView_pimpl.C: call hideSplash()
5715
5716         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
5717
5718         * include_form.h:
5719         * bibforms.h: remove
5720
5721         * lyxfunc.C:
5722         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
5723           add LFUN_CHILD_CREATE
5724
5725         * counters.h: fix tiny typo
5726
5727         * lyx_cb.C:
5728         * lyx.h:
5729         * lyx_gui.C:
5730         * lyx.C: move splash to frontends/xforms/
5731
5732         * lyx_gui_misc.C: move Include and Bibform to frontends
5733
5734         * lyxvc.h: clarify comment
5735
5736         * vspace.C: tiny housekeeping
5737
5738 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
5739
5740         * text.C (PrepareToPrint): RTL Fix.
5741
5742         * paragraph.C (GetUChar): New method.
5743         (String):  Use GetUChar.
5744
5745         * buffer.C (asciiParagraph): Use GetUChar.
5746
5747 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
5748
5749         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
5750
5751 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
5752
5753         * buffer.h:
5754         * buffer.C: rename to getLogName(), handle
5755           build log / latex log nicely
5756
5757 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5758
5759         * MenuBackend.C:
5760         * MenuBackend.h: remove support for reference menuitem type.
5761
5762 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
5763
5764         * BufferView_pimpl.C: housekeeping
5765         * BufferView_pimpl.h:
5766         * LyXView.h:
5767         * Makefile.am:
5768         * Timeout.C:
5769         * Timeout.h:
5770         * minibuffer.h: move Timeout GUI-I
5771
5772 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
5773
5774         * lyxrc.C (read): Update converters data-structures.
5775
5776 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
5777
5778         * LaTeX.h (operator!=): add operator != for Aux_Info
5779
5780 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
5781
5782         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
5783
5784         * LaTeXLog.C: deleted, useful code moved to Buffer
5785
5786         * buffer.h:
5787         * buffer.C: new function getLatexLogName()
5788
5789         * lyx_gui_misc.C:
5790         * lyx_gui.C:
5791         * lyxvc.C:
5792         * lyxvc.h:
5793         * lyxfunc.C: use frontends for LaTeX and VC logs
5794
5795 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5796
5797         * LaTeX.h: yet another std:: that Allan forgot.
5798
5799         * Variables.C (set): renamed from isset(), because this clashes
5800         with some HP-UX macros (grr).
5801
5802 2001-02-06  Allan Rae  <rae@lyx.org>
5803
5804         * LaTeX.h: Another bug fix.  Missing std:: this time.
5805
5806 2001-02-04  Allan Rae  <rae@lyx.org>
5807
5808         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
5809         floats problem. I've left it commented out because it's not quite
5810         correct.  It should also test that the current object is a table or
5811         figure inset.  But I haven't gotten around to figuring out how to do
5812         that.  I *think* it'll be something like: "table" == inset.type()
5813
5814         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
5815         bool.
5816
5817 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
5818
5819         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
5820         all the citation/databases/styles in the auxilary file.
5821         (run): Rerun latex if there was a babel language error.
5822
5823 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
5824
5825         * text.C (Backspace): Preserve the font when changing newline char
5826         with a space.
5827         (BreakParagraph): If the cursor is before a space, delete the space.
5828
5829         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
5830
5831 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
5832
5833         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
5834         new argument (code).
5835         (ChangeCitationsIfUnique): New method.
5836
5837         * paragraph.C (GetPositionOfInset): Handle bibkey.
5838
5839 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5840
5841         * BufferView_pimpl.h: change type of Position::par_pos to
5842         LyXParagraph::size_type.
5843
5844 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
5845
5846         * BufferView_pimpl.C (savePosition, restorePosition): Write
5847         messages to minibuffer.
5848
5849 2001-01-28  José Matos  <jamatos@fep.up.pt>
5850
5851         * buffer.C (makeDocBookFile): adds support for document language.
5852         A silly restriction on the name of LatexCommand types where removed.
5853         Added support for CDATA sections, allows to chars unescaped, used
5854         among others in code, to avoid escape < and >.
5855
5856 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
5857
5858         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
5859         saved positions instrad of a stack. Furthermore, a position is
5860         stored using paragraph id/paragraph position.
5861
5862         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
5863         Remove LFUN_REF_BACK.
5864
5865 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
5866
5867         * converter.C (dvipdfm_options): New method.
5868
5869 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
5870
5871         * vspace.C (isValidLength): Fix for empty input string.
5872
5873 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5874
5875         * LyXAction.C (init): change description of LFUN_FIGURE to
5876         "Insert Graphics"
5877
5878 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5879
5880         * LaTeX.C: add using directive
5881
5882 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
5883
5884         * MenuBackend.C (expand): Fix the sorting of the formats.
5885
5886 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
5887
5888         * lyx_main.C: tiny error message fix
5889
5890 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5891
5892         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
5893         calling fl_initialize(). This fixes the problem with ',' as
5894         decimal separator in text files.
5895
5896 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
5897
5898         * trans.C (process): Fix the keymap bug.
5899
5900 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
5901
5902         * LaTeX.C (scanAuxFiles): New method. Provides support for
5903         multiple bibliographies (when using the bibtopic/bibunits pacakges).
5904         (scanLogFile) Scan for "run BibTeX" messages.
5905
5906         * buffer.C (makeLaTeXFile): Do not load the ae package when using
5907         OT1 font encoding. Also, load the aecompl package if the ae
5908         package is loaded.
5909
5910         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
5911
5912 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5913
5914         * texrow.C (increasePos): turn two error messages into debug
5915         messages.
5916
5917 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
5918
5919         * LaTeX.C (scanAux): Handle the \@input macro.
5920         (runBibTeX): Use scanAux().
5921
5922         * language.C (latex_options_): New field.
5923
5924         * LaTeXFeatures.C (getMacros): Add language macros.
5925
5926         * buffer.C (makeLaTeXFile): Small fix.
5927
5928 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5929
5930         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
5931
5932         * text2.C: add a using directive.
5933
5934 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
5935
5936         * BufferView2.C:
5937         * lyx_gui_misc.h:
5938         * lyxfr1.C:
5939         * lyxfunc.C: kill LyXBell.
5940
5941 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
5942
5943         * text.C (IsBoundary): Remove the error message
5944
5945         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
5946
5947         * lyxrc.C (setDefaults): Correct initialization value for
5948         font_norm_type.
5949
5950 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5951
5952         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
5953         gotoError().
5954
5955         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
5956         and GotoNextNote().
5957
5958         * src/LyXAction.C: Added reference-next.
5959
5960         * text.C (InsertChar): Use contains instead of strchr.
5961
5962         * lyx_cb.C (MenuInsertLabel): Enable default value code.
5963
5964 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
5965
5966         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
5967         alignment commands (when needed).
5968
5969         * text.C (InsertChar): Add ':' to number separator chars.