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