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