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