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