]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
more Alert:: work
[lyx.git] / src / ChangeLog
1 2003-03-29  John Levon  <levon@movementarian.org>
2
3         * lyx_cb.C:
4         * BufferView.C:
5         * buffer.C: warnings pushed down from support/,
6         kill err_alert
7
8 2003-03-29  John Levon  <levon@movementarian.org>
9
10         * lyxfunc.C: safety check for C-r (revert)
11
12 2003-03-29  John Levon  <levon@movementarian.org>
13
14         * bufferlist.h:
15         * bufferlist.C: several UI fixes using Alert::prompt.
16         Fix the pointless looping quit code. Fix stupid revert
17         behaviour (bug 938)
18
19         * lyxvc.h:
20         * lyxvc.C:
21         * lyx_cb.C: use Alert::prompt
22
23         * lyx_main.C: remove a silly question
24
25         * lyxfunc.C: remove a couple of silly questions,
26         use Alert::prompt
27         
28 2003-03-28  John Levon  <levon@movementarian.org>
29
30         * text2.C: fix bug 974 (End on empty par)
31
32 2003-03-28  John Levon  <levon@movementarian.org>
33
34         * BufferView_pimpl.C:
35         * LyXAction.C:
36         * lfuns.h: remove do-nothing math greek lfuns
37  
38 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
39
40         * lyxgluelength.h (isValidGlueLength): add default arg on
41         parameter 2. Remove default arg from friend in class.
42
43         * lyxlength.h (isValidLength): add default arg on parameter 2.
44         Remove default arg from friend in class.
45
46         * text2.C (LyXText): adjust, initialize refresh_row.
47         (init): adjust
48         (removeRow): adjust
49         (insertRow): adjust
50         (insertParagraph): adjst
51         (redoParagraphs): adjust
52         (fullRebreak): adjust
53         (updateCounters): adjust
54         (deleteEmptyParagraphMechanism): first attempt at fixing a
55         crashing bug.
56
57         * text.C (top_y): adjust
58         (setHeightOfRow): adjust
59         (getRow): adjust
60         (getRowNearY): adjust
61
62         * lyxtext.h: include RowList.h
63         (~LyXText): not needed anymore, deleted.
64         (firstRow): modify for RowList
65         (lastRow): new function
66         Delete firstrow and lastrow class variables, add a Rowlist
67         rowlist_ class variable.
68
69         * lyxrow.C (lastPos): use empty() and not !size() to check if a
70         paragraph is empty.
71
72         * RowList.C (insert): fix case where it == begin().
73
74 2003-03-26  Angus Leeming  <leeming@lyx.org>
75
76         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
77         the thesaurus dialog.
78
79 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
80
81         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
82
83         * RowList.[Ch]: new files
84
85         * ParagraphList.C (erase): handle the case where it == begin
86         correctly.
87
88 2003-03-25  John Levon  <levon@movementarian.org>
89
90         * Makefile.am:
91         * aspell_local.h:
92         * aspell.C: add new aspell support
93
94         * lyxrc.h:
95         * lyxrc.C: Make use_pspell be use_spell_lib. Always
96         have it accessible.
97
98 2003-03-25  Angus Leeming  <leeming@lyx.org>
99
100         * lfuns.h:
101         * LyXAction.C (init): new LFUN_INSET_INSERT.
102
103         * BufferView_pimpl.C (dispatch): split out part of the
104         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
105
106         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
107         LFUN_INSET_APPLY.
108
109 2003-03-25  Angus Leeming  <leeming@lyx.org>
110
111         * lyxfunc.C (dispatch): changes to the Dialogs interface.
112
113 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
114
115         * text2.C:
116         * text3.C: remove useless row->height(0)
117
118 2003-03-25  John Levon  <levon@movementarian.org>
119
120         * lyxtext.h:
121         * text2.C:
122         * text3.C: rename the refreshing stuff to better names
123
124 2003-03-24  John Levon  <levon@movementarian.org>
125
126         * BufferView_pimpl.h:
127         * BufferView_pimpl.C: update layout choice on a mouse
128         press/release
129
130 2003-03-23  John Levon  <levon@movementarian.org>
131
132         * Makefile.am: fix commandtags.h reference
133
134 2003-03-22  John Levon  <levon@movementarian.org>
135
136         * BufferView_pimpl.C:
137         * lyxtext.h:
138         * rowpainter.C:
139         * rowpainter.h:
140         * text.C:
141         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
142
143 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
144
145         * lyxtext.h:
146         * text.C: take the rtl methods out of line
147
148 2003-03-21 André Pönitz <poenitz@gmx.net>
149
150         * metricsinfo.[Ch]: new files containing structures to be passed around
151         during the two-phase-drawing...
152
153 2003-03-21 André Pönitz <poenitz@gmx.net>
154
155         * lyxtextclass.C: read 'environment' tag.
156
157 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
158
159         * text2.C (removeRow): fix bug 964
160
161 2003-03-20  John Levon  <levon@movementarian.org>
162
163         * rowpainter.C:
164         * text.C:
165         * text2.C: paint cleanups. Inset::update() dropped font
166         parameter
167
168 2003-03-19  John Levon  <levon@movementarian.org>
169
170         * lyxfunc.C: only fitcursor/markDirty if available()
171
172 2003-03-19  John Levon  <levon@movementarian.org>
173
174         * commandtags.h: rename to ...
175
176         * lfuns.h: ... this, and renumber / cleanup
177
178 2003-03-19  John Levon  <levon@movementarian.org>
179
180         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
181         fit the cursor after an lfun
182
183         * BufferView.h:
184         * BufferView.C:
185         * BufferView_pimpl.h:
186         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
187
188         * LyXAction.C: layout-character should have ReadOnly
189
190         * ParagraphParameters.C:
191         * buffer.C:
192         * bufferview_funcs.C:
193         * lyx_cb.C:
194         * lyxfind.C:
195         * lyxtext.h:
196         * text.C:
197         * text2.C:
198         * text3.C:
199         * undo_funcs.C: changes from above
200
201 2003-03-18  John Levon  <levon@movementarian.org>
202
203         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
204         remove it from update()
205
206         * lyxfunc.C: update layout choice after an lfun
207
208         * text3.C: remove extra updateLayoutChoice()s
209
210 2003-03-18  John Levon  <levon@movementarian.org>
211
212         * text.C: top_y change means full repaint, fix
213         a drawing bug with cursor movement
214
215 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
216
217         * lyxtext.h:
218         * text.C:
219         * text2.C: anchor row on setCursor
220
221 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
222
223         * lyxtext.h: remove almost all mutable keywords
224         * text.C:
225         * text2.C:
226         * text3.C: remove const keywords accordingly
227
228 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
229
230         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
231         anon namespace
232         (TeXEnvironment): ditto
233         (TeXOnePar): ditto
234
235 2003-03-17  John Levon  <levon@movementarian.org>
236
237         * text.C (rowBreakPoint): remove attempt to fix displayed
238         math insets inside a manual label
239
240 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
241
242         * lyxtext.h: remove BufferView* as first arg from almost all class
243         functions.
244         * other files: adjust.
245
246 2003-03-17  John Levon  <levon@movementarian.org>
247
248         * lyxtext.h:
249         * undo_funcs.C:
250         * text2.C: more paint cleanups
251
252         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
253
254         * rowpainter.h:
255         * rowpainter.C: remove "smart" background painting code
256
257 2003-03-16  John Levon  <levon@movementarian.org>
258
259         * lyxtext.h:
260         * text.C:
261         * text2.C:
262         * text3.C: add helper functions for setting refresh_row/y
263
264 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
265
266         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
267         newline inset which *can* get inserted in the pass_thru layouts.
268         This is primarily for literate documents.
269
270 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
271
272         * buffer.C: increment LYX_FORMAT to 223
273
274 2003-03-14 André Pönitz <poenitz@gmx.net>
275
276         * textclass.h: prepare for environment handling, ws changes
277         * lyxlayout.C: read latexheader and latexfooter tags
278
279 2003-03-14  John Levon  <levon@movementarian.org>
280
281         * text2.C: rewrite ::status() a bit
282
283 2003-03-13  John Levon  <levon@movementarian.org>
284
285         * lyxtext.h: add some docs
286
287 2003-03-13  John Levon  <levon@movementarian.org>
288
289         * lyxtext.h:
290         * text.C:
291         * text2.C:
292         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
293
294 2003-03-13  John Levon  <levon@movementarian.org>
295
296         * text3.C: fix appendix redrawing
297
298 2003-03-13  John Levon  <levon@movementarian.org>
299
300         * text.C (setHeightOfRow):
301         * rowpainter.h:
302         * rowpainter.C: make appendix mark have the text
303           "Appendix" so the user knows what it is
304
305         * LColor.h:
306         * LColor.C: s/appendixline/appendix/ from above
307
308 2003-03-13  John Levon  <levon@movementarian.org>
309
310         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
311
312         * text.C: fix a getChar(pos) bug properly
313
314 2003-03-13  Angus Leeming  <leeming@lyx.org>
315
316         * commandtags.h:
317         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
318         Probably only temporary. Let's see how things pan out.
319
320         * BufferView.C (unlockInset):
321         * BufferView_pimpl.C (fitCursor):
322         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
323
324         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
325         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
326
327         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
328         new functions that convert ParagraphParameters to and from a string.
329
330         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
331         BufferView::Pimpl's dispatch.
332         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
333
334 2003-03-13 André Pönitz <poenitz@gmx.net>
335
336         * lyxfunc.C:
337         * text3.C:
338         * factory.C: make it aware of InsetEnv
339
340 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
341
342         * text2.C (setCursor): never ask for one past last
343         (setCursor): add some debugging messages.
344
345         * text.C (singleWidth): never ask for one past last
346         (singleWidth): ditto
347         (leftMargin): ditto
348         (rightMargin): ditto
349         (rowBreakPoint): ditto
350         (setHeightOfRow): ditto
351         (prepareToPrint): ditto
352
353         * rowpainter.C (paintBackground): never ask for one past last
354         (paintText): never ask for one past last
355
356         * paragraph_pimpl.C (getChar): make the assert stricter, never
357         allow the one past last pos to be taken
358
359         * paragraph.C (getChar): ws changes only
360
361         * lyxrow.C (nextRowIsAllInset): never ask for one past last
362         (numberOfSeparators): ditto
363         (numberOfHfills): ditto
364
365 2003-03-12  John Levon  <levon@movementarian.org>
366
367         * author.h:
368         * author.C:
369         * bufferparams.h:
370         * bufferparams.C:
371         * paragraph_funcs.C: fix per-buffer authorlists
372
373 2003-03-12  John Levon  <levon@movementarian.org>
374
375         * text.C: fix newline in right address
376
377 2003-03-12  Angus Leeming  <leeming@lyx.org>
378
379         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
380         duplicate those in LyXFunc::dispatch.
381
382         * commandtags.h:
383         * LyXAction.C:
384         * ToolbarDefaults.C:
385         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
386         Add LFUN_FONTFREE_UPDATE.
387
388         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
389         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
390
391         * bufferview_func.[Ch]: several new functions to facilliate
392         transfer of data to and from the character dialog.
393
394 2003-03-12  John Levon  <levon@movementarian.org>
395
396         * buffer.C:
397         * paragraph.h:
398         * paragraph.C:
399         * paragraph_funcs.C:
400         * paragraph_pimpl.C:
401         * sgml.C:
402         * tabular.C:
403         * text.C:
404         * text3.C: remove META_NEWLINE in favour of an inset
405
406         * rowpainter.h:
407         * rowpainter.C: remove paintNewline (done by inset)
408
409 2003-03-12  John Levon  <levon@movementarian.org>
410
411         * paragraph_pimpl.C: complain about bad getChar()s
412         for a while at least
413
414 2003-03-12  John Levon  <levon@movementarian.org>
415
416         * buffer.h:
417         * buffer.C: move paragraph read into a separate function,
418         a little renaming to reflect that.
419
420         * bufferparams.h:
421         * bufferparams.C: remove the author_ids map, not necessary now
422
423         * factory.h:
424         * factory.C: moved Buffer::readInset to here
425
426         * paragraph_funcs.h:
427         * paragraph_funcs.C: readParagraph free function moved from
428         buffer.C
429
430         * tabular.C: name change
431
432 2003-03-12  John Levon  <levon@movementarian.org>
433
434         * buffer.C:
435         * ParagraphParameters.C: move par params input to
436         a read() method
437
438         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
439         behave like a normal read from the stream wrt reading
440         a line vs. a \\token
441
442 2003-03-12  John Levon  <levon@movementarian.org>
443
444         * paragraph.C:
445         * ParagraphParameters.h:
446         * ParagraphParameters.C: move output code to a
447         ::write() method
448
449 2003-03-12  John Levon  <levon@movementarian.org>
450
451         * BufferView.C (insertLyXFile):
452         * buffer.h:
453         * buffer.C:
454         * tabular.C: use a parlist iterator for creating the
455           document.
456
457 2003-03-12  John Levon  <levon@movementarian.org>
458
459         * buffer.C: make current_change static local not
460           static file-scope
461
462 2003-03-12  John Levon  <levon@movementarian.org>
463
464         * buffer.C: fix insertStringAsLines for change tracking
465
466 2003-03-12  John Levon  <levon@movementarian.org>
467
468         * BufferView.C:
469         * tabular.C:
470         * buffer.h:
471         * buffer.C:
472         * bufferparams.h:
473         * bufferparams.C: move author list into params. Rename some
474           functions. Move the header reading into a separate token
475           loop. Move the header token reading into BufferParams.
476
477 2003-03-12  John Levon  <levon@movementarian.org>
478
479         * changes.C: put debug inside lyxerr.debugging() checks
480
481 2003-03-11 André Pönitz <poenitz@gmx.net>
482
483         * factory.C: make it aware of InsetHFill
484
485 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
486
487         * buffer.C (latexParagraphs): move function from here...
488         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
489         args.
490
491 2003-03-10  Angus Leeming  <leeming@lyx.org>
492
493         * LyXAction.C (init): fix bug in poplating array with multiple entries
494         with the same LFUN (spotted by JMarc).
495
496 2003-03-10  John Levon  <levon@movementarian.org>
497
498         * text.C:
499         * text2.C: move getColumnNearX() near its
500         only call site
501
502 2003-03-10  John Levon  <levon@movementarian.org>
503
504         * text.C: fix break before a minipage
505
506 2003-03-10  John Levon  <levon@movementarian.org>
507
508         * text.C: fix the last commit
509
510 2003-03-09  John Levon  <levon@movementarian.org>
511
512         * lyxtext.h:
513         * text.C:
514         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
515         bug 365 (don't break before insets unless needed). Don't
516         return a value > last under any circumstances.
517
518 2003-03-09  Angus Leeming  <leeming@lyx.org>
519
520         * BufferView_pimpl.C (trackChanges, dispatch): call
521         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
522
523 2003-03-09  Angus Leeming  <leeming@lyx.org>
524
525         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
526         than Dialogs::showAboutlyx().
527
528 2003-03-09  Angus Leeming  <leeming@lyx.org>
529
530         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
531         than Dialogs::showTabularCreate().
532
533 2003-03-09  John Levon  <levon@movementarian.org>
534
535         * lyxtext.h:
536         * text.C:
537         * text2.C: 3rd arg to nextBreakPoint was always the same.
538           Use references.
539
540 2003-03-08  John Levon  <levon@movementarian.org>
541
542         * lyxrow.C:
543         * paragraph.C:
544         * paragraph.h:
545         * rowpainter.C:
546         * text.C:
547         * text2.C: Remove the "main" bit from the "main body"
548           notion.
549
550 2003-03-08  John Levon  <levon@movementarian.org>
551
552         * text.C (leftMargin): The left margin of an empty
553         manual label paragraph should not include the label width
554         string length.
555
556         * text.C (prepareToPrint): don't attempt to measure hfills
557         for empty manual label paragraphs - the answer should be 0
558
559 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
560
561         * CutAndPaste.C: remove commented code and reindent.
562
563 2003-03-08  John Levon  <levon@movementarian.org>
564
565         * lyxfunc.h:
566         * lyxfunc.C: move reloadBuffer()
567
568         * BufferView.h:
569         * BufferView.C: to here
570
571         * lyxvc.C: add comment
572
573         * vc-backend.h:
574         * vc-backend.C: call bv->reload() to avoid
575           getStatus() check on MENURELOAD
576
577 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
578
579         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
580         to an old format .dep file.
581
582 2003-03-07  Angus Leeming  <leeming@lyx.org>
583
584         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
585         when the LFUN_MOUSE_RELEASE should have been handled by
586         inset->localDispatch.
587
588 2003-03-07  Angus Leeming  <leeming@lyx.org>
589
590         * BufferView_pimpl.C (dispatch):
591         * LyXAction.C (init):
592         * ToolbarDefaults.C (init):
593         * commandtags.h:
594         * lyxfunc.C (getStatus):
595         remove LFUN_INSET_GRAPHICS.
596
597         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
598
599 2003-03-07  Angus Leeming  <leeming@lyx.org>
600
601         * commandtags.h:
602         * LyXAction.C (init):
603         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
604
605         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
606
607         * commandtags.h:
608         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
609
610         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
611         localDispatch method LFUN_INSET_DIALOG_UPDATE.
612
613 2003-03-07  Angus Leeming  <leeming@lyx.org>
614
615         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
616         remove "ert".
617
618 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
619
620         * ParagraphList.C (front): new function
621         (back): implement
622
623 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
624
625         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
626         and top_row_offset_. removed var first_y.
627         * text.C (top_y):
628         * text2.C (LyXText, removeRow):
629         * text3.C:
630         * BufferView_pimpl.C:
631         use these methods instead of using first_y
632
633 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
634
635         * text2.C (pasteSelection): adjust for checkPastePossible
636
637         * CutAndPaste.C: remove Paragraph * buf and replace with
638         ParagraphList paragraphs.
639         (DeleteBuffer): delete
640         (cutSelection): change the tc type to textclass_type
641         (copySelection): change the tc type to textclass_type
642         (copySelection): adjust for ParagraphList
643         (pasteSelection): change the tc type to textclass_type
644         (pasteSelection): adjust for Paragraphlist
645         (nrOfParagraphs): simplify for ParagraphList
646         (checkPastePossible): simplify for ParagraphList
647         (checkPastePossible): remove unused arg
648
649         * ParagraphList.C (insert): handle the case where there are no
650         paragraphs yet.
651
652         * CutAndPaste.h: make CutAndPaste a namespace.
653
654         * text3.C (dispatch): adjust
655
656         * text.C (breakParagraph): add a ParagraphList as arg
657
658         * paragraph_funcs.C (breakParagraph): change to take a
659         BufferParams and a ParagraphList as args.
660         (breakParagraphConservative): ditto
661         (mergeParagraph): ditto
662         (TeXDeeper): add a ParagraphList arg
663         (TeXEnvironment): ditto
664         (TeXOnePar): ditto
665
666         * buffer.C (readLyXformat2): adjust
667         (insertStringAsLines): adjust
668         (latexParagraphs): adjust
669
670         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
671         (cutSelection): adjust
672         (pasteSelection): adjust
673
674         * BufferView_pimpl.C (insertInset): adjust
675
676 2003-03-05  Angus Leeming  <leeming@lyx.org>
677
678         * commandtags.h:
679         * LyXAction.C (init):
680         * BufferView_pimpl.C (dispatch):
681         * lyxfunc.C (getStatus):
682         remove LFUN_CHILD_INSERT.
683
684         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
685
686 2003-03-05  Angus Leeming  <leeming@lyx.org>
687
688         * commandtags.h:
689         * LyXAction.C (init):
690         * src/factory.C (createInset):
691         * lyxfunc.C (getStatus):
692         * text3.C (dispatch):
693         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
694
695         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
696
697 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
698
699         * ParagraphList.C (insert): handle insert right before end()
700         (erase): fix cases where it can be first or last paragraph.
701
702 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
703
704         * paragraph_funcs.C (TeXEnvironment): remove all usage of
705         Paragraph::next and Paragraph::previous
706         (TeXOnePar): ditto
707
708         * text.C (breakParagraph): adjust
709
710         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
711         BufferParams& as arg.
712         (breakParagraph): use ParagraphList::insert
713         (breakParagraphConservative): take a Buffer* instead of a
714         BufferParams& as arg.
715         (breakParagraphConservative): use ParagraphList::insert.
716
717         * buffer.C (insertStringAsLines): un-const it
718         (insertStringAsLines): adjust
719
720         * ParagraphList.C (insert): new function
721
722         * CutAndPaste.C (pasteSelection): adjust
723
724         * text.C (backspace): adjust
725
726         * tabular.C (SetMultiColumn): adjust
727
728         * CutAndPaste.C (cutSelection): adjust
729         (pasteSelection): adjust
730
731         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
732         Buffer const * as arg
733
734         * ParagraphList.C (erase): new function
735         * paragraph_funcs.C (mergeParagraph): use it
736         (mergeParagraph): make it take a Buffer* instead of a
737         BufferParams* as arg
738
739         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
740         as arg
741         (breakParagraphConservative): ditto
742
743         * paragraph.h: remove the breakParagraph friend
744
745         * paragraph.C (eraseIntern): new function
746         (setChange): new function
747
748         * paragraph_funcs.C (mergeParagraph): make it take a
749         ParagraphList::iterator instead of a Paragraph *, adjust
750         accordingly.
751
752         * paragraph.h: move an #endif so that the change tracking stuff
753         also works in the NO_NEXT case.
754
755 2003-03-04  Angus Leeming  <leeming@lyx.org>
756
757         * commandtags.h:
758         * LyXAction.C: new LFUN_INSET_MODIFY.
759
760         * BufferView_pimpl.C (dispatch): if an inset is found to be open
761         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
762
763 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
764
765         * several files: ws changes only
766
767         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
768         (TeXEnvironment): ditto
769         (TeXDeeper): ditto
770
771         * buffer.C (makeLaTeXFile): adjust
772         (latexParagraphs): make it take ParagraphList::iterator as args
773
774 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
775
776         * buffer.C (latexParagraphs): adjust
777
778         * paragraph.C (TeXOnePar): move function...
779         (optArgInset): move function...
780         (TeXEnvironment): move function...
781         * paragraph_pimpl.C (TeXDeeper): move function...
782         * paragraph_funcs.C: ...here
783
784         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
785
786 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
787
788         * buffer.C (readInset): remove compability code for old Figure and
789         InsetInfo insets
790
791 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
792
793         * buffer.C: ws changes
794         (readInset):
795
796         * BufferView_pimpl.C: ditto
797         * author.C: ditto
798         * buffer.h: ditto
799         * bufferlist.h: ditto
800         * changes.h: ditto
801         * lyxfunc.C: ditto
802
803 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
804
805         * converter.[Ch]: split into itself +
806         * graph.[Ch]
807         * format.[Ch]
808         * Makefile.am: += graph.[Ch] + format.[Ch]
809         * MenuBackend.C
810         * buffer.C
811         * exporter.C
812         * importer.C
813         * lyx_main.C
814         * lyxfunc.C
815         * lyxrc.C: added #include "format.h"
816
817 2003-02-27  Angus Leeming  <leeming@lyx.org>
818
819         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
820           a label.
821
822         * factory.C (createInset): add "label" to the factory.
823
824         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
825           string and do no more.
826
827 2003-02-27  Angus Leeming  <leeming@lyx.org>
828
829         * commandtags.h:
830         * LyXAction.C (init):
831         * factory.C (createInset):
832         * BufferView_pimpl.C (dispatch):
833           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
834
835         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
836
837         * lyxfunc.C (dispatch):
838         * text3.C (dispatch): pass name to params2string.
839
840 2003-02-26  Angus Leeming  <leeming@lyx.org>
841
842         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
843           blocks together.
844           Rearrange the ~includes. Strip out the unnecessary ones.
845
846         * factory.C (createInset): reformat.
847           create new insets for the various LFUN_XYZ_APPLY lfuns.
848
849 2003-02-26  John Levon  <levon@movementarian.org>
850
851         * lyxrow.h:
852         * lyxrow.C: add isParStart,isParEnd helpers
853
854         * paragraph.h: make isInserted/DeletedText take refs
855
856         * paragraph_funcs.h:
857         * paragraph_funcs.C: remove #if 0'd code
858
859         * lyxtext.h:
860         * text3.C:
861         * text2.C:
862         * text.C: use lyxrow helpers above.
863           Move draw and paint routines to RowPainter.
864           Make several methods use refs not pointers.
865           Make backgroundColor() const.
866           Add markChangeInDraw(), isInInset().
867           Merge changeRegionCase into changeCase.
868           Make workWidth() shouldn't-happen code into an Assert.
869
870         * rowpainter.h:
871         * rowpainter.C: new class for painting a row.
872
873         * vspace.h:
874         * vspace.C: make inPixels take a ref
875
876 2003-02-26  Angus Leeming  <leeming@lyx.org>
877
878         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
879         LFUN_REF_APPLY.
880
881 2003-02-25  John Levon  <levon@movementarian.org>
882
883         * ispell.C: give the forked command a more accurate name
884
885 2003-02-22  John Levon  <levon@movementarian.org>
886
887         * toc.h:
888         * toc.C: make TocItem store an id not a Paragraph *
889           (bug #913)
890
891 2003-02-21  Angus Leeming  <leeming@lyx.org>
892
893         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
894           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
895           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
896           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
897           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
898           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
899
900         * BufferView_pimpl.C (dispatch):
901         * LyXAction.C (init):
902         * factory.C (createInset):
903         * lyxfunc.C (getStatus, dispatch):
904         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
905
906 2003-02-21  Angus Leeming  <leeming@lyx.org>
907
908         * BufferView_pimpl.C (MenuInsertLyXFile):
909         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
910         * lyxfunc.C (menuNew, open, doImport):
911           no longer pass a LyXView & to fileDlg.
912
913 2003-02-21  Angus Leeming  <leeming@lyx.org>
914
915         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
916         * LyXAction.C: change, BIBKEY to BIBITEM.
917         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
918         Change InsetBibKey to InsetBibitem.
919         Change BIBKEY_CODE to BIBITEM_CODE.
920         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
921         * factory.C: replace insetbib.h with insetbibitem.h.
922         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
923         * paragraph.C: replace insetbib.h with insetbibitem.h.
924         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
925         Change bibkey() to bibitem().
926         * text.C: remove insetbib.h.
927         * text2.C: replace insetbib.h with insetbibitem.h.
928         change bibkey() to bibitem().
929         * text3.C: remove insetbib.h.
930         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
931
932 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
933
934         * lyxrc.C (output): enclose user email in quotes (in case there are
935         several words)
936
937 2003-02-18  John Levon  <levon@movementarian.org>
938
939         * buffer.h: add std::
940
941 2003-02-17  John Levon  <levon@movementarian.org>
942
943         * SpellBase.h:
944         * ispell.h:
945         * ispell.C:
946         * pspell.h:
947         * pspell.C: reworking. Especially in ispell, a large
948           number of clean ups and bug fixes.
949
950         * lyxfunc.C: fix revert to behave sensibly
951
952 2003-02-17 André Pönitz <poenitz@gmx.net>
953
954         * LyXAction.C:
955         * commandtags.h: new LFUN_INSERT_BIBKEY
956
957         * layout.h:
958         * lyxlayout.C:
959         * buffer.C:
960         * factory.C:
961         * text.C:
962         * text2.C:
963         * text3.C:
964         * paragraph.[Ch]:
965         * paragraph_func.C: remove special bibkey handling
966
967 2003-02-17  John Levon  <levon@movementarian.org>
968
969         * text.C (Delete): fix case where delete at the end of
970           the very first paragraph would not merge the pars
971
972 2003-02-17  John Levon  <levon@movementarian.org>
973
974         * lyxrow.C: fix lastPrintablePos()
975
976 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
977
978         * bufferparams.C (writeLaTeX): add a std:here
979
980         * buffer.C: and remove a using directive there
981
982 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
983
984         * buffer.C (makeLaTeXFile): move the code that generates the
985           preamble...
986
987         * bufferparams.C (writeLaTeX): ... in this new method
988
989         * LaTeXFeatures.C (getEncodingSet): make const
990           (getLanguages): make const
991
992         * MenuBackend.C (binding): returns the binding associated to this
993           action
994           (add): sets the status of each item by calling getStatus. Adds
995           some intelligence.
996           (read): add support for OptSubMenu
997           (expand): remove extra separator at the end of expanded menu
998
999 2003-02-15  John Levon  <levon@movementarian.org>
1000
1001         * BufferView.C:
1002         * BufferView_pimpl.C:
1003         * bufferlist.h:
1004         * bufferlist.C: remove pointless BufferStorage bloat. Remove
1005           inset code that had no actual effect. Remove unneeded status
1006           code.
1007
1008 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1009
1010         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1011           in preamble
1012
1013 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
1014
1015         * text.C (drawLengthMarker): also draw an arrow marker for
1016           symbolic lengths (medskip...)
1017
1018 2003-02-14  John Levon  <levon@movementarian.org>
1019
1020         * tabular.h:
1021         * tabular.C: better method names
1022
1023 2003-02-14  John Levon  <levon@movementarian.org>
1024
1025         * BufferView_pimpl.C:
1026         * bufferlist.C:
1027         * buffer.C:
1028         * converter.C:
1029         * lyx_cb.C:
1030         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1031           it's a more accurate name. Remove some pointless uses.
1032
1033 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1034
1035         * text2.C (LyXText): change order of initilizers to shut off
1036           warnings
1037
1038 2003-02-14  John Levon  <levon@movementarian.org>
1039
1040         * buffer.C: use ParIterator for getParFromID()
1041
1042         * paragraph.h:
1043         * paragraph.C:
1044         * paragraph_pimpl.h:
1045         * paragraph_pimpl.C: remove unused getParFromID()
1046
1047 2003-02-14  John Levon  <levon@movementarian.org>
1048
1049         * buffer.C: remove some very old #if 0'd parse code
1050
1051 2003-02-13  John Levon  <levon@movementarian.org>
1052
1053         * text.h:
1054         * text.C:
1055         * text2.C: move hfillExpansion(), numberOfSeparators(),
1056           rowLast(), rowLastPrintable(), numberofHfills(),
1057           numberOfLabelHfills() ...
1058
1059         * lyxrow.h:
1060         * lyxrow.C: ... to member functions here.
1061
1062         * paragraph.h:
1063         * paragraph.C:
1064         * lyxtext.h:
1065         * text.C: remove LyXText::beginningOfMainBody(), and call
1066           p->beginningOfMainBody() directly. Move the check for
1067           LABEL_MANUAL into the latter.
1068
1069         * text.h:
1070         * text.C:
1071         * text2.C:
1072         * vspace.C:
1073         * BufferView.h:
1074         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1075
1076         * text.h:
1077         * text.C:
1078         * text2.C:
1079         * text3.C:
1080         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1081           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1082
1083 2003-02-13  John Levon  <levon@movementarian.org>
1084
1085         * CutAndPaste.C: remove debug
1086
1087 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1088
1089         * paragraph.C (asString): remove two unused variables
1090
1091         * lyxtextclass.C (readTitleType):
1092           (Read):
1093           (LyXTextClass): handle new members titletype_ and titlename_
1094
1095         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1096
1097 2003-02-09  John Levon  <levon@movementarian.org>
1098
1099         * buffer.h:
1100         * buffer.C: replace hand-coded list with a map for the dep clean
1101
1102 2003-02-08  John Levon  <levon@movementarian.org>
1103
1104         * LaTeX.C: consolidate code into showRunMessage() helper
1105
1106 2003-02-08  John Levon  <levon@movementarian.org>
1107
1108         * lyxfind.C:
1109         * lyxtext.h:
1110         * text2.C:
1111         * BufferView.C: change setSelectionOverString() to setSelectionRange()
1112           and pass the size in explicitly
1113
1114         * BufferView_pimpl.h:
1115         * BufferView_pimpl.C:
1116         * BufferView.h:
1117         * BufferView.C: add getCurrentChange()
1118
1119         * BufferView_pimpl.h:
1120         * BufferView_pimpl.C: handle change lfuns
1121
1122         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1123           for changes. Mark pasted paragraphs as new.
1124
1125         * support/lyxtime.h:
1126         * support/lyxtime.C:
1127         * DepTable.C: abstract time_t as lyx::time_type
1128
1129         * LColor.h:
1130         * LColor.C: add colours for new text, deleted text, changebars
1131
1132         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1133           package use "usenames" option.
1134
1135         * commandtags.h:
1136         * lyxfunc.C:
1137         * LyXAction.C: add change lfuns
1138
1139         * Makefile.am:
1140         * author.h:
1141         * author.C: author handling
1142
1143         * buffer.h:
1144         * buffer.C: add a per-buffer author list, with first entry as
1145           current author. Handle new .lyx tokens for change tracking. Output
1146           author list to .lyx file. Output dvipost stuff to .tex preamble.
1147           Bump lyx format to 222.
1148
1149         * bufferlist.h:
1150         * bufferlist.C: add setCurrentAuthor() to reset current author details
1151           in all buffers.
1152
1153         * bufferparams.h:
1154         * bufferparams.C: add param for tracking
1155
1156         * bufferview_funcs.C: output change info in minibuffer
1157
1158         * Makefile.am:
1159         * changes.h:
1160         * changes.C: add change-tracking structure
1161
1162         * debug.h:
1163         * debug.C: add CHANGES debug flag
1164
1165         * lyxfind.h:
1166         * lyxfind.C: add code for finding the next change piece
1167
1168         * lyxrc.h:
1169         * lyxrc.C: add user_name and user_email
1170
1171         * lyxrow.h:
1172         * lyxrow.C: add a metric for the top of the text line
1173
1174         * lyxtext.h:
1175         * text.C: implement accept/rejectChange()
1176
1177         * lyxtext.h:
1178         * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1179           Strike through deleted text.
1180
1181         * paragraph.h:
1182         * paragraph.C:
1183         * paragraph_pimpl.h:
1184         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1185           to the insert functions. Rework erase to mark text as deleted, adding
1186           an eraseIntern() and a range-based erase(). Implement
1187           per-paragraph change lookup and accept/reject.
1188
1189         * paragraph_funcs.C: Fixup paste for change tracking.
1190
1191         * tabular.C: mark added row/columns as new.
1192
1193         * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1194           text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1195
1196         * text2.C: leave cursor at end of selection after a cut.
1197
1198 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1199
1200         * text.C (getLengthMarkerHeight):
1201         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1202         visible on screen too.
1203
1204 2003-02-07  John Levon  <levon@movementarian.org>
1205
1206         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1207
1208 2003-02-05  Angus Leeming  <leeming@lyx.org>
1209
1210         * lyxserver.C (read_ready): revert my patch of 11 September last year
1211         as it sends PC cpu through the roof. Presumably this means that
1212         the lyxserver will no longer run on an Alpha...
1213
1214 2003-01-30  Angus Leeming  <leeming@lyx.org>
1215
1216         * factory.C (createInset): create an InsetCommandParam of type "index"
1217         and use it to 'do the right thing'.
1218
1219         * text2.C (getStringToIndex): ensure that cursor position is always
1220         reset to the reset_cursor position.
1221
1222 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1223
1224         * lyxfunc.C (getStatus): "buffer-export custom" should never be
1225         disabled.
1226
1227 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
1228
1229         * bufferview.C:
1230         * lyxcb.C:
1231         * lyxfunc.C: Output messages with identical spelling, punctuation,
1232         and spaces
1233
1234 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
1235
1236         * MenuBackend.C (expandFormats): List only viewable export formats
1237         in "View" menu
1238
1239         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1240         message
1241
1242         * lyxfunc.C (getStatus): Make sure that formats other than
1243         "fax" can also be disabled
1244
1245 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1246
1247         * text3.C (dispatch): put the lfuns that insert insets in 3
1248         groups, and call doInsertInset with appropriate arguments.
1249         (doInsertInset): new function, that creates an inset and inserts
1250         it according to some boolean parameters.
1251
1252 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1253
1254         * buffer.C (readFile): remember to pass on 'par' when calling
1255         readFile recursively.
1256
1257 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1258
1259         * MenuBackend.C (expandFormats): add "..." to import formats.
1260
1261 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
1262
1263         * paragraph.C (asString): Remove XForms RTL hacks.
1264
1265 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
1266         * buffer.C: fix typo
1267
1268 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
1269
1270         * Makefile.am (LIBS): delete var
1271         (lyx_LDADD): add @LIBS@ here instead.
1272
1273 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
1274
1275         * Clarify the meaning of "wheel mouse jump"
1276
1277 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1278
1279         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1280         tabular in a float
1281
1282 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1283
1284         * importer.C (Loaders): do not preallocate 3 elements in the
1285         vector, since one ends up with 6 elements otherwise
1286
1287 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1288
1289         * DepTable.C (write): write the file name as last element of the
1290         .dep file (because it may contain spaces)
1291         (read): read info in the right order
1292
1293 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1294
1295         * paragraph_pimpl.C (simpleTeXBlanks):
1296         (simpleTeXSpecialChars):
1297         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1298
1299         * tabular.C (latex): add some missing case statements. Reindent.
1300
1301         * MenuBackend.C (expandToc): remove unused variable.
1302
1303 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
1304
1305         * LColor.C:
1306         * LaTeX.C:
1307         * LyXAction.C:
1308         * MenuBackend.C:
1309         * buffer.C:
1310         * exporter.C:
1311         * lyxfunc.C:
1312         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1313         and the like.
1314
1315 2003-01-05  John Levon  <levon@movementarian.org>
1316
1317         * BufferView.h:
1318         * BufferView.C: add getEncoding()
1319
1320         * kbsequence.h:
1321         * kbsequence.C: do not store last keypress
1322
1323         * lyxfunc.h:
1324         * lyxfunc.C: store last keypress here instead. Pass encoding
1325           to getISOEncoded()
1326
1327 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1328
1329         * lyx_main.C (init): remove annoying error message when following
1330         symbolic links (bug #780)
1331
1332 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1333
1334         * text.C (insertChar):
1335         * lyxrc.C (getDescription): remove extra spaces
1336
1337 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1338
1339         * lyxrc.C (getDescription): remove extra spaces
1340
1341 2002-12-20  John Levon  <levon@movementarian.org>
1342
1343         * text3.C: hack fix for page up/down across tall rows
1344
1345 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1346
1347         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1348         not been invoked
1349
1350 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1351
1352         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1353         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1354         thesaurus is not compiled in
1355
1356 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
1357
1358         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
1359
1360 2002-12-16  Angus Leeming  <leeming@lyx.org>
1361
1362         * lyxrc.[Ch]:
1363         * lyx_main.C (init): remove override_x_deadkeys stuff.
1364
1365 2002-12-12  John Levon  <levon@movementarian.org>
1366
1367         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1368           insert. Only remove shift modifier under strict
1369           circumstances.
1370
1371 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
1372
1373         * MenuBackend.C (expandToc): fix crash.
1374
1375 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1376
1377         * MenuBackend.C (expandToc): gettext on float names.
1378
1379 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1380
1381         * lyxlength.[Ch]: set default unit to UNIT_NONE,
1382         implement bool empty() [bug 490]
1383
1384 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1385
1386         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1387
1388 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1389
1390         * several files: ws changes
1391
1392 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1393
1394         * text2.C (setCounter): clean up a bit, use boost.format.
1395         (updateCounters): initialize par upon declaration.
1396
1397         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1398         if the layout exists. We do not just store the layout any more.
1399         (SwitchLayoutsBetweenClasses): use boost.format
1400
1401 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1402
1403         * converter.C (convert): if from and to files are the same, use a
1404         temporary files as intermediary
1405
1406 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1407
1408         * commandtags.h:
1409         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1410
1411 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
1412
1413         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1414
1415 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1416
1417         * tabular.C (asciiPrintCell): use string(size, char) instead of
1418         explicit loop.
1419
1420         * sgml.C (openTag): fix order of arguments to string constructor
1421         (closeTag): ditto
1422
1423         * lyxfunc.C (dispatch): use boost.format
1424
1425         * lots of files: change "c" -> 'c'
1426
1427 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
1428
1429         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1430
1431 2002-11-25  Angus Leeming  <leeming@lyx.org>
1432
1433         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1434
1435         * lyx_main.C (init): compile fix.
1436
1437 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1438
1439         * lyx_cb.C (start): boost.formatify
1440         do not include <iostream>
1441
1442         * lengthcommon.C: ws only
1443
1444         * boost-inst.C,BoostFormat.h: add more explict instantations
1445
1446 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1447
1448         * lots of files: handle USE_BOOST_FORMAT
1449
1450 2002-11-21  John Levon  <levon@movementarian.org>
1451
1452         * pspell.C: fix compile
1453
1454 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1455
1456         * lyxfunc.C (dispatch): use boost::format
1457         (open): ditto
1458         (doImport): ditto
1459
1460         * lyxfont.C (stateText): use boost::format
1461
1462         * lyx_main.C (LyX): use boost::format
1463         (init): ditto
1464         (queryUserLyXDir): ditto
1465         (readRcFile): ditto
1466         (parse_dbg): ditto
1467         (typedef boost::function): use the recommened syntax.
1468
1469         * importer.C (Import): use boost::format
1470
1471         * debug.C (showLevel): use boost::format
1472
1473         * converter.C (view): use boost::format
1474         (convert): ditto
1475         (move): ditto
1476         (scanLog): ditto
1477
1478         * bufferview_funcs.C (currentState): use boost::format
1479
1480         * bufferlist.C (emergencyWrite): use boost::format
1481
1482         * buffer.C (readLyXformat2): use boost::format
1483         (parseSingleLyXformat2Token): ditto
1484
1485         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1486
1487         * LaTeX.C (run): use boost::format
1488
1489         * Chktex.C (scanLogFile): use boost::format
1490
1491         * BufferView_pimpl.C (savePosition): use boost::format
1492         (restorePosition): ditto
1493         (MenuInsertLyXFile): ditto
1494
1495         * BoostFormat.h: help file for explicit instation.
1496
1497 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
1498
1499         * tabular.C (latex): Support for block alignment in fixed width
1500         columns.
1501
1502 2002-11-17  John Levon  <levon@movementarian.org>
1503
1504         * BufferView_pimpl.C:
1505         * lyx_cb.C:
1506         * lyxfunc.C: split filedialog into open/save
1507
1508 2002-11-08  Juergen Vigna  <jug@sad.it>
1509
1510         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1511         by my last patch (hopefully).
1512
1513 2002-11-08  John Levon  <levon@movementarian.org>
1514
1515         * iterators.h:
1516         * iterators.C:
1517         * buffer.h:
1518         * buffer.C:
1519         * paragraph.h:
1520         * paragraph.C:
1521         * toc.h:
1522         * toc.C: ParConstIterator, and use it (from Lars)
1523
1524 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
1525
1526         * lyxtextclass.[Ch]: revise and add doxygen comments
1527
1528 2002-11-07  John Levon  <levon@movementarian.org>
1529
1530         * text.C: fix progress value for spellchecker
1531
1532         * toc.C: fix navigate menu for insetwrap inside minipage
1533
1534         * paragraph_funcs.C: added FIXME for suspect code
1535
1536 2002-11-07  John Levon  <levon@movementarian.org>
1537
1538         * BufferView_pimpl.C: fix redrawing of insets
1539           on buffer switch
1540
1541 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1542
1543         * text2.C (updateCounters): fix bug 668
1544
1545 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
1546
1547         * text3.C (dispatch): Do not make the buffer dirty when moving the
1548         cursor.
1549
1550 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1551
1552         * vc-backend.C: STRCONV
1553         (scanMaster): ditto
1554
1555         * text2.C (setCounter): STRCONV
1556
1557         * paragraph.C (asString): STRCONV
1558
1559         * lyxlength.C (asString): STRCONV
1560         (asLatexString): ditto
1561
1562         * lyxgluelength.C (asString): STRCONV
1563         (asLatexString): ditto
1564
1565         * lyxfunc.C (dispatch): STRCONV
1566         (open): ditto
1567
1568         * lyxfont.C (stateText): STRCONV
1569
1570         * importer.C (Import): STRCONV
1571
1572         * counters.C (labelItem): STRCONV
1573         (numberLabel): ditto
1574         (numberLabel): remove unused ostringstream o
1575
1576         * chset.C: STRCONV
1577         (loadFile): ditto
1578
1579         * bufferview_funcs.C (currentState): STRCONV
1580
1581         * buffer.C (readFile): STRCONV
1582         (asciiParagraph): ditto
1583         (makeLaTeXFile): ditto
1584
1585         * Spacing.C (writeEnvirBegin): STRCONV
1586
1587         * LaTeXFeatures.C (getLanguages): STRCONV
1588         (getPackages): ditto
1589         (getMacros): ditto
1590         (getBabelOptions): ditto
1591         (getTClassPreamble): ditto
1592         (getLyXSGMLEntities): ditto
1593         (getIncludedFiles): ditto
1594
1595         * LaTeX.C: STRCONV
1596         (run): ditto
1597         (scanAuxFile): ditto
1598         (deplog): ditto
1599
1600         * LString.h: add the STRCONV macros
1601
1602         * BufferView_pimpl.C (savePosition): STRCONV
1603         (restorePosition): ditto
1604         (MenuInsertLyXFile): ditto
1605
1606         * vc-backend.C (scanMaster): change from submatch[...] to
1607         submatch.str(...)
1608
1609         * funcrequest.C: include config.h
1610
1611         * factory.C: include config.h
1612
1613         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1614
1615         * box.C: include config.h
1616
1617         * LaTeX.C (scanAuxFile): change from submatch[...] to
1618         submatch.str(...)
1619         (deplog): ditto
1620
1621 2002-10-25  Angus Leeming  <leeming@lyx.org>
1622
1623         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1624
1625         * ispell.[Ch] (setError): new method.
1626         * ispell.C (c-tor): move out child process into new class LaunchIspell.
1627         Use setError() insetead of goto END.
1628
1629         * lyx_cb.C (AutoSave): move out child process into new class
1630         AutoSaveBuffer.
1631
1632 2002-10-30  John Levon  <levon@movementarian.org>
1633
1634         * text3.C: make start appendix undoable
1635
1636 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
1637
1638         * lyxlength.C (inPixels): Fix returned value.
1639
1640         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1641         environment.
1642
1643 2002-10-24  Angus Leeming  <leeming@lyx.org>
1644
1645         * lyxgluelength.h: no need to forward declare BufferParams
1646         or BufferView, so don't.
1647
1648 2002-10-21  John Levon  <levon@movementarian.org>
1649
1650         * BufferView.C: menuUndo ->undo, redo
1651
1652         * BufferView.h: document, remove dead, make some methods private
1653
1654         * paragraph_funcs.h:
1655         * paragraph_funcs.C:
1656         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1657
1658         * buffer.h:
1659         * buffer.C:
1660         * sgml.h:
1661         * sgml.C: move sgml open/close tag into sgml.C
1662
1663         * bufferview_funcs.h: unused prototype
1664
1665         * lyxfunc.h:
1666         * lyxfunc.C: remove unused
1667
1668         * lyxtext.h:
1669         * text.C: remove unused
1670
1671 2002-10-21  John Levon  <levon@movementarian.org>
1672
1673         * BufferView.h:
1674         * BufferView.C:
1675         * BufferView_pimpl.h:
1676         * BufferView_pimpl.C: fix mouse wheel handling based on
1677           patch from Darren Freeman
1678
1679 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
1680
1681         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1682
1683 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
1684
1685         * lyxlength.C (inPixels): Fix hanfling of negative length.
1686         Fix LyXLength::MU case.
1687
1688 2002-10-16  John Levon  <levon@movementarian.org>
1689
1690         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1691
1692 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1693
1694         * converter.C (view): add support for $$i (file name) and $$p
1695         (file path) for the viewer command. If $$i is not specified, then
1696         it is appended to the command (for compatibility with old syntax)
1697
1698 2002-10-14  Juergen Vigna  <jug@sad.it>
1699
1700         * undo_funcs.C (textHandleUndo): alter the order in which the
1701         new undopar is added to the LyXText, as we have to set first
1702         the right prev/next and then add it as otherwise the rebuild of
1703         LyXText is not correct. Also reset the cursor to the right paragraph,
1704         with this IMO we could remove the hack in "redoParagraphs()".
1705
1706 2002-10-09  Angus Leeming  <leeming@lyx.org>
1707
1708         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1709         to turn off an optimisation if a new inset is to be inserted.
1710
1711 2002-10-11 André Pönitz <poenitz@gmx.net>
1712
1713         * lyxtext.h: make some functions public to allow access
1714         from inset/lyxtext for handling LFUN_PRIOR/NEXT
1715
1716 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1717
1718         * text3.C (dispatch): when changing layout, avoid an infinite loop
1719         [bug #652]
1720
1721 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1722
1723         * lyxrc.C (read): treat a viewer or converter command of "none" as
1724         if it were empty.
1725
1726         * MenuBackend.C (expandFormats): for an update, also allow the
1727         formats that are not viewable
1728
1729         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1730         script if it is newer than the lyxrc.defaults in user directory
1731
1732 2002-10-07 André Pönitz <poenitz@gmx.net>
1733
1734         * text.C: Vitaly Lipatov's small i18n fix
1735
1736 2002-09-25  Angus Leeming  <leeming@lyx.org>
1737
1738         * ispell.h: doxygen fix.
1739
1740 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
1741
1742         * buffer.h (readFile): Add a new argument to the method, to allow
1743         reading of old-format templates.
1744
1745 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
1746
1747         * toc.C (getTocList): Get TOC from InsetWrap.
1748
1749 2002-09-16  John Levon  <levon@movementarian.org>
1750
1751         * lyxfunc.C: check tabular for cut/copy too
1752
1753 2002-09-12  John Levon  <levon@movementarian.org>
1754
1755         * LyXAction.C: tidy
1756
1757         * factory.h:
1758         * factory.C: add header
1759
1760         * paragraph_funcs.h:
1761         * paragraph_funcs.C: cleanup
1762
1763 2002-09-11  John Levon  <levon@movementarian.org>
1764
1765         * PrinterParams.h: odd/even default to true
1766
1767 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
1768
1769         * PrinterParams.h: update printer parameters for new xforms dialog
1770
1771 2002-09-11  Angus Leeming  <leeming@lyx.org>
1772
1773         * lyxserver.C (read_ready): re-write to make it more transparent
1774         and to make it work in coherent fashion under Tru64 Unix.
1775
1776 2002-09-11  André Pönitz <poenitz@gmx.net>
1777
1778         * commandtags.h:
1779         * LyXAction.C:
1780         * text3.C: implement LFUN_WORDSEL
1781
1782 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1783
1784         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1785         make floatlist_ a boost::shared_ptr<FloatList>
1786
1787         * lyxtextclass.C: include FloatList.h
1788         (LyXTextClass): initialize floatlist_
1789         (TextClassTags): add TC_NOFLOAT
1790         (Read): match "nofloat" to TC_NOFLOAT and use it.
1791         (readFloat): modify call to floatlist_
1792         (floats): ditto
1793         (floats): ditto
1794
1795         * FloatList.[Ch] (FloatList): remove commented out float
1796         initialization.
1797         (erase): new function
1798
1799 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1800
1801         * MenuBackend.C (expandToc): fix crash when there is no document
1802         open
1803
1804 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
1805
1806         * many files: Add insetwrap.
1807
1808 2002-09-09  John Levon  <levon@movementarian.org>
1809
1810         * text2.C: remove confusing and awkward depth wraparound
1811
1812 2002-09-09  John Levon  <levon@movementarian.org>
1813
1814         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1815
1816         * buffer.h:
1817         * buffer.C: remove getIncludeonlyList()
1818
1819         * paragraph.C:
1820         * lyxfunc.C: remove headers
1821
1822 2002-09-09  Juergen Vigna  <jug@sad.it>
1823
1824         * text.C (getColumnNearX): fix form Michael this is most
1825         probably a cut&paste bug.
1826
1827 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1828
1829         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1830
1831         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1832         references, ws changes.
1833
1834         * text2.C (init): update counters after init
1835         (insertParagraph): no need to set counter on idividual paragraphs.
1836         (setCounter): access the counters object in the textclass object
1837         on in the buffer object.
1838         (updateCounters): ditto
1839
1840         * lyxtextclass.C: include counters.h, add variable ctrs_ as
1841         shared_ptr<Counters> to avoid loading counters.h in all
1842         compilation units.
1843         (LyXTextClass): initialize ctrs_
1844         (TextClassTags): add TC_COUNTER, and ...
1845         (Read): use it here.
1846         (CounterTags): new tags
1847         (readCounter): new function
1848         (counters): new funtion
1849         (defaultLayoutName): return a const reference
1850
1851         * counters.C (Counters): remove contructor
1852         (newCounter): remove a couple of unneeded statements.
1853         (newCounter): simplify a bit.
1854         (numberLabel): some small formatting changes.
1855
1856         * buffer.[Ch]: remove all traces of counters, move the Counters
1857         object to the LyXTextClass.
1858
1859 2002-09-06  Alain Castera  <castera@in2p3.fr>
1860
1861         * tabular.C: uses \tabularnewline; uses >{...} construct from array
1862         package to set the horizontal alignment on fixed width columns.
1863
1864         * lyx_sty.C:
1865         * lyx_sty.h: added tabularnewline macro def.
1866
1867         * LaTeXFeatures.C: added NeedTabularnewline macro feature
1868
1869 2002-09-06  John Levon  <levon@movementarian.org>
1870
1871         * LyXAction.C: tooltips for sub/superscript
1872
1873         * MenuBackend.C: a bit more verbose
1874
1875         * lyxfunc.C: tiny clean
1876
1877         * undo_funcs.C: document undo_frozen
1878
1879 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1880
1881         * counters.C (Counters): add missing algorithm counter.
1882
1883         * text2.C (setCounter): lookup the counter with layouts latexname
1884         instead of by section number.
1885         (setCounter): use a hackish way to lookup the correct enum
1886         counter.
1887         a float name->type change
1888         reset enum couners with counter name directly instead of depth value.
1889
1890         * counters.C (Counters): remove the push_backs, change to use the
1891         float type not the float name.
1892         (labelItem): remove unused string, float name->type change
1893
1894         * counters.h: don't include vector, loose the enums and sects vectors
1895
1896 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1897
1898         * lyxtextclass.C (TextClassTags): add TC_FLOAT
1899         (Read): add float->TC_FLOAT to textclassTags
1900         (Read): and handle it in the switch
1901         (readFloat): new function
1902
1903         * FloatList.C (FloatList): comment out the hardcoded float
1904         definitions.
1905
1906         * lyxlayout.h: ws change.
1907
1908 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
1909
1910         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1911
1912 2002-09-03  Angus Leeming  <leeming@lyx.org>
1913
1914         * BufferView_pimpl.h: qualified name is not allowed in member
1915         declaration: WorkArea & Pimpl::workarea() const;
1916
1917         * factory.C: added using std::endl directive.
1918
1919         * text3.C: added using std::find and std::vector directives.
1920
1921 2002-08-29  André Pönitz <poenitz@gmx.net>
1922
1923         * lyxtext.h:
1924         * text2.C: remove unused member number_of_rows
1925
1926         * Makefile.am:
1927         * BufferView2.C: remove file, move contents to...
1928         * BufferView.C: ... here
1929
1930         * BufferView_pimpl.C:
1931         * factory.C: move more inset creation to factory
1932
1933         * vspace.C: avoid direct usage of LyXText, ws changes
1934
1935         * BufferView.[Ch]:
1936                 don't provide direct access to WorkArea, use two simple
1937                 acessors haveSelction() and workHeight() instead
1938
1939
1940 2002-08-29  John Levon  <levon@movementarian.org>
1941
1942         * BufferView_pimpl.C (dispatch): do not continue when
1943           no buffer
1944
1945 2002-08-28  André Pönitz <poenitz@gmx.net>
1946
1947         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
1948
1949         * BufferView.h:
1950         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
1951
1952 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
1953
1954         * buffer.C: increment LYX_FORMAT to 221
1955
1956         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
1957         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
1958
1959         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
1960
1961         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
1962
1963 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1964
1965         * factory.C (createInset): use LyXTextClass::floats
1966
1967         * MenuBackend.C (expandFloatListInsert):
1968         (expandFloatInsert):
1969         (expandToc):
1970
1971         * text2.C (setCounter):
1972
1973         * LaTeXFeatures.C (useFloat):
1974         (getFloatDefinitions):
1975
1976         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
1977
1978         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
1979         floatlist_, with accessor floats().
1980
1981         * FloatList.h: remove global FloatList
1982
1983 2002-08-26  André Pönitz <poenitz@gmx.net>
1984
1985         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
1986
1987         * BufferView.h:
1988         * BufferView2.C:
1989         * BufferView_pimpl.C:
1990         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
1991
1992 2002-08-25  John Levon  <levon@movementarian.org>
1993
1994         * LyXAction.C: fix margin note description
1995
1996 2002-08-24  John Levon  <levon@movementarian.org>
1997
1998         * buffer.C:
1999         * bufferlist.C:
2000         * bufferview_funcs.C:
2001         * lyxfont.C:
2002         * undo_funcs.C: cleanups
2003
2004         * lyxfunc.C: disable CUT/COPY when no selection
2005
2006 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
2007
2008         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2009         in "enum UNIT"; e.g. PTW for Percent of TextWidth
2010
2011         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2012         Add backward compatibility to "mono", "gray" and "no".
2013
2014 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
2015
2016         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2017         (and file_format >= 200).
2018
2019 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2020
2021         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2022
2023 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2024
2025         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2026
2027 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
2028
2029         * BufferView_pimpl.C:
2030         * LyXAction.C:
2031         * buffer.C:
2032         * commandtags.h:
2033         * lyxfunc.C:
2034         * paragraph.[Ch]:
2035         * text2.C:
2036         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2037         inset and code to make it  work with the paragraph code. The inset
2038         can be anywhere in the paragraph, but will only do the expected
2039         thing in LaTeX if the layout file contains the parameter line
2040                         OptionalArgs    1
2041         (or more generally, a nonzero value) for that layout.
2042
2043 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2044
2045         * paragraph.h: remove the declaration of undefined counters class
2046         function.
2047
2048 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
2049
2050         * text2.C (setCounter):  fixed enumeration mis-count as reported by
2051         Dr. Richard Hawkins.
2052
2053 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2054
2055         * paragraph_funcs.h: remove some unneeded includes
2056
2057         * text.C (backspace): pasteParagraph now in global scipe
2058
2059         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2060         (pasteSelection): ditto
2061
2062         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2063         * paragraph_funcs.C (pasteParagraph): ... here
2064
2065 2002-08-20  André Pönitz <poenitz@gmx.net>
2066
2067         * commandtags.h: new LFUNs for swapping/copying table row/colums
2068
2069         * LyXAction.C:
2070         * lyxfunc.C: support for new lfuns
2071
2072 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2073
2074         * tabular.C:
2075         * buffer.[Ch]: remove NO_COMPABILITY stuff
2076
2077 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
2078
2079         * boost.C (throw_exception): new file, with helper function for
2080         boost compiled without exceptions.
2081
2082         * paragraph.h:
2083         * lyxlength.C:
2084         * buffer.C:
2085         * ParameterStruct.h:
2086         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2087
2088         * bufferlist.C (emergencyWriteAll): use boost bind
2089
2090         * BufferView_pimpl.C (moveCursorUpdate): remove inline
2091
2092         * text.C: include paragraph_funcs.h
2093         (breakParagraph): breakParagraph is now in global scope
2094
2095         * paragraph_funcs.[Ch]: new files
2096
2097         * paragraph.C (breakParagraph,breakParagraphConservative): move to
2098         global scope
2099
2100         * buffer.C: include paragraph_funcs.h
2101         (insertStringAsLines): breakParagraph is now in global scope
2102
2103         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2104         paragraph_funcs.C
2105
2106         * CutAndPaste.C: include paragraph_funcs.h
2107         (cutSelection): breakParagraphConservative is now in global scope
2108         (pasteSelection): ditto
2109
2110         * buffer.h: declare oprator== and operator!= for
2111         Buffer::inset_iterator
2112
2113         * bufferlist.C (emergencyWrite): don't use fmt(...)
2114
2115         * text3.C: add using std::endl
2116
2117         * BufferView.C (moveCursorUpdate): remove default arg
2118
2119 2002-08-20  André Pönitz <poenitz@gmx.net>
2120
2121         * buffer.[Ch]: move inline functions to .C
2122
2123         * BufferView2.C:
2124         * BufferView_pimpl.C:
2125         * text.C:
2126         * buffer.[Ch]: use improved inset_iterator
2127
2128         * buffer.C:
2129         * paragraph.[Ch]: write one paragraph at a time
2130
2131 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
2132
2133         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2134         style if style is not specified.
2135
2136 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2137
2138         * text2.C (setCounter): when searching for right label for a
2139         caption, make sure to recurse to parent insets (so that a caption
2140         in a minipage in a figure float works) (bug #568)
2141
2142 2002-08-20  André Pönitz <poenitz@gmx.net>
2143
2144         * text3.C: new file for LyXText::dispatch() and helpers
2145
2146         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2147
2148         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2149
2150 2002-08-19  André Pönitz <poenitz@gmx.net>
2151
2152         * lyxtext.h:
2153         * text.C: new LyXText::dispatch()
2154
2155         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2156
2157 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
2158
2159         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2160
2161         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2162         Hebrew text.
2163
2164 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2165
2166         * Makefile.am: use $(variables) instead of @substitutions@
2167
2168 2002-08-15  André Pönitz <poenitz@gmx.net>
2169
2170         * lyxfunc.C:
2171         * BufferView_pimpl.C: streamlining mathed <-> outer world
2172         interaction
2173
2174         * commandtags.h:
2175         * LyXAction.C: remove unused LFUN_MATH
2176
2177 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2178
2179         * paragraph.[Ch]: add some NO_NEXT ifdefs.
2180
2181 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2182
2183         * paragraph.C (Paragraph): reformat a bit
2184         (cutIntoMinibuffer): use builtin InsetList function instad of
2185         doing it manually.
2186         (getInset): ditto
2187
2188         * buffer.C: include boost/bind.hpp, add using std::for_each
2189         (writeFileAscii): use ParagraphList iterators
2190         (validate): use for_each for validate traversal of paragraphs
2191         (getBibkeyList): use ParagraphList iterators
2192         (resizeInsets): use for_each to resizeInsetsLyXText for all
2193         paragraphs.
2194         (getParFromID): use ParagraphList iterators
2195
2196         * BufferView2.C (lockInset): use paragraph list and iterators
2197
2198 2002-08-14  John Levon  <levon@movementarian.org>
2199
2200         * lyxserver.C: remove spurious xforms include
2201
2202 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2203
2204         * lyxfunc.C (getStatus): disable math-extern outside of math mode
2205
2206 2002-08-13  André Pönitz <poenitz@gmx.net>
2207
2208         * LyXAction.[Ch]:
2209         * lyxfunc.C: further cleaning
2210
2211 2002-08-13  André Pönitz <poenitz@gmx.net>
2212
2213         * funcrequest.h: new constructor
2214
2215         * funcrequest.C: move stuff here from .h
2216
2217         * Makefile.am:
2218         * BufferView_pimpl.C:
2219         * LyXAction.C:
2220         * toc.C:
2221         * lyxfunc.C: subsequent changes
2222
2223         * lyxfunc.h: new view() member function
2224
2225         * lyxfunc.C: subsequent changes
2226
2227 2002-08-13  Angus Leeming  <leeming@lyx.org>
2228
2229         * BufferView2.C:
2230         * BufferView_pimpl.C:
2231         * buffer.C:
2232         * converter.C:
2233         * importer.C:
2234         * lyxfunc.C:
2235         * lyxvc.C:
2236         * toc.C:
2237         * vc-backend.C:
2238         changes due to the changed LyXView interface that now returns references
2239         to member variables not pointers.
2240
2241 2002-08-13  Angus Leeming  <leeming@lyx.org>
2242
2243         * WordLangTuple (word, lang_code): return references to strings,
2244         not strings.
2245
2246         * BufferView.h:
2247         * SpellBase.h:
2248         * lyxtext.h: forward-declare WordLangTuple.
2249
2250         * BufferView2.C:
2251         * ispell.C:
2252         * pspell.C:
2253         * text.C: #include "WordLangTuple.h".
2254
2255         * lyxtext.h:
2256         * text.C: (selectNextWordToSpellcheck): constify return type.
2257
2258 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
2259
2260         * buffer.C:
2261         * buffer.h:
2262         * lyxtext.h:
2263         * paragraph.C:
2264         * paragraph_pimpl.h:
2265         * text.C:
2266         * text2.C:
2267         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2268         suggested by Angus.
2269         Made updateCounter always count from start of buffer, and removed
2270         second argument (par).
2271         Reverted floats number display to '#'. Perhaps I'll try again when the
2272         code base is sanitized a bit.
2273
2274 2002-08-12  Angus Leeming  <leeming@lyx.org>
2275
2276         * buffer.[Ch] (getLabelList): constify.
2277
2278 2002-08-07  André Pönitz <poenitz@gmx.net>
2279
2280         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2281
2282         * funcrequest.h: extension to keep mouse (x,y) position
2283
2284 2002-08-12  Juergen Vigna  <jug@sad.it>
2285
2286         * BufferView2.C (insertErrors): forbid undo when inserting error
2287         insets.
2288
2289         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2290
2291 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
2292
2293         * ParagraphList.[Ch]: new files
2294
2295         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2296
2297         * BufferView2.C (lockInset): ParagraphList changes
2298         * toc.C: ditto
2299         * text2.C: ditto
2300         * bufferlist.C: ditto
2301         * buffer.h: ditto
2302         * buffer.C: ditto
2303
2304 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2305
2306         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2307         unused class variable counter_,
2308
2309         * paragraph.[Ch] (getFirstCounter): delete unused function
2310
2311         * counters.C: include LAssert.h
2312         (reset): add a new function with no arg, change other version to
2313         not have def. arg and to not allow empty arg.
2314
2315         * text2.C (setCounter): remove empty arg from call to Counters::reset
2316
2317 2002-08-11  John Levon  <levon@movementarian.org>
2318
2319         * Makefile.am: add WordLangTuple.h
2320
2321 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2322
2323         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2324         lyxfunc.C lyxlex_pimpl.C: ws changes only.
2325
2326         * insets/insettext.C: InsetList changes
2327
2328         * graphics/GraphicsSupport.C (operator()): InsetList changes
2329
2330         * toc.C (getTocList): InsetList changes
2331
2332         * paragraph_pimpl.[Ch]: InsetList changes
2333
2334         * paragraph.[Ch]: InsetList changes
2335
2336         * buffer.C (inset_iterator): InsetList changes
2337         (setParagraph): ditto
2338         * buffer.h (inset_iterator): ditto
2339         * iterators.C (operator++): ditto
2340         * iterators.h: ditto
2341
2342         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2343
2344         * InsetList.[Ch]: new files, most InsetList handling moved out of
2345         paragraph.C.
2346
2347         * BufferView2.C (removeAutoInsets): InsetList changes
2348         (lockInset): ditto
2349         (ChangeInsets): ditto
2350
2351 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2352
2353         * paragraph_pimpl.h (empty): new function
2354
2355         * paragraph.[Ch] (empty): new function
2356
2357         * other files: use the new Paragraph::empty function
2358
2359 2002-08-09  John Levon  <levon@movementarian.org>
2360
2361         * lyxtext.h: remove unused refresh_height
2362
2363 2002-08-09  John Levon  <levon@movementarian.org>
2364
2365         * Makefile.am:
2366         * sgml.h:
2367         * sgml.C:
2368         * buffer.C:
2369         * paragraph.h:
2370         * paragraph.C: move sgml char escaping out of paragraph
2371
2372         * paragraph.h:
2373         * paragraph.C: remove id setter
2374
2375         * buffer.C:
2376         * paragraph.C:
2377         * paragraph_pimpl.C: remove dead tex_code_break_column
2378
2379         * bufferview_funcs.C: small cleanup
2380
2381         * lyxfunc.C: remove dead proto
2382
2383         * lyxtext.h: make some stuff private. Remove some dead stuff.
2384
2385         * lyxgluelength.C: make as[LyX]String() readable
2386
2387 2002-08-08  John Levon  <levon@movementarian.org>
2388
2389         * LyXAction.h:
2390         * LyXAction.C:
2391         * MenuBackend.C:
2392         * ToolbarDefaults.C:
2393         * lyxfunc.C:
2394         * lyxrc.C:
2395         * toc.C: lyxaction cleanup
2396
2397 2002-08-08  John Levon  <levon@movementarian.org>
2398
2399         * BufferView2.C: small cleanup
2400
2401         * lyxfind.h:
2402         * lyxfind.C: move unnecessary header into the .C
2403
2404 2002-08-08  John Levon  <levon@movementarian.org>
2405
2406         * funcrequest.h: just tedious nonsense
2407
2408         * lyx_main.h:
2409         * lyx_main.C: cleanups
2410
2411         * buffer.C:
2412         * vspace.C: remove dead header lyx_main.h
2413
2414 2002-08-07  Angus Leeming  <leeming@lyx.org>
2415
2416         * Paragraph.[Ch]:
2417         * paragraph_pimpl.h:
2418         Forward declare class Counters in paragraph.h by moving the ctrs member
2419         variable into Paragraph::Pimpl.
2420         (counters): new method, returning a reference to pimpl_->ctrs.
2421
2422         * text2.C: ensuing changes.
2423
2424 2002-08-07  John Levon  <levon@movementarian.org>
2425
2426         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2427
2428         * BufferView_pimpl.C: announce X selection on double/triple
2429           click
2430
2431         * lyx_main.C: use correct bool in batch dispatch
2432
2433         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2434
2435 2002-08-07  André Pönitz <poenitz@gmx.net>
2436
2437         * funcrequest.h: new class to wrap a kb_action and its argument
2438
2439         * BufferView.[Ch]:
2440         * BufferView_pimpl[Ch]:
2441         * LaTeX.C:
2442         * LyXAction.[Ch]:
2443         * lyxfunc.[Ch]:
2444         * lyxrc.C: subsequent changes
2445
2446
2447 2002-08-07  John Levon  <levon@movementarian.org>
2448
2449         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2450           document options change.
2451
2452 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
2453
2454         * counters.[Ch]
2455         * text2.C
2456         * paragraph.[Ch]
2457         * makefile.am: move counters functionality over from
2458         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2459
2460 2002-08-06  John Levon  <levon@movementarian.org>
2461
2462         * WordLangTuple.h: new file for word + language code tuple
2463
2464         * SpellBase.h:
2465         * pspell.h:
2466         * pspell.C:
2467         * ispell.h:
2468         * ispell.C:
2469         * lyxtext.h:
2470         * text.C:
2471         * text2.C:
2472         * BufferView.h:
2473         * BufferView2.C: use WordLangTuple
2474
2475         * layout.h:
2476         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2477
2478 2002-08-06  John Levon  <levon@movementarian.org>
2479
2480         * lyx_main.C: fix cmdline batch handling
2481
2482 2002-08-06  André Pönitz <poenitz@gmx.net>
2483
2484         * lyxrc.C: set default for show_banner to true
2485
2486 2002-08-06  John Levon  <levon@movementarian.org>
2487
2488         * pspell.C: fix a crash, and allow new aspell to work
2489
2490 2002-08-06  John Levon  <levon@movementarian.org>
2491
2492         * lyxfunc.C:
2493         * kbmap.C: small cleanup
2494
2495         * vspace.h:
2496         * vspace.C: add const
2497
2498 2002-08-05  John Levon  <levon@movementarian.org>
2499
2500         * LyXAction.C: back to tabular-insert
2501
2502 2002-08-04  John Levon  <levon@movementarian.org>
2503
2504         * BufferView.h:
2505         * BufferView.C: cosmetic change
2506
2507         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2508
2509         * bufferlist.C:
2510         * buffer.h:
2511         * buffer.C:
2512         * lyxcb.h:
2513         * lyxcb.C:
2514         * lyxserver.C:
2515         * lyxvc.C:
2516         * vc-backend.C:
2517         * BufferView2.C: purge all "Lyx" not "LyX" strings
2518
2519         * lyxcursor.h:
2520         * lyxcursor.C: attempt to add some documentation
2521
2522         * lyxfunc.C:
2523         * commandtags.h:
2524         * LyXAction.C:
2525         * ToolbarDefaults.C:
2526         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2527           merge with LFUN_TABULAR_INSERT
2528
2529         * Makefile.am:
2530         * SpellBase.h:
2531         * ispell.h:
2532         * ispell.C:
2533         * pspell.h:
2534         * pspell.C: split up i/pspell implementations into separate
2535           files, many cleanups
2536
2537         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2538
2539         * text2.C: some cleanup
2540
2541         * lyxfunc.C: don't check for isp_command == "none" any more, it
2542           didn't make any sense
2543
2544 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
2545
2546         * counters.[Ch]
2547         * text2.C
2548         * paragraph.[Ch]
2549         * makefile.am: move counters functionality over
2550         from text2.C/paragraph.[Ch] to counters.[Ch], and
2551         make proper C++.
2552 2002-08-02  John Levon  <levon@movementarian.org>
2553
2554         * buffer.C: s/lyxconvert/lyx2lyx/
2555
2556 2002-08-02  Angus Leeming  <leeming@lyx.org>
2557
2558         * lyxlex.C: revert John's change as it breaks reading of the user
2559         preamble.
2560
2561 2002-08-02  Angus Leeming  <leeming@lyx.org>
2562
2563         * importer.C (Import):
2564         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2565         changes due to LyXView::view() now returning a boost::shared_ptr.
2566
2567 2002-08-02  John Levon  <levon@movementarian.org>
2568
2569         * lyxlex.C: small cleanup
2570
2571 2002-08-02  John Levon  <levon@movementarian.org>
2572
2573         * text2.C (status): small cleanup, no logic change
2574
2575 2002-08-01  John Levon  <levon@movementarian.org>
2576
2577         * buffer.h:
2578         * buffer.C (writeFile): don't output alerts, caller
2579           handles this
2580
2581         * bufferlist.C:
2582         * lyx_cb.C: from above
2583
2584         * lyxfunc.C: allow to open non-existent files
2585
2586 2002-07-31  John Levon  <levon@movementarian.org>
2587
2588         * lyxserver.C: don't let incidental errors get
2589           in the way (errno)
2590
2591 2002-07-30  John Levon  <levon@movementarian.org>
2592
2593         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2594
2595 2002-07-30  John Levon  <levon@movementarian.org>
2596
2597         * lyxserver.h:
2598         * lyxserver.C: remove I/O callback too
2599
2600 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2601
2602         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2603         log.
2604
2605 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2606
2607         * many files: strip,frontStrip -> trim,ltrim,rtrim
2608
2609 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2610
2611         * PrinterParams.h: remove extern containsOnly, and include
2612         support/lstrings.h instead.
2613
2614         * LaTeX.C (scanAuxFile): modify because of strip changes
2615         (deplog): ditto
2616         * buffer.C (makeLaTeXFile): ditto
2617         * bufferparams.C (writeFile): ditt
2618         * lyxfont.C (stateText): ditto
2619         * lyxserver.C (read_ready): ditto
2620         * vc-backend.C (scanMaster): ditto
2621
2622         * BufferView_pimpl.h: ws changes
2623
2624         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2625
2626 2002-07-26  André Pönitz <poenitz@gmx.net>
2627
2628         * kb_sequence.C: remove unnedred usings
2629
2630 2002-07-26  Juergen Vigna  <jug@sad.it>
2631
2632         * lyxfind.C (LyXReplace): we have to check better if the returned
2633         text is not of theLockingInset()->getLockingInset().
2634
2635 2002-07-25  Juergen Vigna  <jug@sad.it>
2636
2637         * lyxfind.C (LyXReplace): don't replace if we don't get the
2638         right LyXText.
2639
2640         * undo_funcs.C (createUndo): remove debugging code.
2641
2642 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
2643
2644         * buffer.C (parseSingleLyXformat2Token): Use default placement
2645         when reading old floats.
2646
2647         * FloatList.C (FloatList): Change the default placement of figure
2648         and tables to "tbp".
2649
2650 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
2651
2652         * MenuBackend.C: using std::max
2653
2654 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2655
2656         * MenuBackend.C (expandToc):
2657         (expandToc2): code moved from xforms menu frontend. It is now
2658         generic and TOCs are transparent to menu frontends.
2659
2660 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2661
2662         * toc.C (getTocList): protect against buf=0
2663
2664         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2665         Menu as first parameter. Now, this calls itself recursively to
2666         expand a whole tree (this will be useful for TOC handling)
2667         (expandFloatInsert): remove 'wide' version of floats
2668
2669         * MenuBackend.h (submenuname): returns the name of the submenu.
2670         (submenu): returns the submenu itself, provided it has been
2671         created by MenuBackend::expand
2672
2673 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2674
2675         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2676         insets which have noFontChange == true. (bug #172)
2677
2678 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2679
2680         * BufferView_pimpl.C: add connection objects and use them...
2681         (Pimpl): here.
2682
2683 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2684
2685         * MenuBackend.C (expandLastfiles):
2686         (expandDocuments):
2687         (expandFormats):
2688         (expandFloatListInsert):
2689         (expandFloatInsert):
2690         (expand): split expand in parts
2691
2692 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
2693
2694         * lyx_gui.C: use lyx_gui::exit()
2695
2696 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
2697
2698         * LyXAction.C: show the failing pseudo action
2699
2700 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
2701
2702         * buffer.C (readFile): Run the lyxconvert script in order to read
2703         old files.
2704
2705 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
2706
2707         * LyXAction.C:
2708         * commandtags.h:
2709         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2710
2711 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
2712
2713         * LyXAction.C:
2714         * commandtags.h:
2715         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2716
2717 2002-07-22  Herbert Voss  <voss@lyx.org>
2718
2719         * lengthcommon.C:
2720         * lyxlength.[Ch]: add support for the vertical lengths
2721
2722 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
2723
2724         * toc.[Ch]: std:: fixes
2725
2726 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2727
2728         * lyxrc.C: do not include lyx_main.h
2729
2730         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2731         for layouts
2732
2733         * lyxrc.C:
2734         * encoding.C:
2735         * bufferlist.C:
2736         * BufferView2.C: include "lyxlex.h"
2737
2738         * tabular.h:
2739         * bufferparams.h: do not #include "lyxlex.h"
2740
2741         * lyxtextclasslist.C (Add): remove method
2742         (classlist): renamed to classlist_
2743
2744         * paragraph_pimpl.C:
2745         * paragraph.C:
2746         * text2.C:
2747         * CutAndPaste.C:
2748         * bufferview_funcs.C:
2749         * bufferlist.C:
2750         * text.C:
2751         * LaTeXFeatures.C:
2752         * buffer.C:
2753         * toc.C (getTocList): use BufferParams::getLyXTextClass
2754
2755         * toc.C (getTocList): use InsetFloat::addToToc
2756
2757         * toc.[Ch]: new files, containing helper functions to handle table
2758         of contents
2759
2760         * lyxfunc.C (dispatch): no need to remove spaces around command
2761         given as a string
2762         (getStatus): handle LFUN_SEQUENCE by returning the status of the
2763         first command of the sequence; it is not very clever, but I do not
2764         have a better idea, actually
2765
2766         * LyXAction.C (LookupFunc): make sure to remove space at the
2767         beginning and end of the command
2768
2769 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2770
2771         * MenuBackend.C (getMenubar): new method: return the menubar of
2772         this menu set
2773         (read): treat differently reading of menu and menubar (in
2774         particular, the menubar has no name now)
2775         (Menu::menubar): remove
2776
2777         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2778         saving is finished
2779
2780 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
2781
2782         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2783         a bibitem inset in a RTL paragraph.
2784
2785 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
2786
2787         * paragraph_pimpl.C: constify
2788
2789         * BufferView_pimpl.C:
2790         * LaTeX.C:
2791         * lyxfunc.C: fix dispatch in a nicer way
2792
2793 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2794
2795         * lyxfunc.C (dispatch):
2796         * BufferView_pimpl.C:
2797         * BufferView_pimpl.h:
2798         * BufferView.C:
2799         * BufferView.h: rename Dispatch() to dispatch()
2800
2801         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2802
2803         * lyxlayout.C (Read): honor DependsOn tag
2804
2805         * lyxlayout.[Ch] (depends_on): new method
2806
2807         * version.C.in: update lyx_docversion
2808
2809         * LaTeXFeatures.C (getMacros): only define \LyX when needed
2810
2811         * paragraph.C (validate): remove from here...
2812         * paragraph_pimpl.C (validate): ... and move here
2813         (isTextAt): make it const
2814
2815         * buffer.C (getLists): ws cleanup
2816
2817 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
2818
2819         * language.C (read): Use iso8859-1 encoding in latex_lang
2820         (this prevents LyX from crashing when using iso10646-1 encoding).
2821
2822 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2823
2824         * text2.C (toggleInset): if cursor is inside an inset, close the
2825         inset and leave cursor _after_ it
2826
2827 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
2828
2829         * lyxfunc.C: move minibuffer completion handling out of here
2830
2831 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
2832
2833         * BufferView_pimpl.C:
2834         * LaTeX.C: fix dispatch calls
2835
2836 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
2837
2838         * text.C (drawChars): Fix Arabic text rendering.
2839
2840 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
2841
2842         * LyXAction.C:
2843         * commandtags.h:
2844         * lyxfunc.C: remove message-push/pop
2845
2846         * lyxserver.C:
2847         * lyxfunc.h:
2848         * lyxfunc.C: rationalise some code by removing verboseDispatch
2849           in favour of a bool argument to dispatch()
2850
2851 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2852
2853         * lyx_main.C (init): make sure to read symlinks as absolute paths
2854
2855 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
2856
2857         * lyxfunc.h:
2858         * lyxfunc.C: no need for commandshortcut to be a member
2859
2860 2002-07-15  André Pönitz <poenitz@gmx.net>
2861
2862         * converter.C: add support for $$s (scripts from lib/scripts dir)
2863         * lyx_main.C: white space
2864
2865 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
2866
2867         * bufferlist.C:
2868         * lyxrc.h:
2869         * lyxrc.C: remove second exit confirmation
2870
2871 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
2872
2873         * BufferView.h:
2874         * BufferView.C:
2875         * BufferView2.C:
2876         * BufferView_pimpl.h:
2877         * BufferView_pimpl.C:
2878         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2879
2880 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2881
2882         * MenuBackend.C (expand): add numeric shortcuts to document menu
2883
2884         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2885
2886 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2887
2888         * lyxfont.C (setLyXFamily):
2889         (setLyXSeries):
2890         (setLyXShape):
2891         (setLyXSize):
2892         (setLyXMisc):
2893         (lyxRead):
2894         * debug.C (value):
2895         * buffer.C (asciiParagraph): use ascii_lowercase
2896
2897 2002-07-15  Mike Fabian  <mfabian@suse.de>
2898
2899         * lyxlex_pimpl.C (search_kw):
2900         * lyxlex.C (getLongString):
2901         * converter.h (operator<):
2902         * converter.C (operator<):
2903         * buffer.C (parseSingleLyXformat2Token):
2904         (asciiParagraph):
2905         * ToolbarDefaults.C (read):
2906         * MenuBackend.C (checkShortcuts):
2907         (read):
2908         * LColor.C (getFromGUIName):
2909         (getFromLyXName): use the compare_ascii_no_case instead of
2910         compare_no_case, because in turkish, 'i' is not the lowercase
2911         version of 'I', and thus turkish locale breaks parsing of tags.
2912
2913 2002-07-16  Angus Leeming  <leeming@lyx.org>
2914
2915         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
2916         now takes a Buffer const & argument.
2917
2918 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
2919
2920         * BufferView.C (resize): check there's a buffer to resize
2921
2922 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
2923
2924         * lyxfunc.C: remove dead code
2925
2926         * lyxserver.h:
2927         * lyxserver.C: use lyx_guii::set_read_callback
2928
2929 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
2930
2931         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
2932         an inset in a RTL paragraph.
2933
2934 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
2935
2936         * lyxfunc.C: repaint after a font size update
2937
2938 2002-07-15  André Pönitz <poenitz@gmx.net>
2939
2940         * lyxlength.C: inBP should be able to return negative values
2941
2942 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
2943
2944         * lyxfunc.C: use lyx_gui::update_fonts()
2945
2946 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
2947
2948         * lyxfunc.C: use lyx_gui::update_color()
2949
2950 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
2951
2952         * bufferlist.C:
2953         * lyxfunc.h:
2954         * lyxfunc.C:
2955         * lyxrc.h:
2956         * lyxrc.C: remove file->new asks for name option, and let
2957           buffer-new take an argument
2958
2959 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
2960
2961         * BufferView_pimpl.C: remove unneeded extra repaint()
2962
2963 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
2964
2965         * LyXAction.C: allow command-sequence with NoBuffer
2966
2967         * lyxfunc.C: don't insist on trailing ';' for command-sequence
2968
2969 2002-07-10  Angus Leeming  <leeming@lyx.org>
2970
2971         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
2972
2973 2002-07-09  Angus Leeming  <leeming@lyx.org>
2974
2975         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
2976
2977 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
2978
2979         * lengthcommon.h: whitespace
2980
2981         * lyxfunc.C: update scrollbar after goto paragraph
2982
2983         * lyxtext.h: factor out page break drawing, and fix it so
2984           page break/added space paints as selected nicely
2985
2986 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
2987
2988         * BufferView_pimpl.C: add FIXMEs, clean up a little
2989
2990 2002-07-09  André Pönitz <poenitz@gmx.net>
2991
2992         * lyxfont.[Ch]: support for wasy symbols
2993
2994 2002-07-08  André Pönitz <poenitz@gmx.net>
2995
2996         * BufferView_pimpl.C: apply John's patch for #93.
2997
2998 2002-07-05  Angus Leeming  <leeming@lyx.org>
2999
3000         * BufferView_pimpl.C (buffer): generate previews if desired.
3001
3002         * LColor.h: add "preview" to the color enum.
3003
3004         * LColor.C (LColor): add a corresponding entry to the items array.
3005
3006         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3007         with this buffer.
3008
3009 2002-07-05  Angus Leeming  <leeming@lyx.org>
3010
3011         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3012         The body of the code is now in the method that is passed an ostream &
3013         rather than a file name.
3014         Pass an additional only_preamble parameter, useful for the forthcoming
3015         preview stuff.
3016
3017 2002-07-03  André Pönitz <poenitz@gmx.net>
3018
3019         * lyxfunc.C: simplify getStatus() a bit for math stuff
3020
3021 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3022
3023         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3024
3025 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3026
3027         * text.C (changeRegionCase): do not change case of all the
3028         document when region ends at paragraph end (bug #461)
3029
3030 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3031
3032         * paragraph.C (startTeXParParams):
3033         (endTeXParParams): add \protect when necessary
3034
3035 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3036
3037         * BufferView_pimpl.C (workAreaExpose): remove warning
3038
3039 2002-06-27  Angus Leeming  <leeming@lyx.org>
3040
3041         * Makefile.am: add lyxlayout_ptr_fwd.h.
3042
3043 2002-06-26  André Pönitz <poenitz@gmx.net>
3044
3045         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3046
3047 2002-06-25  Angus Leeming  <leeming@lyx.org>
3048
3049         * lyxfunc.C (dispatch): Comment out the call to
3050         grfx::GCache::changeDisplay. The method no longer exists now that the
3051         pixmap generation part of the graphics loader has been moved into
3052         InsetGraphics.
3053
3054 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3055
3056         * text2.C: layout as layout
3057
3058         * text.C: layout as layout
3059
3060         * tabular.C (OldFormatRead): layout as layout
3061
3062         * paragraph_pimpl.C (TeXDeeper): layout as layout
3063         (realizeFont): layout as layout
3064
3065         * paragraph.C (writeFile): layout as layout
3066         (validate): layout as layout
3067         (getFont): layout as layout
3068         (getLabelFont): layout as layout
3069         (getLayoutFont): layout as layout
3070         (breakParagraph): layout as layout
3071         (stripLeadingSpaces): layout as layout
3072         (getEndLabel): layout as layout
3073         (getMaxDepthAfter): layout as layout
3074         (applyLayout): layout as layout
3075         (TeXOnePar): layout as layout
3076         (simpleTeXOnePar): layout as layout
3077         (TeXEnvironment): layout as layout
3078         (layout): layout as layout
3079         (layout): layout as layout
3080
3081         * lyxtextclass.C (compare_name): new functor to work with
3082         shared_ptr, layout as layout
3083         (Read): layout as layout
3084         (hasLayout): layout as layout
3085         (operator): layout as layout
3086         (delete_layout): layout as layout
3087         (defaultLayout): layout as layout
3088
3089         * lyxlayout_ptr_fwd.h: new file
3090
3091         * lyxlayout.C (Read): layout as layout
3092
3093         * lyx_cb.C (MenuInsertLabel): layout as layout
3094
3095         * bufferlist.C (newFile): layout as layout
3096
3097         * buffer.C (readLyXformat2): layout as layout
3098         (parseSingleLyXformat2Token): layout as layout
3099         (insertStringAsLines): layout as layout
3100         (asciiParagraph): layout as layout
3101         (latexParagraphs): layout as layout
3102         (makeLinuxDocFile): layout as layout
3103         (simpleLinuxDocOnePar): layout as layout
3104         (makeDocBookFile): layout as layout
3105         (simpleDocBookOnePar): layout as layout
3106         (getLists): layout as layout
3107
3108         * LaTeXFeatures.C (getTClassPreamble): layout as layout
3109
3110         * CutAndPaste.C (cutSelection): layout as layout
3111         (pasteSelection): layout as layout
3112         (SwitchLayoutsBetweenClasses): layout as layout
3113
3114         * BufferView_pimpl.C (Dispatch): layout as layout
3115         (smartQuote): layout as layout
3116
3117         * BufferView2.C (unlockInset): layout as layout
3118
3119 2002-06-24  André Pönitz <poenitz@gmx.net>
3120
3121         * lyxfunc.C: fix #487
3122
3123 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
3124
3125         * lyxrc.h:
3126         * lyxrc.C:
3127         * lyxfunc.C: remove display_shortcuts, show_banner
3128
3129 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
3130
3131         * Buffer_pimpl.C: oops, update on resize
3132
3133 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
3134
3135         * buffer.C:
3136         * converter.C:
3137         * exporter.C:
3138         * lyxfunc.C:
3139         * BufferView.h:
3140         * BufferView.C: use repaint()
3141
3142         * BufferView_pimpl.h:
3143         * BufferView_pimpl.C: s/updateScreen()/repaint()/
3144           as it's a clearer description. Remove superfluous
3145           redraws.
3146
3147 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
3148
3149         * text.C: fix bug 488. Not ideal, but getting
3150           getWord() to work properly for the insets that
3151           matter is more difficult ...
3152
3153 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
3154
3155         * BufferView_pimpl.C:
3156         * LyXAction.C:
3157         * commandtags.h:
3158         * lyxfunc.C: remove the six million index lyxfuncs to just
3159           one, and DTRT (bug 458)
3160
3161 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
3162
3163         * BufferView.h:
3164         * BufferView.C:
3165         * BufferView_pimpl.h:
3166         * BufferView_pimpl.C: clean up resize() stuff,
3167           and unnecessary updateScreen()s
3168
3169 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
3170
3171         * BufferView.h:
3172         * BufferView.C:
3173         * BufferView_pimpl.h:
3174         * BufferView_pimpl.C:
3175         * lyxfind.h:
3176         * lyxfind.C:
3177         * minibuffer.C: remove focus management of workarea,
3178           not needed. Use screen's greyOut()
3179
3180 2002-06-17  Herbert Voss  <voss@lyx.org>
3181
3182         * converter.C: (convert) do not post a message, when converting
3183         fails, let the calling function decide what to do in this case
3184
3185 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
3186
3187         * lyxfunc.C: tidy up a little
3188
3189 2002-06-16    <alstrup@diku.dk>
3190
3191         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3192         Got rid of FORMS_H_LOCATION include. Now we are
3193         GUII.
3194
3195 2002-06-15  LyX Development team  <lyx@rilke>
3196
3197         * buffer.[Ch] (sgmlOpenTag):
3198         (sgmlCloseTag): Added support for avoiding pernicious mixed
3199         content. Return number of lines written.
3200
3201         (makeLinuxDocFile):
3202         (makeDocBookFile): Fixed calls to sgml*Tag.
3203         Simple white space clean.
3204
3205         (simpleDocBookOnePar): Simple white space clean.
3206
3207         * tabular.[Ch] (docBook): Renamed to docbook and got another
3208         argument to related with the pernicious mixed content.
3209
3210         (docbookRow): Fixed calls for docbook inset method.
3211
3212 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
3213
3214         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3215         so it's X11 independent.
3216
3217         * kb*.[Ch]: ditto.
3218
3219         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3220
3221 2002-06-15  Lyx Development team  <lyx@electronia>
3222
3223         * intl.h: Renamed getTrans to getTransManager.
3224
3225 2002-06-14  Angus Leeming  <leeming@lyx.org>
3226
3227         * Makefile.am: nuke forgotten stl_string_fwd.h.
3228
3229 2002-06-12  Angus Leeming  <leeming@lyx.org>
3230
3231         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3232
3233 2002-06-13  Angus Leeming  <leeming@lyx.org>
3234
3235         * LaTeX.C:
3236         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3237
3238 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
3239
3240         * kbmap.C (getiso): add support for cyrillic and greek
3241
3242 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3243
3244         * BufferView.h:
3245         * BufferView.C:
3246         * BufferView_pimpl.h:
3247         * BufferView_pimpl.C: move bogus scrolling logic
3248           to xforms
3249
3250 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3251
3252         * lyxfunc.C:
3253         * BufferView_pimpl.C: view->resize() change
3254
3255 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3256
3257         * BufferView_pimpl.C: topCursorVisible
3258           prototype change
3259
3260 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3261
3262         * Makefile.am:
3263         * lyx_gui.h:
3264         * lyx_gui.C: move to frontends/
3265
3266         * main.C:
3267         * lyx_main.h:
3268         * lyx_main.C: changes from above
3269
3270 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3271
3272         * intl.C:
3273         * intl.h:
3274         * kbmap.C:
3275         * kbsequence.C:
3276         * lyx_cb.C:
3277         * lyx_main.C: minor tidy
3278
3279 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3280
3281         * BufferView_pimpl.h:
3282         * BufferView_pimpl.C:
3283         * BufferView.h:
3284         * BufferView.C: make painter() const,
3285           remove dead code
3286
3287         * BufferView2.C: use screen() accessor
3288
3289         * lyx_main.h:
3290         * lyx_main.C: some minor cleanup
3291
3292 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3293
3294         * BufferView_pimpl.h:
3295         * BufferView_pimpl.C: remove enter/leaveView,
3296           use workHeight()
3297
3298 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3299
3300         * BufferView.h:
3301         * BufferView.C:
3302         * BufferView2.C:
3303         * BufferView_pimpl.h:
3304         * BufferView_pimpl.C: only construct screen once,
3305           rename
3306
3307         * lyxrc.C: remove pointless comment
3308
3309 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
3310
3311         * BufferView.h:
3312         * BufferView.C: remove active() and belowMouse()
3313
3314         * BufferView_pimpl.h:
3315         * BufferView_pimpl.C: use workarea() not workarea_,
3316           and make it use a scoped_ptr instead
3317
3318 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
3319
3320         * lyx_gui.C: add debug message on BadWindow
3321
3322 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3323
3324         * sp_spell.C: fdopen is not part of the C++ standard.
3325
3326         * paragraph.C (InsetIterator): use >= instead of ==
3327
3328 2002-06-07  Angus Leeming  <leeming@lyx.org>
3329
3330         Fixes needed to compile with Compaq cxx 6.5.
3331         * BufferView_pimpl.C:
3332         * DepTable.C:
3333         * buffer.C:
3334         * converter.C:
3335         * encoding.C:
3336         * lyx_gui.C:
3337         * lyx_main.C:
3338         * lyxtextclasslist.C:
3339         * minibuffer.C:
3340         * sp_spell.C:
3341         * tabular_funcs.C:
3342         * vc-backend.C:
3343         all c-library variables have been moved into namespace std. Wrap
3344         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3345
3346         * lyxlength.C:
3347         * tabular-old.C:
3348         * tabular.C:
3349         Add a using std::abs declaration.
3350
3351         * kbmap.h (modifier_pair):
3352         * paragraph.h (InsetTable, InsetList):
3353         * lyxfont.h (FontBits):
3354         type definition made public.
3355
3356         * bufferlist.C (emergencyWriteAll): the compiler complains that
3357         there is more than one possible lyx::class_fun template to choose from.
3358         I re-named the void specialisation as lyx::void_class_fun.
3359
3360         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3361
3362         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3363         the compiler is is unable to find tostr in write_attribute.
3364
3365 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3366
3367         * buffer.C (sgmlError): hide #warning
3368
3369 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3370
3371         * xtl/*: get rid of xtl, which is not in use anyway
3372
3373         * LyXAction.C (init):
3374         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3375         were unimplemented xtl experimentation
3376
3377 2002-06-04  André Pönitz <poenitz@gmx.net>
3378
3379         * lyxfunc.C: disable array operation on simple formulae
3380
3381 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
3382
3383         * converter.C: constify a bit
3384
3385 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
3386
3387         * lyx_gui.C: check xforms version correctly
3388
3389 2002-04-30  Herbert Voss  <voss@lyx.org>
3390
3391         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3392         "keep" option
3393
3394 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
3395
3396         * lyxvc.C: fix bug 416 (make sure buffer is saved before
3397           attempt to register it with a VCS)
3398
3399 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3400
3401         * lyx_main.C (init): honor variables LYX_DIR_13x and
3402         LYX_USERDIR_13x
3403
3404 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
3405
3406         * buffer.h:
3407         * buffer.C:
3408         * lyx_main.C: fix a crash on bad command line,
3409           and give a useful exit status on error
3410
3411         * lyxfunc.C (doImport): allow -i lyx to work
3412
3413 2002-03-30  André Pönitz <poenitz@gmx.net>
3414
3415         * lyxfunc.C: mathed font changes
3416
3417 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
3418
3419         * LaTeX.C:
3420         * importer.h:
3421         * importer.C:
3422         * lyx_sty.h:
3423         * lyx_sty.C:
3424         * lyxlex.C:
3425         * lyxrow.h:
3426         * lyxtext.h:
3427         * paragraph.h:
3428         * paragraph.C:
3429         * texrow.h:
3430         * texrow.C:
3431         * text.C:
3432         * trans_mgr.h: srcdocs, and some minor cleanups
3433
3434 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3435
3436         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3437         call getFont all the time)
3438
3439 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3440
3441         * switch from SigC signals to boost::signals
3442
3443 2002-05-29  André Pönitz <poenitz@gmx.net>
3444
3445         * paragraph_pimpl.C (getChar): don't call size() too often...
3446
3447 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3448
3449         * paragraph_pimpl.C (insertChar): do not try to update tables when
3450         appending (pos == size())
3451
3452         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3453         in order to reduce drastically the number of comparisons needed to
3454         parse a large document
3455
3456 2002-05-29  André Pönitz <poenitz@gmx.net>
3457
3458         * text.C:
3459         * text2.C:
3460         * lyxtextclass.C:
3461         * sp_pspell.h:
3462         * textclasslist.[Ch]:
3463         * sp_ispell.h: whitespace change
3464
3465 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3466
3467         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3468         lyxaction directly now.
3469
3470 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
3471
3472         * trans.C:
3473         * lyxfont.C:
3474         * lyxvc.C: remove unused headers
3475
3476 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
3477
3478         * Makefile.am:
3479         * buffer.h:
3480         * undostack.h:
3481         * undostack.C:
3482         * undo_funcs.h:
3483         * undo_funcs.C: some cleanups. Use shared_ptr
3484           and a template for the undo stacks.
3485
3486 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
3487
3488         * BufferView_pimpl.h:
3489         * BufferView_pimpl.C:
3490         * kbmap.h:
3491         * kbmap.C:
3492         * kbsequence.h:
3493         * kbsequence.C:
3494         * lyxfunc.h:
3495         * lyxfunc.C:
3496         * text2.C: use key_state/mouse_state
3497
3498 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3499
3500         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3501         and LSubstring
3502
3503         * chset.C: change include order
3504         (loadFile): use boost regex and get rid of LRegex and LSubstring
3505
3506         * Makefile.am (BOOST_LIBS): new variable
3507         (lyx_LDADD): use it
3508
3509         * LaTeX.C: change include order.
3510         (scanAuxFile): use boost regex and get rid of LRegex and
3511         LSubstring
3512         (deplog): ditto
3513
3514 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
3515
3516         * ColorHandler.h:
3517         * ColorHandler.C:
3518         * FontInfo.h:
3519         * FontInfo.C: moved to frontends/xforms/
3520
3521         * FontLoader.h:
3522         * FontLoader.C: moved into frontends for GUIIzation
3523
3524         * Makefile.am:
3525         * lyx_gui.C:
3526         * lyxfont.C:
3527         * lyxfunc.C: changes from above
3528
3529 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
3530
3531         * LColor.C: remove spurious X include
3532
3533         * BufferView_pimpl.C:
3534         * Makefile.am:
3535         * font.h:
3536         * font.C:
3537         * text.C:
3538         * text2.C: move font metrics to frontends/
3539
3540 2002-05-24  Juergen Vigna  <jug@sad.it>
3541
3542         * undo_funcs.C (textHandleUndo): fix the cursor selection after
3543         setting the undo_cursor.
3544
3545         * ParagraphParameters.h: include local includes first.
3546
3547 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
3548
3549         * BufferView_pimpl.C:
3550         * BufferView_pimpl.h:
3551         * Makefile.am:
3552         * WorkArea.h:
3553         * WorkArea.C:
3554         * screen.C: move WorkArea into frontends/
3555
3556         * lyxscreen.h:
3557         * screen.C:
3558         * text.C:
3559         * BufferView.C:
3560         * BufferView2.C: move LyXScreen into frontends/
3561
3562         * lyxlookup.h:
3563         * lyxlookup.C:
3564         * lyx_gui.C: move lyxlookup into frontends/xforms/
3565
3566 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
3567
3568         * BufferView2.C:
3569         * BufferView_pimpl.C:
3570         * FontLoader.C:
3571         * LyXView.h:
3572         * LyXView.C:
3573         * Makefile.am:
3574         * WorkArea.C:
3575         * XFormsView.h:
3576         * XFormsView.C:
3577         * buffer.C:
3578         * bufferlist.C:
3579         * bufferview_funcs.C:
3580         * converter.C:
3581         * importer.C:
3582         * lyx_cb.C:
3583         * lyx_gui.C:
3584         * lyx_main.C:
3585         * lyx_find.C:
3586         * lyxfunc.C:
3587         * lyxvc.C:
3588         * minibuffer.C:
3589         * text.C:
3590         * text2.C:
3591         * trans.C:
3592         * vc-backend.C: move LyX/XFormsView into frontends/
3593
3594 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
3595
3596         * Makefile.am:
3597         * PainterBase.C:
3598         * PainterBase.h:
3599         * Painter.C:
3600         * Painter.h:
3601         * WorkArea.C:
3602         * WorkArea.h:
3603         * screen.C:
3604         * tabular.C:
3605         * text.C:
3606         * text2.C: move Painter to frontends/
3607
3608 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3609
3610         * buffer.C: comment out some some code that depend upon lyx_format
3611         < 220
3612
3613         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3614         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3615
3616         * buffer.h (NO_COMPABILITY): turn off compability
3617
3618         * ColorHandler.C: include scoped_array.hpp
3619
3620         * font.C: Use more specific smart_ptr header.
3621         * Painter.C: ditto
3622         * gettext.C: ditto
3623         * ShareContainer.h: ditto
3624         * lyx_main.h: ditto
3625         * kbmap.h: ditto
3626         * FontInfo.h: ditto
3627         * BufferView_pimpl.h: ditto
3628         * ColorHandler.h: ditto
3629
3630         * kbmap.C (defkey): change call to shared_ptr::reset
3631
3632 2002-05-21  Juergen Vigna  <jug@sad.it>
3633
3634         * buffer.C (insertErtContents): fix to insert ert asis if it is
3635         non empty. Skip it completely if it contains only whitespaces.
3636
3637 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
3638
3639         * BufferView_pimpl.C:
3640         * BufferView2.C: clear selection on paste (bug 393)
3641
3642 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3643
3644         * DepTable.C: include ctime
3645
3646 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
3647
3648         * buffer.C (latexParagraphs): Add new argument (moving_arg).
3649
3650 2002-05-14  Juergen Vigna  <jug@sad.it>
3651
3652         * text.C (breakParagraph): fixed function to honor the keepempty
3653         layout in the right maner and also to permit the right breaking
3654         algorithm on empty or non empyt keepempty paragraphs.
3655
3656         * paragraph.C (breakParagraph): we have to check also if the par
3657         is really empty (!size()) for isempty otherwise we do the wrong
3658         paragraph break.
3659
3660 2002-05-10  Juergen Vigna  <jug@sad.it>
3661
3662         * buffer.[Ch] : The following are only changes to the ert
3663         compatibility read reading old LaTeX layout and font stuff and
3664         convert it to ERTInsets.
3665
3666         * buffer.h: added isErtInset().
3667
3668         * buffer.C (struct ErtComp): add a fromlayout bool to check
3669         if we're inside a LaTeX layout.
3670         (isErtInset): new helper function.
3671         (insertErtContents): look for other ert insets before this one
3672         and insert the contents there, so that we don't have subsequent
3673         ERT insets with nothing between them. This way we create only one
3674         inset with multiple paragraphs. Also check if we don't insert only
3675         spaces ' ' as they are ignored anyway afterwards in the .tex file
3676         so if we have only spaces we will ignore this latex part in the
3677         new file.
3678         (parseSingleLyXformat2Token \\layout): better compatibility when
3679         reading layout-latex stuff.
3680         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3681         language tag.
3682         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3683         stuff after reading the inset only get the information back from
3684         the stack.
3685
3686 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
3687
3688         * buffer.C (makeLaTeXFile): Put language options after loading babel.
3689
3690         * LaTeXFeatures.C (getBabelOptions): New method.
3691
3692 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3693
3694         * BufferView_pimpl.C (Dispatch): work around missing argument for
3695         'layout'
3696
3697 2002-05-08  Juergen Vigna  <jug@sad.it>
3698
3699         * text.C (leftMargin): handle paragraph leftindent.
3700
3701         * paragraph.C (writeFile): write the new \\leftindent tag.
3702         (validate): handle leftindent code.
3703         (TeXEnvironment): handle paragraphleftindent code again.
3704
3705         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3706
3707         * buffer.C (parseSingleLyXformat2Token): added compatibility code
3708         for paragrap_extra indent code and new token \\leftindent.
3709         (latexParagraphs): handle the leftindent as environment.
3710
3711         * ParameterStruct.h: added leftindent support.
3712
3713         * ParagraphParameters.C (leftIndent): added support functions for
3714         the paragraph left indent.
3715
3716         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3717         more appropriate.
3718
3719 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
3720
3721         * paragraph.C (isRightToLeftPar): Return false for a paragraph
3722         inside insetERT.
3723
3724         * text.C (computeBidiTables): No bidi in insetERT.
3725
3726         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3727         in RTL documents.
3728
3729 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3730
3731         * version.C.in: pre 5
3732
3733 2002-05-02  José Matos  <jamatos@fep.up.pt>
3734         * buffer.C (makeDocBookFile): white space changes, add newline to
3735         command styles.
3736         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3737
3738         * tabular.C (docBook): fix typo.
3739
3740 2002-05-03  Juergen Vigna  <jug@sad.it>
3741
3742         * screen.C (drawFromTo): recalculate the rowpointer if we had a
3743         change in LyXText as we can not be sure it was not freed.
3744         (drawOneRow): remove unused code.
3745
3746         * text.C (drawInset): redo the calculation of the need_break_row as
3747         it could have a row which was already freed.
3748         (draw): look at the return value of drawInset and return false if
3749         it also returned false.
3750         (paintRowText): look at the return value of draw and return false if
3751         it also returned false.
3752
3753         * lyxtext.h: added bool return type to drawInset() and draw() so that
3754         if we have a change in the row so that the rowbreak has to be redone
3755         we abort drawing as it will be called again.
3756
3757 2002-05-02  Juergen Vigna  <jug@sad.it>
3758
3759         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3760         a change in the maintext also if we're inside an inset.
3761         (Dispatch): set the cursor again after a break line and after the
3762         screen has been updated as it could be we're in a different row.
3763
3764         * text2.C (fixCursorAfterDelete): check to make sure we don't request
3765         to set the cursor behind the pargraph with > size().
3766         (setCursor): check also for the same paragraph when checking where
3767         to put the cursor if we have a NFR inset.
3768
3769         * buffer.C (parseSingleLyXformat2Token): move the compatibility
3770         parts of layout read further up as it still was in the wrong
3771         position.
3772
3773 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3774
3775         * screen.C (drawFromTo): change sine fullRebreak always return
3776         true.
3777
3778         * buffer.C (parseSingleLyXformat2Token): reindent some
3779
3780         * BufferView_pimpl.C (update): change since fullRebreak always
3781         return true.
3782         (Dispatch): git rid of the last hardcoded "Standard"s.
3783
3784 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3785
3786         * text2.[Ch] (fullRebreak): make it return void now that we always
3787         returned true.
3788
3789 2002-04-30  Juergen Vigna  <jug@sad.it>
3790
3791         * buffer.C (parseSingleLyXformat2Token): reset the font before the
3792         ert compatibility check for "latex" layout.
3793
3794 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
3795
3796         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3797         minipages: use col% instead of p%, and also use the current font.
3798         (makeLaTeXFile): Fix use babel condition.
3799         (parseSingleLyXformat2Token): Correct font when reading old floats.
3800
3801 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
3802
3803         * BufferView_pimpl.C (Dispatch): Check that float type exists when
3804         inserting list of floats.
3805
3806 2002-04-25  Herbert Voss  <voss@lyx.org>
3807
3808         * MenuBackend.C (expand): don't add the graphics extensions to the
3809         export menu
3810
3811 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3812
3813         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3814         non-existing layout, do not complain if it was the default layout
3815         of the original class (bug #342)
3816
3817 2002-04-24  Juergen Vigna  <jug@sad.it>
3818
3819         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3820         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3821
3822 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
3823
3824         * buffer.C (getBibkeyList): If using \bibliography, return the
3825         option field with the reference itself. Enables us to provide natbib
3826         support when using \bibliography.
3827
3828 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
3829
3830         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3831
3832         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3833         natbib is provided by the LaTeX class.
3834
3835 2002-04-23  Juergen Vigna  <jug@sad.it>
3836
3837         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3838         Wakeup functions.
3839
3840         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3841
3842 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3843
3844         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3845
3846         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3847         ensuremath around textordmasculine, textordfeminine and
3848         textdegree.
3849
3850 2002-04-19  Juergen Vigna  <jug@sad.it>
3851
3852         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3853         reinitializing the buffer otherwise row-dimensions may be wrong.
3854         (update): reset also the selection cursors if they do exits otherwise
3855         their x/y positions may be wrong.
3856
3857         * text2.C (cursorDown): don't enter the inset if we came from a row
3858         above and are one row over the inset.
3859
3860         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3861         really leaving an inset.
3862
3863 2002-04-18  Juergen Vigna  <jug@sad.it>
3864
3865         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3866         of the selected paragraph does not have the selected layout also if
3867         the last one had!
3868
3869         * text2.C (setLayout): fixed bug which did not change last selected
3870         paragraph.
3871
3872         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3873         changed the read and substituted \\end_float with \\end_inset!
3874
3875         * BufferView_pimpl.C (cursorPrevious):
3876         (cursorNext): fixed to make it work with rows heigher than the work
3877         area without moving the cursor only the draw of the row.
3878         (workAreaMotionNotify): fix jumping over high rows.
3879
3880 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3881
3882         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3883         Ressler.
3884
3885 2002-04-16  Juergen Vigna  <jug@sad.it>
3886
3887         * text2.C (setCursor): set also the irow().
3888         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3889         (cursorUp):
3890         (cursorDown): support for locking an inset if the x_fix value goes
3891         inside it. That way I can transverse insets too with cursor up/down.
3892
3893         * lyxrow.h: added irow helper function same as other (i) functions.
3894
3895         * BufferView_pimpl.C (cursorPrevious):
3896         (cursorNext): fixed for insets!
3897
3898 2002-04-15  Juergen Vigna  <jug@sad.it>
3899
3900         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3901         position otherwise it is wrong in some cases.
3902
3903         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3904         inside the inset before the call.
3905
3906 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
3907
3908         * buffer.[Ch] (getBibkeyList): make it const.
3909
3910 2002-04-12  Juergen Vigna  <jug@sad.it>
3911
3912         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
3913
3914         * text2.C (getCursorX): new helper function
3915         (setCursor): compute also ix_
3916         (setCursorFromCoordinates): set also ix.
3917
3918         * lyxcursor.h: added ix_ and helper functions.
3919
3920         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
3921
3922         * buffer.C (insertStringAsLines): dont break paragraph if the this
3923         paragraph is inside an inset which does not permit it!
3924
3925         * text.C (breakParagraph): honor keepempty flag and break the paragraph
3926         also with no chars on this paragraph.
3927         (paintRowText): only paint stuff if it's inside the workarea!
3928
3929         * paragraph.C (breakParagraph): honor keepempty flag and break the
3930         paragraph always below not above.
3931
3932         * BufferView2.C (unlockInset): update the paragraph layout on inset
3933         unlock as we changed paragraph in such a case.
3934
3935         * lyxfind.C (LyXFind): clear the former selection if not found!
3936
3937         * text2.C (insertInset): freeze Undo after setUndo so that it is not
3938         again called in insertChar().
3939
3940         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
3941         an inset which uses the whole row!
3942         (rightMargin): ditto.
3943         (insertChar): force a rebreak if we inserted an inset!
3944
3945 2002-03-28  Herbert Voss  <voss@lyx.org>
3946
3947         * lyxlength.[Ch]: add inBP() to get the right PS-point
3948         units (BigPoint). With inPixels we have rounding errors
3949
3950 2002-04-11  Juergen Vigna  <jug@sad.it>
3951
3952         * text2.C (setCursorFromCoordinates): set iy to the right value.
3953         (setCursor): add check if row->previous exists!
3954
3955         * buffer.C (parseSingleLyXformat2Token): reset font after read of
3956         an old float_type as this was the case in the old code!
3957
3958         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
3959
3960         * BufferView2.C (showLockedInsetCursor): use iy
3961         (fitLockedInsetCursor): ditto
3962
3963         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
3964         locked insets as there we have the right value now.
3965
3966         * lyxcursor.C: added iy_ variable and iy functions to set to the
3967         baseline of cursor-y of the locked inset.
3968
3969         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
3970         (setCursor): fixed for insets which need a full row.
3971
3972         * text.C (rowLastPrintable): don't ignore the last space when before
3973         an inset which needs a full row.
3974         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
3975         as last character of a row when before a inset which needs a full row.
3976
3977 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3978
3979         * version.C.in: update date
3980
3981         * text2.C (fullRebreak): try to always return true and see what
3982         happens...
3983
3984 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3985
3986         * MenuBackend.C (expand): use Floating::listName
3987
3988         * FloatList.C (FloatList): add listName argument to the built-in
3989         floats
3990
3991         * Floating.[Ch]: add listName member, which is the 'List of XXX'
3992         text associated with the float.
3993
3994 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3995
3996         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3997
3998 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3999
4000         * ShareContainer.h: add a couple of missing typenames.
4001
4002 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
4003
4004         * lyxrc.C (getDescription): use _() correctly rather than N_().
4005
4006 2002-03-28  Herbert Voss  <voss@lyx.org>
4007
4008         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4009         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4010
4011 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4012
4013         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4014         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4015
4016 2002-03-29  Juergen Vigna  <jug@sad.it>
4017
4018         * lyxfunc.C (dispatch): add a missing fitCursor call.
4019
4020         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4021         it was scrolled by a cursor move, so return the bool status.
4022
4023         * BufferView.C (fitCursor): return the bool flag also to the outside
4024         world as this is needed.
4025
4026         * screen.C (toggleToggle): don't subtract the offset if it's positive.
4027
4028         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4029         call the edit() as it is not needed (and wrong) IMO.
4030         (workAreaButtonPress): set the screen_first variable before evt.
4031         unlock the inset as this may change screen_first and then we have
4032         a wrong y position for the click!
4033
4034 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4035
4036         * MenuBackend.C (expand): another translation that I missed
4037
4038 2002-03-28  Juergen Vigna  <jug@sad.it>
4039
4040         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4041
4042         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4043
4044 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4045
4046         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4047
4048         * MenuBackend.C (expand): fix export/view/update when there is no
4049         document open.
4050
4051 2002-03-27  Herbert Voss  <voss@lyx.org>
4052
4053         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4054         and text%
4055
4056 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4057
4058         * bufferview_funcs.C (currentState): only show paragraph number
4059         for is DEVEL_VERSION is set.
4060
4061         * lyxfunc.C (dispatch): put warning in INFO channel
4062
4063         * MenuBackend.C (expand): translate the name of floats
4064
4065         * FloatList.C (FloatList): mark the float names for translation
4066
4067         * converter.C (convert): use LibScriptSearch
4068
4069 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4070
4071         * MenuBackend.C (defaults): fix default menu (we might as well get
4072         rid of it...)
4073
4074 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4075
4076         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4077         directory.
4078
4079 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4080
4081         * lyxvc.C: reorder includes.
4082
4083 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
4084
4085         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4086           properly
4087
4088 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
4089
4090         * CutAndPaste.C: change layouts earlier on paste
4091           to avoid crashing when calling getFont()
4092
4093 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
4094
4095         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4096         irritating #error.
4097
4098 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4099
4100         * WorkArea.C: remove 'Pending' debug message.
4101
4102         * most files: ws cleanup
4103
4104         * buffer.[Ch]: ws changes
4105
4106         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4107
4108 2002-03-21  Juergen Vigna  <jug@sad.it>
4109
4110         * tabular.C (SetMultiColumn): collapse also the contents of the
4111         cells and set the last border right. Added a Buffer const * param.
4112
4113 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4114
4115         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4116         linking or not.
4117
4118 2002-03-19  Juergen Vigna  <jug@sad.it>
4119
4120         * text2.C (clearSelection): reset also xsel_cache.
4121
4122         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4123         where it needs to be called (John tells us to do so too :)
4124         (selectionLost): reset sel_cache.
4125
4126         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4127
4128 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4129
4130         * text2.C (setCursorIntern): put debuging code in INSETS channel
4131
4132 2002-03-19  André Pönitz <poenitz@gmx.net>
4133
4134         * lyxfunc.C: tiny whitespace change
4135
4136 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4137
4138         * ToolbarDefaults.C (init):
4139         * LyXAction.C (init):
4140         * commandtags.h:
4141         * BufferView_pimpl.C (Dispatch):
4142         * lyxfunc.C (dispatch): remove LFUN_DEPTH
4143
4144 2002-03-19  Allan Rae  <rae@lyx.org>
4145
4146         * exporter.C (Export): removeAutoInsets before doing anything else.
4147         While I've just introduced a dependency on BufferView this really is
4148         the best place to clean the buffer otherwise you need to cleanup in
4149         a dozen places before calling export or cleanup in a dozen functions
4150         that export calls.
4151
4152         * converter.C (runLaTeX):
4153         (scanLog): Better handling of removeAutoInsets and screen updates.
4154
4155         * lyxfunc.C (dispatch): small whitespace changes
4156
4157 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4158
4159         * WorkArea.C (C_WorkAreaEvent): return a value.
4160         (event_cb): return 1 if we handled the event, 0 otherwise.
4161
4162         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4163
4164 2002-03-18  Juergen Vigna  <jug@sad.it>
4165
4166         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4167         (GetAdditionalWidth): ditto.
4168         (RightLine): ditto.
4169         (LeftLine): ditto.
4170
4171         * BufferView2.C (copy): use getLyXText() so that we do it inside an
4172         inset if we're there actually (probably not used right now but this
4173         is the direction to go for unifying code).
4174         (paste): disable code to clear the selection.
4175
4176         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4177         inside an InsetText and move the check further up as it is in the
4178         wrong place.
4179
4180         * text2.C (pasteSelection): set a selection over the pasted text.
4181
4182 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
4183
4184         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4185         and libgraphics to build on Cygwin.
4186
4187 2002-03-15  Juergen Vigna  <jug@sad.it>
4188
4189         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4190         inserting an Inset into the paragraph. I know this is not the best
4191         fix but we already use current_view in CutAndPaste so we will remove
4192         all of it's using at the same time.
4193
4194         * buffer.C (sgmlError): deactivated function till it is rewritten in
4195         the right mode, now it can create problems.
4196
4197         * paragraph.C (isLineSeparator): check if getInset returns != 0,
4198         before accessing it.
4199
4200 2002-03-14  Juergen Vigna  <jug@sad.it>
4201
4202         * undo_funcs.C (textHandleUndo): do the right thing when updating
4203         the inset after the undo/redo.
4204
4205         * text2.C (setCursor): just some testcode for #44 not ready yet.
4206
4207         * undo_funcs.C (textHandleUndo): set the next() and previous()
4208         pointers of the paragraph to 0 before deleting otherwise we have
4209         problems with the Paragraph::[destructor].
4210
4211         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4212         on a paragraph insertion.
4213
4214 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4215
4216         * buffer.C (asciiParagraph): use += operator for char append to
4217         string.
4218
4219         * paragraph.C (getFontSettings): compare >= not just >
4220         (highestFontInRange): ditto
4221         (setFont): ditto
4222
4223 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4224
4225         * paragraph.C: change several algorithm to be more appripriate for
4226         the problem domain. This is lookip in FontList and in the InsetList.
4227
4228 2002-03-13  André Pönitz <poenitz@gmx.net>
4229
4230         * commandtags.h:
4231         * LyXAction.C: remove unused LFUN_MATH_MACROARG
4232
4233 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
4234
4235         * commandtags.h:
4236         * LyXAction.C:
4237         * lyxfunc.C:
4238         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4239
4240 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4241
4242         * Painter.C (display): anon helper function, adjust code for this
4243         change.
4244         (pixmap): remove function.
4245
4246         * Painter.h: remove private display variable.
4247
4248         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4249
4250 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
4251
4252         * WorkArea.[Ch]: remove figinset_canvas cruft.
4253
4254 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4255
4256         * lyxtextclass.C (operator): add one item cache optimization.
4257
4258         * bufferlist.h: doxy changes
4259
4260         * bufferlist.C: ws changes
4261
4262         * DepTable.[Ch] (ext_exist): place const in the right spot.
4263
4264         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4265         call resizeInsets.
4266         (workAreaExpose): call resizeInsets when the with BufferView changes.
4267         (Dispatch): adjust for protectedBlank removal
4268         (specialChar): call updateInset if the insert went ok.
4269
4270         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4271         specialChar instead.
4272
4273         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4274
4275         * BufferView.h: doxy change
4276
4277         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4278
4279         * lyxtextclass.C (operator[]): remove non-const version
4280         (defaultLayout): remove non-const version
4281
4282 2002-03-12  Juergen Vigna  <jug@sad.it>
4283
4284         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4285         did resize the LyXText too.
4286
4287         * buffer.C (readLyXformat2): set layout information on newly allocated
4288         paragraphs.
4289
4290         * tabular.C (OldFormatRead): set layout information on the paragraph.
4291
4292 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
4293
4294         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4295
4296 2002-03-11  Juergen Vigna  <jug@sad.it>
4297
4298         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4299         plainly wrong.
4300         (resizeCurrentBuffer): force also the insets to resize themselfes.
4301         (moveCursorUpdate): fixed up for InsetText.
4302
4303 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
4304
4305         * commandtags.h:
4306         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4307         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4308         value of Dialogs::tooltipsEnabled().
4309         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4310
4311 2002-03-08  Juergen Vigna  <jug@sad.it>
4312
4313         * BufferView_pimpl.C (updateInset): update inset inside inset also
4314         if it isn't inside theLockingInset().
4315
4316 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4317
4318         * buffer.C (asciiParagraph): redo some of the word and line length
4319         handling.
4320         (getLists): look for Caption instead of caption.
4321
4322 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4323
4324         * buffer.C (Buffer): initialize niceFile to true
4325         (makeLaTeXFile):
4326         (makeLinuxDocFile):
4327         (makeDocBookFile): make sure niceFile is true on exit
4328
4329 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4330
4331         * buffer.C (makeLaTeXFile): escape ~ in \input@path
4332
4333 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
4334
4335         * LyXSendto.C: remove.
4336         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4337         * lyx_gui.C: remove now-redundant comment.
4338         * ColorHandler.h: remove forward declaration of class WorkArea.
4339         * lyxfunc.C: remove #include "WorkArea.h".
4340
4341 2002-03-07  Juergen Vigna  <jug@sad.it>
4342
4343         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4344         got moved away with the DEPM and also set the inset_owner always
4345         right which before could have been omitted.
4346
4347 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4348
4349         * buffer.C (parseSingleLyXformat2Token): use default layout is the
4350         wanted layout is not found.
4351
4352 2002-03-07  Juergen Vigna  <jug@sad.it>
4353
4354         * CutAndPaste.C (cutSelection): another layout settings forgotten.
4355
4356 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4357
4358         * paragraph.C (breakParagraph): use default layout not layout of
4359         prev paragraph.
4360         (Paragraph): clear ParagraphParameters.
4361
4362 2002-03-06  Juergen Vigna  <jug@sad.it>
4363
4364         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4365         otherwise it would not be a valid lenght. Fixed a special case in
4366         the minipage compatibility read where we end the document with a
4367         minipage.
4368
4369         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4370         was set as it could be 0 for InsetTexts first entry.
4371
4372 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4373
4374         * paragraph.C (writeFile): if layout is empty write out
4375         defaultLayoutName().
4376
4377         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4378         file without named layout we set layout to defaultLayoutName().
4379
4380 2002-03-06  Juergen Vigna  <jug@sad.it>
4381
4382         * CutAndPaste.C (copySelection): set layout for new paragraph.
4383
4384         * text.C (prepareToPrint): leave ERT inset left aligned
4385         (leftMargin): don't indent paragraphs inside ERT insets
4386
4387 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4388
4389         * paragraph.C (breakParagraph): dont call clear do the work manually
4390
4391         * paragraph.[Ch] (clear): remove function
4392
4393 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4394
4395         * paragraph.C (Paragraph): dont call clear, the work has already
4396         been done.
4397
4398         * lyxtextclass.C (operator): assert if n is empty
4399
4400         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4401         work manually instead.
4402
4403 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
4404
4405         * BufferView_pimpl.C: protect selectionLost against text == 0
4406
4407 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4408
4409         * text.C (breakParagraph): fix a setting layout to '0' problem.
4410
4411 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
4412
4413         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4414         final location of file, for the included files, and graphics.
4415
4416 2002-03-05  Juergen Vigna  <jug@sad.it>
4417
4418         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4419
4420 2002-03-04  Juergen Vigna  <jug@sad.it>
4421
4422         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4423
4424         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4425         last column of multicolumn cells.
4426         (SetWidthOfMulticolCell): recalculate NMC and real columns.
4427
4428 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
4429
4430         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4431         file if it doesn't go to a temporary file.
4432
4433         * buffer.C (sgmlOpenTag):
4434         (sgmlCloseTag):  remove extra newline insertion.
4435
4436 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4437
4438         * text.C (getRowNearY): comment out debug msg
4439
4440 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4441
4442         * text2.C: first -> first_y
4443
4444         * text.C (getRowNearY): add some attemts at a possible
4445         optimization, not working.
4446
4447         * tabular.[Ch]: add BufferParams to several function so that newly
4448         created paragraph can be initialized to he default layotu for the
4449         buffers textclass.
4450
4451         * tabular-old.C (ReadOld): add buf->params to call of Init
4452
4453         * screen.C: rename text->first to text->first_y
4454
4455         * paragraph.C (breakParagraph): always set layout in the broken
4456         paragraph
4457
4458         * lyxtextclass.C (Read): remove lowercase
4459         (hasLayout): ditto
4460         (operator): ditto
4461         (delete_layout): ditto
4462
4463         * lyxtext.h: rename first -> first_y
4464
4465         * lyxlayout.C (Read): remove lowercase
4466         (name): ditto
4467         (setName): ditto
4468         (obsoleted_by): ditto
4469
4470         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4471
4472         * buffer.C (insertErtContents): add params are to InsetERT
4473         (parseSingleLyXformat2Token): add code to check if a paragraphs
4474         layout really exist.
4475         (parseSingleLyXformat2Token): add params to several inset
4476         constructors
4477         (asciiParagraph): remove lowercase, do the layout comparisons with
4478         no_case
4479
4480         * BufferView_pimpl.C (cursorNext): first -> first_y
4481         (resizeCurrentBuffer): first -> first_y
4482         (updateScrollbar): first -> first_y
4483         (scrollCB): first -> first_y
4484         (workAreaMotionNotify): first -> first_y
4485         (workAreaButtonPress): first -> first_y
4486         (checkInsetHit): first -> first_y
4487         (cursorPrevious): first -> first_y
4488         (cursorNext): first -> first_y
4489         (Dispatch): add buffer_->params to severl inset contructors
4490
4491 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4492
4493         * lyxlayout.C (Read): remove some debug info that I forgot.
4494
4495         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4496         clean up the code slightly.
4497         (makeLinuxDocFile): ditto
4498         (makeDocBookFile): ditto
4499
4500         * text2.C: layout as string
4501
4502         * text.C: layout as string
4503
4504         * paragraph_pimpl.C: layout as string
4505
4506         * paragraph.[Ch]: layout as string
4507
4508         * lyxtextclasslist.[Ch]: layout as string
4509
4510         * lyxtextclass.[Ch]: layout as string
4511
4512         * lyxtext.h: layout as string
4513
4514         * lyxlayout.[Ch]: layout as string
4515
4516         * lyx_cb.C: layout as string
4517
4518         * bufferview_funcs.C: layout as string
4519
4520         * bufferparams.C: layout as string
4521
4522         * buffer.C: layout as string
4523
4524         * LyXView.[Ch]: layout as string
4525
4526         * LaTeXFeatures.[Ch]: layout as string
4527
4528         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4529
4530         * BufferView_pimpl.C: change current_layout to string, remove
4531         lyx::layout_type.
4532         (Dispatch):
4533         (smartQuote):
4534         (insertInset):
4535         (workAreaButtonRelease): layout as string
4536
4537         * BufferView2.C (unlockInset): adjust
4538
4539         * vspace.C (asLatexCommand): use an explict temp variable.
4540
4541 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
4542
4543         * Makefile.am: use FRONTEND_*
4544
4545 2002-03-01  Juergen Vigna  <jug@sad.it>
4546
4547         * tabular.C (SetWidthOfMulticolCell): changed to something better
4548         I hope but still work in progress.
4549         (recalculateMulticolumnsOfColumn): renamed function from
4550         recalculateMulticolCells as it is more appropriate now.
4551         (SetWidthOfCell): calculate multicols better.
4552
4553 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4554
4555         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4556
4557         * lyxfunc.C (processKeySym): print sequence also if it is
4558         `deleted' (complete)
4559
4560         * kbsequence.C (print): print sequence even if it is deleted
4561         (complete would be a better word, actually).
4562
4563         * lyxfunc.C (dispatch): print complete options after a prefix key
4564
4565         * vspace.C (asLatexCommand): rewrite in a slightly different form.
4566
4567 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
4568
4569         * text2.C (setCharFont): eliminate setCharFont code duplication.
4570
4571 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4572
4573         * BufferView_pimpl.C (Dispatch): remove bogus handling of
4574         LFUN_TABULAR_FEATURE (bug #177)
4575
4576 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
4577
4578         * Makefile.am: remove figure.h
4579
4580 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
4581
4582         * Bufferview_pimpl.C:
4583         * CutAndPasteC:
4584         * LaTeX.C:
4585         * LyXSendto.C:
4586         * buffer.C:
4587         * bufferlist.C:
4588         * converter.C:
4589         * language.C:
4590         * lyxfunc.C:
4591         * lyxvc.C:
4592         * paragraph.C:
4593         * text.C:
4594         * text2.C: remove #include "lyx_gui_misc.h".
4595
4596         * LaTeX.C: added #include <cstdio>
4597
4598 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4599
4600         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4601         that the paragraph following this one can have.
4602
4603         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4604
4605         * vspace.C (asLatexCommand): fix bogus gcc warning
4606
4607         * Makefile.am (lyx_SOURCES): remove vms_defines.h
4608
4609 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
4610
4611         * text2.C (setLayout): get rid of redundant code
4612
4613 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
4614
4615         * text2.C (incDepth): make sure depth cannot be increased beyond
4616         reasonable values.
4617
4618 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
4619
4620         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4621         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4622
4623         * PainterBase.h (image):
4624         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4625         a LyXImage const *.
4626
4627 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
4628
4629         * BufferView.C:
4630         * BufferView.h:
4631         * BufferView_pimpl.C:
4632         * BufferView_pimpl.h:
4633         * LaTeXFeatures.C:
4634         * LyXAction.C:
4635         * LyXView.C:
4636         * Makefile.am:
4637         * UpdateList.h:
4638         * UpdateList.C:
4639         * buffer.C:
4640         * figure.h:
4641         * figureForm.C:
4642         * figureForm.h:
4643         * figure_form.C:
4644         * figure_form.h:
4645         * lyx_cb.C:
4646         * lyx_gui.C:
4647         * lyx_gui_misc.C:
4648         * lyxfunc.C:
4649         * sp_base.h:
4650         * sp_ispell.h:
4651         * sp_pspell.h:
4652         * sp_spell.C: remove fig inset, and the crap house of
4653           cards that follows it
4654
4655 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
4656
4657         * Makefile.am:
4658         * lyxserver.C:
4659         * os2_defines.h:
4660         * os2_errortable.h:
4661         * nt_defines.h: move .h into support/
4662
4663         * vms_defines.h: remove
4664
4665         * WorkArea.C: add space in debug output
4666
4667         * text2.C:
4668         * paragraph.C:
4669         * buffer.C: add WITH_WARNINGS
4670
4671         * vc-backend.h:
4672         * vc-backend.C:
4673         * bufferlist.C: s/retrive/retrieve/, add docs
4674
4675         * vspace.h:
4676         * vspace.C:
4677         * kbmap.h:
4678         * lyxlength.h:
4679         * lyxgluelength.h:
4680         * length_common.h:
4681         * chset.h:
4682         * chset.C: add docs
4683
4684         * lyxgui.C: add ID to X error handler
4685
4686         * lyxtestclass.c: fix typo
4687
4688 2002-02-26  Juergen Vigna  <jug@sad.it>
4689
4690         * tabular_funcs.C (write_attribute): changed so that some default
4691         attributes are not written at all.
4692         (getTokenValue): set default values before trying to read the
4693         value so we have the return value always set as default if we don't
4694         find the token we search for.
4695
4696         * tabular.C (Write): write bools as bools not as strings!
4697
4698 2002-02-22  Juergen Vigna  <jug@sad.it>
4699
4700         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4701         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4702
4703         * text.C (leftMargin): don't add an indent for paragraphs inside
4704         tabular cells (fix #208).
4705
4706 2002-02-21  José Matos  <jamatos@fep.up.pt>
4707
4708         * tabular.C (docBook): fixed support for long tables.
4709
4710 2002-02-20  Juergen Vigna  <jug@sad.it>
4711
4712         * text2.C (getFont): get the drawing font of the Inset if this
4713         paragraph is inside an inset (only important for InsetERT for now).
4714
4715         * buffer.C (insertErtContents): use new lanugage params in ERT
4716         constructor.
4717
4718         * CutAndPaste.C: commenting out seemingly uneeded code.
4719
4720 2002-02-19  Allan Rae  <rae@lyx.org>
4721
4722         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4723         Iterators might be simple to use but they also get invalidated.
4724         (removeAutoInsets): renamed saved cursor tracking variables and added
4725         some comments to clarify what everything does.
4726
4727 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
4728
4729         * Chktex.C:
4730         * LaTeX.C:
4731         * LyXSendto.C:
4732         * converter.C:
4733         * lyx_cb.C:
4734         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4735         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4736
4737         * lyxfunc.C:
4738         * vc-backend.h: remove #include "support/syscall.h"
4739
4740         * LaTeX.C:
4741         * LyXSendto.C:
4742         * converter.C: rearrange #includes in Lars' approved fashion.
4743
4744         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4745         forward declare class Timeout in the header file.
4746
4747         * XFormsView.C: changes due to the above.
4748
4749         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4750         similar to LyXView.
4751
4752         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4753         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4754
4755 2002-02-18  José Matos  <jamatos@fep.up.pt>
4756
4757         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4758         insets contents.
4759
4760 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
4761
4762         * a lot of small ws changes
4763         * add a lot of using std::XXX
4764         * use std construcs some places where approp.
4765         * use some exisint stuff from lyxfunctional where approp.
4766         * Make file changes to use partial linking (lets test this now...)
4767
4768 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
4769
4770         * Chktex.C:
4771         * buffer.C:
4772         remove #include "support/syscontr.h" as it's redundant. Always has been.
4773
4774         * Chktex.C:
4775         * LaTeX.C:
4776         * LyXSendto.C:
4777         * converter.C:
4778         * lyx_cb.C:
4779         * vc-backend.C:
4780         change Systemcalls::System to Systemcalls::Wait and
4781         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4782         No change of functionality, just reflects the stripped down Systemcalls
4783         class.
4784
4785 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
4786
4787         * debug.[Ch]: add a GRAPHICS type to the enum.
4788
4789 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4790
4791         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4792
4793         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4794         there is an inset.
4795
4796 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4797
4798         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4799         match the changes below.
4800
4801         * text2.C (toggleInset): if there is not editable inset at cursor
4802         position, try to see if cursor is _inside_ a collapsable inset
4803         and close it.
4804
4805 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4806
4807         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4808         document menu has a nice checkbox
4809
4810 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4811
4812         * lyxlength.C (asLatexString): change PW to output as percent of
4813         \textwidth.
4814
4815         * lengthcommon.C: change '%' to 't%'
4816
4817         * lyxfunc.C (dispatch): a few comments from Martin
4818
4819 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
4820
4821         * WorkArea.h:
4822         * WorkArea.C:
4823         * BufferView_pimpl.h:
4824         * BufferView_pimpl.C: clear our selection when X tells us we've lost
4825           the X selection.
4826
4827 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4828
4829         * vspace.C (inPixels): fix compiler warning
4830
4831 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4832
4833         * lyxfunc.C (getStatus): fix status message for disabled commands.
4834
4835 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
4836
4837         * BufferView_pimpl.C: fix crash on close buffer
4838         during selection (#227)
4839
4840 2002-01-27  Herbert Voss  <voss@lyx.org>
4841
4842         * buffer.C: link old Figure to new graphic inset
4843
4844 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
4845
4846         * FontLoader.C (getFontinfo): Change the latex font names in order
4847         to match the names of type1inst.
4848
4849 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4850
4851         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4852
4853         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4854         (extchanged): ditto
4855         (ext_exist): ditto
4856         (remove_files_with_extension): ditto
4857         (remove_file): ditto
4858         (write): ditto
4859
4860         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4861         document is smaller than the work area height. Do not initialize
4862         static variables to 0.
4863
4864 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4865
4866         * lyx_gui.C (init): give the toolbar tooltips a normal font.
4867
4868         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4869         LFUN_LAYOUT_PARAGRAPHS.
4870
4871         * tabular.C (GetCellFromInset): new method. Finds an inset in a
4872         tabular. It is possible to provide a possible cell, which will
4873         typically be the actcell from the corresponding insettabular
4874
4875         * lyxfunc.C (getStatus): small cleanup; disable
4876         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4877         true
4878
4879 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4880
4881         * tabular.C (Validate): remove broken optimization (fixes bug #201)
4882
4883         * paragraph.C (startTeXParParams):
4884         (endTeXParParams): new methods. The LaTeX code to
4885         start/end paragraph formatting
4886         (simpleTeXOnePar): call startTeXParParams also when paragraph is
4887         empty (fixes bug #200)
4888
4889         * vspace.C (inPixels): adapt to the change below
4890         (inPixels): [later] more cleanups (remove unused variables)
4891
4892         * lyxlength.C (inPixels): change to use a width and a height as
4893         parameter.
4894
4895 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4896
4897         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4898         Replaced with \paperwidth
4899
4900         * DepTable.C (insert): add std:: qualifier
4901
4902 2002-01-18  Allan Rae  <rae@lyx.org>
4903
4904         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
4905         updated also?
4906
4907         * text.C (drawInset): Turned out I didn't know enough about how
4908         rebreaking worked.  This fixes most of the redraw problems.  I see
4909         an occasional cursor trail when a line is broken now and the cursor
4910         placement can seem out by a few pixels also after a rebreak.
4911
4912 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4913
4914         * buffer.C (parseSingleLyXformat2Token): update because minipage
4915         width is now a LyXLength
4916
4917         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
4918
4919         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
4920         math insets
4921
4922 2002-01-17  Juergen Vigna  <jug@sad.it>
4923
4924         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
4925
4926         * BufferView2.C (lockInset): call edit() so that theLockingInset()
4927         is set correctly and the inset is updated correctly.
4928
4929 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4930
4931         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
4932         the beginning of the loop.
4933
4934 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
4935
4936         * lyxrc.C: improve help for use_scalable_fonts
4937
4938 2002-01-17  Allan Rae  <rae@lyx.org>
4939
4940         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
4941
4942 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4943
4944         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4945         make sure to set their inset_owner to the right value (bug #171)
4946
4947 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
4948
4949         * DepTable.h
4950         * DepTable.C: Implement mtime checking to reduce time spent doing
4951         CRCs.
4952
4953 2002-01-16  Juergen Vigna  <jug@sad.it>
4954
4955         * tabular.C (GetAdditionalHeight): one of error fixed.
4956
4957         * lyxrc.C (output): small fix in writing use_pspell.
4958
4959 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
4960
4961         * sp_base.h: #include LString.h
4962
4963 2002-01-16  Allan Rae  <rae@lyx.org>
4964
4965         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
4966         Can someone check this please?
4967
4968         * text.C (drawInset): It was possible that p.row would be removed by
4969         breakAgainOneRow upsetting a few other settings.  There may be another
4970         small tweak possible by setting need_break_row = 0 when p.row has been
4971         removed but I don't know enough about the logic here.
4972
4973 2002-01-15  Allan Rae  <rae@lyx.org>
4974
4975         * text.C (insertChar): removed conditional truism.
4976
4977         * BufferView2.C (removeAutoInsets): More tweaks.
4978         cur_par_prev could be a stray pointer.  Check for trailing empty line
4979         in case last line was cur_par and only had an error inset on it.
4980
4981 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4982
4983         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
4984         absolute
4985
4986         * vc-backend.C (most methods):
4987         * exporter.C (Export):
4988         * converter.C (convert):
4989         (runLaTeX):
4990         * LyXSendto.C (SendtoApplyCB):
4991         * lyxfunc.C (dispatch):
4992         (menuNew):
4993         (open):
4994         (doImport):
4995         * lyx_cb.C (AutoSave):
4996         (InsertAsciiFile):
4997         * BufferView_pimpl.C (MenuInsertLyXFile):
4998         * buffer.C (runChktex): use Buffer::filePath().
4999
5000         * buffer.h: rename filename to filename_; rename filepath to
5001         filepath_ and make it private
5002         (filePath): new method
5003
5004         * buffer.C (writeFile): use fileName()
5005         (getLatexName):
5006
5007         * lyx_main.C (init): fix starting  of LyX when the binary is a
5008         link from so,ewhere else.
5009
5010         * minibuffer.C: include <cctype> for isprint
5011
5012 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
5013
5014         * buffer.C (parseSingleLyXformat2Token): changes associated with the
5015         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5016         name clash with InsetCollapsable's width function.
5017
5018 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5019
5020         * lastfiles.C: include <iterator>
5021
5022 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
5023
5024         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5025         std::count.
5026
5027         * buffer.C (makeLaTeXFile): ditto.
5028         Also make loop operation more transparent.
5029
5030 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
5031
5032         * ToolbarDefaults.C: remove trailing comma closing namespace.
5033
5034         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5035
5036         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5037         as in WorkArea.
5038
5039         * trans.C (Load): comment out unused variable, allowed.
5040
5041 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
5042
5043         * minibuffer.[Ch] (append_char): new method to recieve input from the
5044         drop-down completion browser. If a key was pressed, then recieve this
5045         char and append it to the existing string.
5046         (peek_event): modify the positioning data passed to the completion
5047         browser so that it can be placed above the minibuffer rather than below.
5048 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5049
5050         * LyXAction.C (init): alloe error-next for readonly documents.
5051
5052         * BufferView2.C (ChangeRefsIfUnique): use standard version of
5053         count.
5054
5055 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5056
5057         * bufferlist.C (readFile): create the buffer _after_ checking that
5058         the file exists.
5059
5060         * lyxfunc.C (verboseDispatch): fix handling of arguments
5061
5062         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5063
5064         * lyxrc.C: use string::erase() instead of initializing to "".
5065
5066
5067 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
5068
5069         * BufferView_pimpl.h:
5070         * BufferView_pimpl.C:
5071         * WorkArea.h:
5072         * WorkArea.C:
5073         * text2.C: tell X when we have made a selection for copying
5074
5075 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5076
5077         * BufferView_pimpl.C (MenuInsertLyXFile):
5078         * lyxfunc.C (menuNew):
5079         (open):
5080         (doImport): add shortcuts to directory buttons
5081
5082         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5083         open a float)
5084
5085         * lyxfunc.C (setStatusMessage):
5086         (getStatusMessage): new methods
5087         (getStatus):use setStatusMessage instead of setErrorMessage
5088         (dispatch): when function is disabled, set error message here
5089         [instead of in getStatus previously]
5090
5091         * BufferView_pimpl.C (workAreaButtonRelease): update
5092         toolbar/menubar here too.
5093
5094 2002-01-13  Allan Rae  <rae@lyx.org>
5095
5096         * BufferView2.C (removeAutoInsets): finished off earlier fix.
5097         Now seems indestructible.  Remaining task is to audit all other
5098         code affected by deleteEmptyParagraphMechanism.  One small quirk
5099         left is that an empty document with an error in the preamble can
5100         be made to report an error but no error box appears.  I don't know
5101         where it goes.
5102         (removeAutoInsets): Improved comments.
5103
5104 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
5105
5106         * Thesaurus.h:
5107         * Thesaurus.C: update for Aiksaurus 0.14
5108
5109 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5110
5111         * text2.C (firstParagraph): removed member function, all uses
5112         replaces with ownerParagraph
5113         (redoParagraphs): here
5114         (updateInset): here
5115         (toggleAppendix): here
5116         * BufferView2.C (insertErrors): here
5117         (setCursorFromRow): here
5118
5119 2002-01-13  Allan Rae  <rae@lyx.org>
5120
5121         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5122         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5123         There is still a way to segfault this although you may have to do this
5124         multiple times: Have an InsetERT with an unknown command in it.
5125         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5126         <down-arrow>, <Enter> again, View->DVI, BANG!
5127
5128         * text2.C (setCursor):
5129         (deleteEmptyParagraphMechanism):
5130         * lyxtext.h (setCursor):
5131         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5132         Making use of the return value may help fix other bugs.
5133
5134 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5135
5136         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5137
5138         * LyXView.C (updateMenubar): call MenuBar::update here
5139         (updateToolbar): but not here
5140         (showState): do not update toolbar/menubar
5141
5142         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5143         should need to care about that.
5144
5145         * lyxfunc.C (verboseDispatch): simplify a bit
5146         (getStatus): have a version which takes a pseudoaction, and
5147         another which requires a (kb_action,string).
5148
5149         * LyXAction.C (retrieveActionArg): make it work also when action
5150         is not a pseudo-action.
5151         (getActionName): simplify a bit
5152         (helpText):
5153
5154 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5155
5156         * lyxfunc.C (verboseDispatch): new families of methods with
5157         several ways to specify a command and a bool to indicate whether
5158         the command name and shortcut should be displayed in minibuffer
5159         (eventually, we could extend that to a finer bitmask like
5160         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5161         (dispatch): the pristine dispatch command which just, well,
5162         dispatchs! Note it still sets its result to minibuffer; I'm not
5163         sure we want that.
5164
5165         * lyxfunc.h: remove setHintMessage
5166
5167         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5168
5169 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5170
5171         * BufferView_pimpl.C (specialChar): delete new inset if we have
5172         not been able to insert it.
5173
5174         * kbmap.C: revert to using int instead of kb_action, since all we
5175         are dealing with is pseudo-actions.
5176
5177         * LyXAction.C (searchActionArg): change to return int instead of
5178         kb_action, since the result is a pseudoaction.
5179
5180 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
5181
5182         * buffer.C (insertErtContents): Fix (partially) the font bug.
5183
5184 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
5185
5186         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5187         as the other one is broken on my machine!
5188
5189 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
5190
5191         * commandtags.h:
5192         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5193
5194 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
5195
5196         * lyxrc.[Ch]: change names and descriptions of popup font variables to
5197         reflect their actual use. Provide compatibility code for older lyxrc
5198         files.
5199
5200         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5201         FL_NORMAL_STYLE.
5202         change names of popup font variables in line with the changes to lyxrc.C
5203
5204 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5205
5206         * buffer.C (asciiParagraph): avoid outputing a word twice after
5207         an inset.
5208
5209         * lyxrc.C (getDescription): document that document_path and
5210         template_path can be empty.
5211
5212 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5213
5214         * LaTeXFeatures.C (getMacros):
5215         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5216
5217         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5218
5219         * LaTeXFeatures.C (useFloat): require "float" here instead of in
5220         getPackages.
5221         (getPackages): rename feature "floats" to "float". Use an array to
5222         iterate over 'simple' features (i.e. just a \usepackage). Add
5223         handling of "amsmath" (renamed from "amsstyle").
5224
5225 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
5226
5227         * LaTeXFeatures.C (require): Prevent duplicate entries in the
5228         features list.
5229
5230 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
5231
5232         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5233         FuncStaus::FuncStatus & FuncStaus::some_method().
5234
5235 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
5236
5237         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5238         of the func_satus stuff. Edited and massaged in various ways by
5239         JMarc.
5240
5241         * lyxfunc.C (getStatus): use FuncStatus
5242
5243 2002-01-08  Juergen Vigna  <jug@sad.it>
5244
5245         * text.C (nextBreakPoint): use function Inset::isChar().
5246
5247         * paragraph.C (TeXOnePar): use function
5248         Inset::forceDefaultParagraphs.
5249
5250         * buffer.C (latexParagraphs): use function
5251         Inset::forceDefaultParagraphs.
5252
5253 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
5254
5255         * lyx_gui.C (init): set the style of the menu popups to
5256         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5257
5258 2002-01-07  Juergen Vigna  <jug@sad.it>
5259
5260         * text.C (setHeightOfRow): small fix
5261         (prepareToPrint): don't look at alignment if we don't have the place
5262         for doing it.
5263
5264 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
5265
5266         * box.C: New file. Move the Box methods and functions out of box.h,
5267         following Lars' suggestion.
5268
5269 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
5270
5271         * box.h: #include "support/LOstream.h", needed for inlined function.
5272
5273         * lyxtextclass.C:
5274         * lyxtextclasslist.C: added some using std declarations.
5275
5276 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
5277
5278         * box.h: make signed dimensions to allow insets wider than
5279           the screen (bug #162)
5280
5281         * BufferView_pimpl.C: add some insetHit debug
5282
5283 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
5284
5285         * vc-backend.C: add FIXME
5286
5287 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5288
5289         * lyxfunc.C (getStatus): enable code for showing math font status
5290         in toolbar/menu.
5291
5292 2002-01-07  Juergen Vigna  <jug@sad.it>
5293
5294         * text.C (nextBreakPoint): removed debug output not needed anymore.
5295
5296 2002-01-06  Juergen Vigna  <jug@sad.it>
5297
5298         * text.C (nextBreakPoint): fixed up this function we had this bug
5299         since ever but now hopefully we break row better.
5300         (insertChar): we have to check if an inset is the next char as it
5301         could now happen that a large inset is causing a break.
5302
5303 2002-01-05  Juergen Vigna  <jug@sad.it>
5304
5305         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5306         if it doesn't like to be drawed.
5307
5308 2002-01-04  Juergen Vigna  <jug@sad.it>
5309
5310         * BufferView2.C (lockInset): forgot to set a cursor.
5311
5312         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5313
5314 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
5315
5316         * FormMathsPanel.C:
5317         * FormMathsPanel.h
5318         * MathsSymbols.C:
5319         * form_maths_panel.C:
5320         * form_maths_panel.h:
5321         * form_maths_panel.fd: implemented sub- and super- buttons in math
5322         panel.
5323
5324         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5325         (or ^ space) to be used as in TeX (req'd by André).
5326
5327         * lyxfunc.C: Allow ^ and _ again to be used both as
5328         super/subscript (mathed) and as themselves (in text).
5329
5330 2002-01-03  Allan Rae  <rae@lyx.org>
5331
5332         * LyXView.C (updateWindowTitle): Setup a short icon title of either
5333         "LyX" or the filename of the current buffer if it has one.  This is a
5334         modified form of John Levon's patch.
5335
5336         * XFormsView.C (setWindowTitle): also set icon title.
5337
5338         * LyXView.h (setWindowTitle): signature changed.
5339         * XFormsView.h (setWindowTitle): ditto.
5340
5341 2002-01-02  Juergen Vigna  <jug@sad.it>
5342
5343         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5344
5345 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5346
5347         * screen.C (topCursorVisible): introduce a temp var for
5348         text->cursor.row(), handle the case where this row is null. (kindo
5349         hachish)
5350
5351         * text2.C (setCursor): add a couple of asserts.
5352
5353         * paragraph.h (inset_iterator): add -> operator
5354
5355         * paragraph.[Ch] (autoDeleteInsets): remove member function
5356
5357         * BufferView2.C (removeAutoInsets): rewrite to handle the old
5358         cursor pos correctly and handle inset deletion by itself.
5359         (insertErrors): move iterator declaration out of for expression
5360
5361         * lyxtextclass.C: add <algorithm>
5362
5363         * Makefile.am: added the new files to sources, removed layout.C
5364
5365         * layout.C: removed file
5366
5367         * layout.h: remove LYX_DUMMY_LAYOUT
5368
5369         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5370         layout.
5371
5372         * lyxlayout.[Ch]:
5373         * lyxtextclass.[Ch]:
5374         * lyxtextclasslist.[Ch]: new files
5375
5376         * include order changes to a lot of files, also changes because of
5377         the six new files.
5378
5379 2001-12-27  Juergen Vigna  <jug@sad.it>
5380
5381         * buffer.C (asciiParagraph): more fixes.
5382
5383         * tabular.C (ascii): make ascii export support export of only the
5384         data separated by a column-delimiter.
5385         (ascii): better support for ascii export.
5386
5387         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5388
5389 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5390
5391         * tabular_funcs.C: use a "using std::getline" instead of the
5392         previous fix from Angus (necessary for cxx + lyxstring)
5393
5394 2001-12-24  Juergen Vigna  <jug@sad.it>
5395
5396         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5397
5398         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5399         problems. First check a minipage also if we have some ert-contents
5400         (not only on par->size(), second set the right depth of the paragraph
5401         on the relink to the root-paragraph-list!
5402
5403         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5404         which then did not anymore update the main paragraphs on undo/redo!
5405
5406 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5407
5408         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5409         code. Support all font-changing funcs (even those which are not in
5410         menu currently). Support for reporting font settings in
5411         mathed (disabled until Andre provides a function on mathed's side).
5412
5413         * func_status.h (toggle): small helper function to set toggle
5414         state on a flag.
5415
5416 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
5417
5418         * tabular_funcs.C: getline -> std::getline
5419
5420 2001-12-21  Juergen Vigna  <jug@sad.it>
5421
5422         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5423         accessed and could be 0 (I couldn't generate this but it seems
5424         Michael could!).
5425
5426 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5427
5428         * tabular_funcs.C: add LIstream.h, move write_attribute to..
5429         * tabular_funcs.h: here and include iosfwd
5430
5431 2001-12-20  Juergen Vigna  <jug@sad.it>
5432
5433         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5434         inside inset but undo_par was.
5435
5436 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5437
5438         * Thesaurus.C: always include <config.h> in sources.
5439
5440         * Painter.h:
5441         * lyxlookup.h:
5442         * box.h: do not include <config.h> in header files
5443
5444         * text.C (paintLastRow): remove unused variable
5445
5446         * text.C (transformChar):
5447         (insertChar):
5448         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5449
5450         * Painter.C (text):
5451         * font.C (width): rewrite to use uppercase() instead of
5452         islower/toupper.
5453
5454         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5455
5456 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
5457
5458         * lyxfind.C: clean up of find failure position change
5459
5460 2001-12-20  Juergen Vigna  <jug@sad.it>
5461
5462         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5463
5464         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5465         (TeXRow): added to LaTeX a single tabular row.
5466         (TeXLongtableHeaderFooter): added to output LT-h/f data.
5467         (Latex): simplified and finally good LT-h/f support.
5468         (various_functions): just small adaptions for LT-h/f support.
5469
5470         * tabular_funcs.[hC]: added and moved here all not classfunctions
5471         of LyXTabular.
5472
5473 2001-12-19  Juergen Vigna  <jug@sad.it>
5474
5475         * tabular.[Ch]: better support for longtabular options (not finished
5476         yet!)
5477
5478 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5479
5480         * text.C (paintLastRow): use the label font instead of the font of
5481         the last character to compute the size of *_BOX. This makes more
5482         sense and avoids a crash with empty paragraphs.
5483         Use Painter::rectangle to draw EMPTY_BOX.
5484
5485 2001-12-19  Juergen Vigna  <jug@sad.it>
5486
5487         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5488         the paragraphs if the replaced paragraph is not the first one!
5489         Tried to delete not used paragraphs but does not work yet so for
5490         now it's inside #ifdef's and by default off!
5491
5492 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5493
5494         * MenuBackend.C: include "lyx_main.h" instead of declaring
5495         lastfiles (actually was declared as LastFiles* instead of a
5496         scoped_ptr).
5497
5498 2001-12-17  Juergen Vigna  <jug@sad.it>
5499
5500         * tabular.C (AppendColumn): applied John's fix
5501
5502 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
5503
5504         * BufferView.h:
5505         * BufferView.C:
5506         * BufferView_pimpl.h:
5507         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5508
5509         * Makefile.am:
5510         * box.h: new start of class for above
5511
5512         * lyxfunc.C: ignore space-only minibuffer dispatches.
5513           Show the command name when it doesn't exist
5514
5515         * minibuffer.C: don't add empty lines to the history
5516
5517         * minibuffer.C: add a space on dropdown completion
5518
5519 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
5520
5521         * text.C: fix line above/below drawing in insets
5522
5523 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5524
5525         * lyxlength.C (LyXLength): Initialize private variables.
5526
5527 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
5528
5529         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5530         when inserting error insets.
5531
5532 2001-12-13  Juergen Vigna  <jug@sad.it>
5533
5534         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5535         actually sometimes the before-paragraph.
5536         (setUndo): don't clear the redostack if we're not actually undoing!
5537
5538 2001-12-06  Juergen Vigna  <jug@sad.it>
5539
5540         * undo_funcs.C (textHandleUndo): well after John's hint I got here
5541         and fixed redoing of main paragraph, so we can use it now ;)
5542
5543         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5544
5545 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5546
5547         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5548         Juergen's request
5549
5550 2001-12-13  André Pönitz <poenitz@gmx.net>
5551
5552         * undostack.[Ch]:
5553         * undo_func.C: minor cleanup
5554
5555 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5556
5557         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5558         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5559         font in urw-fonts package which is marked as -urw-fontspecific and
5560         does not work (incidentally, changing the encoding in the
5561         fonts.dir of this package to -adobe-fontspecific fixes the
5562         problem).
5563
5564         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5565         is a crash when undoing first paragraph (Juergen, please take a
5566         look). THis does not mean the undo fix is wrong, just that it
5567         uncovers problems.
5568
5569         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5570         the (Paragraph*) version when needed instead of duplicating the
5571         code.
5572
5573         * text.C (workWidth): use Inset::parOwner to find out where the
5574         inset has been inserted. This is a huge performance gain for large
5575         documents with lots of insets. If Inset::parOwner is not set, fall
5576         back on the brute force method
5577
5578         * paragraph_pimpl.C (insertInset):
5579         * paragraph.C (Paragraph):
5580         (cutIntoMinibuffer): set parOwner of insets when
5581         inserting/removing them
5582
5583         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5584
5585 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
5586
5587         * commandtags.h:
5588         * LyXAction.C:
5589         * lyx_main.C:
5590         * lyxfunc.C:
5591         * mathed/formulabase.C:
5592         * mathed/math_cursor.[Ch]:
5593         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5594
5595
5596 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5597
5598         * lyxlength.[Ch] (operator!=): new function
5599
5600 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5601
5602         * text.C (workWidth): use Inset::parOwner to find out where the
5603         inset has been inserted. This is a huge performance gain for large
5604         documents with lots of insets. If Inset::parOwner is not set, fall
5605         back on the brute force method
5606
5607         * paragraph_pimpl.C (insertInset):
5608         * paragraph.C (Paragraph):
5609         (cutIntoMinibuffer): set parOwner of insets when
5610         inserting/removing them
5611
5612         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5613
5614 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5615
5616         * tabular-old.C (getTokenValue):
5617         * tabular.C (getTokenValue):
5618         (write_attribute): new versions for LyXLength
5619         (everywhere): adjust the use of widths
5620
5621         * tabular.h: change the type of widths from string to LyXLength
5622
5623 2001-12-11  Ben Stanley <bds02@uow.edu.au>
5624
5625         * paragraph.C: fixed missing line number count when exporting
5626         Environments to LaTeX file
5627
5628         * buffer.C: added informational message for checking line numbers.
5629
5630 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5631
5632         * text2.C (deleteEmptyParagraphMechanism): if there is only one
5633         paragraph, do the 'double space' part, but not the 'empty
5634         paragraph' one.
5635
5636         * text.C (workWidth): small optimization
5637         (getLengthMarkerHeight): use minimal size for negative lengths.
5638
5639 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
5640
5641         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5642
5643         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5644
5645 2001-12-11  André Pönitz <poenitz@gmx.net>
5646
5647         * FontLoader.C:
5648         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5649
5650 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
5651
5652         * text2.C: keep selection on a setFont()
5653
5654 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
5655
5656         * lyx_cb.C: another bv->text misuse, from insert label
5657
5658 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
5659
5660         * kbsequence.h:
5661         * kbsequence.C: re-instate nmodifier mask
5662
5663 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
5664
5665         * lyx_main.h: make lyxGUI private.
5666
5667 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
5668
5669         * lyxfind.C: place the cursor correctly on failed search
5670
5671 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5672
5673         * text.C (getLengthMarkerHeight): for small heights, the arrows
5674         are not always on top/bottom of the text
5675         (drawLengthMarker): smaller arrows; take the left margin in
5676         account; draw also vfills.
5677         (paintFirstRow):
5678         (paintLastRow): remove special code for vfill and standard spaces,
5679         since everything is handled in drawLengthMarker now.
5680
5681 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5682
5683         * buffer.C (insertErtContents): try to handle font and language
5684         interaction a bit better.g
5685
5686         * ColorHandler.C (updateColor): change the hash to cover the whole
5687         LColor enum, ws cleanup
5688         (getGCLinepars): ditto
5689         (getGCLinepars): only lookup in the linecache once.
5690
5691 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
5692
5693         * iterators.C (operator++): Make the iterator more robust
5694
5695         * BufferView2.C (removeAutoInsets): Use paragraph iterators
5696         (John's patch)
5697         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5698
5699 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5700
5701         * lyxtext.h:
5702         * text.C: better added space drawing
5703
5704 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5705
5706         * LyXView.C:
5707         * BufferView2.C: fix layout combo update on inset unlock
5708
5709 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5710
5711         * Makefile.am: don't compile unused files
5712
5713 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5714
5715         * lyxfunc.C:
5716         * commandtags.h:
5717         * LyXAction.C: remove old LFUN_LAYOUTNO
5718
5719 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5720
5721         * paragraph_pimpl.h:
5722         * paragraph_pimpl.C: isTextAt() doesn't need font param
5723
5724 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5725
5726         * lyxlex.h:
5727         * lyxlex.C: little cleanup
5728
5729 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5730
5731         * BufferView_pimpl.C: fix insertAscii for insets
5732
5733 2001-12-05  Juergen Vigna  <jug@sad.it>
5734
5735         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5736         set the right font on the "multi" paragraph paste!
5737
5738 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5739
5740         * trans_decl.h:
5741         * trans_mgr.[Ch]:
5742         * trans.[Ch]:
5743         * lyxgluelength.C:
5744         * lyxlength.C: remove out-commented code.
5745
5746         * BufferView_pimpl:
5747         * CutAndPaste.C:
5748         * DepTable.C:
5749         * buffer.C:
5750         * chset.C:
5751         * lastfiles.C:
5752         * lyxlex.C:
5753         * lyxlex_pimpl.C:
5754         * lyxserver.C:
5755         * screen.C:
5756         * tabular-old.C:
5757         * tabular.C:
5758         * text.C:
5759         * trans_mgr.C:
5760         * vc-backend.C: change "while(" to "while ("
5761
5762         * lyxlength.[Ch]: add zero function to check if length is zero or
5763         not
5764         * lyxgluelength.C: use it
5765
5766 2001-12-05  Allan Rae  <rae@lyx.org>
5767
5768         * lyxlength.C: Attempted a fix for the abs(int) header selection.
5769         Works for 2.95.3, from what I understand of Garst's reports this should
5770         work for other g++ versions.  We're screwed if the abs(int) definition
5771         changed between bugfix releases of gcc.
5772
5773 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
5774
5775         * text.C: fix chapter label offset !
5776
5777 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
5778
5779         * lyxtext.h:
5780         * text.C: fix hfill at end of line, clean up
5781
5782 2001-12-04  Juergen Vigna  <jug@sad.it>
5783
5784         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5785         that we force an update of the inset and it's owners if neccessary.
5786
5787 2001-12-03  Juergen Vigna  <jug@sad.it>
5788
5789         * text.C (rowLast): simplified code
5790
5791 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
5792
5793         * lyxfunc.C: fix show options on timeout
5794
5795 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5796
5797         * screen.C (topCursorVisible): scroll half a page when the cursor
5798         reached top of bottom of screen
5799
5800 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
5801
5802         * minibuffer.C: deactivate on loss of focus
5803
5804 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5805
5806         * vspace.[Ch] (operator!=): add operator.
5807
5808 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
5809
5810         * BufferView_pimpl.C: refuse to open an inset when
5811         there's a selection.
5812
5813 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
5814
5815         * BufferView_pimpl.C: allow to click on RHS of full row insets
5816
5817 2001-11-30  Juergen Vigna  <jug@sad.it>
5818
5819         * tabular.C (LyXTabular): add a same_id to set the same id's in the
5820         insets for undo reasons.
5821
5822 2001-11-28  André Pönitz <poenitz@gmx.net>
5823
5824         * vspace.[Ch]: cosmetical changes
5825
5826 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
5827
5828         * LyXAction.h:
5829         * LyXAction.C:
5830         * lyxfunc.h:
5831         * lyxfunc.C:
5832         * kbmap.h:
5833         * kbmap.C:
5834         * lyxrc.C:
5835         * kbsequence.h:
5836         * kbsequence.C: part re-write of old kb code
5837
5838         * Painter.C:
5839         * WorkArea.C: remove Lgb_bug_find_hack
5840
5841 2001-11-30  José Matos <jamatos@fep.up.pt>
5842
5843         * buffer.C (makeDocBookFile): add a comment to point a hack.
5844         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5845         Fixed a double write of labels.
5846
5847 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5848
5849         * LaTeX.C:
5850         * LaTeX.h Fixed bug in LaTeX class where it would not
5851         re-run latex if no depfiles were changed, but the .dvi was removed.
5852
5853 2001-11-28  André Pönitz <poenitz@gmx.net>
5854
5855         * all the files from the change on 2001/11/26:
5856         use lyx::layout_type instead of LyXTextClass::size_type
5857         use lyx::textclass_type instead of LyXTextClassList::size_type
5858
5859 2001-11-29  Juergen Vigna  <jug@sad.it>
5860
5861         * text.C: added support for paragraph::isFreeSpacing()
5862
5863         * buffer.C: same as above
5864
5865         * paragraph.h: inserted isFreeSpacing() function to enable
5866         FreeSpacing inside InsetERT.
5867
5868         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5869         of the paragraph's in the cut/copy buffer to 0!
5870
5871         * text2.C (removeRow): remove the assert as it can!
5872
5873         * lyxtext.h: added helper function firstRow returning firstrow and
5874         made firstrow private again.
5875
5876         * BufferView2.C (lockInset): don't relock if we're already locked!
5877
5878         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5879         the only paragraph.
5880         (removeRow): added Assert::(firstrow)
5881
5882         * debug.C: forgot to add INSETTEXT here.
5883
5884 2001-11-28  Juergen Vigna  <jug@sad.it>
5885
5886         * sp_spell.C (initialize): changed error text to more general
5887         spellchecker command use (not only ispell!)
5888
5889         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5890
5891         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5892
5893 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
5894
5895         * vspace.C: initialise lyxgluelength on failure
5896
5897 2001-11-28  Allan Rae  <rae@lyx.org>
5898
5899         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5900         declaration & definition that looks like a function declaration.
5901
5902 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5903
5904         * BufferView2.C (copy):
5905         (copyEnvironment): do not clear the selection when doing a copy.
5906
5907         * text.C (paintFirstRow): compilation fix
5908
5909 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
5910
5911         * tabular.C (Latex): correct line count when writing latex.
5912
5913 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
5914
5915         * paragraph_pimpl.h:
5916         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
5917           bug a bit
5918
5919 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
5920
5921         * text.C:
5922         * LColor.h:
5923         * LColor.C: change vfillline->added_space
5924
5925         * text.C: add markers and text for added space
5926
5927         * vspace.C: fix comment
5928
5929 2001-11-28  André Pönitz <poenitz@gmx.net>
5930
5931         * paragraph.C: whitespace changes
5932         * all the other files from the change on 2001/11/26:
5933         change *::pos_type into lyx::pos_type
5934
5935 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5936
5937         * buffer.C (parseSingleLyXformat2Token): Set the language to the
5938         language of the document when inserting error insets.
5939
5940 2001-11-26  André Pönitz <poenitz@gmx.net>
5941
5942         * BufferView_pimpl.[Ch]:
5943         *       CutAndPaste.C:
5944         * buffer.[Ch]:
5945         * lyxcursor.[Ch]:
5946         * lyxfind.C:
5947         * lyxfunc.C:
5948         * lyxrow.[Ch]:
5949         * paragraph.[Ch]:
5950         * paragraph_pimpl.[Ch]:
5951         * sp_spell.C:
5952         * text.C:
5953         * text2.C: reduce header dependencies, introduce type for positions
5954
5955 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
5956
5957         * <various>: change to use Alert.h
5958
5959 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5960
5961         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
5962         when encountering an unknown token.
5963         (readLyXformat2): Show an error message if there were unknown tokens.
5964
5965 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
5966
5967         * BufferView2.C:
5968         * BufferView_pimpl.C:
5969         * buffer.C:
5970         * paragraph.h:
5971         * text.C:
5972         * text2.C: use par->isInset()
5973
5974 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
5975
5976         * paragraph_pimpl.h:
5977         * paragraph_pimpl.C: cleanup
5978
5979 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5980
5981         * text2.C (removeRow):
5982         * text.C (setHeightOfRow): remove useless (and costly) call to
5983         getRow.
5984
5985 2001-11-20  Allan Rae  <rae@lyx.org>
5986
5987         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
5988         Now need Inset*::checkInsertChar() to return true for appropriate
5989         cases so that the characters in the minibuffer will actually be
5990         inserted.
5991
5992 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5993
5994         * text.C: change the order of the includes.
5995         (workWidth): initialize it at once.
5996         (workWidth): make maxw unsigned
5997         (setHeightOfRow): remove unused variable (inset)
5998         (selectSelectedWord): remove unused variable (inset)
5999         (paintRowText): fix drawing of hfill characters, and clean up a bit.
6000
6001 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6002
6003         * lyxserver.C (emergencyCleanup): do not try to close pipes if
6004         server is not running.
6005         (openConnection):
6006         (closeConnection): add debug info when server is disabled.
6007
6008         * ColorHandler.C (getGCForeground): send debug message to GUI
6009         channel.
6010
6011         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6012
6013         * kbmap.C (bind): modify because return conventions of
6014         kb_sequence::parse have changed.
6015
6016         * kbsequence.C (parse): only ignore spaces and not any stupid
6017         control character. This avoids tests like s[i] <= ' ', which are
6018         guaranteed to fail with 8bit characters and signed chars.
6019         Change return code to string::npos when there have been no error
6020         (0 was a bad idea when error is at first character)
6021
6022 2001-11-14  José Matos  <jamatos@fep.up.pt>
6023
6024         * buffer.h:
6025         * buffer.C (simpleDocBookOnePar): removed unused argument.
6026
6027 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6028
6029         * text.C (selectNextWordToSpellcheck): do not test explicitely for
6030         insets which are part of a word. Paragraph::isLetter takes care of
6031         that now. Use Paragraph::isInset to identify insets.
6032         (selectSelectedWord): do not test for hyphenation break.
6033
6034         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6035         that protected spaces are considered as spaces.
6036
6037         * paragraph.C (isLetter): cleanup the code for ispell extras; use
6038         Inset::isLetter.
6039
6040 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
6041
6042         * lyxserver.h:
6043         * lyxserver.C: fix it. and small cleanup.
6044
6045 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
6046
6047         * BufferView_pimpl.C: use inline helpers
6048
6049         * LaTeXFeatures.h:
6050         * LaTeXFeatures.C: fix typos
6051
6052         * Spacing.h:
6053         * Spacing.C: move spacing_string into class
6054
6055         * ToolbarDefaults.C: move stuff into namespace anon
6056
6057         * layout.h: update enum
6058
6059         * lyxfunc.C: use better debug
6060
6061         * minibuffer.h: fix typo
6062
6063         * debug.h:
6064         * debug.C:
6065         * WorkArea.C: add and use Debug::WORKAREA
6066
6067         * lyxtext.h:
6068         * text.C:
6069         * text2.C: code re-organisation, inline helpers
6070
6071 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
6072
6073         * Layout.C: replaced a few cases of std::vector.size() == 0 with
6074         std::vector.empty().
6075
6076 2001-11-09  Allan Rae  <rae@lyx.org>
6077
6078         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6079         '\n's after tables.  Tabular and ERT inset work now makes this no
6080         longer necessary.
6081
6082 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
6083
6084         * minibuffer.h:
6085         * minibuffer.C: fix crash, improve drop-down completion
6086
6087 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
6088
6089         * lyxserver.h:
6090         * lyxserver.C: invalidate fd's when doing endPipe()
6091
6092 2001-11-08  José Matos  <jamatos@fep.up.pt>
6093
6094         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6095         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6096
6097         * paragraph.h:
6098         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6099
6100 2001-11-07  José Matos  <jamatos@fep.up.pt>
6101
6102         * buffer.h:
6103         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6104         const qualifier.
6105
6106         * buffer.C (sgmlOpenTag):
6107         * buffer.C (sgmlCloseTag): removed debug info.
6108
6109         * buffer.h (sgmlOpenTag):
6110         * buffer.h (sgmlCloseTag): made public.
6111
6112 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6113
6114         * buffer.C (saveParamsAsDefaults):
6115         * lyx_cb.C (MenuLayoutSave): remove
6116
6117         * LyXAction.C (init):
6118         * commandtags.h:
6119         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6120
6121 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6122
6123         * buffer.C (setPaperStuff): removed from here...
6124
6125         * bufferparams.C (setPaperStuff): ... and moved there.
6126
6127 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
6128
6129         * minibuffer.h:
6130         * minibuffer.C:
6131         * XFormsView.C: add support for drop-down completion
6132
6133 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
6134
6135         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6136         commands.
6137
6138 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6139
6140         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6141         disabled.
6142
6143 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
6144
6145         * lyx_main.C: change ref to known bugs
6146
6147 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
6148
6149         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6150         to work around older babel problems.
6151
6152 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
6153
6154         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6155
6156 2001-10-24  Juergen Vigna  <jug@sad.it>
6157
6158         * tabular-old.C (ReadOld): below variable changes reflected.
6159
6160         * tabular.[Ch]: added ltType struct for longtable header/footer
6161         defines and changed all instances where they are used. Added
6162         future support for double top/bottom rows.
6163
6164 2001-10-24  José Matos  <jamatos@fep.up.pt>
6165
6166         * buffer.h (docbookHandleCaption):
6167         * buffer.C (docbookHandleCaption): removed unused function.
6168         (makeDocBookFile): moved docbook supported version to v4.1.
6169
6170 2001-10-24  José Matos  <jamatos@fep.up.pt>
6171
6172         * tabular.h:
6173         * tabular.C (docbookRow): new function to export docbook code of a row.
6174         (DocBook): now honors the longtable flags.
6175
6176 2001-10-23  José Matos  <jamatos@fep.up.pt>
6177
6178         * LaTeXFeatures.h:
6179         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6180         of the lyx defined sgml entities used in a docbook/linuxdoc document.
6181
6182         * buffer.C (makeLinuxDocFile):
6183         (makeDocBookFile): reworked the preamble, more clean, and with
6184         support for lyx defined entities. Changed the document declaration
6185         to be more XML friendly.
6186
6187         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6188         if we need to output XML that should be done with a filter.
6189
6190 2001-10-22  Juergen Vigna  <jug@sad.it>
6191
6192         * sp_pspell.h (class PSpell): add alive function needed in the
6193         controller to see if the spellchecker could be started.
6194
6195 2001-10-22  Juergen Vigna  <jug@sad.it>
6196
6197         * buffer.C (insertStringAsLines): modify the font for inserting
6198         chars in certain conditions by calling checkInsertChar(font).
6199
6200 2001-10-19  Juergen Vigna  <jug@sad.it>
6201
6202         * text.C (workWidth): use getRow instead of wrong algorithm.
6203         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6204
6205 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
6206
6207         * lyxserver.h:
6208         * lyxserver.C:
6209         * lyx_main.h:
6210         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6211
6212 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6213
6214         * text.C (workWidth): do not search for the exact row when
6215         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6216         optimization for big documents.
6217
6218 2001-10-18  Juergen Vigna  <jug@sad.it>
6219
6220         * text.C (workWidth): new function with added Inset * parameter.
6221
6222 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6223
6224         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6225
6226         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6227         change return type of getColumnNearX.
6228
6229
6230         * text.C (changeRegionCase): use uppercase/lowercase instead of
6231         toupper/tolower.
6232         (leftMargin):
6233         (rightMargin): simplify code by factoring out the uses of
6234         textclasslist.
6235         (labelFill):
6236         (numberOfHfills):
6237         (setHeightOfRow):
6238         (appendParagraph): use Paragraph::size_type
6239
6240 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6241
6242         * vspace.C (asLatexString): add a missing break
6243
6244 2001-10-15  Herbert Voss  <voss@perce.de>
6245
6246         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6247
6248 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6249
6250         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6251         is not available.
6252
6253 2001-10-10  André Pönitz <poenitz@gmx.net>
6254
6255         * lyxfunc.C: removed greek_kb_flag.
6256
6257 2001-10-10  Herbert Voss  <voss@perce.de>
6258
6259         * lyx_main.C: delete global string help_lyxdir.
6260
6261 2001-10-09  Herbert Voss  <voss@perce.de>
6262
6263         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6264
6265         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6266
6267         * lyx_main.C: added global string help_lyxdir.
6268
6269         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6270
6271 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6272
6273         * lyxrc.C (set_font_norm_type): support iso8859-4
6274
6275 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
6276
6277         * LaTeX.C (deplog): add another regex for MikTeX
6278
6279 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6280
6281         * lyxrc.C (set_font_norm_type): support iso8859-3
6282
6283 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6284
6285         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6286
6287         * LaTeXFeatures.C: remove special case of french and index
6288
6289         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6290         before \begin{document}). This solves several incompatibilities.
6291
6292 2001-10-03  Garst Reese  <reese@isn.net>
6293
6294         * lyx_cb.C: change CheckTex error msg.
6295
6296 2001-10-03  José Matos  <jamatos@fep.up.pt>
6297
6298         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6299
6300 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6301
6302         * .cvsignore: update
6303
6304         * lyx_main.C (commandLineVersionInfo): use new style version info.
6305
6306         * buffer.C (writeFile):
6307         (makeLaTeXFile):
6308         (makeLinuxDocFile):
6309         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6310
6311         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6312
6313         * version.h: update to use stuff in version.C
6314
6315         * version.C.in: new file. Contains version information determined
6316         at compile time. This is a merging of version.h and
6317         version_info.h.in.
6318
6319 2001-10-03  Juergen Vigna  <jug@sad.it>
6320
6321         * BufferView_pimpl.C (update): don't change "dirty" status in
6322         updateInset call.
6323
6324 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
6325
6326         * WorkArea.C (c-tor): re-position version string slightly.
6327
6328 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
6329
6330         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6331         revert to previous code.
6332
6333         WorkArea.[Ch]: (show, destroySplash): methods removed.
6334
6335         WorkArea.C: rework code so that it's an amalgam of the codes before and
6336         after the splash screen was moved to WorkArea.
6337
6338 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6339
6340         * lyxrc.C (read):
6341         * vspace.C (inPixels):
6342         (lyx_advance):
6343         * kbmap.C (bind):
6344         * buffer.C (insertStringAsLines):
6345         (asciiParagraph): fix types to be large enough
6346
6347         * lyxlex_pimpl.h: change member status from short to int
6348
6349         * layout.h: fix type of endlabeltype
6350
6351         * kbmap.C (bind):
6352         * kbsequence.C (parse): change return type to string::size_type
6353
6354         * LaTeX.C (updateBibtexDependencies): comment out unneeded
6355         variable
6356
6357         * Bullet.C (bulletSize):
6358         (bulletEntry): do not use short ints as parameters
6359
6360         * BufferView2.C (insertLyXFile): change a char to an int.
6361
6362         * WorkArea.C (WorkArea): remove unneeded floats in computation
6363
6364 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
6365
6366         * buffer.C (asciiParagraph): Treat '\\' as other chars.
6367
6368         * paragraph.C (asString): Do not ignore newline/hfill chars when
6369         copying to the clipboard.
6370
6371 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
6372
6373         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6374         after a multi-line inset.
6375
6376 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
6377
6378         * paragraph.C (validate): Set NeedLyXFootnoteCode
6379
6380 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
6381
6382         * lyxfont.C (LyXSizeNames): changed increase-error to increase
6383         and decrease-error to decrease.
6384
6385 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6386
6387         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6388         it more readable (should be equivalent)
6389
6390 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6391
6392         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6393
6394 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6395
6396         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6397         of a cursor (row, etc.) after a character has been deleted
6398         (deleteEmptyParagraphMechanism): call the method above on _all_
6399         cursors held by the LyXText when a double space has been
6400         detected/deleted.
6401
6402 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
6403
6404         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6405         pixmap.
6406         (resizeCurrentBuff): remove code to destroy the old splash dialog.
6407
6408         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6409         background. Use greyOut() and the new show() methods to toggle between
6410         the foreground and background. Add code to remove the splash after
6411         its initial showing.
6412
6413         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6414         (create_forms): no longer call Dialogs::showSplash.
6415
6416 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6417
6418         * .cvsignore: add version_info.h
6419
6420 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6421
6422         * version_info.h.in: new file
6423
6424         * Makefile.am: add version_info.h.in
6425
6426         * lyx_main.C (commandLineVersionInfo): use version_info defined in
6427         version_info.h instead of VERSION_INFO
6428
6429 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
6430
6431         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6432         The ERT inset now returns string().
6433
6434 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
6435
6436         * lyxtext.h, text.C (selectNextWord): renamed as
6437         selectNextWordToSpellcheck.
6438
6439         * text.C (selectNextWordToSpellcheck): Modified to not select
6440         words inside an ERT inset.
6441
6442 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6443
6444         * lyx_cb.C (MenuLayoutSave): change a bit the question
6445
6446         * sp_base.h: include <sys/types.h>
6447
6448 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
6449
6450         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6451
6452 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
6453
6454         * several files: fix typos in user-visible strings
6455
6456 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6457
6458         * text2.C (pasteSelection): do not set the selection, since it
6459         will be cleared later. Actually, the intent was to fix the way the
6460         selection was set, but I figured rmoving the code was just as good.
6461
6462 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
6463
6464         * FontLoader.C (available): Check if font is available without
6465         loading the font.
6466
6467 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6468
6469         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6470
6471 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
6472
6473         * lyxrc.[Ch]: added display_graphics variable and associated code.
6474
6475 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6476
6477         * bufferparams.C (hasClassDefaults): new method. Returns true if
6478         the buffer parameters correspond to known class defaults
6479
6480 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
6481
6482         * XFormsView.C (show): set minimum size to the main window.
6483
6484 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6485
6486         * text2.C (copySelection):
6487         (cutSelection):
6488         * lyxfind.C (LyXReplace):
6489         * BufferView_pimpl.C (Dispatch): pass the correct flag to
6490         LyXText::selectionAsString.
6491
6492         * paragraph.C (asString): add "label" argument to the second form
6493
6494         * text2.C (selectionAsString): add "label" argument and pass it to
6495         Paragraph::asString.
6496
6497 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6498
6499         * lyx_main.C (commandLineHelp): remove version information
6500
6501 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
6502
6503         * lyx_main.C: add -version commandline option
6504
6505 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6506
6507         * paragraph.h: make the optional constructor arg required instead.
6508         some modifications to other files because of this.
6509
6510         * minibuffer.C (C_MiniBuffer_peek_event): make it static
6511
6512         * lyxserver.C (C_LyXComm_callback): make it static
6513
6514         * lyx_main.C (error_handler): make it static
6515
6516         * lyx_gui.C (LyX_XErrHandler): make it static
6517
6518         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6519
6520         * WorkArea.C: make the extern "C" methods static.
6521
6522         * Makefile.am (lyx_LDADD): simplify
6523
6524 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
6525
6526         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6527         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6528
6529         * LyXAction.C (init):
6530         * lyxfunc.C (dispatch): associated code removal.
6531
6532 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6533
6534         * lyxfont.h (isSymbolFont): shut off warning
6535
6536         * text.C (setHeightOfRow):
6537         (getVisibleRow): fix crash with empty paragraphs which have a
6538         bottom line
6539
6540 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
6541
6542         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6543         code.
6544
6545 2001-09-04  José Matos  <jamatos@fep.up.pt>
6546         * buffer.C
6547         * buffer.h
6548         * tabular.C (docbook): rename docBook method to docbook.
6549
6550 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
6551
6552         * Makefile.am: add dependencies to main.o.
6553
6554 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
6555
6556         * FontLoader.C (available): Return false if !lyxrc.use_gui
6557
6558 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
6559
6560         * FontInfo.C (query):
6561         * converter.C (view):
6562         * importer.C (Import):
6563         * exporter.C (Export): Can not -> cannot.
6564
6565 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
6566
6567         * BufferView_pimpl.C: allow to create index inset even if
6568           string is empty
6569
6570 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
6571
6572         * buffer.C (getLists): replace boost::tie code with an explicit pair
6573         as boost::tie can break some compilers.
6574
6575         * iterators.h: Added a std:: declaration to the return type of
6576         ParIterator::size.
6577
6578 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
6579
6580         * lyxrc.C: add help for view_dvi_paper_option, default to safe
6581           case.
6582
6583 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
6584
6585         * iterators.[Ch]: New files. Provide paragraph iterators.
6586
6587         * buffer.C (changeLanguage): Use paragraph iterators.
6588         (isMultiLingual): ditto
6589
6590         * BufferView2.C (ChangeInsets): Use paragraph iterators.
6591
6592 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
6593
6594         * FontLoader.C: Support for cmr font.
6595
6596 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
6597
6598         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6599         (available): New method.
6600
6601         * FontInfo.C (getFontname): Use scalable fonts even when
6602         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6603         found.
6604
6605 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
6606
6607         * converter.C (Formats::view): reverted! Incorrect fix.
6608
6609 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
6610
6611         * converter.C (Formats::view): only output the -paper option
6612         if the dvi viewer is xdvi, thereby fixing bug #233429.
6613
6614 2001-08-23  Herbert Voss  <voss@perce>
6615
6616         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6617
6618 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6619
6620         * Spacing.h (Spacing): Set space to Default on in the default
6621         constructor.
6622
6623 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6624
6625         * vc-backend.h (RCS::versionString): add RCS to version
6626         (CVS::versionString): add CVS to version
6627
6628         * vc-backend.C (scanMaster): do not add CVS to version.
6629         (scanMaster): do not add RCS to version
6630
6631         * lyxvc.C (versionString): new method
6632
6633         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6634
6635 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6636
6637         * Spacing.C (set): initialize fval
6638
6639 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
6640
6641         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6642         " or \.
6643
6644 2001-08-16  Juergen Vigna  <jug@sad.it>
6645
6646         * lyxfunc.C (dispatch): implemented the new FINISHED states.
6647
6648 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
6649
6650         * BufferView_pimpl.C:
6651         * figureForm.C:
6652         * lyxtext.h:
6653         * text2.C: setParagraph takes linespacing now
6654
6655 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
6656
6657         * LyxAction.C: add internal LFUN_CITATION_INSERT
6658
6659         * LyXView.C: actually apply fix
6660
6661         * bufferlist.C: fix open non-existent file
6662
6663         * lyxfind.C: fix indentation
6664
6665         * lyxfunc.C: remove unneeded assert, fix typo
6666
6667 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
6668
6669         * MenuBackend.C: use "Floatname List"
6670
6671 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
6672
6673         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6674         when converting LaTeX layout to insetERT.
6675         Generate a non-collapsed float when reading old float
6676
6677 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
6678
6679         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6680         ERT insets.
6681
6682 2001-08-13  Juergen Vigna  <jug@sad.it>
6683
6684         * text.C (fill): return 0 instead of 20 as this seems to be the more
6685         correct value.
6686
6687 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
6688
6689         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6690         lyxrc.font_norm.
6691
6692 2001-08-13  Juergen Vigna  <jug@sad.it>
6693
6694         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6695         casesensitive off.
6696         (SearchBackward): comment out the unlocking of the inset_owner this
6697         should not be needed!
6698
6699 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
6700
6701         * Many files: Remove inherit_language, and add latex_language
6702
6703         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6704         collapsible insets.
6705
6706 2001-08-10  Juergen Vigna  <jug@sad.it>
6707
6708         * text.C (prepareToPrint): fixed hfill-width in draw!
6709
6710         * BufferView2.C (selectLastWord): save the selection cursor as this
6711         now is cleared in the function LyXText::clearSelection!
6712
6713 2001-08-08  Juergen Vigna  <jug@sad.it>
6714
6715         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6716         BACKSPACE type functions.
6717
6718         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6719         is only cutted from the document but not put in the cut-buffer, where
6720         still the old stuff should be.
6721
6722         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6723
6724         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6725
6726         * tabular.C (SetWidthOfCell): fixed special case where the width
6727         was not updated!
6728         (LeftLine): handle '|' in align_special.
6729         (RightLine): ditto
6730         (LeftAlreadyDrawed): ditto
6731         (SetWidthOfCell): ditto
6732
6733 2001-08-07  Juergen Vigna  <jug@sad.it>
6734
6735         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6736
6737 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6738
6739         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6740         * lyxlex.[hC]: ditto
6741
6742 2001-08-06  Juergen Vigna  <jug@sad.it>
6743
6744         * text.C (getVisibleRow): fix up row clearing a bit.
6745
6746 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6747
6748         * minibuffer.C: make sure the X server sees the changes in the input.
6749
6750 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6751
6752         * paragraph.C (getFont): split into...
6753         (getLabelFont): this
6754         (getLayoutFont): and this
6755         * paragraph_pimpl.C (realizeFont): calling this
6756
6757         * text2.C (getFont): split into...
6758         (getLayoutFont): this
6759         (getLabelFont): and this
6760         (realizeFont): all three calling this
6761
6762         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6763         files where used.
6764
6765 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6766
6767         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6768
6769 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
6770
6771         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6772         layouts from the Quote inset insertion.
6773
6774 2001-08-03  Juergen Vigna  <jug@sad.it>
6775
6776         * BufferView_pimpl.C (update): do the fitCursor only at the end!
6777
6778         * screen.C (drawFromTo): don't call fitcursor here and do the loop
6779         only if status not is already CHANGED_IN_DRAW (second level).
6780
6781         * text.C (draw): don't set the need_break_row when inside an
6782         InsetText LyXText.
6783
6784 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6785
6786         * buffer.C (parseSingleLyXformat2Token): handle more latex
6787         conversion cases.
6788
6789         * bufferview_funcs.[hC]: change function names to
6790         begin with small char, adjust other files.
6791
6792 2001-08-02  André Pönitz <poenitz@gmx.net>
6793
6794         * lyxfunc.C:
6795         BufferView_pimpl.C: remove broken special code for math-greek
6796
6797 2001-08-02  Juergen Vigna  <jug@sad.it>
6798
6799         * BufferView_pimpl.C (update): redone this function so that we
6800         update the text again if there was a CHANGE_IN_DRAW.
6801
6802         * screen.C (cursorToggle): removed LyXText parameter and recoded.
6803         (drawFromTo): added a new internal bool which is used by draw() and
6804         redraw() function.
6805         (general): some cursor drawing problems fixed.
6806
6807 2001-08-01  Juergen Vigna  <jug@sad.it>
6808
6809         * lyxfind.C (LyXFind): fixed
6810         (SearchForward): ditto
6811         (SearchBackward): ditto
6812
6813         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6814         spurius drawing of the cursor in the main area.
6815
6816         * text2.C (status): small fix which could lead to a segfault!
6817         (clearSelection): remove unneeded BufferView param.
6818
6819 2001-08-01  André Pönitz <poenitz@gmx.net>
6820
6821         * lyxfunc.C: small change due to changed mathed interface
6822
6823 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6824
6825         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6826
6827 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
6828
6829         * lyxfunc.c: fail gracefully if file doesn't exist
6830
6831         * LyXSendto.C:
6832         * buffer.C:
6833         * lyxfunc.C:
6834         * BufferView_pimpl.C: IsDirWriteable() proto changed
6835
6836         * LyXView.C: fix updateWindowTitle() to store the last title
6837
6838 2001-07-31  Juergen Vigna  <jug@sad.it>
6839
6840         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6841         the font (wrong since using of Paragraph::highestFontInRange).
6842
6843         * paragraph.C (highestFontInRange): added a default_size parameter.
6844
6845         * text.C (getVisibleRow): minor clear row changes (still not perfect).
6846         (setHeightOfRow): reformat
6847
6848 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6849
6850         * converter.[hC] + affected files: move to (inital-char)lowercase
6851         function names.
6852
6853         * ParagraphParameters.C (ParagraphParameters): remove commented code
6854
6855         * PainterBase.[Ch]: remove commented code
6856
6857         * LaTeXFeatures.h: add "bool floats" for float.sty
6858
6859         * LaTeXFeatures.C (LaTeXFeatures): init floats
6860         (require): handle float
6861         (getPackages): do it with floats
6862
6863 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6864
6865         * BufferView_pimpl.C (Dispatch): improve handling of
6866         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6867
6868         * commandtags.h: #include lyxfont.h here temporarily to avoid
6869         keybinding bug.
6870
6871         * bufferlist.h: include LString.h here.
6872
6873 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6874
6875         * text2.C (getStringToIndex): new method.
6876
6877 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
6878
6879         * *: Reduced header file dependencies all over.
6880
6881 2001-07-30  Baruch Even  <baruch@lyx.org>
6882
6883         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6884
6885 2001-07-29  Baruch Even  <baruch@lyx.org>
6886
6887         * buffer.C (readInset): Changed GRAPHICS to Graphics.
6888
6889 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6890
6891         * ParameterStruct.h (endif): add a default constructor to make
6892         sure that all variables is initialized.
6893
6894         * ParagraphParameters.C (ParagraphParameters): adjust
6895
6896 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6897
6898         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6899         index; also, check that there is something to index, and that it
6900         does not span over several paragraphs.
6901         (doubleClick): use WHOLE_WORD_STRICT for double click.
6902
6903         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6904
6905         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6906         scheme.
6907
6908 2001-07-26  Baruch Even  <baruch@lyx.org>
6909
6910         * buffer.C (readInset): Changed to call up InsetGraphics when reading
6911         an InsetFig figure, backwards compatible reading of old figure code.
6912
6913 2001-07-27  Juergen Vigna  <jug@sad.it>
6914
6915         * text2.C: font.realize function adaption.
6916
6917         * text.C (draw): add a warnings lyxerr text if needed.
6918
6919         * layout.C: font.realize function adaption.
6920
6921         * language.C: add inherit_language and implement it's handlings
6922
6923         * bufferview_funcs.C (StyleReset): remove language parameter from
6924         font creation (should be language_inherit now).
6925
6926         * bufferparams.C (writeFile): handle ignore_language.
6927
6928         * paragraph.C (getFontSettings): the language has to be resolved
6929         otherwise we have problems in LyXFont!
6930
6931         * lyxfont.C (lyxWriteChanges): added document_language parameter
6932         (update): removed unneeded language parameter
6933
6934         * paragraph.C (validate): fixed wrong output of color-package when
6935         using interface colors for certain fonts in certain environments,
6936         which should not seen as that on the final output.
6937
6938 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
6939
6940         * BufferView_pimpl.C:
6941         * Thesaurus.h:
6942         * Thesaurus.C:
6943         * Makefile.am:
6944         * commandtags.h:
6945         * LyXAction.C: add thesaurus support
6946
6947         * lyxfind.h:
6948         * lyxfind.C: add "once" parameter, for thesaurus, to not
6949           move to the next match
6950
6951 2001-07-26  Juergen Vigna  <jug@sad.it>
6952
6953         * lyxfont.C (realize): honor ignore_language too!
6954         (resolved): ditto.
6955
6956         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
6957
6958         * text.C (draw): one place more for ignore_language to not draw
6959         itself!
6960
6961 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
6962
6963         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
6964
6965 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6966
6967         * buffer.C (parseSingleLyXformat2Token): a more general fix for
6968         the minipage conversion problem.
6969
6970 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6971
6972         * buffer.C (parseSingleLyXformat2Token): check minipage if we
6973         insert an inset.
6974
6975 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6976
6977         * BufferView.h: don't forward declare WorkArea
6978
6979         * BufferView.C: don't include WorkArea.h
6980
6981 2001-07-25  André Pönitz <poenitz@gmx.net>
6982
6983         * commandtags.h:
6984         * LyXAction.C:
6985         * lyxfunc.C:  new LFUN 'math-space'
6986
6987         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
6988
6989 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6990
6991         * text2.C (toggleInset): call open/close
6992
6993 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6994
6995         * lyxfunc.C (dispatch): add debug for the disabled case
6996
6997         * font.C (buttonText): make similar to rectText
6998
6999         * buffer.C (readInset): comment out parsing of insetlist and
7000         insttheorem
7001
7002         * PainterBase.C (rectText): small correction
7003
7004         * BufferView_pimpl.C: comment out insettheorem and insetlist
7005         * LyXAction.C: ditto
7006         * commandtags.h: ditto
7007
7008 2001-07-24  Juergen Vigna  <jug@sad.it>
7009
7010         * text.C (draw): honor the ignore_language.
7011
7012         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7013
7014 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7015
7016         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7017         char inset.
7018
7019 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7020
7021         * lyxtext.h: remove unused (and unimplemented) methods
7022
7023 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7024
7025         * text.C (getVisibleRow): honor background color
7026
7027         * PainterBase.h:
7028         * Painter.h: remove default color argument for fillRectangle
7029
7030         * text.C (backgroundColor): new method
7031
7032 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7033
7034         * text.C (getVisibleRow): adjust
7035
7036         * font.[Ch] (rectText): new method, metrics
7037         (buttonText): new method, metrics
7038
7039         * PainterBase.[hC]: make rectText and buttonText always draw and take
7040         fewer paramteres.
7041
7042 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7043
7044         * ToolbarDefaults.C (read):
7045         * MenuBackend.C (read): allow escaping in all strings
7046
7047         * BufferView_pimpl.C (insertAndEditInset): new method.
7048         (Dispatch): use insertAndEditInset whenever appropriate.
7049
7050         * BufferView_pimpl.C (insertNote): removed
7051
7052         * BufferView_pimpl.C (smartQuote): new method, moved from
7053         BufferView; if an insetquote cannot be inserted, insert a '"'
7054         character instead.
7055
7056         * BufferView2.C: remove insertCorrectQuote();
7057
7058         * lyxfunc.C (getStatus): Add support for all remaingin
7059         inset-insert lfuns.
7060
7061         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7062
7063         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7064         command (necessary to pass " as parameter of self-insert.
7065
7066         * text.C (selectWordWhenUnderCursor):
7067         (selectWord): add word_location parameter
7068         (selectWordWhenUnderCursor): same + remove special code for word
7069         boundary.
7070         (selectNextWord): use kind() to guess type of insetspecialchar,
7071         not latex().
7072
7073         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7074         (insertErtContents): create ert insets as collapsed.
7075         (readInset): better compatibility code for Info inset.
7076
7077 2001-07-20  Juergen Vigna  <jug@sad.it>
7078
7079         * lyxfunc.C (dispatch): use always LyXFind now!
7080
7081         * text2.C (init): add a reinit flag so that the LyXText can be
7082         reinited instead of deleted and reallocated (used in InsetText).
7083
7084         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7085
7086         * text.C: ditto
7087
7088         * text2.C: ditto
7089
7090 2001-07-18  Juergen Vigna  <jug@sad.it>
7091
7092         * text.C (selectNextWord): handle insets inside inset by calling
7093         always the bv->text functions so that we can go up the_locking_inset!
7094
7095         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7096         in strange locations when inside an inset!
7097
7098         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7099         handling to include insets.
7100
7101         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7102
7103 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7104
7105         * LyXAction.C (init):
7106         * commandtags.h:
7107         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7108         LIGATURE_BREAK, since the name is so stupid.
7109
7110 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
7111
7112         * buffer.C (readInset): enable reading of new InsetNotes as well as old
7113         InsetInfos.
7114
7115         * FontLoader.C: remove FORMS_H_LOCATION cruft.
7116
7117         * sp_form.[Ch]: remove.
7118
7119         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7120
7121         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7122         InsetInfo.
7123
7124         * src/buffer.C (readInset): ditto.
7125
7126 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7127
7128         * BufferView_pimpl.C (specialChar): new method. Obsoletes
7129         menuSeparator(), endOfSentenceDot(), ldots() and
7130         hyphenationPoint(), which are therefore removed.
7131         (Dispatch): handle LFUN_HYPHENATION_BREAK.
7132
7133         * LyXAction.C (init):
7134         * commandtags.h: add LFUN_HYPHENATION_BREAK.
7135
7136         * paragraph.C (getWord): removed.
7137
7138         * BufferView_pimpl.C (Dispatch): use last word or selection for
7139         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7140
7141         * lyx_main.C (queryUserLyXDir): do not ask before creating
7142         user_dir, except if it has been named explicitely.
7143
7144 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
7145
7146         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7147         a document of zero size.
7148
7149 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
7150
7151         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7152         approriately in the c-tor and in require().
7153         (getPackages): output the appropriate LaTeX for natbib support.
7154
7155         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7156         variables "use_natbib" and "use_numerical_citations" when reading the
7157         LyX file.
7158         (readInset): read the various natbib cite commands.
7159         (validate): white-space change.
7160
7161         * bufferparams.[Ch]: new variables "bool use_natbib" and
7162         "bool use_numerical_citations".
7163         (writeFile): output them in the LyX file.
7164
7165 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7166
7167         * lyxfunc.C (getStatus): add support for all the inset insertion
7168         commands.
7169
7170         * text2.C (insertInset):
7171         * paragraph.C (insetAllowed):
7172         * BufferView_pimpl.C (insertInset): update to take in account the
7173         renaming of insertInsetAllowed
7174
7175         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7176
7177         * text2.C (getInset): new method. returns inset at cursor position.
7178
7179         * BufferView_pimpl.C (Dispatch): changes because of this.
7180
7181         * LyXAction.C (init): rename open-stuff to inset-toggle.
7182
7183         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7184
7185         * text2.C (toggleInset): renamed from openStuff; use
7186         Inset::open().
7187
7188 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
7189
7190         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7191
7192         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7193
7194 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
7195
7196         * buffer.C (readLyXformat2): Add filename to the error dialog
7197
7198 2001-07-18  Juergen Vigna  <jug@sad.it>
7199
7200         * tabular.C (GetCellNumber): put an assert here instead of the check!
7201
7202 2001-07-17  Juergen Vigna  <jug@sad.it>
7203
7204         * BufferView_pimpl.C (toggleSelection): adapted too.
7205
7206         * text.C (selectNextWord): adapted for use with insets.
7207         (selectSelectedWord): ditto
7208
7209 2001-07-17  Juergen Vigna  <jug@sad.it>
7210
7211         * sp_spell.C (PSpell): fix initialitation order.
7212
7213 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7214
7215         * paragraph.C: spacing
7216
7217 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
7218
7219         * sp_spell.C: repair language selection for pspell
7220
7221 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7222
7223         * lyxfunc.h: change more methods to begin with lower char.
7224
7225 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
7226
7227         * buffer.C (parseSingleLyXformat2Token): Generate error insets
7228         for unknown layouts.
7229
7230 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7231
7232         * buffer.C (readLyXformat2): Generate an error dialog if there are
7233         unknown layouts.
7234
7235 2001-07-16  Juergen Vigna  <jug@sad.it>
7236
7237         * sp_spell.C: always compile ISpell part.
7238
7239         * lyxrc.C: added use_pspell entry and it's handling.
7240
7241 2001-07-13  Juergen Vigna  <jug@sad.it>
7242
7243         * sp_spell.C: removed double includes.
7244
7245 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
7246
7247         Consistent use of Lsstream.h:
7248         * Lsstream.h: added using std::stringstream for consistencies sake.
7249
7250         * buffer.C: removed using std::stringstream
7251
7252         * lyxfont.C (stateText):
7253         * paragraph.C (asString):
7254         * text.C (selectNextWord, selectSelectedWord):
7255         * text2.C (setCounter):
7256         * vspace.C (asString, asLatexString):
7257         std::ostringstream -> ostringstream.
7258
7259 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
7260
7261         * LyXAction.C: add LFUN_HELP_ABOUTLYX
7262         * commandtags.h: add LFUN_HELP_ABOUTLYX
7263         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7264
7265 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
7266
7267         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7268         cursorToggle()
7269         * lyx_gui_misc.C: remove spellchecker
7270         * lyxfunc.C: showSpellchecker
7271         * sp_base.h: added
7272         * sp_ispell.h: added
7273         * sp_pspell.h: added
7274         * sp_spell.C: added
7275         * sp_form.[Ch]: removed
7276         * spellchecker.[Ch]: removed
7277
7278 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
7279
7280         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7281         is set.
7282         (simpleTeXSpecialChars): Simply print the input character without
7283         any special translation if pass_thru is set.
7284
7285         * layout.h: Added bool pass_thru to layout class for being able to
7286         implement pass through of a paragraph for Literate Programming.
7287
7288         * layout.C: add LT_PASS_THRU to LayoutTags enum.
7289         * layout.C (LyXLayout): set pass_thru to flase in constructor.
7290         * layout.C (Read): add "passthru" to list of layout tags and add
7291         code to set the pass_thru boolean when it is read.
7292
7293 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7294
7295         * trans_decl.h: remove allowed from KmodInfo
7296
7297         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7298         remove allowed code
7299         (Load): adjust
7300
7301         * paragraph_pimpl.C (erase): use boost::prior
7302
7303         * Painter.C (text): use data() instead of c_str() when length is
7304         also provided.
7305         * WorkArea.C (putClipboard): ditto
7306         * font.h (width): ditto
7307
7308         * BufferView2.C: use it-> instead of (*it). for iterators
7309         * texrow.C: ditto
7310         * paragraph_pimpl.C: ditto
7311         * paragraph.C: ditto
7312         * minibuffer.C: ditto
7313         * language.C: ditto
7314         * kbmap.C: ditto
7315         * encoding.C: ditto
7316         * counters.C: ditto
7317         * converter.C: ditto
7318         * chset.C: ditto
7319         * Variables.C: ditto
7320         * TextCache.C: ditto
7321         * MenuBackend.C: ditto
7322         * LyXAction.C: ditto
7323         * LColor.C: ditto
7324         * FloatList.C: ditto
7325         * DepTable.C: ditto
7326         * ColorHandler.C (LyXColorHandler): ditto
7327
7328 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7329
7330         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7331
7332         * text2.C (openStuff): reintroduce this method (which had been
7333         nuked in NEW_INSETS frenzy).
7334
7335         * lyxfunc.C (Dispatch): when an action has not been handled, use
7336         its name in the error message, not its number.
7337
7338         * paragraph.C (inInset): change method name to begin with lowercase.
7339
7340         * undo_funcs.C:
7341         * text2.C: updates because of this.
7342
7343 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7344
7345         * ToolbarDefaults.C (add): add spaces in error message
7346
7347 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7348
7349         * buffer.C (readLyXformat2): initialize the ert comp. variables.
7350         (readLyXformat2): rename return_par to first_par, use lyxlex's
7351         pushToken and remove the manual push handling.
7352         (parseSingleLyXformat2Token): add another ert comp. variable:
7353         in_tabular, rename return_par to first_par. handle newlines better
7354
7355 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7356
7357         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7358
7359 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7360
7361         * text2.C (getParFromID): removed
7362
7363         * buffer.C (getParFromID): new method moved form lyxtext.
7364         * BufferView2.C (insertErrors): adjust
7365         (setCursorFromRow): adjust
7366         * BufferView_pimpl.C (restorePosition): adjust
7367         * lyxfunc.C (Dispatch): adjust
7368         * undo_funcs.C (textUndo): adjust
7369         (textRedo): adjust
7370         (textHandleUndo): adjust
7371         (textHandleUndo): adjust
7372
7373 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7374
7375         * buffer.C: up' the LYX_FORMAT
7376
7377         * lyxfont.h: turn NO_LATEX on as default
7378
7379         * buffer.C (insertErtContents): new methods of tex style compability.
7380         (parseSingleLyXformat2Token): use it several places.
7381         * tabular.C (OldFormatRead): and here
7382
7383 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7384
7385         * text2.C: remove some commented code.
7386         reindent file.
7387
7388         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7389         * trans.C: changes because of the above.
7390
7391 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
7392
7393         * text2.C (setCounter): Fix counters bug with bibliography layout.
7394
7395 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7396
7397         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7398         own member functions
7399         (simpleTeXSpecialChars): ditto
7400
7401 2001-07-06  Juergen Vigna  <jug@sad.it>
7402
7403         * a lot of files: changed the access to LyXText::status and the
7404         call of undo-functions.
7405
7406         * undo.[Ch]: added a inset_id to the undo informations.
7407
7408         * undo_funcs.[Ch]: added and moved here all undo functions.
7409
7410         * lyxtext.h: give the status enum a weight, made status_ a private
7411         variable and made accessor functions for it, removed the whole bunch
7412         of undo-functions as they are now in their own file, make some
7413         functions publically available. Added function ownerParagraph with
7414         int parameter.
7415
7416         * paragraph.[Ch]: added "bool same_ids" to the constructor,
7417         made InInset() a const function, added getParFromID() function.
7418
7419         * buffer.[Ch]: added const version for inset_iterator functions,
7420         added getInsetFromID() function.
7421
7422         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7423         changed undo functions for new version.
7424
7425 2001-07-05  Juergen Vigna  <jug@sad.it>
7426
7427         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7428         unknow mechanism does not call the proper constructor but only this
7429         one also if I request the other!?
7430
7431 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7432
7433         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7434
7435         * text2.C (LyXText): use initialization lists.
7436
7437         * lyxtext.h (Selection): initialize set_ and mark_
7438         (init): remove method
7439
7440 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
7441
7442         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7443
7444 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7445
7446         * screen.[Ch]: change method names to begin with lowercase
7447
7448         * BufferView_pimpl.C (updateScrollbar): simplify further and
7449         hopefully make it a bit faster.
7450
7451 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7452
7453         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7454         calling directly xforms functions.
7455
7456         * Painter.C (Painter):
7457         * lyx_cb.C (MenuWrite):
7458         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7459         fl_display.
7460
7461         * lyx_gui.C: remove bogus guiruntime extern declaration.
7462
7463 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7464
7465         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7466         in NEW_INSETS
7467         (redoDrawingOfParagraph): ditto
7468         (redoParagraphs): ditto
7469         (cutSelection): don't create a object for CutAndPaste use the
7470         static method directly
7471         (pasteSelection): ditto
7472
7473         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7474         LyXview (+ rename)
7475
7476 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7477
7478         * modifications to some other files because of this.
7479
7480         * Makefile.am (lyx_SOURCES): add XFormsView
7481
7482         * XFormsView.[Ch]: new files
7483
7484         * LyXView.[Ch]: make LyXView a base class for the gui handling for
7485         the main window. Move the gui dependent stuff to XFormsView
7486
7487 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7488
7489         * tabular.C (GetCellInset): update cur_cell also in the row/col
7490         version of this function.
7491
7492         * lyxfunc.C: no need to include figure_form.h here.
7493
7494         * FontLoader.h:
7495         * lyxfunc.h:
7496         * lyxscreen.h:
7497         * text2.C:
7498         * lyxvc.C: no need to include forms.h here.
7499
7500 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7501
7502         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7503
7504         * lyxfunc.C (Dispatch):
7505         * Spacing.C (set):
7506         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7507         constructor argument.
7508
7509 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7510
7511         * paragraph.C (Paragraph): dont't clear, and just set layout.
7512         (makeSameLayout): use params's copy contructor.
7513
7514         * ParagraphParameters.[Ch] (makeSame): delete method
7515
7516 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
7517
7518         * Variables.[Ch]: fix indentation, rename set to isSet
7519
7520 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7521
7522         * lyxfunc.C (Dispatch): fix typo
7523
7524 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7525
7526         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7527         upper_bound.
7528
7529         * bufferlist.C: include assert.h for emergencyWrite().
7530
7531 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
7532
7533         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7534           give up at last (bug #425202) !
7535
7536 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
7537
7538         * lyx_gui_misc.C:
7539         * sp_form.h:
7540         * sp_form.C:
7541         * spellchecker.h:
7542         * spellchecker.C: strip spellchecker options and bring up
7543           preferences tab instead
7544
7545 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7546
7547         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7548         the istringstream constructor
7549
7550 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7551
7552         * paragraph.C (getLayout): fix return value
7553
7554         * paragraph.h: do not declare getLayout as inline.
7555
7556         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7557
7558 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7559
7560         * lyxcursor.h (operator<): new func
7561         (operator>): new func
7562         (operator>=): new func
7563         (operator<=): new func
7564
7565         * text.C (changeCase): use selection.start and selection.end
7566         (changeRegionCase): require from to be <= to. Require par to be a
7567         valid paragraph.
7568
7569         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7570
7571 2001-06-27  Juergen Vigna  <jug@sad.it>
7572
7573         * text.C (cursorLeftOneWord): changed to return the cursor and added
7574         overlay with BufferView * parameter which calls this one.
7575         (getWord): added
7576         (selectWord): use new getWord function.
7577         (changeCase): renamed from changeWordCase as and extended to work
7578         also on selections.
7579
7580         * lyxtext.h: added enum word_location
7581
7582         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7583         changeCase as this operates now also on selections.
7584
7585 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
7586
7587         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7588
7589         * many files: send debug output to Debug::INFO instead of
7590         Debug::ANY.
7591
7592         * converter.C (View):
7593         (Convert):
7594         (Move): send debug output to Debug::FILES instead of console.
7595
7596 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
7597
7598         * lyxfunc.C (getStatus): use func_status
7599
7600         * func_status.h: new header, describing the results of
7601         LyXFunc::getStatus;
7602
7603         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7604         LFUN_MATH_HALIGN.
7605
7606 2001-06-25  The LyX Project  <jug@sad.it>
7607
7608         * buffer.C (sgmlOpenTag):
7609         (sgmlCloseTag):
7610         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
7611
7612 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7613
7614         * text2.C: remove some dead code
7615
7616         * tabular.C (GetCellInset): store the last cell checked (gotten)
7617
7618         * tabular.h: add the helper for the speedup
7619
7620         * lyxtext.h: remove some dead code
7621
7622 2001-06-26  The LyX Project  <Asger>
7623
7624         * paragraph.C: Change export to LaTeX of alignment to
7625         \begin{center} and family for better roundtrip work with reLyX.
7626
7627         * Tune the math drawing a bit.
7628
7629 2001-06-25  The LyX Project  <Asger>
7630
7631         * LColor.C (LColor): New color for math background. New color
7632         for buttons.
7633
7634 2001-06-25  The LyX Project  <jug@sad.it>
7635
7636         * lyxfunc.C (MenuNew): remove extra check for .lyx file
7637
7638         * lyxfunc.C (Open):
7639         * bufferlist.C (newFile): do not restrict to files ending with
7640         .lyx
7641
7642         * BufferView_pimpl.C (MenuInsertLyXFile):
7643
7644 2001-06-24  The LyX Project  <jug@sad.it>
7645
7646         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7647         of compare_no_case
7648
7649 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7650
7651         * lyxtext.h: rename most methods to begin with a small char.
7652         Lots of changes because of this.
7653
7654         * paragraph.C (Paragraph): do not call fitToSize
7655         (erase): call Pimpl::erase
7656         (insertChar): call Pimpl::insertChar
7657         (insertInset): call Pipl::insertInset
7658         (breakParagraph): do not call fitToSize
7659         (breakParagraphConservative): do not call fitToSize
7660         (fitToSize): remove method
7661
7662         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7663
7664 2001-06-24  The LyX Project  <Asger>
7665
7666         * Fix Qt compilation^2
7667
7668 2001-06-24  The LyX Project  <jug@sad.it>
7669
7670         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7671         depthHook(getDepth()-1).
7672
7673         * paragraph.h:
7674         * ParagraphParameters.h:
7675         * ParameterStruct.h: change type of depth to unsigned int ==
7676         depth_type. Many adaptations to other files before of that.
7677
7678 2001-06-24  The LyX Project  <Asger>
7679
7680         * Fix Qt compilation.
7681
7682 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7683
7684         * paragraph.h: renamed several methods to begin with small letter.
7685         several changes to many parts of the code because of this.
7686
7687 2001-06-23  The LyX Project  <jug@sad.it>
7688
7689         * text2.C (InsertStringAsLines): renamed from InsertStringA;
7690         rewritten to discard all double spaces when KeepEmpty is off
7691         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7692         to only handle newlines but not fiddle with spaces and friends.
7693
7694         * lyxfunc.C (MenuNew): when doing 'new from template', use
7695         template_path as default directory
7696
7697 2001-06-23  The LyX Project  <Asger>
7698
7699         * Clean-up of header file includes all over
7700         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7701
7702 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7703
7704         * paragraph.h: renamed from lyxparagraph.h
7705
7706 2001-06-23  Asger  <lyx@violet.home.sad.it>
7707
7708         * Buffer.h: Removed Buffer::resize
7709         * BufferList.h: Removed BufferList::resize
7710         * LyXView.h: Added LyXView::resize. This way, we will only reflow
7711         the document lazily when we change the width, or the font settings.
7712
7713 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
7714
7715         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7716
7717 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
7718
7719         * buffer.h: remove out of date comment
7720
7721 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
7722
7723         * lyxscreen.h:
7724         * screen.C: fix "theoretical" GC leak
7725
7726 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7727
7728         * LaTeX.C (scanAuxFile):
7729         (deplog): remove trailing \r when reading stream (useful under
7730         win32)
7731
7732 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
7733
7734         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7735         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7736         and BufferView::theLockingInset(Inset*), so should use them and not
7737         access bv_->text->the_locking_inset directly.
7738
7739         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7740
7741 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
7742
7743         * Makefile.am:
7744         * tex-defs.h: remove old unused file
7745
7746 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
7747
7748         * BufferView_pimpl.C: fix typo, remove minibuffer message
7749           when buffer has loaded
7750
7751 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7752
7753         * lyxfunc.C (Dispatch): use stringstream
7754         (MenuNew): use stringstream
7755         (Open): use stringstream
7756
7757         * importer.C (Import): use stringstream
7758
7759         * bufferview_funcs.C (CurrentState): use stringstream
7760
7761         * LaTeX.C (run): use stringstream
7762
7763         * BufferView_pimpl.C (savePosition): use stringstream
7764         (restorePosition): use stringstream
7765         (MenuInsertLyXFile): use stringstream
7766
7767 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
7768
7769         * BufferView.C:
7770         * Bullet.C:
7771         * ColorHandler.C:
7772         * FontInfo.C:
7773         * FontLoader.C:
7774         * LColor.C:
7775         * LaTeXFeatures.C:
7776         * Painter.C:
7777         * gettext.C:
7778         * lyx_gui_misc.C:
7779         * lyxserver.C:
7780         * vspace.C: removed // -*- C++ -*- as first line.
7781
7782         * lyxfind.h:
7783         * version.h: added // -*- C++ -*- as first line.
7784
7785 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7786
7787         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7788
7789         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7790         of string
7791
7792 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7793
7794         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7795         of floats.
7796
7797 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7798
7799         * gettext.C: include LString.h even when --disable-nls is on.
7800
7801 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
7802
7803         * converter.h (Get): changed argument type from int to
7804         FormatList::size_type to avoid unnecessary conversion.
7805
7806         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7807         before using it.
7808
7809 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7810
7811         * gettext.h: include LString.h even when --disable-nls is on.
7812
7813 2001-06-07  Juergen Vigna  <jug@sad.it>
7814
7815         * text.C (BreakAgain): subst spaces with tabs.
7816
7817         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7818         (resizeInsetsLyXText): set force on resizeLyXText.
7819
7820 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7821
7822         * gettext.h (gettext_init):
7823         (locale_init): use a real definition instead of a macro
7824
7825 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
7826
7827         * Bufferview_pimpl.C:
7828         * LColor.h:
7829         * LColor.C: further lcolor tidies
7830
7831 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7832
7833         * BufferView_pimpl.C (updateScrollbar): simplify.
7834
7835         * BufferView2.C: don't include insets/insetinfo.h, change
7836         prototype for insertInset and call the Pimpl version. let
7837         updateInset call Pimpl version.
7838
7839         * BufferView.h: move inset_slept to BufferView::Pimpl, move
7840         gotoInset to BufferView::Pimpl
7841
7842 2001-06-01  Juergen Vigna  <jug@sad.it>
7843
7844         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7845         inside a LockingInset (is the update needed at all?).
7846
7847 2001-05-31  Juergen Vigna  <jug@sad.it>
7848
7849         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7850         here not the old one otherwise how should we compare it afterwards
7851         if it's the same!
7852
7853 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7854
7855         * lyxfont.C:
7856         * tabular.C:
7857         * tabular-old.C:
7858         * FontInfo.C: bring C functions into global namespace when
7859         necessary
7860
7861 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7862
7863         * LString.h: make sure config.h has been loaded before LString.h.
7864
7865         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7866         (one for each char read by EatLine!).
7867
7868         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7869         variables.
7870
7871 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7872
7873         * paragraph.C (BreakParagraph): set the inset_owner in the new par
7874         to the same as the par we break from
7875
7876 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7877
7878         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7879
7880         * MenuBackend.C (expand): also create menu entries for wide
7881         versions of the floats.
7882
7883         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7884
7885         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7886
7887         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7888         frontends/Makefile.am
7889
7890         * text2.C: adjust
7891         * text.C: adjust
7892
7893
7894         * tabular.C (getTokenValue): add std::
7895
7896         * tabular-old.C (getTokenValue): add std::
7897         (getTokenValue): ditto
7898         (getTokenValue): ditto
7899
7900         * screen.C (ToggleSelection): adjust
7901
7902         * lyxtext.h: put selection cursors inside a Selection struct.
7903
7904         * lyxfunc.C (moveCursorUpdate): adjust
7905
7906         * lyxfont.C (latexWriteStartChanges): add std::
7907
7908         * lyxfind.C: adjust
7909
7910         * font.h: delete with(char const *, LyXFont const &)
7911
7912         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
7913
7914         * FontInfo.C (getFontname): add std::
7915
7916         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7917         (workAreaButtonPress): adjust
7918         (tripleClick): adjust
7919         (update): adjust
7920         (moveCursorUpdate): adjust
7921         (Dispatch): adjust
7922
7923         * BufferView2.C (gotoInset): adjust
7924
7925 2001-05-30  Juergen Vigna  <jug@sad.it>
7926
7927         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
7928         to check pspell I add this as default as I now have new pspell
7929         libraries and they seem to use this.
7930
7931 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7932
7933         * text2.C (CutSelection): make the cursor valid before the call to
7934         ClearSelection.
7935
7936 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7937
7938         * kbsequence.C (parse): de-uglify a bit the parsing code, which
7939         relied on 0 terminated strings and other horrors. Bug found due to
7940         the new assert in lyxstring!
7941
7942         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
7943         KP_ keys.
7944
7945 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7946
7947         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
7948         to latinkeys.bind.
7949
7950         * lyxfunc.C (processKeySym): change method of getting to the
7951         self-insert char.
7952
7953         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
7954         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
7955         * BufferView_pimpl.[Ch]: here as private methods.
7956
7957 2001-05-28  Juergen Vigna  <jug@sad.it>
7958
7959         * text.C (SetHeightOfRow): added the update() call again as it is
7960         needed to initialize inset dimensions!
7961
7962 2001-05-16  Juergen Vigna  <jug@sad.it>
7963
7964         * text2.C (SetCharFont): Add new function with BufferView * and
7965         bool toggleall parameters for setting insets internal fonts.
7966         (SetFont): Freeze the undo as we may change fonts in Insets and
7967         all this change should be inside only one Undo!
7968
7969         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
7970         setting font's in insets as for them we have the SetFont function!
7971
7972 2001-05-15  Juergen Vigna  <jug@sad.it>
7973
7974         * text2.C (ClearSelection): to be sure we REALLY don't have any
7975         selection anymore!
7976
7977         * tabular.C (TeXCellPreamble): fixed the left border problem for
7978         multicolumn cells.
7979
7980 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
7981
7982         * LaTeX.C (deplog): Make sure that the main .tex file is in the
7983         dependancy file
7984
7985 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7986
7987         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
7988         LFUN_BREAKPARAGRAPH.
7989
7990         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7991         help test to "internal only", similar for LFUN_INSERT_URL
7992
7993         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
7994         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
7995         auto_region_delete and deadkeys.
7996
7997 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
7998
7999         * LColor.h:
8000         * LColor.C: remove some dead entries, tidy a little
8001
8002 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8003
8004         * lyxfunc.C (processKeySym): comment the Escape handling, remove
8005         commented code.
8006         (Dispatch): implement LFUN_ESCAPE
8007
8008         * commandtags.h: add LFUN_ESCAPE
8009
8010         * LyXAction.C (init): add entry for LFUN_ESCAPE
8011
8012         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8013         Remove commented code.
8014         (insertNote): moved here
8015         (open_new_inset): moved here
8016
8017         * BufferView[2].[Ch]: move insertNote and open_new_inset to
8018         BufferView_pimpl
8019
8020 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8021
8022         * kbmap.C (findbinding): clean it up and make it work correctly.
8023
8024         * lyx_main.C (init): do not pass argc and argv as parameters
8025
8026 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
8027
8028         * buffer.C: fix path for OS/2 & Win32
8029
8030         * lyx_gui.C:
8031         * lyx_main:
8032         * lyx_main.C: Added os:: class.
8033
8034         * os2_defines.h: update
8035
8036 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8037
8038         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8039         better by trying again with reduced state.
8040
8041 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8042
8043         * lyxrc.C (read): print error about invalid key sequence only when
8044         debugging (because not all latinX keysyms are known to some X
8045         servers)
8046
8047         * kbsequence.C (getiso): add a few std:: qualifiers
8048         (getiso): comment out extra return statement.
8049
8050 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8051
8052         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8053         handling.
8054         (Dispatch): enhance the accent inset a bit. (not perfect)
8055
8056 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8057
8058         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8059
8060 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8061
8062         * bufferlist.C (emergencyWrite): fix assert() call
8063
8064 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
8065
8066         * text.C (InsertChar): Added trivial patch to only send the "you
8067         can not do multiple spaces this way" message once during a
8068         session.
8069
8070 2001-05-08  Baruch Even  <baruch@lyx.org>
8071
8072         * Makefile.am: Changed order of libraries to get LyX to link properly
8073         with the gnome frontend.
8074
8075 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8076
8077         * LaTeXFeatures.h: add a std:: qualifier
8078
8079 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8080
8081         * paragraph.C (String): use stringstream
8082
8083 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8084
8085         * paragraph.C (writeFile): remove footflag arg
8086
8087         * buffer.C (makeLaTeXFile): use stringstream
8088         (latexParagraphs): remove footnot gurba
8089
8090         * LaTeXFeatures.C (getPackages): use stringstream
8091         (getMacros): likewise
8092         (getTClassPreamble): likewise
8093         (getFloatDefinitions): new method
8094
8095         * paragraph.C (writeFile): reindent
8096         (Erase): reindent
8097
8098         * WorkArea.h: revert the xpos + etc changes.
8099
8100         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8101
8102         * lyxparagraph.[Ch]: add copy constructor, remove Clone
8103
8104         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8105         (pasteSelection): likewise
8106         * text2.C (CreateUndo): likewise
8107
8108 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8109
8110         * minibuffer.C (peek_event): temporarily reduce the functionality
8111         of the minibuffer (to allow args on lfuns)
8112
8113         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8114         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8115
8116         * buffer.C (readInset): add compability reading of old float
8117         lists, add reading of new style float list.
8118         (readInset): avoid reevaluation of inscmd.getCmdName()
8119         (getLists): reindent
8120
8121         * MenuBackend.C (MenuItem): implement parsing of
8122         md_floatlistinsert and md_floatinsert.
8123         (expand::LastFiles): move initalizaton of iterators out of loop,
8124         avoid reevaluation.
8125         (expand::Documents): introduce typdedef vector<string> Strings,
8126         and use it.
8127         (expand::ExportFormats): introduce typedef vector<Format const *>
8128         Formats, and use it.
8129         (expand): implement FloatListInsert and FloatInsert.
8130
8131         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8132         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8133         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8134
8135         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8136         handling.
8137         (Dispatch::LFUN_FLOAT_LIST): implement
8138
8139 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
8140
8141         * LaTeX.C (run): Fix problem with --export code.
8142
8143 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
8144
8145         * BufferView.[Ch] (workarea): removed.
8146         (getClipboard) new method; wrapper for workarea()->getClipboard()
8147
8148         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8149         bug.
8150
8151         * WorkArea.h (width, height, xpos, ypos): These methods all
8152         returned the dimensions of the work_area sub-area of WorkArea,
8153         resulting in a position error if the WorkArea were resized. Now
8154         return the dimensions of the entire WorkArea.
8155
8156         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8157
8158 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8159
8160         * LaTeX.C (deplog): correct the syntax of regex reg1
8161
8162 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8163
8164         * undo.C: remove !NEW_INSETS cruft
8165
8166 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8167
8168         * text2.C: remove !NEW_INSETS cruft
8169
8170         * text.C: remove !NEW_INSETS cruft
8171
8172         * tabular.C: remove !NEW_INSETS cruft
8173
8174         * spellchecker.C: remove !NEW_INSETS cruft
8175
8176         * lyxtext.h: remove !NEW_INSETS cruft
8177
8178         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8179
8180         * lyxfunc.C: remove !NEW_INSETS cruft
8181
8182         * lyxfind.C: remove !NEW_INSETS cruft
8183
8184         * lyx_cb.C: remove !NEW_INSETS cruft
8185
8186         * figureForm.C: remove  !NEW_INSETS cruft
8187
8188         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8189
8190         * buffer.[Ch]: remove !NEW_INSETS cruft
8191
8192         * ToolbarDefaults.C: remove !NEW_INSETS cruft
8193
8194         * CutAndPaste.C: remove !NEW_INSETS cruft
8195
8196         * BufferView_pimpl.C: remove !NEW_INSETS cruft
8197
8198         * BufferView2.C: remove !NEW_INSETS cruft
8199
8200         * BufferView.h: remove !NEW_INSETS cruft
8201
8202 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8203
8204         * Lsstream.h: include LString.h before the sstream headers to
8205         fix problem with gcc 2.95.3 and lyxstring
8206
8207 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8208
8209         * lyx_main.C: add using directives when needed for C functions
8210         declared in std:: namespace.
8211
8212 2001-04-27  Juergen Vigna  <jug@sad.it>
8213
8214         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8215         (SetHeightOfRow): comment out the update call should not be needed!
8216
8217 2001-04-13  Juergen Vigna  <jug@sad.it>
8218
8219         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8220         (LyXTabular): tried to minimize operator= operations (and realized
8221         hopfully Lars wish).
8222
8223 2001-04-27  Juergen Vigna  <jug@sad.it>
8224
8225         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8226
8227 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8228
8229         * lyxfunc.C (Dispatch): hack to make listof algorithm work
8230
8231         * buffer.C (readInset): hack to make listof algorithm work
8232
8233         * BufferView_pimpl.C: hack to make listof algorithm work
8234
8235 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8236
8237         * LyXAction.C: removed all !NEW_INSETS cruft
8238         (init): moved lfun_item in method
8239
8240         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8241
8242 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
8243
8244         * BufferView2.C (theLockingInset): white space.
8245
8246 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8247
8248         * minibuffer.C: include <iostream>
8249
8250         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8251
8252         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8253
8254         * commandtags.h: add LFUN_TRANSPOSE_CHARS
8255
8256         * text.[Ch] (TransposeChars): new method
8257
8258 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8259
8260         * call message directly through LyXView instead of through LyXFunc
8261         * BufferView2.C: adjust
8262         * BufferView_pimpl.C: adjust
8263         * FontLoader.C: adjust
8264         * buffer.C: adjust
8265         * bufferview_funcs.C: adjust
8266         * converter.C: adjust
8267         * figureForm.C: adjust
8268         * importer.C: adjust
8269         * lyx_cb.C: adjust
8270         * lyx_gui_misc.C: adjust
8271         * lyxfunc.C: adjust
8272         * lyxvc.C: adjust
8273         * text2.C: adjust
8274         + more files in subdirs
8275
8276         * lyxparagraph.h (size): move up int file
8277         (GetLayout): ditto
8278
8279         * adjust all uses of Assert to lyx::Assert.
8280
8281         * BufferView2.C (ChangeCitationsIfUnique): adjust for
8282         lyxfunctional in namespace lyx
8283         * layout.C (hasLayout): ditto
8284         (GetLayout): ditto
8285         (GetLayout): ditto
8286         (delete_layout): ditto
8287         (NumberOfClass): ditto
8288         * converter.C (GetFormat): ditto
8289         (GetNumber): ditto
8290         (Add): ditto
8291         (Delete): ditto
8292         (SetViewer): ditto
8293         * bufferlist.C (getFileNames): ditto
8294         (emergencyWriteAll): ditto
8295         (exists): ditto
8296         (getBuffer): ditto
8297         * MenuBackend.C (hasSubmenu): ditto
8298         (hasMenu): ditto
8299         (getMenu): ditto
8300         * BufferView_pimpl.C (getInsetByCode): ditto
8301
8302 2001-04-18  Juergen Vigna  <jug@sad.it>
8303
8304         * vspace.C (asLatexString): fixed the 100% problem.
8305
8306 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8307
8308         * lyxfunc.C (Dispatch):
8309         * minibuffer.C:
8310         * minibuffer.h: add a few std:: qualifiers
8311
8312 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8313
8314         * minibuffer.[Ch]: reimplement so that commands is initiated and
8315         run from lyxfunc, simplified som handling, and made the completion
8316         and history code for complete. wip.
8317
8318         * lyxfunc.C (processKeySym): call message
8319         (miniDispatch): new temporary method
8320         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8321         (LFUN_MESSAGE): implement
8322         (LFUN_MESSAGE_PUSH): implement
8323         (LFUN_MESSAGE_POP): implement
8324         (initMiniBuffer): the initial/defualt minibuffer message.
8325
8326         * lyxfont.[Ch]: inline some more getters
8327
8328         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8329
8330         * lyx_gui_misc.[Ch] (WriteStatus): remove method
8331
8332         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8333         (AutoSave): use LFUN_MESSAGE
8334         (Reconfigure): ditto
8335
8336         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8337
8338         * figureForm.C: use LFUN_MESSAGE
8339
8340         * converter.C (runLaTeX): use LFUN_MESSAGE
8341
8342         * bufferview_funcs.C: use LFUN_MESSAGE
8343         (Melt): ditto
8344         (changeDepth): ditto
8345
8346         * bufferparams.h: use boost::
8347
8348         * bufferlist.h: inherit privately from noncopyable
8349
8350         * bufferlist.C (loadLyXFile): remove some commented code.
8351
8352         * buffer.C (runChktex): use LFUN_MESSAGE
8353
8354         * ShareContainer.h: inherit privately from noncopyable
8355
8356         * ParagraphParameters.[hC] (depth): inline it.
8357
8358         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8359         methods.
8360         (message): new method
8361         (messagePush): ditto
8362         (messagePop): ditto
8363         (show): init minibuffer
8364         (showState): direct call
8365
8366         * LaTeX.[Ch]: inherit privately from noncopyable
8367         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8368         instead of WriteStatus.
8369
8370         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8371
8372         * BufferView_pimpl.C (buffer): don't init minibuffer
8373         (workAreaButtonPress): use LFUN_MESSAGE
8374         (workAreaButtonRelease): ditto
8375         (savePosition): ditto
8376         (restorePosition): ditto
8377         (MenuInsertLyXFile): ditto
8378         (workAreaExpose): don't init minibuffer
8379         (update): remove commented code, simplify
8380
8381         * BufferView2.C (openStuff): use LFUN_MESSAGE
8382         (toggleFloat): ditto
8383         (menuUndo): ditto
8384         (menuRedo): ditto
8385         (copyEnvironment): ditto
8386         (pasteEnvironment): ditto
8387         (copy): ditto
8388         (cut): ditto
8389         (paste): ditto
8390         (gotoInset): ditto
8391         (updateInset): remove some commented code
8392
8393         * lastfiles.h: inherit privately from noncopyable
8394         * layout.h: ditto
8395         * lyx_gui.h: ditto
8396         * lyx_main.h: ditto
8397         * lyxlex.h: ditto
8398         * lyxlex_pimpl.h: ditto
8399
8400         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8401         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8402         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8403
8404         * LyXAction.h: inherit privately from noncopyable, add methods
8405         func_begin, func_end, returning iterators to the func map.
8406
8407         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8408         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8409         (func_begin): new method
8410         (func_end): new method
8411
8412         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8413         and not)
8414         (copySelection): ditto
8415         (pasteSelection): ditto
8416
8417         * BufferView.C: whitespace change
8418         * BufferView.h: inherit privately from noncopyable
8419
8420 2001-04-16  Allan Rae  <rae@lyx.org>
8421
8422         * tabular-old.C (l_getline):
8423         * spellchecker.C (sc_check_word):
8424         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8425         an unrecognised preprocessor directive.  So ensure they're wrapped.
8426
8427 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
8428
8429         * src/exporter.C (Export): Give an error message when path to file
8430         contains spaces.
8431
8432 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
8433
8434         * LaTeX.C (deplog): Always check that foundfile exists.
8435
8436 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8437
8438         * lyx_main.h:
8439         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8440
8441 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8442
8443         * tabular.[Ch] (getLabelList): implement new method
8444
8445         * minibuffer.h: comment ouf setTiimer
8446
8447         * minibuffer.C (ExecutingCB): constify res
8448         (peek_event): constify s
8449         (Set): constify ntext
8450         (Init): constify nicename
8451
8452         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8453
8454         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8455         (savePosition): use two params to Minibuffer::Set
8456         (restorePosition): ditto
8457
8458 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8459
8460         * lyx_main.C: include language.h
8461
8462         * Makefile.am (lyx_main.o): add language.h
8463
8464 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8465
8466         * exporter.C:
8467         * paragraph.C:
8468         * screen.C:
8469         * tabular.C:
8470         * CutAndPaste.C: include gettext.h
8471
8472         * lyxfont.h: remove old hack with ON and OFF.
8473
8474         * lyxparagraph.h:
8475         * lyxfont.h: do not include language.h...
8476
8477         * BufferView2.C:
8478         * LaTeXFeatures.C:
8479         * Painter.C:
8480         * bufferview_funcs.C:
8481         * font.C:
8482         * lyxfont.C:
8483         * text.C:
8484         * text2.C:
8485         * trans_mgr.C:
8486         * paragraph.C: ... but do it here instead
8487
8488 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8489
8490         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8491
8492         * tabular.C: small reformat
8493
8494         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8495         NEW_INSETS version
8496         (GetChar): ditto
8497         (BreakParagraph): ditto
8498         (SetOnlyLayout): ditto
8499         (SetLayout): ditto
8500
8501         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8502         with one arg less.
8503
8504         * lastfiles.C: removed most using decl, add std:: where needed
8505
8506         * buffer.C: ws changes
8507
8508         * MenuBackend.C (class compare_format): put into anon namespace
8509         (expand): constify label, names, action, action2
8510         (expand):
8511
8512         * text.C (SingleWidth): constify font
8513         (IsBoundary): constify rtl2
8514         (GetVisibleRow): constify ww
8515
8516         * LaTeX.C (deplog): constify logfile
8517
8518         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8519         start_x, end_x
8520         (workAreaExpose): constify widthChange, heightChange
8521
8522         * lyxrow.C (par): moved
8523         (height): moved
8524         (next): moved
8525         * lyxrow.h: as inlines here
8526
8527         * lyxfont.h (shape): moved from lyxfont.C
8528         (emph): moved from lyxfont.C
8529
8530         * lyxfont.C (LyXFont): use initialization list for all
8531         constructors
8532         (shape): move to lyxfont.h as inline
8533         (emph): move to lyxfont.h as inline
8534
8535
8536 2001-04-04  Juergen Vigna  <jug@sad.it>
8537
8538         * vspace.C: had to include stdio.h for use of sscanf
8539
8540 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
8541
8542         * BufferView.h:
8543         * BufferView_pimpl.h: remove xforms cruft. Both classes are
8544         independent of xforms.
8545
8546 2001-04-02  Juergen Vigna  <jug@sad.it>
8547
8548         * spellchecker.C: fixed namespace placing!
8549
8550 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
8551
8552         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8553         the LyXParagraph * is 0.
8554
8555 2001-03-29  Juergen Vigna  <jug@sad.it>
8556
8557         * vspace.C: added support for %, c%, p%, l%.
8558         (stringFromUnit): added helper function.
8559         (asLatexString): changed to give right results for the %-values.
8560
8561         * buffer.C: convert the widthp in a width%.
8562
8563 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
8564
8565         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8566         figureForm.[Ch].
8567
8568         * figureForm.[Ch]: stripped the FD_from_figure manipulation
8569         code out of lux_cb.[Ch], ready for its (imminent?) removal.
8570
8571         * lyx_cb.[Ch]: see above.
8572
8573         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8574         form1.[Ch].
8575
8576         * form1.[Ch]:
8577         * lyx.[Ch]: replaced by figure_form.[Ch].
8578
8579         * lyx_gui.C:
8580         * lyx_gui_misc.C:
8581         * lyxfunc.C: changed headers associated with above changes.
8582
8583 2001-03-27  Juergen Vigna  <jug@sad.it>
8584
8585         * BufferView_pimpl.C: set the temporary cursor right!
8586
8587 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
8588
8589         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8590
8591 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
8592
8593         * LString.h: removed "using std::getline"!
8594
8595         * BufferView_pimpl.C (Dispatch): changes due to changes in
8596         InsetInclude::Params.
8597
8598         * buffer.C (tag_name): removed redundant break statements as they were
8599         producing lots of warnings with my compiler.
8600
8601 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8602
8603         * LString.h: add "using std::getline" when using the real <string>.
8604
8605 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
8606
8607         * buffer.C: removed bitset usage.
8608         PAR_TAG moved to an anonymous name space.
8609         (tag_name): new funtion, also in the anonymous namespace.
8610         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8611         (makeDocBookFile): clean code. Completed transition from string arrays
8612         to string vectors.
8613         (SimpleDocBookOnePar): code clean.
8614
8615 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8616
8617         * tabular.C: add some comments.
8618
8619 2001-03-22  Juergen Vigna  <jug@sad.it>
8620
8621         * buffer.C (parseSingleLyXformat2Token): redone the minipage
8622         compatibility read a bit and fixed bug with minipage in different
8623         depth.
8624
8625 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
8626
8627         * buffer.C (pop_tag): removed.
8628         (push_tag): removed.
8629         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8630         array replaced with vector. Added support for CDATA sections.
8631         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8632         at any nest level.
8633         (makeDocBookFile): XML conformant declaration of CDATA section,
8634         fixed bug related to <emphasis> in the first paragraph char.
8635         (sgmlOpenTag): exclude empty tags.
8636         (sgmlCloseTag): ditto.
8637
8638         * buffer.h (pop_tag): removed.
8639         (push_tag): removed.
8640
8641 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
8642
8643         * language.h (Languages): added size_type and size().
8644
8645 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8646
8647         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8648         response on compability reading of minipages. One probliem is that
8649         the old usage of minipages was «flertydig»
8650
8651         * several files here and in subdirs: don't use static at file
8652         scope use anon namespaces instead.
8653
8654 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
8655
8656         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8657         LaTeX output. This is necessary for Literate document
8658         processing.
8659
8660 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8661
8662         * buffer.C: insert hfill when needed.
8663
8664         * tabular.C (l_getline): use string::erase, small whitespace change.
8665
8666         * BufferView_pimpl.C: try the anon namespace.
8667         * WorkArea.C: ditto
8668
8669 2001-03-16  Juergen Vigna  <jug@sad.it>
8670
8671         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8672         otherwise it won't open options-dialogs.
8673
8674         * buffer.C: honor pextraWidth(p) on converting minipages.
8675
8676         * tabular.C (l_getline): changed the functions to strip trailing \r.
8677
8678 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
8679
8680         * BufferView_pimpl.C:
8681         * minibuffer..C: added "using SigC::slot" declaration.
8682
8683 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8684
8685         * lyxlex_pimpl.h: noncopyable is in namespace boost.
8686
8687         * text2.C: ditto
8688
8689         * text.C: ditto
8690
8691         * paragraph.C: ditto
8692
8693         * lyxtext.h: NO_PEXTRA
8694
8695         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8696
8697         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8698         * ParameterStruct.h: ditto
8699         * ParagraphParameters.h: ditto
8700         * lyxparagraph.h: ditto
8701
8702 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8703
8704         * buffer.C: add compability for minipage alignment.
8705         (latexParagraphs): remove unwanted pextra check.
8706
8707         * several files: remove CXX_WORKING_NAMESPACES
8708
8709         * buffer.C (pop_tag): tie is in namespace boost
8710
8711         * BufferView.h: noncopyable is in namespace boost
8712         * lyxlex.h: ditto
8713         * lyx_main.h: ditto
8714         * lyx_gui.h: ditto
8715         * layout.h: ditto
8716         * lastfiles.h: ditto
8717         * bufferlist.h: ditto
8718         * ShareContainer.h: ditto
8719         * LyXView.h: ditto
8720         * LyXAction.h: ditto
8721         * LaTeX.h: ditto
8722
8723 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
8724
8725         * Merging changes from BRANCH_MVC back into HEAD.
8726
8727         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8728
8729 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
8730
8731         * BufferView_pimpl.C: change from intl.C
8732
8733         * combox.h:
8734         * combox.C:
8735         * Makefile.am: move combox.*
8736
8737         * form1.h:
8738         * form1.C:
8739         * lyx_gui.C:
8740         * intl.h:
8741         * intl.C: remove dialog (covered by prefs)
8742
8743 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
8744
8745         * lyxfunc.C (Dispatch): removed redundant break statement.
8746
8747 2001-03-14  Juergen Vigna  <jug@sad.it>
8748
8749         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8750
8751 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8752
8753         * buffer.C: add hack to fix compability reading of minipages.
8754
8755 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
8756
8757         * buffer.C (getLists): Cleanup.
8758
8759 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8760
8761         * lyxfont.C (update): don't honor toggleall on font size.
8762
8763 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
8764
8765         * bmtable.c:
8766         * bmtable.h:
8767         * Makefile.am: moved to frontends/xforms/
8768
8769         * lyx_gui_misc.C:
8770         * lyxfunc.C:
8771         * BufferView_pimpl.C: changes for moved mathpanel
8772
8773 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
8774
8775         * gettext.h: fix gettext_init() in --disable-nls
8776
8777 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8778
8779         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8780
8781 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
8782
8783         * lyx.C:
8784         * lyx.h: strip external form
8785
8786 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
8787
8788         * BufferView_pimpl.C: add comment, destroySplash()
8789
8790 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
8791
8792         * BufferView_pimpl.C:
8793         * LyXAction.C:
8794         * buffer.C:
8795         * commandtags.h:
8796         * lyxfunc.C: use re-worked insetinclude
8797
8798 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8799
8800         * buffer.C: add using std::stringstream.
8801
8802         * lyx_cb.C: readd using std::ios.
8803
8804         * buffer.C: add using std::map.
8805
8806         * BufferView_pimpl.C: add using std::vector.
8807
8808         * ShareContainer.h: add std:: to swap.
8809
8810         * buffer.h: add some typedefs
8811         * buffer.C (getLists): use them
8812         (getLists): renamed from getTocList.
8813         add a counter for the different float types and use it in the
8814         generated string.
8815         (getLists): use the same counter for the NEW_INSETS and the "non"
8816         NEW_INSETS
8817
8818         * lyx_cb.h: remove unused items, includes, using etc.
8819
8820         * ShareContainer.h: remove some commented code, add more comments
8821         and "documentation".
8822
8823 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8824
8825         * buffer.C (getTocList): make the list also when NEW_INSETS is
8826         defined.
8827
8828         * buffer.h: remove TocType
8829
8830         * buffer.C (getTocList): change to return a map<string,
8831         vector<TocItem> >, implement for dynamic number of list.
8832
8833         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8834         * text2.C (PasteSelection): adjust
8835         * CutAndPaste.C (pasteSelection): adjust
8836
8837         * FloatList.C (FloatList): update from the new_insets branch.
8838         * Floating.[Ch]: ditto
8839         * LaTeXFeatures.C: ditto
8840         * buffer.C: ditto
8841         * lyxlex_pimpl.C: ditto
8842
8843         * paragraph.C (Last): remove when NEW_INSETS is defined.
8844
8845         * other file: changes because of the above.
8846
8847 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8848
8849         * lyxparagraph.h: rename next to next_, previous to previous_,
8850         make them private for NEW_INSETS. Rename Next() to next(),
8851         Previous() to previous().
8852
8853         * other files: changes because of the above.
8854
8855 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
8856
8857         * BufferView.h:
8858         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8859         problem.
8860
8861 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8862
8863         * main.C (main): pass lyx_localedir to gettext_init().
8864
8865         * gettext.h: remove locale_init and gettext_init macros
8866
8867         * gettext.C (locale_init): new function
8868         (gettext_init): new function
8869
8870         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8871         setlocale().
8872
8873 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
8874
8875         * Moved credits to frontends:
8876         * credits.[Ch]: removed
8877         * credits_form.[Ch]: removed
8878         * lyx_gui_misc.C: remove credits stuff
8879         * Makefile.am:
8880
8881 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8882
8883         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8884
8885         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8886         unneeded destructor.
8887
8888         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8889         a standalone pointer again.
8890
8891         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8892
8893 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
8894
8895         * Makefile.am:
8896         * filedlg.h:
8897         * filedlg.C:
8898         * LyXAction.C:
8899         * ToolbarDefaults.C:
8900         * bufferlist.C:
8901         * commandtags.h:
8902         * form1.C:
8903         * form1.h:
8904         * lyx_cb.C:
8905         * lyx_cb.h:
8906         * lyxfunc.h:
8907         * lyxfunc.C:
8908         * BufferView_pimpl.C: use new file dialog in GUII
8909
8910         * lyx_cb.h:
8911         * lyx_cb.C: remove LayoutsCB to Toolbar
8912
8913 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8914
8915         * ShareContainer.h (get): add std:: qualifier
8916
8917 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8918
8919         * ShareContainer.h: define a proper ShareContainer::value_type
8920         type (and use typename to please compaq cxx)
8921
8922 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8923
8924         * lyxparagraph.h: move serveral local vars to
8925         ParameterStruct/ParagraphParameters., use ShareContainer in
8926         FontTable., make vars in FontTable private and add getter and
8927         setter.
8928
8929         * paragraph.C: changes because of the above.
8930
8931         * lyxfont.h: remove copy constructor and copy assignment. (the
8932         default ones is ok), move number inside FontBits. move inlines to
8933         lyxfont.C
8934
8935         * lyxfont.C: add number to initializaton of statics, move several
8936         inlines here. constify several local vars. some whitespace
8937         cleanup. Dont hide outerscope variables.
8938
8939         * Spacing.h: add two new constructors to match the set methods.
8940
8941         * ShareContainer.h: new file, will perhaps be moved to support
8942
8943         * ParameterStruct.h: new file
8944
8945         * ParagraphParameters.h: new file
8946
8947         * ParagraphParameters.C: new file
8948
8949         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
8950         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
8951
8952         * BufferView_pimpl.C: ParagraphParameter changes.
8953         * buffer.C: Likewise.
8954         * bufferview_funcs.C: Likewise.
8955         * text.C: Likewise.
8956         * text2.C: Likewise.
8957
8958 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8959
8960         * lyxfind.C (LyXReplace): do not redefine default argument in
8961         implementation.
8962         (IsStringInText): ditto
8963         (SearchForward): ditto
8964         (SearchBackward): ditto
8965
8966 2001-03-06  Juergen Vigna  <jug@sad.it>
8967
8968         * lyxfind.C (IsStringInText): put parentes around expressions.
8969
8970 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
8971
8972         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
8973
8974 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
8975
8976         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
8977
8978         * stl_string_fwd.h: add comment
8979
8980         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
8981
8982         * tabular.h:
8983         * tabular.C: remove unused DocBook methods
8984
8985         * intl.C:
8986         * language.C:
8987         * paragraph.C:
8988         * buffer.C:
8989         killed DO_USE_DEFAULT_LANGUAGE
8990
8991 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8992
8993         * lyx_gui.C: do not include language.h.
8994
8995         * bufferview_funcs.C (ToggleAndShow): do not provide optional
8996         arguments in function implementation.
8997
8998 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8999
9000         * BufferView_pimpl.C: add <ctime>
9001
9002 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
9003
9004         * BufferView_pimpl.C: add using std::find_if
9005
9006 2001-02-27  José Matos  <jamatos@fep.up.pt>
9007
9008         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9009         by OnlyPath.
9010
9011 2001-02-11  José Matos  <jamatos@fep.up.pt>
9012
9013         * buffer.C (makeDocBookFile): command styles now have a parameter as
9014         "title" by default.
9015
9016 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
9017
9018         * layout_forms.[Ch]: removed
9019         * lyx_cb.[Ch]: out character
9020         * lyx_gui.C: out character
9021         * lyx_gui_misc.C: out character
9022         * bufferview_funcs.C: : out character,
9023         added toggleall as parameter in ToggleAndShow
9024
9025 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
9026
9027         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9028
9029         * text2.C (SetCurrentFont): Disable number property at boundary.
9030
9031 2001-02-26  Juergen Vigna  <jug@sad.it>
9032
9033         * lyxfunc.C (getStatus): added a string argument override function so
9034         that this is correctly called from LyXFunc::Dispatch if it contains a
9035         do_not_use_argument which is used!
9036         (Dispatch): added check for "custom" export and call appropriate func.
9037
9038 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
9039
9040         * lyxrc.C: Add language_command_local, language_use_babel and
9041         language_global_options.
9042
9043         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9044
9045         * buffer.C (makeLaTeXFile): Use language_use_babel and
9046         language_global_options.
9047
9048 2001-02-23  Juergen Vigna  <jug@sad.it>
9049
9050         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9051         which works with LyXText and putted it inside BufferView. Here now we
9052         only call for that part the BufferView::Dispatch() function.
9053
9054         * BufferView.C (Dispatch): added.
9055
9056         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9057         functions which needs to use a LyXText over from LyXFunc.
9058         (MenuInsertLyXFile): added
9059         (getInsetByCode): added
9060         (moveCursorUpdate): added
9061         (static TEXT): added
9062
9063 2001-02-22  Juergen Vigna  <jug@sad.it>
9064
9065         * BufferView_pimpl.C (update): call a status update to see if LyXText
9066         needs it.
9067
9068 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
9069
9070         * vc-backend.C (revert): implement for CVS
9071         (getLog): implement for CVS
9072
9073 2001-02-20  Juergen Vigna  <jug@sad.it>
9074
9075         * text2.C (ClearSelection): added BufferView param for inset_owner call
9076
9077         * lyxfunc.C (TEXT): added this function and use it instead of
9078         directly owner->view()-text of getLyXText().
9079
9080 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
9081
9082         * src/layout_forms.C: out preamble
9083         * src/layout_forms.h: out preamble
9084         * src/lyx_cb.C: out preamble
9085         * src/lyx_cb.h: out preamble
9086         * src/lyx_gui.C: out preamble
9087         * src/lyx_gui_misc.C: out preamble
9088         * src/lyxfunc.C: connect with guii preamble
9089
9090 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
9091
9092         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9093
9094 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
9095
9096         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9097         whether to run bibtex.
9098
9099 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
9100
9101         * Makefile.am (lyx_SOURCES): Remove BackStack.h
9102
9103 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9104
9105         * Makefile.am (lyx_SOURCES): removed bibforms.h
9106
9107         * vspace.h: doxygen
9108
9109         * text.C (GetVisibleRow): make several local vars const
9110
9111         * tabular.C: small cleanup.
9112
9113         * lyxserver.C (callback): use compare instead of strncmp
9114
9115         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9116         inlines to after class or to paragraph.C
9117
9118         * lyxfont.h: remove friend operator!=
9119
9120         * converter.h: move friend bool operator< to non friend and after
9121         class def.
9122
9123         * combox.h: small cleanup
9124
9125         * buffer.h: doxygen, remove unused constructor, move inclas inlies
9126         to inlines after class def.
9127
9128         * buffer.C (pop_tag): use string operations instead of strcmp
9129
9130         * bmtable.c: doxygen, small cleanup
9131
9132         * LaTeX.h: remove friend operator==
9133
9134 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
9135
9136         * screen.C:
9137         * lyxrc.[Ch]:
9138         * lyxfunc.C:
9139         * lyxfont.[Ch]:
9140         * lyx_cb.C:
9141         * intl.[Ch]:
9142         * commandtags.h:
9143         * buffer.C:
9144         * WorkArea.[Ch]:
9145         * LyXAction.C:
9146         * BufferView_pimpl.C:
9147         * BufferView.[Ch]: remove cruft
9148
9149 2001-02-14  Juergen Vigna  <jug@sad.it>
9150
9151         * lyxfunc.C: removed #if 0 unused code
9152
9153         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9154
9155         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9156
9157         * text2.C (SetSelection): added a BufferView * parameter
9158
9159 2001-02-13  Juergen Vigna  <jug@sad.it>
9160
9161         * lyxfunc.C (Dispatch): fixed protected blank problem.
9162         * BufferView2.C (protectedBlank): added LyxText * parameter.
9163
9164         * tabular.C (AppendRow): forgot to set row_info of newly added row.
9165         (AppendColumn): same as above for column_info.
9166
9167         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9168         (moveCursorUpdate): use a LyXText param for support of InsetText.
9169
9170         * BufferView_pimpl.C (doubleClick): added support for InsetText.
9171         (tripleClick): ditto
9172
9173         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9174
9175         * BufferView_pimpl.C (update): added LyXText param to honor insets.
9176
9177         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9178
9179         * text2.C (SetSelection): set correct update status if inset_owner
9180         (ToggleFree): ditto
9181
9182 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
9183
9184         * tabular.C: remove some commented code.
9185
9186 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
9187
9188         * BufferView_pimpl.C: call hideSplash()
9189
9190         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9191
9192         * include_form.h:
9193         * bibforms.h: remove
9194
9195         * lyxfunc.C:
9196         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9197           add LFUN_CHILD_CREATE
9198
9199         * counters.h: fix tiny typo
9200
9201         * lyx_cb.C:
9202         * lyx.h:
9203         * lyx_gui.C:
9204         * lyx.C: move splash to frontends/xforms/
9205
9206         * lyx_gui_misc.C: move Include and Bibform to frontends
9207
9208         * lyxvc.h: clarify comment
9209
9210         * vspace.C: tiny housekeeping
9211
9212 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
9213
9214         * text.C (PrepareToPrint): RTL Fix.
9215
9216         * paragraph.C (GetUChar): New method.
9217         (String):  Use GetUChar.
9218
9219         * buffer.C (asciiParagraph): Use GetUChar.
9220
9221 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
9222
9223         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9224
9225 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
9226
9227         * buffer.h:
9228         * buffer.C: rename to getLogName(), handle
9229           build log / latex log nicely
9230
9231 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9232
9233         * MenuBackend.C:
9234         * MenuBackend.h: remove support for reference menuitem type.
9235
9236 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
9237
9238         * BufferView_pimpl.C: housekeeping
9239         * BufferView_pimpl.h:
9240         * LyXView.h:
9241         * Makefile.am:
9242         * Timeout.C:
9243         * Timeout.h:
9244         * minibuffer.h: move Timeout GUI-I
9245
9246 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
9247
9248         * lyxrc.C (read): Update converters data-structures.
9249
9250 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
9251
9252         * LaTeX.h (operator!=): add operator != for Aux_Info
9253
9254 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
9255
9256         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9257
9258         * LaTeXLog.C: deleted, useful code moved to Buffer
9259
9260         * buffer.h:
9261         * buffer.C: new function getLatexLogName()
9262
9263         * lyx_gui_misc.C:
9264         * lyx_gui.C:
9265         * lyxvc.C:
9266         * lyxvc.h:
9267         * lyxfunc.C: use frontends for LaTeX and VC logs
9268
9269 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9270
9271         * LaTeX.h: yet another std:: that Allan forgot.
9272
9273         * Variables.C (set): renamed from isset(), because this clashes
9274         with some HP-UX macros (grr).
9275
9276 2001-02-06  Allan Rae  <rae@lyx.org>
9277
9278         * LaTeX.h: Another bug fix.  Missing std:: this time.
9279
9280 2001-02-04  Allan Rae  <rae@lyx.org>
9281
9282         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9283         floats problem. I've left it commented out because it's not quite
9284         correct.  It should also test that the current object is a table or
9285         figure inset.  But I haven't gotten around to figuring out how to do
9286         that.  I *think* it'll be something like: "table" == inset.type()
9287
9288         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9289         bool.
9290
9291 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
9292
9293         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9294         all the citation/databases/styles in the auxilary file.
9295         (run): Rerun latex if there was a babel language error.
9296
9297 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
9298
9299         * text.C (Backspace): Preserve the font when changing newline char
9300         with a space.
9301         (BreakParagraph): If the cursor is before a space, delete the space.
9302
9303         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9304
9305 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
9306
9307         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9308         new argument (code).
9309         (ChangeCitationsIfUnique): New method.
9310
9311         * paragraph.C (GetPositionOfInset): Handle bibkey.
9312
9313 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9314
9315         * BufferView_pimpl.h: change type of Position::par_pos to
9316         LyXParagraph::size_type.
9317
9318 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
9319
9320         * BufferView_pimpl.C (savePosition, restorePosition): Write
9321         messages to minibuffer.
9322
9323 2001-01-28  José Matos  <jamatos@fep.up.pt>
9324
9325         * buffer.C (makeDocBookFile): adds support for document language.
9326         A silly restriction on the name of LatexCommand types where removed.
9327         Added support for CDATA sections, allows to chars unescaped, used
9328         among others in code, to avoid escape < and >.
9329
9330 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
9331
9332         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9333         saved positions instrad of a stack. Furthermore, a position is
9334         stored using paragraph id/paragraph position.
9335
9336         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9337         Remove LFUN_REF_BACK.
9338
9339 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
9340
9341         * converter.C (dvipdfm_options): New method.
9342
9343 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9344
9345         * vspace.C (isValidLength): Fix for empty input string.
9346
9347 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9348
9349         * LyXAction.C (init): change description of LFUN_FIGURE to
9350         "Insert Graphics"
9351
9352 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9353
9354         * LaTeX.C: add using directive
9355
9356 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
9357
9358         * MenuBackend.C (expand): Fix the sorting of the formats.
9359
9360 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
9361
9362         * lyx_main.C: tiny error message fix
9363
9364 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9365
9366         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9367         calling fl_initialize(). This fixes the problem with ',' as
9368         decimal separator in text files.
9369
9370 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
9371
9372         * trans.C (process): Fix the keymap bug.
9373
9374 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
9375
9376         * LaTeX.C (scanAuxFiles): New method. Provides support for
9377         multiple bibliographies (when using the bibtopic/bibunits pacakges).
9378         (scanLogFile) Scan for "run BibTeX" messages.
9379
9380         * buffer.C (makeLaTeXFile): Do not load the ae package when using
9381         OT1 font encoding. Also, load the aecompl package if the ae
9382         package is loaded.
9383
9384         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9385
9386 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9387
9388         * texrow.C (increasePos): turn two error messages into debug
9389         messages.
9390
9391 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
9392
9393         * LaTeX.C (scanAux): Handle the \@input macro.
9394         (runBibTeX): Use scanAux().
9395
9396         * language.C (latex_options_): New field.
9397
9398         * LaTeXFeatures.C (getMacros): Add language macros.
9399
9400         * buffer.C (makeLaTeXFile): Small fix.
9401
9402 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9403
9404         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9405
9406         * text2.C: add a using directive.
9407
9408 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
9409
9410         * BufferView2.C:
9411         * lyx_gui_misc.h:
9412         * lyxfr1.C:
9413         * lyxfunc.C: kill LyXBell.
9414
9415 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
9416
9417         * text.C (IsBoundary): Remove the error message
9418
9419         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9420
9421         * lyxrc.C (setDefaults): Correct initialization value for
9422         font_norm_type.
9423
9424 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9425
9426         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9427         gotoError().
9428
9429         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9430         and GotoNextNote().
9431
9432         * src/LyXAction.C: Added reference-next.
9433
9434         * text.C (InsertChar): Use contains instead of strchr.
9435
9436         * lyx_cb.C (MenuInsertLabel): Enable default value code.
9437
9438 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
9439
9440         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9441         alignment commands (when needed).
9442
9443         * text.C (InsertChar): Add ':' to number separator chars.