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