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