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