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