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