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