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