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