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