]> git.lyx.org Git - features.git/blob - src/ChangeLog
5d2ee9d9802d5ff7a4b52493d40f9e930ca679ce
[features.git] / src / ChangeLog
1 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * output_docbook.C: header stuff for AGU
4
5 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
6
7         * text2.C (redoCursor): remove
8         * text.C:
9         * text3.C:
10         * BufferView_pimpl.C: remove calls to redoCursor and
11         setCursor(cursor.par(), cursor.pos()) all around
12
13 2003-12-15  Angus Leeming  <leeming@lyx.org>
14
15         * buffer.C: up the format to 228.
16
17 2003-12-15  André Pönitz  <poenitz@gmx.net>
18
19         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
20         slices
21
22         * Makefile.am:
23
24         * BufferView_pimpl.C:
25         * cursor.[Ch]:
26         * lyxcursor.[Ch]:
27         * rowpainter.[Ch]:
28         * lyxtext.h:
29         * text.C:
30         * text2.C:
31         * text3.C: adjust
32
33 2003-12-15  Angus Leeming  <leeming@lyx.org>
34
35         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
36         than getFromGUIName to manipulate the color.
37
38 2003-12-14  Angus Leeming  <leeming@lyx.org>
39
40         * BranchList.[Ch]: minimize the API.
41         (Branch::getBranch, getColor): now return a 'const &'.
42         (Branch::setSelected) now returns a bool set to true if the
43         selection status changes.
44         (BranchList::clear, size, getColor, setColor, setSelected,
45         allBranches, allSelected, separator): removed.
46         (BranchList::find): new functions, returning the Branch with
47         the given name.
48         (BranchList::add, remove): return a bool indicating that
49         the operation was successful.
50
51         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
52         new InsetBranch::isBranchSlected member function.
53
54         * LColor.[Ch]: mimimize the API.
55         (fill): renamed as addColor and made private.
56         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
57         versions of these functions taking a string arg have been removed.
58
59         * bufferparams.C (readToken):
60         * lyxfunc.C (dispatch):
61         * lyxrc.C (read): changes due to the altered BranchList and
62         LColor APIs.
63
64         * factory.C (createInset, readInset): changes due to altered
65         InsetBranch c-tor.
66
67 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
68
69         * factory.C: 
70         * lyxfunc.C: remove insetminipage. "minipage-insert"
71         now produces a frameless minipage box inset.
72
73 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
74
75         * textcursor.[Ch] (selStart,selEnd): add new methods 
76         remove selection::start, end, use LyXCursor::operator<
77         * lyxcursor.[Ch] (operator<): add
78         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
79         * BufferView.[Ch] (unsetXSel): add
80         * text2.C (clearSelection): use unsetXSel,adjust
81         * text.C: adjust
82         * text3.C: adjust
83         * rowpainter.C: adjust
84         * bufferview_funcs.C (put_selection_at): adjust
85
86 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
87
88         * BufferView_pimpl.C: small coord. correction
89
90 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
91
92         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
93         dragging over the splash screen.
94
95 2003-12-11  Angus Leeming  <leeming@lyx.org>
96
97         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
98         as it is now handled in LyXText::dispatch.
99
100         * text3.C (doInsertInset): remove a level of nesting.
101
102 2003-12-11  Angus Leeming  <leeming@lyx.org>
103
104         * factory.C (createInset): changes due to the changed interface to
105         InsetCommandMailer::string2params.
106
107 2003-12-10  Angus Leeming  <leeming@lyx.org>
108
109         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
110         'dialog-show-new-inset <inset name>'
111
112 2003-12-10  Angus Leeming  <leeming@lyx.org>
113
114         * buffer.C: up the format to 227.
115
116         * factory.C: the box inset is now identified simply by 'Box'.
117
118 2003-12-10  Angus Leeming  <leeming@lyx.org>
119
120         * buffer.C: up the format to 226.
121
122         * factory.C: the note inset is now identified simply by 'Note'.
123
124 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
125
126         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
127         when a pit is enough. Standarize a couple of loops. 
128
129 2003-12-05  Angus Leeming  <leeming@lyx.org>
130
131         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
132         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
133         data to the re-worked "log" dialog.
134
135 2003-12-03  André Pönitz  <poenitz@gmx.net>
136
137         * PosIterator.C:
138         * iterators.C:
139         * lyxtext.h:
140         * output_latex.C:
141         * paragraph_funcs.C:
142         * text.C:
143         * text2.C: use Inset::getText instead of Inset::getParagraph
144
145 2003-12-03  André Pönitz  <poenitz@gmx.net>
146
147         * buffer.[Ch]:
148         * lyxtext.h:
149         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
150         InsetText::read() as LyXText::read()
151         
152 2003-12-02  Angus Leeming  <leeming@lyx.org>
153
154         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
155         type. Add a comment in the implementation that the function uses
156         the stream's bad() function rather than fail() as the std::streams
157         would do.
158
159 2003-12-02  André Pönitz  <poenitz@gmx.net>
160
161         * lyxlex.[Ch]: make interface more similar to std::stream
162
163         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
164
165 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
166
167         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
168
169 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
170
171         * vspace.[Ch]: remove VSpace::NONE
172
173 2003-12-01  André Pönitz  <poenitz@gmx.net>
174
175         * buffer.[Ch]:
176         * lyxtext.h: move ParagraphList member to LyXText
177         rename LyXText::ownerParagraphs to LyXText::paragraph
178
179         * CutAndPaste.C:
180         * bufferview_funcs.C:
181         * iterators.[Ch]:
182         * lyx_cb.C:
183         * paragraph.C:
184         * rowpainter.C:
185         * tabular.C:
186         * text.C:
187         * text2.C:
188         * text3.C: adjust
189
190         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
191
192         * undo.C: fix cursor positioning 
193
194 2003-12-01  John Levon  <levon@movementarian.org>
195
196         * BufferView_pimpl.C: fix a crash on exit with
197         a buffer open
198
199 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
200
201         * BranchList.C: fix setSelected() method.
202
203 2003-11-28  André Pönitz  <poenitz@gmx.net>
204
205         * ParagraphParameters.[Ch]:
206         * ParameterStruct.h: remove space above/below from Paragraph to
207          InsetVSpace
208
209         * BufferView_pimpl.C:
210         * factory.C:
211         * lyxfunc.C:
212         * lyxtext.h:
213         * output_latex.C:
214         * paragraph.C:
215         * paragraph_funcs.C:
216         * rowpainter.[Ch]:
217         * text.C:
218         * text2.C:
219         * text3.C: adjust
220
221 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
222
223         * factory.C: Syntax change for CharStyles
224
225 2003-11-28  André Pönitz  <poenitz@gmx.net>
226
227         * BufferView.[Ch]:
228         * BufferView.[Ch]:
229         * buffer.[Ch]:
230         * buffer.[Ch]: move LyXText member
231
232 2003-11-28  André Pönitz  <poenitz@gmx.net>
233
234         * BufferView.[Ch]: make LyXText * text a private member
235
236         * BufferView_pimpl.C:
237         * cursor.C:
238         * iterators.C:
239         * lyx_cb.C:
240         * lyxfind.C:
241         * lyxtext.h:
242         * rowpainter.[Ch]:
243         * text.C:
244         * text2.C:
245         * undo.C: adjust
246
247         * output_plaintext.C: cleanup
248
249 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
250
251         * buffer.C: 
252         * lyxtextclass.[Ch]: parametrize SGML document header
253
254 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
255
256         * converter.[Ch]:
257         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
258         getFlavor().
259
260 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
261
262         * text2.C (setFont): rework using PosIterator (no more recursive)
263         (setCharFont): no more needed 
264         (setLayout): no more selection cursors fiddling (done by redoCursor)
265         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
266         destroy remaining ones)
267
268 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
269
270         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
271         * lyxtext.h: ditto
272         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
273         selection cursors
274         * lyxfunc.C: adjust
275         * text3.C: adjust + re-allow multi par depth changes
276         * textcursor.C: simplify a bit
277
278 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
279
280         * src/buffer.C:
281         * src/lyxlayout.C:
282         * src/lyxlayout.h:
283         * src/lyxtext.h:
284         * src/output_docbook.C:
285         * src/output_latex.C:
286         * src/paragraph.C:
287         * src/paragraph.h:
288         * src/sgml.C:
289         * src/sgml.h:
290         * src/text2.C: Introducing a number of tags parametrizing various
291         XML formats that we may want to support
292
293 2003-11-25  André Pönitz  <poenitz@gmx.net>
294
295         * InsetList.[Ch] (begein, end): inline as suggested by profiler
296
297         * lyxtext.h (leftMargin/rightMargin): simplify interface
298
299         * rowpainter.C:
300         * text.C:
301         * text2.C:
302         * text3.C: adjust
303
304 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
305
306         * lyxfunc.C (dispatch): propogate the bibtex databases from the
307         master file to any child files. Fixes bug 546.
308
309 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
310
311         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
312
313 2003-11-24  André Pönitz  <poenitz@gmx.net>
314
315         * rowpainter.C: simplification
316
317         * text2.C (updateCounters): remove call to redoParagraph on 
318         changed labels as this is far too expensive.
319
320 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
321
322         * converter.C (convert): fix a crash: this function gets
323         called with buffer == 0 from importer code.
324
325 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
326
327         * text3.C (cursorPrevious): make sure that we do not compare
328         iterators form different containers.
329         (cursorNext): ditto
330
331         * rowpainter.C (paintSelection): make sure that we do not compare
332         iterators from different containers.
333
334         * text3.C (dispatch): [PRIOR] make sure that we do not compare
335         iterators from different ParagraphList containers.
336         [NEXT] ditto
337
338         * text2.C (LyXText): change order of initialization slightly
339         (operator=): new function. copy all variables except cache_par_
340         (moveUp): make sure that we do not compare iterators from
341         different ParagraphList constainers.
342         (moveDown): ditto
343
344         * text.C (firstPar): new function
345         (lastPar): new function
346         (endPar): new function
347
348         * lyxtext.h: move things around and group public functions, public
349         variables, private functions, private variables
350
351 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
352
353         * factory.C: change call to InsetERT constructor to avoid
354         additional invocation of method status
355         * text2.C (toggleInset): remove redundant update() call
356         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
357         instead of a Bufferview pointer
358
359 2003-11-21  André Pönitz  <poenitz@gmx.net>
360
361         * rowpainter.C: simplification
362
363 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
364
365         * text3.C (dispatch): make possible to extend a word/row selection
366         with the mouse
367
368 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
369
370         * lyxtext.h: x0_,y0_ -> xo_,yo_
371         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
372         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
373         * rowpainter.C (paintRows): paint full paragraphs
374
375 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
376
377         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
378         screen coordinates)
379
380 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
381
382         * lyxtext.h: add x0_, y0_
383         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
384         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
385
386 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
387
388         * text2.C (setCursorIntern): move the x_target update here *
389         * text3.C: change some bv() to true/false in calls to
390         cursorUp/Down/Right/Left
391         * cursor.C: use helper function.
392
393 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
394
395         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
396         * paragraph_funcs.[Ch]: correct comment
397         * rowpainter.C: do not paint selections away from bv->cursor()
398         Fix a long standing selection painting bug.
399         * text3.C: generalize mouse-selection code to LyXTexts other that
400         top one
401         * textcursor.C: do not use y coords if we can use par offsets
402
403 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
404
405         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
406         cursor position after e.g. inset insert)
407
408 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
409
410         * lyxfind.C (replace): adjust to locking removal + some
411         code simplification
412
413 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
414
415         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
416         of the path
417
418 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
419
420         * lyxlayout.[Ch]:
421         * output_docbook.C: XML sanitation: new layout
422         parameters InnerTag and CommandDepth
423
424 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
425
426         * BufferView_pimpl.C:
427         * factory.C:
428         * text3.C: Fix the insertion and modification of button-style
429         insets
430
431 2003-11-13  André Pönitz  <poenitz@gmx.net>
432
433         * InsetList.[Ch]: remove deleteLyXText
434
435         * paragraph.[Ch]: cache beginOfBody position
436
437         * Bidi.C:
438         * text.C:
439         * text2.C:
440         * text3.C: remove superfluous update() calls
441
442         * vspace.C: cleanup
443
444 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
445
446         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
447         * BufferView.C (fitLockedInsetCursor): remove
448         * cursor.[Ch] (getDim): add
449         * text.C (getRowNearY): add faster version
450         * text3.C: remove some update calls
451
452 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
453
454         * LaTeXFeatures.C:
455         * LyXAction.C:
456         * MenuBackend.C:
457         * MenuBackend.h:
458         * dispatchresult.h:
459         * factory.C:
460         * lfuns.h:
461         * lyxfunc.C:
462         * lyxtextclass.C:
463         * lyxtextclass.h:
464         * text3.C: The Character Style /XML short element patch.
465
466 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
467
468         * text3.C:
469         * factory.C: Small step to solving 'unable to insert some insets'
470         problem
471
472 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
473
474         * cursor.[Ch] (updatePos): new function for updating the y
475         position of the tip inset
476         * bufferview_funcs.C (put_selection_at):
477         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
478
479 2003-11-11  André Pönitz  <poenitz@gmx.net>
480
481         * text.C: remove big comment on invalid Paragraph pointers as it is
482         not valid anymore
483
484 2003-11-11  André Pönitz  <poenitz@gmx.net>
485
486         * text_funcs.[Ch]: merge with ...
487
488         * text.C: ... this
489
490         * lyxtext.h:
491         * text2.C:
492         * text3.C: adjust
493
494         * Makefile.am: remove text_funcs.[Ch]
495
496 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
497
498         * cursor.C (getPos): return absolute cached y coord
499
500         * BufferView_pimpl.C (fitCursor): new simplistic code
501         (workAreaDispatch): add a fitCursor call
502
503 2003-11-10  André Pönitz  <poenitz@gmx.net>
504
505         * BufferView.[Ch]:
506         * BufferView_pimpl.[Ch]: merge update() and updateInset()
507
508 2003-11-10  André Pönitz  <poenitz@gmx.net>
509
510         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
511         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
512         indicate that the cursor needs to leave an inset
513
514         * lyxtext.h: remove inset locking
515
516         * cursor.[Ch]: re-implement functionality provided by inset locking
517
518         * BufferView.[Ch]:
519         * BufferView_pimpl.[Ch]:
520         * LyXAction.C:
521         * bufferview_funcs.[Ch]:
522         * factory.C:
523         * funcrequest.[Ch]:
524         * iterators.C:
525         * lyx_cb.C:
526         * lyxfind.C:
527         * lyxfunc.C:
528         * text.C:
529         * text2.C:
530         * text3.C:
531         * undo.C: adjust
532
533 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
534
535         * PosIterator.[Ch]: replace the stack with a vector, add inset
536         accesor
537         * iterators.[C]: adjust
538
539 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
540
541         * lyxfind.C (replaceAll): mark the buffer dirty if something was
542         replaced
543         * paragraph_funcs.C (readParToken): put the correct id in the
544         error item, not the id of the top paragraph
545
546 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
547
548         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
549         * bufferview_funcs.C (put_selection_at): use the above
550
551 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
552
553         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
554
555 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
556
557         * output_linuxdoc.h:
558         * output_plaintext.h:
559         * output.h:
560         * output_docbook.h: add #include statements
561
562 2003-11-05  José Matos  <jamatos@lyx.org>
563
564         * output_docbook.[Ch]:
565         * output_latex.[Ch]:
566         * output_linuxdoc.[Ch]:
567         * output_plaintext.[Ch]: New files for output formats.
568         * output.[Ch]: New file for helper functions.
569
570         * buffer.[Ch]:
571         * paragraph_funcs.[Ch]: output functions moved to new files.
572
573         * outputparams.h: rename of latexrunparams.h
574
575         * LaTeX.[Ch]:
576         * buffer.[Ch]:
577         * bufferlist.[Ch]:
578         * converter.[Ch]:
579         * exporter.C:
580         * paragraph.[Ch]:
581         * paragraph_funcs.[Ch]:
582         * paragraph_pimpl.[Ch]:
583         * tabular.[Ch]: rename ascii to plaintext
584         and LatexRunParams to OutputParams.
585
586 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
587
588         * iterators.[Ch] (text): require bv argument
589         * undo.C (recordUndo):
590         * lyxfunc.C (dispatch):
591         * bufferview_funcs.C (put_selection_at): adjust
592
593 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
594
595         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
596
597 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
598
599         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
600         nestings
601
602 2003-11-04  André Pönitz  <poenitz@gmx.net>
603
604         * cursor.[Ch]: restructure
605
606         * BufferView.[Ch]:
607         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
608
609         * iterators.[Ch] (asCursor): remove
610
611         * lfuns.h: remove LFUN_INSET_EDIT
612
613         * lyxfunc.C:
614         * tabular.C:
615         * text.C:
616         * text2.C:
617         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
618
619 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
620
621         * lyxfind.[Ch]: complete overhaul
622         * BufferView_pimpl.C:
623         * lyxfunc.C: adjust
624         * paragraph.[Ch] (insert): add
625
626 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
627
628         * BufferView.[Ch]:
629         * lyxtext.h:
630         * text.C: remove dead spellcheck code
631
632 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
633
634         * dispatchresult.h: add a val setter
635
636         * cursor.C (dispatch): use a tempvar for data_[i]
637
638 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
639
640         * PosIterator.[Ch]: compile fix
641
642 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
643
644         * text.C (cursorPar): deactivate the cursor cache
645
646 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
647
648         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
649
650 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
651
652         * text3.C (dispatch): adjust for new DisptchResult semantics.
653
654         * lyxfunc.C (dispatch): handle update when return from
655         Cursor::dispatch, adjust for new DispatchResult semantics.
656
657         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
658         DispatchResult(true) mean to not update. Add class functions for
659         setting dispatched and update, as well as reading.
660
661         * cursor.C (dispatch): don't handle update here
662
663 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
664
665         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
666         * trans_mgr.C: adjust
667
668         * paragraph_funcs.C (readParToken): exception safety
669
670         * lyxvc.h: store the vcs pointer in a scoped_ptr
671         * lyxvc.C: adjust
672
673         * lyxsocket.C (serverCallback): exception safety
674
675         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
676
677         * ispell.C (clone): make it return a auto_ptr
678
679         * factory.C (createInset): exception safety
680         (readInset): exception safety
681
682         * bufferlist.C (newBuffer): exception safety
683
684         * Thesaurus.C (Thesaurus): use initialization for aik_
685
686         * MenuBackend.C (expandToc): exception safety.
687
688 2003-11-03  André Pönitz  <poenitz@gmx.net>
689
690         * buffer.C:
691         * buffer.h:
692         * bufferview_funcs.C: remove getInsetFromId()
693
694         * lyxcursor.[Ch]:
695         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
696
697         * lyxfunc.C:
698         * text2.C:
699         * text3.C: adjust
700
701 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
702
703         * PosIterator.C (distance, advance): new
704         * bufferview_funcs.[Ch] (put_selection_at): new
705         * iterators.[Ch] (lockPath): new
706
707 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
708
709         * iterators.[Ch] (asPosIterator): added
710         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
711         * PosIterator.[Ch]: added
712
713 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
714
715         * text3.C:
716         * lyxfunc.C:
717         * cursor.C (dispatch):
718         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
719
720         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
721         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
722         contructor, add a class function dispatched. Remove operator>=
723
724 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
725
726         * debug.C: only use the default constructor for debugstream
727         (lyxerr) here.
728
729         * main.C (main): include debug.h and setup the lyxerr streambuf
730         here.
731
732 2003-10-31  José Matos  <jamatos@lyx.org>
733
734         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
735
736         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
737         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
738         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
739         * paragraph_pimpl.C (simpleTeXSpecialC):
740         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
741         add LatexRunParams argument.
742
743         * exporter.C (Export): change call accordingly.
744
745         * latexrunparams.h: add new member to take care of the other backends.
746 2003-10-30  José Matos  <jamatos@lyx.org>
747
748         * buffer.C (makeLinuxDocFile, makeDocBookFile):
749         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
750         factorise code for paragraph output.
751         * buffer.[Ch]:
752         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
753         move functions.
754
755 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
756
757         * text3.C (dispatch):
758         * lyxfunc.C (dispatch):
759         * cursor.C (dispatch):
760         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
761
762         * dispatchresult.h: make the dispatch_result_t ctor explicit
763
764 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
765
766         * sgml.[Ch]:
767         * buffer.C: small refactoring of docbook stuff
768
769 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
770
771         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
772         meaning.
773
774 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
775
776         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
777         operator dispatch_result_t, and operators for == != and >=
778
779         * cursor.C (dispatch): adjust for operator dispatch_result_t
780         removal. comment out call to update
781
782         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
783
784 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
785
786         * text3.C:
787         * text2.C:
788         * text.C:
789         * lyxtext.h:
790         * lyxfunc.C:
791         * cursor.C:
792         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
793         (dispatch):
794
795         * dispatchresult.h: new file, DispatchResult broken out of
796         insets/insetbase.h
797
798         * Makefile.am (lyx_SOURCES): add dispatchresult.h
799
800 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
801
802         * text.C (rowBreakPoint): put a hack inside #if 0
803
804 2003-10-28  André Pönitz  <poenitz@gmx.net>
805
806         * lyxtext.h:
807         * metricsinfo.C:
808         * paragraph_funcs.C:
809         * rowpainter.C:
810         * text.C:
811         * text2.C: general cleanup (lots of small stuff)
812
813 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
814
815         * text2.C (cursorEnd): simple fix to the "end key goes to one
816         before the end on last row" bug
817
818 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
819
820         * text.C (backspace): fix the "zombie characters"
821
822 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
823
824         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
825
826 2003-10-27  André Pönitz  <poenitz@gmx.net>
827
828         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
829
830         * factory.C: handle new InsetPagebreak, InsetLine
831
832         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
833         and move handling into new InsetPagebreak, InsetLine
834
835         * BufferView_pimpl.C:
836         * LyXAction.C:
837         * ParagraphParameters.C:
838         * ParameterStruct.h:
839         * lyxfunc.C:
840         * lyxtext.h:
841         * paragraph.C:
842         * paragraph.h:
843         * paragraph_funcs.C:
844         * paragraph_pimpl.C:
845         * rowpainter.C:
846         * text.C:
847         * text2.C:
848         * text3.C: adjust
849
850 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
851
852         * text.C:
853         * lyxrow_funcs.[Ch]:
854         * Bidi.C:
855         * paragraph.C:
856         * lyxtext.h:
857         * rowpainter.C:
858         * text2.C:
859         * text3.C: remove lastPos uses in favour of Row::endpos
860
861 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
862
863         * undo.C (performUndoOrRedo): fix two crashes by setting a
864         cursor by hand and reordering some calls. Use bv->lockInset instead
865         of inset->edit because the latter loses cursor information
866
867 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
868
869         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
870         by Martin
871         (rowBreakPoint): fix width. change point to point + 1.
872         Add a missing check.
873
874 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
875
876         * MenuBackend.C:
877         * lyxfunc.C: fix (at least partly) the problems
878         with the Nav menu and headers inside branch insets
879         reported by Kayvan
880
881 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
882
883         * paragraph.C (getChar): add strong asserts
884
885         * lyxrow_funcs.C (lastPos): remove hideous hack
886
887         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
888         (fill): adjust to that (avoid an infinite loop)
889
890 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
891
892         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
893
894 2003-10-23  André Pönitz  <poenitz@gmx.net>
895
896         * RowList_fwd.h: change list<> to vector<> to gain speed
897         after suggestion from Alfredo
898
899 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
900
901         * lyxtext.h: move the bidi stuff from here...
902         * text.C: and here
903         * text2.C: and here
904         * Bidi.[Ch]: ... to here
905
906 2003-10-23  André Pönitz  <poenitz@gmx.net>
907
908         * lyxtext.h:
909         * text.C (isLastRow, isFirstRow): new functions
910
911         * paragraph.h: new width cache member
912
913         * rowpainter.C: replace RowList::iterator with Row & where possible
914
915         * lyxfunc.C: replace several view()->text with a single call
916
917         * toc.C: fix 'unused' warning
918
919 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
920
921         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
922         when woring with stream::pos_type
923         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
924
925 2003-10-22  André Pönitz  <poenitz@gmx.net>
926
927         * lyxtext.h:
928         * text.C: use Row & instead of RowList::iterator
929
930         * lyxrow.h: rename end() to endpos()
931
932         * rowpainter.C:
933         * text.C:
934         * text2.C: adjust
935
936 2003-10-22  Angus Leeming  <leeming@lyx.org>
937
938         * buffer.[Ch] (fully_loaded): new member function, returning true
939         only when the file has been loaded fully.
940         Used to prevent the premature generation of previews and by the
941         citation inset to prevent computation of the natbib-style label.
942
943         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
944         templates are all set up.
945
946         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
947
948 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
949
950         * text.C: fixed an "oops" in the "is a bit silly"
951         bug fix
952
953 2003-10-21  André Pönitz  <poenitz@gmx.net>
954
955         * FuncStatus.[Ch]: small stuff, whitespace
956
957         * lyxfont.[Ch]: operator<<() for debug reasons
958
959         * lyxfunc.C:
960         * lyxrow_funcs.C:
961         * lyxtext.h: whitespace, spelling
962
963         * paragraph.C: naming of variables
964
965         * text.C:
966         * text2.C: small stuff
967
968
969 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
970
971         * text.C: (1) finish off the inset display() work;
972         (2) fix the "is a bit silly" bug (accessing char
973         past end of par).
974
975 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
976
977         * text.C: re-introduce display() for insets, fixing the
978         various bugs (stretch of line above, math inset
979         positioning, ...)
980
981 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
982
983         * text.C (rightMargin): remove spurious semicolon
984
985         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
986         1415)
987
988 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
989
990         * text3.C: fix one crash due to wrong cursor def
991
992 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
993
994         * vc-backend.C (scanMaster): make the regex static
995
996         * LaTeX.C (scanAuxFile): make the regexs static
997
998         * text3.C (doInsertInset, dispatch, dispatch):
999         * text2.C (cursorUp, cursorDown):
1000         * text.C (selectNextWordToSpellcheck):
1001         * BufferView_pimpl.C (dispatch):
1002         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1003
1004 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1005
1006         * lyxsocket.C: include <cerrno>
1007
1008 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1009
1010         * lyxfunc.C (dispatch): remove textcache stuff
1011
1012         * bufferlist.C (release): remove textcache stuff
1013         (closeAll): ditto
1014
1015         * TextCache.C: delete file
1016         * TextCache.h: delete file
1017
1018         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1019
1020         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1021         delete of the bv_->text.
1022         (resizeCurrentBuffer): remove texcache stuff
1023         (workAreaResize): ditto
1024
1025 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1026
1027         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1028         action.
1029
1030 2003-10-16  André Pönitz  <poenitz@gmx.net>
1031
1032         * lyxrow.[Ch]:
1033         * paragraph.h:
1034         * rowpainter.C:
1035         * text.C:
1036         * text2.C:
1037         * text3.C: speed up by storing y positions per paragraph plus per-row
1038         offset instead of having a 'full' y position in the row.
1039
1040 2003-10-15  André Pönitz  <poenitz@gmx.net>
1041
1042         * iterators.[Ch]:
1043         * iterators.[Ch]:
1044         * undo.[Ch]: make undo aware of inner insets
1045
1046 2003-10-14  Angus Leeming  <leeming@lyx.org>
1047
1048         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1049         static member functions LyX::ref() and LyX::cref.
1050         (lastfiles): new accessor functions for the new lastfiles_ member var.
1051         (addLyXView, views_): add a new LyXView to the list of views_.
1052         (updateInset): loop over all LyXViews to call their own updateInset
1053         member function, returning a pointer to the Buffer owning the inset.
1054
1055         * BufferView_pimpl.C (loadLyXFile):
1056         * MenuBackend.C (expandLastfiles):
1057         * bufferlist.C (MenuWrite, QuitLyX):
1058         lastfiles is no longer a global variable.
1059         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1060
1061         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1062         static function. Access through LyX::cref().emergencyCleanup().
1063
1064 2003-10-14  André Pönitz  <poenitz@gmx.net>
1065
1066         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1067
1068         * undo.[Ch]: restoring part of 'undo in insets'
1069
1070         * Makefile.am:
1071         * undo_funcs.[Ch]: merge with undo.[Ch]
1072
1073         * tabular.C: small cleansing stuff
1074
1075 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1076
1077         * paragraph_funcs.C (readParToken): report unknown insets as error
1078         boxes. Use the outer paragraph as location (also for unknown
1079         tokens).
1080
1081         * factory.C (readInset): do not abort on reading an unknown inset.
1082         Eat it and return 0.
1083
1084 2003-10-13  Angus Leeming  <leeming@lyx.org>
1085
1086         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1087
1088         * lyxrc.C: displayTranslator is now a function,
1089         declared in GraphicsTypes.h.
1090
1091 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1092
1093         * format.C: new placeholder $$a to pass the socket address.
1094
1095         * bufferlist.[Ch]: new function getBufferFromTmp.
1096
1097         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1098           files in the temporary dir.
1099
1100 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1101
1102         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1103
1104         * Makefile.am: add lyxsocket.[Ch].
1105
1106         * lyx_main.C (error_handler): handle SIGPIPE.
1107
1108 2003-10-13  André Pönitz  <poenitz@gmx.net>
1109
1110         * BufferView_pimpl.C:
1111         * lyxtext.h:
1112         * text.C:
1113         * text2.C:
1114         * text3.C:
1115         * undo_funcs.[Ch]: use paroffset_type instead of
1116           ParagraphList::iterators to prevent multiple conversion
1117           (and get a more robust interface)
1118
1119 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1120
1121         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1122         * lyxtext.h: ditto
1123         * text3.C (dispatch): ditto
1124
1125 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1126
1127         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1128         move the onlyfile, use onlyfile instead of foundfile in a couple
1129         of places.
1130
1131         * DepTable.C (update): flush the error stream a bit more
1132
1133 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1134
1135         * lyxserver.C (callback): adjust
1136
1137         * lyxfunc.C (getStatus): add a missing brace in commented code
1138         (ensureBufferClean): reindent
1139         (dispatch): delete version taking a string
1140
1141 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1142
1143         * LaTeX.C (deplog): move found file handlig from here...
1144         (handleFoundFile): .. to new function here.
1145         (deplog): make sure to discover several files mentioned on the
1146         same log line.
1147
1148 2003-10-10  André Pönitz  <poenitz@gmx.net>
1149
1150         * lyxfunc.C:
1151         * lyxtext.h:
1152         * tabular.C:
1153         * text.C:
1154         * text2.C:
1155         * text3.C: fix some of the tabular crashes
1156
1157 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1158
1159         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1160
1161         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1162
1163 2003-10-09  André Pönitz  <poenitz@gmx.net>
1164
1165         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1166
1167         * BufferView.C:
1168         * BufferView_pimpl.C:
1169         * bufferview_funcs.C:
1170         * lyx_cb.C:
1171         * lyxcursor.C:
1172         * lyxfind.C:
1173         * lyxfunc.C:
1174         * lyxtext.h:
1175         * text.C:
1176         * text2.C:
1177         * text3.C:
1178         * text_funcs.[Ch]:
1179         * textcursor.[Ch]:
1180         * undo_funcs.C: adjust
1181
1182 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1183
1184         * text2.C (incrementItemDepth): new function, use a backtracking
1185         algorithm to discover the correct item depth.
1186         (resetEnumCounterIfNeeded): new function, use a backtracking
1187         algorithm to discover if counter reset is needed.
1188         (setCounter): use them. Simplify a bit. Add different labels for
1189         different item depths for itemize.
1190
1191         * paragraph.C (Paragraph): remove initialization of enumdepth
1192         (operator=): ditto
1193
1194         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1195         enumerate and itemize. Change the type of itemdepth to signed char.
1196
1197 2003-10-08  André Pönitz  <poenitz@gmx.net>
1198
1199         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1200           thing assignable.
1201         * text.C:
1202         * text2.C: adjust
1203
1204         * tabular.[Ch]: fix crash after 'row-insert'
1205
1206 2003-10-08  Angus Leeming  <leeming@lyx.org>
1207
1208         Fix doxygen warnings.
1209
1210         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1211         Remove CutAndPaste:: prefix from header file declaration.
1212
1213         * LColor.h (fill): remove LColor:: prefix from declaration.
1214
1215         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1216         use lyx::depth_type rather than Paragraph::depth_type so that
1217         header file and .C file match.
1218
1219         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1220
1221         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1222         * aspell.C: \file aspell_local.C -> \file aspell.C
1223         * gettext.C: \file gettext.C -> \file src/gettext.C
1224         * gettext.h: \file gettext.h -> \file src/gettext.h
1225         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1226         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1227         * text.C: \file text.C -> \file src/text.C
1228
1229         * toc.C: move comment so that doxygen is not confused.
1230
1231 2003-10-07  Angus Leeming  <leeming@lyx.org>
1232
1233         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1234
1235 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1236
1237         * aspell.C:
1238         * aspell_local.h: add forgotten std::string's.
1239
1240 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1241
1242         * LaTeXFeatures.C:
1243         * LyXAction.C:
1244         * factory.C:
1245         * lfuns.h:
1246         * lyxfunc.C:
1247         * text3.C: The Box patch. Fancybox support, minipage, parbox
1248
1249 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1250
1251         * CutAndPaste.h:
1252         * DepTable.h:
1253         * FloatList.h:
1254         * LaTeXFeatures.h:
1255         * ParagraphParameters.h:
1256         * TextCache.h:
1257         * Thesaurus.h:
1258         * bufferlist.h:
1259         * exporter.h:
1260         * importer.h:
1261         * lastfiles.h:
1262         * lyxfind.h:
1263         * lyxfont.h:
1264         * lyxlex.h:
1265         * lyxtextclasslist.h:
1266         * messages.h:
1267         * paragraph.h:
1268         * paragraph_pimpl.C:
1269         * textcursor.h: add <string> and other small fixes to make Lars'
1270         std::string patch compile with STLport.
1271
1272 2003-10-06  Angus Leeming  <leeming@lyx.org>
1273
1274         * LColor.h: Add missing #include <string>.
1275
1276 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1277
1278         * All most all file in all subdirs: Make <string> be the prefered
1279         way of getting to std::string, add using declarations.
1280
1281 2003-10-06  André Pönitz  <poenitz@gmx.net>
1282
1283         * metricsinfo.C: initialize LyXFont before changing attribute.
1284         (fixes the 'math in \emph is upright' bug)
1285
1286 2003-10-06  André Pönitz  <poenitz@gmx.net>
1287
1288         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1289
1290 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1291
1292         * graph.C:
1293         * paragraph_pimpl.C: Small fixes to build using STLport
1294
1295 2003-10-02  André Pönitz  <poenitz@gmx.net>
1296
1297         * lyxfunc.C:
1298         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1299
1300 2003-10-01  André Pönitz  <poenitz@gmx.net>
1301
1302         * factory.C: assert early
1303
1304 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1305
1306         * lyx_main.C: remove the global debug object
1307
1308         * debug.h: adjust for new debugstream
1309
1310         * debug.C: adjust for new debugstream and keep the global debug
1311         object here.
1312
1313 2003-09-22  Angus Leeming  <leeming@lyx.org>
1314
1315         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1316         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1317         an incomplete class LyXFont.
1318
1319 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1320
1321         * factory.C: bug fix in branches
1322
1323 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1324
1325         * lyxfunc.C (processKeySym): adjust
1326         (dispatch): adjust
1327         (dispatch): change arg name from ev to func, adjust
1328         (sendDispatchMessage): ditto
1329
1330         * lyx_main.C (defaultKeyBindings): adjust keybindings
1331         (deadKeyBindings): ditto
1332
1333         * kbsequence.C (addkey): return a FuncRequest
1334
1335         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1336
1337         * kbmap.C (bind): take a FuncRequest as arg, adjust
1338         (read): adjust
1339         (lookup): adjust
1340         (defkey): change to take a FuncRequest as arg, adjust
1341         (findbinding): take a FuncRequest as arg, adjust.
1342
1343         * funcrequest.h (operator=): added
1344
1345         * funcrequest.C (FuncRequest): default kb_action changed from
1346         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1347
1348         * buffer.C (dispatch): simplify
1349         (dispatch): adjust to take a FuncRequest as arg, adjust
1350
1351         * boost.C (assertion_failed): change assertion message slightly
1352
1353         * ToolbarBackend.C (read): simplify
1354
1355         * MenuBackend.C (binding): adjust call to findbinding, add a
1356         message if no binding is found.
1357         (read): simplify
1358         (expandToc): correct by adding a empty FuncRequest
1359
1360         * LyXAction.C: include <boost/assert.hpp>
1361         (isPseudoAction): delete function
1362         (LookupFunc): change name to...
1363         (lookupFunc): this. change return type to FuncRequest.
1364         (getActionName): take kb_action as arg, simplify
1365         (funcHasFlag): add an assert, simplify.
1366
1367 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1368
1369         * toc.C (action): return a FuncRequest, simplify
1370
1371         * lyxfunc.C (processKeySym): adjust
1372         (getStatus): delete version that takes an int.
1373         (getStatus): adjust
1374         (dispatch): delete version that takes action as int
1375         (dispatch): adjust
1376         (sendDispatchMessage): simplify and adjust
1377
1378         * funcrequest.C (getArg): take unsigned int as arg
1379
1380         * ToolbarBackend.C (read): adjust
1381         (add): delete version that takes func as a string.
1382         (getIton): take a FuncRequest as arg
1383
1384         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1385         action.
1386
1387         * MenuBackend.C (MenuItem): add a new construct that only takes a
1388         Kind, simplify the constructor use for submenus.
1389         (add): adjust
1390         (expandLastfiles): adjust
1391         (expandDocuments): adjust
1392         (expandFormats): adjust
1393         (expandFloatListInsert): adjust
1394         (expandFloatInsert): adjust
1395         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1396
1397         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1398         Remove class variables lyx_pseudo_map and lyx_arg_map
1399
1400         * LyXAction.C (searchActionArg): delete function
1401         (getPseudoAction): delete function
1402         (retrieveActionArg): delete function
1403         (LookupFunc): make it return kb_action, simplify.
1404         (getActionName): simplify
1405
1406         * factory.C (createInset): fix new bug
1407
1408 2003-09-19  Angus Leeming  <leeming@lyx.org>
1409
1410         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1411         masterFilename_ parameter in the include inset.
1412
1413         * factory.C (createInset): changes due to the changes to InsetInclude.
1414
1415 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1416
1417         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1418
1419 2003-09-18  Angus Leeming  <leeming@lyx.org>
1420
1421         * buffer.C:
1422         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1423         Inset::fillWithBibKeys.
1424         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1425
1426 2003-09-18  Angus Leeming  <leeming@lyx.org>
1427
1428         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1429         variables.
1430         (ctor): pass and store a 'Buffer const &'
1431         (buffer): new member function.
1432
1433         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1434         '*this' to the LaTeXFeatures ctor.
1435
1436 2003-09-18  Angus Leeming  <leeming@lyx.org>
1437
1438         * LColor.h:
1439         * lyxfont.C:
1440         * lyxfont.h:
1441         * lyxtext.h:
1442         * text.C: rename EnumLColor as LColor_color.
1443
1444 2003-09-18  Angus Leeming  <leeming@lyx.org>
1445
1446         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1447         remove #include "insets/insetbase.h" from cursor.h.
1448
1449 2003-09-18  Angus Leeming  <leeming@lyx.org>
1450
1451         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1452         InsetOld_code to remove #include "inset.h".
1453
1454         * iterators.C: add #include "insets/inset.h"
1455
1456 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1457
1458         * BufferView.C: remove more locking stuff that apparently doesn't
1459         do anything sensible.
1460
1461 2003-09-16  André Pönitz  <poenitz@gmx.net>
1462
1463         * paragraph.[Ch]:
1464         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1465           performance boost.
1466
1467 2003-09-16  Angus Leeming  <leeming@lyx.org>
1468
1469         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1470
1471         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1472         arg/return type.
1473
1474         * paragraph.h: remove #include "lyxfont.h". Forward declare
1475         LyXFont_size.
1476
1477 2003-09-16  Angus Leeming  <leeming@lyx.org>
1478
1479         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1480         of support/textutils.h.
1481         (isWord): move the contents of support/textutils.h's IsWordChar here.
1482
1483         * buffer.C:
1484         * lyxfind.C:
1485         * rowpainter.C:
1486         * text.C:
1487         * text2.C: add #include "paragraph.h".
1488
1489         * rowpainter.C:
1490         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1491
1492 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1493
1494         * main.C:
1495         * lyx_main.C:
1496         * lyx_cb.C:
1497         * buffer.C:
1498         * LaTeX.C: use namespace alias for lyx::support::os
1499
1500 2003-09-16  Angus Leeming  <leeming@lyx.org>
1501
1502         * bufferparams.C:
1503         * bufferview_funcs.C:
1504         * factory.C:
1505         * lyxfunc.C:
1506         * paragraph_pimpl.C:
1507         * rowpainter.C:
1508         * text.C: add #include "LColor.h".
1509
1510 2003-09-16  Angus Leeming  <leeming@lyx.org>
1511
1512         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1513         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1514         return LyXFont &.
1515         Store the FontBits::color variable as an int rather than as an
1516         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1517         file.
1518
1519         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1520         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1521         string calls together.
1522
1523         * lyxrc.C: add #include "LColor.h".
1524
1525 2003-09-15  Angus Leeming  <leeming@lyx.org>
1526
1527         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1528         a cow_ptr.
1529
1530 2003-09-15  Angus Leeming  <leeming@lyx.org>
1531
1532         * LColor.h: add an EnumLColor wrapper for LColor::color.
1533
1534         * lyxfont.[Ch] (color, setColor, realColor):
1535         * lyxtext.h, text.C (backgroundColor):
1536         pass EnumLColor args to/from the functions, rather than LColor::color
1537         ones.
1538
1539         * lyxfont.h:
1540         * lyxtext.h: forward declare EnumLColor.
1541
1542         * lyx_main.C: add #include "LColor.h".
1543
1544 2003-09-15  Angus Leeming  <leeming@lyx.org>
1545
1546         * .cvsignore: add lyx-gtk.
1547
1548 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1549
1550         * Chktex.C
1551         * LaTeX.C
1552         * LaTeXFeatures.C
1553         * ParagraphParameters.C
1554         * Spacing.C
1555         * buffer.C
1556         * bufferparams.C
1557         * bufferview_funcs.C
1558         * chset.C
1559         * counters.C
1560         * funcrequest.C
1561         * lyxfont.C
1562         * lyxgluelength.C
1563         * lyxlength.C
1564         * paragraph.C
1565         * paragraph_funcs.C
1566         * text3.C
1567         * vc-backend.C: remove usage of STRCONV
1568
1569 2003-09-15  Angus Leeming  <leeming@lyx.org>
1570
1571         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1572         explicitly define the color passed to the painter.
1573
1574 2003-09-15  Angus Leeming  <leeming@lyx.org>
1575
1576         * bufferparams.C (BufferParams): reorder member initializers to avoid
1577         compiler warning.
1578
1579 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1580
1581         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1582         * text.C (updateRowPositions): remove an unusual nop
1583
1584 2003-09-12  André Pönitz  <poenitz@gmx.net>
1585
1586         * BufferView_pimpl.C:
1587         * Bullet.C:
1588         * layout.h:
1589         * lyxfunc.C:
1590         * lyxlayout.[Ch]:
1591         * lyxtextclass.C:
1592         * rowpainter.C:
1593         * text.C:
1594         * text2.C:
1595         * Counters.[Ch]: finish the 'automatic counters' job
1596
1597 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1598
1599         * aspell.C: include <boost/assert.cpp> (compile fix)
1600
1601 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1602
1603         * boost.C (assertion_failed): use lyx::support::abort instead of
1604         assert.
1605
1606 2003-09-10  Angus Leeming  <leeming@lyx.org>
1607
1608         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1609         with their _fwd progeny.
1610
1611 2003-09-09  Angus Leeming  <leeming@lyx.org>
1612
1613         134 files throughtout the source tree: replace 'using namespace abc;'
1614         directives with the appropriate 'using abc::xyz;' declarations.
1615
1616 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1617
1618         * boost.C (emergencyCleanup): moved here from LAssert.c
1619         (assertion_failed): new function, called by BOOST_ASSERT
1620
1621         * several files: change Assert to BOOST_ASSERT
1622
1623 2003-09-09  Angus Leeming  <leeming@lyx.org>
1624
1625         * buffer.[Ch]: Add an Impl class and move Buffer's member
1626         variables into it. As a result move several header files out of
1627         buffer.h.
1628
1629         Add header files to lots of .C files all over the tree as a result.
1630
1631 2003-09-09  Angus Leeming  <leeming@lyx.org>
1632
1633         * buffer.[Ch]: make Buffer's member variables private. Add
1634         accessor functions.
1635
1636         Lots of changes all over the tree as a result.
1637
1638 2003-09-08  Angus Leeming  <leeming@lyx.org>
1639
1640         * graph.C: #include <config.h>.
1641
1642 2003-09-08  Angus Leeming  <leeming@lyx.org>
1643
1644         * BranchList.C:
1645         * BufferView.C:
1646         * BufferView_pimpl.C:
1647         * CutAndPaste.C:
1648         * DepTable.C:
1649         * LaTeX.C:
1650         * LaTeXFeatures.C:
1651         * LyXAction.C:
1652         * MenuBackend.C:
1653         * TextCache.C:
1654         * aspell.C:
1655         * buffer.C:
1656         * bufferlist.C:
1657         * changes.C:
1658         * chset.C:
1659         * converter.C:
1660         * counters.C:
1661         * debug.C:
1662         * graph.C:
1663         * ispell.C:
1664         * lyx_cb.C:
1665         * lyxfind.C:
1666         * lyxfunc.C:
1667         * lyxlex_pimpl.C:
1668         * lyxrc.C:
1669         * lyxrow.C:
1670         * paragraph.C:
1671         * rowpainter.C:
1672         * texrow.C:
1673         * text.C:
1674         * text2.C:
1675         * toc.C: remove redundant using directives.
1676
1677 2003-09-07  Angus Leeming  <leeming@lyx.org>
1678
1679         * LaTeXFeatures.h: remove #include "support/types.h".
1680         * ToolbarBackend.h: remove #include <algorithm>.
1681         * changes.h: remove #include <ctime>.
1682         * debug.h: remove #include <iosfwd>.
1683         * graph.h: remove #include "support/std_string.h".
1684         * lyx_main.h: remove #include <csignal>.
1685         * lyxlex_pimpl.h: remove #include <fstream>.
1686         * sgml.h: remove #include <algorithm>, <utility>.
1687         * toc.h: remove #include "support/std_ostream.h".
1688         Add #include <iosfwd>.
1689
1690 2003-09-07  Angus Leeming  <leeming@lyx.org>
1691
1692         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1693
1694         * converter.h: forward declare LatexRunParams.
1695         * encoding.h: remove #include "lyxrc.h".
1696         * lyxtext.h: remove #include "LColor.h".
1697         * lyxtextclass.h: remove #include "support/types.h".
1698         * trans.h: remove #include "tex-accent.h".
1699         * trans_mgr.h: remove #include "tex-accent.h".
1700         * insets/inset.h: remove #include "support/types.h", <vector>.
1701         * insets/insetcollapsable.h: remove #include "LColor.h".
1702         * insets/insetinclude.h: remove #include "dimension.h".
1703         * insets/insetlatexaccent.h: remove #include "dimension.h".
1704         * insets/insetoptarg.h:: remove #include "insettext.h".
1705         * insets/insettext.h: remove #include "dimension.h",
1706         <boost/shared_ptr.hpp>
1707
1708         * insets/renderers.h: add #include "dimension.h".
1709         * insets/updatableinset.h: add #include "support/types.h".
1710
1711         * many .C files: Associated changes.
1712
1713 2003-09-06  Angus Leeming  <leeming@lyx.org>
1714
1715         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1716         one, inside testInvariant.
1717
1718         * PrinterParams.C: new file.
1719         * PrinterParams.[Ch]: move the function bodies out of line.
1720
1721 2003-09-06  Angus Leeming  <leeming@lyx.org>
1722
1723         * ParagraphParameters.h: forward declare ParameterStruct rather than
1724         including its header file.
1725         (depth): moved out-of-line.
1726
1727 2003-09-06  Angus Leeming  <leeming@lyx.org>
1728
1729         * BufferView_pimpl.h:
1730         * kbmap.h:
1731         * kbsequence.h:
1732         * lyxfunc.h: forward declare LyXKeySym rather than
1733         #include "frontends/LyXKeySym.h".
1734
1735         * BufferView_pimpl.C:
1736         * kbmap.C:
1737         * kbsequence.C:
1738         * lyxfunc.C: associated changes.
1739
1740 2003-09-06  Angus Leeming  <leeming@lyx.org>
1741
1742         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1743         As a result, can remove the #include "insets/inset.h" from BufferView.h
1744
1745 2003-09-06  Angus Leeming  <leeming@lyx.org>
1746
1747         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1748         As a result, can remove the #include "insets/inset.h" from BufferView.h
1749
1750 2003-09-06  Angus Leeming  <leeming@lyx.org>
1751
1752         * buffer_funcs.C:
1753         * buffer.h:
1754         * bufferlist.C:
1755         * BufferView.C:
1756         * bufferview_funcs.C:
1757         * BufferView_pimpl.C:
1758         * CutAndPaste.C:
1759         * lyx_cb.C:
1760         * lyxfunc.C:
1761         * paragraph.h:
1762         * ParagraphParameters.C:
1763         * tabular.C:
1764         * text3.C:
1765         * toc.C:
1766         * undo_funcs.C:
1767         * frontends/controllers/ControlDocument.C:
1768         * insets/insetcaption.C: rearrange the #includes into some sort of
1769         coherent order.
1770
1771         * buffer.h: remove #includes ErrorList.h, undo.h
1772
1773 2003-09-06  Angus Leeming  <leeming@lyx.org>
1774
1775         * support/types.h: add a 'depth_type' typedef, used to store the
1776         nesting depth of a paragraph.
1777
1778         * paragraph.h:
1779         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1780         defining explicitly.
1781
1782         * buffer.h:
1783         * paragraph_funcs.h:
1784         * ParagraphParameters.h:
1785         * sgml.h: use lyx::depth_type rather than Paragraph or
1786         ParameterStruct's depth_type.
1787
1788         * buffer.h
1789         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1790
1791         * BufferView.C:
1792         * BufferView_pimpl.C:
1793         * CutAndPaste.C:
1794         * ParagraphParameters.C:
1795         * buffer_funcs.C:
1796         * bufferlist.C:
1797         * bufferview_funcs.C:
1798         * lyx_cb.C:
1799         * lyxfunc.C:
1800         * tabular.C:
1801         * text3.C:
1802         * toc.C:
1803         * undo_funcs.C:
1804         * frontends/LyXView.C:
1805         * frontends/controllers/ControlDocument.C:
1806         * frontends/controllers/ControlErrorList.C:
1807         * insets/insetbibitem.C:
1808         * insets/insetbranch.C:
1809         * insets/insetcaption.C:
1810         * insets/insetcollapsable.C:
1811         * insets/insetenv.C:
1812         * insets/insetert.C:
1813         * insets/insetfloat.C:
1814         * insets/insetfoot.C:
1815         * insets/insetfootlike.C:
1816         * insets/insetnewline.C:
1817         * insets/insetquotes.C:
1818         * insets/insettabular.C:
1819         * insets/insettext.C:
1820         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1821
1822         * frontends/controllers/ControlChanges.C: #include "changes.h".
1823
1824 2003-09-06  Angus Leeming  <leeming@lyx.org>
1825
1826         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1827         than #including paragraph.h.
1828
1829         * ParagraphList.h:
1830         * RowList.h: deleted. Superfluous.
1831
1832         * CutAndPaste.h:
1833         * iterators.h:
1834         * lyxcursor.h:
1835         * lyxtext.h:
1836         * text_funcs.h:
1837         * undo.h:
1838         * undo_funcs.h:
1839         * insets/inset.h:
1840         * insets/insettext.h: use ParagraphList_fwd.h rather than
1841         ParagraphList.h.
1842
1843         * paragraph.h: don't forward declare ParagraphList.
1844
1845         * buffer.h:
1846         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1847         rather than ParagraphList.h. paragraph.h is still needed for the
1848         Paragraph::depth_type parameters.
1849
1850         * textcursor.h: enable it to compile stand-alone in light of the
1851         above changes.
1852
1853         * bufferview_funcs.C:
1854         * iterators.C:
1855         * lyxfunc.C:
1856         * lyxrow_funcs.C:
1857         * paragraph.C:
1858         * rowpainter.C:
1859         * text.C:
1860         * text2.C:
1861         * text3.C:
1862         * text_funcs.C:
1863         * textcursor.C:
1864         * undo.C:
1865         * frontends/controllers/ControlParagraph.C:
1866         * frontends/controllers/ControlTabular.C:
1867         * insets/insetmarginal.C:
1868         * insets/insetminipage.C:
1869         * insets/insetnote.C:
1870         * insets/insetoptarg.C: add header files needed to compile again.
1871
1872 2003-09-06  Angus Leeming  <leeming@lyx.org>
1873
1874         * RowList_fwd.h: new file, forward-declaring Row rather than
1875         #including lyxrow.h.
1876
1877         * lyxrow_funcs.h:
1878         * lyxtext.h:
1879         * paragraph.h:
1880         * insets/insettext.h: use it instead of RowList.h
1881
1882         * bufferview_funcs.C:
1883         * lyxfunc.C:
1884         * lyxrow_funcs.C:
1885         * paragraph.C:
1886         * rowpainter.C:
1887         * text.C:
1888         * text2.C:
1889         * text3.C: #include "RowList.h".
1890
1891 2003-09-05  Angus Leeming  <leeming@lyx.org>
1892
1893         * factory.C (createInset):
1894         * vspace.C (c-tor): replace sscanf call with an istringstream.
1895         * ispell.C: re-add missing HP/UX headers.
1896         * lyxserver.C: re-add missing  os2 headers.
1897
1898 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1899
1900         * BranchList.C:
1901         * graph.C:
1902         * ispell.C:
1903         * lastfiles.C:
1904         * lyx_cb.C:
1905         * lyxserver.C:
1906         * texrow.C:
1907         * text3.C: re-add missing system headers, needed for 2.95.2.
1908
1909 2003-09-05  Angus Leeming  <leeming@lyx.org>
1910
1911         Changes most place everywhere due to the removal of using directives
1912         from support/std_sstream.h.
1913
1914 2003-09-05  Angus Leeming  <leeming@lyx.org>
1915
1916         Replace LString.h with support/std_string.h,
1917         Lsstream.h with support/std_sstream.h,
1918         support/LIstream.h with support/std_istream.h,
1919         support/LOstream.h with support/std_ostream.h.
1920
1921         Changes resulting throughout the tree.
1922
1923 2003-09-05  Angus Leeming  <leeming@lyx.org>
1924
1925         * sgml.h: ensure that the header file can be compiled stand-alone.
1926         * *.C: strip out redundant #includes. (320 in total.)
1927
1928 2003-09-04  Angus Leeming  <leeming@lyx.org>
1929
1930         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1931         here (from getPackages).
1932
1933         * debug.[Ch]: add a new EXTERNAL tag.
1934
1935 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1936
1937         * text2.C (cursorEnd): simplify
1938         (setCursor): adjust
1939         (getColumnNearX): adjust
1940
1941         * text.C (computeBidiTables): adjust
1942         (fill): adjust
1943
1944         * rowpainter.C (paintChars): adjust
1945         (paintSelection): adjust
1946         (paintChangeBar): adjust
1947         (paintText): adjust
1948
1949         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1950         lastPos instead.
1951         (numberOfSeparators): adjust
1952
1953 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1954
1955         * LyXAction.C:
1956         * box.[Ch]:
1957         * lfuns.h:
1958         * lyxfunc.C:
1959         * text3.C: Restricts the mouse click functionality
1960         of insets like bibtex, include, toc and floatlist to the visible
1961         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1962         up the dialogs. Cursor has to be in front of the inset (i.e.
1963         start of row) for this to function.
1964
1965 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1966
1967         * bufferview_funcs.C (currentState): output row information
1968
1969 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1970
1971         * bufferview_funcs.C (currentState): output paragraph position
1972
1973 2003-09-04  Angus Leeming  <leeming@lyx.org>
1974
1975         * FloatList.h: move out #include "Floating.h".
1976         * LaTeX.h: move out #include "DepTable.h".
1977         * LyXAction.h: move out #include "funcrequest.h".
1978         * buffer.h: move out #include "author.h", "iterators.h".
1979         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1980         * lyx_main.h: move out #include "errorlist.h".
1981         * lyxfunc.h: move out #include "FuncStatus.h".
1982         * lyxtext: move out #include "lyxcursor.h".
1983         * paragraph_pimpl.h: move out #include "counters.h".
1984
1985 2003-09-03  Angus Leeming  <leeming@lyx.org>
1986
1987         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1988         preamble_snippets list, enabling us to add snippets to the preamble
1989         only if the snippet was not there already.
1990
1991 2003-09-04  Angus Leeming  <leeming@lyx.org>
1992
1993         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1994
1995 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1996
1997         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1998         update
1999
2000 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2001
2002         * BranchList.C: point fix, earlier forgotten
2003
2004 2003-09-02  Angus Leeming  <leeming@lyx.org>
2005
2006         * box.C (contains): renamed from 'contained' after a fantastic
2007         amount of hot air.
2008
2009 2003-09-02  John Levon  <levon@movementarian.org>
2010
2011         * BufferView.C:
2012         * lyxcursor.h:
2013         * lyxcursor.C:
2014         * lyxfunc.C:
2015         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2016
2017 2003-09-02  John Levon  <levon@movementarian.org>
2018
2019         * text2.C: simplification of cursorEnd(), including partial
2020         fix for bug 1376
2021
2022 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2023
2024         * buffer.C (readFile): add a space
2025
2026 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2027
2028         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2029
2030 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2031
2032         * buffer.C (readFile): new function, take a filename and a
2033         ParagraphList::iterator
2034         (readFile): adjust
2035         (readFile): adjust, make it private. don't use setStream, make
2036         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2037         always contain the filename.
2038
2039         * BufferView.C (insertLyXFile): simplify and make it work for
2040         gzipped files.
2041
2042 2003-08-30  John Levon  <levon@movementarian.org>
2043
2044         * Makefile.am: fix dist (from Kayvan)
2045
2046 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2047
2048         * most files: change to use const Buffer refs
2049
2050 2003-08-27  André Pönitz  <poenitz@gmx.net>
2051
2052         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2053         on top of ownerPar().
2054
2055 2003-08-27  John Levon  <levon@movementarian.org>
2056
2057         * funcrequest.C: properly initialise POD members
2058
2059 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2060
2061         * lyxtext.h (top_y): move top_y from here
2062         * text.C:
2063         * text2.C:
2064         * text3.C:
2065         * BufferView.[Ch]:
2066         * BufferView_pimpl.[Ch]: to here
2067         * frontends/screen.C:
2068         * insets/insettabular.C:
2069         * insets/insettext.C: adjust
2070         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2071
2072 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2073
2074         * BufferView.[Ch]:
2075         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2076
2077 2003-08-26  André Pönitz  <poenitz@gmx.net>
2078
2079         * paragraph_func.[Ch] (outerPar): new function
2080
2081         * paragraph.C:
2082         * paragraph_funcs.C:
2083         * paragraph_funcs.h:
2084         * paragraph_pimpl.C:
2085         * text2.C: remove Inset::par_owner
2086
2087 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2088
2089         * lyxrow_funcs.C:
2090         * lyxtext.h:
2091         * text.C:
2092         * text2.C: eliminates the needFullRow/display() stuff
2093         altogether, putting the logic in metrics/draw in the insets.
2094
2095 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2096
2097         * text2.C (redoParagraphInternal, redoParagraphs):
2098         * text.C (redoParagraph): add a call to updateRowPositions at the
2099         end of each 'metrics-like' call. Remove all others.
2100         (getRow): remove the 'y-computing' version.
2101         (getRowNearY): do not compute nor return the real y. Solve the
2102         'y < 0' problem and simplify.
2103
2104 2003-08-22  Angus Leeming  <leeming@lyx.org>
2105
2106         * *.[Ch]: clean-up of licence and author blurbs.
2107         Also move config.h out of a few .h files and into a few .C files.
2108
2109 2003-08-22  André Pönitz  <poenitz@gmx.net>
2110
2111         * lyxrow.[Ch]: add x_ and *fill_ members
2112
2113         * lyxtext.h:
2114         * text.C:
2115         * rowpainter.C:
2116         * text2.C: adjust/remove prepareToPrint() calls
2117
2118 2003-08-22  André Pönitz  <poenitz@gmx.net>
2119
2120         * lyxrow.[Ch]: add  end_ member
2121
2122         * lyxrow_funcs.C: use LyXRow::end_
2123
2124         * lyxtext.h (singleWidth): add LyXFont parameter
2125
2126         * rowpainter.C:
2127         * text2.C: adjust LyXText::singleWidth() calls
2128
2129         * text.C (redoParagraph): simplify row breaking logic
2130
2131
2132 2003-08-19  André Pönitz  <poenitz@gmx.net>
2133
2134         * funcrequest.C: initialize button_ member
2135
2136         * text3.C:
2137         * rowpainter.[Ch]: interface consolidation
2138
2139 2003-08-18  André Pönitz  <poenitz@gmx.net>
2140
2141         * BufferView.C:
2142         * BufferView_pimpl.C:
2143         * lyxfind.C:
2144         * paragraph_funcs.C:
2145         * rowpainter.C:
2146         * text3.C: remove LyXScreen::draw() and fitCursor calls
2147
2148         * BranchList.h: remove spurious semicolons
2149
2150         * MenuBackend.C: fix branchlist related crash
2151
2152 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2153
2154         * BranchList.[Ch]:
2155         * InsetList.[Ch]:
2156         * LColor.[Ch]:
2157         * LyXAction.C:
2158         * Makefile.am:
2159         * MenuBackend.[Ch]:
2160         * bufferparams.[Ch]:
2161         * factory.C:
2162         * lfuns.h:
2163         * lyxfunc.C:
2164         * text3.C: implements the 'branch inset'
2165         idea. This allows the output of various versions of a document
2166         from a single source version, selectively outputing or suppressing
2167         output of parts of the text.
2168         This implementation contains a 'branch list editor' in a separate
2169         tab of the document settings dialog. Branches are user definable
2170         and have a "display colour" to distinguish them on-screen.
2171
2172         ColorHandler was somewhat cleaned up.
2173         (1) make possible a dynamically growing LColor list by allowing
2174         the graphic context cache to grow along (vector);
2175         (2) eliminate an IMHO unnecessary step in colour allocation.
2176
2177 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2178
2179         * BufferView_pimpl.C: compile fix
2180
2181 2003-08-15  André Pönitz  <poenitz@gmx.net>
2182
2183         * rowpainter.C: remove extra metrics calls
2184
2185         * lyxtext.h: merge the two constructors into a single one,
2186           pass reference to owner's par list
2187
2188         * BufferView_pimpl.C:
2189         * text.C:
2190         * text2.C: adjust
2191
2192 2003-08-15  André Pönitz  <poenitz@gmx.net>
2193
2194         * lyxrow_funcs.[Ch]:
2195         * lyxtext.h:
2196         * paragraph.h:
2197         * paragraph_funcs.C:
2198         * rowpainter.C:
2199         * text.C:
2200         * text2.C:
2201         * text3.C:
2202         * text_funcs.C: split LyXText::rowlist_ into individual
2203         Paragraph::rows_ chunks
2204
2205         * BufferView.[Ch]:
2206         * BufferView_pimpl.[Ch]:
2207         * lyxfind.C:
2208         * lyxtext.h:
2209         * text3.C: remove toggleSelection()
2210
2211 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2212
2213         * bufferlist.C: beautify two alerts (shorter text of buttons)
2214         * buffer.C: Remove redundant ' ' from message
2215         * tabular.h:
2216         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2217         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2218         rename VALIGN_CENTER to VALIGN_MIDDLE
2219
2220 2003-08-11  André Pönitz  <poenitz@gmx.net>
2221
2222         * lyxtext.h (getPar):
2223         * text.C: new function
2224
2225 2003-08-11  André Pönitz  <poenitz@gmx.net>
2226
2227         * Makefile.am:
2228         * tracer.[Ch]: remove unneeded files
2229
2230         * InsetList.[Ch]: remove resizeInsetsLyXText()
2231
2232         * lyxtext.h:
2233         * text.C:
2234         * text2.C:
2235         * text3.C: merge insertParagraphs() and appendParagraph()
2236         remove breakAgain(), update()
2237
2238         * BufferView_pimpl.[Ch]:
2239         * bufferview_funcs.[Ch]:
2240         * lyxfunc.C:
2241         * paragraph.[Ch]:
2242         * rowpainter.C:
2243         * tabular.C: adjust after text & InsetList changes.
2244
2245 2003-08-08  André Pönitz  <poenitz@gmx.net>
2246
2247         * text.C (insertChar, backspace): replace rowlist fiddling
2248         with rebreak of full par
2249
2250         * lyxtext.h:
2251         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2252         checkParagraph, updateInset): removed
2253
2254 2003-08-07  André Pönitz  <poenitz@gmx.net>
2255
2256         * paragraph.C:
2257         * text3.C: merge some LFUN handlers, remove dead code
2258
2259 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2260
2261         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2262
2263 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2264
2265         * text2.C (DEPM): fix part of bug 1255 and 1256
2266
2267 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2268
2269         * BufferView_pimpl.C (workAreaDispatch): change to use
2270         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2271         that are no mouse related.
2272
2273 2003-08-05  André Pönitz  <poenitz@gmx.net>
2274
2275         * BufferView.[Ch]:
2276         * BufferView_pimpl.[Ch]:
2277         * bufferview_funcs.C:
2278         * text2.C:
2279         * text3.C: rip out "deep update"
2280
2281         * textcursor.[Ch] (last_sel_cursor): remove unused member
2282
2283 2003-08-04  André Pönitz  <poenitz@gmx.net>
2284
2285         * BufferView.[Ch]:
2286         * BufferView_pimpl.[Ch]:
2287         * ParagraphParameters.C:
2288         * bufferview_funcs.C:
2289         * lyx_cb.C:
2290         * lyxfind.C:
2291         * lyxfunc.C:
2292         * text.C:
2293         * text2.C:
2294         * text3.C: replace "complicated" BufferView::update(...) calls with
2295         simpler ones.
2296
2297         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2298
2299 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2300
2301         * Makefile.am (lyx_SOURCES): add paper.h
2302
2303 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2304
2305         * Makefile.am: move things around so that both lyx-qt and
2306         lyx-xforms can be built (according to --with-frontend). Then lyx
2307         is a symbolic link to lyx-[firstfrontend]
2308
2309 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2310
2311         * Always use std::endl with lyxerr
2312
2313 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2314
2315         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2316
2317 2003-08-01  André Pönitz  <poenitz@gmx.net>
2318
2319         * BufferView.[Ch]:
2320         * BufferView_pimpl.[Ch]:
2321         * lyxfunc.C:
2322         * text3.C: merge BufferView::repaint() and BufferView::update()
2323
2324 2003-08-01  José Matos  <jamatos@lyx.org>
2325
2326         * buffer.[Ch]: file_format is no longer a buffer data element.
2327
2328 2003-08-01  André Pönitz  <poenitz@gmx.net>
2329
2330         * BufferView.C:
2331         * lyxtext.h:
2332         * text.C:
2333         * text2.C: make redoParagraph more independent of current cursor
2334
2335         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2336         * text.C:
2337         * text2.C: remove unneeded members
2338
2339 2003-07-30  André Pönitz  <poenitz@gmx.net>
2340
2341         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2342
2343         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2344           create a single function...
2345
2346         * paragraph_funcs.C (moveItem): ... here.
2347
2348         * text.C:
2349           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2350
2351 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2352
2353         * LColor.[Ch]: Add comment and greyedout logical colors.
2354
2355 2003-07-30  André Pönitz  <poenitz@gmx.net>
2356
2357         * tabular.C: don't use Assert too heavily. This crashes where it
2358           shouldn't
2359
2360 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2361
2362         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2363         is disabled (bug 1232)
2364
2365 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2366
2367         * factory.C: limited 'arg' scope
2368
2369 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2370
2371         * factory.C: fixed Note submenu issues
2372
2373 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2374
2375         * factory.C: submenu for Note/Comment/Greyedout
2376
2377 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2378
2379         * lyx_main.C (LyX):
2380         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2381
2382 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2383
2384         * LaTeXFeatures.C:
2385         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2386         greyedout. Patch provided by Jürgen Spitzmüller.
2387
2388 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2389
2390         * kbmap.C (read): fix error message when reading bind files
2391
2392 2003-07-29  Angus Leeming  <leeming@lyx.org>
2393
2394         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2395         certainly does not do what it purports to do. I am doing it, and
2396         us, a favour by killing it.
2397
2398 2003-07-28  José Matos  <jamatos@lyx.org>
2399
2400         * buffer.C (readBody, do_writeFile):
2401         * paragraph.C(readParagraph): \end_document replaces \the_end.
2402
2403 2003-07-29  André Pönitz  <poenitz@gmx.net>
2404
2405         * BufferView.[Ch]:
2406         * BufferView_pimpl.[Ch]:
2407         * lyxfunc.C:
2408         * text2.C:
2409         * text3.C:
2410         * textcursor.[Ch]: remove toggleToggle & Co
2411
2412 2003-07-28  José Matos  <jamatos@fep.up.pt>
2413
2414         * buffer.C (readParagraph):
2415         * params_func (readParToken, readParagraph):
2416         * paragraph.C (write): \layout -> \begin_layout.
2417
2418 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2419
2420         * lyxlex_pimpl.C (setFile): clean up slightly.
2421
2422         * bufferparams.h: add compressed var
2423
2424         * buffer_funcs.C (readFile): adjust for LyXLex change
2425         (newFile): ditto + simplify
2426
2427         * buffer.C (writeFile): handle writing of compressed files
2428
2429         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2430         Check if the file is compressed and set a bufferparm if so.
2431
2432         * Makefile.am (lyx_LDADD): remove explicit -lz
2433
2434 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2435
2436         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2437         makeDocBookFile): put the real LyX version in the first line of
2438         the file
2439
2440         * version.h:
2441         * version.C.in: remove lyx_docversion
2442
2443         * tabular.C (write_attribute): add a template-based version to
2444         write enums properly
2445
2446 2003-07-28  André Pönitz  <poenitz@gmx.net>
2447
2448         * lyxtext.h:
2449         * text.C:
2450         * text2.C:
2451         * text3.C: use doubles again for x-coordinates. They are needed.
2452
2453 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2454
2455         * messages.C (getLocaleDir): use lyx_localedir()
2456
2457         * lyxlex_pimpl.C (setFile): compress stuff
2458
2459         * buffer.C (writeFile): add some compression stuff
2460         (do_writeFile): new func, dont call expliti close... will this
2461         breake anything?
2462
2463         * Makefile.am (lyx_LDADD): add -lz
2464
2465 2003-07-28  José Matos  <jamatos@fep.up.pt>
2466
2467         * buffer.C: increment file format.
2468         * paragraph_funcs (readParagraph, readParToken):
2469         * paragraph.C (readParagraph): add \end_layout.
2470
2471 2003-07-27  Angus Leeming  <leeming@lyx.org>
2472
2473         * Makefile.am: remove special casing for configure-time setting of
2474         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2475
2476         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2477         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2478
2479 2003-07-26  André Pönitz  <poenitz@gmx.net>
2480
2481         * paragraph_func.[Ch]:
2482         * paragraph.C (realizeFont): inline it whereever it is used
2483
2484         * rowpainter.C:
2485         * text.C:
2486         * text2.C:
2487         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2488
2489
2490 2003-07-26  André Pönitz  <poenitz@gmx.net>
2491
2492         *       lyxtext.h:
2493         * text.C:
2494         * text2.C: get rid of LyXText::need_break_row
2495
2496 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2497
2498         * toc.[Ch]: put namespace toc inside namespace lyx
2499
2500         * MenuBackend.C (expandToc2): adjust for lyx::toc
2501         (expandToc): ditto
2502
2503         * lyxfunc.C (dispatch): adjust for lyx::find
2504
2505         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2506         lyx::find instead. Reorganize a bit.
2507         (LyXReplace): rename to replace
2508         (LyXFind): rename to find
2509
2510         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2511         (dispatch): ditto
2512
2513 2003-07-26  André Pönitz  <poenitz@gmx.net>
2514
2515         * text.C (setHeightOfRow): restrict scope of temporary variable
2516
2517         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2518           code (never has been used?)
2519
2520 2003-07-27  Asger Alstrup  <alstrup@local>
2521
2522         * text.C (fill): Optimise algorithm to exploit that we can reuse
2523         the LyXFont for many characters.
2524         (setHeightOfRow): Same thing.
2525         (rowBreakPoint): Same thing.
2526
2527 2003-07-26  Asger Alstrup  <alstrup@local>
2528
2529         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2530
2531         * text.C (singleWidth): Spurious font copying in hot-spot
2532         singleWidth avoided. Reorder tests for arabic for efficiency.
2533
2534         * text.C (fill): handle empty paragraphs better.
2535
2536 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2537
2538         * ispell.C:
2539         * encoding.h: add includes
2540
2541         * lyxrc.C: remove reading of bind files
2542
2543         * lyx_main.C (init): setup bindings and menus only if we have a
2544         gui.
2545
2546         * kbmap.C (read): new method. Do the actual reading of bind
2547         files.
2548
2549         * converter.C (dvipdfm_options):
2550         * bufferparams.C:
2551         * lyxrc.C (read):
2552         (output): adapt PAPER_* enums.
2553
2554         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2555
2556         * bufferparams.h: remove paper-related enums from there
2557
2558         * paper.h: New file. A trivial header file to hold paper-related
2559         enums. It should later expand to contain many paper-related
2560         horrors access.
2561
2562         * lyxrc.C: declare extern displayTranslator
2563
2564 2003-07-27  José Matos  <jamatos@fep.up.pt>
2565
2566         * tabular.[Ch] (linuxdoc): add support for tables and figures
2567         (linuxdoc).
2568
2569 2003-07-27  José Matos  <jamatos@fep.up.pt>
2570
2571         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2572         consistency in both functions.
2573         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2574
2575 2003-07-26  Asger Alstrup  <alstrup@local>
2576
2577         * rowpainter.C (paintRows): Change algorithm to work directly on
2578         the insets rather than asking every character in the document
2579         whether its an inset.
2580
2581 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2582
2583         * buffer.C (openFileWrite): factorize some code
2584
2585 2003-07-26  Angus Leeming  <leeming@lyx.org>
2586
2587         * lyx_cb.C:
2588         * lyx_main.[Ch]: replace occurances of system_tempdir with
2589         os::getTmpDir().
2590
2591 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2592
2593         * rename Inset to InsetOld
2594
2595 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2596
2597         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2598         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2599         which I think is a bit clearer. EDIT is gone, since it was
2600         premature optimisation, and broken for mathed anyway.
2601         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2602         with cursor positioning in insets as well (math insets still do not
2603         work, but that's a different story anyway.) It mysteriously
2604         crashes sometimes with undo in the first paragraph, but I'm fairly
2605         confident that this is a compiler bug.
2606
2607 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2608
2609         * paragraph.C (Paragraph): adjust for new clone return type
2610         (operator==): ditto
2611         (copyIntoMinibuffer): ditto
2612
2613 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2614
2615         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2616         by not having a special case, and always doing a full rebreak of
2617         the document after undo.
2618
2619 2003-07-23  Angus Leeming  <leeming@lyx.org>
2620
2621         * factory.C (createInset): InsetExternal::setParams now takes a
2622         Buffer const * arg.
2623
2624 2003-07-23  Angus Leeming  <leeming@lyx.org>
2625
2626         * factory.C (createInset): changed interface to the external and
2627         graphics mailers' string2params functions.
2628
2629 2003-07-23  Angus Leeming  <leeming@lyx.org>
2630
2631         * factory.C (createInset): pass a
2632         Buffer const * parameter to InsetExternalMailer's string2params.
2633
2634 2003-07-22  John Levon  <levon@movementarian.org>
2635
2636         * Thesaurus.h: include the right aiksaurus header
2637
2638 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2639
2640         * MenuBackend.C (expand): check menu shortcuts unconditionally
2641
2642 2003-07-21  Angus Leeming  <leeming@lyx.org>
2643
2644         * factory.C (createInset): pass a
2645         buffer_path parameter to InsetGraphicsMailer's string2params.
2646
2647 2003-07-21  Angus Leeming  <leeming@lyx.org>
2648
2649         * BufferView_pimpl.C (buffer):
2650         * buffer.C (d-tor):
2651         * lyx_main.C (LyX):
2652         * lyxfunc.C (dispatch):
2653         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2654         rather than the grfx shortcut.
2655
2656 2003-07-21  André Pönitz  <poenitz@gmx.net>
2657
2658         * rowpainter.C: remove unused variables
2659
2660         * tabular_funcs.C:
2661         * tabular_funcs.h: move to tabular.C
2662         * Makefile.am: adjust
2663
2664         * tabular.[Ch]: basic optical cleaning
2665
2666         * author.h: pass references, not values
2667
2668 2003-07-18  André Pönitz  <poenitz@gmx.net>
2669
2670         * lyxtext.h:
2671         * metricsinfo.C:
2672         * metricsinfo.h:
2673         * rowpainter.C:
2674         * text.C:
2675         * text2.C:
2676         * text3.C: two-phase drawing for InsetText and InsetTabular
2677         some float -> int changes.
2678
2679 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2680
2681         * lyx_main.C: fix the fix
2682
2683 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2684
2685         * lyx_main.C: fix a crash in batch mode if no files specified
2686         * converter.C: ws
2687
2688 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2689
2690         * format.[Ch] (papersize): moved to BufferParams
2691         * converter.[Ch] (dvips_options): moved to BufferParams
2692         (dvipdfm_options): moved to anon namespace
2693         * bufferparams.[Ch]: added above functions.
2694
2695 2003-07-17  André Pönitz  <poenitz@gmx.net>
2696
2697         * lyxtext.h:
2698         * rowpainter.C:
2699         * text2.C: don't call inset->update() anymore
2700
2701         * metricsinfo.[Ch]: add convenience constructor
2702
2703 2003-07-16  André Pönitz  <poenitz@gmx.net>
2704
2705         * lyxcursor.[Ch]:
2706         * lyxfunc.[Ch]:
2707         * text.C:
2708         * text2.C: replace the LyXCursor::irow_ member with
2709          on-demand computation of the value
2710
2711 2003-07-16  John Levon  <levon@movementarian.org>
2712
2713         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2714
2715 2003-07-15  André Pönitz  <poenitz@gmx.net>
2716
2717         * text.C:
2718         * text2.C: remove no more needed refresh_row
2719
2720 2003-07-15  André Pönitz  <poenitz@gmx.net>
2721
2722         * lyxtext.h:
2723         * rowpainter.C:
2724         * text2.C:
2725         * text3.C: refresh_status tristate -> need_update bool
2726
2727 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2728
2729         * lyxtext.h (init): remove reinit argument (act as if always true)
2730         * text2.C: adjust to that
2731
2732 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2733
2734         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2735         * text3.C: use it to delete selections in some cases
2736         (bugs 441, 673, 702, 954).
2737
2738 2003-07-14  André Pönitz  <poenitz@gmx.net>
2739
2740         * rowpainter.[Ch]: reduce interface
2741
2742 2003-07-14  André Pönitz  <poenitz@gmx.net>
2743
2744         * BufferView_pimpl.C:
2745         * text2.C: adjust after removing unused BufferView * argument
2746
2747 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2748
2749         * text2.C (init): fix a crash fired on resize
2750
2751 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2752
2753         * buffer.[Ch]: added new closing signal
2754         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2755         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2756         BufferView::Pimpl via the closing the signal
2757
2758 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2759
2760         * buffer.[Ch]: take out all bv-related from buffer
2761         * BufferView.C:
2762         * BufferView_pimpl.[Ch]: connect to new signals
2763         * CutAndPaste.C: removed useless asserts
2764         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2765         * lyxvc.[Ch]:
2766         * vc-backend.[Ch]:
2767         * lyxfunc.C: moved view-related funciontality from vc here
2768         * paragraph.C: removed outdated comments
2769         * text.C: ws
2770
2771 2003-07-10  André Pönitz  <poenitz@gmx.net>
2772
2773         * BufferView_pimpl.C:
2774         * tabular.h:
2775         * tabular_funcs.C:
2776         * text.C:
2777         * text2.C: remove InsetText::InnerCache, clean up consequences
2778
2779 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2780
2781         * ispell.C: fix two typos in error messages
2782
2783 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2784
2785         * Extend Note inset to other forms of annotation like Comment
2786         and Greyedout. Right button click gives dialog.
2787
2788         Files modified or added (+):
2789
2790         * insetnote.[Ch]
2791         * FormNote.[Ch]      +
2792         * ControlNote.[Ch]   +
2793         * form_note.fd       +
2794         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2795         frontends/controllers
2796         * xforms/Dialogs.C
2797         * factory.C
2798
2799 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2800
2801         * aspell.C: add missing namespace lyx::support
2802
2803 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2804
2805         * BufferView.[Ch] (newFile): Add
2806         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2807         * LaTeX.[Ch] (message): added this signal and use it
2808         * buffer.[Ch] (busy, message): added these signals and use them
2809         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2810         * converter.C:
2811         * exporter.C:
2812         * format.C:
2813         * importer.C: use buffer signals instead of direct bv calling
2814         * lyx_cb.[Ch] (ShowMessage): removed
2815         * lyx_main.C:
2816         * lyxfunc.C:
2817         * paragraph_funcs.C:
2818         * text2.C: use buffer signals
2819
2820 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2821
2822         * introduce namespace lyx::graphics
2823
2824 2003-07-02  André Pönitz  <poenitz@gmx.net>
2825
2826         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2827
2828 2003-07-01  André Pönitz  <poenitz@gmx.net>
2829
2830         * text.C:
2831         * text2.C:
2832         * text3.C:
2833         * text_funcs.[Ch]:
2834         * textcursor.h:
2835         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2836           text*.C to text_func.C
2837
2838 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2839
2840         * introduce namespace lyx::support
2841
2842 2003-06-30  André Pönitz  <poenitz@gmx.net>
2843
2844         * Chktex.C:
2845         * funcrequest.C:
2846         * lyxtext.h:
2847         * text.C: re-enable --with-included-string
2848
2849 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2850
2851         * textcursor.C: add <config.h>
2852
2853         * text.C (getWord): remove const from word_location arg
2854
2855         * lyxvc.C (getLogFile): fix const type order
2856
2857         * lyxtext.h: remove const from word_location arg, add arg name
2858
2859         * lyxlayout.h: currect type on labeltype.
2860
2861         * importer.C: correct \file
2862
2863         * converter.C (intToFormat): use std:: on ret val, ws changes
2864
2865         * bufferlist.h: correct \file
2866
2867         * buffer.C (makeLinuxDocFile): fix const type order
2868         (makeDocBookFile): ditto
2869         (fillWithBibKeys): use std:: on stdlib args.
2870
2871         * CutAndPaste.C: fix authors.
2872         (availableSelections): use std:: on return vector
2873
2874 2003-06-27  André Pönitz  <poenitz@gmx.net>
2875
2876         * BufferView_pimpl.C:
2877         * bufferview_funcs.C:
2878         * lyxcursor.C:
2879         * lyxcursor.h:
2880         * lyxfunc.C:
2881         * lyxtext.h:
2882         * rowpainter.C:
2883         * text.C:
2884         * text2.C:
2885         * text3.C: remove LyXCursor::row_ member
2886
2887         * lyxtext.h:
2888         * text.C: rename fullRebreak() to partialRebreak() and implement
2889           a fullRebreak() that really bereks fully
2890
2891         * textcursor.h: new struct for cursor-related data
2892
2893 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2894
2895         * lyx_main.C (LyX): get full path of document loaded on the
2896         command line
2897
2898 2003-06-26  André Pönitz  <poenitz@gmx.net>
2899
2900         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2901           remove unused/broken operator>,<,>=.
2902
2903         *       text.C: remove only use of broken operator<= in an Assert().
2904
2905 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2906
2907         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2908         moved errorlist_.clear to showErrorList
2909
2910 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2911
2912         * converter.C (scanLog, runLaTeX):
2913         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2914         move the bv->showErrorList call to the callers
2915         * lyxfunc.C: i.e. here...
2916         * text2.C: and here
2917         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2918         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2919         namespace, the second to...
2920         * buffer_funcs (BufferFormat, parseErrors): added
2921         * errorlist.C (ErrorList(TeXErrors const &)): removed
2922
2923 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2924
2925         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2926
2927 2003-06-24  "Garst R. Reese" <reese@isn.net>
2928
2929         * debug.C: fix typo
2930
2931 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2932
2933         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2934
2935         * version.C.in: change docversion to 1.4
2936
2937 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2938
2939         * buffer.C: fix a bug just introduced
2940
2941 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2942
2943         * buffer.[Ch]: added the parseError signal and use it, removed
2944         sgmlError
2945         * BufferView.[Ch] (addError): moved to ...
2946         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2947         to the Buffer::parseError signal to catch (guess what) parse errors
2948         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2949
2950 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2951
2952         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2953         ability to create a buffer and to return an existing one from
2954         the list. Moved these functions to...
2955         * buffer_funcs.[Ch]: added
2956         * BufferView.[Ch] (loadLyXFile): added
2957         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2958         job removed from bufferlist::loadLyXFile.
2959         * buffer.C (setReadOnly): make it work without view
2960         (i.e added an if (users))
2961
2962 2003-06-19  Angus Leeming  <leeming@lyx.org>
2963
2964         * lfuns.h:
2965         * LyXAction.C (init):
2966         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2967         with LFUN_DIALOG_SHOW <name> <data>.
2968
2969 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2970
2971         * CutAndPaste.C (availableSelections): small compilation fix for
2972         ancient (gcc 2.9x) compilers
2973
2974 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2975
2976         * text3.C (cursorNext): add tmp var
2977
2978         * text2.C (updateCounters): for function calling out of for clause
2979         (replaceSelectionWithString): ditto
2980         (insertStringAsParagraphs): ditto
2981         (getColumnNearX): add tmp var
2982         (setCursorFromCoordinates): add tmp var
2983         (cursorDownParagraph): add tmp var
2984         (deleteEmptyParagraphMechanism): add tmp var
2985
2986         * text.C (insertChar): add tmp var
2987
2988         * rowpainter.C (paintDepthBar): add tmp var
2989
2990         * CutAndPaste.C (availableSelections): potentially check all
2991         paragraphs in a cut to fill the shown strings.
2992
2993 2003-06-18  André Pönitz  <poenitz@gmx.net>
2994
2995         * kbmap.[Ch]: use vector<> instead of list<>
2996
2997 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2998
2999         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3000         pasteSelection with index
3001
3002         * text2.C (pasteSelection): modify, call pasteSelection with index
3003
3004         * paragraph.C (asString): reimplement version with no interval to
3005         call the one with interval.
3006
3007         * lyxtext.h: add index arg to pasteSelection
3008
3009         * MenuBackend.C (MenuItem): handle PasteRecent
3010         (Menu::read::Menutags): add md_pasterecent
3011         (read): handle it
3012         (expandPasteRecent): new function
3013         (expand): use it
3014
3015         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3016
3017         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3018         the limited stack
3019         (availableSelections): new function
3020
3021 2003-06-17  Angus Leeming  <leeming@lyx.org>
3022
3023         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3024
3025 2003-06-17  Angus Leeming  <leeming@lyx.org>
3026
3027         * lfuns.h:
3028         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3029
3030         * lyxfunc.C (dispatch): invoke it.
3031
3032 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3033
3034         * iterators.C (operator++, ParPosition): reintroduce some
3035         const_cast for the benefit of older compilers.
3036
3037 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3038
3039         * text3.C (dispatch): do not modify clipboard when doing
3040         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3041         LFUN_DELETE_SKIP on a selection selection
3042
3043 2003-06-16  André Pönitz  <poenitz@gmx.net>
3044
3045         * BufferView.C:
3046         * buffer.C:
3047         * buffer.h:
3048         * paragraph.C:
3049         * tabular.[Ch]: IU of clone() and getLabelList();
3050
3051 2003-06-13  André Pönitz  <poenitz@gmx.net>
3052
3053         * tabular.h: compactification
3054
3055 2003-06-12  André Pönitz  <poenitz@gmx.net>
3056
3057         * tabular.C:
3058         * tabular.h:
3059         * tabular_funcs.h: some renaming plus whitespace
3060
3061 2003-06-12  André Pönitz  <poenitz@gmx.net>
3062
3063         * BufferView.C:
3064         * BufferView_pimpl.C:
3065         * CutAndPaste.C:
3066         * buffer.C:
3067         * iterators.[Ch]:
3068         * lyxfunc.C:
3069         * text.C:
3070         * toc.C: Return a Paragraph & for ParIterator::operator*()
3071
3072 2003-06-11  John Levon  <levon@movementarian.org>
3073
3074         * lyx_main.C:
3075         * ToolbarBackend.h:
3076         * ToolbarBackend.C: add "Toolbars" section and
3077         put the flags there
3078
3079 2003-06-10  Angus Leeming  <leeming@lyx.org>
3080
3081         * lfuns.h:
3082         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3083
3084         * lyxfunc.C (dispatch): invoke it.
3085
3086 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3087
3088         * main.C: protect <ios> with HAVE_IOS
3089         (main): protect sync_with_stdio with HAVE_IOS
3090
3091 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3092
3093         * text2.C (cutSelection): adjust
3094         (pasteSelection): adjust
3095
3096         * messages.C: handle get of empty string
3097
3098         * main.C (main): use sync_with_stdio(false)
3099
3100         * lyxfunc.C (dispatch): adjust
3101
3102         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3103         (WriteAs): remove unneeded BufferView arg.
3104
3105         * bufferparams.h: use correct types on papersize, papersize2 and
3106         paperpackage.
3107
3108         * bufferparams.C (readToken): adjust for type
3109         (writeLaTeX): add missing cases to switch.
3110
3111         * bufferlist.C (quitWriteBuffer): adjust
3112         (close): adjust
3113
3114         * buffer.C (asciiParagraph): remove some commented code.
3115
3116         * CutAndPaste.C: remove current_view extern variable.
3117         (cutSelection): add BufferParams arg.
3118         (eraseSelection): add BufferParams arg.
3119         (pasteSelection): add Buffer const & arg
3120
3121 2003-06-07  John Levon  <levon@movementarian.org>
3122
3123         * buffer.C:
3124         * paragraph_funcs.C:
3125         * paragraph_pimpl.C:
3126         * text.C:
3127         * text2.C:
3128         * paragraph.h:
3129         * paragraph.C: allow InsetERT to freely space lines,
3130         and some consolidation of code
3131
3132 2003-06-06  José Matos  <jamatos@fep.up.pt>
3133
3134         * buffer.C (makeDocBookFile): fix bug #821
3135
3136 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3137
3138         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3139
3140 2003-06-04  Angus Leeming  <leeming@lyx.org>
3141
3142         * buffer.C: bump format to 224.
3143
3144 2003-06-05  André Pönitz  <poenitz@gmx.net>
3145
3146         * text2.C (redoParagraphs): remove two const_cast<>
3147
3148 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3149
3150         * ParagraphList.h: remove last remnants of NO_STD_LIST
3151
3152 2003-06-03  Angus Leeming  <leeming@lyx.org>
3153
3154         * factory.C (createInset): small change to the way InsetExternal's params
3155         are set.
3156
3157 2003-06-04  André Pönitz  <poenitz@gmx.net>
3158
3159         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3160
3161         * paragraph_pimpl.h:
3162         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3163
3164         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3165
3166         * undo_funcs.C: make some simple cases of undo work again
3167
3168 2003-06-03  John Levon  <levon@movementarian.org>
3169
3170         * ispell.C: HPUX doesn't have sys/select.h
3171         (from Albert Chin)
3172
3173 2003-06-03  John Levon  <levon@movementarian.org>
3174
3175         * CutAndPaste.C: update tabular and include inset
3176         buffer references
3177
3178         * buffer.h:
3179         * paragraph.h:
3180         * paragraph.C: remove owningBuffer(), don't pass Buffer
3181         to clone()
3182
3183         * factory.C: insetGraphicsParams changed
3184
3185 2003-06-02  John Levon  <levon@movementarian.org>
3186
3187         * LyXAction.C:
3188         * factory.C:
3189         * lfuns.h:
3190         * lyxfunc.C:
3191         * text3.C: remove insetparent
3192
3193 2003-06-02  John Levon  <levon@movementarian.org>
3194
3195         * buffer.h:
3196         * buffer.C: fix inset_iterator.end(), move out of line
3197         (bug 1149)
3198
3199 2003-06-01  John Levon  <levon@movementarian.org>
3200
3201         * text3.C: use a proper cut/paste when doing inset
3202         insert (from Jürgen Spitzmüller)
3203
3204 2003-06-01  John Levon  <levon@movementarian.org>
3205
3206         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3207
3208 2003-05-30  André Pönitz  <poenitz@gmx.net>
3209
3210         * rowpainter.C: unify second drawing phase
3211
3212 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3213
3214         * trans_mgr.C: remove one case of current_view
3215
3216         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3217
3218         * paragraph_funcs.h: remove paragraph.h include
3219
3220         * paragraph.h: delete NO_STD_LIST stuff
3221
3222         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3223
3224         * buffer.h: remove paragraph.h include
3225
3226         * ParagraphList.C: delete file
3227
3228         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3229
3230         * toc.C (getTocList): adjust
3231
3232         * paragraph_pimpl.C (validate): adjust
3233
3234         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3235
3236         * paragraph.C (Paragraph): adjust
3237         (getPositionOfInset): use const_iterator, adjust
3238         (bibitem): use const_iterator, adjust
3239         (setInsetOwner): adjust
3240
3241         * iterators.C (operator++): adjust
3242
3243         * InsetList.[Ch]: Replace selfmade iterator with standard
3244         vector::iterator also introduce const_iterator. Remove getPos,
3245         getInset and setInset from InsetTable. Adjust accordingly.
3246
3247         * BufferView.C (lockInset): adjust
3248         (ChangeInsets): adjust
3249
3250         * tabular.[Ch]: delete commented same_id functions
3251
3252 2003-05-28  John Levon  <levon@movementarian.org>
3253
3254         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3255
3256 2003-05-28  André Pönitz  <poenitz@gmx.net>
3257
3258         * metricsinfo.[Ch]: remove 'fullredraw' member
3259
3260 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3261
3262         * lyxtextclass.C (operator): remove caching.
3263
3264 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3265
3266         * text3.C: adjust
3267
3268         * text2.C (cursorBottom): adjust
3269         (setCounter): use ParagraphList::find, adjust
3270
3271         * text.C (workWidth): use ParagraphList::find, adjust
3272
3273         * lyxcursor.C (LyXCursor): adjust
3274
3275         * buffer.C (inset_iterator): adjust
3276
3277         * ParagraphList.h: make iterator(value_type) private, make
3278         ParagraphList a friend of iterator.
3279
3280         * ParagraphList.C (find): new function
3281
3282         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3283
3284 2003-05-27  André Pönitz  <poenitz@gmx.net>
3285
3286         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3287
3288 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3289
3290         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3291
3292 2003-05-26  John Levon  <levon@movementarian.org>
3293
3294         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3295
3296 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3297
3298         * remove same_id from function signatures, adjust.
3299
3300 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3301
3302         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3303
3304         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3305
3306         * paragraph.C (Paragraph): get rid of same_ids parameter
3307
3308         * ParagraphList.C (insert): adjust
3309         (push_back): adjust
3310
3311 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3312
3313         * paragraph_funcs.C (breakParagraph): adjust
3314         (breakParagraphConservative): adjust
3315
3316         * buffer.C (readParagraph): adjust
3317
3318         * ParagraphList.C (insert): take a reference instead of a pointer
3319         (insert): adjust
3320
3321         * paragraph.[Ch] (id): new function
3322
3323         * bufferlist.C (newFile): adjust
3324
3325         * ParagraphList.C (ParagraphList): adjust
3326         (assign): adjust
3327         (push_back): take a reference instead of a pointer.
3328
3329         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3330
3331         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3332         instead.
3333
3334         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3335         set else use old code.
3336
3337         * ParagraphList.C: remove all NO_NEXT code and only compile this
3338         code of NO_STD_LIST is set.
3339
3340 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3341
3342         * BufferView_pimpl.C:
3343         * TextCache.C:
3344         * TextCache.h:
3345         * bufferlist.C:
3346         * errorlist.h:
3347         * format.C:
3348         * format.h:
3349         * graph.C:
3350         * lyxfunc.C:
3351         * lyxrc.C:
3352         * graphics/GraphicsConverter.C:
3353         * graphics/PreviewLoader.C: header adjustment
3354
3355 2003-05-23  Angus Leeming  <leeming@lyx.org>
3356
3357         * LaTeXFeatures.[Ch] (useBabel): new method.
3358         * bufferparams.C (writeLaTeX): use it.
3359
3360 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3361
3362         * ParagraphList.h (set): remove unused function.
3363
3364 2003-05-23  André Pönitz  <poenitz@gmx.net>
3365
3366         * BufferView.C:
3367         * BufferView_pimpl.C:
3368         * buffer.C:
3369         * buffer.h:
3370         * lyxfunc.C:
3371         * undo_funcs.C: setUndo reworked
3372
3373         * iterators.[Ch]: add access to topmost ParagraphList
3374
3375         * lyxtext.[Ch] (workWidth): add a const
3376
3377 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3378
3379         * texrow.[Ch] (increasePos): remove function
3380         * exporter.C (export): removed unused var and outdated comment
3381
3382 2003-05-23  Angus Leeming  <leeming@lyx.org>
3383
3384         * latexrunparams.h: rename fragile as moving_arg.
3385         * paragraph.C (simpleTeXOnePar): ditto.
3386         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3387
3388 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3389
3390         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3391         (createUndo): ditto
3392         (textUndoOrRedo): comment out a currently unused var.
3393
3394         * paragraph.h (NO_NEXT): enable NO_NEXT
3395
3396         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3397
3398         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3399
3400         * exporter.C (Export): adjust for removeAutoInsets removal.
3401
3402         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3403
3404         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3405
3406         * BufferView.[Ch] (removeAutoInsets): delete function
3407
3408 2003-05-22  Angus Leeming  <leeming@lyx.org>
3409
3410         * latexrunparams.h: add a free_spacing variable.
3411
3412         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3413         to pass moving_arg, as the data is stored in runparams.fragile.
3414
3415         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3416         to Inset::latexOptional or to simpleTeXOnePar.
3417
3418         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3419         free_spacing arg to Inset::latexOptional.
3420
3421         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3422         free_spacing arg.
3423
3424 2003-05-22  Angus Leeming  <leeming@lyx.org>
3425
3426         * latexrunparams.h: add fragile and use_babel variables.
3427
3428         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3429         * buffer.C (makeLaTeXFile): store this returned value in
3430         runparams.use_babel, thus passing it to the inset::latex methods.
3431
3432         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3433         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3434
3435         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3436         longer has a fragile arg, as it is stored in runparams.fragile.
3437
3438         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3439         moving_arg parameter as the data is stored in runparams.fragile.
3440
3441         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3442         a fragile parameter as the data is stored in runparams.fragile.
3443
3444 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3445
3446         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3447
3448 2003-05-22  Angus Leeming  <leeming@lyx.org>
3449
3450         * latexrunparams.h: add a 'bool nice' which defaults to false.
3451
3452         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3453         now encapsulated within runparams.
3454
3455         * bufferlist.C (updateIncludedTeXfiles):
3456         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3457
3458 2003-05-22  Angus Leeming  <leeming@lyx.org>
3459
3460         * latexrunparams.h: new file containing struct LatexRunParams.
3461         * Makefile.am: add new file.
3462
3463         * LaTeX.[Ch] (c-tor, run):
3464         * buffer.[Ch] (makeLaTeXFile):
3465         * bufferlist.[Ch] (updateIncludedTeXfiles):
3466         * converter.C (convert, scanLog):
3467         * converter.[Ch] (runLaTeX):
3468         * exporter.C (Export):
3469         * paragraph.[Ch] (simpleTeXOnePar):
3470         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3471         * paragraph_funcs.[Ch] (latexParagraphs):
3472         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3473         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3474         pass around a LatexRunParams parameter.
3475
3476 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3477
3478         * paragraph.[Ch]: remove unused constructor
3479
3480         * ParagraphList.C (erase): new function, taking two iterators
3481
3482 2003-05-22  André Pönitz  <poenitz@gmx.net>
3483
3484         * undo_funcs.C: remove duplicated code
3485
3486         * iterator.[Ch]: operator=
3487
3488 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3489
3490         * tabular.C (SetMultiColumn): ws changes
3491
3492         * rowpainter.C (paintFirst): get rid of a ->previous
3493
3494         * lyx_cb.C (getPossibleLabel): parlist simplification
3495
3496         * BufferView.C (ChangeInsets): simplify slightly.
3497
3498 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3499
3500         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3501         * lfuns.h: new LFUN_SPACE
3502         * lyxfunc.C: protected space has a new lfun
3503         * paragraph_funcs.C: read new space insets
3504         * text3.C:
3505         * factory.C: handle new space insets
3506
3507 2003-05-22  André Pönitz  <poenitz@gmx.net>
3508
3509         * BufferView.C:
3510         * BufferView_pimpl.C:
3511         * buffer.[Ch]:
3512         * lyxfunc.C:
3513         * undo_funcs.C: return a ParIterator from getParFromID.
3514
3515         * iterators.[Ch]: add two const's
3516
3517 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3518
3519         * toc.C (getTocList): adjust
3520
3521         * iterators.[Ch]: rework for parlist
3522
3523         * buffer.C (par_iterator_begin): adjust
3524         (par_iterator_end): adjust
3525
3526         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3527
3528         * BufferView.C (removeAutoInsets): adjust
3529         (ChangeInsets): adjust
3530
3531 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3532
3533         * text.C (top_y): fix bug 1110
3534
3535 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3536
3537         * errorlist.[Ch]: added
3538         * buffer.C:
3539         * BufferView.[Ch]:
3540         * BufferView_pimpl.C:
3541         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3542         instead
3543
3544 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3545
3546         * Makefile.am: ensure that lyx is relinked upon changes to the
3547         various "convenience" libs.
3548
3549 2003-05-20  Angus Leeming  <leeming@lyx.org>
3550
3551         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3552         files are compiled in alphabetical order again.
3553
3554         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3555
3556 2003-05-19  Angus Leeming  <leeming@lyx.org>
3557
3558         * gettext.[Ch]: remove "char const * _(char const *)".
3559
3560 2003-05-19  André Pönitz  <poenitz@gmx.net>
3561
3562         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3563
3564         * Makefile.am:
3565         * BufferView.C:
3566         * DepTable.h:
3567         * LaTeXFeatures.C:
3568         * buffer.C:
3569         * lyxfont.C:
3570         * lyxlex.h:
3571         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3572
3573 2003-05-19  André Pönitz  <poenitz@gmx.net>
3574
3575         * buffer.C:
3576         * lyxlayout.[Ch]:
3577         * lyxtextclass.[Ch]:
3578         * paragraph.C:
3579         * paragraph_funcs.[Ch]:
3580         * text2.C:
3581         * text3.C: more insetenv work
3582
3583 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3584
3585         * ParagraphParameters.C (params2string): small bug fixed
3586
3587 2003-05-16  André Pönitz  <poenitz@gmx.net>
3588
3589         * debug.C:
3590         * bufferview_funcs.C: patch from Kornel Benko to prevent
3591           crash when _(...) is called twice in a statement
3592
3593 2003-05-16  André Pönitz  <poenitz@gmx.net>
3594
3595         * BufferView.C:
3596         * lyxfunc.C:
3597         * text.C:
3598         * text2.C:
3599         * text3.C:
3600         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3601
3602 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3603
3604         * lyx_main.C (init): remove spurious static_cast
3605
3606 2003-05-14  André Pönitz  <poenitz@gmx.net>
3607
3608         * BufferView.C: fix format string
3609
3610 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3611
3612         * BufferView.[Ch] (insertErrors): removed
3613         * BufferView.[Ch] (showErrorList): added
3614         * buffer.C (runChkTeX):
3615         * converter.C (scanLog): call showErrorList instead of inserterrors
3616
3617 2003-05-13  André Pönitz  <poenitz@gmx.net>
3618
3619         * BufferView_pimpl.C:
3620         * buffer.C:
3621         * bufferview_func.C:
3622         * MenuBackend.C:
3623         * lyxfunc.C:
3624         * lyxrc.C:
3625         * tex-accent.C:
3626         * text3.C:
3627         * toc.C:
3628         * tabular_funcs.h: tostr() from its own header
3629
3630         * ParagraphParameters.C:
3631         * ToolbarBackend.C:
3632         * bufferparams.C:
3633         * format.C:
3634         * lyxlex_pimpl.C:
3635         * text3.C: STRCONV()
3636
3637 2003-05-12  André Pönitz  <poenitz@gmx.net>
3638
3639         * BufferView.C:
3640         * BufferView_pimpl.C:
3641         * CutAndPaste.C:
3642         * LaTeX.C:
3643         * LaTeXFeatures.C:
3644         * ParagraphParameters.C:
3645         * buffer.C:
3646         * bufferlist.C:
3647         * bufferparams.C:
3648         * bufferview_funcs.C:
3649         * converter.C:
3650         * counters.C:
3651         * debug.C:
3652         * exporter.C:
3653         * format.C:
3654         * importer.C:
3655         * lyx_cb.C:
3656         * lyx_main.C:
3657         * lyxfont.C:
3658         * lyxfunc.C:
3659         * lyxvc.C:
3660         * paragraph.C:
3661         * paragraph_funcs.C:
3662         * tabular.C:
3663         * tabular_funcs.C:
3664         * text2.C:
3665         * text3.C:  boost::format -> bformat  all over the place
3666
3667
3668 2003-05-09  André Pönitz  <poenitz@gmx.net>
3669
3670         * LColor.[Ch]: Pimpl the #include <map> away
3671
3672 2003-05-09  John Levon  <levon@movementarian.org>
3673
3674         * bufferlist.C: never remove emergency saves
3675
3676 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3677
3678         * Makefile.am: better lib building
3679
3680 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3681
3682         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3683         instead.
3684         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3685         (simpleTeXSpecialChars): adjust
3686         (simpleTeXSpecialChars): adjust
3687         * paragraph.C (simpleTeXOnePar): adjust
3688         * buffer.C (makeLaTeXFile): adjust
3689
3690         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3691
3692         * text2.C (changeDepth): parlist cleanup
3693         (getColumnNearX): ditto
3694
3695         * rowpainter.C (getLabelFont): parlist cleanup
3696
3697         * bufferlist.C (newFile): parlist cleanup
3698
3699         * CutAndPaste.C (eraseSelection): parlist cleanup
3700
3701         * BufferView_pimpl.C (trackChanges): parlist cleanup
3702         (dispatch): ditto
3703
3704         * BufferView.C (lockInset): parlist cleanup.
3705         (ChangeInsets): ditto
3706
3707 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3708
3709         * CutAndPaste.h: Update file header.
3710
3711         * CutAndPaste.C: Update file header.
3712         Store the parts cut out of the Document in a limited_stack.
3713         (copySelection): adjust
3714         (pasteSelection): new function, takes the index in the limited stack.
3715         (nrOfParagraphs): adjust
3716         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3717         simplify error inset insertion.
3718         (checkPastePossible): adjust
3719
3720 2003-05-06  John Levon  <levon@movementarian.org>
3721
3722         * text2.C: don't cast wrap inset to float
3723
3724 2003-05-05  André Pönitz  <poenitz@gmx.net>
3725
3726         * iterator.C:
3727         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3728
3729         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3730           few naked Paragraph *.
3731
3732 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3733
3734         * bufferparams.C: Output warning if a document with missing
3735         TeX document class is loaded
3736         * exporter.C: Disable TeX exports if the document class is missing
3737         * lyxtextclass.C:
3738         * lyxtextclass.h:
3739         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3740         isTeXClassAvailable()
3741
3742 2003-05-03  John Levon  <levon@movementarian.org>
3743
3744         * BufferView.h:
3745         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3746         explicit cursor show/hide
3747
3748         * BufferView_pimpl.h:
3749         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3750         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3751
3752         * lyxfunc.C: hide cursor before dispatching.
3753
3754         * lyx_cb.C:
3755         * lyxfind.C:
3756         * text.C:
3757         * text3.C: remove explicit cursor hides
3758
3759 2003-05-02  André Pönitz  <poenitz@gmx.net>
3760
3761         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3762
3763         * undo_funcs.C:
3764         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3765           linked lists
3766
3767         * text2.C: tiny whitespace
3768
3769 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3770
3771         * undo_funcs.C: almost only ws changes.
3772
3773         * ParagraphList.C (splice): just return if pl is empty.
3774
3775 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3776
3777         * ParagraphList.C (splice): new function.
3778
3779         * CutAndPaste.C (pasteSelection): use it
3780
3781 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3782
3783         * CutAndPaste.C (pasteSelection): remove the last next and
3784         previous from this file.
3785
3786 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3787
3788         * CutAndPaste.C (pasteSelection): more clean up, user proper
3789         ParagraphList functions for pasteing.
3790
3791         * ParagraphList.C (insert): new function, three arg insert
3792
3793 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3794
3795         * ParagraphList.C (insert): new function, three arg insert
3796
3797         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3798         not on paragraphs.
3799
3800 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3801
3802         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3803
3804 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3807
3808 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3809
3810         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3811         (copySelection): clean up a bit.
3812         (pasteSelection): use make_pair
3813
3814         * ParagraphList.C (ParagraphList): implement copy constructor
3815         (operator=): implement, base on copy constructor.
3816         (assign): new func
3817
3818         * paragraph.C (erase): return a bool
3819
3820         * paragraph_pimpl.C (erasePos): remove function, move contents...
3821         (erase): ... here. Return a bool.
3822         (erase): call erase instead of erasePos.
3823
3824 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3825
3826         * ParagraphList.h: define PitPosPair
3827         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3828         ParagraphList, fix a bug on pasting multiple pars
3829         * text2.C: change interface to C&P
3830
3831 2003-04-30  André Pönitz  <poenitz@gmx.net>
3832
3833         * undo_func.C: revert part of yesterday's patch 2
3834
3835 2003-04-30  John Levon  <levon@movementarian.org>
3836
3837         * LColor.C: s/tabular/table/
3838
3839 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3840
3841         * text3.C (dispatch): do not convert iterator -> pointer
3842         * undo_funcs.C (setCursorParUndo): ditto
3843         * text_funcs.C (transposeChars): ditto
3844
3845         * text2.C (setLayout): ws changes only
3846
3847         * text.C (breakParagraph): do not convert iterator -> pointer
3848         (insertChar): ditto
3849         (acceptChange): ditto
3850         (rejectChange): ditto
3851         (changeCase): ditto
3852         (Delete): ditto
3853         (backspace): ditto
3854
3855         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3856         pointer
3857
3858 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3859
3860         * text3.C (gotoInset): YABG (yet another bad getChar)
3861
3862 2003-04-29  André Pönitz  <poenitz@gmx.net>
3863
3864         * paragraph.h: make operator= private unimplemented as long as
3865           it is unusable
3866
3867         * ParagraphList.C: whitespace
3868
3869         * paragraph.[Ch]:
3870         * paragraph_pimpl.[Ch]:
3871         * paragraph_funcs.C:
3872         * CutAndPaste.C:
3873         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3874
3875         * text2.C:
3876           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3877
3878 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3879
3880         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3881         * paragraph.[Ch] (erase):
3882         * paragraph_pimpl.[Ch] (erase): change return type and value
3883         * text2.C (cutSelection): some rework
3884
3885 2003-04-28  John Levon  <levon@movementarian.org>
3886
3887         * bufferlist.C: changes for unsaved changes dialog
3888
3889 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3890
3891         * bufferlist.C (newFile): set language (messages_) for new
3892         documents also.
3893
3894         * buffer.C (readFile): ws changes only.
3895
3896 2003-04-28  André Pönitz  <poenitz@gmx.net>
3897
3898         * undo_funcs.C:
3899         * lyxfunc.C:
3900         * buffer.[Ch]:
3901         * BufferView_pimpl.C:
3902         * BufferView.C: getParFromID related ParagraphList::iterator changes
3903
3904 2003-04-28  André Pönitz  <poenitz@gmx.net>
3905
3906         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3907           Changes
3908
3909 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3910
3911         * messages.C: remove one more localedir class variable.
3912
3913 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3914
3915         * messages.C (getLocaleDir): singleton generation function
3916         (Pimpl): use it.
3917         (Messages): add a default constructor.
3918
3919         * main.C (main): do not setup localedir here, do not call
3920         gettext_init.
3921
3922         * gettext.C (_): use it.
3923         (gettext_init): delete funciton
3924
3925 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3926
3927         * gettext.C (getLyXMessages): new singleton generating function.
3928
3929         * buffer.C (updateDocLang): adjust
3930
3931         * Makefile.am (messages.o): add target
3932         (main.o): remove target
3933
3934 2003-04-27  John Levon  <levon@movementarian.org>
3935
3936         * bufferlist.C:
3937         * lyx_cb.C:
3938         * lyxfunc.C:
3939         * lyxvc.C: specify cancel button in Alert::prompt
3940
3941 2003-04-26  John Levon  <levon@movementarian.org>
3942
3943         * text3.C:
3944         * lyxfunc.C:
3945         * lfuns.h:
3946         * LyXAction.C: add LFUN_INSET_SETTINGS
3947
3948         * lyxfunc.C: don't enable tabular-feature when there's
3949         just any locking inset
3950
3951 2003-04-26  John Levon  <levon@movementarian.org>
3952
3953         * bufferlist.C: re-add Cancel to buffer close question
3954
3955         * lyxfunc.C: fix import UI a bit
3956
3957 2003-04-25  John Levon  <levon@movementarian.org>
3958
3959         * gettext.C: remove the broken asserts for now
3960
3961 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3962
3963         * messages.C: make case where setlocale cannot comply work better.
3964
3965         * buffer.C (updateDocLang): new function
3966         (changeLanguage): use it
3967         (readFile): use it
3968
3969         * text2.C (setCounter): use B_ a bit.
3970
3971         * lyxlayout.C (Read): be sure to trim the label strings.
3972
3973         * messages.C (Messages): fix typo in comment
3974
3975         * buffer.C (readFile): set message_ after file is loaded.
3976         (makeDocBookFile): remove double return
3977         (changeLanguage): reset message_ upon language change.
3978         (B_): new func, use this to get translated buffer strings.
3979
3980         * main.C: add myself and Jean Marc as authors.
3981
3982 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3983
3984         * messages.[hC]: pimplify Messages, and three different pimpls to be
3985         used in different circumstances.
3986
3987         * gettext.[Ch]: change for use with new message code.
3988
3989 2003-04-24 André Pönitz <poenitz@gmx.net>
3990
3991         * factory.C: support for eqref
3992
3993 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3994
3995         * messages.[Ch]: add missing char
3996
3997         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3998
3999         * messages.[Ch]: New files
4000
4001 2003-04-18  John Levon  <levon@movementarian.org>
4002
4003         * BufferView.h:
4004         * BufferView.C:
4005         * BufferView_pimpl.C:
4006         * lfuns.h:
4007         * LyXAction.C:
4008         * lyxtext.h:
4009         * text2.C: remove layout-copy/paste (bug 778)
4010
4011 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4012
4013         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4014
4015 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4016
4017         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4018         if they succeed. Act accordingly.
4019
4020 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4021
4022         * text2.C (setCharFont): adjust
4023         (setCounter): adjust
4024         (insertStringAsLines): adjust
4025
4026         * text.C (leftMargin): adjust
4027         (setHeightOfRow): adjust
4028
4029         * rowpainter.C (paintFirst): adjust
4030         (paintLast): adjust
4031
4032         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4033         (outerHook): ditto
4034         (isFirstInSequence): ditto
4035         (getEndLabel): ditto
4036         (outerFont): adjust
4037
4038         * paragraph.C (getParLanguage): comment out some hard stuff.
4039
4040         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4041         (sgmlError): ditto
4042         (simpleDocBookOnePar): ditto
4043         (makeDocBookFile): use ParagraphList::iterator
4044
4045         * CutAndPaste.C (pasteSelection): adjust
4046
4047 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4048
4049         * text2.C (getFont): adjust
4050         (getLayoutFont): adjust
4051         (getLabelFont): adjust
4052
4053         * paragraph_funcs.C (TeXOnePar): adjust
4054
4055         * buffer.C (simpleLinuxDocOnePar): adjust
4056         (simpleDocBookOnePar): adjust
4057
4058         * CutAndPaste.C (pasteSelection): adjust
4059
4060         * BufferView.C (getEncoding): adjust
4061
4062         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4063
4064 2003-04-16  John Levon  <levon@movementarian.org>
4065
4066         * lyxfind.C: use parlist stuff for search/changes
4067
4068 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4069
4070         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4071
4072         * text2.C (deleteEmptyParagraphMechanism): adjust
4073
4074         * text2.[Ch] (ownerParagraph): delete func (both of them
4075
4076 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4077
4078         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4079
4080 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4081
4082         * ParagraphList.C: prepare for NO_NEXT
4083
4084 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4085
4086         * text2.C (getFont): adjust
4087         (getLayoutFont): adjust
4088         (getLabelFont): adjust
4089
4090         * paragraph.C (getFont): adjust
4091         (getLabelFont): adjust
4092         (getLayoutFont): adjust
4093
4094         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4095
4096 2003-04-15  John Levon  <levon@movementarian.org>
4097
4098         From Angus Leeming
4099
4100         * lyx_main.C: handle Include in .ui files
4101
4102 2003-04-15  John Levon  <levon@movementarian.org>
4103
4104         * MenuBackend.C: make the doc files length shorter
4105
4106         * ToolbarBackend.h:
4107         * ToolbarBackend.C: handle toolbar placement flags,
4108         Minibuffer
4109
4110 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4111
4112         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4113         adjust
4114
4115         * paragraph_funcs.C (TeXOnePar): adjust
4116
4117         * paragraph.C (getLabelFont): add outerfont arg, adjust
4118         (getLayoutFont): ditto
4119         (simpleTeXOnePar): adjust
4120
4121         * paragraph_pimpl.C (realizeFont): delete func
4122
4123 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4124
4125         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4126         row argument, constify cur argument.
4127
4128 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4129
4130         * text2.C (getFont): adjust
4131         (getLayoutFont): adjust
4132         (getLabelFont): adjust
4133
4134         * paragraph_funcs.C (TeXOnePar): adjust
4135         (outerFont): new func...
4136         (realizeFont): ...moved out from here, changed this to facilitate
4137         transition
4138
4139         * paragraph.C (getFont): take outerfont as arg, adjust
4140         (simpleTeXOnePar): add outerfont arg, adjust
4141
4142         * buffer.C (simpleLinuxDocOnePar): adjust
4143         (simpleDocBookOnePar): adjust
4144
4145         * CutAndPaste.C (pasteSelection): adjust
4146
4147         * BufferView.C (getEncoding): adjust
4148
4149 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4150
4151         * text2.C (setCharFont): adjust
4152         (setCounter): adjust
4153
4154         * text.C (leftMargin): adjust
4155         (setHeightOfRow): adjust
4156
4157         * rowpainter.C (paintFirst): adjust
4158         (paintLast): adjust
4159
4160         * paragraph_pimpl.C (realizeFont): adjust
4161
4162         * paragraph.C (isFirstInSequence): move from here...
4163         * paragraph_funcs.C (isFirstInSequence): ...to here
4164
4165         * paragraph.C (outerHook): move from here...
4166         * paragraph_funcs.C (outerHook): ...to here
4167
4168         * paragraph.C (depthHook): move from here...
4169         * paragraph_funcs.C (depthHook): ...to here
4170
4171         * paragraph.C (getEndLabel): move from here...
4172         * paragraph_funcs.C (getEndLabel): ...to here
4173
4174         * text2.C (realizeFont): move from here...
4175         * paragraph_funcs.C (realizeFont): ...to here
4176
4177 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4178
4179         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4180
4181 2003-04-14  Angus Leeming  <leeming@lyx.org>
4182
4183         * LColor.[Ch]: scrap LColor mathcursor.
4184
4185 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4186
4187         * lyxlex.[Ch] (text): delete function
4188         * trans.C (Load): adjust
4189         * paragraph_funcs.C (readParToken): adjust
4190
4191 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4192
4193         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4194         vector<char> instead of a char[].
4195
4196         * lyxlex_pimpl.C (getString): adjust
4197         (next): adjust
4198         (lex): use getString
4199         (eatLine): adjust
4200         (nextToken): adjust
4201
4202         * lyxlex.C (text): use pimpl_->getString()
4203         (getBool): ditto
4204         (findToken): ditto
4205
4206 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4207
4208         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4209         (makeFontEntriesLayoutSpecific): temp var for par.size()
4210         (setLayout): temp var for ownerParagraphs().end()
4211         (fullRebreak): temp var for rows().end()
4212         (selectionAsString): temp var for boost::next(startpit), realize
4213         that the while really is a regular for loop.
4214         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4215         setCursor in one place.
4216         (setParagraph): temp vr for ownerParagraphs().end()
4217         (updateCounters): make the while loop a for loop
4218         (cutSelection): temp var for ownerParagraphs().end()
4219         (updateInset): make the do {} while() a regular for loop
4220         (getCursorX): use temp vars
4221         (setCurrentFont): use temp vars
4222         (getColumnNearX): use temp vars
4223
4224 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4225
4226         * text.C (transformChar): use temp var for getChar
4227         (computeBidiTables): use temp var for row->par()
4228         (fill): move temp vars for row->par() and pit->layout() earlier in
4229         the function.
4230         (labelFill): use temp var for row->par()
4231         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4232         asc and desc, realize that pit never changes and that firstpit is
4233         just a duplicate and not needed. Exchange rit->par() with pit in a
4234         lot of places.
4235         (breakAgain): use a temp var for boost::next(rit)
4236         (breakAgainOneRow): ditto
4237         (breakParagraph): use a temp var for rows().begin()
4238         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4239         (cursorRightOneWord): use temp var for cursor.par() and
4240         cursor.pos(), remove usage of tmpcursor.
4241         (cursorLeftOneWord): use temp var for cursor.par() and
4242         cursor.pos() only set cur at end of function.
4243
4244 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4245
4246         * text.C, text2.C: exchange all usage of Paragraph::next with
4247         boost::next(ParagraphList::iterator)
4248
4249         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4250
4251         * text2.C (cursorTop): simplify implementation
4252         (cursorBottom): ditto
4253         (setParagraph): use ParagraphList::iterator
4254         (setCurrentFont): adjust
4255         (getColumnNearX): adjust
4256         (cursorRight): adjust
4257         (cursorLeft): remove usage of Paragraph::previous
4258         (cursorUpParagraph): ditto
4259         (deleteEmptyParagraphMechanism): slight cleanup
4260
4261         * text.C (isBoundary): take a Paragraph const & instead of a
4262         pointer as arg.
4263         (addressBreakPoint): ditto
4264         (leftMargin): remove usage of Paragraph::previous.
4265         (setHeightOfRow): ditto
4266         (cursorLeftOneWord): ditto
4267         (selectNextWordToSpellcheck): ditto
4268         (Delete): ditto
4269         (backspace): ditto
4270         (breakParagraph): remove one usage of Paragraph::next
4271         (redoParagraph): ditto
4272         (acceptChange): ditto
4273         (insertChar): adjust
4274         (rowBreakPoint): adjust
4275
4276         * bufferview_funcs.C (toggleAndShow): adjust
4277
4278 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4279
4280         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4281         methods to access it.
4282         * lyxtext.h:
4283         * text.C: Added updateRowPositions to compute all row positions.
4284         Make top_y and getRowNearY() to use the cached y position
4285
4286 2003-04-11  John Levon  <levon@movementarian.org>
4287
4288         * text.C (rowBreakPoint): reintroduce the labelEnd
4289         checks, code copied from the row fill stuff. Deep voodoo.
4290
4291         * text.C (fill): add a comment and debugging for the
4292         next poor soul.
4293
4294 2003-04-11  John Levon  <levon@movementarian.org>
4295
4296         * text.C: make sure fullrow insets get wrapped to the next line,
4297         even when they're in a manual label
4298
4299 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4300
4301         * text2.C (insertParagraph): make it take ParagraphList::iterator
4302         as arg.
4303         (setLayout): make it return ParagraphList::iterator
4304         (redoParagraphs): ditto
4305         (setCounter): ditto
4306         (checkParagraph): ditto
4307
4308         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4309
4310         * text2.C: adjust several funcs.
4311         (realizeFont): take a ParagraphList::iterator as arg.
4312         (getLayoutFont): ditto
4313         (getLabelFont): ditto
4314         (setCharFont): ditto
4315
4316         * text.C: adjust several funcs.
4317
4318 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4319
4320         * text.C (selectNextWordToSpellcheck): don't accidentally
4321         skip insets
4322
4323 2003-04-10  John Levon  <levon@movementarian.org>
4324
4325         * ToolbarBackend.C (getIcon): special handling for
4326         LFUN_MATH_DELIM
4327
4328 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4329
4330         * text2.C (cursorRight): a getChar assert fixed
4331
4332 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4333
4334         * text2.C (getFont): change to take a ParagraphList::iterator
4335         instead of Paragraph*
4336         Adjust several functions.
4337
4338         * text.C (transformChar): change to take a ParagraphList::iterator
4339         instead of Paragraph*
4340         (singleWidth): ditto
4341         Adjust several functions.
4342
4343         * rowpainter.C: adjust several functions
4344         * rowpainter.h:store a ParagraphList::iterator and not a
4345         Paragraph&.
4346
4347
4348 2003-04-09  John Levon  <levon@movementarian.org>
4349
4350         * lyxfunc.C:
4351         * lfuns.h:
4352         * LyXAction.h:
4353         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4354         and the "help" bits as well
4355
4356 2003-04-09  John Levon  <levon@movementarian.org>
4357
4358         * ToolbarBackend.h:
4359         * ToolbarBackend.C: allow multiple toolbars
4360
4361 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4362
4363         * undo_funcs.C (setCursorParUndo): adjust
4364
4365         * text_funcs.C (transposeChars): adjust
4366
4367         * text3.C (gotoNextInset): adjust
4368         (dispatch): adjust
4369
4370         * text2.C (setLayout): adjust
4371         (changeDepth): adjust
4372         (setFont): adjust
4373         (redoParagraphs): adjust
4374         (selectionAsString): adjust
4375         (setParagraph): adjust
4376         (insertInset): adjust
4377         (cutSelection): adjust
4378         (copySelection): adjust
4379         (pasteSelection): adjust
4380         (insertStringAsLines): adjust
4381         (updateInset): adjust
4382         (setCursor): change to take a ParagraphList::iterator parameter
4383         (setCursorIntern): change to take a ParagraphList::iterator parameter
4384         (setCurrentFont): adjust
4385         (cursorLeft): adjust
4386         (cursorRight): adjust
4387         (deleteEmptyParagraphMechanism): adjust
4388
4389         * text.C (breakParagraph): adjust
4390         (insertChar): adjust
4391         (acceptChange): adjust
4392         (rejectChange): adjust
4393         (selectNextWordToSpellcheck): adjust
4394         (changeCase): adjust
4395         (Delete): adjust
4396         (backspace): adjust
4397
4398         * lyxfind.C (SearchForward): adjust
4399         (SearchBackward): adjust
4400         (nextChange): adjust
4401
4402         * lyxcursor.C (par): adjust
4403
4404         * lyxcursor.h: store a ParagraphList::iterator instead of a
4405         Paragraph*
4406
4407         * lyx_cb.C (getPossibleLabel): adjust
4408
4409         * bufferview_funcs.C (toggleAndShow): adjust
4410
4411         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4412         (dispatch): adjust
4413
4414         * BufferView.C (removeAutoInsets): adjust
4415         (lockedInsetStoreUndo): adjust
4416
4417 2003-04-09  John Levon  <levon@movementarian.org>
4418
4419         * ToolbarBackend.C: try icon without argument
4420         if with argument fails
4421
4422 2003-04-08  John Levon  <levon@movementarian.org>
4423
4424         * ToolbarBackend.h:
4425         * ToolbarBackend.C: add getIcon(), handle tooltip,
4426         and change from "Icon" to "Item".
4427
4428 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4429
4430         * BufferView.C (lockInset): another bad getchar crunched
4431
4432 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4433
4434         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4435         again)
4436
4437 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4438
4439         * lyxfind.C (searchForward, searchBackwards): bug 782
4440
4441 2003-04-07  John Levon  <levon@movementarian.org>
4442
4443         * paragraph.C: remove dead comment
4444
4445         * text.C: remove troublesome depth-fiddling code
4446         in leftMargin() and rightMargin() (bug 1017)
4447
4448         * text.C: fix breaking of rows in nested lists
4449         (bug 1004)
4450
4451         * text2.C (updateCounters): fix up depth values
4452         (bug 1013)
4453
4454 2003-04-07  John Levon  <levon@movementarian.org>
4455
4456         * BufferView_pimpl.C: clear message when doc finishes resizing,
4457         and after a mouse event
4458
4459         * lyxfunc.C: clear message after exiting inset
4460
4461 2003-04-07  John Levon  <levon@movementarian.org>
4462
4463         * bufferview_funcs.C: show math status not outside
4464         status in the statusbar
4465
4466 2003-04-07  John Levon  <levon@movementarian.org>
4467
4468         * lyxfunc.C: note status changed after a depth change
4469
4470 2003-04-04  Angus Leeming  <leeming@lyx.org>
4471
4472         * LaTeX.h: move AuxInfo operator==, != out of line.
4473         Remove LaTeX virtual destructor; nothing derives from it.
4474         Move operator()() out of public area and rename it startscript().
4475         Change protected for private.
4476
4477 2003-04-04  Angus Leeming  <leeming@lyx.org>
4478
4479         * lyxfunc.C:
4480         * text2.C: remove unneeded #includes.
4481
4482 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4483
4484         * text2.C (dEPM): fix the heigth of the next row
4485
4486 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4487
4488         * text.C: squashed an invalid getChar requester + some ws changes
4489
4490 2003-04-03  John Levon  <levon@movementarian.org>
4491
4492         * bufferview_funcs.h:
4493         * bufferview_funcs.C:
4494         * lyxfunc.C:
4495         * lyxtext.h:
4496         * text2.C: make getStatus work for the env depth lfuns
4497
4498 2003-04-03  John Levon  <levon@movementarian.org>
4499
4500         * bufferview_funcs.h:
4501         * bufferview_funcs.C:
4502         * lyxfunc.C:
4503         * lyxtext.h:
4504         * text2.C: parlistize decDepth(), by merging it with incDepth()
4505
4506 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4507
4508         * lyxrow.h: store a ParagraphList::iterator instead of a
4509         Paragraph* and adjust other class functions to suit.
4510
4511         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4512         above.
4513
4514 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4515
4516         * text2.C (setCursor): do not anchor to cursor row for the time being
4517
4518 2003-04-02  John Levon  <levon@movementarian.org>
4519
4520         * LyXAction.C:
4521         * lfuns.h:
4522         * lyx_main.C:
4523         * lyxtext.h:
4524         * text.C:
4525         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4526
4527 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4528
4529         * paragraph.h: make ParagraphList and ParagraphList::iterator
4530         friends of Paragraph.
4531
4532         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4533
4534         * ParagraphList.C: Use the private next_ and previous_ from
4535         Paragraph.
4536
4537 2003-04-01  John Levon  <levon@movementarian.org>
4538
4539         * ToolbarBackend.h:
4540         * ToolbarBackend.C:
4541         * Makefile.am: rename, remove defaults gunk
4542
4543         * MenuBackend.h:
4544         * MenuBackend.C: remove defaults gunk
4545
4546         * Languages.h:
4547         * Languages.C: remove defaults gunk
4548
4549         * lyx_main.h:
4550         * lyx_main.C: error out if files couldn't be found.
4551
4552 2003-04-02  John Levon  <levon@movementarian.org>
4553
4554         * text2.C: make incDepth() use parlist
4555
4556 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4557
4558         * undo_funcs.C (firstUndoParagraph): adjust
4559
4560         * text3.C (gotoInset): adjust
4561         (dispatch): adjust, and rewrite loop.
4562
4563         * text2.C (init): adjust, and rewrite loop.
4564         (redoParagraphs): adjust
4565         (updateInset): adjust, and rewrite loop.
4566         (deleteEmptyParagraphMechanism): adjust
4567
4568         * tabular.C (LyXTabular): adjust
4569         (SetMultiColumn): adjust
4570         (TeXRow): adjust
4571
4572         * lyxtext.[Ch] (ownerParagraph): delete function
4573         (ownerParagraphs): new function returns a ParagraphList.
4574
4575         * BufferView.C (removeAutoInsets): adjust
4576         (insertErrors): adjust
4577         (setCursorFromRow): adjust
4578
4579 2003-04-01  Angus Leeming  <leeming@lyx.org>
4580
4581         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4582         in the frontends.
4583
4584 2003-04-02  John Levon  <levon@movementarian.org>
4585
4586         * lyxtext.h:
4587         * text.C:
4588         * Makefile.am:
4589         * text_funcs.h:
4590         * text_funcs.C: make transposeChars a free function
4591
4592         * lyxrow_funcs.C: remove wrong comment
4593
4594 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4595
4596         * lyxtext.h: adjust
4597         * rowpainter.C: adjust
4598         * text.C: adjust
4599         * text2.C: adjust
4600         * text3.C: adjust
4601
4602         * lyxrow_funcs. [Ch]: new files
4603
4604         * lyxrow.[Ch]: remove next and previous pointers
4605         (next,previous): remove accessor functions
4606         (isParEnd): move to lyxrow_funcs
4607         (lastPos): move to lyxrow_funcs
4608         (nextRowIsAllInset): move to lyxrow_funcs
4609         (lastPrintablePos): move to lyxrow_funcs
4610         (numberOfSeparators): move to lyxrow_funcs
4611         (numberOfHfills): move to lyxrow_funcs
4612         (numberOfLabelHfills): move to lyxrow_funcs
4613         (hfillExpansion): move to lyxrow_funcs
4614
4615         * lyxfunc.C: adjust
4616
4617         * bufferview_funcs.C (toggleAndShow): adjust
4618
4619         * RowList.h: Remove class RowList from file leave just a
4620         std::list<Row>.
4621
4622         * RowList.C: delete file
4623
4624         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4625         and lyxrow_funcs.h
4626
4627 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4628
4629         * text3.C (cursorPrevious): adjust
4630         (cursorNext): adjust
4631         (dispatch): adjust
4632
4633         * text2.C (redoHeightOfParagraph): adjust
4634         (redoDrawingOfParagraph): adjust
4635         (setCursor): adjust
4636
4637         * text.C (breakParagraph): adjust
4638         (insertChar): adjust
4639         (backspace): adjust
4640
4641         * rowpainter.C (RowPainter): adjust
4642         (leftMargin): simplify and adjust
4643         (most rowpainter functions): adjust.
4644
4645         * rowpainter.h: store the row as RowList::iterator not as Row*
4646
4647         * lyxcursor.C (row): taka RowList::iterator as arg
4648         (irow): ditto
4649
4650         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4651         of Row*.
4652
4653 2003-04-01  Angus Leeming  <leeming@lyx.org>
4654
4655         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4656         stuff like bool Bool.
4657
4658 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4659
4660         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4661         rewrite a loop
4662
4663 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4664
4665         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4666         RowList::iterator.
4667
4668         * lyxtext.h (rows): drop one version and leve a const variant that
4669         returns a RowList::iterator.
4670
4671 2003-03-31  Angus Leeming  <leeming@lyx.org>
4672
4673         * text.C (fill): ensure that the signature is the same as that in the
4674         header file.
4675
4676 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4677
4678         * text2.C (redoParagraphs): adjust
4679         (updateCounters): adjust
4680         (checkParagraph): adjust
4681         (getColumnNearX): adjust and reformat a bit.
4682
4683         * text.C (top_y): adjust
4684         (workWidth): adjust
4685         (leftMargin): adjust
4686         (prepareToPrint): adjust
4687         (getRow): adjust
4688         (getRowNearY): adjust
4689
4690         * lyxtext.h: make rowlist_ mutable.
4691
4692         * RowList.h: add const_iterator
4693         * RowList.C: adjust for RowList::const_iterator.
4694
4695         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4696         adjust.
4697
4698 2003-03-31  John Levon  <levon@movementarian.org>
4699
4700         * lyxrc.h:
4701         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4702
4703         * lyx_main.C: set default fonts from using lyx_gui funcs
4704
4705         * exporter.C: pdf_mode moved from lyxrc
4706
4707         * lyx_cb.C:
4708         * lyxfunc.C: changes from above
4709
4710 2003-03-31  John Levon  <levon@movementarian.org>
4711
4712         * lyx_main.C: fix to the last fix
4713
4714 2003-03-31  John Levon  <levon@movementarian.org>
4715
4716         * bufferlist.C: "Load original" -> "Load Original"
4717
4718         * converter.C:
4719         * exporter.C:
4720         * importer.C:
4721         * lyx_main.C:
4722         * format.C: more Alert cleanups
4723
4724 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4725
4726         * text2.C (removeParagraph): make it take a RowList::iterator as
4727         arg, adjust.
4728         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4729         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4730
4731         * text.C (anchor_row): make it take a RowList::iterator as arg,
4732         adjust.
4733         (computeBidiTables): make it take a const reference to Row instead
4734         of Row pointer, adjust.
4735         (leftMargin): make it take a RowList::iterator as arg, adjust.
4736         (rowBreakPoint): adjust
4737         (breakAgainOneRow): make it take a RowList::iterator as arg,
4738         adjust.
4739         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4740
4741         * bufferview_funcs.C (toggleAndShow): adjust
4742
4743 2003-03-30  John Levon  <levon@movementarian.org>
4744
4745         * Makefile.am:
4746         * BoostFormat.h:
4747         * boost-inst.C: moved to support
4748
4749         * several files: changes as a result
4750
4751 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4752
4753         * text2.C (LyXText): adjust.
4754         (init): adjust
4755         (removeRow): make it take a RowList::iterator as arg, adjust.
4756         (fullRebreak): adjust
4757         (deleteEmptyParagraphMechanism): adjust
4758         (clearPaint): adjust
4759         (postPaint): adjust
4760
4761         * text.C (top_y): adjust
4762         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4763         (breakAgain): make it take a RowList::iterator as arg, adjust.
4764         (breakParagraph): adjust
4765         (insertChar): adjust
4766         (backspace): adjust
4767
4768         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4769         need_break_row, and refresh_row.
4770
4771         * text3.C (dispatch): adjust
4772
4773         * text2.C (checkParagraph): adjust
4774         (setCursor): adjust
4775         (setCursorFromCoordinates): adjust
4776
4777         * text.C (top_y): adjust
4778         (workWidth): adjust
4779         (getRow): make it return a RowList::iterator, adjust
4780         (getRowNearY): make it return a RowList::iterator, adjust
4781
4782         * text2.C (init): adjust
4783         (insertRow): remove function
4784         (insertParagraph): adjust
4785         (redoParagraphs): adjust
4786         (fullRebreak): adjust
4787         (updateCounters): adjust
4788
4789         * text.C (top_y): rewrite to use RowList iterators.
4790         (top_y): adjust
4791         (setHeightOfRow): rewrite to sue RowList iterators.
4792         (appendParagraph): adjust
4793         (breakAgain): adjust
4794         (breakAgainOneRow): adjust
4795         (breakParagraph): adjust
4796         (getRow): adjust
4797         (getRowNearY): adjust, and remove commented code.
4798
4799         * lyxtext.h (firstRow): delete function
4800         (lastRow): delete function
4801         (rows): new function (const and non-const versions.)
4802         (insertRow): delete function
4803
4804         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4805
4806 2003-03-29  John Levon  <levon@movementarian.org>
4807
4808         * BufferView_pimpl.C: always update scrollbar top
4809         because pasting text when we're anchored could mean we
4810         miss an update altogether
4811
4812 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4813
4814         * text2.C (init): use rowlist_.end() and not 0.
4815         (insertRow): change to take a RowList::iterator as arg, adjust
4816         for this.
4817         (insertParagraph): change to take a RowList::iterator as arg,
4818         adjust for this.
4819         (redoParagraphs): remove some debug msgs.
4820
4821         * text.C (appendParagraph): change to take a RowList::iterator
4822         arg, adjust for this.
4823         (breakAgain): add an assert
4824         (breakAgainOneRow): ditto
4825
4826 2003-03-29  John Levon  <levon@movementarian.org>
4827
4828         * text2.C: do not clear selection after inc/decDepth
4829         (bug 550)
4830
4831 2003-03-29  John Levon  <levon@movementarian.org>
4832
4833         * BufferView.C:
4834         * buffer.C: fix broken strerrors according to Lars
4835
4836 2003-03-29  John Levon  <levon@movementarian.org>
4837
4838         * converters.C: more Alert cleanups
4839
4840 2003-03-29  John Levon  <levon@movementarian.org>
4841
4842         * bufferview_funcs.C: remove pointless Alert
4843
4844         * buffer.C: fix confusing error message when
4845         a template is chmoded 000
4846
4847 2003-03-29  John Levon  <levon@movementarian.org>
4848
4849         * BufferView.C:
4850         * BufferView.h:
4851         * BufferView_pimpl.C: Alert fixes
4852
4853         * Makefile.am:
4854         * tabular.C:
4855         * tabular-old.C: remove unused table compat reading
4856
4857 2003-03-29  John Levon  <levon@movementarian.org>
4858
4859         * BufferView.C:
4860         * buffer.C:
4861         * lyx_cb.h:
4862         * lyx_cb.C: more Alert cleanups
4863
4864         * lyxfunc.C: don't allow chktex if not latex document
4865
4866 2003-03-29  John Levon  <levon@movementarian.org>
4867
4868         * lyx_cb.C:
4869         * BufferView.C:
4870         * buffer.C: warnings pushed down from support/,
4871         kill err_alert
4872
4873 2003-03-29  John Levon  <levon@movementarian.org>
4874
4875         * lyxfunc.C: safety check for C-r (revert)
4876
4877 2003-03-29  John Levon  <levon@movementarian.org>
4878
4879         * bufferlist.h:
4880         * bufferlist.C: several UI fixes using Alert::prompt.
4881         Fix the pointless looping quit code. Fix stupid revert
4882         behaviour (bug 938)
4883
4884         * lyxvc.h:
4885         * lyxvc.C:
4886         * lyx_cb.C: use Alert::prompt
4887
4888         * lyx_main.C: remove a silly question
4889
4890         * lyxfunc.C: remove a couple of silly questions,
4891         use Alert::prompt
4892
4893 2003-03-28  John Levon  <levon@movementarian.org>
4894
4895         * text2.C: fix bug 974 (End on empty par)
4896
4897 2003-03-28  John Levon  <levon@movementarian.org>
4898
4899         * BufferView_pimpl.C:
4900         * LyXAction.C:
4901         * lfuns.h: remove do-nothing math greek lfuns
4902
4903 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4904
4905         * lyxgluelength.h (isValidGlueLength): add default arg on
4906         parameter 2. Remove default arg from friend in class.
4907
4908         * lyxlength.h (isValidLength): add default arg on parameter 2.
4909         Remove default arg from friend in class.
4910
4911         * text2.C (LyXText): adjust, initialize refresh_row.
4912         (init): adjust
4913         (removeRow): adjust
4914         (insertRow): adjust
4915         (insertParagraph): adjst
4916         (redoParagraphs): adjust
4917         (fullRebreak): adjust
4918         (updateCounters): adjust
4919         (deleteEmptyParagraphMechanism): first attempt at fixing a
4920         crashing bug.
4921
4922         * text.C (top_y): adjust
4923         (setHeightOfRow): adjust
4924         (getRow): adjust
4925         (getRowNearY): adjust
4926
4927         * lyxtext.h: include RowList.h
4928         (~LyXText): not needed anymore, deleted.
4929         (firstRow): modify for RowList
4930         (lastRow): new function
4931         Delete firstrow and lastrow class variables, add a Rowlist
4932         rowlist_ class variable.
4933
4934         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4935         paragraph is empty.
4936
4937         * RowList.C (insert): fix case where it == begin().
4938
4939 2003-03-26  Angus Leeming  <leeming@lyx.org>
4940
4941         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4942         the thesaurus dialog.
4943
4944 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4945
4946         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4947
4948         * RowList.[Ch]: new files
4949
4950         * ParagraphList.C (erase): handle the case where it == begin
4951         correctly.
4952
4953 2003-03-25  John Levon  <levon@movementarian.org>
4954
4955         * Makefile.am:
4956         * aspell_local.h:
4957         * aspell.C: add new aspell support
4958
4959         * lyxrc.h:
4960         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4961         have it accessible.
4962
4963 2003-03-25  Angus Leeming  <leeming@lyx.org>
4964
4965         * lfuns.h:
4966         * LyXAction.C (init): new LFUN_INSET_INSERT.
4967
4968         * BufferView_pimpl.C (dispatch): split out part of the
4969         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4970
4971         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4972         LFUN_INSET_APPLY.
4973
4974 2003-03-25  Angus Leeming  <leeming@lyx.org>
4975
4976         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4977
4978 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4979
4980         * text2.C:
4981         * text3.C: remove useless row->height(0)
4982
4983 2003-03-25  John Levon  <levon@movementarian.org>
4984
4985         * lyxtext.h:
4986         * text2.C:
4987         * text3.C: rename the refreshing stuff to better names
4988
4989 2003-03-24  John Levon  <levon@movementarian.org>
4990
4991         * BufferView_pimpl.h:
4992         * BufferView_pimpl.C: update layout choice on a mouse
4993         press/release
4994
4995 2003-03-23  John Levon  <levon@movementarian.org>
4996
4997         * Makefile.am: fix commandtags.h reference
4998
4999 2003-03-22  John Levon  <levon@movementarian.org>
5000
5001         * BufferView_pimpl.C:
5002         * lyxtext.h:
5003         * rowpainter.C:
5004         * rowpainter.h:
5005         * text.C:
5006         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5007
5008 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5009
5010         * lyxtext.h:
5011         * text.C: take the rtl methods out of line
5012
5013 2003-03-21 André Pönitz <poenitz@gmx.net>
5014
5015         * metricsinfo.[Ch]: new files containing structures to be passed around
5016         during the two-phase-drawing...
5017
5018 2003-03-21 André Pönitz <poenitz@gmx.net>
5019
5020         * lyxtextclass.C: read 'environment' tag.
5021
5022 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5023
5024         * text2.C (removeRow): fix bug 964
5025
5026 2003-03-20  John Levon  <levon@movementarian.org>
5027
5028         * rowpainter.C:
5029         * text.C:
5030         * text2.C: paint cleanups. Inset::update() dropped font
5031         parameter
5032
5033 2003-03-19  John Levon  <levon@movementarian.org>
5034
5035         * lyxfunc.C: only fitcursor/markDirty if available()
5036
5037 2003-03-19  John Levon  <levon@movementarian.org>
5038
5039         * commandtags.h: rename to ...
5040
5041         * lfuns.h: ... this, and renumber / cleanup
5042
5043 2003-03-19  John Levon  <levon@movementarian.org>
5044
5045         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5046         fit the cursor after an lfun
5047
5048         * BufferView.h:
5049         * BufferView.C:
5050         * BufferView_pimpl.h:
5051         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5052
5053         * LyXAction.C: layout-character should have ReadOnly
5054
5055         * ParagraphParameters.C:
5056         * buffer.C:
5057         * bufferview_funcs.C:
5058         * lyx_cb.C:
5059         * lyxfind.C:
5060         * lyxtext.h:
5061         * text.C:
5062         * text2.C:
5063         * text3.C:
5064         * undo_funcs.C: changes from above
5065
5066 2003-03-18  John Levon  <levon@movementarian.org>
5067
5068         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5069         remove it from update()
5070
5071         * lyxfunc.C: update layout choice after an lfun
5072
5073         * text3.C: remove extra updateLayoutChoice()s
5074
5075 2003-03-18  John Levon  <levon@movementarian.org>
5076
5077         * text.C: top_y change means full repaint, fix
5078         a drawing bug with cursor movement
5079
5080 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5081
5082         * lyxtext.h:
5083         * text.C:
5084         * text2.C: anchor row on setCursor
5085
5086 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5087
5088         * lyxtext.h: remove almost all mutable keywords
5089         * text.C:
5090         * text2.C:
5091         * text3.C: remove const keywords accordingly
5092
5093 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5094
5095         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5096         anon namespace
5097         (TeXEnvironment): ditto
5098         (TeXOnePar): ditto
5099
5100 2003-03-17  John Levon  <levon@movementarian.org>
5101
5102         * text.C (rowBreakPoint): remove attempt to fix displayed
5103         math insets inside a manual label
5104
5105 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5106
5107         * lyxtext.h: remove BufferView* as first arg from almost all class
5108         functions.
5109         * other files: adjust.
5110
5111 2003-03-17  John Levon  <levon@movementarian.org>
5112
5113         * lyxtext.h:
5114         * undo_funcs.C:
5115         * text2.C: more paint cleanups
5116
5117         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5118
5119         * rowpainter.h:
5120         * rowpainter.C: remove "smart" background painting code
5121
5122 2003-03-16  John Levon  <levon@movementarian.org>
5123
5124         * lyxtext.h:
5125         * text.C:
5126         * text2.C:
5127         * text3.C: add helper functions for setting refresh_row/y
5128
5129 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5130
5131         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5132         newline inset which *can* get inserted in the pass_thru layouts.
5133         This is primarily for literate documents.
5134
5135 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5136
5137         * buffer.C: increment LYX_FORMAT to 223
5138
5139 2003-03-14 André Pönitz <poenitz@gmx.net>
5140
5141         * textclass.h: prepare for environment handling, ws changes
5142         * lyxlayout.C: read latexheader and latexfooter tags
5143
5144 2003-03-14  John Levon  <levon@movementarian.org>
5145
5146         * text2.C: rewrite ::status() a bit
5147
5148 2003-03-13  John Levon  <levon@movementarian.org>
5149
5150         * lyxtext.h: add some docs
5151
5152 2003-03-13  John Levon  <levon@movementarian.org>
5153
5154         * lyxtext.h:
5155         * text.C:
5156         * text2.C:
5157         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5158
5159 2003-03-13  John Levon  <levon@movementarian.org>
5160
5161         * text3.C: fix appendix redrawing
5162
5163 2003-03-13  John Levon  <levon@movementarian.org>
5164
5165         * text.C (setHeightOfRow):
5166         * rowpainter.h:
5167         * rowpainter.C: make appendix mark have the text
5168           "Appendix" so the user knows what it is
5169
5170         * LColor.h:
5171         * LColor.C: s/appendixline/appendix/ from above
5172
5173 2003-03-13  John Levon  <levon@movementarian.org>
5174
5175         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5176
5177         * text.C: fix a getChar(pos) bug properly
5178
5179 2003-03-13  Angus Leeming  <leeming@lyx.org>
5180
5181         * commandtags.h:
5182         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5183         Probably only temporary. Let's see how things pan out.
5184
5185         * BufferView.C (unlockInset):
5186         * BufferView_pimpl.C (fitCursor):
5187         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5188
5189         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5190         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5191
5192         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5193         new functions that convert ParagraphParameters to and from a string.
5194
5195         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5196         BufferView::Pimpl's dispatch.
5197         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5198
5199 2003-03-13 André Pönitz <poenitz@gmx.net>
5200
5201         * lyxfunc.C:
5202         * text3.C:
5203         * factory.C: make it aware of InsetEnv
5204
5205 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5206
5207         * text2.C (setCursor): never ask for one past last
5208         (setCursor): add some debugging messages.
5209
5210         * text.C (singleWidth): never ask for one past last
5211         (singleWidth): ditto
5212         (leftMargin): ditto
5213         (rightMargin): ditto
5214         (rowBreakPoint): ditto
5215         (setHeightOfRow): ditto
5216         (prepareToPrint): ditto
5217
5218         * rowpainter.C (paintBackground): never ask for one past last
5219         (paintText): never ask for one past last
5220
5221         * paragraph_pimpl.C (getChar): make the assert stricter, never
5222         allow the one past last pos to be taken
5223
5224         * paragraph.C (getChar): ws changes only
5225
5226         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5227         (numberOfSeparators): ditto
5228         (numberOfHfills): ditto
5229
5230 2003-03-12  John Levon  <levon@movementarian.org>
5231
5232         * author.h:
5233         * author.C:
5234         * bufferparams.h:
5235         * bufferparams.C:
5236         * paragraph_funcs.C: fix per-buffer authorlists
5237
5238 2003-03-12  John Levon  <levon@movementarian.org>
5239
5240         * text.C: fix newline in right address
5241
5242 2003-03-12  Angus Leeming  <leeming@lyx.org>
5243
5244         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5245         duplicate those in LyXFunc::dispatch.
5246
5247         * commandtags.h:
5248         * LyXAction.C:
5249         * ToolbarDefaults.C:
5250         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5251         Add LFUN_FONTFREE_UPDATE.
5252
5253         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5254         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5255
5256         * bufferview_func.[Ch]: several new functions to facilliate
5257         transfer of data to and from the character dialog.
5258
5259 2003-03-12  John Levon  <levon@movementarian.org>
5260
5261         * buffer.C:
5262         * paragraph.h:
5263         * paragraph.C:
5264         * paragraph_funcs.C:
5265         * paragraph_pimpl.C:
5266         * sgml.C:
5267         * tabular.C:
5268         * text.C:
5269         * text3.C: remove META_NEWLINE in favour of an inset
5270
5271         * rowpainter.h:
5272         * rowpainter.C: remove paintNewline (done by inset)
5273
5274 2003-03-12  John Levon  <levon@movementarian.org>
5275
5276         * paragraph_pimpl.C: complain about bad getChar()s
5277         for a while at least
5278
5279 2003-03-12  John Levon  <levon@movementarian.org>
5280
5281         * buffer.h:
5282         * buffer.C: move paragraph read into a separate function,
5283         a little renaming to reflect that.
5284
5285         * bufferparams.h:
5286         * bufferparams.C: remove the author_ids map, not necessary now
5287
5288         * factory.h:
5289         * factory.C: moved Buffer::readInset to here
5290
5291         * paragraph_funcs.h:
5292         * paragraph_funcs.C: readParagraph free function moved from
5293         buffer.C
5294
5295         * tabular.C: name change
5296
5297 2003-03-12  John Levon  <levon@movementarian.org>
5298
5299         * buffer.C:
5300         * ParagraphParameters.C: move par params input to
5301         a read() method
5302
5303         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5304         behave like a normal read from the stream wrt reading
5305         a line vs. a \\token
5306
5307 2003-03-12  John Levon  <levon@movementarian.org>
5308
5309         * paragraph.C:
5310         * ParagraphParameters.h:
5311         * ParagraphParameters.C: move output code to a
5312         ::write() method
5313
5314 2003-03-12  John Levon  <levon@movementarian.org>
5315
5316         * BufferView.C (insertLyXFile):
5317         * buffer.h:
5318         * buffer.C:
5319         * tabular.C: use a parlist iterator for creating the
5320           document.
5321
5322 2003-03-12  John Levon  <levon@movementarian.org>
5323
5324         * buffer.C: make current_change static local not
5325           static file-scope
5326
5327 2003-03-12  John Levon  <levon@movementarian.org>
5328
5329         * buffer.C: fix insertStringAsLines for change tracking
5330
5331 2003-03-12  John Levon  <levon@movementarian.org>
5332
5333         * BufferView.C:
5334         * tabular.C:
5335         * buffer.h:
5336         * buffer.C:
5337         * bufferparams.h:
5338         * bufferparams.C: move author list into params. Rename some
5339           functions. Move the header reading into a separate token
5340           loop. Move the header token reading into BufferParams.
5341
5342 2003-03-12  John Levon  <levon@movementarian.org>
5343
5344         * changes.C: put debug inside lyxerr.debugging() checks
5345
5346 2003-03-11 André Pönitz <poenitz@gmx.net>
5347
5348         * factory.C: make it aware of InsetHFill
5349
5350 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5351
5352         * buffer.C (latexParagraphs): move function from here...
5353         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5354         args.
5355
5356 2003-03-10  Angus Leeming  <leeming@lyx.org>
5357
5358         * LyXAction.C (init): fix bug in poplating array with multiple entries
5359         with the same LFUN (spotted by JMarc).
5360
5361 2003-03-10  John Levon  <levon@movementarian.org>
5362
5363         * text.C:
5364         * text2.C: move getColumnNearX() near its
5365         only call site
5366
5367 2003-03-10  John Levon  <levon@movementarian.org>
5368
5369         * text.C: fix break before a minipage
5370
5371 2003-03-10  John Levon  <levon@movementarian.org>
5372
5373         * text.C: fix the last commit
5374
5375 2003-03-09  John Levon  <levon@movementarian.org>
5376
5377         * lyxtext.h:
5378         * text.C:
5379         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5380         bug 365 (don't break before insets unless needed). Don't
5381         return a value > last under any circumstances.
5382
5383 2003-03-09  Angus Leeming  <leeming@lyx.org>
5384
5385         * BufferView_pimpl.C (trackChanges, dispatch): call
5386         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5387
5388 2003-03-09  Angus Leeming  <leeming@lyx.org>
5389
5390         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5391         than Dialogs::showAboutlyx().
5392
5393 2003-03-09  Angus Leeming  <leeming@lyx.org>
5394
5395         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5396         than Dialogs::showTabularCreate().
5397
5398 2003-03-09  John Levon  <levon@movementarian.org>
5399
5400         * lyxtext.h:
5401         * text.C:
5402         * text2.C: 3rd arg to nextBreakPoint was always the same.
5403           Use references.
5404
5405 2003-03-08  John Levon  <levon@movementarian.org>
5406
5407         * lyxrow.C:
5408         * paragraph.C:
5409         * paragraph.h:
5410         * rowpainter.C:
5411         * text.C:
5412         * text2.C: Remove the "main" bit from the "main body"
5413           notion.
5414
5415 2003-03-08  John Levon  <levon@movementarian.org>
5416
5417         * text.C (leftMargin): The left margin of an empty
5418         manual label paragraph should not include the label width
5419         string length.
5420
5421         * text.C (prepareToPrint): don't attempt to measure hfills
5422         for empty manual label paragraphs - the answer should be 0
5423
5424 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5425
5426         * CutAndPaste.C: remove commented code and reindent.
5427
5428 2003-03-08  John Levon  <levon@movementarian.org>
5429
5430         * lyxfunc.h:
5431         * lyxfunc.C: move reloadBuffer()
5432
5433         * BufferView.h:
5434         * BufferView.C: to here
5435
5436         * lyxvc.C: add comment
5437
5438         * vc-backend.h:
5439         * vc-backend.C: call bv->reload() to avoid
5440           getStatus() check on MENURELOAD
5441
5442 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5443
5444         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5445         to an old format .dep file.
5446
5447 2003-03-07  Angus Leeming  <leeming@lyx.org>
5448
5449         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5450         when the LFUN_MOUSE_RELEASE should have been handled by
5451         inset->localDispatch.
5452
5453 2003-03-07  Angus Leeming  <leeming@lyx.org>
5454
5455         * BufferView_pimpl.C (dispatch):
5456         * LyXAction.C (init):
5457         * ToolbarDefaults.C (init):
5458         * commandtags.h:
5459         * lyxfunc.C (getStatus):
5460         remove LFUN_INSET_GRAPHICS.
5461
5462         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5463
5464 2003-03-07  Angus Leeming  <leeming@lyx.org>
5465
5466         * commandtags.h:
5467         * LyXAction.C (init):
5468         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5469
5470         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5471
5472         * commandtags.h:
5473         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5474
5475         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5476         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5477
5478 2003-03-07  Angus Leeming  <leeming@lyx.org>
5479
5480         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5481         remove "ert".
5482
5483 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5484
5485         * ParagraphList.C (front): new function
5486         (back): implement
5487
5488 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5489
5490         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5491         and top_row_offset_. removed var first_y.
5492         * text.C (top_y):
5493         * text2.C (LyXText, removeRow):
5494         * text3.C:
5495         * BufferView_pimpl.C:
5496         use these methods instead of using first_y
5497
5498 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5499
5500         * text2.C (pasteSelection): adjust for checkPastePossible
5501
5502         * CutAndPaste.C: remove Paragraph * buf and replace with
5503         ParagraphList paragraphs.
5504         (DeleteBuffer): delete
5505         (cutSelection): change the tc type to textclass_type
5506         (copySelection): change the tc type to textclass_type
5507         (copySelection): adjust for ParagraphList
5508         (pasteSelection): change the tc type to textclass_type
5509         (pasteSelection): adjust for Paragraphlist
5510         (nrOfParagraphs): simplify for ParagraphList
5511         (checkPastePossible): simplify for ParagraphList
5512         (checkPastePossible): remove unused arg
5513
5514         * ParagraphList.C (insert): handle the case where there are no
5515         paragraphs yet.
5516
5517         * CutAndPaste.h: make CutAndPaste a namespace.
5518
5519         * text3.C (dispatch): adjust
5520
5521         * text.C (breakParagraph): add a ParagraphList as arg
5522
5523         * paragraph_funcs.C (breakParagraph): change to take a
5524         BufferParams and a ParagraphList as args.
5525         (breakParagraphConservative): ditto
5526         (mergeParagraph): ditto
5527         (TeXDeeper): add a ParagraphList arg
5528         (TeXEnvironment): ditto
5529         (TeXOnePar): ditto
5530
5531         * buffer.C (readLyXformat2): adjust
5532         (insertStringAsLines): adjust
5533         (latexParagraphs): adjust
5534
5535         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5536         (cutSelection): adjust
5537         (pasteSelection): adjust
5538
5539         * BufferView_pimpl.C (insertInset): adjust
5540
5541 2003-03-05  Angus Leeming  <leeming@lyx.org>
5542
5543         * commandtags.h:
5544         * LyXAction.C (init):
5545         * BufferView_pimpl.C (dispatch):
5546         * lyxfunc.C (getStatus):
5547         remove LFUN_CHILD_INSERT.
5548
5549         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5550
5551 2003-03-05  Angus Leeming  <leeming@lyx.org>
5552
5553         * commandtags.h:
5554         * LyXAction.C (init):
5555         * src/factory.C (createInset):
5556         * lyxfunc.C (getStatus):
5557         * text3.C (dispatch):
5558         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5559
5560         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5561
5562 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5563
5564         * ParagraphList.C (insert): handle insert right before end()
5565         (erase): fix cases where it can be first or last paragraph.
5566
5567 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5568
5569         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5570         Paragraph::next and Paragraph::previous
5571         (TeXOnePar): ditto
5572
5573         * text.C (breakParagraph): adjust
5574
5575         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5576         BufferParams& as arg.
5577         (breakParagraph): use ParagraphList::insert
5578         (breakParagraphConservative): take a Buffer* instead of a
5579         BufferParams& as arg.
5580         (breakParagraphConservative): use ParagraphList::insert.
5581
5582         * buffer.C (insertStringAsLines): un-const it
5583         (insertStringAsLines): adjust
5584
5585         * ParagraphList.C (insert): new function
5586
5587         * CutAndPaste.C (pasteSelection): adjust
5588
5589         * text.C (backspace): adjust
5590
5591         * tabular.C (SetMultiColumn): adjust
5592
5593         * CutAndPaste.C (cutSelection): adjust
5594         (pasteSelection): adjust
5595
5596         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5597         Buffer const * as arg
5598
5599         * ParagraphList.C (erase): new function
5600         * paragraph_funcs.C (mergeParagraph): use it
5601         (mergeParagraph): make it take a Buffer* instead of a
5602         BufferParams* as arg
5603
5604         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5605         as arg
5606         (breakParagraphConservative): ditto
5607
5608         * paragraph.h: remove the breakParagraph friend
5609
5610         * paragraph.C (eraseIntern): new function
5611         (setChange): new function
5612
5613         * paragraph_funcs.C (mergeParagraph): make it take a
5614         ParagraphList::iterator instead of a Paragraph *, adjust
5615         accordingly.
5616
5617         * paragraph.h: move an #endif so that the change tracking stuff
5618         also works in the NO_NEXT case.
5619
5620 2003-03-04  Angus Leeming  <leeming@lyx.org>
5621
5622         * commandtags.h:
5623         * LyXAction.C: new LFUN_INSET_MODIFY.
5624
5625         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5626         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5627
5628 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5629
5630         * several files: ws changes only
5631
5632         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5633         (TeXEnvironment): ditto
5634         (TeXDeeper): ditto
5635
5636         * buffer.C (makeLaTeXFile): adjust
5637         (latexParagraphs): make it take ParagraphList::iterator as args
5638
5639 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5640
5641         * buffer.C (latexParagraphs): adjust
5642
5643         * paragraph.C (TeXOnePar): move function...
5644         (optArgInset): move function...
5645         (TeXEnvironment): move function...
5646         * paragraph_pimpl.C (TeXDeeper): move function...
5647         * paragraph_funcs.C: ...here
5648
5649         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5650
5651 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5652
5653         * buffer.C (readInset): remove compability code for old Figure and
5654         InsetInfo insets
5655
5656 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5657
5658         * buffer.C: ws changes
5659         (readInset):
5660
5661         * BufferView_pimpl.C: ditto
5662         * author.C: ditto
5663         * buffer.h: ditto
5664         * bufferlist.h: ditto
5665         * changes.h: ditto
5666         * lyxfunc.C: ditto
5667
5668 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5669
5670         * converter.[Ch]: split into itself +
5671         * graph.[Ch]
5672         * format.[Ch]
5673         * Makefile.am: += graph.[Ch] + format.[Ch]
5674         * MenuBackend.C
5675         * buffer.C
5676         * exporter.C
5677         * importer.C
5678         * lyx_main.C
5679         * lyxfunc.C
5680         * lyxrc.C: added #include "format.h"
5681
5682 2003-02-27  Angus Leeming  <leeming@lyx.org>
5683
5684         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5685           a label.
5686
5687         * factory.C (createInset): add "label" to the factory.
5688
5689         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5690           string and do no more.
5691
5692 2003-02-27  Angus Leeming  <leeming@lyx.org>
5693
5694         * commandtags.h:
5695         * LyXAction.C (init):
5696         * factory.C (createInset):
5697         * BufferView_pimpl.C (dispatch):
5698           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5699
5700         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5701
5702         * lyxfunc.C (dispatch):
5703         * text3.C (dispatch): pass name to params2string.
5704
5705 2003-02-26  Angus Leeming  <leeming@lyx.org>
5706
5707         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5708           blocks together.
5709           Rearrange the ~includes. Strip out the unnecessary ones.
5710
5711         * factory.C (createInset): reformat.
5712           create new insets for the various LFUN_XYZ_APPLY lfuns.
5713
5714 2003-02-26  John Levon  <levon@movementarian.org>
5715
5716         * lyxrow.h:
5717         * lyxrow.C: add isParStart,isParEnd helpers
5718
5719         * paragraph.h: make isInserted/DeletedText take refs
5720
5721         * paragraph_funcs.h:
5722         * paragraph_funcs.C: remove #if 0'd code
5723
5724         * lyxtext.h:
5725         * text3.C:
5726         * text2.C:
5727         * text.C: use lyxrow helpers above.
5728           Move draw and paint routines to RowPainter.
5729           Make several methods use refs not pointers.
5730           Make backgroundColor() const.
5731           Add markChangeInDraw(), isInInset().
5732           Merge changeRegionCase into changeCase.
5733           Make workWidth() shouldn't-happen code into an Assert.
5734
5735         * rowpainter.h:
5736         * rowpainter.C: new class for painting a row.
5737
5738         * vspace.h:
5739         * vspace.C: make inPixels take a ref
5740
5741 2003-02-26  Angus Leeming  <leeming@lyx.org>
5742
5743         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5744         LFUN_REF_APPLY.
5745
5746 2003-02-25  John Levon  <levon@movementarian.org>
5747
5748         * ispell.C: give the forked command a more accurate name
5749
5750 2003-02-22  John Levon  <levon@movementarian.org>
5751
5752         * toc.h:
5753         * toc.C: make TocItem store an id not a Paragraph *
5754           (bug #913)
5755
5756 2003-02-21  Angus Leeming  <leeming@lyx.org>
5757
5758         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5759           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5760           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5761           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5762           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5763           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5764
5765         * BufferView_pimpl.C (dispatch):
5766         * LyXAction.C (init):
5767         * factory.C (createInset):
5768         * lyxfunc.C (getStatus, dispatch):
5769         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5770
5771 2003-02-21  Angus Leeming  <leeming@lyx.org>
5772
5773         * BufferView_pimpl.C (MenuInsertLyXFile):
5774         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5775         * lyxfunc.C (menuNew, open, doImport):
5776           no longer pass a LyXView & to fileDlg.
5777
5778 2003-02-21  Angus Leeming  <leeming@lyx.org>
5779
5780         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5781         * LyXAction.C: change, BIBKEY to BIBITEM.
5782         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5783         Change InsetBibKey to InsetBibitem.
5784         Change BIBKEY_CODE to BIBITEM_CODE.
5785         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5786         * factory.C: replace insetbib.h with insetbibitem.h.
5787         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5788         * paragraph.C: replace insetbib.h with insetbibitem.h.
5789         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5790         Change bibkey() to bibitem().
5791         * text.C: remove insetbib.h.
5792         * text2.C: replace insetbib.h with insetbibitem.h.
5793         change bibkey() to bibitem().
5794         * text3.C: remove insetbib.h.
5795         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5796
5797 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5798
5799         * lyxrc.C (output): enclose user email in quotes (in case there are
5800         several words)
5801
5802 2003-02-18  John Levon  <levon@movementarian.org>
5803
5804         * buffer.h: add std::
5805
5806 2003-02-17  John Levon  <levon@movementarian.org>
5807
5808         * SpellBase.h:
5809         * ispell.h:
5810         * ispell.C:
5811         * pspell.h:
5812         * pspell.C: reworking. Especially in ispell, a large
5813           number of clean ups and bug fixes.
5814
5815         * lyxfunc.C: fix revert to behave sensibly
5816
5817 2003-02-17 André Pönitz <poenitz@gmx.net>
5818
5819         * LyXAction.C:
5820         * commandtags.h: new LFUN_INSERT_BIBKEY
5821
5822         * layout.h:
5823         * lyxlayout.C:
5824         * buffer.C:
5825         * factory.C:
5826         * text.C:
5827         * text2.C:
5828         * text3.C:
5829         * paragraph.[Ch]:
5830         * paragraph_func.C: remove special bibkey handling
5831
5832 2003-02-17  John Levon  <levon@movementarian.org>
5833
5834         * text.C (Delete): fix case where delete at the end of
5835           the very first paragraph would not merge the pars
5836
5837 2003-02-17  John Levon  <levon@movementarian.org>
5838
5839         * lyxrow.C: fix lastPrintablePos()
5840
5841 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5842
5843         * bufferparams.C (writeLaTeX): add a std:here
5844
5845         * buffer.C: and remove a using directive there
5846
5847 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5848
5849         * buffer.C (makeLaTeXFile): move the code that generates the
5850           preamble...
5851
5852         * bufferparams.C (writeLaTeX): ... in this new method
5853
5854         * LaTeXFeatures.C (getEncodingSet): make const
5855           (getLanguages): make const
5856
5857         * MenuBackend.C (binding): returns the binding associated to this
5858           action
5859           (add): sets the status of each item by calling getStatus. Adds
5860           some intelligence.
5861           (read): add support for OptSubMenu
5862           (expand): remove extra separator at the end of expanded menu
5863
5864 2003-02-15  John Levon  <levon@movementarian.org>
5865
5866         * BufferView.C:
5867         * BufferView_pimpl.C:
5868         * bufferlist.h:
5869         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5870           inset code that had no actual effect. Remove unneeded status
5871           code.
5872
5873 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5874
5875         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5876           in preamble
5877
5878 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5879
5880         * text.C (drawLengthMarker): also draw an arrow marker for
5881           symbolic lengths (medskip...)
5882
5883 2003-02-14  John Levon  <levon@movementarian.org>
5884
5885         * tabular.h:
5886         * tabular.C: better method names
5887
5888 2003-02-14  John Levon  <levon@movementarian.org>
5889
5890         * BufferView_pimpl.C:
5891         * bufferlist.C:
5892         * buffer.C:
5893         * converter.C:
5894         * lyx_cb.C:
5895         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5896           it's a more accurate name. Remove some pointless uses.
5897
5898 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5899
5900         * text2.C (LyXText): change order of initilizers to shut off
5901           warnings
5902
5903 2003-02-14  John Levon  <levon@movementarian.org>
5904
5905         * buffer.C: use ParIterator for getParFromID()
5906
5907         * paragraph.h:
5908         * paragraph.C:
5909         * paragraph_pimpl.h:
5910         * paragraph_pimpl.C: remove unused getParFromID()
5911
5912 2003-02-14  John Levon  <levon@movementarian.org>
5913
5914         * buffer.C: remove some very old #if 0'd parse code
5915
5916 2003-02-13  John Levon  <levon@movementarian.org>
5917
5918         * text.h:
5919         * text.C:
5920         * text2.C: move hfillExpansion(), numberOfSeparators(),
5921           rowLast(), rowLastPrintable(), numberofHfills(),
5922           numberOfLabelHfills() ...
5923
5924         * lyxrow.h:
5925         * lyxrow.C: ... to member functions here.
5926
5927         * paragraph.h:
5928         * paragraph.C:
5929         * lyxtext.h:
5930         * text.C: remove LyXText::beginningOfMainBody(), and call
5931           p->beginningOfMainBody() directly. Move the check for
5932           LABEL_MANUAL into the latter.
5933
5934         * text.h:
5935         * text.C:
5936         * text2.C:
5937         * vspace.C:
5938         * BufferView.h:
5939         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5940
5941         * text.h:
5942         * text.C:
5943         * text2.C:
5944         * text3.C:
5945         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5946           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5947
5948 2003-02-13  John Levon  <levon@movementarian.org>
5949
5950         * CutAndPaste.C: remove debug
5951
5952 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5953
5954         * paragraph.C (asString): remove two unused variables
5955
5956         * lyxtextclass.C (readTitleType):
5957           (Read):
5958           (LyXTextClass): handle new members titletype_ and titlename_
5959
5960         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5961
5962 2003-02-09  John Levon  <levon@movementarian.org>
5963
5964         * buffer.h:
5965         * buffer.C: replace hand-coded list with a map for the dep clean
5966
5967 2003-02-08  John Levon  <levon@movementarian.org>
5968
5969         * LaTeX.C: consolidate code into showRunMessage() helper
5970
5971 2003-02-08  John Levon  <levon@movementarian.org>
5972
5973         * lyxfind.C:
5974         * lyxtext.h:
5975         * text2.C:
5976         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5977           and pass the size in explicitly
5978
5979         * BufferView_pimpl.h:
5980         * BufferView_pimpl.C:
5981         * BufferView.h:
5982         * BufferView.C: add getCurrentChange()
5983
5984         * BufferView_pimpl.h:
5985         * BufferView_pimpl.C: handle change lfuns
5986
5987         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5988           for changes. Mark pasted paragraphs as new.
5989
5990         * support/lyxtime.h:
5991         * support/lyxtime.C:
5992         * DepTable.C: abstract time_t as lyx::time_type
5993
5994         * LColor.h:
5995         * LColor.C: add colours for new text, deleted text, changebars
5996
5997         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5998           package use "usenames" option.
5999
6000         * commandtags.h:
6001         * lyxfunc.C:
6002         * LyXAction.C: add change lfuns
6003
6004         * Makefile.am:
6005         * author.h:
6006         * author.C: author handling
6007
6008         * buffer.h:
6009         * buffer.C: add a per-buffer author list, with first entry as
6010           current author. Handle new .lyx tokens for change tracking. Output
6011           author list to .lyx file. Output dvipost stuff to .tex preamble.
6012           Bump lyx format to 222.
6013
6014         * bufferlist.h:
6015         * bufferlist.C: add setCurrentAuthor() to reset current author details
6016           in all buffers.
6017
6018         * bufferparams.h:
6019         * bufferparams.C: add param for tracking
6020
6021         * bufferview_funcs.C: output change info in minibuffer
6022
6023         * Makefile.am:
6024         * changes.h:
6025         * changes.C: add change-tracking structure
6026
6027         * debug.h:
6028         * debug.C: add CHANGES debug flag
6029
6030         * lyxfind.h:
6031         * lyxfind.C: add code for finding the next change piece
6032
6033         * lyxrc.h:
6034         * lyxrc.C: add user_name and user_email
6035
6036         * lyxrow.h:
6037         * lyxrow.C: add a metric for the top of the text line
6038
6039         * lyxtext.h:
6040         * text.C: implement accept/rejectChange()
6041
6042         * lyxtext.h:
6043         * text.C: paint changebars. Paint new/deleted text in the chosen
6044         colours. Strike through deleted text.
6045
6046         * paragraph.h:
6047         * paragraph.C:
6048         * paragraph_pimpl.h:
6049         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6050           in the current change to the insert functions. Rework erase to
6051           mark text as deleted, adding an eraseIntern() and a range-based
6052           erase(). Implement per-paragraph change lookup and
6053           accept/reject.
6054
6055         * paragraph_funcs.C: Fixup paste for change tracking.
6056
6057         * tabular.C: mark added row/columns as new.
6058
6059         * text.C: fix rowLast() to never return -1. Don't allow
6060           spellchecking of deleted text. Track transpose changes. Don't
6061           allow paragraph break or merge where appropriate.
6062
6063         * text2.C: leave cursor at end of selection after a cut.
6064
6065 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6066
6067         * text.C (getLengthMarkerHeight):
6068         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6069         visible on screen too.
6070
6071 2003-02-07  John Levon  <levon@movementarian.org>
6072
6073         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6074
6075 2003-02-05  Angus Leeming  <leeming@lyx.org>
6076
6077         * lyxserver.C (read_ready): revert my patch of 11 September last year
6078         as it sends PC cpu through the roof. Presumably this means that
6079         the lyxserver will no longer run on an Alpha...
6080
6081 2003-01-30  Angus Leeming  <leeming@lyx.org>
6082
6083         * factory.C (createInset): create an InsetCommandParam of type "index"
6084         and use it to 'do the right thing'.
6085
6086         * text2.C (getStringToIndex): ensure that cursor position is always
6087         reset to the reset_cursor position.
6088
6089 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6090
6091         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6092         disabled.
6093
6094 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6095
6096         * bufferview.C:
6097         * lyxcb.C:
6098         * lyxfunc.C: Output messages with identical spelling, punctuation,
6099         and spaces
6100
6101 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6102
6103         * MenuBackend.C (expandFormats): List only viewable export formats
6104         in "View" menu
6105
6106         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6107         message
6108
6109         * lyxfunc.C (getStatus): Make sure that formats other than
6110         "fax" can also be disabled
6111
6112 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6113
6114         * text3.C (dispatch): put the lfuns that insert insets in 3
6115         groups, and call doInsertInset with appropriate arguments.
6116         (doInsertInset): new function, that creates an inset and inserts
6117         it according to some boolean parameters.
6118
6119 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6120
6121         * buffer.C (readFile): remember to pass on 'par' when calling
6122         readFile recursively.
6123
6124 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6125
6126         * MenuBackend.C (expandFormats): add "..." to import formats.
6127
6128 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6129
6130         * paragraph.C (asString): Remove XForms RTL hacks.
6131
6132 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6133         * buffer.C: fix typo
6134
6135 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6136
6137         * Makefile.am (LIBS): delete var
6138         (lyx_LDADD): add @LIBS@ here instead.
6139
6140 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6141
6142         * Clarify the meaning of "wheel mouse jump"
6143
6144 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6145
6146         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6147         tabular in a float
6148
6149 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6150
6151         * importer.C (Loaders): do not preallocate 3 elements in the
6152         vector, since one ends up with 6 elements otherwise
6153
6154 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6155
6156         * DepTable.C (write): write the file name as last element of the
6157         .dep file (because it may contain spaces)
6158         (read): read info in the right order
6159
6160 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6161
6162         * paragraph_pimpl.C (simpleTeXBlanks):
6163         (simpleTeXSpecialChars):
6164         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6165
6166         * tabular.C (latex): add some missing case statements. Reindent.
6167
6168         * MenuBackend.C (expandToc): remove unused variable.
6169
6170 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6171
6172         * LColor.C:
6173         * LaTeX.C:
6174         * LyXAction.C:
6175         * MenuBackend.C:
6176         * buffer.C:
6177         * exporter.C:
6178         * lyxfunc.C:
6179         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6180         and the like.
6181
6182 2003-01-05  John Levon  <levon@movementarian.org>
6183
6184         * BufferView.h:
6185         * BufferView.C: add getEncoding()
6186
6187         * kbsequence.h:
6188         * kbsequence.C: do not store last keypress
6189
6190         * lyxfunc.h:
6191         * lyxfunc.C: store last keypress here instead. Pass encoding
6192           to getISOEncoded()
6193
6194 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6195
6196         * lyx_main.C (init): remove annoying error message when following
6197         symbolic links (bug #780)
6198
6199 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6200
6201         * text.C (insertChar):
6202         * lyxrc.C (getDescription): remove extra spaces
6203
6204 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6205
6206         * lyxrc.C (getDescription): remove extra spaces
6207
6208 2002-12-20  John Levon  <levon@movementarian.org>
6209
6210         * text3.C: hack fix for page up/down across tall rows
6211
6212 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6213
6214         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6215         not been invoked
6216
6217 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6218
6219         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6220         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6221         thesaurus is not compiled in
6222
6223 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6224
6225         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6226
6227 2002-12-16  Angus Leeming  <leeming@lyx.org>
6228
6229         * lyxrc.[Ch]:
6230         * lyx_main.C (init): remove override_x_deadkeys stuff.
6231
6232 2002-12-12  John Levon  <levon@movementarian.org>
6233
6234         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6235           insert. Only remove shift modifier under strict
6236           circumstances.
6237
6238 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6239
6240         * MenuBackend.C (expandToc): fix crash.
6241
6242 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6243
6244         * MenuBackend.C (expandToc): gettext on float names.
6245
6246 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6247
6248         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6249         implement bool empty() [bug 490]
6250
6251 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6252
6253         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6254
6255 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6256
6257         * several files: ws changes
6258
6259 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6260
6261         * text2.C (setCounter): clean up a bit, use boost.format.
6262         (updateCounters): initialize par upon declaration.
6263
6264         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6265         if the layout exists. We do not just store the layout any more.
6266         (SwitchLayoutsBetweenClasses): use boost.format
6267
6268 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6269
6270         * converter.C (convert): if from and to files are the same, use a
6271         temporary files as intermediary
6272
6273 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6274
6275         * commandtags.h:
6276         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6277
6278 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6279
6280         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6281
6282 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6283
6284         * tabular.C (asciiPrintCell): use string(size, char) instead of
6285         explicit loop.
6286
6287         * sgml.C (openTag): fix order of arguments to string constructor
6288         (closeTag): ditto
6289
6290         * lyxfunc.C (dispatch): use boost.format
6291
6292         * lots of files: change "c" -> 'c'
6293
6294 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6295
6296         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6297
6298 2002-11-25  Angus Leeming  <leeming@lyx.org>
6299
6300         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6301
6302         * lyx_main.C (init): compile fix.
6303
6304 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6305
6306         * lyx_cb.C (start): boost.formatify
6307         do not include <iostream>
6308
6309         * lengthcommon.C: ws only
6310
6311         * boost-inst.C,BoostFormat.h: add more explict instantations
6312
6313 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6314
6315         * lots of files: handle USE_BOOST_FORMAT
6316
6317 2002-11-21  John Levon  <levon@movementarian.org>
6318
6319         * pspell.C: fix compile
6320
6321 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6322
6323         * lyxfunc.C (dispatch): use boost::format
6324         (open): ditto
6325         (doImport): ditto
6326
6327         * lyxfont.C (stateText): use boost::format
6328
6329         * lyx_main.C (LyX): use boost::format
6330         (init): ditto
6331         (queryUserLyXDir): ditto
6332         (readRcFile): ditto
6333         (parse_dbg): ditto
6334         (typedef boost::function): use the recommened syntax.
6335
6336         * importer.C (Import): use boost::format
6337
6338         * debug.C (showLevel): use boost::format
6339
6340         * converter.C (view): use boost::format
6341         (convert): ditto
6342         (move): ditto
6343         (scanLog): ditto
6344
6345         * bufferview_funcs.C (currentState): use boost::format
6346
6347         * bufferlist.C (emergencyWrite): use boost::format
6348
6349         * buffer.C (readLyXformat2): use boost::format
6350         (parseSingleLyXformat2Token): ditto
6351
6352         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6353
6354         * LaTeX.C (run): use boost::format
6355
6356         * Chktex.C (scanLogFile): use boost::format
6357
6358         * BufferView_pimpl.C (savePosition): use boost::format
6359         (restorePosition): ditto
6360         (MenuInsertLyXFile): ditto
6361
6362         * BoostFormat.h: help file for explicit instation.
6363
6364 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6365
6366         * tabular.C (latex): Support for block alignment in fixed width
6367         columns.
6368
6369 2002-11-17  John Levon  <levon@movementarian.org>
6370
6371         * BufferView_pimpl.C:
6372         * lyx_cb.C:
6373         * lyxfunc.C: split filedialog into open/save
6374
6375 2002-11-08  Juergen Vigna  <jug@sad.it>
6376
6377         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6378         by my last patch (hopefully).
6379
6380 2002-11-08  John Levon  <levon@movementarian.org>
6381
6382         * iterators.h:
6383         * iterators.C:
6384         * buffer.h:
6385         * buffer.C:
6386         * paragraph.h:
6387         * paragraph.C:
6388         * toc.h:
6389         * toc.C: ParConstIterator, and use it (from Lars)
6390
6391 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6392
6393         * lyxtextclass.[Ch]: revise and add doxygen comments
6394
6395 2002-11-07  John Levon  <levon@movementarian.org>
6396
6397         * text.C: fix progress value for spellchecker
6398
6399         * toc.C: fix navigate menu for insetwrap inside minipage
6400
6401         * paragraph_funcs.C: added FIXME for suspect code
6402
6403 2002-11-07  John Levon  <levon@movementarian.org>
6404
6405         * BufferView_pimpl.C: fix redrawing of insets
6406           on buffer switch
6407
6408 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6409
6410         * text2.C (updateCounters): fix bug 668
6411
6412 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6413
6414         * text3.C (dispatch): Do not make the buffer dirty when moving the
6415         cursor.
6416
6417 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6418
6419         * vc-backend.C: STRCONV
6420         (scanMaster): ditto
6421
6422         * text2.C (setCounter): STRCONV
6423
6424         * paragraph.C (asString): STRCONV
6425
6426         * lyxlength.C (asString): STRCONV
6427         (asLatexString): ditto
6428
6429         * lyxgluelength.C (asString): STRCONV
6430         (asLatexString): ditto
6431
6432         * lyxfunc.C (dispatch): STRCONV
6433         (open): ditto
6434
6435         * lyxfont.C (stateText): STRCONV
6436
6437         * importer.C (Import): STRCONV
6438
6439         * counters.C (labelItem): STRCONV
6440         (numberLabel): ditto
6441         (numberLabel): remove unused ostringstream o
6442
6443         * chset.C: STRCONV
6444         (loadFile): ditto
6445
6446         * bufferview_funcs.C (currentState): STRCONV
6447
6448         * buffer.C (readFile): STRCONV
6449         (asciiParagraph): ditto
6450         (makeLaTeXFile): ditto
6451
6452         * Spacing.C (writeEnvirBegin): STRCONV
6453
6454         * LaTeXFeatures.C (getLanguages): STRCONV
6455         (getPackages): ditto
6456         (getMacros): ditto
6457         (getBabelOptions): ditto
6458         (getTClassPreamble): ditto
6459         (getLyXSGMLEntities): ditto
6460         (getIncludedFiles): ditto
6461
6462         * LaTeX.C: STRCONV
6463         (run): ditto
6464         (scanAuxFile): ditto
6465         (deplog): ditto
6466
6467         * LString.h: add the STRCONV macros
6468
6469         * BufferView_pimpl.C (savePosition): STRCONV
6470         (restorePosition): ditto
6471         (MenuInsertLyXFile): ditto
6472
6473         * vc-backend.C (scanMaster): change from submatch[...] to
6474         submatch.str(...)
6475
6476         * funcrequest.C: include config.h
6477
6478         * factory.C: include config.h
6479
6480         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6481
6482         * box.C: include config.h
6483
6484         * LaTeX.C (scanAuxFile): change from submatch[...] to
6485         submatch.str(...)
6486         (deplog): ditto
6487
6488 2002-10-25  Angus Leeming  <leeming@lyx.org>
6489
6490         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6491
6492         * ispell.[Ch] (setError): new method.
6493         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6494         Use setError() insetead of goto END.
6495
6496         * lyx_cb.C (AutoSave): move out child process into new class
6497         AutoSaveBuffer.
6498
6499 2002-10-30  John Levon  <levon@movementarian.org>
6500
6501         * text3.C: make start appendix undoable
6502
6503 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6504
6505         * lyxlength.C (inPixels): Fix returned value.
6506
6507         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6508         environment.
6509
6510 2002-10-24  Angus Leeming  <leeming@lyx.org>
6511
6512         * lyxgluelength.h: no need to forward declare BufferParams
6513         or BufferView, so don't.
6514
6515 2002-10-21  John Levon  <levon@movementarian.org>
6516
6517         * BufferView.C: menuUndo ->undo, redo
6518
6519         * BufferView.h: document, remove dead, make some methods private
6520
6521         * paragraph_funcs.h:
6522         * paragraph_funcs.C:
6523         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6524
6525         * buffer.h:
6526         * buffer.C:
6527         * sgml.h:
6528         * sgml.C: move sgml open/close tag into sgml.C
6529
6530         * bufferview_funcs.h: unused prototype
6531
6532         * lyxfunc.h:
6533         * lyxfunc.C: remove unused
6534
6535         * lyxtext.h:
6536         * text.C: remove unused
6537
6538 2002-10-21  John Levon  <levon@movementarian.org>
6539
6540         * BufferView.h:
6541         * BufferView.C:
6542         * BufferView_pimpl.h:
6543         * BufferView_pimpl.C: fix mouse wheel handling based on
6544           patch from Darren Freeman
6545
6546 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6547
6548         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6549
6550 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6551
6552         * lyxlength.C (inPixels): Fix hanfling of negative length.
6553         Fix LyXLength::MU case.
6554
6555 2002-10-16  John Levon  <levon@movementarian.org>
6556
6557         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6558
6559 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6560
6561         * converter.C (view): add support for $$i (file name) and $$p
6562         (file path) for the viewer command. If $$i is not specified, then
6563         it is appended to the command (for compatibility with old syntax)
6564
6565 2002-10-14  Juergen Vigna  <jug@sad.it>
6566
6567         * undo_funcs.C (textHandleUndo): alter the order in which the
6568         new undopar is added to the LyXText, as we have to set first
6569         the right prev/next and then add it as otherwise the rebuild of
6570         LyXText is not correct. Also reset the cursor to the right paragraph,
6571         with this IMO we could remove the hack in "redoParagraphs()".
6572
6573 2002-10-09  Angus Leeming  <leeming@lyx.org>
6574
6575         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6576         to turn off an optimisation if a new inset is to be inserted.
6577
6578 2002-10-11 André Pönitz <poenitz@gmx.net>
6579
6580         * lyxtext.h: make some functions public to allow access
6581         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6582
6583 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6584
6585         * text3.C (dispatch): when changing layout, avoid an infinite loop
6586         [bug #652]
6587
6588 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6589
6590         * lyxrc.C (read): treat a viewer or converter command of "none" as
6591         if it were empty.
6592
6593         * MenuBackend.C (expandFormats): for an update, also allow the
6594         formats that are not viewable
6595
6596         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6597         script if it is newer than the lyxrc.defaults in user directory
6598
6599 2002-10-07 André Pönitz <poenitz@gmx.net>
6600
6601         * text.C: Vitaly Lipatov's small i18n fix
6602
6603 2002-09-25  Angus Leeming  <leeming@lyx.org>
6604
6605         * ispell.h: doxygen fix.
6606
6607 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6608
6609         * buffer.h (readFile): Add a new argument to the method, to allow
6610         reading of old-format templates.
6611
6612 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6613
6614         * toc.C (getTocList): Get TOC from InsetWrap.
6615
6616 2002-09-16  John Levon  <levon@movementarian.org>
6617
6618         * lyxfunc.C: check tabular for cut/copy too
6619
6620 2002-09-12  John Levon  <levon@movementarian.org>
6621
6622         * LyXAction.C: tidy
6623
6624         * factory.h:
6625         * factory.C: add header
6626
6627         * paragraph_funcs.h:
6628         * paragraph_funcs.C: cleanup
6629
6630 2002-09-11  John Levon  <levon@movementarian.org>
6631
6632         * PrinterParams.h: odd/even default to true
6633
6634 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6635
6636         * PrinterParams.h: update printer parameters for new xforms dialog
6637
6638 2002-09-11  Angus Leeming  <leeming@lyx.org>
6639
6640         * lyxserver.C (read_ready): re-write to make it more transparent
6641         and to make it work in coherent fashion under Tru64 Unix.
6642
6643 2002-09-11  André Pönitz <poenitz@gmx.net>
6644
6645         * commandtags.h:
6646         * LyXAction.C:
6647         * text3.C: implement LFUN_WORDSEL
6648
6649 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6650
6651         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6652         make floatlist_ a boost::shared_ptr<FloatList>
6653
6654         * lyxtextclass.C: include FloatList.h
6655         (LyXTextClass): initialize floatlist_
6656         (TextClassTags): add TC_NOFLOAT
6657         (Read): match "nofloat" to TC_NOFLOAT and use it.
6658         (readFloat): modify call to floatlist_
6659         (floats): ditto
6660         (floats): ditto
6661
6662         * FloatList.[Ch] (FloatList): remove commented out float
6663         initialization.
6664         (erase): new function
6665
6666 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6667
6668         * MenuBackend.C (expandToc): fix crash when there is no document
6669         open
6670
6671 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6672
6673         * many files: Add insetwrap.
6674
6675 2002-09-09  John Levon  <levon@movementarian.org>
6676
6677         * text2.C: remove confusing and awkward depth wraparound
6678
6679 2002-09-09  John Levon  <levon@movementarian.org>
6680
6681         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6682
6683         * buffer.h:
6684         * buffer.C: remove getIncludeonlyList()
6685
6686         * paragraph.C:
6687         * lyxfunc.C: remove headers
6688
6689 2002-09-09  Juergen Vigna  <jug@sad.it>
6690
6691         * text.C (getColumnNearX): fix form Michael this is most
6692         probably a cut&paste bug.
6693
6694 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6695
6696         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6697
6698         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6699         references, ws changes.
6700
6701         * text2.C (init): update counters after init
6702         (insertParagraph): no need to set counter on idividual paragraphs.
6703         (setCounter): access the counters object in the textclass object
6704         on in the buffer object.
6705         (updateCounters): ditto
6706
6707         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6708         shared_ptr<Counters> to avoid loading counters.h in all
6709         compilation units.
6710         (LyXTextClass): initialize ctrs_
6711         (TextClassTags): add TC_COUNTER, and ...
6712         (Read): use it here.
6713         (CounterTags): new tags
6714         (readCounter): new function
6715         (counters): new funtion
6716         (defaultLayoutName): return a const reference
6717
6718         * counters.C (Counters): remove contructor
6719         (newCounter): remove a couple of unneeded statements.
6720         (newCounter): simplify a bit.
6721         (numberLabel): some small formatting changes.
6722
6723         * buffer.[Ch]: remove all traces of counters, move the Counters
6724         object to the LyXTextClass.
6725
6726 2002-09-06  Alain Castera  <castera@in2p3.fr>
6727
6728         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6729         package to set the horizontal alignment on fixed width columns.
6730
6731         * lyx_sty.C:
6732         * lyx_sty.h: added tabularnewline macro def.
6733
6734         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6735
6736 2002-09-06  John Levon  <levon@movementarian.org>
6737
6738         * LyXAction.C: tooltips for sub/superscript
6739
6740         * MenuBackend.C: a bit more verbose
6741
6742         * lyxfunc.C: tiny clean
6743
6744         * undo_funcs.C: document undo_frozen
6745
6746 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6747
6748         * counters.C (Counters): add missing algorithm counter.
6749
6750         * text2.C (setCounter): lookup the counter with layouts latexname
6751         instead of by section number.
6752         (setCounter): use a hackish way to lookup the correct enum
6753         counter.
6754         a float name->type change
6755         reset enum couners with counter name directly instead of depth value.
6756
6757         * counters.C (Counters): remove the push_backs, change to use the
6758         float type not the float name.
6759         (labelItem): remove unused string, float name->type change
6760
6761         * counters.h: don't include vector, loose the enums and sects vectors
6762
6763 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6764
6765         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6766         (Read): add float->TC_FLOAT to textclassTags
6767         (Read): and handle it in the switch
6768         (readFloat): new function
6769
6770         * FloatList.C (FloatList): comment out the hardcoded float
6771         definitions.
6772
6773         * lyxlayout.h: ws change.
6774
6775 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6776
6777         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6778
6779 2002-09-03  Angus Leeming  <leeming@lyx.org>
6780
6781         * BufferView_pimpl.h: qualified name is not allowed in member
6782         declaration: WorkArea & Pimpl::workarea() const;
6783
6784         * factory.C: added using std::endl directive.
6785
6786         * text3.C: added using std::find and std::vector directives.
6787
6788 2002-08-29  André Pönitz <poenitz@gmx.net>
6789
6790         * lyxtext.h:
6791         * text2.C: remove unused member number_of_rows
6792
6793         * Makefile.am:
6794         * BufferView2.C: remove file, move contents to...
6795         * BufferView.C: ... here
6796
6797         * BufferView_pimpl.C:
6798         * factory.C: move more inset creation to factory
6799
6800         * vspace.C: avoid direct usage of LyXText, ws changes
6801
6802         * BufferView.[Ch]:
6803                 don't provide direct access to WorkArea, use two simple
6804                 acessors haveSelction() and workHeight() instead
6805
6806
6807 2002-08-29  John Levon  <levon@movementarian.org>
6808
6809         * BufferView_pimpl.C (dispatch): do not continue when
6810           no buffer
6811
6812 2002-08-28  André Pönitz <poenitz@gmx.net>
6813
6814         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6815
6816         * BufferView.h:
6817         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6818
6819 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6820
6821         * buffer.C: increment LYX_FORMAT to 221
6822
6823         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6824         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6825
6826         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6827
6828         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6829
6830 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6831
6832         * factory.C (createInset): use LyXTextClass::floats
6833
6834         * MenuBackend.C (expandFloatListInsert):
6835         (expandFloatInsert):
6836         (expandToc):
6837
6838         * text2.C (setCounter):
6839
6840         * LaTeXFeatures.C (useFloat):
6841         (getFloatDefinitions):
6842
6843         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6844
6845         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6846         floatlist_, with accessor floats().
6847
6848         * FloatList.h: remove global FloatList
6849
6850 2002-08-26  André Pönitz <poenitz@gmx.net>
6851
6852         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6853
6854         * BufferView.h:
6855         * BufferView2.C:
6856         * BufferView_pimpl.C:
6857         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6858
6859 2002-08-25  John Levon  <levon@movementarian.org>
6860
6861         * LyXAction.C: fix margin note description
6862
6863 2002-08-24  John Levon  <levon@movementarian.org>
6864
6865         * buffer.C:
6866         * bufferlist.C:
6867         * bufferview_funcs.C:
6868         * lyxfont.C:
6869         * undo_funcs.C: cleanups
6870
6871         * lyxfunc.C: disable CUT/COPY when no selection
6872
6873 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6874
6875         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6876         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6877
6878         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6879         Add backward compatibility to "mono", "gray" and "no".
6880
6881 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6882
6883         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6884         (and file_format >= 200).
6885
6886 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6887
6888         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6889
6890 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6891
6892         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6893
6894 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6895
6896         * BufferView_pimpl.C:
6897         * LyXAction.C:
6898         * buffer.C:
6899         * commandtags.h:
6900         * lyxfunc.C:
6901         * paragraph.[Ch]:
6902         * text2.C:
6903         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6904         inset and code to make it  work with the paragraph code. The inset
6905         can be anywhere in the paragraph, but will only do the expected
6906         thing in LaTeX if the layout file contains the parameter line
6907                         OptionalArgs    1
6908         (or more generally, a nonzero value) for that layout.
6909
6910 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6911
6912         * paragraph.h: remove the declaration of undefined counters class
6913         function.
6914
6915 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6916
6917         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6918         Dr. Richard Hawkins.
6919
6920 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6921
6922         * paragraph_funcs.h: remove some unneeded includes
6923
6924         * text.C (backspace): pasteParagraph now in global scipe
6925
6926         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6927         (pasteSelection): ditto
6928
6929         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6930         * paragraph_funcs.C (pasteParagraph): ... here
6931
6932 2002-08-20  André Pönitz <poenitz@gmx.net>
6933
6934         * commandtags.h: new LFUNs for swapping/copying table row/colums
6935
6936         * LyXAction.C:
6937         * lyxfunc.C: support for new lfuns
6938
6939 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6940
6941         * tabular.C:
6942         * buffer.[Ch]: remove NO_COMPABILITY stuff
6943
6944 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6945
6946         * boost.C (throw_exception): new file, with helper function for
6947         boost compiled without exceptions.
6948
6949         * paragraph.h:
6950         * lyxlength.C:
6951         * buffer.C:
6952         * ParameterStruct.h:
6953         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6954
6955         * bufferlist.C (emergencyWriteAll): use boost bind
6956
6957         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6958
6959         * text.C: include paragraph_funcs.h
6960         (breakParagraph): breakParagraph is now in global scope
6961
6962         * paragraph_funcs.[Ch]: new files
6963
6964         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6965         global scope
6966
6967         * buffer.C: include paragraph_funcs.h
6968         (insertStringAsLines): breakParagraph is now in global scope
6969
6970         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6971         paragraph_funcs.C
6972
6973         * CutAndPaste.C: include paragraph_funcs.h
6974         (cutSelection): breakParagraphConservative is now in global scope
6975         (pasteSelection): ditto
6976
6977         * buffer.h: declare oprator== and operator!= for
6978         Buffer::inset_iterator
6979
6980         * bufferlist.C (emergencyWrite): don't use fmt(...)
6981
6982         * text3.C: add using std::endl
6983
6984         * BufferView.C (moveCursorUpdate): remove default arg
6985
6986 2002-08-20  André Pönitz <poenitz@gmx.net>
6987
6988         * buffer.[Ch]: move inline functions to .C
6989
6990         * BufferView2.C:
6991         * BufferView_pimpl.C:
6992         * text.C:
6993         * buffer.[Ch]: use improved inset_iterator
6994
6995         * buffer.C:
6996         * paragraph.[Ch]: write one paragraph at a time
6997
6998 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6999
7000         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7001         style if style is not specified.
7002
7003 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7004
7005         * text2.C (setCounter): when searching for right label for a
7006         caption, make sure to recurse to parent insets (so that a caption
7007         in a minipage in a figure float works) (bug #568)
7008
7009 2002-08-20  André Pönitz <poenitz@gmx.net>
7010
7011         * text3.C: new file for LyXText::dispatch() and helpers
7012
7013         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7014
7015         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7016
7017 2002-08-19  André Pönitz <poenitz@gmx.net>
7018
7019         * lyxtext.h:
7020         * text.C: new LyXText::dispatch()
7021
7022         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7023
7024 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7025
7026         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7027
7028         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7029         Hebrew text.
7030
7031 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7032
7033         * Makefile.am: use $(variables) instead of @substitutions@
7034
7035 2002-08-15  André Pönitz <poenitz@gmx.net>
7036
7037         * lyxfunc.C:
7038         * BufferView_pimpl.C: streamlining mathed <-> outer world
7039         interaction
7040
7041         * commandtags.h:
7042         * LyXAction.C: remove unused LFUN_MATH
7043
7044 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7045
7046         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7047
7048 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7049
7050         * paragraph.C (Paragraph): reformat a bit
7051         (cutIntoMinibuffer): use builtin InsetList function instad of
7052         doing it manually.
7053         (getInset): ditto
7054
7055         * buffer.C: include boost/bind.hpp, add using std::for_each
7056         (writeFileAscii): use ParagraphList iterators
7057         (validate): use for_each for validate traversal of paragraphs
7058         (getBibkeyList): use ParagraphList iterators
7059         (resizeInsets): use for_each to resizeInsetsLyXText for all
7060         paragraphs.
7061         (getParFromID): use ParagraphList iterators
7062
7063         * BufferView2.C (lockInset): use paragraph list and iterators
7064
7065 2002-08-14  John Levon  <levon@movementarian.org>
7066
7067         * lyxserver.C: remove spurious xforms include
7068
7069 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7070
7071         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7072
7073 2002-08-13  André Pönitz <poenitz@gmx.net>
7074
7075         * LyXAction.[Ch]:
7076         * lyxfunc.C: further cleaning
7077
7078 2002-08-13  André Pönitz <poenitz@gmx.net>
7079
7080         * funcrequest.h: new constructor
7081
7082         * funcrequest.C: move stuff here from .h
7083
7084         * Makefile.am:
7085         * BufferView_pimpl.C:
7086         * LyXAction.C:
7087         * toc.C:
7088         * lyxfunc.C: subsequent changes
7089
7090         * lyxfunc.h: new view() member function
7091
7092         * lyxfunc.C: subsequent changes
7093
7094 2002-08-13  Angus Leeming  <leeming@lyx.org>
7095
7096         * BufferView2.C:
7097         * BufferView_pimpl.C:
7098         * buffer.C:
7099         * converter.C:
7100         * importer.C:
7101         * lyxfunc.C:
7102         * lyxvc.C:
7103         * toc.C:
7104         * vc-backend.C:
7105         changes due to the changed LyXView interface that now returns references
7106         to member variables not pointers.
7107
7108 2002-08-13  Angus Leeming  <leeming@lyx.org>
7109
7110         * WordLangTuple (word, lang_code): return references to strings,
7111         not strings.
7112
7113         * BufferView.h:
7114         * SpellBase.h:
7115         * lyxtext.h: forward-declare WordLangTuple.
7116
7117         * BufferView2.C:
7118         * ispell.C:
7119         * pspell.C:
7120         * text.C: #include "WordLangTuple.h".
7121
7122         * lyxtext.h:
7123         * text.C: (selectNextWordToSpellcheck): constify return type.
7124
7125 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7126
7127         * buffer.C:
7128         * buffer.h:
7129         * lyxtext.h:
7130         * paragraph.C:
7131         * paragraph_pimpl.h:
7132         * text.C:
7133         * text2.C:
7134         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7135         suggested by Angus.
7136         Made updateCounter always count from start of buffer, and removed
7137         second argument (par).
7138         Reverted floats number display to '#'. Perhaps I'll try again when the
7139         code base is sanitized a bit.
7140
7141 2002-08-12  Angus Leeming  <leeming@lyx.org>
7142
7143         * buffer.[Ch] (getLabelList): constify.
7144
7145 2002-08-07  André Pönitz <poenitz@gmx.net>
7146
7147         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7148
7149         * funcrequest.h: extension to keep mouse (x,y) position
7150
7151 2002-08-12  Juergen Vigna  <jug@sad.it>
7152
7153         * BufferView2.C (insertErrors): forbid undo when inserting error
7154         insets.
7155
7156         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7157
7158 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7159
7160         * ParagraphList.[Ch]: new files
7161
7162         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7163
7164         * BufferView2.C (lockInset): ParagraphList changes
7165         * toc.C: ditto
7166         * text2.C: ditto
7167         * bufferlist.C: ditto
7168         * buffer.h: ditto
7169         * buffer.C: ditto
7170
7171 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7172
7173         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7174         unused class variable counter_,
7175
7176         * paragraph.[Ch] (getFirstCounter): delete unused function
7177
7178         * counters.C: include LAssert.h
7179         (reset): add a new function with no arg, change other version to
7180         not have def. arg and to not allow empty arg.
7181
7182         * text2.C (setCounter): remove empty arg from call to Counters::reset
7183
7184 2002-08-11  John Levon  <levon@movementarian.org>
7185
7186         * Makefile.am: add WordLangTuple.h
7187
7188 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7189
7190         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7191         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7192
7193         * insets/insettext.C: InsetList changes
7194
7195         * graphics/GraphicsSupport.C (operator()): InsetList changes
7196
7197         * toc.C (getTocList): InsetList changes
7198
7199         * paragraph_pimpl.[Ch]: InsetList changes
7200
7201         * paragraph.[Ch]: InsetList changes
7202
7203         * buffer.C (inset_iterator): InsetList changes
7204         (setParagraph): ditto
7205         * buffer.h (inset_iterator): ditto
7206         * iterators.C (operator++): ditto
7207         * iterators.h: ditto
7208
7209         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7210
7211         * InsetList.[Ch]: new files, most InsetList handling moved out of
7212         paragraph.C.
7213
7214         * BufferView2.C (removeAutoInsets): InsetList changes
7215         (lockInset): ditto
7216         (ChangeInsets): ditto
7217
7218 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7219
7220         * paragraph_pimpl.h (empty): new function
7221
7222         * paragraph.[Ch] (empty): new function
7223
7224         * other files: use the new Paragraph::empty function
7225
7226 2002-08-09  John Levon  <levon@movementarian.org>
7227
7228         * lyxtext.h: remove unused refresh_height
7229
7230 2002-08-09  John Levon  <levon@movementarian.org>
7231
7232         * Makefile.am:
7233         * sgml.h:
7234         * sgml.C:
7235         * buffer.C:
7236         * paragraph.h:
7237         * paragraph.C: move sgml char escaping out of paragraph
7238
7239         * paragraph.h:
7240         * paragraph.C: remove id setter
7241
7242         * buffer.C:
7243         * paragraph.C:
7244         * paragraph_pimpl.C: remove dead tex_code_break_column
7245
7246         * bufferview_funcs.C: small cleanup
7247
7248         * lyxfunc.C: remove dead proto
7249
7250         * lyxtext.h: make some stuff private. Remove some dead stuff.
7251
7252         * lyxgluelength.C: make as[LyX]String() readable
7253
7254 2002-08-08  John Levon  <levon@movementarian.org>
7255
7256         * LyXAction.h:
7257         * LyXAction.C:
7258         * MenuBackend.C:
7259         * ToolbarDefaults.C:
7260         * lyxfunc.C:
7261         * lyxrc.C:
7262         * toc.C: lyxaction cleanup
7263
7264 2002-08-08  John Levon  <levon@movementarian.org>
7265
7266         * BufferView2.C: small cleanup
7267
7268         * lyxfind.h:
7269         * lyxfind.C: move unnecessary header into the .C
7270
7271 2002-08-08  John Levon  <levon@movementarian.org>
7272
7273         * funcrequest.h: just tedious nonsense
7274
7275         * lyx_main.h:
7276         * lyx_main.C: cleanups
7277
7278         * buffer.C:
7279         * vspace.C: remove dead header lyx_main.h
7280
7281 2002-08-07  Angus Leeming  <leeming@lyx.org>
7282
7283         * Paragraph.[Ch]:
7284         * paragraph_pimpl.h:
7285         Forward declare class Counters in paragraph.h by moving the ctrs member
7286         variable into Paragraph::Pimpl.
7287         (counters): new method, returning a reference to pimpl_->ctrs.
7288
7289         * text2.C: ensuing changes.
7290
7291 2002-08-07  John Levon  <levon@movementarian.org>
7292
7293         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7294
7295         * BufferView_pimpl.C: announce X selection on double/triple
7296           click
7297
7298         * lyx_main.C: use correct bool in batch dispatch
7299
7300         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7301
7302 2002-08-07  André Pönitz <poenitz@gmx.net>
7303
7304         * funcrequest.h: new class to wrap a kb_action and its argument
7305
7306         * BufferView.[Ch]:
7307         * BufferView_pimpl[Ch]:
7308         * LaTeX.C:
7309         * LyXAction.[Ch]:
7310         * lyxfunc.[Ch]:
7311         * lyxrc.C: subsequent changes
7312
7313
7314 2002-08-07  John Levon  <levon@movementarian.org>
7315
7316         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7317           document options change.
7318
7319 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7320
7321         * counters.[Ch]
7322         * text2.C
7323         * paragraph.[Ch]
7324         * makefile.am: move counters functionality over from
7325         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7326
7327 2002-08-06  John Levon  <levon@movementarian.org>
7328
7329         * WordLangTuple.h: new file for word + language code tuple
7330
7331         * SpellBase.h:
7332         * pspell.h:
7333         * pspell.C:
7334         * ispell.h:
7335         * ispell.C:
7336         * lyxtext.h:
7337         * text.C:
7338         * text2.C:
7339         * BufferView.h:
7340         * BufferView2.C: use WordLangTuple
7341
7342         * layout.h:
7343         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7344
7345 2002-08-06  John Levon  <levon@movementarian.org>
7346
7347         * lyx_main.C: fix cmdline batch handling
7348
7349 2002-08-06  André Pönitz <poenitz@gmx.net>
7350
7351         * lyxrc.C: set default for show_banner to true
7352
7353 2002-08-06  John Levon  <levon@movementarian.org>
7354
7355         * pspell.C: fix a crash, and allow new aspell to work
7356
7357 2002-08-06  John Levon  <levon@movementarian.org>
7358
7359         * lyxfunc.C:
7360         * kbmap.C: small cleanup
7361
7362         * vspace.h:
7363         * vspace.C: add const
7364
7365 2002-08-05  John Levon  <levon@movementarian.org>
7366
7367         * LyXAction.C: back to tabular-insert
7368
7369 2002-08-04  John Levon  <levon@movementarian.org>
7370
7371         * BufferView.h:
7372         * BufferView.C: cosmetic change
7373
7374         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7375
7376         * bufferlist.C:
7377         * buffer.h:
7378         * buffer.C:
7379         * lyxcb.h:
7380         * lyxcb.C:
7381         * lyxserver.C:
7382         * lyxvc.C:
7383         * vc-backend.C:
7384         * BufferView2.C: purge all "Lyx" not "LyX" strings
7385
7386         * lyxcursor.h:
7387         * lyxcursor.C: attempt to add some documentation
7388
7389         * lyxfunc.C:
7390         * commandtags.h:
7391         * LyXAction.C:
7392         * ToolbarDefaults.C:
7393         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7394           merge with LFUN_TABULAR_INSERT
7395
7396         * Makefile.am:
7397         * SpellBase.h:
7398         * ispell.h:
7399         * ispell.C:
7400         * pspell.h:
7401         * pspell.C: split up i/pspell implementations into separate
7402           files, many cleanups
7403
7404         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7405
7406         * text2.C: some cleanup
7407
7408         * lyxfunc.C: don't check for isp_command == "none" any more, it
7409           didn't make any sense
7410
7411 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7412
7413         * counters.[Ch]
7414         * text2.C
7415         * paragraph.[Ch]
7416         * makefile.am: move counters functionality over
7417         from text2.C/paragraph.[Ch] to counters.[Ch], and
7418         make proper C++.
7419 2002-08-02  John Levon  <levon@movementarian.org>
7420
7421         * buffer.C: s/lyxconvert/lyx2lyx/
7422
7423 2002-08-02  Angus Leeming  <leeming@lyx.org>
7424
7425         * lyxlex.C: revert John's change as it breaks reading of the user
7426         preamble.
7427
7428 2002-08-02  Angus Leeming  <leeming@lyx.org>
7429
7430         * importer.C (Import):
7431         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7432         changes due to LyXView::view() now returning a boost::shared_ptr.
7433
7434 2002-08-02  John Levon  <levon@movementarian.org>
7435
7436         * lyxlex.C: small cleanup
7437
7438 2002-08-02  John Levon  <levon@movementarian.org>
7439
7440         * text2.C (status): small cleanup, no logic change
7441
7442 2002-08-01  John Levon  <levon@movementarian.org>
7443
7444         * buffer.h:
7445         * buffer.C (writeFile): don't output alerts, caller
7446           handles this
7447
7448         * bufferlist.C:
7449         * lyx_cb.C: from above
7450
7451         * lyxfunc.C: allow to open non-existent files
7452
7453 2002-07-31  John Levon  <levon@movementarian.org>
7454
7455         * lyxserver.C: don't let incidental errors get
7456           in the way (errno)
7457
7458 2002-07-30  John Levon  <levon@movementarian.org>
7459
7460         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7461
7462 2002-07-30  John Levon  <levon@movementarian.org>
7463
7464         * lyxserver.h:
7465         * lyxserver.C: remove I/O callback too
7466
7467 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7468
7469         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7470         log.
7471
7472 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7473
7474         * many files: strip,frontStrip -> trim,ltrim,rtrim
7475
7476 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7477
7478         * PrinterParams.h: remove extern containsOnly, and include
7479         support/lstrings.h instead.
7480
7481         * LaTeX.C (scanAuxFile): modify because of strip changes
7482         (deplog): ditto
7483         * buffer.C (makeLaTeXFile): ditto
7484         * bufferparams.C (writeFile): ditt
7485         * lyxfont.C (stateText): ditto
7486         * lyxserver.C (read_ready): ditto
7487         * vc-backend.C (scanMaster): ditto
7488
7489         * BufferView_pimpl.h: ws changes
7490
7491         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7492
7493 2002-07-26  André Pönitz <poenitz@gmx.net>
7494
7495         * kb_sequence.C: remove unnedred usings
7496
7497 2002-07-26  Juergen Vigna  <jug@sad.it>
7498
7499         * lyxfind.C (LyXReplace): we have to check better if the returned
7500         text is not of theLockingInset()->getLockingInset().
7501
7502 2002-07-25  Juergen Vigna  <jug@sad.it>
7503
7504         * lyxfind.C (LyXReplace): don't replace if we don't get the
7505         right LyXText.
7506
7507         * undo_funcs.C (createUndo): remove debugging code.
7508
7509 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7510
7511         * buffer.C (parseSingleLyXformat2Token): Use default placement
7512         when reading old floats.
7513
7514         * FloatList.C (FloatList): Change the default placement of figure
7515         and tables to "tbp".
7516
7517 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7518
7519         * MenuBackend.C: using std::max
7520
7521 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7522
7523         * MenuBackend.C (expandToc):
7524         (expandToc2): code moved from xforms menu frontend. It is now
7525         generic and TOCs are transparent to menu frontends.
7526
7527 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7528
7529         * toc.C (getTocList): protect against buf=0
7530
7531         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7532         Menu as first parameter. Now, this calls itself recursively to
7533         expand a whole tree (this will be useful for TOC handling)
7534         (expandFloatInsert): remove 'wide' version of floats
7535
7536         * MenuBackend.h (submenuname): returns the name of the submenu.
7537         (submenu): returns the submenu itself, provided it has been
7538         created by MenuBackend::expand
7539
7540 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7541
7542         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7543         insets which have noFontChange == true. (bug #172)
7544
7545 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7546
7547         * BufferView_pimpl.C: add connection objects and use them...
7548         (Pimpl): here.
7549
7550 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7551
7552         * MenuBackend.C (expandLastfiles):
7553         (expandDocuments):
7554         (expandFormats):
7555         (expandFloatListInsert):
7556         (expandFloatInsert):
7557         (expand): split expand in parts
7558
7559 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7560
7561         * lyx_gui.C: use lyx_gui::exit()
7562
7563 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7564
7565         * LyXAction.C: show the failing pseudo action
7566
7567 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7568
7569         * buffer.C (readFile): Run the lyxconvert script in order to read
7570         old files.
7571
7572 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7573
7574         * LyXAction.C:
7575         * commandtags.h:
7576         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7577
7578 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7579
7580         * LyXAction.C:
7581         * commandtags.h:
7582         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7583
7584 2002-07-22  Herbert Voss  <voss@lyx.org>
7585
7586         * lengthcommon.C:
7587         * lyxlength.[Ch]: add support for the vertical lengths
7588
7589 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7590
7591         * toc.[Ch]: std:: fixes
7592
7593 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7594
7595         * lyxrc.C: do not include lyx_main.h
7596
7597         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7598         for layouts
7599
7600         * lyxrc.C:
7601         * encoding.C:
7602         * bufferlist.C:
7603         * BufferView2.C: include "lyxlex.h"
7604
7605         * tabular.h:
7606         * bufferparams.h: do not #include "lyxlex.h"
7607
7608         * lyxtextclasslist.C (Add): remove method
7609         (classlist): renamed to classlist_
7610
7611         * paragraph_pimpl.C:
7612         * paragraph.C:
7613         * text2.C:
7614         * CutAndPaste.C:
7615         * bufferview_funcs.C:
7616         * bufferlist.C:
7617         * text.C:
7618         * LaTeXFeatures.C:
7619         * buffer.C:
7620         * toc.C (getTocList): use BufferParams::getLyXTextClass
7621
7622         * toc.C (getTocList): use InsetFloat::addToToc
7623
7624         * toc.[Ch]: new files, containing helper functions to handle table
7625         of contents
7626
7627         * lyxfunc.C (dispatch): no need to remove spaces around command
7628         given as a string
7629         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7630         first command of the sequence; it is not very clever, but I do not
7631         have a better idea, actually
7632
7633         * LyXAction.C (LookupFunc): make sure to remove space at the
7634         beginning and end of the command
7635
7636 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7637
7638         * MenuBackend.C (getMenubar): new method: return the menubar of
7639         this menu set
7640         (read): treat differently reading of menu and menubar (in
7641         particular, the menubar has no name now)
7642         (Menu::menubar): remove
7643
7644         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7645         saving is finished
7646
7647 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7648
7649         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7650         a bibitem inset in a RTL paragraph.
7651
7652 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7653
7654         * paragraph_pimpl.C: constify
7655
7656         * BufferView_pimpl.C:
7657         * LaTeX.C:
7658         * lyxfunc.C: fix dispatch in a nicer way
7659
7660 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7661
7662         * lyxfunc.C (dispatch):
7663         * BufferView_pimpl.C:
7664         * BufferView_pimpl.h:
7665         * BufferView.C:
7666         * BufferView.h: rename Dispatch() to dispatch()
7667
7668         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7669
7670         * lyxlayout.C (Read): honor DependsOn tag
7671
7672         * lyxlayout.[Ch] (depends_on): new method
7673
7674         * version.C.in: update lyx_docversion
7675
7676         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7677
7678         * paragraph.C (validate): remove from here...
7679         * paragraph_pimpl.C (validate): ... and move here
7680         (isTextAt): make it const
7681
7682         * buffer.C (getLists): ws cleanup
7683
7684 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7685
7686         * language.C (read): Use iso8859-1 encoding in latex_lang
7687         (this prevents LyX from crashing when using iso10646-1 encoding).
7688
7689 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7690
7691         * text2.C (toggleInset): if cursor is inside an inset, close the
7692         inset and leave cursor _after_ it
7693
7694 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7695
7696         * lyxfunc.C: move minibuffer completion handling out of here
7697
7698 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7699
7700         * BufferView_pimpl.C:
7701         * LaTeX.C: fix dispatch calls
7702
7703 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7704
7705         * text.C (drawChars): Fix Arabic text rendering.
7706
7707 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7708
7709         * LyXAction.C:
7710         * commandtags.h:
7711         * lyxfunc.C: remove message-push/pop
7712
7713         * lyxserver.C:
7714         * lyxfunc.h:
7715         * lyxfunc.C: rationalise some code by removing verboseDispatch
7716           in favour of a bool argument to dispatch()
7717
7718 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7719
7720         * lyx_main.C (init): make sure to read symlinks as absolute paths
7721
7722 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7723
7724         * lyxfunc.h:
7725         * lyxfunc.C: no need for commandshortcut to be a member
7726
7727 2002-07-15  André Pönitz <poenitz@gmx.net>
7728
7729         * converter.C: add support for $$s (scripts from lib/scripts dir)
7730         * lyx_main.C: white space
7731
7732 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7733
7734         * bufferlist.C:
7735         * lyxrc.h:
7736         * lyxrc.C: remove second exit confirmation
7737
7738 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7739
7740         * BufferView.h:
7741         * BufferView.C:
7742         * BufferView2.C:
7743         * BufferView_pimpl.h:
7744         * BufferView_pimpl.C:
7745         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7746
7747 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7748
7749         * MenuBackend.C (expand): add numeric shortcuts to document menu
7750
7751         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7752
7753 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7754
7755         * lyxfont.C (setLyXFamily):
7756         (setLyXSeries):
7757         (setLyXShape):
7758         (setLyXSize):
7759         (setLyXMisc):
7760         (lyxRead):
7761         * debug.C (value):
7762         * buffer.C (asciiParagraph): use ascii_lowercase
7763
7764 2002-07-15  Mike Fabian  <mfabian@suse.de>
7765
7766         * lyxlex_pimpl.C (search_kw):
7767         * lyxlex.C (getLongString):
7768         * converter.h (operator<):
7769         * converter.C (operator<):
7770         * buffer.C (parseSingleLyXformat2Token):
7771         (asciiParagraph):
7772         * ToolbarDefaults.C (read):
7773         * MenuBackend.C (checkShortcuts):
7774         (read):
7775         * LColor.C (getFromGUIName):
7776         (getFromLyXName): use the compare_ascii_no_case instead of
7777         compare_no_case, because in turkish, 'i' is not the lowercase
7778         version of 'I', and thus turkish locale breaks parsing of tags.
7779
7780 2002-07-16  Angus Leeming  <leeming@lyx.org>
7781
7782         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7783         now takes a Buffer const & argument.
7784
7785 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7786
7787         * BufferView.C (resize): check there's a buffer to resize
7788
7789 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7790
7791         * lyxfunc.C: remove dead code
7792
7793         * lyxserver.h:
7794         * lyxserver.C: use lyx_guii::set_read_callback
7795
7796 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7797
7798         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7799         an inset in a RTL paragraph.
7800
7801 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7802
7803         * lyxfunc.C: repaint after a font size update
7804
7805 2002-07-15  André Pönitz <poenitz@gmx.net>
7806
7807         * lyxlength.C: inBP should be able to return negative values
7808
7809 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7810
7811         * lyxfunc.C: use lyx_gui::update_fonts()
7812
7813 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7814
7815         * lyxfunc.C: use lyx_gui::update_color()
7816
7817 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7818
7819         * bufferlist.C:
7820         * lyxfunc.h:
7821         * lyxfunc.C:
7822         * lyxrc.h:
7823         * lyxrc.C: remove file->new asks for name option, and let
7824           buffer-new take an argument
7825
7826 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7827
7828         * BufferView_pimpl.C: remove unneeded extra repaint()
7829
7830 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7831
7832         * LyXAction.C: allow command-sequence with NoBuffer
7833
7834         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7835
7836 2002-07-10  Angus Leeming  <leeming@lyx.org>
7837
7838         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7839
7840 2002-07-09  Angus Leeming  <leeming@lyx.org>
7841
7842         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7843
7844 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7845
7846         * lengthcommon.h: whitespace
7847
7848         * lyxfunc.C: update scrollbar after goto paragraph
7849
7850         * lyxtext.h: factor out page break drawing, and fix it so
7851           page break/added space paints as selected nicely
7852
7853 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7854
7855         * BufferView_pimpl.C: add FIXMEs, clean up a little
7856
7857 2002-07-09  André Pönitz <poenitz@gmx.net>
7858
7859         * lyxfont.[Ch]: support for wasy symbols
7860
7861 2002-07-08  André Pönitz <poenitz@gmx.net>
7862
7863         * BufferView_pimpl.C: apply John's patch for #93.
7864
7865 2002-07-05  Angus Leeming  <leeming@lyx.org>
7866
7867         * BufferView_pimpl.C (buffer): generate previews if desired.
7868
7869         * LColor.h: add "preview" to the color enum.
7870
7871         * LColor.C (LColor): add a corresponding entry to the items array.
7872
7873         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7874         with this buffer.
7875
7876 2002-07-05  Angus Leeming  <leeming@lyx.org>
7877
7878         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7879         The body of the code is now in the method that is passed an ostream &
7880         rather than a file name.
7881         Pass an additional only_preamble parameter, useful for the forthcoming
7882         preview stuff.
7883
7884 2002-07-03  André Pönitz <poenitz@gmx.net>
7885
7886         * lyxfunc.C: simplify getStatus() a bit for math stuff
7887
7888 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7889
7890         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7891
7892 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7893
7894         * text.C (changeRegionCase): do not change case of all the
7895         document when region ends at paragraph end (bug #461)
7896
7897 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7898
7899         * paragraph.C (startTeXParParams):
7900         (endTeXParParams): add \protect when necessary
7901
7902 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7903
7904         * BufferView_pimpl.C (workAreaExpose): remove warning
7905
7906 2002-06-27  Angus Leeming  <leeming@lyx.org>
7907
7908         * Makefile.am: add lyxlayout_ptr_fwd.h.
7909
7910 2002-06-26  André Pönitz <poenitz@gmx.net>
7911
7912         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7913
7914 2002-06-25  Angus Leeming  <leeming@lyx.org>
7915
7916         * lyxfunc.C (dispatch): Comment out the call to
7917         grfx::GCache::changeDisplay. The method no longer exists now that the
7918         pixmap generation part of the graphics loader has been moved into
7919         InsetGraphics.
7920
7921 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7922
7923         * text2.C: layout as layout
7924
7925         * text.C: layout as layout
7926
7927         * tabular.C (OldFormatRead): layout as layout
7928
7929         * paragraph_pimpl.C (TeXDeeper): layout as layout
7930         (realizeFont): layout as layout
7931
7932         * paragraph.C (writeFile): layout as layout
7933         (validate): layout as layout
7934         (getFont): layout as layout
7935         (getLabelFont): layout as layout
7936         (getLayoutFont): layout as layout
7937         (breakParagraph): layout as layout
7938         (stripLeadingSpaces): layout as layout
7939         (getEndLabel): layout as layout
7940         (getMaxDepthAfter): layout as layout
7941         (applyLayout): layout as layout
7942         (TeXOnePar): layout as layout
7943         (simpleTeXOnePar): layout as layout
7944         (TeXEnvironment): layout as layout
7945         (layout): layout as layout
7946         (layout): layout as layout
7947
7948         * lyxtextclass.C (compare_name): new functor to work with
7949         shared_ptr, layout as layout
7950         (Read): layout as layout
7951         (hasLayout): layout as layout
7952         (operator): layout as layout
7953         (delete_layout): layout as layout
7954         (defaultLayout): layout as layout
7955
7956         * lyxlayout_ptr_fwd.h: new file
7957
7958         * lyxlayout.C (Read): layout as layout
7959
7960         * lyx_cb.C (MenuInsertLabel): layout as layout
7961
7962         * bufferlist.C (newFile): layout as layout
7963
7964         * buffer.C (readLyXformat2): layout as layout
7965         (parseSingleLyXformat2Token): layout as layout
7966         (insertStringAsLines): layout as layout
7967         (asciiParagraph): layout as layout
7968         (latexParagraphs): layout as layout
7969         (makeLinuxDocFile): layout as layout
7970         (simpleLinuxDocOnePar): layout as layout
7971         (makeDocBookFile): layout as layout
7972         (simpleDocBookOnePar): layout as layout
7973         (getLists): layout as layout
7974
7975         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7976
7977         * CutAndPaste.C (cutSelection): layout as layout
7978         (pasteSelection): layout as layout
7979         (SwitchLayoutsBetweenClasses): layout as layout
7980
7981         * BufferView_pimpl.C (Dispatch): layout as layout
7982         (smartQuote): layout as layout
7983
7984         * BufferView2.C (unlockInset): layout as layout
7985
7986 2002-06-24  André Pönitz <poenitz@gmx.net>
7987
7988         * lyxfunc.C: fix #487
7989
7990 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7991
7992         * lyxrc.h:
7993         * lyxrc.C:
7994         * lyxfunc.C: remove display_shortcuts, show_banner
7995
7996 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7997
7998         * Buffer_pimpl.C: oops, update on resize
7999
8000 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8001
8002         * buffer.C:
8003         * converter.C:
8004         * exporter.C:
8005         * lyxfunc.C:
8006         * BufferView.h:
8007         * BufferView.C: use repaint()
8008
8009         * BufferView_pimpl.h:
8010         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8011           as it's a clearer description. Remove superfluous
8012           redraws.
8013
8014 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8015
8016         * text.C: fix bug 488. Not ideal, but getting
8017           getWord() to work properly for the insets that
8018           matter is more difficult ...
8019
8020 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8021
8022         * BufferView_pimpl.C:
8023         * LyXAction.C:
8024         * commandtags.h:
8025         * lyxfunc.C: remove the six million index lyxfuncs to just
8026           one, and DTRT (bug 458)
8027
8028 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8029
8030         * BufferView.h:
8031         * BufferView.C:
8032         * BufferView_pimpl.h:
8033         * BufferView_pimpl.C: clean up resize() stuff,
8034           and unnecessary updateScreen()s
8035
8036 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8037
8038         * BufferView.h:
8039         * BufferView.C:
8040         * BufferView_pimpl.h:
8041         * BufferView_pimpl.C:
8042         * lyxfind.h:
8043         * lyxfind.C:
8044         * minibuffer.C: remove focus management of workarea,
8045           not needed. Use screen's greyOut()
8046
8047 2002-06-17  Herbert Voss  <voss@lyx.org>
8048
8049         * converter.C: (convert) do not post a message, when converting
8050         fails, let the calling function decide what to do in this case
8051
8052 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8053
8054         * lyxfunc.C: tidy up a little
8055
8056 2002-06-16    <alstrup@diku.dk>
8057
8058         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8059         Got rid of FORMS_H_LOCATION include. Now we are
8060         GUII.
8061
8062 2002-06-15  LyX Development team  <lyx@rilke>
8063
8064         * buffer.[Ch] (sgmlOpenTag):
8065         (sgmlCloseTag): Added support for avoiding pernicious mixed
8066         content. Return number of lines written.
8067
8068         (makeLinuxDocFile):
8069         (makeDocBookFile): Fixed calls to sgml*Tag.
8070         Simple white space clean.
8071
8072         (simpleDocBookOnePar): Simple white space clean.
8073
8074         * tabular.[Ch] (docBook): Renamed to docbook and got another
8075         argument to related with the pernicious mixed content.
8076
8077         (docbookRow): Fixed calls for docbook inset method.
8078
8079 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8080
8081         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8082         so it's X11 independent.
8083
8084         * kb*.[Ch]: ditto.
8085
8086         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8087
8088 2002-06-15  Lyx Development team  <lyx@electronia>
8089
8090         * intl.h: Renamed getTrans to getTransManager.
8091
8092 2002-06-14  Angus Leeming  <leeming@lyx.org>
8093
8094         * Makefile.am: nuke forgotten stl_string_fwd.h.
8095
8096 2002-06-12  Angus Leeming  <leeming@lyx.org>
8097
8098         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8099
8100 2002-06-13  Angus Leeming  <leeming@lyx.org>
8101
8102         * LaTeX.C:
8103         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8104
8105 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8106
8107         * kbmap.C (getiso): add support for cyrillic and greek
8108
8109 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8110
8111         * BufferView.h:
8112         * BufferView.C:
8113         * BufferView_pimpl.h:
8114         * BufferView_pimpl.C: move bogus scrolling logic
8115           to xforms
8116
8117 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8118
8119         * lyxfunc.C:
8120         * BufferView_pimpl.C: view->resize() change
8121
8122 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8123
8124         * BufferView_pimpl.C: topCursorVisible
8125           prototype change
8126
8127 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8128
8129         * Makefile.am:
8130         * lyx_gui.h:
8131         * lyx_gui.C: move to frontends/
8132
8133         * main.C:
8134         * lyx_main.h:
8135         * lyx_main.C: changes from above
8136
8137 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8138
8139         * intl.C:
8140         * intl.h:
8141         * kbmap.C:
8142         * kbsequence.C:
8143         * lyx_cb.C:
8144         * lyx_main.C: minor tidy
8145
8146 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8147
8148         * BufferView_pimpl.h:
8149         * BufferView_pimpl.C:
8150         * BufferView.h:
8151         * BufferView.C: make painter() const,
8152           remove dead code
8153
8154         * BufferView2.C: use screen() accessor
8155
8156         * lyx_main.h:
8157         * lyx_main.C: some minor cleanup
8158
8159 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8160
8161         * BufferView_pimpl.h:
8162         * BufferView_pimpl.C: remove enter/leaveView,
8163           use workHeight()
8164
8165 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8166
8167         * BufferView.h:
8168         * BufferView.C:
8169         * BufferView2.C:
8170         * BufferView_pimpl.h:
8171         * BufferView_pimpl.C: only construct screen once,
8172           rename
8173
8174         * lyxrc.C: remove pointless comment
8175
8176 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8177
8178         * BufferView.h:
8179         * BufferView.C: remove active() and belowMouse()
8180
8181         * BufferView_pimpl.h:
8182         * BufferView_pimpl.C: use workarea() not workarea_,
8183           and make it use a scoped_ptr instead
8184
8185 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8186
8187         * lyx_gui.C: add debug message on BadWindow
8188
8189 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8190
8191         * sp_spell.C: fdopen is not part of the C++ standard.
8192
8193         * paragraph.C (InsetIterator): use >= instead of ==
8194
8195 2002-06-07  Angus Leeming  <leeming@lyx.org>
8196
8197         Fixes needed to compile with Compaq cxx 6.5.
8198         * BufferView_pimpl.C:
8199         * DepTable.C:
8200         * buffer.C:
8201         * converter.C:
8202         * encoding.C:
8203         * lyx_gui.C:
8204         * lyx_main.C:
8205         * lyxtextclasslist.C:
8206         * minibuffer.C:
8207         * sp_spell.C:
8208         * tabular_funcs.C:
8209         * vc-backend.C:
8210         all c-library variables have been moved into namespace std. Wrap
8211         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8212
8213         * lyxlength.C:
8214         * tabular-old.C:
8215         * tabular.C:
8216         Add a using std::abs declaration.
8217
8218         * kbmap.h (modifier_pair):
8219         * paragraph.h (InsetTable, InsetList):
8220         * lyxfont.h (FontBits):
8221         type definition made public.
8222
8223         * bufferlist.C (emergencyWriteAll): the compiler complains that
8224         there is more than one possible lyx::class_fun template to choose from.
8225         I re-named the void specialisation as lyx::void_class_fun.
8226
8227         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8228
8229         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8230         the compiler is is unable to find tostr in write_attribute.
8231
8232 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8233
8234         * buffer.C (sgmlError): hide #warning
8235
8236 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8237
8238         * xtl/*: get rid of xtl, which is not in use anyway
8239
8240         * LyXAction.C (init):
8241         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8242         were unimplemented xtl experimentation
8243
8244 2002-06-04  André Pönitz <poenitz@gmx.net>
8245
8246         * lyxfunc.C: disable array operation on simple formulae
8247
8248 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8249
8250         * converter.C: constify a bit
8251
8252 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8253
8254         * lyx_gui.C: check xforms version correctly
8255
8256 2002-04-30  Herbert Voss  <voss@lyx.org>
8257
8258         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8259         "keep" option
8260
8261 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8262
8263         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8264           attempt to register it with a VCS)
8265
8266 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8267
8268         * lyx_main.C (init): honor variables LYX_DIR_13x and
8269         LYX_USERDIR_13x
8270
8271 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8272
8273         * buffer.h:
8274         * buffer.C:
8275         * lyx_main.C: fix a crash on bad command line,
8276           and give a useful exit status on error
8277
8278         * lyxfunc.C (doImport): allow -i lyx to work
8279
8280 2002-03-30  André Pönitz <poenitz@gmx.net>
8281
8282         * lyxfunc.C: mathed font changes
8283
8284 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8285
8286         * LaTeX.C:
8287         * importer.h:
8288         * importer.C:
8289         * lyx_sty.h:
8290         * lyx_sty.C:
8291         * lyxlex.C:
8292         * lyxrow.h:
8293         * lyxtext.h:
8294         * paragraph.h:
8295         * paragraph.C:
8296         * texrow.h:
8297         * texrow.C:
8298         * text.C:
8299         * trans_mgr.h: srcdocs, and some minor cleanups
8300
8301 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8302
8303         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8304         call getFont all the time)
8305
8306 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8307
8308         * switch from SigC signals to boost::signals
8309
8310 2002-05-29  André Pönitz <poenitz@gmx.net>
8311
8312         * paragraph_pimpl.C (getChar): don't call size() too often...
8313
8314 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8315
8316         * paragraph_pimpl.C (insertChar): do not try to update tables when
8317         appending (pos == size())
8318
8319         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8320         in order to reduce drastically the number of comparisons needed to
8321         parse a large document
8322
8323 2002-05-29  André Pönitz <poenitz@gmx.net>
8324
8325         * text.C:
8326         * text2.C:
8327         * lyxtextclass.C:
8328         * sp_pspell.h:
8329         * textclasslist.[Ch]:
8330         * sp_ispell.h: whitespace change
8331
8332 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8333
8334         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8335         lyxaction directly now.
8336
8337 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8338
8339         * trans.C:
8340         * lyxfont.C:
8341         * lyxvc.C: remove unused headers
8342
8343 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8344
8345         * Makefile.am:
8346         * buffer.h:
8347         * undostack.h:
8348         * undostack.C:
8349         * undo_funcs.h:
8350         * undo_funcs.C: some cleanups. Use shared_ptr
8351           and a template for the undo stacks.
8352
8353 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8354
8355         * BufferView_pimpl.h:
8356         * BufferView_pimpl.C:
8357         * kbmap.h:
8358         * kbmap.C:
8359         * kbsequence.h:
8360         * kbsequence.C:
8361         * lyxfunc.h:
8362         * lyxfunc.C:
8363         * text2.C: use key_state/mouse_state
8364
8365 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8366
8367         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8368         and LSubstring
8369
8370         * chset.C: change include order
8371         (loadFile): use boost regex and get rid of LRegex and LSubstring
8372
8373         * Makefile.am (BOOST_LIBS): new variable
8374         (lyx_LDADD): use it
8375
8376         * LaTeX.C: change include order.
8377         (scanAuxFile): use boost regex and get rid of LRegex and
8378         LSubstring
8379         (deplog): ditto
8380
8381 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8382
8383         * ColorHandler.h:
8384         * ColorHandler.C:
8385         * FontInfo.h:
8386         * FontInfo.C: moved to frontends/xforms/
8387
8388         * FontLoader.h:
8389         * FontLoader.C: moved into frontends for GUIIzation
8390
8391         * Makefile.am:
8392         * lyx_gui.C:
8393         * lyxfont.C:
8394         * lyxfunc.C: changes from above
8395
8396 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8397
8398         * LColor.C: remove spurious X include
8399
8400         * BufferView_pimpl.C:
8401         * Makefile.am:
8402         * font.h:
8403         * font.C:
8404         * text.C:
8405         * text2.C: move font metrics to frontends/
8406
8407 2002-05-24  Juergen Vigna  <jug@sad.it>
8408
8409         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8410         setting the undo_cursor.
8411
8412         * ParagraphParameters.h: include local includes first.
8413
8414 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8415
8416         * BufferView_pimpl.C:
8417         * BufferView_pimpl.h:
8418         * Makefile.am:
8419         * WorkArea.h:
8420         * WorkArea.C:
8421         * screen.C: move WorkArea into frontends/
8422
8423         * lyxscreen.h:
8424         * screen.C:
8425         * text.C:
8426         * BufferView.C:
8427         * BufferView2.C: move LyXScreen into frontends/
8428
8429         * lyxlookup.h:
8430         * lyxlookup.C:
8431         * lyx_gui.C: move lyxlookup into frontends/xforms/
8432
8433 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8434
8435         * BufferView2.C:
8436         * BufferView_pimpl.C:
8437         * FontLoader.C:
8438         * LyXView.h:
8439         * LyXView.C:
8440         * Makefile.am:
8441         * WorkArea.C:
8442         * XFormsView.h:
8443         * XFormsView.C:
8444         * buffer.C:
8445         * bufferlist.C:
8446         * bufferview_funcs.C:
8447         * converter.C:
8448         * importer.C:
8449         * lyx_cb.C:
8450         * lyx_gui.C:
8451         * lyx_main.C:
8452         * lyx_find.C:
8453         * lyxfunc.C:
8454         * lyxvc.C:
8455         * minibuffer.C:
8456         * text.C:
8457         * text2.C:
8458         * trans.C:
8459         * vc-backend.C: move LyX/XFormsView into frontends/
8460
8461 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8462
8463         * Makefile.am:
8464         * PainterBase.C:
8465         * PainterBase.h:
8466         * Painter.C:
8467         * Painter.h:
8468         * WorkArea.C:
8469         * WorkArea.h:
8470         * screen.C:
8471         * tabular.C:
8472         * text.C:
8473         * text2.C: move Painter to frontends/
8474
8475 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8476
8477         * buffer.C: comment out some some code that depend upon lyx_format
8478         < 220
8479
8480         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8481         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8482
8483         * buffer.h (NO_COMPABILITY): turn off compability
8484
8485         * ColorHandler.C: include scoped_array.hpp
8486
8487         * font.C: Use more specific smart_ptr header.
8488         * Painter.C: ditto
8489         * gettext.C: ditto
8490         * ShareContainer.h: ditto
8491         * lyx_main.h: ditto
8492         * kbmap.h: ditto
8493         * FontInfo.h: ditto
8494         * BufferView_pimpl.h: ditto
8495         * ColorHandler.h: ditto
8496
8497         * kbmap.C (defkey): change call to shared_ptr::reset
8498
8499 2002-05-21  Juergen Vigna  <jug@sad.it>
8500
8501         * buffer.C (insertErtContents): fix to insert ert asis if it is
8502         non empty. Skip it completely if it contains only whitespaces.
8503
8504 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8505
8506         * BufferView_pimpl.C:
8507         * BufferView2.C: clear selection on paste (bug 393)
8508
8509 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8510
8511         * DepTable.C: include ctime
8512
8513 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8514
8515         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8516
8517 2002-05-14  Juergen Vigna  <jug@sad.it>
8518
8519         * text.C (breakParagraph): fixed function to honor the keepempty
8520         layout in the right maner and also to permit the right breaking
8521         algorithm on empty or non empyt keepempty paragraphs.
8522
8523         * paragraph.C (breakParagraph): we have to check also if the par
8524         is really empty (!size()) for isempty otherwise we do the wrong
8525         paragraph break.
8526
8527 2002-05-10  Juergen Vigna  <jug@sad.it>
8528
8529         * buffer.[Ch] : The following are only changes to the ert
8530         compatibility read reading old LaTeX layout and font stuff and
8531         convert it to ERTInsets.
8532
8533         * buffer.h: added isErtInset().
8534
8535         * buffer.C (struct ErtComp): add a fromlayout bool to check
8536         if we're inside a LaTeX layout.
8537         (isErtInset): new helper function.
8538         (insertErtContents): look for other ert insets before this one
8539         and insert the contents there, so that we don't have subsequent
8540         ERT insets with nothing between them. This way we create only one
8541         inset with multiple paragraphs. Also check if we don't insert only
8542         spaces ' ' as they are ignored anyway afterwards in the .tex file
8543         so if we have only spaces we will ignore this latex part in the
8544         new file.
8545         (parseSingleLyXformat2Token \\layout): better compatibility when
8546         reading layout-latex stuff.
8547         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8548         language tag.
8549         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8550         stuff after reading the inset only get the information back from
8551         the stack.
8552
8553 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8554
8555         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8556
8557         * LaTeXFeatures.C (getBabelOptions): New method.
8558
8559 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8560
8561         * BufferView_pimpl.C (Dispatch): work around missing argument for
8562         'layout'
8563
8564 2002-05-08  Juergen Vigna  <jug@sad.it>
8565
8566         * text.C (leftMargin): handle paragraph leftindent.
8567
8568         * paragraph.C (writeFile): write the new \\leftindent tag.
8569         (validate): handle leftindent code.
8570         (TeXEnvironment): handle paragraphleftindent code again.
8571
8572         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8573
8574         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8575         for paragrap_extra indent code and new token \\leftindent.
8576         (latexParagraphs): handle the leftindent as environment.
8577
8578         * ParameterStruct.h: added leftindent support.
8579
8580         * ParagraphParameters.C (leftIndent): added support functions for
8581         the paragraph left indent.
8582
8583         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8584         more appropriate.
8585
8586 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8587
8588         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8589         inside insetERT.
8590
8591         * text.C (computeBidiTables): No bidi in insetERT.
8592
8593         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8594         in RTL documents.
8595
8596 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8597
8598         * version.C.in: pre 5
8599
8600 2002-05-02  José Matos  <jamatos@fep.up.pt>
8601         * buffer.C (makeDocBookFile): white space changes, add newline to
8602         command styles.
8603         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8604
8605         * tabular.C (docBook): fix typo.
8606
8607 2002-05-03  Juergen Vigna  <jug@sad.it>
8608
8609         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8610         change in LyXText as we can not be sure it was not freed.
8611         (drawOneRow): remove unused code.
8612
8613         * text.C (drawInset): redo the calculation of the need_break_row as
8614         it could have a row which was already freed.
8615         (draw): look at the return value of drawInset and return false if
8616         it also returned false.
8617         (paintRowText): look at the return value of draw and return false if
8618         it also returned false.
8619
8620         * lyxtext.h: added bool return type to drawInset() and draw() so that
8621         if we have a change in the row so that the rowbreak has to be redone
8622         we abort drawing as it will be called again.
8623
8624 2002-05-02  Juergen Vigna  <jug@sad.it>
8625
8626         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8627         a change in the maintext also if we're inside an inset.
8628         (Dispatch): set the cursor again after a break line and after the
8629         screen has been updated as it could be we're in a different row.
8630
8631         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8632         to set the cursor behind the pargraph with > size().
8633         (setCursor): check also for the same paragraph when checking where
8634         to put the cursor if we have a NFR inset.
8635
8636         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8637         parts of layout read further up as it still was in the wrong
8638         position.
8639
8640 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8641
8642         * screen.C (drawFromTo): change sine fullRebreak always return
8643         true.
8644
8645         * buffer.C (parseSingleLyXformat2Token): reindent some
8646
8647         * BufferView_pimpl.C (update): change since fullRebreak always
8648         return true.
8649         (Dispatch): git rid of the last hardcoded "Standard"s.
8650
8651 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8652
8653         * text2.[Ch] (fullRebreak): make it return void now that we always
8654         returned true.
8655
8656 2002-04-30  Juergen Vigna  <jug@sad.it>
8657
8658         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8659         ert compatibility check for "latex" layout.
8660
8661 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8662
8663         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8664         minipages: use col% instead of p%, and also use the current font.
8665         (makeLaTeXFile): Fix use babel condition.
8666         (parseSingleLyXformat2Token): Correct font when reading old floats.
8667
8668 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8669
8670         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8671         inserting list of floats.
8672
8673 2002-04-25  Herbert Voss  <voss@lyx.org>
8674
8675         * MenuBackend.C (expand): don't add the graphics extensions to the
8676         export menu
8677
8678 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8679
8680         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8681         non-existing layout, do not complain if it was the default layout
8682         of the original class (bug #342)
8683
8684 2002-04-24  Juergen Vigna  <jug@sad.it>
8685
8686         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8687         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8688
8689 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8690
8691         * buffer.C (getBibkeyList): If using \bibliography, return the
8692         option field with the reference itself. Enables us to provide natbib
8693         support when using \bibliography.
8694
8695 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8696
8697         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8698
8699         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8700         natbib is provided by the LaTeX class.
8701
8702 2002-04-23  Juergen Vigna  <jug@sad.it>
8703
8704         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8705         Wakeup functions.
8706
8707         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8708
8709 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8710
8711         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8712
8713         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8714         ensuremath around textordmasculine, textordfeminine and
8715         textdegree.
8716
8717 2002-04-19  Juergen Vigna  <jug@sad.it>
8718
8719         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8720         reinitializing the buffer otherwise row-dimensions may be wrong.
8721         (update): reset also the selection cursors if they do exits otherwise
8722         their x/y positions may be wrong.
8723
8724         * text2.C (cursorDown): don't enter the inset if we came from a row
8725         above and are one row over the inset.
8726
8727         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8728         really leaving an inset.
8729
8730 2002-04-18  Juergen Vigna  <jug@sad.it>
8731
8732         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8733         of the selected paragraph does not have the selected layout also if
8734         the last one had!
8735
8736         * text2.C (setLayout): fixed bug which did not change last selected
8737         paragraph.
8738
8739         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8740         changed the read and substituted \\end_float with \\end_inset!
8741
8742         * BufferView_pimpl.C (cursorPrevious):
8743         (cursorNext): fixed to make it work with rows heigher than the work
8744         area without moving the cursor only the draw of the row.
8745         (workAreaMotionNotify): fix jumping over high rows.
8746
8747 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8748
8749         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8750         Ressler.
8751
8752 2002-04-16  Juergen Vigna  <jug@sad.it>
8753
8754         * text2.C (setCursor): set also the irow().
8755         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8756         (cursorUp):
8757         (cursorDown): support for locking an inset if the x_fix value goes
8758         inside it. That way I can transverse insets too with cursor up/down.
8759
8760         * lyxrow.h: added irow helper function same as other (i) functions.
8761
8762         * BufferView_pimpl.C (cursorPrevious):
8763         (cursorNext): fixed for insets!
8764
8765 2002-04-15  Juergen Vigna  <jug@sad.it>
8766
8767         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8768         position otherwise it is wrong in some cases.
8769
8770         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8771         inside the inset before the call.
8772
8773 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8774
8775         * buffer.[Ch] (getBibkeyList): make it const.
8776
8777 2002-04-12  Juergen Vigna  <jug@sad.it>
8778
8779         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8780
8781         * text2.C (getCursorX): new helper function
8782         (setCursor): compute also ix_
8783         (setCursorFromCoordinates): set also ix.
8784
8785         * lyxcursor.h: added ix_ and helper functions.
8786
8787         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8788
8789         * buffer.C (insertStringAsLines): dont break paragraph if the this
8790         paragraph is inside an inset which does not permit it!
8791
8792         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8793         also with no chars on this paragraph.
8794         (paintRowText): only paint stuff if it's inside the workarea!
8795
8796         * paragraph.C (breakParagraph): honor keepempty flag and break the
8797         paragraph always below not above.
8798
8799         * BufferView2.C (unlockInset): update the paragraph layout on inset
8800         unlock as we changed paragraph in such a case.
8801
8802         * lyxfind.C (LyXFind): clear the former selection if not found!
8803
8804         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8805         again called in insertChar().
8806
8807         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8808         an inset which uses the whole row!
8809         (rightMargin): ditto.
8810         (insertChar): force a rebreak if we inserted an inset!
8811
8812 2002-03-28  Herbert Voss  <voss@lyx.org>
8813
8814         * lyxlength.[Ch]: add inBP() to get the right PS-point
8815         units (BigPoint). With inPixels we have rounding errors
8816
8817 2002-04-11  Juergen Vigna  <jug@sad.it>
8818
8819         * text2.C (setCursorFromCoordinates): set iy to the right value.
8820         (setCursor): add check if row->previous exists!
8821
8822         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8823         an old float_type as this was the case in the old code!
8824
8825         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8826
8827         * BufferView2.C (showLockedInsetCursor): use iy
8828         (fitLockedInsetCursor): ditto
8829
8830         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8831         locked insets as there we have the right value now.
8832
8833         * lyxcursor.C: added iy_ variable and iy functions to set to the
8834         baseline of cursor-y of the locked inset.
8835
8836         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8837         (setCursor): fixed for insets which need a full row.
8838
8839         * text.C (rowLastPrintable): don't ignore the last space when before
8840         an inset which needs a full row.
8841         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8842         as last character of a row when before a inset which needs a full row.
8843
8844 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8845
8846         * version.C.in: update date
8847
8848         * text2.C (fullRebreak): try to always return true and see what
8849         happens...
8850
8851 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8852
8853         * MenuBackend.C (expand): use Floating::listName
8854
8855         * FloatList.C (FloatList): add listName argument to the built-in
8856         floats
8857
8858         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8859         text associated with the float.
8860
8861 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8862
8863         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8864
8865 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8866
8867         * ShareContainer.h: add a couple of missing typenames.
8868
8869 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8870
8871         * lyxrc.C (getDescription): use _() correctly rather than N_().
8872
8873 2002-03-28  Herbert Voss  <voss@lyx.org>
8874
8875         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8876         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8877
8878 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8879
8880         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8881         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8882
8883 2002-03-29  Juergen Vigna  <jug@sad.it>
8884
8885         * lyxfunc.C (dispatch): add a missing fitCursor call.
8886
8887         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8888         it was scrolled by a cursor move, so return the bool status.
8889
8890         * BufferView.C (fitCursor): return the bool flag also to the outside
8891         world as this is needed.
8892
8893         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8894
8895         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8896         call the edit() as it is not needed (and wrong) IMO.
8897         (workAreaButtonPress): set the screen_first variable before evt.
8898         unlock the inset as this may change screen_first and then we have
8899         a wrong y position for the click!
8900
8901 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8902
8903         * MenuBackend.C (expand): another translation that I missed
8904
8905 2002-03-28  Juergen Vigna  <jug@sad.it>
8906
8907         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8908
8909         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8910
8911 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8912
8913         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8914
8915         * MenuBackend.C (expand): fix export/view/update when there is no
8916         document open.
8917
8918 2002-03-27  Herbert Voss  <voss@lyx.org>
8919
8920         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8921         and text%
8922
8923 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8924
8925         * bufferview_funcs.C (currentState): only show paragraph number
8926         for is DEVEL_VERSION is set.
8927
8928         * lyxfunc.C (dispatch): put warning in INFO channel
8929
8930         * MenuBackend.C (expand): translate the name of floats
8931
8932         * FloatList.C (FloatList): mark the float names for translation
8933
8934         * converter.C (convert): use LibScriptSearch
8935
8936 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8937
8938         * MenuBackend.C (defaults): fix default menu (we might as well get
8939         rid of it...)
8940
8941 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8942
8943         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8944         directory.
8945
8946 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8947
8948         * lyxvc.C: reorder includes.
8949
8950 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8951
8952         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8953           properly
8954
8955 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8956
8957         * CutAndPaste.C: change layouts earlier on paste
8958           to avoid crashing when calling getFont()
8959
8960 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8961
8962         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8963         irritating #error.
8964
8965 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8966
8967         * WorkArea.C: remove 'Pending' debug message.
8968
8969         * most files: ws cleanup
8970
8971         * buffer.[Ch]: ws changes
8972
8973         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8974
8975 2002-03-21  Juergen Vigna  <jug@sad.it>
8976
8977         * tabular.C (SetMultiColumn): collapse also the contents of the
8978         cells and set the last border right. Added a Buffer const * param.
8979
8980 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8981
8982         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8983         linking or not.
8984
8985 2002-03-19  Juergen Vigna  <jug@sad.it>
8986
8987         * text2.C (clearSelection): reset also xsel_cache.
8988
8989         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8990         where it needs to be called (John tells us to do so too :)
8991         (selectionLost): reset sel_cache.
8992
8993         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8994
8995 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8996
8997         * text2.C (setCursorIntern): put debuging code in INSETS channel
8998
8999 2002-03-19  André Pönitz <poenitz@gmx.net>
9000
9001         * lyxfunc.C: tiny whitespace change
9002
9003 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9004
9005         * ToolbarDefaults.C (init):
9006         * LyXAction.C (init):
9007         * commandtags.h:
9008         * BufferView_pimpl.C (Dispatch):
9009         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9010
9011 2002-03-19  Allan Rae  <rae@lyx.org>
9012
9013         * exporter.C (Export): removeAutoInsets before doing anything else.
9014         While I've just introduced a dependency on BufferView this really is
9015         the best place to clean the buffer otherwise you need to cleanup in
9016         a dozen places before calling export or cleanup in a dozen functions
9017         that export calls.
9018
9019         * converter.C (runLaTeX):
9020         (scanLog): Better handling of removeAutoInsets and screen updates.
9021
9022         * lyxfunc.C (dispatch): small whitespace changes
9023
9024 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9025
9026         * WorkArea.C (C_WorkAreaEvent): return a value.
9027         (event_cb): return 1 if we handled the event, 0 otherwise.
9028
9029         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9030
9031 2002-03-18  Juergen Vigna  <jug@sad.it>
9032
9033         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9034         (GetAdditionalWidth): ditto.
9035         (RightLine): ditto.
9036         (LeftLine): ditto.
9037
9038         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9039         inset if we're there actually (probably not used right now but this
9040         is the direction to go for unifying code).
9041         (paste): disable code to clear the selection.
9042
9043         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9044         inside an InsetText and move the check further up as it is in the
9045         wrong place.
9046
9047         * text2.C (pasteSelection): set a selection over the pasted text.
9048
9049 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9050
9051         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9052         and libgraphics to build on Cygwin.
9053
9054 2002-03-15  Juergen Vigna  <jug@sad.it>
9055
9056         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9057         inserting an Inset into the paragraph. I know this is not the best
9058         fix but we already use current_view in CutAndPaste so we will remove
9059         all of it's using at the same time.
9060
9061         * buffer.C (sgmlError): deactivated function till it is rewritten in
9062         the right mode, now it can create problems.
9063
9064         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9065         before accessing it.
9066
9067 2002-03-14  Juergen Vigna  <jug@sad.it>
9068
9069         * undo_funcs.C (textHandleUndo): do the right thing when updating
9070         the inset after the undo/redo.
9071
9072         * text2.C (setCursor): just some testcode for #44 not ready yet.
9073
9074         * undo_funcs.C (textHandleUndo): set the next() and previous()
9075         pointers of the paragraph to 0 before deleting otherwise we have
9076         problems with the Paragraph::[destructor].
9077
9078         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9079         on a paragraph insertion.
9080
9081 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9082
9083         * buffer.C (asciiParagraph): use += operator for char append to
9084         string.
9085
9086         * paragraph.C (getFontSettings): compare >= not just >
9087         (highestFontInRange): ditto
9088         (setFont): ditto
9089
9090 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9091
9092         * paragraph.C: change several algorithm to be more appripriate for
9093         the problem domain. This is lookip in FontList and in the InsetList.
9094
9095 2002-03-13  André Pönitz <poenitz@gmx.net>
9096
9097         * commandtags.h:
9098         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9099
9100 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9101
9102         * commandtags.h:
9103         * LyXAction.C:
9104         * lyxfunc.C:
9105         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9106
9107 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9108
9109         * Painter.C (display): anon helper function, adjust code for this
9110         change.
9111         (pixmap): remove function.
9112
9113         * Painter.h: remove private display variable.
9114
9115         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9116
9117 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9118
9119         * WorkArea.[Ch]: remove figinset_canvas cruft.
9120
9121 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9122
9123         * lyxtextclass.C (operator): add one item cache optimization.
9124
9125         * bufferlist.h: doxy changes
9126
9127         * bufferlist.C: ws changes
9128
9129         * DepTable.[Ch] (ext_exist): place const in the right spot.
9130
9131         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9132         call resizeInsets.
9133         (workAreaExpose): call resizeInsets when the with BufferView changes.
9134         (Dispatch): adjust for protectedBlank removal
9135         (specialChar): call updateInset if the insert went ok.
9136
9137         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9138         specialChar instead.
9139
9140         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9141
9142         * BufferView.h: doxy change
9143
9144         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9145
9146         * lyxtextclass.C (operator[]): remove non-const version
9147         (defaultLayout): remove non-const version
9148
9149 2002-03-12  Juergen Vigna  <jug@sad.it>
9150
9151         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9152         did resize the LyXText too.
9153
9154         * buffer.C (readLyXformat2): set layout information on newly allocated
9155         paragraphs.
9156
9157         * tabular.C (OldFormatRead): set layout information on the paragraph.
9158
9159 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9160
9161         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9162
9163 2002-03-11  Juergen Vigna  <jug@sad.it>
9164
9165         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9166         plainly wrong.
9167         (resizeCurrentBuffer): force also the insets to resize themselfes.
9168         (moveCursorUpdate): fixed up for InsetText.
9169
9170 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9171
9172         * commandtags.h:
9173         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9174         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9175         value of Dialogs::tooltipsEnabled().
9176         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9177
9178 2002-03-08  Juergen Vigna  <jug@sad.it>
9179
9180         * BufferView_pimpl.C (updateInset): update inset inside inset also
9181         if it isn't inside theLockingInset().
9182
9183 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9184
9185         * buffer.C (asciiParagraph): redo some of the word and line length
9186         handling.
9187         (getLists): look for Caption instead of caption.
9188
9189 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9190
9191         * buffer.C (Buffer): initialize niceFile to true
9192         (makeLaTeXFile):
9193         (makeLinuxDocFile):
9194         (makeDocBookFile): make sure niceFile is true on exit
9195
9196 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9197
9198         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9199
9200 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9201
9202         * LyXSendto.C: remove.
9203         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9204         * lyx_gui.C: remove now-redundant comment.
9205         * ColorHandler.h: remove forward declaration of class WorkArea.
9206         * lyxfunc.C: remove #include "WorkArea.h".
9207
9208 2002-03-07  Juergen Vigna  <jug@sad.it>
9209
9210         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9211         got moved away with the DEPM and also set the inset_owner always
9212         right which before could have been omitted.
9213
9214 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9215
9216         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9217         wanted layout is not found.
9218
9219 2002-03-07  Juergen Vigna  <jug@sad.it>
9220
9221         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9222
9223 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9224
9225         * paragraph.C (breakParagraph): use default layout not layout of
9226         prev paragraph.
9227         (Paragraph): clear ParagraphParameters.
9228
9229 2002-03-06  Juergen Vigna  <jug@sad.it>
9230
9231         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9232         otherwise it would not be a valid lenght. Fixed a special case in
9233         the minipage compatibility read where we end the document with a
9234         minipage.
9235
9236         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9237         was set as it could be 0 for InsetTexts first entry.
9238
9239 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9240
9241         * paragraph.C (writeFile): if layout is empty write out
9242         defaultLayoutName().
9243
9244         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9245         file without named layout we set layout to defaultLayoutName().
9246
9247 2002-03-06  Juergen Vigna  <jug@sad.it>
9248
9249         * CutAndPaste.C (copySelection): set layout for new paragraph.
9250
9251         * text.C (prepareToPrint): leave ERT inset left aligned
9252         (leftMargin): don't indent paragraphs inside ERT insets
9253
9254 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9255
9256         * paragraph.C (breakParagraph): dont call clear do the work manually
9257
9258         * paragraph.[Ch] (clear): remove function
9259
9260 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9261
9262         * paragraph.C (Paragraph): dont call clear, the work has already
9263         been done.
9264
9265         * lyxtextclass.C (operator): assert if n is empty
9266
9267         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9268         work manually instead.
9269
9270 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9271
9272         * BufferView_pimpl.C: protect selectionLost against text == 0
9273
9274 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9275
9276         * text.C (breakParagraph): fix a setting layout to '0' problem.
9277
9278 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9279
9280         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9281         final location of file, for the included files, and graphics.
9282
9283 2002-03-05  Juergen Vigna  <jug@sad.it>
9284
9285         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9286
9287 2002-03-04  Juergen Vigna  <jug@sad.it>
9288
9289         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9290
9291         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9292         last column of multicolumn cells.
9293         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9294
9295 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9296
9297         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9298         file if it doesn't go to a temporary file.
9299
9300         * buffer.C (sgmlOpenTag):
9301         (sgmlCloseTag):  remove extra newline insertion.
9302
9303 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9304
9305         * text.C (getRowNearY): comment out debug msg
9306
9307 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9308
9309         * text2.C: first -> first_y
9310
9311         * text.C (getRowNearY): add some attemts at a possible
9312         optimization, not working.
9313
9314         * tabular.[Ch]: add BufferParams to several function so that newly
9315         created paragraph can be initialized to he default layotu for the
9316         buffers textclass.
9317
9318         * tabular-old.C (ReadOld): add buf->params to call of Init
9319
9320         * screen.C: rename text->first to text->first_y
9321
9322         * paragraph.C (breakParagraph): always set layout in the broken
9323         paragraph
9324
9325         * lyxtextclass.C (Read): remove lowercase
9326         (hasLayout): ditto
9327         (operator): ditto
9328         (delete_layout): ditto
9329
9330         * lyxtext.h: rename first -> first_y
9331
9332         * lyxlayout.C (Read): remove lowercase
9333         (name): ditto
9334         (setName): ditto
9335         (obsoleted_by): ditto
9336
9337         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9338
9339         * buffer.C (insertErtContents): add params are to InsetERT
9340         (parseSingleLyXformat2Token): add code to check if a paragraphs
9341         layout really exist.
9342         (parseSingleLyXformat2Token): add params to several inset
9343         constructors
9344         (asciiParagraph): remove lowercase, do the layout comparisons with
9345         no_case
9346
9347         * BufferView_pimpl.C (cursorNext): first -> first_y
9348         (resizeCurrentBuffer): first -> first_y
9349         (updateScrollbar): first -> first_y
9350         (scrollCB): first -> first_y
9351         (workAreaMotionNotify): first -> first_y
9352         (workAreaButtonPress): first -> first_y
9353         (checkInsetHit): first -> first_y
9354         (cursorPrevious): first -> first_y
9355         (cursorNext): first -> first_y
9356         (Dispatch): add buffer_->params to severl inset contructors
9357
9358 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9359
9360         * lyxlayout.C (Read): remove some debug info that I forgot.
9361
9362         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9363         clean up the code slightly.
9364         (makeLinuxDocFile): ditto
9365         (makeDocBookFile): ditto
9366
9367         * text2.C: layout as string
9368
9369         * text.C: layout as string
9370
9371         * paragraph_pimpl.C: layout as string
9372
9373         * paragraph.[Ch]: layout as string
9374
9375         * lyxtextclasslist.[Ch]: layout as string
9376
9377         * lyxtextclass.[Ch]: layout as string
9378
9379         * lyxtext.h: layout as string
9380
9381         * lyxlayout.[Ch]: layout as string
9382
9383         * lyx_cb.C: layout as string
9384
9385         * bufferview_funcs.C: layout as string
9386
9387         * bufferparams.C: layout as string
9388
9389         * buffer.C: layout as string
9390
9391         * LyXView.[Ch]: layout as string
9392
9393         * LaTeXFeatures.[Ch]: layout as string
9394
9395         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9396
9397         * BufferView_pimpl.C: change current_layout to string, remove
9398         lyx::layout_type.
9399         (Dispatch):
9400         (smartQuote):
9401         (insertInset):
9402         (workAreaButtonRelease): layout as string
9403
9404         * BufferView2.C (unlockInset): adjust
9405
9406         * vspace.C (asLatexCommand): use an explict temp variable.
9407
9408 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9409
9410         * Makefile.am: use FRONTEND_*
9411
9412 2002-03-01  Juergen Vigna  <jug@sad.it>
9413
9414         * tabular.C (SetWidthOfMulticolCell): changed to something better
9415         I hope but still work in progress.
9416         (recalculateMulticolumnsOfColumn): renamed function from
9417         recalculateMulticolCells as it is more appropriate now.
9418         (SetWidthOfCell): calculate multicols better.
9419
9420 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9421
9422         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9423
9424         * lyxfunc.C (processKeySym): print sequence also if it is
9425         `deleted' (complete)
9426
9427         * kbsequence.C (print): print sequence even if it is deleted
9428         (complete would be a better word, actually).
9429
9430         * lyxfunc.C (dispatch): print complete options after a prefix key
9431
9432         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9433
9434 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9435
9436         * text2.C (setCharFont): eliminate setCharFont code duplication.
9437
9438 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9439
9440         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9441         LFUN_TABULAR_FEATURE (bug #177)
9442
9443 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9444
9445         * Makefile.am: remove figure.h
9446
9447 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9448
9449         * Bufferview_pimpl.C:
9450         * CutAndPasteC:
9451         * LaTeX.C:
9452         * LyXSendto.C:
9453         * buffer.C:
9454         * bufferlist.C:
9455         * converter.C:
9456         * language.C:
9457         * lyxfunc.C:
9458         * lyxvc.C:
9459         * paragraph.C:
9460         * text.C:
9461         * text2.C: remove #include "lyx_gui_misc.h".
9462
9463         * LaTeX.C: added #include <cstdio>
9464
9465 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9466
9467         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9468         that the paragraph following this one can have.
9469
9470         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9471
9472         * vspace.C (asLatexCommand): fix bogus gcc warning
9473
9474         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9475
9476 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9477
9478         * text2.C (setLayout): get rid of redundant code
9479
9480 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9481
9482         * text2.C (incDepth): make sure depth cannot be increased beyond
9483         reasonable values.
9484
9485 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9486
9487         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9488         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9489
9490         * PainterBase.h (image):
9491         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9492         a LyXImage const *.
9493
9494 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9495
9496         * BufferView.C:
9497         * BufferView.h:
9498         * BufferView_pimpl.C:
9499         * BufferView_pimpl.h:
9500         * LaTeXFeatures.C:
9501         * LyXAction.C:
9502         * LyXView.C:
9503         * Makefile.am:
9504         * UpdateList.h:
9505         * UpdateList.C:
9506         * buffer.C:
9507         * figure.h:
9508         * figureForm.C:
9509         * figureForm.h:
9510         * figure_form.C:
9511         * figure_form.h:
9512         * lyx_cb.C:
9513         * lyx_gui.C:
9514         * lyx_gui_misc.C:
9515         * lyxfunc.C:
9516         * sp_base.h:
9517         * sp_ispell.h:
9518         * sp_pspell.h:
9519         * sp_spell.C: remove fig inset, and the crap house of
9520           cards that follows it
9521
9522 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9523
9524         * Makefile.am:
9525         * lyxserver.C:
9526         * os2_defines.h:
9527         * os2_errortable.h:
9528         * nt_defines.h: move .h into support/
9529
9530         * vms_defines.h: remove
9531
9532         * WorkArea.C: add space in debug output
9533
9534         * text2.C:
9535         * paragraph.C:
9536         * buffer.C: add WITH_WARNINGS
9537
9538         * vc-backend.h:
9539         * vc-backend.C:
9540         * bufferlist.C: s/retrive/retrieve/, add docs
9541
9542         * vspace.h:
9543         * vspace.C:
9544         * kbmap.h:
9545         * lyxlength.h:
9546         * lyxgluelength.h:
9547         * length_common.h:
9548         * chset.h:
9549         * chset.C: add docs
9550
9551         * lyxgui.C: add ID to X error handler
9552
9553         * lyxtestclass.c: fix typo
9554
9555 2002-02-26  Juergen Vigna  <jug@sad.it>
9556
9557         * tabular_funcs.C (write_attribute): changed so that some default
9558         attributes are not written at all.
9559         (getTokenValue): set default values before trying to read the
9560         value so we have the return value always set as default if we don't
9561         find the token we search for.
9562
9563         * tabular.C (Write): write bools as bools not as strings!
9564
9565 2002-02-22  Juergen Vigna  <jug@sad.it>
9566
9567         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9568         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9569
9570         * text.C (leftMargin): don't add an indent for paragraphs inside
9571         tabular cells (fix #208).
9572
9573 2002-02-21  José Matos  <jamatos@fep.up.pt>
9574
9575         * tabular.C (docBook): fixed support for long tables.
9576
9577 2002-02-20  Juergen Vigna  <jug@sad.it>
9578
9579         * text2.C (getFont): get the drawing font of the Inset if this
9580         paragraph is inside an inset (only important for InsetERT for now).
9581
9582         * buffer.C (insertErtContents): use new lanugage params in ERT
9583         constructor.
9584
9585         * CutAndPaste.C: commenting out seemingly uneeded code.
9586
9587 2002-02-19  Allan Rae  <rae@lyx.org>
9588
9589         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9590         Iterators might be simple to use but they also get invalidated.
9591         (removeAutoInsets): renamed saved cursor tracking variables and added
9592         some comments to clarify what everything does.
9593
9594 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9595
9596         * Chktex.C:
9597         * LaTeX.C:
9598         * LyXSendto.C:
9599         * converter.C:
9600         * lyx_cb.C:
9601         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9602         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9603
9604         * lyxfunc.C:
9605         * vc-backend.h: remove #include "support/syscall.h"
9606
9607         * LaTeX.C:
9608         * LyXSendto.C:
9609         * converter.C: rearrange #includes in Lars' approved fashion.
9610
9611         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9612         forward declare class Timeout in the header file.
9613
9614         * XFormsView.C: changes due to the above.
9615
9616         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9617         similar to LyXView.
9618
9619         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9620         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9621
9622 2002-02-18  José Matos  <jamatos@fep.up.pt>
9623
9624         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9625         insets contents.
9626
9627 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9628
9629         * a lot of small ws changes
9630         * add a lot of using std::XXX
9631         * use std construcs some places where approp.
9632         * use some exisint stuff from lyxfunctional where approp.
9633         * Make file changes to use partial linking (lets test this now...)
9634
9635 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9636
9637         * Chktex.C:
9638         * buffer.C:
9639         remove #include "support/syscontr.h" as it's redundant. Always has been.
9640
9641         * Chktex.C:
9642         * LaTeX.C:
9643         * LyXSendto.C:
9644         * converter.C:
9645         * lyx_cb.C:
9646         * vc-backend.C:
9647         change Systemcalls::System to Systemcalls::Wait and
9648         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9649         No change of functionality, just reflects the stripped down Systemcalls
9650         class.
9651
9652 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9653
9654         * debug.[Ch]: add a GRAPHICS type to the enum.
9655
9656 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9657
9658         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9659
9660         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9661         there is an inset.
9662
9663 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9664
9665         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9666         match the changes below.
9667
9668         * text2.C (toggleInset): if there is not editable inset at cursor
9669         position, try to see if cursor is _inside_ a collapsable inset
9670         and close it.
9671
9672 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9673
9674         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9675         document menu has a nice checkbox
9676
9677 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9678
9679         * lyxlength.C (asLatexString): change PW to output as percent of
9680         \textwidth.
9681
9682         * lengthcommon.C: change '%' to 't%'
9683
9684         * lyxfunc.C (dispatch): a few comments from Martin
9685
9686 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9687
9688         * WorkArea.h:
9689         * WorkArea.C:
9690         * BufferView_pimpl.h:
9691         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9692           the X selection.
9693
9694 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9695
9696         * vspace.C (inPixels): fix compiler warning
9697
9698 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9699
9700         * lyxfunc.C (getStatus): fix status message for disabled commands.
9701
9702 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9703
9704         * BufferView_pimpl.C: fix crash on close buffer
9705         during selection (#227)
9706
9707 2002-01-27  Herbert Voss  <voss@lyx.org>
9708
9709         * buffer.C: link old Figure to new graphic inset
9710
9711 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9712
9713         * FontLoader.C (getFontinfo): Change the latex font names in order
9714         to match the names of type1inst.
9715
9716 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9717
9718         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9719
9720         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9721         (extchanged): ditto
9722         (ext_exist): ditto
9723         (remove_files_with_extension): ditto
9724         (remove_file): ditto
9725         (write): ditto
9726
9727         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9728         document is smaller than the work area height. Do not initialize
9729         static variables to 0.
9730
9731 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9732
9733         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9734
9735         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9736         LFUN_LAYOUT_PARAGRAPHS.
9737
9738         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9739         tabular. It is possible to provide a possible cell, which will
9740         typically be the actcell from the corresponding insettabular
9741
9742         * lyxfunc.C (getStatus): small cleanup; disable
9743         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9744         true
9745
9746 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9747
9748         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9749
9750         * paragraph.C (startTeXParParams):
9751         (endTeXParParams): new methods. The LaTeX code to
9752         start/end paragraph formatting
9753         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9754         empty (fixes bug #200)
9755
9756         * vspace.C (inPixels): adapt to the change below
9757         (inPixels): [later] more cleanups (remove unused variables)
9758
9759         * lyxlength.C (inPixels): change to use a width and a height as
9760         parameter.
9761
9762 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9763
9764         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9765         Replaced with \paperwidth
9766
9767         * DepTable.C (insert): add std:: qualifier
9768
9769 2002-01-18  Allan Rae  <rae@lyx.org>
9770
9771         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9772         updated also?
9773
9774         * text.C (drawInset): Turned out I didn't know enough about how
9775         rebreaking worked.  This fixes most of the redraw problems.  I see
9776         an occasional cursor trail when a line is broken now and the cursor
9777         placement can seem out by a few pixels also after a rebreak.
9778
9779 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9780
9781         * buffer.C (parseSingleLyXformat2Token): update because minipage
9782         width is now a LyXLength
9783
9784         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9785
9786         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9787         math insets
9788
9789 2002-01-17  Juergen Vigna  <jug@sad.it>
9790
9791         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9792
9793         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9794         is set correctly and the inset is updated correctly.
9795
9796 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9797
9798         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9799         the beginning of the loop.
9800
9801 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9802
9803         * lyxrc.C: improve help for use_scalable_fonts
9804
9805 2002-01-17  Allan Rae  <rae@lyx.org>
9806
9807         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9808
9809 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9810
9811         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9812         make sure to set their inset_owner to the right value (bug #171)
9813
9814 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9815
9816         * DepTable.h
9817         * DepTable.C: Implement mtime checking to reduce time spent doing
9818         CRCs.
9819
9820 2002-01-16  Juergen Vigna  <jug@sad.it>
9821
9822         * tabular.C (GetAdditionalHeight): one of error fixed.
9823
9824         * lyxrc.C (output): small fix in writing use_pspell.
9825
9826 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9827
9828         * sp_base.h: #include LString.h
9829
9830 2002-01-16  Allan Rae  <rae@lyx.org>
9831
9832         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9833         Can someone check this please?
9834
9835         * text.C (drawInset): It was possible that p.row would be removed by
9836         breakAgainOneRow upsetting a few other settings.  There may be another
9837         small tweak possible by setting need_break_row = 0 when p.row has been
9838         removed but I don't know enough about the logic here.
9839
9840 2002-01-15  Allan Rae  <rae@lyx.org>
9841
9842         * text.C (insertChar): removed conditional truism.
9843
9844         * BufferView2.C (removeAutoInsets): More tweaks.
9845         cur_par_prev could be a stray pointer.  Check for trailing empty line
9846         in case last line was cur_par and only had an error inset on it.
9847
9848 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9849
9850         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9851         absolute
9852
9853         * vc-backend.C (most methods):
9854         * exporter.C (Export):
9855         * converter.C (convert):
9856         (runLaTeX):
9857         * LyXSendto.C (SendtoApplyCB):
9858         * lyxfunc.C (dispatch):
9859         (menuNew):
9860         (open):
9861         (doImport):
9862         * lyx_cb.C (AutoSave):
9863         (InsertAsciiFile):
9864         * BufferView_pimpl.C (MenuInsertLyXFile):
9865         * buffer.C (runChktex): use Buffer::filePath().
9866
9867         * buffer.h: rename filename to filename_; rename filepath to
9868         filepath_ and make it private
9869         (filePath): new method
9870
9871         * buffer.C (writeFile): use fileName()
9872         (getLatexName):
9873
9874         * lyx_main.C (init): fix starting  of LyX when the binary is a
9875         link from so,ewhere else.
9876
9877         * minibuffer.C: include <cctype> for isprint
9878
9879 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9880
9881         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9882         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9883         name clash with InsetCollapsable's width function.
9884
9885 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9886
9887         * lastfiles.C: include <iterator>
9888
9889 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9890
9891         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9892         std::count.
9893
9894         * buffer.C (makeLaTeXFile): ditto.
9895         Also make loop operation more transparent.
9896
9897 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9898
9899         * ToolbarDefaults.C: remove trailing comma closing namespace.
9900
9901         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9902
9903         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9904         as in WorkArea.
9905
9906         * trans.C (Load): comment out unused variable, allowed.
9907
9908 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9909
9910         * minibuffer.[Ch] (append_char): new method to recieve input from the
9911         drop-down completion browser. If a key was pressed, then recieve this
9912         char and append it to the existing string.
9913         (peek_event): modify the positioning data passed to the completion
9914         browser so that it can be placed above the minibuffer rather than below.
9915 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9916
9917         * LyXAction.C (init): alloe error-next for readonly documents.
9918
9919         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9920         count.
9921
9922 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9923
9924         * bufferlist.C (readFile): create the buffer _after_ checking that
9925         the file exists.
9926
9927         * lyxfunc.C (verboseDispatch): fix handling of arguments
9928
9929         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9930
9931         * lyxrc.C: use string::erase() instead of initializing to "".
9932
9933
9934 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9935
9936         * BufferView_pimpl.h:
9937         * BufferView_pimpl.C:
9938         * WorkArea.h:
9939         * WorkArea.C:
9940         * text2.C: tell X when we have made a selection for copying
9941
9942 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9943
9944         * BufferView_pimpl.C (MenuInsertLyXFile):
9945         * lyxfunc.C (menuNew):
9946         (open):
9947         (doImport): add shortcuts to directory buttons
9948
9949         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9950         open a float)
9951
9952         * lyxfunc.C (setStatusMessage):
9953         (getStatusMessage): new methods
9954         (getStatus):use setStatusMessage instead of setErrorMessage
9955         (dispatch): when function is disabled, set error message here
9956         [instead of in getStatus previously]
9957
9958         * BufferView_pimpl.C (workAreaButtonRelease): update
9959         toolbar/menubar here too.
9960
9961 2002-01-13  Allan Rae  <rae@lyx.org>
9962
9963         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9964         Now seems indestructible.  Remaining task is to audit all other
9965         code affected by deleteEmptyParagraphMechanism.  One small quirk
9966         left is that an empty document with an error in the preamble can
9967         be made to report an error but no error box appears.  I don't know
9968         where it goes.
9969         (removeAutoInsets): Improved comments.
9970
9971 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9972
9973         * Thesaurus.h:
9974         * Thesaurus.C: update for Aiksaurus 0.14
9975
9976 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9977
9978         * text2.C (firstParagraph): removed member function, all uses
9979         replaces with ownerParagraph
9980         (redoParagraphs): here
9981         (updateInset): here
9982         (toggleAppendix): here
9983         * BufferView2.C (insertErrors): here
9984         (setCursorFromRow): here
9985
9986 2002-01-13  Allan Rae  <rae@lyx.org>
9987
9988         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9989         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9990         There is still a way to segfault this although you may have to do this
9991         multiple times: Have an InsetERT with an unknown command in it.
9992         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9993         <down-arrow>, <Enter> again, View->DVI, BANG!
9994
9995         * text2.C (setCursor):
9996         (deleteEmptyParagraphMechanism):
9997         * lyxtext.h (setCursor):
9998         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9999         Making use of the return value may help fix other bugs.
10000
10001 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10002
10003         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10004
10005         * LyXView.C (updateMenubar): call MenuBar::update here
10006         (updateToolbar): but not here
10007         (showState): do not update toolbar/menubar
10008
10009         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10010         should need to care about that.
10011
10012         * lyxfunc.C (verboseDispatch): simplify a bit
10013         (getStatus): have a version which takes a pseudoaction, and
10014         another which requires a (kb_action,string).
10015
10016         * LyXAction.C (retrieveActionArg): make it work also when action
10017         is not a pseudo-action.
10018         (getActionName): simplify a bit
10019         (helpText):
10020
10021 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10022
10023         * lyxfunc.C (verboseDispatch): new families of methods with
10024         several ways to specify a command and a bool to indicate whether
10025         the command name and shortcut should be displayed in minibuffer
10026         (eventually, we could extend that to a finer bitmask like
10027         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10028         (dispatch): the pristine dispatch command which just, well,
10029         dispatchs! Note it still sets its result to minibuffer; I'm not
10030         sure we want that.
10031
10032         * lyxfunc.h: remove setHintMessage
10033
10034         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10035
10036 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10037
10038         * BufferView_pimpl.C (specialChar): delete new inset if we have
10039         not been able to insert it.
10040
10041         * kbmap.C: revert to using int instead of kb_action, since all we
10042         are dealing with is pseudo-actions.
10043
10044         * LyXAction.C (searchActionArg): change to return int instead of
10045         kb_action, since the result is a pseudoaction.
10046
10047 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10048
10049         * buffer.C (insertErtContents): Fix (partially) the font bug.
10050
10051 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10052
10053         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10054         as the other one is broken on my machine!
10055
10056 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10057
10058         * commandtags.h:
10059         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10060
10061 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10062
10063         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10064         reflect their actual use. Provide compatibility code for older lyxrc
10065         files.
10066
10067         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10068         FL_NORMAL_STYLE.
10069         change names of popup font variables in line with the changes to lyxrc.C
10070
10071 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10072
10073         * buffer.C (asciiParagraph): avoid outputing a word twice after
10074         an inset.
10075
10076         * lyxrc.C (getDescription): document that document_path and
10077         template_path can be empty.
10078
10079 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10080
10081         * LaTeXFeatures.C (getMacros):
10082         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10083
10084         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10085
10086         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10087         getPackages.
10088         (getPackages): rename feature "floats" to "float". Use an array to
10089         iterate over 'simple' features (i.e. just a \usepackage). Add
10090         handling of "amsmath" (renamed from "amsstyle").
10091
10092 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10093
10094         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10095         features list.
10096
10097 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10098
10099         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10100         FuncStaus::FuncStatus & FuncStaus::some_method().
10101
10102 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10103
10104         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10105         of the func_satus stuff. Edited and massaged in various ways by
10106         JMarc.
10107
10108         * lyxfunc.C (getStatus): use FuncStatus
10109
10110 2002-01-08  Juergen Vigna  <jug@sad.it>
10111
10112         * text.C (nextBreakPoint): use function Inset::isChar().
10113
10114         * paragraph.C (TeXOnePar): use function
10115         Inset::forceDefaultParagraphs.
10116
10117         * buffer.C (latexParagraphs): use function
10118         Inset::forceDefaultParagraphs.
10119
10120 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10121
10122         * lyx_gui.C (init): set the style of the menu popups to
10123         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10124
10125 2002-01-07  Juergen Vigna  <jug@sad.it>
10126
10127         * text.C (setHeightOfRow): small fix
10128         (prepareToPrint): don't look at alignment if we don't have the place
10129         for doing it.
10130
10131 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10132
10133         * box.C: New file. Move the Box methods and functions out of box.h,
10134         following Lars' suggestion.
10135
10136 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10137
10138         * box.h: #include "support/LOstream.h", needed for inlined function.
10139
10140         * lyxtextclass.C:
10141         * lyxtextclasslist.C: added some using std declarations.
10142
10143 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10144
10145         * box.h: make signed dimensions to allow insets wider than
10146           the screen (bug #162)
10147
10148         * BufferView_pimpl.C: add some insetHit debug
10149
10150 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10151
10152         * vc-backend.C: add FIXME
10153
10154 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10155
10156         * lyxfunc.C (getStatus): enable code for showing math font status
10157         in toolbar/menu.
10158
10159 2002-01-07  Juergen Vigna  <jug@sad.it>
10160
10161         * text.C (nextBreakPoint): removed debug output not needed anymore.
10162
10163 2002-01-06  Juergen Vigna  <jug@sad.it>
10164
10165         * text.C (nextBreakPoint): fixed up this function we had this bug
10166         since ever but now hopefully we break row better.
10167         (insertChar): we have to check if an inset is the next char as it
10168         could now happen that a large inset is causing a break.
10169
10170 2002-01-05  Juergen Vigna  <jug@sad.it>
10171
10172         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10173         if it doesn't like to be drawed.
10174
10175 2002-01-04  Juergen Vigna  <jug@sad.it>
10176
10177         * BufferView2.C (lockInset): forgot to set a cursor.
10178
10179         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10180
10181 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10182
10183         * FormMathsPanel.C:
10184         * FormMathsPanel.h
10185         * MathsSymbols.C:
10186         * form_maths_panel.C:
10187         * form_maths_panel.h:
10188         * form_maths_panel.fd: implemented sub- and super- buttons in math
10189         panel.
10190
10191         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10192         (or ^ space) to be used as in TeX (req'd by André).
10193
10194         * lyxfunc.C: Allow ^ and _ again to be used both as
10195         super/subscript (mathed) and as themselves (in text).
10196
10197 2002-01-03  Allan Rae  <rae@lyx.org>
10198
10199         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10200         "LyX" or the filename of the current buffer if it has one.  This is a
10201         modified form of John Levon's patch.
10202
10203         * XFormsView.C (setWindowTitle): also set icon title.
10204
10205         * LyXView.h (setWindowTitle): signature changed.
10206         * XFormsView.h (setWindowTitle): ditto.
10207
10208 2002-01-02  Juergen Vigna  <jug@sad.it>
10209
10210         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10211
10212 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10213
10214         * screen.C (topCursorVisible): introduce a temp var for
10215         text->cursor.row(), handle the case where this row is null. (kindo
10216         hachish)
10217
10218         * text2.C (setCursor): add a couple of asserts.
10219
10220         * paragraph.h (inset_iterator): add -> operator
10221
10222         * paragraph.[Ch] (autoDeleteInsets): remove member function
10223
10224         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10225         cursor pos correctly and handle inset deletion by itself.
10226         (insertErrors): move iterator declaration out of for expression
10227
10228         * lyxtextclass.C: add <algorithm>
10229
10230         * Makefile.am: added the new files to sources, removed layout.C
10231
10232         * layout.C: removed file
10233
10234         * layout.h: remove LYX_DUMMY_LAYOUT
10235
10236         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10237         layout.
10238
10239         * lyxlayout.[Ch]:
10240         * lyxtextclass.[Ch]:
10241         * lyxtextclasslist.[Ch]: new files
10242
10243         * include order changes to a lot of files, also changes because of
10244         the six new files.
10245
10246 2001-12-27  Juergen Vigna  <jug@sad.it>
10247
10248         * buffer.C (asciiParagraph): more fixes.
10249
10250         * tabular.C (ascii): make ascii export support export of only the
10251         data separated by a column-delimiter.
10252         (ascii): better support for ascii export.
10253
10254         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10255
10256 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10257
10258         * tabular_funcs.C: use a "using std::getline" instead of the
10259         previous fix from Angus (necessary for cxx + lyxstring)
10260
10261 2001-12-24  Juergen Vigna  <jug@sad.it>
10262
10263         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10264
10265         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10266         problems. First check a minipage also if we have some ert-contents
10267         (not only on par->size(), second set the right depth of the paragraph
10268         on the relink to the root-paragraph-list!
10269
10270         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10271         which then did not anymore update the main paragraphs on undo/redo!
10272
10273 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10274
10275         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10276         code. Support all font-changing funcs (even those which are not in
10277         menu currently). Support for reporting font settings in
10278         mathed (disabled until Andre provides a function on mathed's side).
10279
10280         * func_status.h (toggle): small helper function to set toggle
10281         state on a flag.
10282
10283 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10284
10285         * tabular_funcs.C: getline -> std::getline
10286
10287 2001-12-21  Juergen Vigna  <jug@sad.it>
10288
10289         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10290         accessed and could be 0 (I couldn't generate this but it seems
10291         Michael could!).
10292
10293 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10294
10295         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10296         * tabular_funcs.h: here and include iosfwd
10297
10298 2001-12-20  Juergen Vigna  <jug@sad.it>
10299
10300         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10301         inside inset but undo_par was.
10302
10303 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10304
10305         * Thesaurus.C: always include <config.h> in sources.
10306
10307         * Painter.h:
10308         * lyxlookup.h:
10309         * box.h: do not include <config.h> in header files
10310
10311         * text.C (paintLastRow): remove unused variable
10312
10313         * text.C (transformChar):
10314         (insertChar):
10315         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10316
10317         * Painter.C (text):
10318         * font.C (width): rewrite to use uppercase() instead of
10319         islower/toupper.
10320
10321         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10322
10323 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10324
10325         * lyxfind.C: clean up of find failure position change
10326
10327 2001-12-20  Juergen Vigna  <jug@sad.it>
10328
10329         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10330
10331         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10332         (TeXRow): added to LaTeX a single tabular row.
10333         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10334         (Latex): simplified and finally good LT-h/f support.
10335         (various_functions): just small adaptions for LT-h/f support.
10336
10337         * tabular_funcs.[hC]: added and moved here all not classfunctions
10338         of LyXTabular.
10339
10340 2001-12-19  Juergen Vigna  <jug@sad.it>
10341
10342         * tabular.[Ch]: better support for longtabular options (not finished
10343         yet!)
10344
10345 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10346
10347         * text.C (paintLastRow): use the label font instead of the font of
10348         the last character to compute the size of *_BOX. This makes more
10349         sense and avoids a crash with empty paragraphs.
10350         Use Painter::rectangle to draw EMPTY_BOX.
10351
10352 2001-12-19  Juergen Vigna  <jug@sad.it>
10353
10354         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10355         the paragraphs if the replaced paragraph is not the first one!
10356         Tried to delete not used paragraphs but does not work yet so for
10357         now it's inside #ifdef's and by default off!
10358
10359 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10360
10361         * MenuBackend.C: include "lyx_main.h" instead of declaring
10362         lastfiles (actually was declared as LastFiles* instead of a
10363         scoped_ptr).
10364
10365 2001-12-17  Juergen Vigna  <jug@sad.it>
10366
10367         * tabular.C (AppendColumn): applied John's fix
10368
10369 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10370
10371         * BufferView.h:
10372         * BufferView.C:
10373         * BufferView_pimpl.h:
10374         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10375
10376         * Makefile.am:
10377         * box.h: new start of class for above
10378
10379         * lyxfunc.C: ignore space-only minibuffer dispatches.
10380           Show the command name when it doesn't exist
10381
10382         * minibuffer.C: don't add empty lines to the history
10383
10384         * minibuffer.C: add a space on dropdown completion
10385
10386 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10387
10388         * text.C: fix line above/below drawing in insets
10389
10390 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10391
10392         * lyxlength.C (LyXLength): Initialize private variables.
10393
10394 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10395
10396         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10397         when inserting error insets.
10398
10399 2001-12-13  Juergen Vigna  <jug@sad.it>
10400
10401         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10402         actually sometimes the before-paragraph.
10403         (setUndo): don't clear the redostack if we're not actually undoing!
10404
10405 2001-12-06  Juergen Vigna  <jug@sad.it>
10406
10407         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10408         and fixed redoing of main paragraph, so we can use it now ;)
10409
10410         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10411
10412 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10413
10414         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10415         Juergen's request
10416
10417 2001-12-13  André Pönitz <poenitz@gmx.net>
10418
10419         * undostack.[Ch]:
10420         * undo_func.C: minor cleanup
10421
10422 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10423
10424         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10425         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10426         font in urw-fonts package which is marked as -urw-fontspecific and
10427         does not work (incidentally, changing the encoding in the
10428         fonts.dir of this package to -adobe-fontspecific fixes the
10429         problem).
10430
10431         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10432         is a crash when undoing first paragraph (Juergen, please take a
10433         look). THis does not mean the undo fix is wrong, just that it
10434         uncovers problems.
10435
10436         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10437         the (Paragraph*) version when needed instead of duplicating the
10438         code.
10439
10440         * text.C (workWidth): use Inset::parOwner to find out where the
10441         inset has been inserted. This is a huge performance gain for large
10442         documents with lots of insets. If Inset::parOwner is not set, fall
10443         back on the brute force method
10444
10445         * paragraph_pimpl.C (insertInset):
10446         * paragraph.C (Paragraph):
10447         (cutIntoMinibuffer): set parOwner of insets when
10448         inserting/removing them
10449
10450         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10451
10452 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10453
10454         * commandtags.h:
10455         * LyXAction.C:
10456         * lyx_main.C:
10457         * lyxfunc.C:
10458         * mathed/formulabase.C:
10459         * mathed/math_cursor.[Ch]:
10460         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10461
10462
10463 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10464
10465         * lyxlength.[Ch] (operator!=): new function
10466
10467 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10468
10469         * text.C (workWidth): use Inset::parOwner to find out where the
10470         inset has been inserted. This is a huge performance gain for large
10471         documents with lots of insets. If Inset::parOwner is not set, fall
10472         back on the brute force method
10473
10474         * paragraph_pimpl.C (insertInset):
10475         * paragraph.C (Paragraph):
10476         (cutIntoMinibuffer): set parOwner of insets when
10477         inserting/removing them
10478
10479         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10480
10481 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10482
10483         * tabular-old.C (getTokenValue):
10484         * tabular.C (getTokenValue):
10485         (write_attribute): new versions for LyXLength
10486         (everywhere): adjust the use of widths
10487
10488         * tabular.h: change the type of widths from string to LyXLength
10489
10490 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10491
10492         * paragraph.C: fixed missing line number count when exporting
10493         Environments to LaTeX file
10494
10495         * buffer.C: added informational message for checking line numbers.
10496
10497 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10498
10499         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10500         paragraph, do the 'double space' part, but not the 'empty
10501         paragraph' one.
10502
10503         * text.C (workWidth): small optimization
10504         (getLengthMarkerHeight): use minimal size for negative lengths.
10505
10506 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10507
10508         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10509
10510         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10511
10512 2001-12-11  André Pönitz <poenitz@gmx.net>
10513
10514         * FontLoader.C:
10515         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10516
10517 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10518
10519         * text2.C: keep selection on a setFont()
10520
10521 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10522
10523         * lyx_cb.C: another bv->text misuse, from insert label
10524
10525 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10526
10527         * kbsequence.h:
10528         * kbsequence.C: re-instate nmodifier mask
10529
10530 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10531
10532         * lyx_main.h: make lyxGUI private.
10533
10534 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10535
10536         * lyxfind.C: place the cursor correctly on failed search
10537
10538 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10539
10540         * text.C (getLengthMarkerHeight): for small heights, the arrows
10541         are not always on top/bottom of the text
10542         (drawLengthMarker): smaller arrows; take the left margin in
10543         account; draw also vfills.
10544         (paintFirstRow):
10545         (paintLastRow): remove special code for vfill and standard spaces,
10546         since everything is handled in drawLengthMarker now.
10547
10548 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10549
10550         * buffer.C (insertErtContents): try to handle font and language
10551         interaction a bit better.g
10552
10553         * ColorHandler.C (updateColor): change the hash to cover the whole
10554         LColor enum, ws cleanup
10555         (getGCLinepars): ditto
10556         (getGCLinepars): only lookup in the linecache once.
10557
10558 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10559
10560         * iterators.C (operator++): Make the iterator more robust
10561
10562         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10563         (John's patch)
10564         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10565
10566 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10567
10568         * lyxtext.h:
10569         * text.C: better added space drawing
10570
10571 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10572
10573         * LyXView.C:
10574         * BufferView2.C: fix layout combo update on inset unlock
10575
10576 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10577
10578         * Makefile.am: don't compile unused files
10579
10580 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10581
10582         * lyxfunc.C:
10583         * commandtags.h:
10584         * LyXAction.C: remove old LFUN_LAYOUTNO
10585
10586 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10587
10588         * paragraph_pimpl.h:
10589         * paragraph_pimpl.C: isTextAt() doesn't need font param
10590
10591 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10592
10593         * lyxlex.h:
10594         * lyxlex.C: little cleanup
10595
10596 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10597
10598         * BufferView_pimpl.C: fix insertAscii for insets
10599
10600 2001-12-05  Juergen Vigna  <jug@sad.it>
10601
10602         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10603         set the right font on the "multi" paragraph paste!
10604
10605 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10606
10607         * trans_decl.h:
10608         * trans_mgr.[Ch]:
10609         * trans.[Ch]:
10610         * lyxgluelength.C:
10611         * lyxlength.C: remove out-commented code.
10612
10613         * BufferView_pimpl:
10614         * CutAndPaste.C:
10615         * DepTable.C:
10616         * buffer.C:
10617         * chset.C:
10618         * lastfiles.C:
10619         * lyxlex.C:
10620         * lyxlex_pimpl.C:
10621         * lyxserver.C:
10622         * screen.C:
10623         * tabular-old.C:
10624         * tabular.C:
10625         * text.C:
10626         * trans_mgr.C:
10627         * vc-backend.C: change "while(" to "while ("
10628
10629         * lyxlength.[Ch]: add zero function to check if length is zero or
10630         not
10631         * lyxgluelength.C: use it
10632
10633 2001-12-05  Allan Rae  <rae@lyx.org>
10634
10635         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10636         Works for 2.95.3, from what I understand of Garst's reports this should
10637         work for other g++ versions.  We're screwed if the abs(int) definition
10638         changed between bugfix releases of gcc.
10639
10640 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10641
10642         * text.C: fix chapter label offset !
10643
10644 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10645
10646         * lyxtext.h:
10647         * text.C: fix hfill at end of line, clean up
10648
10649 2001-12-04  Juergen Vigna  <jug@sad.it>
10650
10651         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10652         that we force an update of the inset and it's owners if neccessary.
10653
10654 2001-12-03  Juergen Vigna  <jug@sad.it>
10655
10656         * text.C (rowLast): simplified code
10657
10658 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10659
10660         * lyxfunc.C: fix show options on timeout
10661
10662 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10663
10664         * screen.C (topCursorVisible): scroll half a page when the cursor
10665         reached top of bottom of screen
10666
10667 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10668
10669         * minibuffer.C: deactivate on loss of focus
10670
10671 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10672
10673         * vspace.[Ch] (operator!=): add operator.
10674
10675 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10676
10677         * BufferView_pimpl.C: refuse to open an inset when
10678         there's a selection.
10679
10680 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10681
10682         * BufferView_pimpl.C: allow to click on RHS of full row insets
10683
10684 2001-11-30  Juergen Vigna  <jug@sad.it>
10685
10686         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10687         insets for undo reasons.
10688
10689 2001-11-28  André Pönitz <poenitz@gmx.net>
10690
10691         * vspace.[Ch]: cosmetical changes
10692
10693 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10694
10695         * LyXAction.h:
10696         * LyXAction.C:
10697         * lyxfunc.h:
10698         * lyxfunc.C:
10699         * kbmap.h:
10700         * kbmap.C:
10701         * lyxrc.C:
10702         * kbsequence.h:
10703         * kbsequence.C: part re-write of old kb code
10704
10705         * Painter.C:
10706         * WorkArea.C: remove Lgb_bug_find_hack
10707
10708 2001-11-30  José Matos <jamatos@fep.up.pt>
10709
10710         * buffer.C (makeDocBookFile): add a comment to point a hack.
10711         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10712         Fixed a double write of labels.
10713
10714 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10715
10716         * LaTeX.C:
10717         * LaTeX.h Fixed bug in LaTeX class where it would not
10718         re-run latex if no depfiles were changed, but the .dvi was removed.
10719
10720 2001-11-28  André Pönitz <poenitz@gmx.net>
10721
10722         * all the files from the change on 2001/11/26:
10723         use lyx::layout_type instead of LyXTextClass::size_type
10724         use lyx::textclass_type instead of LyXTextClassList::size_type
10725
10726 2001-11-29  Juergen Vigna  <jug@sad.it>
10727
10728         * text.C: added support for paragraph::isFreeSpacing()
10729
10730         * buffer.C: same as above
10731
10732         * paragraph.h: inserted isFreeSpacing() function to enable
10733         FreeSpacing inside InsetERT.
10734
10735         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10736         of the paragraph's in the cut/copy buffer to 0!
10737
10738         * text2.C (removeRow): remove the assert as it can!
10739
10740         * lyxtext.h: added helper function firstRow returning firstrow and
10741         made firstrow private again.
10742
10743         * BufferView2.C (lockInset): don't relock if we're already locked!
10744
10745         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10746         the only paragraph.
10747         (removeRow): added Assert::(firstrow)
10748
10749         * debug.C: forgot to add INSETTEXT here.
10750
10751 2001-11-28  Juergen Vigna  <jug@sad.it>
10752
10753         * sp_spell.C (initialize): changed error text to more general
10754         spellchecker command use (not only ispell!)
10755
10756         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10757
10758         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10759
10760 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10761
10762         * vspace.C: initialise lyxgluelength on failure
10763
10764 2001-11-28  Allan Rae  <rae@lyx.org>
10765
10766         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10767         declaration & definition that looks like a function declaration.
10768
10769 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10770
10771         * BufferView2.C (copy):
10772         (copyEnvironment): do not clear the selection when doing a copy.
10773
10774         * text.C (paintFirstRow): compilation fix
10775
10776 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10777
10778         * tabular.C (Latex): correct line count when writing latex.
10779
10780 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10781
10782         * paragraph_pimpl.h:
10783         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10784           bug a bit
10785
10786 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10787
10788         * text.C:
10789         * LColor.h:
10790         * LColor.C: change vfillline->added_space
10791
10792         * text.C: add markers and text for added space
10793
10794         * vspace.C: fix comment
10795
10796 2001-11-28  André Pönitz <poenitz@gmx.net>
10797
10798         * paragraph.C: whitespace changes
10799         * all the other files from the change on 2001/11/26:
10800         change *::pos_type into lyx::pos_type
10801
10802 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10803
10804         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10805         language of the document when inserting error insets.
10806
10807 2001-11-26  André Pönitz <poenitz@gmx.net>
10808
10809         * BufferView_pimpl.[Ch]:
10810         *       CutAndPaste.C:
10811         * buffer.[Ch]:
10812         * lyxcursor.[Ch]:
10813         * lyxfind.C:
10814         * lyxfunc.C:
10815         * lyxrow.[Ch]:
10816         * paragraph.[Ch]:
10817         * paragraph_pimpl.[Ch]:
10818         * sp_spell.C:
10819         * text.C:
10820         * text2.C: reduce header dependencies, introduce type for positions
10821
10822 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10823
10824         * <various>: change to use Alert.h
10825
10826 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10827
10828         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10829         when encountering an unknown token.
10830         (readLyXformat2): Show an error message if there were unknown tokens.
10831
10832 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10833
10834         * BufferView2.C:
10835         * BufferView_pimpl.C:
10836         * buffer.C:
10837         * paragraph.h:
10838         * text.C:
10839         * text2.C: use par->isInset()
10840
10841 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10842
10843         * paragraph_pimpl.h:
10844         * paragraph_pimpl.C: cleanup
10845
10846 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10847
10848         * text2.C (removeRow):
10849         * text.C (setHeightOfRow): remove useless (and costly) call to
10850         getRow.
10851
10852 2001-11-20  Allan Rae  <rae@lyx.org>
10853
10854         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10855         Now need Inset*::checkInsertChar() to return true for appropriate
10856         cases so that the characters in the minibuffer will actually be
10857         inserted.
10858
10859 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10860
10861         * text.C: change the order of the includes.
10862         (workWidth): initialize it at once.
10863         (workWidth): make maxw unsigned
10864         (setHeightOfRow): remove unused variable (inset)
10865         (selectSelectedWord): remove unused variable (inset)
10866         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10867
10868 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10869
10870         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10871         server is not running.
10872         (openConnection):
10873         (closeConnection): add debug info when server is disabled.
10874
10875         * ColorHandler.C (getGCForeground): send debug message to GUI
10876         channel.
10877
10878         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10879
10880         * kbmap.C (bind): modify because return conventions of
10881         kb_sequence::parse have changed.
10882
10883         * kbsequence.C (parse): only ignore spaces and not any stupid
10884         control character. This avoids tests like s[i] <= ' ', which are
10885         guaranteed to fail with 8bit characters and signed chars.
10886         Change return code to string::npos when there have been no error
10887         (0 was a bad idea when error is at first character)
10888
10889 2001-11-14  José Matos  <jamatos@fep.up.pt>
10890
10891         * buffer.h:
10892         * buffer.C (simpleDocBookOnePar): removed unused argument.
10893
10894 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10895
10896         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10897         insets which are part of a word. Paragraph::isLetter takes care of
10898         that now. Use Paragraph::isInset to identify insets.
10899         (selectSelectedWord): do not test for hyphenation break.
10900
10901         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10902         that protected spaces are considered as spaces.
10903
10904         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10905         Inset::isLetter.
10906
10907 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10908
10909         * lyxserver.h:
10910         * lyxserver.C: fix it. and small cleanup.
10911
10912 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10913
10914         * BufferView_pimpl.C: use inline helpers
10915
10916         * LaTeXFeatures.h:
10917         * LaTeXFeatures.C: fix typos
10918
10919         * Spacing.h:
10920         * Spacing.C: move spacing_string into class
10921
10922         * ToolbarDefaults.C: move stuff into namespace anon
10923
10924         * layout.h: update enum
10925
10926         * lyxfunc.C: use better debug
10927
10928         * minibuffer.h: fix typo
10929
10930         * debug.h:
10931         * debug.C:
10932         * WorkArea.C: add and use Debug::WORKAREA
10933
10934         * lyxtext.h:
10935         * text.C:
10936         * text2.C: code re-organisation, inline helpers
10937
10938 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10939
10940         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10941         std::vector.empty().
10942
10943 2001-11-09  Allan Rae  <rae@lyx.org>
10944
10945         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10946         '\n's after tables.  Tabular and ERT inset work now makes this no
10947         longer necessary.
10948
10949 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10950
10951         * minibuffer.h:
10952         * minibuffer.C: fix crash, improve drop-down completion
10953
10954 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10955
10956         * lyxserver.h:
10957         * lyxserver.C: invalidate fd's when doing endPipe()
10958
10959 2001-11-08  José Matos  <jamatos@fep.up.pt>
10960
10961         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10962         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10963
10964         * paragraph.h:
10965         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10966
10967 2001-11-07  José Matos  <jamatos@fep.up.pt>
10968
10969         * buffer.h:
10970         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10971         const qualifier.
10972
10973         * buffer.C (sgmlOpenTag):
10974         * buffer.C (sgmlCloseTag): removed debug info.
10975
10976         * buffer.h (sgmlOpenTag):
10977         * buffer.h (sgmlCloseTag): made public.
10978
10979 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10980
10981         * buffer.C (saveParamsAsDefaults):
10982         * lyx_cb.C (MenuLayoutSave): remove
10983
10984         * LyXAction.C (init):
10985         * commandtags.h:
10986         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10987
10988 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10989
10990         * buffer.C (setPaperStuff): removed from here...
10991
10992         * bufferparams.C (setPaperStuff): ... and moved there.
10993
10994 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10995
10996         * minibuffer.h:
10997         * minibuffer.C:
10998         * XFormsView.C: add support for drop-down completion
10999
11000 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11001
11002         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11003         commands.
11004
11005 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11006
11007         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11008         disabled.
11009
11010 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11011
11012         * lyx_main.C: change ref to known bugs
11013
11014 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11015
11016         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11017         to work around older babel problems.
11018
11019 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11020
11021         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11022
11023 2001-10-24  Juergen Vigna  <jug@sad.it>
11024
11025         * tabular-old.C (ReadOld): below variable changes reflected.
11026
11027         * tabular.[Ch]: added ltType struct for longtable header/footer
11028         defines and changed all instances where they are used. Added
11029         future support for double top/bottom rows.
11030
11031 2001-10-24  José Matos  <jamatos@fep.up.pt>
11032
11033         * buffer.h (docbookHandleCaption):
11034         * buffer.C (docbookHandleCaption): removed unused function.
11035         (makeDocBookFile): moved docbook supported version to v4.1.
11036
11037 2001-10-24  José Matos  <jamatos@fep.up.pt>
11038
11039         * tabular.h:
11040         * tabular.C (docbookRow): new function to export docbook code of a row.
11041         (DocBook): now honors the longtable flags.
11042
11043 2001-10-23  José Matos  <jamatos@fep.up.pt>
11044
11045         * LaTeXFeatures.h:
11046         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11047         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11048
11049         * buffer.C (makeLinuxDocFile):
11050         (makeDocBookFile): reworked the preamble, more clean, and with
11051         support for lyx defined entities. Changed the document declaration
11052         to be more XML friendly.
11053
11054         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11055         if we need to output XML that should be done with a filter.
11056
11057 2001-10-22  Juergen Vigna  <jug@sad.it>
11058
11059         * sp_pspell.h (class PSpell): add alive function needed in the
11060         controller to see if the spellchecker could be started.
11061
11062 2001-10-22  Juergen Vigna  <jug@sad.it>
11063
11064         * buffer.C (insertStringAsLines): modify the font for inserting
11065         chars in certain conditions by calling checkInsertChar(font).
11066
11067 2001-10-19  Juergen Vigna  <jug@sad.it>
11068
11069         * text.C (workWidth): use getRow instead of wrong algorithm.
11070         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11071
11072 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11073
11074         * lyxserver.h:
11075         * lyxserver.C:
11076         * lyx_main.h:
11077         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11078
11079 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11080
11081         * text.C (workWidth): do not search for the exact row when
11082         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11083         optimization for big documents.
11084
11085 2001-10-18  Juergen Vigna  <jug@sad.it>
11086
11087         * text.C (workWidth): new function with added Inset * parameter.
11088
11089 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11090
11091         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11092
11093         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11094         change return type of getColumnNearX.
11095
11096
11097         * text.C (changeRegionCase): use uppercase/lowercase instead of
11098         toupper/tolower.
11099         (leftMargin):
11100         (rightMargin): simplify code by factoring out the uses of
11101         textclasslist.
11102         (labelFill):
11103         (numberOfHfills):
11104         (setHeightOfRow):
11105         (appendParagraph): use Paragraph::size_type
11106
11107 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11108
11109         * vspace.C (asLatexString): add a missing break
11110
11111 2001-10-15  Herbert Voss  <voss@perce.de>
11112
11113         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11114
11115 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11116
11117         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11118         is not available.
11119
11120 2001-10-10  André Pönitz <poenitz@gmx.net>
11121
11122         * lyxfunc.C: removed greek_kb_flag.
11123
11124 2001-10-10  Herbert Voss  <voss@perce.de>
11125
11126         * lyx_main.C: delete global string help_lyxdir.
11127
11128 2001-10-09  Herbert Voss  <voss@perce.de>
11129
11130         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11131
11132         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11133
11134         * lyx_main.C: added global string help_lyxdir.
11135
11136         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11137
11138 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11139
11140         * lyxrc.C (set_font_norm_type): support iso8859-4
11141
11142 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11143
11144         * LaTeX.C (deplog): add another regex for MikTeX
11145
11146 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11147
11148         * lyxrc.C (set_font_norm_type): support iso8859-3
11149
11150 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11151
11152         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11153
11154         * LaTeXFeatures.C: remove special case of french and index
11155
11156         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11157         before \begin{document}). This solves several incompatibilities.
11158
11159 2001-10-03  Garst Reese  <reese@isn.net>
11160
11161         * lyx_cb.C: change CheckTex error msg.
11162
11163 2001-10-03  José Matos  <jamatos@fep.up.pt>
11164
11165         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11166
11167 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11168
11169         * .cvsignore: update
11170
11171         * lyx_main.C (commandLineVersionInfo): use new style version info.
11172
11173         * buffer.C (writeFile):
11174         (makeLaTeXFile):
11175         (makeLinuxDocFile):
11176         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11177
11178         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11179
11180         * version.h: update to use stuff in version.C
11181
11182         * version.C.in: new file. Contains version information determined
11183         at compile time. This is a merging of version.h and
11184         version_info.h.in.
11185
11186 2001-10-03  Juergen Vigna  <jug@sad.it>
11187
11188         * BufferView_pimpl.C (update): don't change "dirty" status in
11189         updateInset call.
11190
11191 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11192
11193         * WorkArea.C (c-tor): re-position version string slightly.
11194
11195 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11196
11197         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11198         revert to previous code.
11199
11200         WorkArea.[Ch]: (show, destroySplash): methods removed.
11201
11202         WorkArea.C: rework code so that it's an amalgam of the codes before and
11203         after the splash screen was moved to WorkArea.
11204
11205 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11206
11207         * lyxrc.C (read):
11208         * vspace.C (inPixels):
11209         (lyx_advance):
11210         * kbmap.C (bind):
11211         * buffer.C (insertStringAsLines):
11212         (asciiParagraph): fix types to be large enough
11213
11214         * lyxlex_pimpl.h: change member status from short to int
11215
11216         * layout.h: fix type of endlabeltype
11217
11218         * kbmap.C (bind):
11219         * kbsequence.C (parse): change return type to string::size_type
11220
11221         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11222         variable
11223
11224         * Bullet.C (bulletSize):
11225         (bulletEntry): do not use short ints as parameters
11226
11227         * BufferView2.C (insertLyXFile): change a char to an int.
11228
11229         * WorkArea.C (WorkArea): remove unneeded floats in computation
11230
11231 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11232
11233         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11234
11235         * paragraph.C (asString): Do not ignore newline/hfill chars when
11236         copying to the clipboard.
11237
11238 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11239
11240         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11241         after a multi-line inset.
11242
11243 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11244
11245         * paragraph.C (validate): Set NeedLyXFootnoteCode
11246
11247 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11248
11249         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11250         and decrease-error to decrease.
11251
11252 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11253
11254         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11255         it more readable (should be equivalent)
11256
11257 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11258
11259         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11260
11261 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11262
11263         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11264         of a cursor (row, etc.) after a character has been deleted
11265         (deleteEmptyParagraphMechanism): call the method above on _all_
11266         cursors held by the LyXText when a double space has been
11267         detected/deleted.
11268
11269 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11270
11271         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11272         pixmap.
11273         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11274
11275         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11276         background. Use greyOut() and the new show() methods to toggle between
11277         the foreground and background. Add code to remove the splash after
11278         its initial showing.
11279
11280         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11281         (create_forms): no longer call Dialogs::showSplash.
11282
11283 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11284
11285         * .cvsignore: add version_info.h
11286
11287 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11288
11289         * version_info.h.in: new file
11290
11291         * Makefile.am: add version_info.h.in
11292
11293         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11294         version_info.h instead of VERSION_INFO
11295
11296 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11297
11298         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11299         The ERT inset now returns string().
11300
11301 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11302
11303         * lyxtext.h, text.C (selectNextWord): renamed as
11304         selectNextWordToSpellcheck.
11305
11306         * text.C (selectNextWordToSpellcheck): Modified to not select
11307         words inside an ERT inset.
11308
11309 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11310
11311         * lyx_cb.C (MenuLayoutSave): change a bit the question
11312
11313         * sp_base.h: include <sys/types.h>
11314
11315 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11316
11317         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11318
11319 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11320
11321         * several files: fix typos in user-visible strings
11322
11323 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11324
11325         * text2.C (pasteSelection): do not set the selection, since it
11326         will be cleared later. Actually, the intent was to fix the way the
11327         selection was set, but I figured rmoving the code was just as good.
11328
11329 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11330
11331         * FontLoader.C (available): Check if font is available without
11332         loading the font.
11333
11334 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11335
11336         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11337
11338 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11339
11340         * lyxrc.[Ch]: added display_graphics variable and associated code.
11341
11342 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11343
11344         * bufferparams.C (hasClassDefaults): new method. Returns true if
11345         the buffer parameters correspond to known class defaults
11346
11347 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11348
11349         * XFormsView.C (show): set minimum size to the main window.
11350
11351 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11352
11353         * text2.C (copySelection):
11354         (cutSelection):
11355         * lyxfind.C (LyXReplace):
11356         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11357         LyXText::selectionAsString.
11358
11359         * paragraph.C (asString): add "label" argument to the second form
11360
11361         * text2.C (selectionAsString): add "label" argument and pass it to
11362         Paragraph::asString.
11363
11364 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11365
11366         * lyx_main.C (commandLineHelp): remove version information
11367
11368 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11369
11370         * lyx_main.C: add -version commandline option
11371
11372 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11373
11374         * paragraph.h: make the optional constructor arg required instead.
11375         some modifications to other files because of this.
11376
11377         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11378
11379         * lyxserver.C (C_LyXComm_callback): make it static
11380
11381         * lyx_main.C (error_handler): make it static
11382
11383         * lyx_gui.C (LyX_XErrHandler): make it static
11384
11385         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11386
11387         * WorkArea.C: make the extern "C" methods static.
11388
11389         * Makefile.am (lyx_LDADD): simplify
11390
11391 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11392
11393         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11394         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11395
11396         * LyXAction.C (init):
11397         * lyxfunc.C (dispatch): associated code removal.
11398
11399 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11400
11401         * lyxfont.h (isSymbolFont): shut off warning
11402
11403         * text.C (setHeightOfRow):
11404         (getVisibleRow): fix crash with empty paragraphs which have a
11405         bottom line
11406
11407 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11408
11409         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11410         code.
11411
11412 2001-09-04  José Matos  <jamatos@fep.up.pt>
11413         * buffer.C
11414         * buffer.h
11415         * tabular.C (docbook): rename docBook method to docbook.
11416
11417 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11418
11419         * Makefile.am: add dependencies to main.o.
11420
11421 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11422
11423         * FontLoader.C (available): Return false if !lyxrc.use_gui
11424
11425 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11426
11427         * FontInfo.C (query):
11428         * converter.C (view):
11429         * importer.C (Import):
11430         * exporter.C (Export): Can not -> cannot.
11431
11432 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11433
11434         * BufferView_pimpl.C: allow to create index inset even if
11435           string is empty
11436
11437 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11438
11439         * buffer.C (getLists): replace boost::tie code with an explicit pair
11440         as boost::tie can break some compilers.
11441
11442         * iterators.h: Added a std:: declaration to the return type of
11443         ParIterator::size.
11444
11445 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11446
11447         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11448           case.
11449
11450 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11451
11452         * iterators.[Ch]: New files. Provide paragraph iterators.
11453
11454         * buffer.C (changeLanguage): Use paragraph iterators.
11455         (isMultiLingual): ditto
11456
11457         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11458
11459 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11460
11461         * FontLoader.C: Support for cmr font.
11462
11463 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11464
11465         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11466         (available): New method.
11467
11468         * FontInfo.C (getFontname): Use scalable fonts even when
11469         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11470         found.
11471
11472 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11473
11474         * converter.C (Formats::view): reverted! Incorrect fix.
11475
11476 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11477
11478         * converter.C (Formats::view): only output the -paper option
11479         if the dvi viewer is xdvi, thereby fixing bug #233429.
11480
11481 2001-08-23  Herbert Voss  <voss@perce>
11482
11483         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11484
11485 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11486
11487         * Spacing.h (Spacing): Set space to Default on in the default
11488         constructor.
11489
11490 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11491
11492         * vc-backend.h (RCS::versionString): add RCS to version
11493         (CVS::versionString): add CVS to version
11494
11495         * vc-backend.C (scanMaster): do not add CVS to version.
11496         (scanMaster): do not add RCS to version
11497
11498         * lyxvc.C (versionString): new method
11499
11500         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11501
11502 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11503
11504         * Spacing.C (set): initialize fval
11505
11506 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11507
11508         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11509         " or \.
11510
11511 2001-08-16  Juergen Vigna  <jug@sad.it>
11512
11513         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11514
11515 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11516
11517         * BufferView_pimpl.C:
11518         * figureForm.C:
11519         * lyxtext.h:
11520         * text2.C: setParagraph takes linespacing now
11521
11522 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11523
11524         * LyxAction.C: add internal LFUN_CITATION_INSERT
11525
11526         * LyXView.C: actually apply fix
11527
11528         * bufferlist.C: fix open non-existent file
11529
11530         * lyxfind.C: fix indentation
11531
11532         * lyxfunc.C: remove unneeded assert, fix typo
11533
11534 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11535
11536         * MenuBackend.C: use "Floatname List"
11537
11538 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11539
11540         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11541         when converting LaTeX layout to insetERT.
11542         Generate a non-collapsed float when reading old float
11543
11544 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11545
11546         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11547         ERT insets.
11548
11549 2001-08-13  Juergen Vigna  <jug@sad.it>
11550
11551         * text.C (fill): return 0 instead of 20 as this seems to be the more
11552         correct value.
11553
11554 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11555
11556         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11557         lyxrc.font_norm.
11558
11559 2001-08-13  Juergen Vigna  <jug@sad.it>
11560
11561         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11562         casesensitive off.
11563         (SearchBackward): comment out the unlocking of the inset_owner this
11564         should not be needed!
11565
11566 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11567
11568         * Many files: Remove inherit_language, and add latex_language
11569
11570         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11571         collapsible insets.
11572
11573 2001-08-10  Juergen Vigna  <jug@sad.it>
11574
11575         * text.C (prepareToPrint): fixed hfill-width in draw!
11576
11577         * BufferView2.C (selectLastWord): save the selection cursor as this
11578         now is cleared in the function LyXText::clearSelection!
11579
11580 2001-08-08  Juergen Vigna  <jug@sad.it>
11581
11582         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11583         BACKSPACE type functions.
11584
11585         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11586         is only cutted from the document but not put in the cut-buffer, where
11587         still the old stuff should be.
11588
11589         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11590
11591         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11592
11593         * tabular.C (SetWidthOfCell): fixed special case where the width
11594         was not updated!
11595         (LeftLine): handle '|' in align_special.
11596         (RightLine): ditto
11597         (LeftAlreadyDrawed): ditto
11598         (SetWidthOfCell): ditto
11599
11600 2001-08-07  Juergen Vigna  <jug@sad.it>
11601
11602         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11603
11604 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11605
11606         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11607         * lyxlex.[hC]: ditto
11608
11609 2001-08-06  Juergen Vigna  <jug@sad.it>
11610
11611         * text.C (getVisibleRow): fix up row clearing a bit.
11612
11613 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11614
11615         * minibuffer.C: make sure the X server sees the changes in the input.
11616
11617 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11618
11619         * paragraph.C (getFont): split into...
11620         (getLabelFont): this
11621         (getLayoutFont): and this
11622         * paragraph_pimpl.C (realizeFont): calling this
11623
11624         * text2.C (getFont): split into...
11625         (getLayoutFont): this
11626         (getLabelFont): and this
11627         (realizeFont): all three calling this
11628
11629         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11630         files where used.
11631
11632 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11633
11634         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11635
11636 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11637
11638         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11639         layouts from the Quote inset insertion.
11640
11641 2001-08-03  Juergen Vigna  <jug@sad.it>
11642
11643         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11644
11645         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11646         only if status not is already CHANGED_IN_DRAW (second level).
11647
11648         * text.C (draw): don't set the need_break_row when inside an
11649         InsetText LyXText.
11650
11651 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11652
11653         * buffer.C (parseSingleLyXformat2Token): handle more latex
11654         conversion cases.
11655
11656         * bufferview_funcs.[hC]: change function names to
11657         begin with small char, adjust other files.
11658
11659 2001-08-02  André Pönitz <poenitz@gmx.net>
11660
11661         * lyxfunc.C:
11662         BufferView_pimpl.C: remove broken special code for math-greek
11663
11664 2001-08-02  Juergen Vigna  <jug@sad.it>
11665
11666         * BufferView_pimpl.C (update): redone this function so that we
11667         update the text again if there was a CHANGE_IN_DRAW.
11668
11669         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11670         (drawFromTo): added a new internal bool which is used by draw() and
11671         redraw() function.
11672         (general): some cursor drawing problems fixed.
11673
11674 2001-08-01  Juergen Vigna  <jug@sad.it>
11675
11676         * lyxfind.C (LyXFind): fixed
11677         (SearchForward): ditto
11678         (SearchBackward): ditto
11679
11680         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11681         spurius drawing of the cursor in the main area.
11682
11683         * text2.C (status): small fix which could lead to a segfault!
11684         (clearSelection): remove unneeded BufferView param.
11685
11686 2001-08-01  André Pönitz <poenitz@gmx.net>
11687
11688         * lyxfunc.C: small change due to changed mathed interface
11689
11690 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11691
11692         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11693
11694 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11695
11696         * lyxfunc.c: fail gracefully if file doesn't exist
11697
11698         * LyXSendto.C:
11699         * buffer.C:
11700         * lyxfunc.C:
11701         * BufferView_pimpl.C: IsDirWriteable() proto changed
11702
11703         * LyXView.C: fix updateWindowTitle() to store the last title
11704
11705 2001-07-31  Juergen Vigna  <jug@sad.it>
11706
11707         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11708         the font (wrong since using of Paragraph::highestFontInRange).
11709
11710         * paragraph.C (highestFontInRange): added a default_size parameter.
11711
11712         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11713         (setHeightOfRow): reformat
11714
11715 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11716
11717         * converter.[hC] + affected files: move to (inital-char)lowercase
11718         function names.
11719
11720         * ParagraphParameters.C (ParagraphParameters): remove commented code
11721
11722         * PainterBase.[Ch]: remove commented code
11723
11724         * LaTeXFeatures.h: add "bool floats" for float.sty
11725
11726         * LaTeXFeatures.C (LaTeXFeatures): init floats
11727         (require): handle float
11728         (getPackages): do it with floats
11729
11730 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11731
11732         * BufferView_pimpl.C (Dispatch): improve handling of
11733         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11734
11735         * commandtags.h: #include lyxfont.h here temporarily to avoid
11736         keybinding bug.
11737
11738         * bufferlist.h: include LString.h here.
11739
11740 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11741
11742         * text2.C (getStringToIndex): new method.
11743
11744 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11745
11746         * *: Reduced header file dependencies all over.
11747
11748 2001-07-30  Baruch Even  <baruch@lyx.org>
11749
11750         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11751
11752 2001-07-29  Baruch Even  <baruch@lyx.org>
11753
11754         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11755
11756 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11757
11758         * ParameterStruct.h (endif): add a default constructor to make
11759         sure that all variables is initialized.
11760
11761         * ParagraphParameters.C (ParagraphParameters): adjust
11762
11763 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11764
11765         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11766         index; also, check that there is something to index, and that it
11767         does not span over several paragraphs.
11768         (doubleClick): use WHOLE_WORD_STRICT for double click.
11769
11770         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11771
11772         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11773         scheme.
11774
11775 2001-07-26  Baruch Even  <baruch@lyx.org>
11776
11777         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11778         an InsetFig figure, backwards compatible reading of old figure code.
11779
11780 2001-07-27  Juergen Vigna  <jug@sad.it>
11781
11782         * text2.C: font.realize function adaption.
11783
11784         * text.C (draw): add a warnings lyxerr text if needed.
11785
11786         * layout.C: font.realize function adaption.
11787
11788         * language.C: add inherit_language and implement it's handlings
11789
11790         * bufferview_funcs.C (StyleReset): remove language parameter from
11791         font creation (should be language_inherit now).
11792
11793         * bufferparams.C (writeFile): handle ignore_language.
11794
11795         * paragraph.C (getFontSettings): the language has to be resolved
11796         otherwise we have problems in LyXFont!
11797
11798         * lyxfont.C (lyxWriteChanges): added document_language parameter
11799         (update): removed unneeded language parameter
11800
11801         * paragraph.C (validate): fixed wrong output of color-package when
11802         using interface colors for certain fonts in certain environments,
11803         which should not seen as that on the final output.
11804
11805 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11806
11807         * BufferView_pimpl.C:
11808         * Thesaurus.h:
11809         * Thesaurus.C:
11810         * Makefile.am:
11811         * commandtags.h:
11812         * LyXAction.C: add thesaurus support
11813
11814         * lyxfind.h:
11815         * lyxfind.C: add "once" parameter, for thesaurus, to not
11816           move to the next match
11817
11818 2001-07-26  Juergen Vigna  <jug@sad.it>
11819
11820         * lyxfont.C (realize): honor ignore_language too!
11821         (resolved): ditto.
11822
11823         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11824
11825         * text.C (draw): one place more for ignore_language to not draw
11826         itself!
11827
11828 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11829
11830         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11831
11832 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11833
11834         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11835         the minipage conversion problem.
11836
11837 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11838
11839         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11840         insert an inset.
11841
11842 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11843
11844         * BufferView.h: don't forward declare WorkArea
11845
11846         * BufferView.C: don't include WorkArea.h
11847
11848 2001-07-25  André Pönitz <poenitz@gmx.net>
11849
11850         * commandtags.h:
11851         * LyXAction.C:
11852         * lyxfunc.C:  new LFUN 'math-space'
11853
11854         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11855
11856 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11857
11858         * text2.C (toggleInset): call open/close
11859
11860 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11861
11862         * lyxfunc.C (dispatch): add debug for the disabled case
11863
11864         * font.C (buttonText): make similar to rectText
11865
11866         * buffer.C (readInset): comment out parsing of insetlist and
11867         insttheorem
11868
11869         * PainterBase.C (rectText): small correction
11870
11871         * BufferView_pimpl.C: comment out insettheorem and insetlist
11872         * LyXAction.C: ditto
11873         * commandtags.h: ditto
11874
11875 2001-07-24  Juergen Vigna  <jug@sad.it>
11876
11877         * text.C (draw): honor the ignore_language.
11878
11879         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11880
11881 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11882
11883         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11884         char inset.
11885
11886 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11887
11888         * lyxtext.h: remove unused (and unimplemented) methods
11889
11890 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11891
11892         * text.C (getVisibleRow): honor background color
11893
11894         * PainterBase.h:
11895         * Painter.h: remove default color argument for fillRectangle
11896
11897         * text.C (backgroundColor): new method
11898
11899 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11900
11901         * text.C (getVisibleRow): adjust
11902
11903         * font.[Ch] (rectText): new method, metrics
11904         (buttonText): new method, metrics
11905
11906         * PainterBase.[hC]: make rectText and buttonText always draw and take
11907         fewer paramteres.
11908
11909 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11910
11911         * ToolbarDefaults.C (read):
11912         * MenuBackend.C (read): allow escaping in all strings
11913
11914         * BufferView_pimpl.C (insertAndEditInset): new method.
11915         (Dispatch): use insertAndEditInset whenever appropriate.
11916
11917         * BufferView_pimpl.C (insertNote): removed
11918
11919         * BufferView_pimpl.C (smartQuote): new method, moved from
11920         BufferView; if an insetquote cannot be inserted, insert a '"'
11921         character instead.
11922
11923         * BufferView2.C: remove insertCorrectQuote();
11924
11925         * lyxfunc.C (getStatus): Add support for all remaingin
11926         inset-insert lfuns.
11927
11928         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11929
11930         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11931         command (necessary to pass " as parameter of self-insert.
11932
11933         * text.C (selectWordWhenUnderCursor):
11934         (selectWord): add word_location parameter
11935         (selectWordWhenUnderCursor): same + remove special code for word
11936         boundary.
11937         (selectNextWord): use kind() to guess type of insetspecialchar,
11938         not latex().
11939
11940         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11941         (insertErtContents): create ert insets as collapsed.
11942         (readInset): better compatibility code for Info inset.
11943
11944 2001-07-20  Juergen Vigna  <jug@sad.it>
11945
11946         * lyxfunc.C (dispatch): use always LyXFind now!
11947
11948         * text2.C (init): add a reinit flag so that the LyXText can be
11949         reinited instead of deleted and reallocated (used in InsetText).
11950
11951         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11952
11953         * text.C: ditto
11954
11955         * text2.C: ditto
11956
11957 2001-07-18  Juergen Vigna  <jug@sad.it>
11958
11959         * text.C (selectNextWord): handle insets inside inset by calling
11960         always the bv->text functions so that we can go up the_locking_inset!
11961
11962         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11963         in strange locations when inside an inset!
11964
11965         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11966         handling to include insets.
11967
11968         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11969
11970 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11971
11972         * LyXAction.C (init):
11973         * commandtags.h:
11974         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11975         LIGATURE_BREAK, since the name is so stupid.
11976
11977 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11978
11979         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11980         InsetInfos.
11981
11982         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11983
11984         * sp_form.[Ch]: remove.
11985
11986         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11987
11988         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11989         InsetInfo.
11990
11991         * src/buffer.C (readInset): ditto.
11992
11993 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11994
11995         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11996         menuSeparator(), endOfSentenceDot(), ldots() and
11997         hyphenationPoint(), which are therefore removed.
11998         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11999
12000         * LyXAction.C (init):
12001         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12002
12003         * paragraph.C (getWord): removed.
12004
12005         * BufferView_pimpl.C (Dispatch): use last word or selection for
12006         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12007
12008         * lyx_main.C (queryUserLyXDir): do not ask before creating
12009         user_dir, except if it has been named explicitely.
12010
12011 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12012
12013         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12014         a document of zero size.
12015
12016 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12017
12018         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12019         approriately in the c-tor and in require().
12020         (getPackages): output the appropriate LaTeX for natbib support.
12021
12022         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12023         variables "use_natbib" and "use_numerical_citations" when reading the
12024         LyX file.
12025         (readInset): read the various natbib cite commands.
12026         (validate): white-space change.
12027
12028         * bufferparams.[Ch]: new variables "bool use_natbib" and
12029         "bool use_numerical_citations".
12030         (writeFile): output them in the LyX file.
12031
12032 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12033
12034         * lyxfunc.C (getStatus): add support for all the inset insertion
12035         commands.
12036
12037         * text2.C (insertInset):
12038         * paragraph.C (insetAllowed):
12039         * BufferView_pimpl.C (insertInset): update to take in account the
12040         renaming of insertInsetAllowed
12041
12042         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12043
12044         * text2.C (getInset): new method. returns inset at cursor position.
12045
12046         * BufferView_pimpl.C (Dispatch): changes because of this.
12047
12048         * LyXAction.C (init): rename open-stuff to inset-toggle.
12049
12050         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12051
12052         * text2.C (toggleInset): renamed from openStuff; use
12053         Inset::open().
12054
12055 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12056
12057         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12058
12059         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12060
12061 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12062
12063         * buffer.C (readLyXformat2): Add filename to the error dialog
12064
12065 2001-07-18  Juergen Vigna  <jug@sad.it>
12066
12067         * tabular.C (GetCellNumber): put an assert here instead of the check!
12068
12069 2001-07-17  Juergen Vigna  <jug@sad.it>
12070
12071         * BufferView_pimpl.C (toggleSelection): adapted too.
12072
12073         * text.C (selectNextWord): adapted for use with insets.
12074         (selectSelectedWord): ditto
12075
12076 2001-07-17  Juergen Vigna  <jug@sad.it>
12077
12078         * sp_spell.C (PSpell): fix initialitation order.
12079
12080 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12081
12082         * paragraph.C: spacing
12083
12084 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12085
12086         * sp_spell.C: repair language selection for pspell
12087
12088 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12089
12090         * lyxfunc.h: change more methods to begin with lower char.
12091
12092 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12093
12094         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12095         for unknown layouts.
12096
12097 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12098
12099         * buffer.C (readLyXformat2): Generate an error dialog if there are
12100         unknown layouts.
12101
12102 2001-07-16  Juergen Vigna  <jug@sad.it>
12103
12104         * sp_spell.C: always compile ISpell part.
12105
12106         * lyxrc.C: added use_pspell entry and it's handling.
12107
12108 2001-07-13  Juergen Vigna  <jug@sad.it>
12109
12110         * sp_spell.C: removed double includes.
12111
12112 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12113
12114         Consistent use of Lsstream.h:
12115         * Lsstream.h: added using std::stringstream for consistencies sake.
12116
12117         * buffer.C: removed using std::stringstream
12118
12119         * lyxfont.C (stateText):
12120         * paragraph.C (asString):
12121         * text.C (selectNextWord, selectSelectedWord):
12122         * text2.C (setCounter):
12123         * vspace.C (asString, asLatexString):
12124         std::ostringstream -> ostringstream.
12125
12126 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12127
12128         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12129         * commandtags.h: add LFUN_HELP_ABOUTLYX
12130         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12131
12132 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12133
12134         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12135         cursorToggle()
12136         * lyx_gui_misc.C: remove spellchecker
12137         * lyxfunc.C: showSpellchecker
12138         * sp_base.h: added
12139         * sp_ispell.h: added
12140         * sp_pspell.h: added
12141         * sp_spell.C: added
12142         * sp_form.[Ch]: removed
12143         * spellchecker.[Ch]: removed
12144
12145 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12146
12147         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12148         is set.
12149         (simpleTeXSpecialChars): Simply print the input character without
12150         any special translation if pass_thru is set.
12151
12152         * layout.h: Added bool pass_thru to layout class for being able to
12153         implement pass through of a paragraph for Literate Programming.
12154
12155         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12156         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12157         * layout.C (Read): add "passthru" to list of layout tags and add
12158         code to set the pass_thru boolean when it is read.
12159
12160 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12161
12162         * trans_decl.h: remove allowed from KmodInfo
12163
12164         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12165         remove allowed code
12166         (Load): adjust
12167
12168         * paragraph_pimpl.C (erase): use boost::prior
12169
12170         * Painter.C (text): use data() instead of c_str() when length is
12171         also provided.
12172         * WorkArea.C (putClipboard): ditto
12173         * font.h (width): ditto
12174
12175         * BufferView2.C: use it-> instead of (*it). for iterators
12176         * texrow.C: ditto
12177         * paragraph_pimpl.C: ditto
12178         * paragraph.C: ditto
12179         * minibuffer.C: ditto
12180         * language.C: ditto
12181         * kbmap.C: ditto
12182         * encoding.C: ditto
12183         * counters.C: ditto
12184         * converter.C: ditto
12185         * chset.C: ditto
12186         * Variables.C: ditto
12187         * TextCache.C: ditto
12188         * MenuBackend.C: ditto
12189         * LyXAction.C: ditto
12190         * LColor.C: ditto
12191         * FloatList.C: ditto
12192         * DepTable.C: ditto
12193         * ColorHandler.C (LyXColorHandler): ditto
12194
12195 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12196
12197         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12198
12199         * text2.C (openStuff): reintroduce this method (which had been
12200         nuked in NEW_INSETS frenzy).
12201
12202         * lyxfunc.C (Dispatch): when an action has not been handled, use
12203         its name in the error message, not its number.
12204
12205         * paragraph.C (inInset): change method name to begin with lowercase.
12206
12207         * undo_funcs.C:
12208         * text2.C: updates because of this.
12209
12210 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12211
12212         * ToolbarDefaults.C (add): add spaces in error message
12213
12214 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12215
12216         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12217         (readLyXformat2): rename return_par to first_par, use lyxlex's
12218         pushToken and remove the manual push handling.
12219         (parseSingleLyXformat2Token): add another ert comp. variable:
12220         in_tabular, rename return_par to first_par. handle newlines better
12221
12222 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12223
12224         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12225
12226 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12227
12228         * text2.C (getParFromID): removed
12229
12230         * buffer.C (getParFromID): new method moved form lyxtext.
12231         * BufferView2.C (insertErrors): adjust
12232         (setCursorFromRow): adjust
12233         * BufferView_pimpl.C (restorePosition): adjust
12234         * lyxfunc.C (Dispatch): adjust
12235         * undo_funcs.C (textUndo): adjust
12236         (textRedo): adjust
12237         (textHandleUndo): adjust
12238         (textHandleUndo): adjust
12239
12240 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12241
12242         * buffer.C: up' the LYX_FORMAT
12243
12244         * lyxfont.h: turn NO_LATEX on as default
12245
12246         * buffer.C (insertErtContents): new methods of tex style compability.
12247         (parseSingleLyXformat2Token): use it several places.
12248         * tabular.C (OldFormatRead): and here
12249
12250 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12251
12252         * text2.C: remove some commented code.
12253         reindent file.
12254
12255         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12256         * trans.C: changes because of the above.
12257
12258 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12259
12260         * text2.C (setCounter): Fix counters bug with bibliography layout.
12261
12262 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12263
12264         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12265         own member functions
12266         (simpleTeXSpecialChars): ditto
12267
12268 2001-07-06  Juergen Vigna  <jug@sad.it>
12269
12270         * a lot of files: changed the access to LyXText::status and the
12271         call of undo-functions.
12272
12273         * undo.[Ch]: added a inset_id to the undo informations.
12274
12275         * undo_funcs.[Ch]: added and moved here all undo functions.
12276
12277         * lyxtext.h: give the status enum a weight, made status_ a private
12278         variable and made accessor functions for it, removed the whole bunch
12279         of undo-functions as they are now in their own file, make some
12280         functions publically available. Added function ownerParagraph with
12281         int parameter.
12282
12283         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12284         made InInset() a const function, added getParFromID() function.
12285
12286         * buffer.[Ch]: added const version for inset_iterator functions,
12287         added getInsetFromID() function.
12288
12289         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12290         changed undo functions for new version.
12291
12292 2001-07-05  Juergen Vigna  <jug@sad.it>
12293
12294         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12295         unknow mechanism does not call the proper constructor but only this
12296         one also if I request the other!?
12297
12298 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12299
12300         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12301
12302         * text2.C (LyXText): use initialization lists.
12303
12304         * lyxtext.h (Selection): initialize set_ and mark_
12305         (init): remove method
12306
12307 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12308
12309         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12310
12311 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12312
12313         * screen.[Ch]: change method names to begin with lowercase
12314
12315         * BufferView_pimpl.C (updateScrollbar): simplify further and
12316         hopefully make it a bit faster.
12317
12318 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12319
12320         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12321         calling directly xforms functions.
12322
12323         * Painter.C (Painter):
12324         * lyx_cb.C (MenuWrite):
12325         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12326         fl_display.
12327
12328         * lyx_gui.C: remove bogus guiruntime extern declaration.
12329
12330 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12331
12332         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12333         in NEW_INSETS
12334         (redoDrawingOfParagraph): ditto
12335         (redoParagraphs): ditto
12336         (cutSelection): don't create a object for CutAndPaste use the
12337         static method directly
12338         (pasteSelection): ditto
12339
12340         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12341         LyXview (+ rename)
12342
12343 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12344
12345         * modifications to some other files because of this.
12346
12347         * Makefile.am (lyx_SOURCES): add XFormsView
12348
12349         * XFormsView.[Ch]: new files
12350
12351         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12352         the main window. Move the gui dependent stuff to XFormsView
12353
12354 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12355
12356         * tabular.C (GetCellInset): update cur_cell also in the row/col
12357         version of this function.
12358
12359         * lyxfunc.C: no need to include figure_form.h here.
12360
12361         * FontLoader.h:
12362         * lyxfunc.h:
12363         * lyxscreen.h:
12364         * text2.C:
12365         * lyxvc.C: no need to include forms.h here.
12366
12367 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12368
12369         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12370
12371         * lyxfunc.C (Dispatch):
12372         * Spacing.C (set):
12373         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12374         constructor argument.
12375
12376 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12377
12378         * paragraph.C (Paragraph): dont't clear, and just set layout.
12379         (makeSameLayout): use params's copy contructor.
12380
12381         * ParagraphParameters.[Ch] (makeSame): delete method
12382
12383 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12384
12385         * Variables.[Ch]: fix indentation, rename set to isSet
12386
12387 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12388
12389         * lyxfunc.C (Dispatch): fix typo
12390
12391 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12392
12393         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12394         upper_bound.
12395
12396         * bufferlist.C: include assert.h for emergencyWrite().
12397
12398 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12399
12400         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12401           give up at last (bug #425202) !
12402
12403 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12404
12405         * lyx_gui_misc.C:
12406         * sp_form.h:
12407         * sp_form.C:
12408         * spellchecker.h:
12409         * spellchecker.C: strip spellchecker options and bring up
12410           preferences tab instead
12411
12412 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12413
12414         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12415         the istringstream constructor
12416
12417 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12418
12419         * paragraph.C (getLayout): fix return value
12420
12421         * paragraph.h: do not declare getLayout as inline.
12422
12423         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12424
12425 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12426
12427         * lyxcursor.h (operator<): new func
12428         (operator>): new func
12429         (operator>=): new func
12430         (operator<=): new func
12431
12432         * text.C (changeCase): use selection.start and selection.end
12433         (changeRegionCase): require from to be <= to. Require par to be a
12434         valid paragraph.
12435
12436         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12437
12438 2001-06-27  Juergen Vigna  <jug@sad.it>
12439
12440         * text.C (cursorLeftOneWord): changed to return the cursor and added
12441         overlay with BufferView * parameter which calls this one.
12442         (getWord): added
12443         (selectWord): use new getWord function.
12444         (changeCase): renamed from changeWordCase as and extended to work
12445         also on selections.
12446
12447         * lyxtext.h: added enum word_location
12448
12449         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12450         changeCase as this operates now also on selections.
12451
12452 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12453
12454         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12455
12456         * many files: send debug output to Debug::INFO instead of
12457         Debug::ANY.
12458
12459         * converter.C (View):
12460         (Convert):
12461         (Move): send debug output to Debug::FILES instead of console.
12462
12463 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12464
12465         * lyxfunc.C (getStatus): use func_status
12466
12467         * func_status.h: new header, describing the results of
12468         LyXFunc::getStatus;
12469
12470         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12471         LFUN_MATH_HALIGN.
12472
12473 2001-06-25  The LyX Project  <jug@sad.it>
12474
12475         * buffer.C (sgmlOpenTag):
12476         (sgmlCloseTag):
12477         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12478
12479 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12480
12481         * text2.C: remove some dead code
12482
12483         * tabular.C (GetCellInset): store the last cell checked (gotten)
12484
12485         * tabular.h: add the helper for the speedup
12486
12487         * lyxtext.h: remove some dead code
12488
12489 2001-06-26  The LyX Project  <Asger>
12490
12491         * paragraph.C: Change export to LaTeX of alignment to
12492         \begin{center} and family for better roundtrip work with reLyX.
12493
12494         * Tune the math drawing a bit.
12495
12496 2001-06-25  The LyX Project  <Asger>
12497
12498         * LColor.C (LColor): New color for math background. New color
12499         for buttons.
12500
12501 2001-06-25  The LyX Project  <jug@sad.it>
12502
12503         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12504
12505         * lyxfunc.C (Open):
12506         * bufferlist.C (newFile): do not restrict to files ending with
12507         .lyx
12508
12509         * BufferView_pimpl.C (MenuInsertLyXFile):
12510
12511 2001-06-24  The LyX Project  <jug@sad.it>
12512
12513         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12514         of compare_no_case
12515
12516 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12517
12518         * lyxtext.h: rename most methods to begin with a small char.
12519         Lots of changes because of this.
12520
12521         * paragraph.C (Paragraph): do not call fitToSize
12522         (erase): call Pimpl::erase
12523         (insertChar): call Pimpl::insertChar
12524         (insertInset): call Pipl::insertInset
12525         (breakParagraph): do not call fitToSize
12526         (breakParagraphConservative): do not call fitToSize
12527         (fitToSize): remove method
12528
12529         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12530
12531 2001-06-24  The LyX Project  <Asger>
12532
12533         * Fix Qt compilation^2
12534
12535 2001-06-24  The LyX Project  <jug@sad.it>
12536
12537         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12538         depthHook(getDepth()-1).
12539
12540         * paragraph.h:
12541         * ParagraphParameters.h:
12542         * ParameterStruct.h: change type of depth to unsigned int ==
12543         depth_type. Many adaptations to other files before of that.
12544
12545 2001-06-24  The LyX Project  <Asger>
12546
12547         * Fix Qt compilation.
12548
12549 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12550
12551         * paragraph.h: renamed several methods to begin with small letter.
12552         several changes to many parts of the code because of this.
12553
12554 2001-06-23  The LyX Project  <jug@sad.it>
12555
12556         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12557         rewritten to discard all double spaces when KeepEmpty is off
12558         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12559         to only handle newlines but not fiddle with spaces and friends.
12560
12561         * lyxfunc.C (MenuNew): when doing 'new from template', use
12562         template_path as default directory
12563
12564 2001-06-23  The LyX Project  <Asger>
12565
12566         * Clean-up of header file includes all over
12567         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12568
12569 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12570
12571         * paragraph.h: renamed from lyxparagraph.h
12572
12573 2001-06-23  Asger  <lyx@violet.home.sad.it>
12574
12575         * Buffer.h: Removed Buffer::resize
12576         * BufferList.h: Removed BufferList::resize
12577         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12578         the document lazily when we change the width, or the font settings.
12579
12580 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12581
12582         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12583
12584 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12585
12586         * buffer.h: remove out of date comment
12587
12588 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12589
12590         * lyxscreen.h:
12591         * screen.C: fix "theoretical" GC leak
12592
12593 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12594
12595         * LaTeX.C (scanAuxFile):
12596         (deplog): remove trailing \r when reading stream (useful under
12597         win32)
12598
12599 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12600
12601         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12602         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12603         and BufferView::theLockingInset(Inset*), so should use them and not
12604         access bv_->text->the_locking_inset directly.
12605
12606         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12607
12608 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12609
12610         * Makefile.am:
12611         * tex-defs.h: remove old unused file
12612
12613 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12614
12615         * BufferView_pimpl.C: fix typo, remove minibuffer message
12616           when buffer has loaded
12617
12618 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12619
12620         * lyxfunc.C (Dispatch): use stringstream
12621         (MenuNew): use stringstream
12622         (Open): use stringstream
12623
12624         * importer.C (Import): use stringstream
12625
12626         * bufferview_funcs.C (CurrentState): use stringstream
12627
12628         * LaTeX.C (run): use stringstream
12629
12630         * BufferView_pimpl.C (savePosition): use stringstream
12631         (restorePosition): use stringstream
12632         (MenuInsertLyXFile): use stringstream
12633
12634 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12635
12636         * BufferView.C:
12637         * Bullet.C:
12638         * ColorHandler.C:
12639         * FontInfo.C:
12640         * FontLoader.C:
12641         * LColor.C:
12642         * LaTeXFeatures.C:
12643         * Painter.C:
12644         * gettext.C:
12645         * lyx_gui_misc.C:
12646         * lyxserver.C:
12647         * vspace.C: removed // -*- C++ -*- as first line.
12648
12649         * lyxfind.h:
12650         * version.h: added // -*- C++ -*- as first line.
12651
12652 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12653
12654         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12655
12656         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12657         of string
12658
12659 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12660
12661         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12662         of floats.
12663
12664 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12665
12666         * gettext.C: include LString.h even when --disable-nls is on.
12667
12668 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12669
12670         * converter.h (Get): changed argument type from int to
12671         FormatList::size_type to avoid unnecessary conversion.
12672
12673         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12674         before using it.
12675
12676 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12677
12678         * gettext.h: include LString.h even when --disable-nls is on.
12679
12680 2001-06-07  Juergen Vigna  <jug@sad.it>
12681
12682         * text.C (BreakAgain): subst spaces with tabs.
12683
12684         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12685         (resizeInsetsLyXText): set force on resizeLyXText.
12686
12687 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12688
12689         * gettext.h (gettext_init):
12690         (locale_init): use a real definition instead of a macro
12691
12692 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12693
12694         * Bufferview_pimpl.C:
12695         * LColor.h:
12696         * LColor.C: further lcolor tidies
12697
12698 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12699
12700         * BufferView_pimpl.C (updateScrollbar): simplify.
12701
12702         * BufferView2.C: don't include insets/insetinfo.h, change
12703         prototype for insertInset and call the Pimpl version. let
12704         updateInset call Pimpl version.
12705
12706         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12707         gotoInset to BufferView::Pimpl
12708
12709 2001-06-01  Juergen Vigna  <jug@sad.it>
12710
12711         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12712         inside a LockingInset (is the update needed at all?).
12713
12714 2001-05-31  Juergen Vigna  <jug@sad.it>
12715
12716         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12717         here not the old one otherwise how should we compare it afterwards
12718         if it's the same!
12719
12720 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12721
12722         * lyxfont.C:
12723         * tabular.C:
12724         * tabular-old.C:
12725         * FontInfo.C: bring C functions into global namespace when
12726         necessary
12727
12728 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12729
12730         * LString.h: make sure config.h has been loaded before LString.h.
12731
12732         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12733         (one for each char read by EatLine!).
12734
12735         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12736         variables.
12737
12738 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12739
12740         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12741         to the same as the par we break from
12742
12743 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12744
12745         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12746
12747         * MenuBackend.C (expand): also create menu entries for wide
12748         versions of the floats.
12749
12750         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12751
12752         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12753
12754         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12755         frontends/Makefile.am
12756
12757         * text2.C: adjust
12758         * text.C: adjust
12759
12760
12761         * tabular.C (getTokenValue): add std::
12762
12763         * tabular-old.C (getTokenValue): add std::
12764         (getTokenValue): ditto
12765         (getTokenValue): ditto
12766
12767         * screen.C (ToggleSelection): adjust
12768
12769         * lyxtext.h: put selection cursors inside a Selection struct.
12770
12771         * lyxfunc.C (moveCursorUpdate): adjust
12772
12773         * lyxfont.C (latexWriteStartChanges): add std::
12774
12775         * lyxfind.C: adjust
12776
12777         * font.h: delete with(char const *, LyXFont const &)
12778
12779         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12780
12781         * FontInfo.C (getFontname): add std::
12782
12783         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12784         (workAreaButtonPress): adjust
12785         (tripleClick): adjust
12786         (update): adjust
12787         (moveCursorUpdate): adjust
12788         (Dispatch): adjust
12789
12790         * BufferView2.C (gotoInset): adjust
12791
12792 2001-05-30  Juergen Vigna  <jug@sad.it>
12793
12794         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12795         to check pspell I add this as default as I now have new pspell
12796         libraries and they seem to use this.
12797
12798 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12799
12800         * text2.C (CutSelection): make the cursor valid before the call to
12801         ClearSelection.
12802
12803 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12804
12805         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12806         relied on 0 terminated strings and other horrors. Bug found due to
12807         the new assert in lyxstring!
12808
12809         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12810         KP_ keys.
12811
12812 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12813
12814         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12815         to latinkeys.bind.
12816
12817         * lyxfunc.C (processKeySym): change method of getting to the
12818         self-insert char.
12819
12820         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12821         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12822         * BufferView_pimpl.[Ch]: here as private methods.
12823
12824 2001-05-28  Juergen Vigna  <jug@sad.it>
12825
12826         * text.C (SetHeightOfRow): added the update() call again as it is
12827         needed to initialize inset dimensions!
12828
12829 2001-05-16  Juergen Vigna  <jug@sad.it>
12830
12831         * text2.C (SetCharFont): Add new function with BufferView * and
12832         bool toggleall parameters for setting insets internal fonts.
12833         (SetFont): Freeze the undo as we may change fonts in Insets and
12834         all this change should be inside only one Undo!
12835
12836         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12837         setting font's in insets as for them we have the SetFont function!
12838
12839 2001-05-15  Juergen Vigna  <jug@sad.it>
12840
12841         * text2.C (ClearSelection): to be sure we REALLY don't have any
12842         selection anymore!
12843
12844         * tabular.C (TeXCellPreamble): fixed the left border problem for
12845         multicolumn cells.
12846
12847 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12848
12849         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12850         dependancy file
12851
12852 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12853
12854         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12855         LFUN_BREAKPARAGRAPH.
12856
12857         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12858         help test to "internal only", similar for LFUN_INSERT_URL
12859
12860         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12861         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12862         auto_region_delete and deadkeys.
12863
12864 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12865
12866         * LColor.h:
12867         * LColor.C: remove some dead entries, tidy a little
12868
12869 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12870
12871         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12872         commented code.
12873         (Dispatch): implement LFUN_ESCAPE
12874
12875         * commandtags.h: add LFUN_ESCAPE
12876
12877         * LyXAction.C (init): add entry for LFUN_ESCAPE
12878
12879         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12880         Remove commented code.
12881         (insertNote): moved here
12882         (open_new_inset): moved here
12883
12884         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12885         BufferView_pimpl
12886
12887 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12888
12889         * kbmap.C (findbinding): clean it up and make it work correctly.
12890
12891         * lyx_main.C (init): do not pass argc and argv as parameters
12892
12893 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12894
12895         * buffer.C: fix path for OS/2 & Win32
12896
12897         * lyx_gui.C:
12898         * lyx_main:
12899         * lyx_main.C: Added os:: class.
12900
12901         * os2_defines.h: update
12902
12903 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12904
12905         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12906         better by trying again with reduced state.
12907
12908 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12909
12910         * lyxrc.C (read): print error about invalid key sequence only when
12911         debugging (because not all latinX keysyms are known to some X
12912         servers)
12913
12914         * kbsequence.C (getiso): add a few std:: qualifiers
12915         (getiso): comment out extra return statement.
12916
12917 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12918
12919         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12920         handling.
12921         (Dispatch): enhance the accent inset a bit. (not perfect)
12922
12923 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12924
12925         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12926
12927 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12928
12929         * bufferlist.C (emergencyWrite): fix assert() call
12930
12931 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12932
12933         * text.C (InsertChar): Added trivial patch to only send the "you
12934         can not do multiple spaces this way" message once during a
12935         session.
12936
12937 2001-05-08  Baruch Even  <baruch@lyx.org>
12938
12939         * Makefile.am: Changed order of libraries to get LyX to link properly
12940         with the gnome frontend.
12941
12942 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12943
12944         * LaTeXFeatures.h: add a std:: qualifier
12945
12946 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12947
12948         * paragraph.C (String): use stringstream
12949
12950 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12951
12952         * paragraph.C (writeFile): remove footflag arg
12953
12954         * buffer.C (makeLaTeXFile): use stringstream
12955         (latexParagraphs): remove footnot gurba
12956
12957         * LaTeXFeatures.C (getPackages): use stringstream
12958         (getMacros): likewise
12959         (getTClassPreamble): likewise
12960         (getFloatDefinitions): new method
12961
12962         * paragraph.C (writeFile): reindent
12963         (Erase): reindent
12964
12965         * WorkArea.h: revert the xpos + etc changes.
12966
12967         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12968
12969         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12970
12971         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12972         (pasteSelection): likewise
12973         * text2.C (CreateUndo): likewise
12974
12975 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12976
12977         * minibuffer.C (peek_event): temporarily reduce the functionality
12978         of the minibuffer (to allow args on lfuns)
12979
12980         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12981         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12982
12983         * buffer.C (readInset): add compability reading of old float
12984         lists, add reading of new style float list.
12985         (readInset): avoid reevaluation of inscmd.getCmdName()
12986         (getLists): reindent
12987
12988         * MenuBackend.C (MenuItem): implement parsing of
12989         md_floatlistinsert and md_floatinsert.
12990         (expand::LastFiles): move initalizaton of iterators out of loop,
12991         avoid reevaluation.
12992         (expand::Documents): introduce typdedef vector<string> Strings,
12993         and use it.
12994         (expand::ExportFormats): introduce typedef vector<Format const *>
12995         Formats, and use it.
12996         (expand): implement FloatListInsert and FloatInsert.
12997
12998         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12999         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13000         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13001
13002         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13003         handling.
13004         (Dispatch::LFUN_FLOAT_LIST): implement
13005
13006 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13007
13008         * LaTeX.C (run): Fix problem with --export code.
13009
13010 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13011
13012         * BufferView.[Ch] (workarea): removed.
13013         (getClipboard) new method; wrapper for workarea()->getClipboard()
13014
13015         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13016         bug.
13017
13018         * WorkArea.h (width, height, xpos, ypos): These methods all
13019         returned the dimensions of the work_area sub-area of WorkArea,
13020         resulting in a position error if the WorkArea were resized. Now
13021         return the dimensions of the entire WorkArea.
13022
13023         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13024
13025 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13026
13027         * LaTeX.C (deplog): correct the syntax of regex reg1
13028
13029 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13030
13031         * undo.C: remove !NEW_INSETS cruft
13032
13033 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13034
13035         * text2.C: remove !NEW_INSETS cruft
13036
13037         * text.C: remove !NEW_INSETS cruft
13038
13039         * tabular.C: remove !NEW_INSETS cruft
13040
13041         * spellchecker.C: remove !NEW_INSETS cruft
13042
13043         * lyxtext.h: remove !NEW_INSETS cruft
13044
13045         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13046
13047         * lyxfunc.C: remove !NEW_INSETS cruft
13048
13049         * lyxfind.C: remove !NEW_INSETS cruft
13050
13051         * lyx_cb.C: remove !NEW_INSETS cruft
13052
13053         * figureForm.C: remove  !NEW_INSETS cruft
13054
13055         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13056
13057         * buffer.[Ch]: remove !NEW_INSETS cruft
13058
13059         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13060
13061         * CutAndPaste.C: remove !NEW_INSETS cruft
13062
13063         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13064
13065         * BufferView2.C: remove !NEW_INSETS cruft
13066
13067         * BufferView.h: remove !NEW_INSETS cruft
13068
13069 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13070
13071         * Lsstream.h: include LString.h before the sstream headers to
13072         fix problem with gcc 2.95.3 and lyxstring
13073
13074 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13075
13076         * lyx_main.C: add using directives when needed for C functions
13077         declared in std:: namespace.
13078
13079 2001-04-27  Juergen Vigna  <jug@sad.it>
13080
13081         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13082         (SetHeightOfRow): comment out the update call should not be needed!
13083
13084 2001-04-13  Juergen Vigna  <jug@sad.it>
13085
13086         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13087         (LyXTabular): tried to minimize operator= operations (and realized
13088         hopfully Lars wish).
13089
13090 2001-04-27  Juergen Vigna  <jug@sad.it>
13091
13092         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13093
13094 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13095
13096         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13097
13098         * buffer.C (readInset): hack to make listof algorithm work
13099
13100         * BufferView_pimpl.C: hack to make listof algorithm work
13101
13102 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13103
13104         * LyXAction.C: removed all !NEW_INSETS cruft
13105         (init): moved lfun_item in method
13106
13107         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13108
13109 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13110
13111         * BufferView2.C (theLockingInset): white space.
13112
13113 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13114
13115         * minibuffer.C: include <iostream>
13116
13117         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13118
13119         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13120
13121         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13122
13123         * text.[Ch] (TransposeChars): new method
13124
13125 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13126
13127         * call message directly through LyXView instead of through LyXFunc
13128         * BufferView2.C: adjust
13129         * BufferView_pimpl.C: adjust
13130         * FontLoader.C: adjust
13131         * buffer.C: adjust
13132         * bufferview_funcs.C: adjust
13133         * converter.C: adjust
13134         * figureForm.C: adjust
13135         * importer.C: adjust
13136         * lyx_cb.C: adjust
13137         * lyx_gui_misc.C: adjust
13138         * lyxfunc.C: adjust
13139         * lyxvc.C: adjust
13140         * text2.C: adjust
13141         + more files in subdirs
13142
13143         * lyxparagraph.h (size): move up int file
13144         (GetLayout): ditto
13145
13146         * adjust all uses of Assert to lyx::Assert.
13147
13148         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13149         lyxfunctional in namespace lyx
13150         * layout.C (hasLayout): ditto
13151         (GetLayout): ditto
13152         (GetLayout): ditto
13153         (delete_layout): ditto
13154         (NumberOfClass): ditto
13155         * converter.C (GetFormat): ditto
13156         (GetNumber): ditto
13157         (Add): ditto
13158         (Delete): ditto
13159         (SetViewer): ditto
13160         * bufferlist.C (getFileNames): ditto
13161         (emergencyWriteAll): ditto
13162         (exists): ditto
13163         (getBuffer): ditto
13164         * MenuBackend.C (hasSubmenu): ditto
13165         (hasMenu): ditto
13166         (getMenu): ditto
13167         * BufferView_pimpl.C (getInsetByCode): ditto
13168
13169 2001-04-18  Juergen Vigna  <jug@sad.it>
13170
13171         * vspace.C (asLatexString): fixed the 100% problem.
13172
13173 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13174
13175         * lyxfunc.C (Dispatch):
13176         * minibuffer.C:
13177         * minibuffer.h: add a few std:: qualifiers
13178
13179 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13180
13181         * minibuffer.[Ch]: reimplement so that commands is initiated and
13182         run from lyxfunc, simplified som handling, and made the completion
13183         and history code for complete. wip.
13184
13185         * lyxfunc.C (processKeySym): call message
13186         (miniDispatch): new temporary method
13187         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13188         (LFUN_MESSAGE): implement
13189         (LFUN_MESSAGE_PUSH): implement
13190         (LFUN_MESSAGE_POP): implement
13191         (initMiniBuffer): the initial/defualt minibuffer message.
13192
13193         * lyxfont.[Ch]: inline some more getters
13194
13195         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13196
13197         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13198
13199         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13200         (AutoSave): use LFUN_MESSAGE
13201         (Reconfigure): ditto
13202
13203         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13204
13205         * figureForm.C: use LFUN_MESSAGE
13206
13207         * converter.C (runLaTeX): use LFUN_MESSAGE
13208
13209         * bufferview_funcs.C: use LFUN_MESSAGE
13210         (Melt): ditto
13211         (changeDepth): ditto
13212
13213         * bufferparams.h: use boost::
13214
13215         * bufferlist.h: inherit privately from noncopyable
13216
13217         * bufferlist.C (loadLyXFile): remove some commented code.
13218
13219         * buffer.C (runChktex): use LFUN_MESSAGE
13220
13221         * ShareContainer.h: inherit privately from noncopyable
13222
13223         * ParagraphParameters.[hC] (depth): inline it.
13224
13225         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13226         methods.
13227         (message): new method
13228         (messagePush): ditto
13229         (messagePop): ditto
13230         (show): init minibuffer
13231         (showState): direct call
13232
13233         * LaTeX.[Ch]: inherit privately from noncopyable
13234         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13235         instead of WriteStatus.
13236
13237         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13238
13239         * BufferView_pimpl.C (buffer): don't init minibuffer
13240         (workAreaButtonPress): use LFUN_MESSAGE
13241         (workAreaButtonRelease): ditto
13242         (savePosition): ditto
13243         (restorePosition): ditto
13244         (MenuInsertLyXFile): ditto
13245         (workAreaExpose): don't init minibuffer
13246         (update): remove commented code, simplify
13247
13248         * BufferView2.C (openStuff): use LFUN_MESSAGE
13249         (toggleFloat): ditto
13250         (menuUndo): ditto
13251         (menuRedo): ditto
13252         (copyEnvironment): ditto
13253         (pasteEnvironment): ditto
13254         (copy): ditto
13255         (cut): ditto
13256         (paste): ditto
13257         (gotoInset): ditto
13258         (updateInset): remove some commented code
13259
13260         * lastfiles.h: inherit privately from noncopyable
13261         * layout.h: ditto
13262         * lyx_gui.h: ditto
13263         * lyx_main.h: ditto
13264         * lyxlex.h: ditto
13265         * lyxlex_pimpl.h: ditto
13266
13267         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13268         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13269         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13270
13271         * LyXAction.h: inherit privately from noncopyable, add methods
13272         func_begin, func_end, returning iterators to the func map.
13273
13274         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13275         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13276         (func_begin): new method
13277         (func_end): new method
13278
13279         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13280         and not)
13281         (copySelection): ditto
13282         (pasteSelection): ditto
13283
13284         * BufferView.C: whitespace change
13285         * BufferView.h: inherit privately from noncopyable
13286
13287 2001-04-16  Allan Rae  <rae@lyx.org>
13288
13289         * tabular-old.C (l_getline):
13290         * spellchecker.C (sc_check_word):
13291         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13292         an unrecognised preprocessor directive.  So ensure they're wrapped.
13293
13294 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13295
13296         * src/exporter.C (Export): Give an error message when path to file
13297         contains spaces.
13298
13299 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13300
13301         * LaTeX.C (deplog): Always check that foundfile exists.
13302
13303 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13304
13305         * lyx_main.h:
13306         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13307
13308 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13309
13310         * tabular.[Ch] (getLabelList): implement new method
13311
13312         * minibuffer.h: comment ouf setTiimer
13313
13314         * minibuffer.C (ExecutingCB): constify res
13315         (peek_event): constify s
13316         (Set): constify ntext
13317         (Init): constify nicename
13318
13319         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13320
13321         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13322         (savePosition): use two params to Minibuffer::Set
13323         (restorePosition): ditto
13324
13325 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13326
13327         * lyx_main.C: include language.h
13328
13329         * Makefile.am (lyx_main.o): add language.h
13330
13331 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13332
13333         * exporter.C:
13334         * paragraph.C:
13335         * screen.C:
13336         * tabular.C:
13337         * CutAndPaste.C: include gettext.h
13338
13339         * lyxfont.h: remove old hack with ON and OFF.
13340
13341         * lyxparagraph.h:
13342         * lyxfont.h: do not include language.h...
13343
13344         * BufferView2.C:
13345         * LaTeXFeatures.C:
13346         * Painter.C:
13347         * bufferview_funcs.C:
13348         * font.C:
13349         * lyxfont.C:
13350         * text.C:
13351         * text2.C:
13352         * trans_mgr.C:
13353         * paragraph.C: ... but do it here instead
13354
13355 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13356
13357         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13358
13359         * tabular.C: small reformat
13360
13361         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13362         NEW_INSETS version
13363         (GetChar): ditto
13364         (BreakParagraph): ditto
13365         (SetOnlyLayout): ditto
13366         (SetLayout): ditto
13367
13368         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13369         with one arg less.
13370
13371         * lastfiles.C: removed most using decl, add std:: where needed
13372
13373         * buffer.C: ws changes
13374
13375         * MenuBackend.C (class compare_format): put into anon namespace
13376         (expand): constify label, names, action, action2
13377         (expand):
13378
13379         * text.C (SingleWidth): constify font
13380         (IsBoundary): constify rtl2
13381         (GetVisibleRow): constify ww
13382
13383         * LaTeX.C (deplog): constify logfile
13384
13385         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13386         start_x, end_x
13387         (workAreaExpose): constify widthChange, heightChange
13388
13389         * lyxrow.C (par): moved
13390         (height): moved
13391         (next): moved
13392         * lyxrow.h: as inlines here
13393
13394         * lyxfont.h (shape): moved from lyxfont.C
13395         (emph): moved from lyxfont.C
13396
13397         * lyxfont.C (LyXFont): use initialization list for all
13398         constructors
13399         (shape): move to lyxfont.h as inline
13400         (emph): move to lyxfont.h as inline
13401
13402
13403 2001-04-04  Juergen Vigna  <jug@sad.it>
13404
13405         * vspace.C: had to include stdio.h for use of sscanf
13406
13407 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13408
13409         * BufferView.h:
13410         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13411         independent of xforms.
13412
13413 2001-04-02  Juergen Vigna  <jug@sad.it>
13414
13415         * spellchecker.C: fixed namespace placing!
13416
13417 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13418
13419         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13420         the LyXParagraph * is 0.
13421
13422 2001-03-29  Juergen Vigna  <jug@sad.it>
13423
13424         * vspace.C: added support for %, c%, p%, l%.
13425         (stringFromUnit): added helper function.
13426         (asLatexString): changed to give right results for the %-values.
13427
13428         * buffer.C: convert the widthp in a width%.
13429
13430 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13431
13432         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13433         figureForm.[Ch].
13434
13435         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13436         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13437
13438         * lyx_cb.[Ch]: see above.
13439
13440         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13441         form1.[Ch].
13442
13443         * form1.[Ch]:
13444         * lyx.[Ch]: replaced by figure_form.[Ch].
13445
13446         * lyx_gui.C:
13447         * lyx_gui_misc.C:
13448         * lyxfunc.C: changed headers associated with above changes.
13449
13450 2001-03-27  Juergen Vigna  <jug@sad.it>
13451
13452         * BufferView_pimpl.C: set the temporary cursor right!
13453
13454 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13455
13456         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13457
13458 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13459
13460         * LString.h: removed "using std::getline"!
13461
13462         * BufferView_pimpl.C (Dispatch): changes due to changes in
13463         InsetInclude::Params.
13464
13465         * buffer.C (tag_name): removed redundant break statements as they were
13466         producing lots of warnings with my compiler.
13467
13468 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13469
13470         * LString.h: add "using std::getline" when using the real <string>.
13471
13472 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13473
13474         * buffer.C: removed bitset usage.
13475         PAR_TAG moved to an anonymous name space.
13476         (tag_name): new funtion, also in the anonymous namespace.
13477         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13478         (makeDocBookFile): clean code. Completed transition from string arrays
13479         to string vectors.
13480         (SimpleDocBookOnePar): code clean.
13481
13482 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13483
13484         * tabular.C: add some comments.
13485
13486 2001-03-22  Juergen Vigna  <jug@sad.it>
13487
13488         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13489         compatibility read a bit and fixed bug with minipage in different
13490         depth.
13491
13492 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13493
13494         * buffer.C (pop_tag): removed.
13495         (push_tag): removed.
13496         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13497         array replaced with vector. Added support for CDATA sections.
13498         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13499         at any nest level.
13500         (makeDocBookFile): XML conformant declaration of CDATA section,
13501         fixed bug related to <emphasis> in the first paragraph char.
13502         (sgmlOpenTag): exclude empty tags.
13503         (sgmlCloseTag): ditto.
13504
13505         * buffer.h (pop_tag): removed.
13506         (push_tag): removed.
13507
13508 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13509
13510         * language.h (Languages): added size_type and size().
13511
13512 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13513
13514         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13515         response on compability reading of minipages. One probliem is that
13516         the old usage of minipages was «flertydig»
13517
13518         * several files here and in subdirs: don't use static at file
13519         scope use anon namespaces instead.
13520
13521 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13522
13523         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13524         LaTeX output. This is necessary for Literate document
13525         processing.
13526
13527 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13528
13529         * buffer.C: insert hfill when needed.
13530
13531         * tabular.C (l_getline): use string::erase, small whitespace change.
13532
13533         * BufferView_pimpl.C: try the anon namespace.
13534         * WorkArea.C: ditto
13535
13536 2001-03-16  Juergen Vigna  <jug@sad.it>
13537
13538         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13539         otherwise it won't open options-dialogs.
13540
13541         * buffer.C: honor pextraWidth(p) on converting minipages.
13542
13543         * tabular.C (l_getline): changed the functions to strip trailing \r.
13544
13545 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13546
13547         * BufferView_pimpl.C:
13548         * minibuffer..C: added "using SigC::slot" declaration.
13549
13550 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13551
13552         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13553
13554         * text2.C: ditto
13555
13556         * text.C: ditto
13557
13558         * paragraph.C: ditto
13559
13560         * lyxtext.h: NO_PEXTRA
13561
13562         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13563
13564         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13565         * ParameterStruct.h: ditto
13566         * ParagraphParameters.h: ditto
13567         * lyxparagraph.h: ditto
13568
13569 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13570
13571         * buffer.C: add compability for minipage alignment.
13572         (latexParagraphs): remove unwanted pextra check.
13573
13574         * several files: remove CXX_WORKING_NAMESPACES
13575
13576         * buffer.C (pop_tag): tie is in namespace boost
13577
13578         * BufferView.h: noncopyable is in namespace boost
13579         * lyxlex.h: ditto
13580         * lyx_main.h: ditto
13581         * lyx_gui.h: ditto
13582         * layout.h: ditto
13583         * lastfiles.h: ditto
13584         * bufferlist.h: ditto
13585         * ShareContainer.h: ditto
13586         * LyXView.h: ditto
13587         * LyXAction.h: ditto
13588         * LaTeX.h: ditto
13589
13590 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13591
13592         * Merging changes from BRANCH_MVC back into HEAD.
13593
13594         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13595
13596 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13597
13598         * BufferView_pimpl.C: change from intl.C
13599
13600         * combox.h:
13601         * combox.C:
13602         * Makefile.am: move combox.*
13603
13604         * form1.h:
13605         * form1.C:
13606         * lyx_gui.C:
13607         * intl.h:
13608         * intl.C: remove dialog (covered by prefs)
13609
13610 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13611
13612         * lyxfunc.C (Dispatch): removed redundant break statement.
13613
13614 2001-03-14  Juergen Vigna  <jug@sad.it>
13615
13616         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13617
13618 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13619
13620         * buffer.C: add hack to fix compability reading of minipages.
13621
13622 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13623
13624         * buffer.C (getLists): Cleanup.
13625
13626 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13627
13628         * lyxfont.C (update): don't honor toggleall on font size.
13629
13630 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13631
13632         * bmtable.c:
13633         * bmtable.h:
13634         * Makefile.am: moved to frontends/xforms/
13635
13636         * lyx_gui_misc.C:
13637         * lyxfunc.C:
13638         * BufferView_pimpl.C: changes for moved mathpanel
13639
13640 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13641
13642         * gettext.h: fix gettext_init() in --disable-nls
13643
13644 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13645
13646         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13647
13648 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13649
13650         * lyx.C:
13651         * lyx.h: strip external form
13652
13653 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13654
13655         * BufferView_pimpl.C: add comment, destroySplash()
13656
13657 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13658
13659         * BufferView_pimpl.C:
13660         * LyXAction.C:
13661         * buffer.C:
13662         * commandtags.h:
13663         * lyxfunc.C: use re-worked insetinclude
13664
13665 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13666
13667         * buffer.C: add using std::stringstream.
13668
13669         * lyx_cb.C: readd using std::ios.
13670
13671         * buffer.C: add using std::map.
13672
13673         * BufferView_pimpl.C: add using std::vector.
13674
13675         * ShareContainer.h: add std:: to swap.
13676
13677         * buffer.h: add some typedefs
13678         * buffer.C (getLists): use them
13679         (getLists): renamed from getTocList.
13680         add a counter for the different float types and use it in the
13681         generated string.
13682         (getLists): use the same counter for the NEW_INSETS and the "non"
13683         NEW_INSETS
13684
13685         * lyx_cb.h: remove unused items, includes, using etc.
13686
13687         * ShareContainer.h: remove some commented code, add more comments
13688         and "documentation".
13689
13690 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13691
13692         * buffer.C (getTocList): make the list also when NEW_INSETS is
13693         defined.
13694
13695         * buffer.h: remove TocType
13696
13697         * buffer.C (getTocList): change to return a map<string,
13698         vector<TocItem> >, implement for dynamic number of list.
13699
13700         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13701         * text2.C (PasteSelection): adjust
13702         * CutAndPaste.C (pasteSelection): adjust
13703
13704         * FloatList.C (FloatList): update from the new_insets branch.
13705         * Floating.[Ch]: ditto
13706         * LaTeXFeatures.C: ditto
13707         * buffer.C: ditto
13708         * lyxlex_pimpl.C: ditto
13709
13710         * paragraph.C (Last): remove when NEW_INSETS is defined.
13711
13712         * other file: changes because of the above.
13713
13714 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13715
13716         * lyxparagraph.h: rename next to next_, previous to previous_,
13717         make them private for NEW_INSETS. Rename Next() to next(),
13718         Previous() to previous().
13719
13720         * other files: changes because of the above.
13721
13722 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13723
13724         * BufferView.h:
13725         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13726         problem.
13727
13728 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13729
13730         * main.C (main): pass lyx_localedir to gettext_init().
13731
13732         * gettext.h: remove locale_init and gettext_init macros
13733
13734         * gettext.C (locale_init): new function
13735         (gettext_init): new function
13736
13737         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13738         setlocale().
13739
13740 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13741
13742         * Moved credits to frontends:
13743         * credits.[Ch]: removed
13744         * credits_form.[Ch]: removed
13745         * lyx_gui_misc.C: remove credits stuff
13746         * Makefile.am:
13747
13748 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13749
13750         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13751
13752         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13753         unneeded destructor.
13754
13755         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13756         a standalone pointer again.
13757
13758         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13759
13760 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13761
13762         * Makefile.am:
13763         * filedlg.h:
13764         * filedlg.C:
13765         * LyXAction.C:
13766         * ToolbarDefaults.C:
13767         * bufferlist.C:
13768         * commandtags.h:
13769         * form1.C:
13770         * form1.h:
13771         * lyx_cb.C:
13772         * lyx_cb.h:
13773         * lyxfunc.h:
13774         * lyxfunc.C:
13775         * BufferView_pimpl.C: use new file dialog in GUII
13776
13777         * lyx_cb.h:
13778         * lyx_cb.C: remove LayoutsCB to Toolbar
13779
13780 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13781
13782         * ShareContainer.h (get): add std:: qualifier
13783
13784 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13785
13786         * ShareContainer.h: define a proper ShareContainer::value_type
13787         type (and use typename to please compaq cxx)
13788
13789 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13790
13791         * lyxparagraph.h: move serveral local vars to
13792         ParameterStruct/ParagraphParameters., use ShareContainer in
13793         FontTable., make vars in FontTable private and add getter and
13794         setter.
13795
13796         * paragraph.C: changes because of the above.
13797
13798         * lyxfont.h: remove copy constructor and copy assignment. (the
13799         default ones is ok), move number inside FontBits. move inlines to
13800         lyxfont.C
13801
13802         * lyxfont.C: add number to initializaton of statics, move several
13803         inlines here. constify several local vars. some whitespace
13804         cleanup. Dont hide outerscope variables.
13805
13806         * Spacing.h: add two new constructors to match the set methods.
13807
13808         * ShareContainer.h: new file, will perhaps be moved to support
13809
13810         * ParameterStruct.h: new file
13811
13812         * ParagraphParameters.h: new file
13813
13814         * ParagraphParameters.C: new file
13815
13816         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13817         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13818
13819         * BufferView_pimpl.C: ParagraphParameter changes.
13820         * buffer.C: Likewise.
13821         * bufferview_funcs.C: Likewise.
13822         * text.C: Likewise.
13823         * text2.C: Likewise.
13824
13825 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13826
13827         * lyxfind.C (LyXReplace): do not redefine default argument in
13828         implementation.
13829         (IsStringInText): ditto
13830         (SearchForward): ditto
13831         (SearchBackward): ditto
13832
13833 2001-03-06  Juergen Vigna  <jug@sad.it>
13834
13835         * lyxfind.C (IsStringInText): put parentes around expressions.
13836
13837 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13838
13839         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13840
13841 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13842
13843         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13844
13845         * stl_string_fwd.h: add comment
13846
13847         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13848
13849         * tabular.h:
13850         * tabular.C: remove unused DocBook methods
13851
13852         * intl.C:
13853         * language.C:
13854         * paragraph.C:
13855         * buffer.C:
13856         killed DO_USE_DEFAULT_LANGUAGE
13857
13858 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13859
13860         * lyx_gui.C: do not include language.h.
13861
13862         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13863         arguments in function implementation.
13864
13865 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13866
13867         * BufferView_pimpl.C: add <ctime>
13868
13869 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13870
13871         * BufferView_pimpl.C: add using std::find_if
13872
13873 2001-02-27  José Matos  <jamatos@fep.up.pt>
13874
13875         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13876         by OnlyPath.
13877
13878 2001-02-11  José Matos  <jamatos@fep.up.pt>
13879
13880         * buffer.C (makeDocBookFile): command styles now have a parameter as
13881         "title" by default.
13882
13883 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13884
13885         * layout_forms.[Ch]: removed
13886         * lyx_cb.[Ch]: out character
13887         * lyx_gui.C: out character
13888         * lyx_gui_misc.C: out character
13889         * bufferview_funcs.C: : out character,
13890         added toggleall as parameter in ToggleAndShow
13891
13892 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13893
13894         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13895
13896         * text2.C (SetCurrentFont): Disable number property at boundary.
13897
13898 2001-02-26  Juergen Vigna  <jug@sad.it>
13899
13900         * lyxfunc.C (getStatus): added a string argument override function so
13901         that this is correctly called from LyXFunc::Dispatch if it contains a
13902         do_not_use_argument which is used!
13903         (Dispatch): added check for "custom" export and call appropriate func.
13904
13905 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13906
13907         * lyxrc.C: Add language_command_local, language_use_babel and
13908         language_global_options.
13909
13910         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13911
13912         * buffer.C (makeLaTeXFile): Use language_use_babel and
13913         language_global_options.
13914
13915 2001-02-23  Juergen Vigna  <jug@sad.it>
13916
13917         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13918         which works with LyXText and putted it inside BufferView. Here now we
13919         only call for that part the BufferView::Dispatch() function.
13920
13921         * BufferView.C (Dispatch): added.
13922
13923         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13924         functions which needs to use a LyXText over from LyXFunc.
13925         (MenuInsertLyXFile): added
13926         (getInsetByCode): added
13927         (moveCursorUpdate): added
13928         (static TEXT): added
13929
13930 2001-02-22  Juergen Vigna  <jug@sad.it>
13931
13932         * BufferView_pimpl.C (update): call a status update to see if LyXText
13933         needs it.
13934
13935 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13936
13937         * vc-backend.C (revert): implement for CVS
13938         (getLog): implement for CVS
13939
13940 2001-02-20  Juergen Vigna  <jug@sad.it>
13941
13942         * text2.C (ClearSelection): added BufferView param for inset_owner call
13943
13944         * lyxfunc.C (TEXT): added this function and use it instead of
13945         directly owner->view()-text of getLyXText().
13946
13947 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13948
13949         * src/layout_forms.C: out preamble
13950         * src/layout_forms.h: out preamble
13951         * src/lyx_cb.C: out preamble
13952         * src/lyx_cb.h: out preamble
13953         * src/lyx_gui.C: out preamble
13954         * src/lyx_gui_misc.C: out preamble
13955         * src/lyxfunc.C: connect with guii preamble
13956
13957 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13958
13959         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13960
13961 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13962
13963         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13964         whether to run bibtex.
13965
13966 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13967
13968         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13969
13970 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13971
13972         * Makefile.am (lyx_SOURCES): removed bibforms.h
13973
13974         * vspace.h: doxygen
13975
13976         * text.C (GetVisibleRow): make several local vars const
13977
13978         * tabular.C: small cleanup.
13979
13980         * lyxserver.C (callback): use compare instead of strncmp
13981
13982         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13983         inlines to after class or to paragraph.C
13984
13985         * lyxfont.h: remove friend operator!=
13986
13987         * converter.h: move friend bool operator< to non friend and after
13988         class def.
13989
13990         * combox.h: small cleanup
13991
13992         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13993         to inlines after class def.
13994
13995         * buffer.C (pop_tag): use string operations instead of strcmp
13996
13997         * bmtable.c: doxygen, small cleanup
13998
13999         * LaTeX.h: remove friend operator==
14000
14001 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14002
14003         * screen.C:
14004         * lyxrc.[Ch]:
14005         * lyxfunc.C:
14006         * lyxfont.[Ch]:
14007         * lyx_cb.C:
14008         * intl.[Ch]:
14009         * commandtags.h:
14010         * buffer.C:
14011         * WorkArea.[Ch]:
14012         * LyXAction.C:
14013         * BufferView_pimpl.C:
14014         * BufferView.[Ch]: remove cruft
14015
14016 2001-02-14  Juergen Vigna  <jug@sad.it>
14017
14018         * lyxfunc.C: removed #if 0 unused code
14019
14020         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14021
14022         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14023
14024         * text2.C (SetSelection): added a BufferView * parameter
14025
14026 2001-02-13  Juergen Vigna  <jug@sad.it>
14027
14028         * lyxfunc.C (Dispatch): fixed protected blank problem.
14029         * BufferView2.C (protectedBlank): added LyxText * parameter.
14030
14031         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14032         (AppendColumn): same as above for column_info.
14033
14034         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14035         (moveCursorUpdate): use a LyXText param for support of InsetText.
14036
14037         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14038         (tripleClick): ditto
14039
14040         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14041
14042         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14043
14044         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14045
14046         * text2.C (SetSelection): set correct update status if inset_owner
14047         (ToggleFree): ditto
14048
14049 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14050
14051         * tabular.C: remove some commented code.
14052
14053 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14054
14055         * BufferView_pimpl.C: call hideSplash()
14056
14057         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14058
14059         * include_form.h:
14060         * bibforms.h: remove
14061
14062         * lyxfunc.C:
14063         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14064           add LFUN_CHILD_CREATE
14065
14066         * counters.h: fix tiny typo
14067
14068         * lyx_cb.C:
14069         * lyx.h:
14070         * lyx_gui.C:
14071         * lyx.C: move splash to frontends/xforms/
14072
14073         * lyx_gui_misc.C: move Include and Bibform to frontends
14074
14075         * lyxvc.h: clarify comment
14076
14077         * vspace.C: tiny housekeeping
14078
14079 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14080
14081         * text.C (PrepareToPrint): RTL Fix.
14082
14083         * paragraph.C (GetUChar): New method.
14084         (String):  Use GetUChar.
14085
14086         * buffer.C (asciiParagraph): Use GetUChar.
14087
14088 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14089
14090         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14091
14092 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14093
14094         * buffer.h:
14095         * buffer.C: rename to getLogName(), handle
14096           build log / latex log nicely
14097
14098 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14099
14100         * MenuBackend.C:
14101         * MenuBackend.h: remove support for reference menuitem type.
14102
14103 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14104
14105         * BufferView_pimpl.C: housekeeping
14106         * BufferView_pimpl.h:
14107         * LyXView.h:
14108         * Makefile.am:
14109         * Timeout.C:
14110         * Timeout.h:
14111         * minibuffer.h: move Timeout GUI-I
14112
14113 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14114
14115         * lyxrc.C (read): Update converters data-structures.
14116
14117 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14118
14119         * LaTeX.h (operator!=): add operator != for Aux_Info
14120
14121 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14122
14123         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14124
14125         * LaTeXLog.C: deleted, useful code moved to Buffer
14126
14127         * buffer.h:
14128         * buffer.C: new function getLatexLogName()
14129
14130         * lyx_gui_misc.C:
14131         * lyx_gui.C:
14132         * lyxvc.C:
14133         * lyxvc.h:
14134         * lyxfunc.C: use frontends for LaTeX and VC logs
14135
14136 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14137
14138         * LaTeX.h: yet another std:: that Allan forgot.
14139
14140         * Variables.C (set): renamed from isset(), because this clashes
14141         with some HP-UX macros (grr).
14142
14143 2001-02-06  Allan Rae  <rae@lyx.org>
14144
14145         * LaTeX.h: Another bug fix.  Missing std:: this time.
14146
14147 2001-02-04  Allan Rae  <rae@lyx.org>
14148
14149         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14150         floats problem. I've left it commented out because it's not quite
14151         correct.  It should also test that the current object is a table or
14152         figure inset.  But I haven't gotten around to figuring out how to do
14153         that.  I *think* it'll be something like: "table" == inset.type()
14154
14155         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14156         bool.
14157
14158 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14159
14160         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14161         all the citation/databases/styles in the auxilary file.
14162         (run): Rerun latex if there was a babel language error.
14163
14164 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14165
14166         * text.C (Backspace): Preserve the font when changing newline char
14167         with a space.
14168         (BreakParagraph): If the cursor is before a space, delete the space.
14169
14170         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14171
14172 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14173
14174         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14175         new argument (code).
14176         (ChangeCitationsIfUnique): New method.
14177
14178         * paragraph.C (GetPositionOfInset): Handle bibkey.
14179
14180 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14181
14182         * BufferView_pimpl.h: change type of Position::par_pos to
14183         LyXParagraph::size_type.
14184
14185 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14186
14187         * BufferView_pimpl.C (savePosition, restorePosition): Write
14188         messages to minibuffer.
14189
14190 2001-01-28  José Matos  <jamatos@fep.up.pt>
14191
14192         * buffer.C (makeDocBookFile): adds support for document language.
14193         A silly restriction on the name of LatexCommand types where removed.
14194         Added support for CDATA sections, allows to chars unescaped, used
14195         among others in code, to avoid escape < and >.
14196
14197 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14198
14199         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14200         saved positions instrad of a stack. Furthermore, a position is
14201         stored using paragraph id/paragraph position.
14202
14203         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14204         Remove LFUN_REF_BACK.
14205
14206 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14207
14208         * converter.C (dvipdfm_options): New method.
14209
14210 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14211
14212         * vspace.C (isValidLength): Fix for empty input string.
14213
14214 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14215
14216         * LyXAction.C (init): change description of LFUN_FIGURE to
14217         "Insert Graphics"
14218
14219 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14220
14221         * LaTeX.C: add using directive
14222
14223 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14224
14225         * MenuBackend.C (expand): Fix the sorting of the formats.
14226
14227 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14228
14229         * lyx_main.C: tiny error message fix
14230
14231 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14232
14233         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14234         calling fl_initialize(). This fixes the problem with ',' as
14235         decimal separator in text files.
14236
14237 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14238
14239         * trans.C (process): Fix the keymap bug.
14240
14241 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14242
14243         * LaTeX.C (scanAuxFiles): New method. Provides support for
14244         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14245         (scanLogFile) Scan for "run BibTeX" messages.
14246
14247         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14248         OT1 font encoding. Also, load the aecompl package if the ae
14249         package is loaded.
14250
14251         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14252
14253 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14254
14255         * texrow.C (increasePos): turn two error messages into debug
14256         messages.
14257
14258 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14259
14260         * LaTeX.C (scanAux): Handle the \@input macro.
14261         (runBibTeX): Use scanAux().
14262
14263         * language.C (latex_options_): New field.
14264
14265         * LaTeXFeatures.C (getMacros): Add language macros.
14266
14267         * buffer.C (makeLaTeXFile): Small fix.
14268
14269 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14270
14271         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14272
14273         * text2.C: add a using directive.
14274
14275 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14276
14277         * BufferView2.C:
14278         * lyx_gui_misc.h:
14279         * lyxfr1.C:
14280         * lyxfunc.C: kill LyXBell.
14281
14282 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14283
14284         * text.C (IsBoundary): Remove the error message
14285
14286         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14287
14288         * lyxrc.C (setDefaults): Correct initialization value for
14289         font_norm_type.
14290
14291 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14292
14293         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14294         gotoError().
14295
14296         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14297         and GotoNextNote().
14298
14299         * src/LyXAction.C: Added reference-next.
14300
14301         * text.C (InsertChar): Use contains instead of strchr.
14302
14303         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14304
14305 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14306
14307         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14308         alignment commands (when needed).
14309
14310         * text.C (InsertChar): Add ':' to number separator chars.