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