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