]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Overhaul the branches code.
[lyx.git] / src / ChangeLog
1 2003-12-14  Angus Leeming  <leeming@lyx.org>
2
3         BranchList.[Ch]: minimize the API.
4         (Branch::getBranch, getColor): now return a 'const &'.
5         (Branch::setSelected) now returns a bool set to true if the
6         selection status changes.
7         (BranchList::clear, size, getColor, setColor, setSelected,
8         allBranches, allSelected, separator): removed.
9         (BranchList::find): new functions, returning the Branch with
10         the given name.
11         (BranchList::add, remove): return a bool indicating that
12         the operation was successful.
13
14         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
15         new InsetBranch::isBranchSlected member function.
16
17         * LColor.[Ch]: mimimize the API.
18         (fill): renamed as addColor and made private.
19         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
20         versions of these functions taking a string arg have been removed.
21
22         * bufferparams.C (readToken):
23         * lyxfunc.C (dispatch):
24         * lyxrc.C (read): changes due to the altered BranchList and
25         LColor APIs.
26
27         * factory.C (createInset, readInset): changes due to altered
28         InsetBranch c-tor.
29
30 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
31
32         * factory.C: 
33         * lyxfunc.C: remove insetminipage. "minipage-insert"
34         now produces a frameless minipage box inset.
35
36 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
37
38         * textcursor.[Ch] (selStart,selEnd): add new methods 
39         remove selection::start, end, use LyXCursor::operator<
40         * lyxcursor.[Ch] (operator<): add
41         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
42         * BufferView.[Ch] (unsetXSel): add
43         * text2.C (clearSelection): use unsetXSel,adjust
44         * text.C: adjust
45         * text3.C: adjust
46         * rowpainter.C: adjust
47         * bufferview_funcs.C (put_selection_at): adjust
48
49 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
50
51         * BufferView_pimpl.C: small coord. correction
52
53 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
54
55         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
56         dragging over the splash screen.
57
58 2003-12-11  Angus Leeming  <leeming@lyx.org>
59
60         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
61         as it is now handled in LyXText::dispatch.
62
63         * text3.C (doInsertInset): remove a level of nesting.
64
65 2003-12-11  Angus Leeming  <leeming@lyx.org>
66
67         * factory.C (createInset): changes due to the changed interface to
68         InsetCommandMailer::string2params.
69
70 2003-12-10  Angus Leeming  <leeming@lyx.org>
71
72         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
73         'dialog-show-new-inset <inset name>'
74
75 2003-12-10  Angus Leeming  <leeming@lyx.org>
76
77         * buffer.C: up the format to 227.
78
79         * factory.C: the box inset is now identified simply by 'Box'.
80
81 2003-12-10  Angus Leeming  <leeming@lyx.org>
82
83         * buffer.C: up the format to 226.
84
85         * factory.C: the note inset is now identified simply by 'Note'.
86
87 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
88
89         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
90         when a pit is enough. Standarize a couple of loops. 
91
92 2003-12-05  Angus Leeming  <leeming@lyx.org>
93
94         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
95         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
96         data to the re-worked "log" dialog.
97
98 2003-12-03  André Pönitz  <poenitz@gmx.net>
99
100         * PosIterator.C:
101         * iterators.C:
102         * lyxtext.h:
103         * output_latex.C:
104         * paragraph_funcs.C:
105         * text.C:
106         * text2.C: use Inset::getText instead of Inset::getParagraph
107
108 2003-12-03  André Pönitz  <poenitz@gmx.net>
109
110         * buffer.[Ch]:
111         * lyxtext.h:
112         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
113         InsetText::read() as LyXText::read()
114         
115 2003-12-02  Angus Leeming  <leeming@lyx.org>
116
117         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
118         type. Add a comment in the implementation that the function uses
119         the stream's bad() function rather than fail() as the std::streams
120         would do.
121
122 2003-12-02  André Pönitz  <poenitz@gmx.net>
123
124         * lyxlex.[Ch]: make interface more similar to std::stream
125
126         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
127
128 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
129
130         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
131
132 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
133
134         * vspace.[Ch]: remove VSpace::NONE
135
136 2003-12-01  André Pönitz  <poenitz@gmx.net>
137
138         * buffer.[Ch]:
139         * lyxtext.h: move ParagraphList member to LyXText
140         rename LyXText::ownerParagraphs to LyXText::paragraph
141
142         * CutAndPaste.C:
143         * bufferview_funcs.C:
144         * iterators.[Ch]:
145         * lyx_cb.C:
146         * paragraph.C:
147         * rowpainter.C:
148         * tabular.C:
149         * text.C:
150         * text2.C:
151         * text3.C: adjust
152
153         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
154
155         * undo.C: fix cursor positioning 
156
157 2003-12-01  John Levon  <levon@movementarian.org>
158
159         * BufferView_pimpl.C: fix a crash on exit with
160         a buffer open
161
162 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
163
164         * BranchList.C: fix setSelected() method.
165
166 2003-11-28  André Pönitz  <poenitz@gmx.net>
167
168         * ParagraphParameters.[Ch]:
169         * ParameterStruct.h: remove space above/below from Paragraph to
170          InsetVSpace
171
172         * BufferView_pimpl.C:
173         * factory.C:
174         * lyxfunc.C:
175         * lyxtext.h:
176         * output_latex.C:
177         * paragraph.C:
178         * paragraph_funcs.C:
179         * rowpainter.[Ch]:
180         * text.C:
181         * text2.C:
182         * text3.C: adjust
183
184 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
185
186         * factory.C: Syntax change for CharStyles
187
188 2003-11-28  André Pönitz  <poenitz@gmx.net>
189
190         * BufferView.[Ch]:
191         * BufferView.[Ch]:
192         * buffer.[Ch]:
193         * buffer.[Ch]: move LyXText member
194
195 2003-11-28  André Pönitz  <poenitz@gmx.net>
196
197         * BufferView.[Ch]: make LyXText * text a private member
198
199         * BufferView_pimpl.C:
200         * cursor.C:
201         * iterators.C:
202         * lyx_cb.C:
203         * lyxfind.C:
204         * lyxtext.h:
205         * rowpainter.[Ch]:
206         * text.C:
207         * text2.C:
208         * undo.C: adjust
209
210         * output_plaintext.C: cleanup
211
212 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
213
214         * buffer.C: 
215         * lyxtextclass.[Ch]: parametrize SGML document header
216
217 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
218
219         * converter.[Ch]:
220         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
221         getFlavor().
222
223 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
224
225         * text2.C (setFont): rework using PosIterator (no more recursive)
226         (setCharFont): no more needed 
227         (setLayout): no more selection cursors fiddling (done by redoCursor)
228         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
229         destroy remaining ones)
230
231 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
232
233         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
234         * lyxtext.h: ditto
235         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
236         selection cursors
237         * lyxfunc.C: adjust
238         * text3.C: adjust + re-allow multi par depth changes
239         * textcursor.C: simplify a bit
240
241 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
242
243         * src/buffer.C:
244         * src/lyxlayout.C:
245         * src/lyxlayout.h:
246         * src/lyxtext.h:
247         * src/output_docbook.C:
248         * src/output_latex.C:
249         * src/paragraph.C:
250         * src/paragraph.h:
251         * src/sgml.C:
252         * src/sgml.h:
253         * src/text2.C: Introducing a number of tags parametrizing various
254         XML formats that we may want to support
255
256 2003-11-25  André Pönitz  <poenitz@gmx.net>
257
258         * InsetList.[Ch] (begein, end): inline as suggested by profiler
259
260         * lyxtext.h (leftMargin/rightMargin): simplify interface
261
262         * rowpainter.C:
263         * text.C:
264         * text2.C:
265         * text3.C: adjust
266
267 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
268
269         * lyxfunc.C (dispatch): propogate the bibtex databases from the
270         master file to any child files. Fixes bug 546.
271
272 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
273
274         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
275
276 2003-11-24  André Pönitz  <poenitz@gmx.net>
277
278         * rowpainter.C: simplification
279
280         * text2.C (updateCounters): remove call to redoParagraph on 
281         changed labels as this is far too expensive.
282
283 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
284
285         * converter.C (convert): fix a crash: this function gets
286         called with buffer == 0 from importer code.
287
288 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
289
290         * text3.C (cursorPrevious): make sure that we do not compare
291         iterators form different containers.
292         (cursorNext): ditto
293
294         * rowpainter.C (paintSelection): make sure that we do not compare
295         iterators from different containers.
296
297         * text3.C (dispatch): [PRIOR] make sure that we do not compare
298         iterators from different ParagraphList containers.
299         [NEXT] ditto
300
301         * text2.C (LyXText): change order of initialization slightly
302         (operator=): new function. copy all variables except cache_par_
303         (moveUp): make sure that we do not compare iterators from
304         different ParagraphList constainers.
305         (moveDown): ditto
306
307         * text.C (firstPar): new function
308         (lastPar): new function
309         (endPar): new function
310
311         * lyxtext.h: move things around and group public functions, public
312         variables, private functions, private variables
313
314 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
315
316         * factory.C: change call to InsetERT constructor to avoid
317         additional invocation of method status
318         * text2.C (toggleInset): remove redundant update() call
319         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
320         instead of a Bufferview pointer
321
322 2003-11-21  André Pönitz  <poenitz@gmx.net>
323
324         * rowpainter.C: simplification
325
326 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
327
328         * text3.C (dispatch): make possible to extend a word/row selection
329         with the mouse
330
331 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
332
333         * lyxtext.h: x0_,y0_ -> xo_,yo_
334         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
335         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
336         * rowpainter.C (paintRows): paint full paragraphs
337
338 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
339
340         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
341         screen coordinates)
342
343 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
344
345         * lyxtext.h: add x0_, y0_
346         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
347         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
348
349 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
350
351         * text2.C (setCursorIntern): move the x_target update here *
352         * text3.C: change some bv() to true/false in calls to
353         cursorUp/Down/Right/Left
354         * cursor.C: use helper function.
355
356 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
357
358         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
359         * paragraph_funcs.[Ch]: correct comment
360         * rowpainter.C: do not paint selections away from bv->cursor()
361         Fix a long standing selection painting bug.
362         * text3.C: generalize mouse-selection code to LyXTexts other that
363         top one
364         * textcursor.C: do not use y coords if we can use par offsets
365
366 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
367
368         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
369         cursor position after e.g. inset insert)
370
371 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
372
373         * lyxfind.C (replace): adjust to locking removal + some
374         code simplification
375
376 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
377
378         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
379         of the path
380
381 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
382
383         * lyxlayout.[Ch]:
384         * output_docbook.C: XML sanitation: new layout
385         parameters InnerTag and CommandDepth
386
387 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
388
389         * BufferView_pimpl.C:
390         * factory.C:
391         * text3.C: Fix the insertion and modification of button-style
392         insets
393
394 2003-11-13  André Pönitz  <poenitz@gmx.net>
395
396         * InsetList.[Ch]: remove deleteLyXText
397
398         * paragraph.[Ch]: cache beginOfBody position
399
400         * Bidi.C:
401         * text.C:
402         * text2.C:
403         * text3.C: remove superfluous update() calls
404
405         * vspace.C: cleanup
406
407 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
408
409         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
410         * BufferView.C (fitLockedInsetCursor): remove
411         * cursor.[Ch] (getDim): add
412         * text.C (getRowNearY): add faster version
413         * text3.C: remove some update calls
414
415 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
416
417         * LaTeXFeatures.C:
418         * LyXAction.C:
419         * MenuBackend.C:
420         * MenuBackend.h:
421         * dispatchresult.h:
422         * factory.C:
423         * lfuns.h:
424         * lyxfunc.C:
425         * lyxtextclass.C:
426         * lyxtextclass.h:
427         * text3.C: The Character Style /XML short element patch.
428
429 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
430
431         * text3.C:
432         * factory.C: Small step to solving 'unable to insert some insets'
433         problem
434
435 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
436
437         * cursor.[Ch] (updatePos): new function for updating the y
438         position of the tip inset
439         * bufferview_funcs.C (put_selection_at):
440         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
441
442 2003-11-11  André Pönitz  <poenitz@gmx.net>
443
444         * text.C: remove big comment on invalid Paragraph pointers as it is
445         not valid anymore
446
447 2003-11-11  André Pönitz  <poenitz@gmx.net>
448
449         * text_funcs.[Ch]: merge with ...
450
451         * text.C: ... this
452
453         * lyxtext.h:
454         * text2.C:
455         * text3.C: adjust
456
457         * Makefile.am: remove text_funcs.[Ch]
458
459 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
460
461         * cursor.C (getPos): return absolute cached y coord
462
463         * BufferView_pimpl.C (fitCursor): new simplistic code
464         (workAreaDispatch): add a fitCursor call
465
466 2003-11-10  André Pönitz  <poenitz@gmx.net>
467
468         * BufferView.[Ch]:
469         * BufferView_pimpl.[Ch]: merge update() and updateInset()
470
471 2003-11-10  André Pönitz  <poenitz@gmx.net>
472
473         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
474         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
475         indicate that the cursor needs to leave an inset
476
477         * lyxtext.h: remove inset locking
478
479         * cursor.[Ch]: re-implement functionality provided by inset locking
480
481         * BufferView.[Ch]:
482         * BufferView_pimpl.[Ch]:
483         * LyXAction.C:
484         * bufferview_funcs.[Ch]:
485         * factory.C:
486         * funcrequest.[Ch]:
487         * iterators.C:
488         * lyx_cb.C:
489         * lyxfind.C:
490         * lyxfunc.C:
491         * text.C:
492         * text2.C:
493         * text3.C:
494         * undo.C: adjust
495
496 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
497
498         * PosIterator.[Ch]: replace the stack with a vector, add inset
499         accesor
500         * iterators.[C]: adjust
501
502 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
503
504         * lyxfind.C (replaceAll): mark the buffer dirty if something was
505         replaced
506         * paragraph_funcs.C (readParToken): put the correct id in the
507         error item, not the id of the top paragraph
508
509 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
510
511         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
512         * bufferview_funcs.C (put_selection_at): use the above
513
514 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
515
516         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
517
518 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
519
520         * output_linuxdoc.h:
521         * output_plaintext.h:
522         * output.h:
523         * output_docbook.h: add #include statements
524
525 2003-11-05  José Matos  <jamatos@lyx.org>
526
527         * output_docbook.[Ch]:
528         * output_latex.[Ch]:
529         * output_linuxdoc.[Ch]:
530         * output_plaintext.[Ch]: New files for output formats.
531         * output.[Ch]: New file for helper functions.
532
533         * buffer.[Ch]:
534         * paragraph_funcs.[Ch]: output functions moved to new files.
535
536         * outputparams.h: rename of latexrunparams.h
537
538         * LaTeX.[Ch]:
539         * buffer.[Ch]:
540         * bufferlist.[Ch]:
541         * converter.[Ch]:
542         * exporter.C:
543         * paragraph.[Ch]:
544         * paragraph_funcs.[Ch]:
545         * paragraph_pimpl.[Ch]:
546         * tabular.[Ch]: rename ascii to plaintext
547         and LatexRunParams to OutputParams.
548
549 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
550
551         * iterators.[Ch] (text): require bv argument
552         * undo.C (recordUndo):
553         * lyxfunc.C (dispatch):
554         * bufferview_funcs.C (put_selection_at): adjust
555
556 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
557
558         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
559
560 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
561
562         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
563         nestings
564
565 2003-11-04  André Pönitz  <poenitz@gmx.net>
566
567         * cursor.[Ch]: restructure
568
569         * BufferView.[Ch]:
570         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
571
572         * iterators.[Ch] (asCursor): remove
573
574         * lfuns.h: remove LFUN_INSET_EDIT
575
576         * lyxfunc.C:
577         * tabular.C:
578         * text.C:
579         * text2.C:
580         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
581
582 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
583
584         * lyxfind.[Ch]: complete overhaul
585         * BufferView_pimpl.C:
586         * lyxfunc.C: adjust
587         * paragraph.[Ch] (insert): add
588
589 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
590
591         * BufferView.[Ch]:
592         * lyxtext.h:
593         * text.C: remove dead spellcheck code
594
595 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
596
597         * dispatchresult.h: add a val setter
598
599         * cursor.C (dispatch): use a tempvar for data_[i]
600
601 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
602
603         * PosIterator.[Ch]: compile fix
604
605 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
606
607         * text.C (cursorPar): deactivate the cursor cache
608
609 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
610
611         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
612
613 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
614
615         * text3.C (dispatch): adjust for new DisptchResult semantics.
616
617         * lyxfunc.C (dispatch): handle update when return from
618         Cursor::dispatch, adjust for new DispatchResult semantics.
619
620         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
621         DispatchResult(true) mean to not update. Add class functions for
622         setting dispatched and update, as well as reading.
623
624         * cursor.C (dispatch): don't handle update here
625
626 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
627
628         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
629         * trans_mgr.C: adjust
630
631         * paragraph_funcs.C (readParToken): exception safety
632
633         * lyxvc.h: store the vcs pointer in a scoped_ptr
634         * lyxvc.C: adjust
635
636         * lyxsocket.C (serverCallback): exception safety
637
638         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
639
640         * ispell.C (clone): make it return a auto_ptr
641
642         * factory.C (createInset): exception safety
643         (readInset): exception safety
644
645         * bufferlist.C (newBuffer): exception safety
646
647         * Thesaurus.C (Thesaurus): use initialization for aik_
648
649         * MenuBackend.C (expandToc): exception safety.
650
651 2003-11-03  André Pönitz  <poenitz@gmx.net>
652
653         * buffer.C:
654         * buffer.h:
655         * bufferview_funcs.C: remove getInsetFromId()
656
657         * lyxcursor.[Ch]:
658         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
659
660         * lyxfunc.C:
661         * text2.C:
662         * text3.C: adjust
663
664 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
665
666         * PosIterator.C (distance, advance): new
667         * bufferview_funcs.[Ch] (put_selection_at): new
668         * iterators.[Ch] (lockPath): new
669
670 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
671
672         * iterators.[Ch] (asPosIterator): added
673         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
674         * PosIterator.[Ch]: added
675
676 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
677
678         * text3.C:
679         * lyxfunc.C:
680         * cursor.C (dispatch):
681         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
682
683         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
684         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
685         contructor, add a class function dispatched. Remove operator>=
686
687 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
688
689         * debug.C: only use the default constructor for debugstream
690         (lyxerr) here.
691
692         * main.C (main): include debug.h and setup the lyxerr streambuf
693         here.
694
695 2003-10-31  José Matos  <jamatos@lyx.org>
696
697         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
698
699         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
700         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
701         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
702         * paragraph_pimpl.C (simpleTeXSpecialC):
703         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
704         add LatexRunParams argument.
705
706         * exporter.C (Export): change call accordingly.
707
708         * latexrunparams.h: add new member to take care of the other backends.
709 2003-10-30  José Matos  <jamatos@lyx.org>
710
711         * buffer.C (makeLinuxDocFile, makeDocBookFile):
712         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
713         factorise code for paragraph output.
714         * buffer.[Ch]:
715         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
716         move functions.
717
718 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
719
720         * text3.C (dispatch):
721         * lyxfunc.C (dispatch):
722         * cursor.C (dispatch):
723         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
724
725         * dispatchresult.h: make the dispatch_result_t ctor explicit
726
727 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
728
729         * sgml.[Ch]:
730         * buffer.C: small refactoring of docbook stuff
731
732 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
733
734         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
735         meaning.
736
737 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
738
739         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
740         operator dispatch_result_t, and operators for == != and >=
741
742         * cursor.C (dispatch): adjust for operator dispatch_result_t
743         removal. comment out call to update
744
745         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
746
747 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
748
749         * text3.C:
750         * text2.C:
751         * text.C:
752         * lyxtext.h:
753         * lyxfunc.C:
754         * cursor.C:
755         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
756         (dispatch):
757
758         * dispatchresult.h: new file, DispatchResult broken out of
759         insets/insetbase.h
760
761         * Makefile.am (lyx_SOURCES): add dispatchresult.h
762
763 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
764
765         * text.C (rowBreakPoint): put a hack inside #if 0
766
767 2003-10-28  André Pönitz  <poenitz@gmx.net>
768
769         * lyxtext.h:
770         * metricsinfo.C:
771         * paragraph_funcs.C:
772         * rowpainter.C:
773         * text.C:
774         * text2.C: general cleanup (lots of small stuff)
775
776 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
777
778         * text2.C (cursorEnd): simple fix to the "end key goes to one
779         before the end on last row" bug
780
781 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
782
783         * text.C (backspace): fix the "zombie characters"
784
785 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
786
787         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
788
789 2003-10-27  André Pönitz  <poenitz@gmx.net>
790
791         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
792
793         * factory.C: handle new InsetPagebreak, InsetLine
794
795         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
796         and move handling into new InsetPagebreak, InsetLine
797
798         * BufferView_pimpl.C:
799         * LyXAction.C:
800         * ParagraphParameters.C:
801         * ParameterStruct.h:
802         * lyxfunc.C:
803         * lyxtext.h:
804         * paragraph.C:
805         * paragraph.h:
806         * paragraph_funcs.C:
807         * paragraph_pimpl.C:
808         * rowpainter.C:
809         * text.C:
810         * text2.C:
811         * text3.C: adjust
812
813 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
814
815         * text.C:
816         * lyxrow_funcs.[Ch]:
817         * Bidi.C:
818         * paragraph.C:
819         * lyxtext.h:
820         * rowpainter.C:
821         * text2.C:
822         * text3.C: remove lastPos uses in favour of Row::endpos
823
824 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
825
826         * undo.C (performUndoOrRedo): fix two crashes by setting a
827         cursor by hand and reordering some calls. Use bv->lockInset instead
828         of inset->edit because the latter loses cursor information
829
830 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
831
832         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
833         by Martin
834         (rowBreakPoint): fix width. change point to point + 1.
835         Add a missing check.
836
837 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
838
839         * MenuBackend.C:
840         * lyxfunc.C: fix (at least partly) the problems
841         with the Nav menu and headers inside branch insets
842         reported by Kayvan
843
844 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
845
846         * paragraph.C (getChar): add strong asserts
847
848         * lyxrow_funcs.C (lastPos): remove hideous hack
849
850         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
851         (fill): adjust to that (avoid an infinite loop)
852
853 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
854
855         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
856
857 2003-10-23  André Pönitz  <poenitz@gmx.net>
858
859         * RowList_fwd.h: change list<> to vector<> to gain speed
860         after suggestion from Alfredo
861
862 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
863
864         * lyxtext.h: move the bidi stuff from here...
865         * text.C: and here
866         * text2.C: and here
867         * Bidi.[Ch]: ... to here
868
869 2003-10-23  André Pönitz  <poenitz@gmx.net>
870
871         * lyxtext.h:
872         * text.C (isLastRow, isFirstRow): new functions
873
874         * paragraph.h: new width cache member
875
876         * rowpainter.C: replace RowList::iterator with Row & where possible
877
878         * lyxfunc.C: replace several view()->text with a single call
879
880         * toc.C: fix 'unused' warning
881
882 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
883
884         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
885         when woring with stream::pos_type
886         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
887
888 2003-10-22  André Pönitz  <poenitz@gmx.net>
889
890         * lyxtext.h:
891         * text.C: use Row & instead of RowList::iterator
892
893         * lyxrow.h: rename end() to endpos()
894
895         * rowpainter.C:
896         * text.C:
897         * text2.C: adjust
898
899 2003-10-22  Angus Leeming  <leeming@lyx.org>
900
901         * buffer.[Ch] (fully_loaded): new member function, returning true
902         only when the file has been loaded fully.
903         Used to prevent the premature generation of previews and by the
904         citation inset to prevent computation of the natbib-style label.
905
906         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
907         templates are all set up.
908
909         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
910
911 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
912
913         * text.C: fixed an "oops" in the "is a bit silly"
914         bug fix
915
916 2003-10-21  André Pönitz  <poenitz@gmx.net>
917
918         * FuncStatus.[Ch]: small stuff, whitespace
919
920         * lyxfont.[Ch]: operator<<() for debug reasons
921
922         * lyxfunc.C:
923         * lyxrow_funcs.C:
924         * lyxtext.h: whitespace, spelling
925
926         * paragraph.C: naming of variables
927
928         * text.C:
929         * text2.C: small stuff
930
931
932 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
933
934         * text.C: (1) finish off the inset display() work;
935         (2) fix the "is a bit silly" bug (accessing char
936         past end of par).
937
938 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
939
940         * text.C: re-introduce display() for insets, fixing the
941         various bugs (stretch of line above, math inset
942         positioning, ...)
943
944 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
945
946         * text.C (rightMargin): remove spurious semicolon
947
948         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
949         1415)
950
951 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
952
953         * text3.C: fix one crash due to wrong cursor def
954
955 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
956
957         * vc-backend.C (scanMaster): make the regex static
958
959         * LaTeX.C (scanAuxFile): make the regexs static
960
961         * text3.C (doInsertInset, dispatch, dispatch):
962         * text2.C (cursorUp, cursorDown):
963         * text.C (selectNextWordToSpellcheck):
964         * BufferView_pimpl.C (dispatch):
965         * lyxfunc.C (dispatch):  localDispatch -> dispatch
966
967 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
968
969         * lyxsocket.C: include <cerrno>
970
971 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
972
973         * lyxfunc.C (dispatch): remove textcache stuff
974
975         * bufferlist.C (release): remove textcache stuff
976         (closeAll): ditto
977
978         * TextCache.C: delete file
979         * TextCache.h: delete file
980
981         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
982
983         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
984         delete of the bv_->text.
985         (resizeCurrentBuffer): remove texcache stuff
986         (workAreaResize): ditto
987
988 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
989
990         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
991         action.
992
993 2003-10-16  André Pönitz  <poenitz@gmx.net>
994
995         * lyxrow.[Ch]:
996         * paragraph.h:
997         * rowpainter.C:
998         * text.C:
999         * text2.C:
1000         * text3.C: speed up by storing y positions per paragraph plus per-row
1001         offset instead of having a 'full' y position in the row.
1002
1003 2003-10-15  André Pönitz  <poenitz@gmx.net>
1004
1005         * iterators.[Ch]:
1006         * iterators.[Ch]:
1007         * undo.[Ch]: make undo aware of inner insets
1008
1009 2003-10-14  Angus Leeming  <leeming@lyx.org>
1010
1011         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1012         static member functions LyX::ref() and LyX::cref.
1013         (lastfiles): new accessor functions for the new lastfiles_ member var.
1014         (addLyXView, views_): add a new LyXView to the list of views_.
1015         (updateInset): loop over all LyXViews to call their own updateInset
1016         member function, returning a pointer to the Buffer owning the inset.
1017
1018         * BufferView_pimpl.C (loadLyXFile):
1019         * MenuBackend.C (expandLastfiles):
1020         * bufferlist.C (MenuWrite, QuitLyX):
1021         lastfiles is no longer a global variable.
1022         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1023
1024         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1025         static function. Access through LyX::cref().emergencyCleanup().
1026
1027 2003-10-14  André Pönitz  <poenitz@gmx.net>
1028
1029         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1030
1031         * undo.[Ch]: restoring part of 'undo in insets'
1032
1033         * Makefile.am:
1034         * undo_funcs.[Ch]: merge with undo.[Ch]
1035
1036         * tabular.C: small cleansing stuff
1037
1038 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1039
1040         * paragraph_funcs.C (readParToken): report unknown insets as error
1041         boxes. Use the outer paragraph as location (also for unknown
1042         tokens).
1043
1044         * factory.C (readInset): do not abort on reading an unknown inset.
1045         Eat it and return 0.
1046
1047 2003-10-13  Angus Leeming  <leeming@lyx.org>
1048
1049         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1050
1051         * lyxrc.C: displayTranslator is now a function,
1052         declared in GraphicsTypes.h.
1053
1054 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1055
1056         * format.C: new placeholder $$a to pass the socket address.
1057
1058         * bufferlist.[Ch]: new function getBufferFromTmp.
1059
1060         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1061           files in the temporary dir.
1062
1063 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1064
1065         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1066
1067         * Makefile.am: add lyxsocket.[Ch].
1068
1069         * lyx_main.C (error_handler): handle SIGPIPE.
1070
1071 2003-10-13  André Pönitz  <poenitz@gmx.net>
1072
1073         * BufferView_pimpl.C:
1074         * lyxtext.h:
1075         * text.C:
1076         * text2.C:
1077         * text3.C:
1078         * undo_funcs.[Ch]: use paroffset_type instead of
1079           ParagraphList::iterators to prevent multiple conversion
1080           (and get a more robust interface)
1081
1082 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1083
1084         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1085         * lyxtext.h: ditto
1086         * text3.C (dispatch): ditto
1087
1088 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1089
1090         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1091         move the onlyfile, use onlyfile instead of foundfile in a couple
1092         of places.
1093
1094         * DepTable.C (update): flush the error stream a bit more
1095
1096 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1097
1098         * lyxserver.C (callback): adjust
1099
1100         * lyxfunc.C (getStatus): add a missing brace in commented code
1101         (ensureBufferClean): reindent
1102         (dispatch): delete version taking a string
1103
1104 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1105
1106         * LaTeX.C (deplog): move found file handlig from here...
1107         (handleFoundFile): .. to new function here.
1108         (deplog): make sure to discover several files mentioned on the
1109         same log line.
1110
1111 2003-10-10  André Pönitz  <poenitz@gmx.net>
1112
1113         * lyxfunc.C:
1114         * lyxtext.h:
1115         * tabular.C:
1116         * text.C:
1117         * text2.C:
1118         * text3.C: fix some of the tabular crashes
1119
1120 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1121
1122         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1123
1124         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1125
1126 2003-10-09  André Pönitz  <poenitz@gmx.net>
1127
1128         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1129
1130         * BufferView.C:
1131         * BufferView_pimpl.C:
1132         * bufferview_funcs.C:
1133         * lyx_cb.C:
1134         * lyxcursor.C:
1135         * lyxfind.C:
1136         * lyxfunc.C:
1137         * lyxtext.h:
1138         * text.C:
1139         * text2.C:
1140         * text3.C:
1141         * text_funcs.[Ch]:
1142         * textcursor.[Ch]:
1143         * undo_funcs.C: adjust
1144
1145 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1146
1147         * text2.C (incrementItemDepth): new function, use a backtracking
1148         algorithm to discover the correct item depth.
1149         (resetEnumCounterIfNeeded): new function, use a backtracking
1150         algorithm to discover if counter reset is needed.
1151         (setCounter): use them. Simplify a bit. Add different labels for
1152         different item depths for itemize.
1153
1154         * paragraph.C (Paragraph): remove initialization of enumdepth
1155         (operator=): ditto
1156
1157         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1158         enumerate and itemize. Change the type of itemdepth to signed char.
1159
1160 2003-10-08  André Pönitz  <poenitz@gmx.net>
1161
1162         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1163           thing assignable.
1164         * text.C:
1165         * text2.C: adjust
1166
1167         * tabular.[Ch]: fix crash after 'row-insert'
1168
1169 2003-10-08  Angus Leeming  <leeming@lyx.org>
1170
1171         Fix doxygen warnings.
1172
1173         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1174         Remove CutAndPaste:: prefix from header file declaration.
1175
1176         * LColor.h (fill): remove LColor:: prefix from declaration.
1177
1178         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1179         use lyx::depth_type rather than Paragraph::depth_type so that
1180         header file and .C file match.
1181
1182         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1183
1184         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1185         * aspell.C: \file aspell_local.C -> \file aspell.C
1186         * gettext.C: \file gettext.C -> \file src/gettext.C
1187         * gettext.h: \file gettext.h -> \file src/gettext.h
1188         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1189         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1190         * text.C: \file text.C -> \file src/text.C
1191
1192         * toc.C: move comment so that doxygen is not confused.
1193
1194 2003-10-07  Angus Leeming  <leeming@lyx.org>
1195
1196         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1197
1198 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1199
1200         * aspell.C:
1201         * aspell_local.h: add forgotten std::string's.
1202
1203 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1204
1205         * LaTeXFeatures.C:
1206         * LyXAction.C:
1207         * factory.C:
1208         * lfuns.h:
1209         * lyxfunc.C:
1210         * text3.C: The Box patch. Fancybox support, minipage, parbox
1211
1212 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1213
1214         * CutAndPaste.h:
1215         * DepTable.h:
1216         * FloatList.h:
1217         * LaTeXFeatures.h:
1218         * ParagraphParameters.h:
1219         * TextCache.h:
1220         * Thesaurus.h:
1221         * bufferlist.h:
1222         * exporter.h:
1223         * importer.h:
1224         * lastfiles.h:
1225         * lyxfind.h:
1226         * lyxfont.h:
1227         * lyxlex.h:
1228         * lyxtextclasslist.h:
1229         * messages.h:
1230         * paragraph.h:
1231         * paragraph_pimpl.C:
1232         * textcursor.h: add <string> and other small fixes to make Lars'
1233         std::string patch compile with STLport.
1234
1235 2003-10-06  Angus Leeming  <leeming@lyx.org>
1236
1237         * LColor.h: Add missing #include <string>.
1238
1239 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1240
1241         * All most all file in all subdirs: Make <string> be the prefered
1242         way of getting to std::string, add using declarations.
1243
1244 2003-10-06  André Pönitz  <poenitz@gmx.net>
1245
1246         * metricsinfo.C: initialize LyXFont before changing attribute.
1247         (fixes the 'math in \emph is upright' bug)
1248
1249 2003-10-06  André Pönitz  <poenitz@gmx.net>
1250
1251         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1252
1253 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1254
1255         * graph.C:
1256         * paragraph_pimpl.C: Small fixes to build using STLport
1257
1258 2003-10-02  André Pönitz  <poenitz@gmx.net>
1259
1260         * lyxfunc.C:
1261         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1262
1263 2003-10-01  André Pönitz  <poenitz@gmx.net>
1264
1265         * factory.C: assert early
1266
1267 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1268
1269         * lyx_main.C: remove the global debug object
1270
1271         * debug.h: adjust for new debugstream
1272
1273         * debug.C: adjust for new debugstream and keep the global debug
1274         object here.
1275
1276 2003-09-22  Angus Leeming  <leeming@lyx.org>
1277
1278         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1279         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1280         an incomplete class LyXFont.
1281
1282 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1283
1284         * factory.C: bug fix in branches
1285
1286 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1287
1288         * lyxfunc.C (processKeySym): adjust
1289         (dispatch): adjust
1290         (dispatch): change arg name from ev to func, adjust
1291         (sendDispatchMessage): ditto
1292
1293         * lyx_main.C (defaultKeyBindings): adjust keybindings
1294         (deadKeyBindings): ditto
1295
1296         * kbsequence.C (addkey): return a FuncRequest
1297
1298         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1299
1300         * kbmap.C (bind): take a FuncRequest as arg, adjust
1301         (read): adjust
1302         (lookup): adjust
1303         (defkey): change to take a FuncRequest as arg, adjust
1304         (findbinding): take a FuncRequest as arg, adjust.
1305
1306         * funcrequest.h (operator=): added
1307
1308         * funcrequest.C (FuncRequest): default kb_action changed from
1309         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1310
1311         * buffer.C (dispatch): simplify
1312         (dispatch): adjust to take a FuncRequest as arg, adjust
1313
1314         * boost.C (assertion_failed): change assertion message slightly
1315
1316         * ToolbarBackend.C (read): simplify
1317
1318         * MenuBackend.C (binding): adjust call to findbinding, add a
1319         message if no binding is found.
1320         (read): simplify
1321         (expandToc): correct by adding a empty FuncRequest
1322
1323         * LyXAction.C: include <boost/assert.hpp>
1324         (isPseudoAction): delete function
1325         (LookupFunc): change name to...
1326         (lookupFunc): this. change return type to FuncRequest.
1327         (getActionName): take kb_action as arg, simplify
1328         (funcHasFlag): add an assert, simplify.
1329
1330 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1331
1332         * toc.C (action): return a FuncRequest, simplify
1333
1334         * lyxfunc.C (processKeySym): adjust
1335         (getStatus): delete version that takes an int.
1336         (getStatus): adjust
1337         (dispatch): delete version that takes action as int
1338         (dispatch): adjust
1339         (sendDispatchMessage): simplify and adjust
1340
1341         * funcrequest.C (getArg): take unsigned int as arg
1342
1343         * ToolbarBackend.C (read): adjust
1344         (add): delete version that takes func as a string.
1345         (getIton): take a FuncRequest as arg
1346
1347         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1348         action.
1349
1350         * MenuBackend.C (MenuItem): add a new construct that only takes a
1351         Kind, simplify the constructor use for submenus.
1352         (add): adjust
1353         (expandLastfiles): adjust
1354         (expandDocuments): adjust
1355         (expandFormats): adjust
1356         (expandFloatListInsert): adjust
1357         (expandFloatInsert): adjust
1358         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1359
1360         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1361         Remove class variables lyx_pseudo_map and lyx_arg_map
1362
1363         * LyXAction.C (searchActionArg): delete function
1364         (getPseudoAction): delete function
1365         (retrieveActionArg): delete function
1366         (LookupFunc): make it return kb_action, simplify.
1367         (getActionName): simplify
1368
1369         * factory.C (createInset): fix new bug
1370
1371 2003-09-19  Angus Leeming  <leeming@lyx.org>
1372
1373         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1374         masterFilename_ parameter in the include inset.
1375
1376         * factory.C (createInset): changes due to the changes to InsetInclude.
1377
1378 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1379
1380         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1381
1382 2003-09-18  Angus Leeming  <leeming@lyx.org>
1383
1384         * buffer.C:
1385         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1386         Inset::fillWithBibKeys.
1387         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1388
1389 2003-09-18  Angus Leeming  <leeming@lyx.org>
1390
1391         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1392         variables.
1393         (ctor): pass and store a 'Buffer const &'
1394         (buffer): new member function.
1395
1396         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1397         '*this' to the LaTeXFeatures ctor.
1398
1399 2003-09-18  Angus Leeming  <leeming@lyx.org>
1400
1401         * LColor.h:
1402         * lyxfont.C:
1403         * lyxfont.h:
1404         * lyxtext.h:
1405         * text.C: rename EnumLColor as LColor_color.
1406
1407 2003-09-18  Angus Leeming  <leeming@lyx.org>
1408
1409         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1410         remove #include "insets/insetbase.h" from cursor.h.
1411
1412 2003-09-18  Angus Leeming  <leeming@lyx.org>
1413
1414         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1415         InsetOld_code to remove #include "inset.h".
1416
1417         * iterators.C: add #include "insets/inset.h"
1418
1419 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1420
1421         * BufferView.C: remove more locking stuff that apparently doesn't
1422         do anything sensible.
1423
1424 2003-09-16  André Pönitz  <poenitz@gmx.net>
1425
1426         * paragraph.[Ch]:
1427         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1428           performance boost.
1429
1430 2003-09-16  Angus Leeming  <leeming@lyx.org>
1431
1432         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1433
1434         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1435         arg/return type.
1436
1437         * paragraph.h: remove #include "lyxfont.h". Forward declare
1438         LyXFont_size.
1439
1440 2003-09-16  Angus Leeming  <leeming@lyx.org>
1441
1442         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1443         of support/textutils.h.
1444         (isWord): move the contents of support/textutils.h's IsWordChar here.
1445
1446         * buffer.C:
1447         * lyxfind.C:
1448         * rowpainter.C:
1449         * text.C:
1450         * text2.C: add #include "paragraph.h".
1451
1452         * rowpainter.C:
1453         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1454
1455 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1456
1457         * main.C:
1458         * lyx_main.C:
1459         * lyx_cb.C:
1460         * buffer.C:
1461         * LaTeX.C: use namespace alias for lyx::support::os
1462
1463 2003-09-16  Angus Leeming  <leeming@lyx.org>
1464
1465         * bufferparams.C:
1466         * bufferview_funcs.C:
1467         * factory.C:
1468         * lyxfunc.C:
1469         * paragraph_pimpl.C:
1470         * rowpainter.C:
1471         * text.C: add #include "LColor.h".
1472
1473 2003-09-16  Angus Leeming  <leeming@lyx.org>
1474
1475         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1476         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1477         return LyXFont &.
1478         Store the FontBits::color variable as an int rather than as an
1479         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1480         file.
1481
1482         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1483         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1484         string calls together.
1485
1486         * lyxrc.C: add #include "LColor.h".
1487
1488 2003-09-15  Angus Leeming  <leeming@lyx.org>
1489
1490         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1491         a cow_ptr.
1492
1493 2003-09-15  Angus Leeming  <leeming@lyx.org>
1494
1495         * LColor.h: add an EnumLColor wrapper for LColor::color.
1496
1497         * lyxfont.[Ch] (color, setColor, realColor):
1498         * lyxtext.h, text.C (backgroundColor):
1499         pass EnumLColor args to/from the functions, rather than LColor::color
1500         ones.
1501
1502         * lyxfont.h:
1503         * lyxtext.h: forward declare EnumLColor.
1504
1505         * lyx_main.C: add #include "LColor.h".
1506
1507 2003-09-15  Angus Leeming  <leeming@lyx.org>
1508
1509         * .cvsignore: add lyx-gtk.
1510
1511 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1512
1513         * Chktex.C
1514         * LaTeX.C
1515         * LaTeXFeatures.C
1516         * ParagraphParameters.C
1517         * Spacing.C
1518         * buffer.C
1519         * bufferparams.C
1520         * bufferview_funcs.C
1521         * chset.C
1522         * counters.C
1523         * funcrequest.C
1524         * lyxfont.C
1525         * lyxgluelength.C
1526         * lyxlength.C
1527         * paragraph.C
1528         * paragraph_funcs.C
1529         * text3.C
1530         * vc-backend.C: remove usage of STRCONV
1531
1532 2003-09-15  Angus Leeming  <leeming@lyx.org>
1533
1534         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1535         explicitly define the color passed to the painter.
1536
1537 2003-09-15  Angus Leeming  <leeming@lyx.org>
1538
1539         * bufferparams.C (BufferParams): reorder member initializers to avoid
1540         compiler warning.
1541
1542 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1543
1544         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1545         * text.C (updateRowPositions): remove an unusual nop
1546
1547 2003-09-12  André Pönitz  <poenitz@gmx.net>
1548
1549         * BufferView_pimpl.C:
1550         * Bullet.C:
1551         * layout.h:
1552         * lyxfunc.C:
1553         * lyxlayout.[Ch]:
1554         * lyxtextclass.C:
1555         * rowpainter.C:
1556         * text.C:
1557         * text2.C:
1558         * Counters.[Ch]: finish the 'automatic counters' job
1559
1560 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1561
1562         * aspell.C: include <boost/assert.cpp> (compile fix)
1563
1564 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1565
1566         * boost.C (assertion_failed): use lyx::support::abort instead of
1567         assert.
1568
1569 2003-09-10  Angus Leeming  <leeming@lyx.org>
1570
1571         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1572         with their _fwd progeny.
1573
1574 2003-09-09  Angus Leeming  <leeming@lyx.org>
1575
1576         134 files throughtout the source tree: replace 'using namespace abc;'
1577         directives with the appropriate 'using abc::xyz;' declarations.
1578
1579 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1580
1581         * boost.C (emergencyCleanup): moved here from LAssert.c
1582         (assertion_failed): new function, called by BOOST_ASSERT
1583
1584         * several files: change Assert to BOOST_ASSERT
1585
1586 2003-09-09  Angus Leeming  <leeming@lyx.org>
1587
1588         * buffer.[Ch]: Add an Impl class and move Buffer's member
1589         variables into it. As a result move several header files out of
1590         buffer.h.
1591
1592         Add header files to lots of .C files all over the tree as a result.
1593
1594 2003-09-09  Angus Leeming  <leeming@lyx.org>
1595
1596         * buffer.[Ch]: make Buffer's member variables private. Add
1597         accessor functions.
1598
1599         Lots of changes all over the tree as a result.
1600
1601 2003-09-08  Angus Leeming  <leeming@lyx.org>
1602
1603         * graph.C: #include <config.h>.
1604
1605 2003-09-08  Angus Leeming  <leeming@lyx.org>
1606
1607         * BranchList.C:
1608         * BufferView.C:
1609         * BufferView_pimpl.C:
1610         * CutAndPaste.C:
1611         * DepTable.C:
1612         * LaTeX.C:
1613         * LaTeXFeatures.C:
1614         * LyXAction.C:
1615         * MenuBackend.C:
1616         * TextCache.C:
1617         * aspell.C:
1618         * buffer.C:
1619         * bufferlist.C:
1620         * changes.C:
1621         * chset.C:
1622         * converter.C:
1623         * counters.C:
1624         * debug.C:
1625         * graph.C:
1626         * ispell.C:
1627         * lyx_cb.C:
1628         * lyxfind.C:
1629         * lyxfunc.C:
1630         * lyxlex_pimpl.C:
1631         * lyxrc.C:
1632         * lyxrow.C:
1633         * paragraph.C:
1634         * rowpainter.C:
1635         * texrow.C:
1636         * text.C:
1637         * text2.C:
1638         * toc.C: remove redundant using directives.
1639
1640 2003-09-07  Angus Leeming  <leeming@lyx.org>
1641
1642         * LaTeXFeatures.h: remove #include "support/types.h".
1643         * ToolbarBackend.h: remove #include <algorithm>.
1644         * changes.h: remove #include <ctime>.
1645         * debug.h: remove #include <iosfwd>.
1646         * graph.h: remove #include "support/std_string.h".
1647         * lyx_main.h: remove #include <csignal>.
1648         * lyxlex_pimpl.h: remove #include <fstream>.
1649         * sgml.h: remove #include <algorithm>, <utility>.
1650         * toc.h: remove #include "support/std_ostream.h".
1651         Add #include <iosfwd>.
1652
1653 2003-09-07  Angus Leeming  <leeming@lyx.org>
1654
1655         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1656
1657         * converter.h: forward declare LatexRunParams.
1658         * encoding.h: remove #include "lyxrc.h".
1659         * lyxtext.h: remove #include "LColor.h".
1660         * lyxtextclass.h: remove #include "support/types.h".
1661         * trans.h: remove #include "tex-accent.h".
1662         * trans_mgr.h: remove #include "tex-accent.h".
1663         * insets/inset.h: remove #include "support/types.h", <vector>.
1664         * insets/insetcollapsable.h: remove #include "LColor.h".
1665         * insets/insetinclude.h: remove #include "dimension.h".
1666         * insets/insetlatexaccent.h: remove #include "dimension.h".
1667         * insets/insetoptarg.h:: remove #include "insettext.h".
1668         * insets/insettext.h: remove #include "dimension.h",
1669         <boost/shared_ptr.hpp>
1670
1671         * insets/renderers.h: add #include "dimension.h".
1672         * insets/updatableinset.h: add #include "support/types.h".
1673
1674         * many .C files: Associated changes.
1675
1676 2003-09-06  Angus Leeming  <leeming@lyx.org>
1677
1678         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1679         one, inside testInvariant.
1680
1681         * PrinterParams.C: new file.
1682         * PrinterParams.[Ch]: move the function bodies out of line.
1683
1684 2003-09-06  Angus Leeming  <leeming@lyx.org>
1685
1686         * ParagraphParameters.h: forward declare ParameterStruct rather than
1687         including its header file.
1688         (depth): moved out-of-line.
1689
1690 2003-09-06  Angus Leeming  <leeming@lyx.org>
1691
1692         * BufferView_pimpl.h:
1693         * kbmap.h:
1694         * kbsequence.h:
1695         * lyxfunc.h: forward declare LyXKeySym rather than
1696         #include "frontends/LyXKeySym.h".
1697
1698         * BufferView_pimpl.C:
1699         * kbmap.C:
1700         * kbsequence.C:
1701         * lyxfunc.C: associated changes.
1702
1703 2003-09-06  Angus Leeming  <leeming@lyx.org>
1704
1705         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1706         As a result, can remove the #include "insets/inset.h" from BufferView.h
1707
1708 2003-09-06  Angus Leeming  <leeming@lyx.org>
1709
1710         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1711         As a result, can remove the #include "insets/inset.h" from BufferView.h
1712
1713 2003-09-06  Angus Leeming  <leeming@lyx.org>
1714
1715         * buffer_funcs.C:
1716         * buffer.h:
1717         * bufferlist.C:
1718         * BufferView.C:
1719         * bufferview_funcs.C:
1720         * BufferView_pimpl.C:
1721         * CutAndPaste.C:
1722         * lyx_cb.C:
1723         * lyxfunc.C:
1724         * paragraph.h:
1725         * ParagraphParameters.C:
1726         * tabular.C:
1727         * text3.C:
1728         * toc.C:
1729         * undo_funcs.C:
1730         * frontends/controllers/ControlDocument.C:
1731         * insets/insetcaption.C: rearrange the #includes into some sort of
1732         coherent order.
1733
1734         * buffer.h: remove #includes ErrorList.h, undo.h
1735
1736 2003-09-06  Angus Leeming  <leeming@lyx.org>
1737
1738         * support/types.h: add a 'depth_type' typedef, used to store the
1739         nesting depth of a paragraph.
1740
1741         * paragraph.h:
1742         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1743         defining explicitly.
1744
1745         * buffer.h:
1746         * paragraph_funcs.h:
1747         * ParagraphParameters.h:
1748         * sgml.h: use lyx::depth_type rather than Paragraph or
1749         ParameterStruct's depth_type.
1750
1751         * buffer.h
1752         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1753
1754         * BufferView.C:
1755         * BufferView_pimpl.C:
1756         * CutAndPaste.C:
1757         * ParagraphParameters.C:
1758         * buffer_funcs.C:
1759         * bufferlist.C:
1760         * bufferview_funcs.C:
1761         * lyx_cb.C:
1762         * lyxfunc.C:
1763         * tabular.C:
1764         * text3.C:
1765         * toc.C:
1766         * undo_funcs.C:
1767         * frontends/LyXView.C:
1768         * frontends/controllers/ControlDocument.C:
1769         * frontends/controllers/ControlErrorList.C:
1770         * insets/insetbibitem.C:
1771         * insets/insetbranch.C:
1772         * insets/insetcaption.C:
1773         * insets/insetcollapsable.C:
1774         * insets/insetenv.C:
1775         * insets/insetert.C:
1776         * insets/insetfloat.C:
1777         * insets/insetfoot.C:
1778         * insets/insetfootlike.C:
1779         * insets/insetnewline.C:
1780         * insets/insetquotes.C:
1781         * insets/insettabular.C:
1782         * insets/insettext.C:
1783         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1784
1785         * frontends/controllers/ControlChanges.C: #include "changes.h".
1786
1787 2003-09-06  Angus Leeming  <leeming@lyx.org>
1788
1789         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1790         than #including paragraph.h.
1791
1792         * ParagraphList.h:
1793         * RowList.h: deleted. Superfluous.
1794
1795         * CutAndPaste.h:
1796         * iterators.h:
1797         * lyxcursor.h:
1798         * lyxtext.h:
1799         * text_funcs.h:
1800         * undo.h:
1801         * undo_funcs.h:
1802         * insets/inset.h:
1803         * insets/insettext.h: use ParagraphList_fwd.h rather than
1804         ParagraphList.h.
1805
1806         * paragraph.h: don't forward declare ParagraphList.
1807
1808         * buffer.h:
1809         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1810         rather than ParagraphList.h. paragraph.h is still needed for the
1811         Paragraph::depth_type parameters.
1812
1813         * textcursor.h: enable it to compile stand-alone in light of the
1814         above changes.
1815
1816         * bufferview_funcs.C:
1817         * iterators.C:
1818         * lyxfunc.C:
1819         * lyxrow_funcs.C:
1820         * paragraph.C:
1821         * rowpainter.C:
1822         * text.C:
1823         * text2.C:
1824         * text3.C:
1825         * text_funcs.C:
1826         * textcursor.C:
1827         * undo.C:
1828         * frontends/controllers/ControlParagraph.C:
1829         * frontends/controllers/ControlTabular.C:
1830         * insets/insetmarginal.C:
1831         * insets/insetminipage.C:
1832         * insets/insetnote.C:
1833         * insets/insetoptarg.C: add header files needed to compile again.
1834
1835 2003-09-06  Angus Leeming  <leeming@lyx.org>
1836
1837         * RowList_fwd.h: new file, forward-declaring Row rather than
1838         #including lyxrow.h.
1839
1840         * lyxrow_funcs.h:
1841         * lyxtext.h:
1842         * paragraph.h:
1843         * insets/insettext.h: use it instead of RowList.h
1844
1845         * bufferview_funcs.C:
1846         * lyxfunc.C:
1847         * lyxrow_funcs.C:
1848         * paragraph.C:
1849         * rowpainter.C:
1850         * text.C:
1851         * text2.C:
1852         * text3.C: #include "RowList.h".
1853
1854 2003-09-05  Angus Leeming  <leeming@lyx.org>
1855
1856         * factory.C (createInset):
1857         * vspace.C (c-tor): replace sscanf call with an istringstream.
1858         * ispell.C: re-add missing HP/UX headers.
1859         * lyxserver.C: re-add missing  os2 headers.
1860
1861 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1862
1863         * BranchList.C:
1864         * graph.C:
1865         * ispell.C:
1866         * lastfiles.C:
1867         * lyx_cb.C:
1868         * lyxserver.C:
1869         * texrow.C:
1870         * text3.C: re-add missing system headers, needed for 2.95.2.
1871
1872 2003-09-05  Angus Leeming  <leeming@lyx.org>
1873
1874         Changes most place everywhere due to the removal of using directives
1875         from support/std_sstream.h.
1876
1877 2003-09-05  Angus Leeming  <leeming@lyx.org>
1878
1879         Replace LString.h with support/std_string.h,
1880         Lsstream.h with support/std_sstream.h,
1881         support/LIstream.h with support/std_istream.h,
1882         support/LOstream.h with support/std_ostream.h.
1883
1884         Changes resulting throughout the tree.
1885
1886 2003-09-05  Angus Leeming  <leeming@lyx.org>
1887
1888         * sgml.h: ensure that the header file can be compiled stand-alone.
1889         * *.C: strip out redundant #includes. (320 in total.)
1890
1891 2003-09-04  Angus Leeming  <leeming@lyx.org>
1892
1893         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1894         here (from getPackages).
1895
1896         * debug.[Ch]: add a new EXTERNAL tag.
1897
1898 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1899
1900         * text2.C (cursorEnd): simplify
1901         (setCursor): adjust
1902         (getColumnNearX): adjust
1903
1904         * text.C (computeBidiTables): adjust
1905         (fill): adjust
1906
1907         * rowpainter.C (paintChars): adjust
1908         (paintSelection): adjust
1909         (paintChangeBar): adjust
1910         (paintText): adjust
1911
1912         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1913         lastPos instead.
1914         (numberOfSeparators): adjust
1915
1916 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1917
1918         * LyXAction.C:
1919         * box.[Ch]:
1920         * lfuns.h:
1921         * lyxfunc.C:
1922         * text3.C: Restricts the mouse click functionality
1923         of insets like bibtex, include, toc and floatlist to the visible
1924         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1925         up the dialogs. Cursor has to be in front of the inset (i.e.
1926         start of row) for this to function.
1927
1928 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1929
1930         * bufferview_funcs.C (currentState): output row information
1931
1932 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1933
1934         * bufferview_funcs.C (currentState): output paragraph position
1935
1936 2003-09-04  Angus Leeming  <leeming@lyx.org>
1937
1938         * FloatList.h: move out #include "Floating.h".
1939         * LaTeX.h: move out #include "DepTable.h".
1940         * LyXAction.h: move out #include "funcrequest.h".
1941         * buffer.h: move out #include "author.h", "iterators.h".
1942         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1943         * lyx_main.h: move out #include "errorlist.h".
1944         * lyxfunc.h: move out #include "FuncStatus.h".
1945         * lyxtext: move out #include "lyxcursor.h".
1946         * paragraph_pimpl.h: move out #include "counters.h".
1947
1948 2003-09-03  Angus Leeming  <leeming@lyx.org>
1949
1950         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1951         preamble_snippets list, enabling us to add snippets to the preamble
1952         only if the snippet was not there already.
1953
1954 2003-09-04  Angus Leeming  <leeming@lyx.org>
1955
1956         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1957
1958 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1959
1960         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1961         update
1962
1963 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1964
1965         * BranchList.C: point fix, earlier forgotten
1966
1967 2003-09-02  Angus Leeming  <leeming@lyx.org>
1968
1969         * box.C (contains): renamed from 'contained' after a fantastic
1970         amount of hot air.
1971
1972 2003-09-02  John Levon  <levon@movementarian.org>
1973
1974         * BufferView.C:
1975         * lyxcursor.h:
1976         * lyxcursor.C:
1977         * lyxfunc.C:
1978         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1979
1980 2003-09-02  John Levon  <levon@movementarian.org>
1981
1982         * text2.C: simplification of cursorEnd(), including partial
1983         fix for bug 1376
1984
1985 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1986
1987         * buffer.C (readFile): add a space
1988
1989 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1990
1991         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1992
1993 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1994
1995         * buffer.C (readFile): new function, take a filename and a
1996         ParagraphList::iterator
1997         (readFile): adjust
1998         (readFile): adjust, make it private. don't use setStream, make
1999         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2000         always contain the filename.
2001
2002         * BufferView.C (insertLyXFile): simplify and make it work for
2003         gzipped files.
2004
2005 2003-08-30  John Levon  <levon@movementarian.org>
2006
2007         * Makefile.am: fix dist (from Kayvan)
2008
2009 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2010
2011         * most files: change to use const Buffer refs
2012
2013 2003-08-27  André Pönitz  <poenitz@gmx.net>
2014
2015         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2016         on top of ownerPar().
2017
2018 2003-08-27  John Levon  <levon@movementarian.org>
2019
2020         * funcrequest.C: properly initialise POD members
2021
2022 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2023
2024         * lyxtext.h (top_y): move top_y from here
2025         * text.C:
2026         * text2.C:
2027         * text3.C:
2028         * BufferView.[Ch]:
2029         * BufferView_pimpl.[Ch]: to here
2030         * frontends/screen.C:
2031         * insets/insettabular.C:
2032         * insets/insettext.C: adjust
2033         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2034
2035 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2036
2037         * BufferView.[Ch]:
2038         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2039
2040 2003-08-26  André Pönitz  <poenitz@gmx.net>
2041
2042         * paragraph_func.[Ch] (outerPar): new function
2043
2044         * paragraph.C:
2045         * paragraph_funcs.C:
2046         * paragraph_funcs.h:
2047         * paragraph_pimpl.C:
2048         * text2.C: remove Inset::par_owner
2049
2050 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2051
2052         * lyxrow_funcs.C:
2053         * lyxtext.h:
2054         * text.C:
2055         * text2.C: eliminates the needFullRow/display() stuff
2056         altogether, putting the logic in metrics/draw in the insets.
2057
2058 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2059
2060         * text2.C (redoParagraphInternal, redoParagraphs):
2061         * text.C (redoParagraph): add a call to updateRowPositions at the
2062         end of each 'metrics-like' call. Remove all others.
2063         (getRow): remove the 'y-computing' version.
2064         (getRowNearY): do not compute nor return the real y. Solve the
2065         'y < 0' problem and simplify.
2066
2067 2003-08-22  Angus Leeming  <leeming@lyx.org>
2068
2069         * *.[Ch]: clean-up of licence and author blurbs.
2070         Also move config.h out of a few .h files and into a few .C files.
2071
2072 2003-08-22  André Pönitz  <poenitz@gmx.net>
2073
2074         * lyxrow.[Ch]: add x_ and *fill_ members
2075
2076         * lyxtext.h:
2077         * text.C:
2078         * rowpainter.C:
2079         * text2.C: adjust/remove prepareToPrint() calls
2080
2081 2003-08-22  André Pönitz  <poenitz@gmx.net>
2082
2083         * lyxrow.[Ch]: add  end_ member
2084
2085         * lyxrow_funcs.C: use LyXRow::end_
2086
2087         * lyxtext.h (singleWidth): add LyXFont parameter
2088
2089         * rowpainter.C:
2090         * text2.C: adjust LyXText::singleWidth() calls
2091
2092         * text.C (redoParagraph): simplify row breaking logic
2093
2094
2095 2003-08-19  André Pönitz  <poenitz@gmx.net>
2096
2097         * funcrequest.C: initialize button_ member
2098
2099         * text3.C:
2100         * rowpainter.[Ch]: interface consolidation
2101
2102 2003-08-18  André Pönitz  <poenitz@gmx.net>
2103
2104         * BufferView.C:
2105         * BufferView_pimpl.C:
2106         * lyxfind.C:
2107         * paragraph_funcs.C:
2108         * rowpainter.C:
2109         * text3.C: remove LyXScreen::draw() and fitCursor calls
2110
2111         * BranchList.h: remove spurious semicolons
2112
2113         * MenuBackend.C: fix branchlist related crash
2114
2115 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2116
2117         * BranchList.[Ch]:
2118         * InsetList.[Ch]:
2119         * LColor.[Ch]:
2120         * LyXAction.C:
2121         * Makefile.am:
2122         * MenuBackend.[Ch]:
2123         * bufferparams.[Ch]:
2124         * factory.C:
2125         * lfuns.h:
2126         * lyxfunc.C:
2127         * text3.C: implements the 'branch inset'
2128         idea. This allows the output of various versions of a document
2129         from a single source version, selectively outputing or suppressing
2130         output of parts of the text.
2131         This implementation contains a 'branch list editor' in a separate
2132         tab of the document settings dialog. Branches are user definable
2133         and have a "display colour" to distinguish them on-screen.
2134
2135         ColorHandler was somewhat cleaned up.
2136         (1) make possible a dynamically growing LColor list by allowing
2137         the graphic context cache to grow along (vector);
2138         (2) eliminate an IMHO unnecessary step in colour allocation.
2139
2140 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2141
2142         * BufferView_pimpl.C: compile fix
2143
2144 2003-08-15  André Pönitz  <poenitz@gmx.net>
2145
2146         * rowpainter.C: remove extra metrics calls
2147
2148         * lyxtext.h: merge the two constructors into a single one,
2149           pass reference to owner's par list
2150
2151         * BufferView_pimpl.C:
2152         * text.C:
2153         * text2.C: adjust
2154
2155 2003-08-15  André Pönitz  <poenitz@gmx.net>
2156
2157         * lyxrow_funcs.[Ch]:
2158         * lyxtext.h:
2159         * paragraph.h:
2160         * paragraph_funcs.C:
2161         * rowpainter.C:
2162         * text.C:
2163         * text2.C:
2164         * text3.C:
2165         * text_funcs.C: split LyXText::rowlist_ into individual
2166         Paragraph::rows_ chunks
2167
2168         * BufferView.[Ch]:
2169         * BufferView_pimpl.[Ch]:
2170         * lyxfind.C:
2171         * lyxtext.h:
2172         * text3.C: remove toggleSelection()
2173
2174 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2175
2176         * bufferlist.C: beautify two alerts (shorter text of buttons)
2177         * buffer.C: Remove redundant ' ' from message
2178         * tabular.h:
2179         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2180         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2181         rename VALIGN_CENTER to VALIGN_MIDDLE
2182
2183 2003-08-11  André Pönitz  <poenitz@gmx.net>
2184
2185         * lyxtext.h (getPar):
2186         * text.C: new function
2187
2188 2003-08-11  André Pönitz  <poenitz@gmx.net>
2189
2190         * Makefile.am:
2191         * tracer.[Ch]: remove unneeded files
2192
2193         * InsetList.[Ch]: remove resizeInsetsLyXText()
2194
2195         * lyxtext.h:
2196         * text.C:
2197         * text2.C:
2198         * text3.C: merge insertParagraphs() and appendParagraph()
2199         remove breakAgain(), update()
2200
2201         * BufferView_pimpl.[Ch]:
2202         * bufferview_funcs.[Ch]:
2203         * lyxfunc.C:
2204         * paragraph.[Ch]:
2205         * rowpainter.C:
2206         * tabular.C: adjust after text & InsetList changes.
2207
2208 2003-08-08  André Pönitz  <poenitz@gmx.net>
2209
2210         * text.C (insertChar, backspace): replace rowlist fiddling
2211         with rebreak of full par
2212
2213         * lyxtext.h:
2214         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2215         checkParagraph, updateInset): removed
2216
2217 2003-08-07  André Pönitz  <poenitz@gmx.net>
2218
2219         * paragraph.C:
2220         * text3.C: merge some LFUN handlers, remove dead code
2221
2222 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2223
2224         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2225
2226 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2227
2228         * text2.C (DEPM): fix part of bug 1255 and 1256
2229
2230 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2231
2232         * BufferView_pimpl.C (workAreaDispatch): change to use
2233         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2234         that are no mouse related.
2235
2236 2003-08-05  André Pönitz  <poenitz@gmx.net>
2237
2238         * BufferView.[Ch]:
2239         * BufferView_pimpl.[Ch]:
2240         * bufferview_funcs.C:
2241         * text2.C:
2242         * text3.C: rip out "deep update"
2243
2244         * textcursor.[Ch] (last_sel_cursor): remove unused member
2245
2246 2003-08-04  André Pönitz  <poenitz@gmx.net>
2247
2248         * BufferView.[Ch]:
2249         * BufferView_pimpl.[Ch]:
2250         * ParagraphParameters.C:
2251         * bufferview_funcs.C:
2252         * lyx_cb.C:
2253         * lyxfind.C:
2254         * lyxfunc.C:
2255         * text.C:
2256         * text2.C:
2257         * text3.C: replace "complicated" BufferView::update(...) calls with
2258         simpler ones.
2259
2260         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2261
2262 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2263
2264         * Makefile.am (lyx_SOURCES): add paper.h
2265
2266 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2267
2268         * Makefile.am: move things around so that both lyx-qt and
2269         lyx-xforms can be built (according to --with-frontend). Then lyx
2270         is a symbolic link to lyx-[firstfrontend]
2271
2272 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2273
2274         * Always use std::endl with lyxerr
2275
2276 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2277
2278         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2279
2280 2003-08-01  André Pönitz  <poenitz@gmx.net>
2281
2282         * BufferView.[Ch]:
2283         * BufferView_pimpl.[Ch]:
2284         * lyxfunc.C:
2285         * text3.C: merge BufferView::repaint() and BufferView::update()
2286
2287 2003-08-01  José Matos  <jamatos@lyx.org>
2288
2289         * buffer.[Ch]: file_format is no longer a buffer data element.
2290
2291 2003-08-01  André Pönitz  <poenitz@gmx.net>
2292
2293         * BufferView.C:
2294         * lyxtext.h:
2295         * text.C:
2296         * text2.C: make redoParagraph more independent of current cursor
2297
2298         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2299         * text.C:
2300         * text2.C: remove unneeded members
2301
2302 2003-07-30  André Pönitz  <poenitz@gmx.net>
2303
2304         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2305
2306         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2307           create a single function...
2308
2309         * paragraph_funcs.C (moveItem): ... here.
2310
2311         * text.C:
2312           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2313
2314 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2315
2316         * LColor.[Ch]: Add comment and greyedout logical colors.
2317
2318 2003-07-30  André Pönitz  <poenitz@gmx.net>
2319
2320         * tabular.C: don't use Assert too heavily. This crashes where it
2321           shouldn't
2322
2323 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2324
2325         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2326         is disabled (bug 1232)
2327
2328 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2329
2330         * factory.C: limited 'arg' scope
2331
2332 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2333
2334         * factory.C: fixed Note submenu issues
2335
2336 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2337
2338         * factory.C: submenu for Note/Comment/Greyedout
2339
2340 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2341
2342         * lyx_main.C (LyX):
2343         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2344
2345 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2346
2347         * LaTeXFeatures.C:
2348         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2349         greyedout. Patch provided by Jürgen Spitzmüller.
2350
2351 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2352
2353         * kbmap.C (read): fix error message when reading bind files
2354
2355 2003-07-29  Angus Leeming  <leeming@lyx.org>
2356
2357         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2358         certainly does not do what it purports to do. I am doing it, and
2359         us, a favour by killing it.
2360
2361 2003-07-28  José Matos  <jamatos@lyx.org>
2362
2363         * buffer.C (readBody, do_writeFile):
2364         * paragraph.C(readParagraph): \end_document replaces \the_end.
2365
2366 2003-07-29  André Pönitz  <poenitz@gmx.net>
2367
2368         * BufferView.[Ch]:
2369         * BufferView_pimpl.[Ch]:
2370         * lyxfunc.C:
2371         * text2.C:
2372         * text3.C:
2373         * textcursor.[Ch]: remove toggleToggle & Co
2374
2375 2003-07-28  José Matos  <jamatos@fep.up.pt>
2376
2377         * buffer.C (readParagraph):
2378         * params_func (readParToken, readParagraph):
2379         * paragraph.C (write): \layout -> \begin_layout.
2380
2381 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2382
2383         * lyxlex_pimpl.C (setFile): clean up slightly.
2384
2385         * bufferparams.h: add compressed var
2386
2387         * buffer_funcs.C (readFile): adjust for LyXLex change
2388         (newFile): ditto + simplify
2389
2390         * buffer.C (writeFile): handle writing of compressed files
2391
2392         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2393         Check if the file is compressed and set a bufferparm if so.
2394
2395         * Makefile.am (lyx_LDADD): remove explicit -lz
2396
2397 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2398
2399         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2400         makeDocBookFile): put the real LyX version in the first line of
2401         the file
2402
2403         * version.h:
2404         * version.C.in: remove lyx_docversion
2405
2406         * tabular.C (write_attribute): add a template-based version to
2407         write enums properly
2408
2409 2003-07-28  André Pönitz  <poenitz@gmx.net>
2410
2411         * lyxtext.h:
2412         * text.C:
2413         * text2.C:
2414         * text3.C: use doubles again for x-coordinates. They are needed.
2415
2416 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2417
2418         * messages.C (getLocaleDir): use lyx_localedir()
2419
2420         * lyxlex_pimpl.C (setFile): compress stuff
2421
2422         * buffer.C (writeFile): add some compression stuff
2423         (do_writeFile): new func, dont call expliti close... will this
2424         breake anything?
2425
2426         * Makefile.am (lyx_LDADD): add -lz
2427
2428 2003-07-28  José Matos  <jamatos@fep.up.pt>
2429
2430         * buffer.C: increment file format.
2431         * paragraph_funcs (readParagraph, readParToken):
2432         * paragraph.C (readParagraph): add \end_layout.
2433
2434 2003-07-27  Angus Leeming  <leeming@lyx.org>
2435
2436         * Makefile.am: remove special casing for configure-time setting of
2437         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2438
2439         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2440         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2441
2442 2003-07-26  André Pönitz  <poenitz@gmx.net>
2443
2444         * paragraph_func.[Ch]:
2445         * paragraph.C (realizeFont): inline it whereever it is used
2446
2447         * rowpainter.C:
2448         * text.C:
2449         * text2.C:
2450         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2451
2452
2453 2003-07-26  André Pönitz  <poenitz@gmx.net>
2454
2455         *       lyxtext.h:
2456         * text.C:
2457         * text2.C: get rid of LyXText::need_break_row
2458
2459 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2460
2461         * toc.[Ch]: put namespace toc inside namespace lyx
2462
2463         * MenuBackend.C (expandToc2): adjust for lyx::toc
2464         (expandToc): ditto
2465
2466         * lyxfunc.C (dispatch): adjust for lyx::find
2467
2468         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2469         lyx::find instead. Reorganize a bit.
2470         (LyXReplace): rename to replace
2471         (LyXFind): rename to find
2472
2473         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2474         (dispatch): ditto
2475
2476 2003-07-26  André Pönitz  <poenitz@gmx.net>
2477
2478         * text.C (setHeightOfRow): restrict scope of temporary variable
2479
2480         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2481           code (never has been used?)
2482
2483 2003-07-27  Asger Alstrup  <alstrup@local>
2484
2485         * text.C (fill): Optimise algorithm to exploit that we can reuse
2486         the LyXFont for many characters.
2487         (setHeightOfRow): Same thing.
2488         (rowBreakPoint): Same thing.
2489
2490 2003-07-26  Asger Alstrup  <alstrup@local>
2491
2492         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2493
2494         * text.C (singleWidth): Spurious font copying in hot-spot
2495         singleWidth avoided. Reorder tests for arabic for efficiency.
2496
2497         * text.C (fill): handle empty paragraphs better.
2498
2499 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2500
2501         * ispell.C:
2502         * encoding.h: add includes
2503
2504         * lyxrc.C: remove reading of bind files
2505
2506         * lyx_main.C (init): setup bindings and menus only if we have a
2507         gui.
2508
2509         * kbmap.C (read): new method. Do the actual reading of bind
2510         files.
2511
2512         * converter.C (dvipdfm_options):
2513         * bufferparams.C:
2514         * lyxrc.C (read):
2515         (output): adapt PAPER_* enums.
2516
2517         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2518
2519         * bufferparams.h: remove paper-related enums from there
2520
2521         * paper.h: New file. A trivial header file to hold paper-related
2522         enums. It should later expand to contain many paper-related
2523         horrors access.
2524
2525         * lyxrc.C: declare extern displayTranslator
2526
2527 2003-07-27  José Matos  <jamatos@fep.up.pt>
2528
2529         * tabular.[Ch] (linuxdoc): add support for tables and figures
2530         (linuxdoc).
2531
2532 2003-07-27  José Matos  <jamatos@fep.up.pt>
2533
2534         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2535         consistency in both functions.
2536         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2537
2538 2003-07-26  Asger Alstrup  <alstrup@local>
2539
2540         * rowpainter.C (paintRows): Change algorithm to work directly on
2541         the insets rather than asking every character in the document
2542         whether its an inset.
2543
2544 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2545
2546         * buffer.C (openFileWrite): factorize some code
2547
2548 2003-07-26  Angus Leeming  <leeming@lyx.org>
2549
2550         * lyx_cb.C:
2551         * lyx_main.[Ch]: replace occurances of system_tempdir with
2552         os::getTmpDir().
2553
2554 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2555
2556         * rename Inset to InsetOld
2557
2558 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2559
2560         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2561         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2562         which I think is a bit clearer. EDIT is gone, since it was
2563         premature optimisation, and broken for mathed anyway.
2564         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2565         with cursor positioning in insets as well (math insets still do not
2566         work, but that's a different story anyway.) It mysteriously
2567         crashes sometimes with undo in the first paragraph, but I'm fairly
2568         confident that this is a compiler bug.
2569
2570 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2571
2572         * paragraph.C (Paragraph): adjust for new clone return type
2573         (operator==): ditto
2574         (copyIntoMinibuffer): ditto
2575
2576 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2577
2578         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2579         by not having a special case, and always doing a full rebreak of
2580         the document after undo.
2581
2582 2003-07-23  Angus Leeming  <leeming@lyx.org>
2583
2584         * factory.C (createInset): InsetExternal::setParams now takes a
2585         Buffer const * arg.
2586
2587 2003-07-23  Angus Leeming  <leeming@lyx.org>
2588
2589         * factory.C (createInset): changed interface to the external and
2590         graphics mailers' string2params functions.
2591
2592 2003-07-23  Angus Leeming  <leeming@lyx.org>
2593
2594         * factory.C (createInset): pass a
2595         Buffer const * parameter to InsetExternalMailer's string2params.
2596
2597 2003-07-22  John Levon  <levon@movementarian.org>
2598
2599         * Thesaurus.h: include the right aiksaurus header
2600
2601 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2602
2603         * MenuBackend.C (expand): check menu shortcuts unconditionally
2604
2605 2003-07-21  Angus Leeming  <leeming@lyx.org>
2606
2607         * factory.C (createInset): pass a
2608         buffer_path parameter to InsetGraphicsMailer's string2params.
2609
2610 2003-07-21  Angus Leeming  <leeming@lyx.org>
2611
2612         * BufferView_pimpl.C (buffer):
2613         * buffer.C (d-tor):
2614         * lyx_main.C (LyX):
2615         * lyxfunc.C (dispatch):
2616         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2617         rather than the grfx shortcut.
2618
2619 2003-07-21  André Pönitz  <poenitz@gmx.net>
2620
2621         * rowpainter.C: remove unused variables
2622
2623         * tabular_funcs.C:
2624         * tabular_funcs.h: move to tabular.C
2625         * Makefile.am: adjust
2626
2627         * tabular.[Ch]: basic optical cleaning
2628
2629         * author.h: pass references, not values
2630
2631 2003-07-18  André Pönitz  <poenitz@gmx.net>
2632
2633         * lyxtext.h:
2634         * metricsinfo.C:
2635         * metricsinfo.h:
2636         * rowpainter.C:
2637         * text.C:
2638         * text2.C:
2639         * text3.C: two-phase drawing for InsetText and InsetTabular
2640         some float -> int changes.
2641
2642 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2643
2644         * lyx_main.C: fix the fix
2645
2646 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2647
2648         * lyx_main.C: fix a crash in batch mode if no files specified
2649         * converter.C: ws
2650
2651 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2652
2653         * format.[Ch] (papersize): moved to BufferParams
2654         * converter.[Ch] (dvips_options): moved to BufferParams
2655         (dvipdfm_options): moved to anon namespace
2656         * bufferparams.[Ch]: added above functions.
2657
2658 2003-07-17  André Pönitz  <poenitz@gmx.net>
2659
2660         * lyxtext.h:
2661         * rowpainter.C:
2662         * text2.C: don't call inset->update() anymore
2663
2664         * metricsinfo.[Ch]: add convenience constructor
2665
2666 2003-07-16  André Pönitz  <poenitz@gmx.net>
2667
2668         * lyxcursor.[Ch]:
2669         * lyxfunc.[Ch]:
2670         * text.C:
2671         * text2.C: replace the LyXCursor::irow_ member with
2672          on-demand computation of the value
2673
2674 2003-07-16  John Levon  <levon@movementarian.org>
2675
2676         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2677
2678 2003-07-15  André Pönitz  <poenitz@gmx.net>
2679
2680         * text.C:
2681         * text2.C: remove no more needed refresh_row
2682
2683 2003-07-15  André Pönitz  <poenitz@gmx.net>
2684
2685         * lyxtext.h:
2686         * rowpainter.C:
2687         * text2.C:
2688         * text3.C: refresh_status tristate -> need_update bool
2689
2690 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2691
2692         * lyxtext.h (init): remove reinit argument (act as if always true)
2693         * text2.C: adjust to that
2694
2695 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2696
2697         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2698         * text3.C: use it to delete selections in some cases
2699         (bugs 441, 673, 702, 954).
2700
2701 2003-07-14  André Pönitz  <poenitz@gmx.net>
2702
2703         * rowpainter.[Ch]: reduce interface
2704
2705 2003-07-14  André Pönitz  <poenitz@gmx.net>
2706
2707         * BufferView_pimpl.C:
2708         * text2.C: adjust after removing unused BufferView * argument
2709
2710 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2711
2712         * text2.C (init): fix a crash fired on resize
2713
2714 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2715
2716         * buffer.[Ch]: added new closing signal
2717         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2718         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2719         BufferView::Pimpl via the closing the signal
2720
2721 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2722
2723         * buffer.[Ch]: take out all bv-related from buffer
2724         * BufferView.C:
2725         * BufferView_pimpl.[Ch]: connect to new signals
2726         * CutAndPaste.C: removed useless asserts
2727         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2728         * lyxvc.[Ch]:
2729         * vc-backend.[Ch]:
2730         * lyxfunc.C: moved view-related funciontality from vc here
2731         * paragraph.C: removed outdated comments
2732         * text.C: ws
2733
2734 2003-07-10  André Pönitz  <poenitz@gmx.net>
2735
2736         * BufferView_pimpl.C:
2737         * tabular.h:
2738         * tabular_funcs.C:
2739         * text.C:
2740         * text2.C: remove InsetText::InnerCache, clean up consequences
2741
2742 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2743
2744         * ispell.C: fix two typos in error messages
2745
2746 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2747
2748         * Extend Note inset to other forms of annotation like Comment
2749         and Greyedout. Right button click gives dialog.
2750
2751         Files modified or added (+):
2752
2753         * insetnote.[Ch]
2754         * FormNote.[Ch]      +
2755         * ControlNote.[Ch]   +
2756         * form_note.fd       +
2757         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2758         frontends/controllers
2759         * xforms/Dialogs.C
2760         * factory.C
2761
2762 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2763
2764         * aspell.C: add missing namespace lyx::support
2765
2766 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2767
2768         * BufferView.[Ch] (newFile): Add
2769         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2770         * LaTeX.[Ch] (message): added this signal and use it
2771         * buffer.[Ch] (busy, message): added these signals and use them
2772         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2773         * converter.C:
2774         * exporter.C:
2775         * format.C:
2776         * importer.C: use buffer signals instead of direct bv calling
2777         * lyx_cb.[Ch] (ShowMessage): removed
2778         * lyx_main.C:
2779         * lyxfunc.C:
2780         * paragraph_funcs.C:
2781         * text2.C: use buffer signals
2782
2783 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2784
2785         * introduce namespace lyx::graphics
2786
2787 2003-07-02  André Pönitz  <poenitz@gmx.net>
2788
2789         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2790
2791 2003-07-01  André Pönitz  <poenitz@gmx.net>
2792
2793         * text.C:
2794         * text2.C:
2795         * text3.C:
2796         * text_funcs.[Ch]:
2797         * textcursor.h:
2798         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2799           text*.C to text_func.C
2800
2801 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2802
2803         * introduce namespace lyx::support
2804
2805 2003-06-30  André Pönitz  <poenitz@gmx.net>
2806
2807         * Chktex.C:
2808         * funcrequest.C:
2809         * lyxtext.h:
2810         * text.C: re-enable --with-included-string
2811
2812 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2813
2814         * textcursor.C: add <config.h>
2815
2816         * text.C (getWord): remove const from word_location arg
2817
2818         * lyxvc.C (getLogFile): fix const type order
2819
2820         * lyxtext.h: remove const from word_location arg, add arg name
2821
2822         * lyxlayout.h: currect type on labeltype.
2823
2824         * importer.C: correct \file
2825
2826         * converter.C (intToFormat): use std:: on ret val, ws changes
2827
2828         * bufferlist.h: correct \file
2829
2830         * buffer.C (makeLinuxDocFile): fix const type order
2831         (makeDocBookFile): ditto
2832         (fillWithBibKeys): use std:: on stdlib args.
2833
2834         * CutAndPaste.C: fix authors.
2835         (availableSelections): use std:: on return vector
2836
2837 2003-06-27  André Pönitz  <poenitz@gmx.net>
2838
2839         * BufferView_pimpl.C:
2840         * bufferview_funcs.C:
2841         * lyxcursor.C:
2842         * lyxcursor.h:
2843         * lyxfunc.C:
2844         * lyxtext.h:
2845         * rowpainter.C:
2846         * text.C:
2847         * text2.C:
2848         * text3.C: remove LyXCursor::row_ member
2849
2850         * lyxtext.h:
2851         * text.C: rename fullRebreak() to partialRebreak() and implement
2852           a fullRebreak() that really bereks fully
2853
2854         * textcursor.h: new struct for cursor-related data
2855
2856 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2857
2858         * lyx_main.C (LyX): get full path of document loaded on the
2859         command line
2860
2861 2003-06-26  André Pönitz  <poenitz@gmx.net>
2862
2863         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2864           remove unused/broken operator>,<,>=.
2865
2866         *       text.C: remove only use of broken operator<= in an Assert().
2867
2868 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2869
2870         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2871         moved errorlist_.clear to showErrorList
2872
2873 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2874
2875         * converter.C (scanLog, runLaTeX):
2876         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2877         move the bv->showErrorList call to the callers
2878         * lyxfunc.C: i.e. here...
2879         * text2.C: and here
2880         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2881         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2882         namespace, the second to...
2883         * buffer_funcs (BufferFormat, parseErrors): added
2884         * errorlist.C (ErrorList(TeXErrors const &)): removed
2885
2886 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2887
2888         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2889
2890 2003-06-24  "Garst R. Reese" <reese@isn.net>
2891
2892         * debug.C: fix typo
2893
2894 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2895
2896         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2897
2898         * version.C.in: change docversion to 1.4
2899
2900 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2901
2902         * buffer.C: fix a bug just introduced
2903
2904 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2905
2906         * buffer.[Ch]: added the parseError signal and use it, removed
2907         sgmlError
2908         * BufferView.[Ch] (addError): moved to ...
2909         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2910         to the Buffer::parseError signal to catch (guess what) parse errors
2911         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2912
2913 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2914
2915         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2916         ability to create a buffer and to return an existing one from
2917         the list. Moved these functions to...
2918         * buffer_funcs.[Ch]: added
2919         * BufferView.[Ch] (loadLyXFile): added
2920         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2921         job removed from bufferlist::loadLyXFile.
2922         * buffer.C (setReadOnly): make it work without view
2923         (i.e added an if (users))
2924
2925 2003-06-19  Angus Leeming  <leeming@lyx.org>
2926
2927         * lfuns.h:
2928         * LyXAction.C (init):
2929         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2930         with LFUN_DIALOG_SHOW <name> <data>.
2931
2932 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2933
2934         * CutAndPaste.C (availableSelections): small compilation fix for
2935         ancient (gcc 2.9x) compilers
2936
2937 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2938
2939         * text3.C (cursorNext): add tmp var
2940
2941         * text2.C (updateCounters): for function calling out of for clause
2942         (replaceSelectionWithString): ditto
2943         (insertStringAsParagraphs): ditto
2944         (getColumnNearX): add tmp var
2945         (setCursorFromCoordinates): add tmp var
2946         (cursorDownParagraph): add tmp var
2947         (deleteEmptyParagraphMechanism): add tmp var
2948
2949         * text.C (insertChar): add tmp var
2950
2951         * rowpainter.C (paintDepthBar): add tmp var
2952
2953         * CutAndPaste.C (availableSelections): potentially check all
2954         paragraphs in a cut to fill the shown strings.
2955
2956 2003-06-18  André Pönitz  <poenitz@gmx.net>
2957
2958         * kbmap.[Ch]: use vector<> instead of list<>
2959
2960 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2961
2962         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2963         pasteSelection with index
2964
2965         * text2.C (pasteSelection): modify, call pasteSelection with index
2966
2967         * paragraph.C (asString): reimplement version with no interval to
2968         call the one with interval.
2969
2970         * lyxtext.h: add index arg to pasteSelection
2971
2972         * MenuBackend.C (MenuItem): handle PasteRecent
2973         (Menu::read::Menutags): add md_pasterecent
2974         (read): handle it
2975         (expandPasteRecent): new function
2976         (expand): use it
2977
2978         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2979
2980         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2981         the limited stack
2982         (availableSelections): new function
2983
2984 2003-06-17  Angus Leeming  <leeming@lyx.org>
2985
2986         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2987
2988 2003-06-17  Angus Leeming  <leeming@lyx.org>
2989
2990         * lfuns.h:
2991         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2992
2993         * lyxfunc.C (dispatch): invoke it.
2994
2995 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2996
2997         * iterators.C (operator++, ParPosition): reintroduce some
2998         const_cast for the benefit of older compilers.
2999
3000 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3001
3002         * text3.C (dispatch): do not modify clipboard when doing
3003         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3004         LFUN_DELETE_SKIP on a selection selection
3005
3006 2003-06-16  André Pönitz  <poenitz@gmx.net>
3007
3008         * BufferView.C:
3009         * buffer.C:
3010         * buffer.h:
3011         * paragraph.C:
3012         * tabular.[Ch]: IU of clone() and getLabelList();
3013
3014 2003-06-13  André Pönitz  <poenitz@gmx.net>
3015
3016         * tabular.h: compactification
3017
3018 2003-06-12  André Pönitz  <poenitz@gmx.net>
3019
3020         * tabular.C:
3021         * tabular.h:
3022         * tabular_funcs.h: some renaming plus whitespace
3023
3024 2003-06-12  André Pönitz  <poenitz@gmx.net>
3025
3026         * BufferView.C:
3027         * BufferView_pimpl.C:
3028         * CutAndPaste.C:
3029         * buffer.C:
3030         * iterators.[Ch]:
3031         * lyxfunc.C:
3032         * text.C:
3033         * toc.C: Return a Paragraph & for ParIterator::operator*()
3034
3035 2003-06-11  John Levon  <levon@movementarian.org>
3036
3037         * lyx_main.C:
3038         * ToolbarBackend.h:
3039         * ToolbarBackend.C: add "Toolbars" section and
3040         put the flags there
3041
3042 2003-06-10  Angus Leeming  <leeming@lyx.org>
3043
3044         * lfuns.h:
3045         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3046
3047         * lyxfunc.C (dispatch): invoke it.
3048
3049 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3050
3051         * main.C: protect <ios> with HAVE_IOS
3052         (main): protect sync_with_stdio with HAVE_IOS
3053
3054 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3055
3056         * text2.C (cutSelection): adjust
3057         (pasteSelection): adjust
3058
3059         * messages.C: handle get of empty string
3060
3061         * main.C (main): use sync_with_stdio(false)
3062
3063         * lyxfunc.C (dispatch): adjust
3064
3065         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3066         (WriteAs): remove unneeded BufferView arg.
3067
3068         * bufferparams.h: use correct types on papersize, papersize2 and
3069         paperpackage.
3070
3071         * bufferparams.C (readToken): adjust for type
3072         (writeLaTeX): add missing cases to switch.
3073
3074         * bufferlist.C (quitWriteBuffer): adjust
3075         (close): adjust
3076
3077         * buffer.C (asciiParagraph): remove some commented code.
3078
3079         * CutAndPaste.C: remove current_view extern variable.
3080         (cutSelection): add BufferParams arg.
3081         (eraseSelection): add BufferParams arg.
3082         (pasteSelection): add Buffer const & arg
3083
3084 2003-06-07  John Levon  <levon@movementarian.org>
3085
3086         * buffer.C:
3087         * paragraph_funcs.C:
3088         * paragraph_pimpl.C:
3089         * text.C:
3090         * text2.C:
3091         * paragraph.h:
3092         * paragraph.C: allow InsetERT to freely space lines,
3093         and some consolidation of code
3094
3095 2003-06-06  José Matos  <jamatos@fep.up.pt>
3096
3097         * buffer.C (makeDocBookFile): fix bug #821
3098
3099 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3100
3101         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3102
3103 2003-06-04  Angus Leeming  <leeming@lyx.org>
3104
3105         * buffer.C: bump format to 224.
3106
3107 2003-06-05  André Pönitz  <poenitz@gmx.net>
3108
3109         * text2.C (redoParagraphs): remove two const_cast<>
3110
3111 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3112
3113         * ParagraphList.h: remove last remnants of NO_STD_LIST
3114
3115 2003-06-03  Angus Leeming  <leeming@lyx.org>
3116
3117         * factory.C (createInset): small change to the way InsetExternal's params
3118         are set.
3119
3120 2003-06-04  André Pönitz  <poenitz@gmx.net>
3121
3122         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3123
3124         * paragraph_pimpl.h:
3125         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3126
3127         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3128
3129         * undo_funcs.C: make some simple cases of undo work again
3130
3131 2003-06-03  John Levon  <levon@movementarian.org>
3132
3133         * ispell.C: HPUX doesn't have sys/select.h
3134         (from Albert Chin)
3135
3136 2003-06-03  John Levon  <levon@movementarian.org>
3137
3138         * CutAndPaste.C: update tabular and include inset
3139         buffer references
3140
3141         * buffer.h:
3142         * paragraph.h:
3143         * paragraph.C: remove owningBuffer(), don't pass Buffer
3144         to clone()
3145
3146         * factory.C: insetGraphicsParams changed
3147
3148 2003-06-02  John Levon  <levon@movementarian.org>
3149
3150         * LyXAction.C:
3151         * factory.C:
3152         * lfuns.h:
3153         * lyxfunc.C:
3154         * text3.C: remove insetparent
3155
3156 2003-06-02  John Levon  <levon@movementarian.org>
3157
3158         * buffer.h:
3159         * buffer.C: fix inset_iterator.end(), move out of line
3160         (bug 1149)
3161
3162 2003-06-01  John Levon  <levon@movementarian.org>
3163
3164         * text3.C: use a proper cut/paste when doing inset
3165         insert (from Jürgen Spitzmüller)
3166
3167 2003-06-01  John Levon  <levon@movementarian.org>
3168
3169         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3170
3171 2003-05-30  André Pönitz  <poenitz@gmx.net>
3172
3173         * rowpainter.C: unify second drawing phase
3174
3175 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3176
3177         * trans_mgr.C: remove one case of current_view
3178
3179         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3180
3181         * paragraph_funcs.h: remove paragraph.h include
3182
3183         * paragraph.h: delete NO_STD_LIST stuff
3184
3185         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3186
3187         * buffer.h: remove paragraph.h include
3188
3189         * ParagraphList.C: delete file
3190
3191         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3192
3193         * toc.C (getTocList): adjust
3194
3195         * paragraph_pimpl.C (validate): adjust
3196
3197         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3198
3199         * paragraph.C (Paragraph): adjust
3200         (getPositionOfInset): use const_iterator, adjust
3201         (bibitem): use const_iterator, adjust
3202         (setInsetOwner): adjust
3203
3204         * iterators.C (operator++): adjust
3205
3206         * InsetList.[Ch]: Replace selfmade iterator with standard
3207         vector::iterator also introduce const_iterator. Remove getPos,
3208         getInset and setInset from InsetTable. Adjust accordingly.
3209
3210         * BufferView.C (lockInset): adjust
3211         (ChangeInsets): adjust
3212
3213         * tabular.[Ch]: delete commented same_id functions
3214
3215 2003-05-28  John Levon  <levon@movementarian.org>
3216
3217         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3218
3219 2003-05-28  André Pönitz  <poenitz@gmx.net>
3220
3221         * metricsinfo.[Ch]: remove 'fullredraw' member
3222
3223 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3224
3225         * lyxtextclass.C (operator): remove caching.
3226
3227 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3228
3229         * text3.C: adjust
3230
3231         * text2.C (cursorBottom): adjust
3232         (setCounter): use ParagraphList::find, adjust
3233
3234         * text.C (workWidth): use ParagraphList::find, adjust
3235
3236         * lyxcursor.C (LyXCursor): adjust
3237
3238         * buffer.C (inset_iterator): adjust
3239
3240         * ParagraphList.h: make iterator(value_type) private, make
3241         ParagraphList a friend of iterator.
3242
3243         * ParagraphList.C (find): new function
3244
3245         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3246
3247 2003-05-27  André Pönitz  <poenitz@gmx.net>
3248
3249         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3250
3251 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3252
3253         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3254
3255 2003-05-26  John Levon  <levon@movementarian.org>
3256
3257         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3258
3259 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3260
3261         * remove same_id from function signatures, adjust.
3262
3263 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3264
3265         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3266
3267         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3268
3269         * paragraph.C (Paragraph): get rid of same_ids parameter
3270
3271         * ParagraphList.C (insert): adjust
3272         (push_back): adjust
3273
3274 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3275
3276         * paragraph_funcs.C (breakParagraph): adjust
3277         (breakParagraphConservative): adjust
3278
3279         * buffer.C (readParagraph): adjust
3280
3281         * ParagraphList.C (insert): take a reference instead of a pointer
3282         (insert): adjust
3283
3284         * paragraph.[Ch] (id): new function
3285
3286         * bufferlist.C (newFile): adjust
3287
3288         * ParagraphList.C (ParagraphList): adjust
3289         (assign): adjust
3290         (push_back): take a reference instead of a pointer.
3291
3292         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3293
3294         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3295         instead.
3296
3297         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3298         set else use old code.
3299
3300         * ParagraphList.C: remove all NO_NEXT code and only compile this
3301         code of NO_STD_LIST is set.
3302
3303 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3304
3305         * BufferView_pimpl.C:
3306         * TextCache.C:
3307         * TextCache.h:
3308         * bufferlist.C:
3309         * errorlist.h:
3310         * format.C:
3311         * format.h:
3312         * graph.C:
3313         * lyxfunc.C:
3314         * lyxrc.C:
3315         * graphics/GraphicsConverter.C:
3316         * graphics/PreviewLoader.C: header adjustment
3317
3318 2003-05-23  Angus Leeming  <leeming@lyx.org>
3319
3320         * LaTeXFeatures.[Ch] (useBabel): new method.
3321         * bufferparams.C (writeLaTeX): use it.
3322
3323 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3324
3325         * ParagraphList.h (set): remove unused function.
3326
3327 2003-05-23  André Pönitz  <poenitz@gmx.net>
3328
3329         * BufferView.C:
3330         * BufferView_pimpl.C:
3331         * buffer.C:
3332         * buffer.h:
3333         * lyxfunc.C:
3334         * undo_funcs.C: setUndo reworked
3335
3336         * iterators.[Ch]: add access to topmost ParagraphList
3337
3338         * lyxtext.[Ch] (workWidth): add a const
3339
3340 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3341
3342         * texrow.[Ch] (increasePos): remove function
3343         * exporter.C (export): removed unused var and outdated comment
3344
3345 2003-05-23  Angus Leeming  <leeming@lyx.org>
3346
3347         * latexrunparams.h: rename fragile as moving_arg.
3348         * paragraph.C (simpleTeXOnePar): ditto.
3349         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3350
3351 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3352
3353         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3354         (createUndo): ditto
3355         (textUndoOrRedo): comment out a currently unused var.
3356
3357         * paragraph.h (NO_NEXT): enable NO_NEXT
3358
3359         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3360
3361         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3362
3363         * exporter.C (Export): adjust for removeAutoInsets removal.
3364
3365         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3366
3367         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3368
3369         * BufferView.[Ch] (removeAutoInsets): delete function
3370
3371 2003-05-22  Angus Leeming  <leeming@lyx.org>
3372
3373         * latexrunparams.h: add a free_spacing variable.
3374
3375         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3376         to pass moving_arg, as the data is stored in runparams.fragile.
3377
3378         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3379         to Inset::latexOptional or to simpleTeXOnePar.
3380
3381         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3382         free_spacing arg to Inset::latexOptional.
3383
3384         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3385         free_spacing arg.
3386
3387 2003-05-22  Angus Leeming  <leeming@lyx.org>
3388
3389         * latexrunparams.h: add fragile and use_babel variables.
3390
3391         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3392         * buffer.C (makeLaTeXFile): store this returned value in
3393         runparams.use_babel, thus passing it to the inset::latex methods.
3394
3395         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3396         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3397
3398         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3399         longer has a fragile arg, as it is stored in runparams.fragile.
3400
3401         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3402         moving_arg parameter as the data is stored in runparams.fragile.
3403
3404         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3405         a fragile parameter as the data is stored in runparams.fragile.
3406
3407 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3408
3409         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3410
3411 2003-05-22  Angus Leeming  <leeming@lyx.org>
3412
3413         * latexrunparams.h: add a 'bool nice' which defaults to false.
3414
3415         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3416         now encapsulated within runparams.
3417
3418         * bufferlist.C (updateIncludedTeXfiles):
3419         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3420
3421 2003-05-22  Angus Leeming  <leeming@lyx.org>
3422
3423         * latexrunparams.h: new file containing struct LatexRunParams.
3424         * Makefile.am: add new file.
3425
3426         * LaTeX.[Ch] (c-tor, run):
3427         * buffer.[Ch] (makeLaTeXFile):
3428         * bufferlist.[Ch] (updateIncludedTeXfiles):
3429         * converter.C (convert, scanLog):
3430         * converter.[Ch] (runLaTeX):
3431         * exporter.C (Export):
3432         * paragraph.[Ch] (simpleTeXOnePar):
3433         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3434         * paragraph_funcs.[Ch] (latexParagraphs):
3435         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3436         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3437         pass around a LatexRunParams parameter.
3438
3439 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3440
3441         * paragraph.[Ch]: remove unused constructor
3442
3443         * ParagraphList.C (erase): new function, taking two iterators
3444
3445 2003-05-22  André Pönitz  <poenitz@gmx.net>
3446
3447         * undo_funcs.C: remove duplicated code
3448
3449         * iterator.[Ch]: operator=
3450
3451 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3452
3453         * tabular.C (SetMultiColumn): ws changes
3454
3455         * rowpainter.C (paintFirst): get rid of a ->previous
3456
3457         * lyx_cb.C (getPossibleLabel): parlist simplification
3458
3459         * BufferView.C (ChangeInsets): simplify slightly.
3460
3461 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3462
3463         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3464         * lfuns.h: new LFUN_SPACE
3465         * lyxfunc.C: protected space has a new lfun
3466         * paragraph_funcs.C: read new space insets
3467         * text3.C:
3468         * factory.C: handle new space insets
3469
3470 2003-05-22  André Pönitz  <poenitz@gmx.net>
3471
3472         * BufferView.C:
3473         * BufferView_pimpl.C:
3474         * buffer.[Ch]:
3475         * lyxfunc.C:
3476         * undo_funcs.C: return a ParIterator from getParFromID.
3477
3478         * iterators.[Ch]: add two const's
3479
3480 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3481
3482         * toc.C (getTocList): adjust
3483
3484         * iterators.[Ch]: rework for parlist
3485
3486         * buffer.C (par_iterator_begin): adjust
3487         (par_iterator_end): adjust
3488
3489         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3490
3491         * BufferView.C (removeAutoInsets): adjust
3492         (ChangeInsets): adjust
3493
3494 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3495
3496         * text.C (top_y): fix bug 1110
3497
3498 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3499
3500         * errorlist.[Ch]: added
3501         * buffer.C:
3502         * BufferView.[Ch]:
3503         * BufferView_pimpl.C:
3504         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3505         instead
3506
3507 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3508
3509         * Makefile.am: ensure that lyx is relinked upon changes to the
3510         various "convenience" libs.
3511
3512 2003-05-20  Angus Leeming  <leeming@lyx.org>
3513
3514         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3515         files are compiled in alphabetical order again.
3516
3517         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3518
3519 2003-05-19  Angus Leeming  <leeming@lyx.org>
3520
3521         * gettext.[Ch]: remove "char const * _(char const *)".
3522
3523 2003-05-19  André Pönitz  <poenitz@gmx.net>
3524
3525         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3526
3527         * Makefile.am:
3528         * BufferView.C:
3529         * DepTable.h:
3530         * LaTeXFeatures.C:
3531         * buffer.C:
3532         * lyxfont.C:
3533         * lyxlex.h:
3534         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3535
3536 2003-05-19  André Pönitz  <poenitz@gmx.net>
3537
3538         * buffer.C:
3539         * lyxlayout.[Ch]:
3540         * lyxtextclass.[Ch]:
3541         * paragraph.C:
3542         * paragraph_funcs.[Ch]:
3543         * text2.C:
3544         * text3.C: more insetenv work
3545
3546 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3547
3548         * ParagraphParameters.C (params2string): small bug fixed
3549
3550 2003-05-16  André Pönitz  <poenitz@gmx.net>
3551
3552         * debug.C:
3553         * bufferview_funcs.C: patch from Kornel Benko to prevent
3554           crash when _(...) is called twice in a statement
3555
3556 2003-05-16  André Pönitz  <poenitz@gmx.net>
3557
3558         * BufferView.C:
3559         * lyxfunc.C:
3560         * text.C:
3561         * text2.C:
3562         * text3.C:
3563         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3564
3565 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3566
3567         * lyx_main.C (init): remove spurious static_cast
3568
3569 2003-05-14  André Pönitz  <poenitz@gmx.net>
3570
3571         * BufferView.C: fix format string
3572
3573 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3574
3575         * BufferView.[Ch] (insertErrors): removed
3576         * BufferView.[Ch] (showErrorList): added
3577         * buffer.C (runChkTeX):
3578         * converter.C (scanLog): call showErrorList instead of inserterrors
3579
3580 2003-05-13  André Pönitz  <poenitz@gmx.net>
3581
3582         * BufferView_pimpl.C:
3583         * buffer.C:
3584         * bufferview_func.C:
3585         * MenuBackend.C:
3586         * lyxfunc.C:
3587         * lyxrc.C:
3588         * tex-accent.C:
3589         * text3.C:
3590         * toc.C:
3591         * tabular_funcs.h: tostr() from its own header
3592
3593         * ParagraphParameters.C:
3594         * ToolbarBackend.C:
3595         * bufferparams.C:
3596         * format.C:
3597         * lyxlex_pimpl.C:
3598         * text3.C: STRCONV()
3599
3600 2003-05-12  André Pönitz  <poenitz@gmx.net>
3601
3602         * BufferView.C:
3603         * BufferView_pimpl.C:
3604         * CutAndPaste.C:
3605         * LaTeX.C:
3606         * LaTeXFeatures.C:
3607         * ParagraphParameters.C:
3608         * buffer.C:
3609         * bufferlist.C:
3610         * bufferparams.C:
3611         * bufferview_funcs.C:
3612         * converter.C:
3613         * counters.C:
3614         * debug.C:
3615         * exporter.C:
3616         * format.C:
3617         * importer.C:
3618         * lyx_cb.C:
3619         * lyx_main.C:
3620         * lyxfont.C:
3621         * lyxfunc.C:
3622         * lyxvc.C:
3623         * paragraph.C:
3624         * paragraph_funcs.C:
3625         * tabular.C:
3626         * tabular_funcs.C:
3627         * text2.C:
3628         * text3.C:  boost::format -> bformat  all over the place
3629
3630
3631 2003-05-09  André Pönitz  <poenitz@gmx.net>
3632
3633         * LColor.[Ch]: Pimpl the #include <map> away
3634
3635 2003-05-09  John Levon  <levon@movementarian.org>
3636
3637         * bufferlist.C: never remove emergency saves
3638
3639 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3640
3641         * Makefile.am: better lib building
3642
3643 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3644
3645         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3646         instead.
3647         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3648         (simpleTeXSpecialChars): adjust
3649         (simpleTeXSpecialChars): adjust
3650         * paragraph.C (simpleTeXOnePar): adjust
3651         * buffer.C (makeLaTeXFile): adjust
3652
3653         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3654
3655         * text2.C (changeDepth): parlist cleanup
3656         (getColumnNearX): ditto
3657
3658         * rowpainter.C (getLabelFont): parlist cleanup
3659
3660         * bufferlist.C (newFile): parlist cleanup
3661
3662         * CutAndPaste.C (eraseSelection): parlist cleanup
3663
3664         * BufferView_pimpl.C (trackChanges): parlist cleanup
3665         (dispatch): ditto
3666
3667         * BufferView.C (lockInset): parlist cleanup.
3668         (ChangeInsets): ditto
3669
3670 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3671
3672         * CutAndPaste.h: Update file header.
3673
3674         * CutAndPaste.C: Update file header.
3675         Store the parts cut out of the Document in a limited_stack.
3676         (copySelection): adjust
3677         (pasteSelection): new function, takes the index in the limited stack.
3678         (nrOfParagraphs): adjust
3679         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3680         simplify error inset insertion.
3681         (checkPastePossible): adjust
3682
3683 2003-05-06  John Levon  <levon@movementarian.org>
3684
3685         * text2.C: don't cast wrap inset to float
3686
3687 2003-05-05  André Pönitz  <poenitz@gmx.net>
3688
3689         * iterator.C:
3690         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3691
3692         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3693           few naked Paragraph *.
3694
3695 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3696
3697         * bufferparams.C: Output warning if a document with missing
3698         TeX document class is loaded
3699         * exporter.C: Disable TeX exports if the document class is missing
3700         * lyxtextclass.C:
3701         * lyxtextclass.h:
3702         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3703         isTeXClassAvailable()
3704
3705 2003-05-03  John Levon  <levon@movementarian.org>
3706
3707         * BufferView.h:
3708         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3709         explicit cursor show/hide
3710
3711         * BufferView_pimpl.h:
3712         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3713         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3714
3715         * lyxfunc.C: hide cursor before dispatching.
3716
3717         * lyx_cb.C:
3718         * lyxfind.C:
3719         * text.C:
3720         * text3.C: remove explicit cursor hides
3721
3722 2003-05-02  André Pönitz  <poenitz@gmx.net>
3723
3724         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3725
3726         * undo_funcs.C:
3727         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3728           linked lists
3729
3730         * text2.C: tiny whitespace
3731
3732 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3733
3734         * undo_funcs.C: almost only ws changes.
3735
3736         * ParagraphList.C (splice): just return if pl is empty.
3737
3738 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3739
3740         * ParagraphList.C (splice): new function.
3741
3742         * CutAndPaste.C (pasteSelection): use it
3743
3744 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3745
3746         * CutAndPaste.C (pasteSelection): remove the last next and
3747         previous from this file.
3748
3749 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3750
3751         * CutAndPaste.C (pasteSelection): more clean up, user proper
3752         ParagraphList functions for pasteing.
3753
3754         * ParagraphList.C (insert): new function, three arg insert
3755
3756 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3757
3758         * ParagraphList.C (insert): new function, three arg insert
3759
3760         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3761         not on paragraphs.
3762
3763 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3764
3765         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3766
3767 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3768
3769         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3770
3771 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3772
3773         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3774         (copySelection): clean up a bit.
3775         (pasteSelection): use make_pair
3776
3777         * ParagraphList.C (ParagraphList): implement copy constructor
3778         (operator=): implement, base on copy constructor.
3779         (assign): new func
3780
3781         * paragraph.C (erase): return a bool
3782
3783         * paragraph_pimpl.C (erasePos): remove function, move contents...
3784         (erase): ... here. Return a bool.
3785         (erase): call erase instead of erasePos.
3786
3787 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3788
3789         * ParagraphList.h: define PitPosPair
3790         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3791         ParagraphList, fix a bug on pasting multiple pars
3792         * text2.C: change interface to C&P
3793
3794 2003-04-30  André Pönitz  <poenitz@gmx.net>
3795
3796         * undo_func.C: revert part of yesterday's patch 2
3797
3798 2003-04-30  John Levon  <levon@movementarian.org>
3799
3800         * LColor.C: s/tabular/table/
3801
3802 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3803
3804         * text3.C (dispatch): do not convert iterator -> pointer
3805         * undo_funcs.C (setCursorParUndo): ditto
3806         * text_funcs.C (transposeChars): ditto
3807
3808         * text2.C (setLayout): ws changes only
3809
3810         * text.C (breakParagraph): do not convert iterator -> pointer
3811         (insertChar): ditto
3812         (acceptChange): ditto
3813         (rejectChange): ditto
3814         (changeCase): ditto
3815         (Delete): ditto
3816         (backspace): ditto
3817
3818         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3819         pointer
3820
3821 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3822
3823         * text3.C (gotoInset): YABG (yet another bad getChar)
3824
3825 2003-04-29  André Pönitz  <poenitz@gmx.net>
3826
3827         * paragraph.h: make operator= private unimplemented as long as
3828           it is unusable
3829
3830         * ParagraphList.C: whitespace
3831
3832         * paragraph.[Ch]:
3833         * paragraph_pimpl.[Ch]:
3834         * paragraph_funcs.C:
3835         * CutAndPaste.C:
3836         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3837
3838         * text2.C:
3839           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3840
3841 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3842
3843         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3844         * paragraph.[Ch] (erase):
3845         * paragraph_pimpl.[Ch] (erase): change return type and value
3846         * text2.C (cutSelection): some rework
3847
3848 2003-04-28  John Levon  <levon@movementarian.org>
3849
3850         * bufferlist.C: changes for unsaved changes dialog
3851
3852 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3853
3854         * bufferlist.C (newFile): set language (messages_) for new
3855         documents also.
3856
3857         * buffer.C (readFile): ws changes only.
3858
3859 2003-04-28  André Pönitz  <poenitz@gmx.net>
3860
3861         * undo_funcs.C:
3862         * lyxfunc.C:
3863         * buffer.[Ch]:
3864         * BufferView_pimpl.C:
3865         * BufferView.C: getParFromID related ParagraphList::iterator changes
3866
3867 2003-04-28  André Pönitz  <poenitz@gmx.net>
3868
3869         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3870           Changes
3871
3872 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3873
3874         * messages.C: remove one more localedir class variable.
3875
3876 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3877
3878         * messages.C (getLocaleDir): singleton generation function
3879         (Pimpl): use it.
3880         (Messages): add a default constructor.
3881
3882         * main.C (main): do not setup localedir here, do not call
3883         gettext_init.
3884
3885         * gettext.C (_): use it.
3886         (gettext_init): delete funciton
3887
3888 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3889
3890         * gettext.C (getLyXMessages): new singleton generating function.
3891
3892         * buffer.C (updateDocLang): adjust
3893
3894         * Makefile.am (messages.o): add target
3895         (main.o): remove target
3896
3897 2003-04-27  John Levon  <levon@movementarian.org>
3898
3899         * bufferlist.C:
3900         * lyx_cb.C:
3901         * lyxfunc.C:
3902         * lyxvc.C: specify cancel button in Alert::prompt
3903
3904 2003-04-26  John Levon  <levon@movementarian.org>
3905
3906         * text3.C:
3907         * lyxfunc.C:
3908         * lfuns.h:
3909         * LyXAction.C: add LFUN_INSET_SETTINGS
3910
3911         * lyxfunc.C: don't enable tabular-feature when there's
3912         just any locking inset
3913
3914 2003-04-26  John Levon  <levon@movementarian.org>
3915
3916         * bufferlist.C: re-add Cancel to buffer close question
3917
3918         * lyxfunc.C: fix import UI a bit
3919
3920 2003-04-25  John Levon  <levon@movementarian.org>
3921
3922         * gettext.C: remove the broken asserts for now
3923
3924 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3925
3926         * messages.C: make case where setlocale cannot comply work better.
3927
3928         * buffer.C (updateDocLang): new function
3929         (changeLanguage): use it
3930         (readFile): use it
3931
3932         * text2.C (setCounter): use B_ a bit.
3933
3934         * lyxlayout.C (Read): be sure to trim the label strings.
3935
3936         * messages.C (Messages): fix typo in comment
3937
3938         * buffer.C (readFile): set message_ after file is loaded.
3939         (makeDocBookFile): remove double return
3940         (changeLanguage): reset message_ upon language change.
3941         (B_): new func, use this to get translated buffer strings.
3942
3943         * main.C: add myself and Jean Marc as authors.
3944
3945 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3946
3947         * messages.[hC]: pimplify Messages, and three different pimpls to be
3948         used in different circumstances.
3949
3950         * gettext.[Ch]: change for use with new message code.
3951
3952 2003-04-24 André Pönitz <poenitz@gmx.net>
3953
3954         * factory.C: support for eqref
3955
3956 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3957
3958         * messages.[Ch]: add missing char
3959
3960         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3961
3962         * messages.[Ch]: New files
3963
3964 2003-04-18  John Levon  <levon@movementarian.org>
3965
3966         * BufferView.h:
3967         * BufferView.C:
3968         * BufferView_pimpl.C:
3969         * lfuns.h:
3970         * LyXAction.C:
3971         * lyxtext.h:
3972         * text2.C: remove layout-copy/paste (bug 778)
3973
3974 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3975
3976         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3977
3978 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3979
3980         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3981         if they succeed. Act accordingly.
3982
3983 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3984
3985         * text2.C (setCharFont): adjust
3986         (setCounter): adjust
3987         (insertStringAsLines): adjust
3988
3989         * text.C (leftMargin): adjust
3990         (setHeightOfRow): adjust
3991
3992         * rowpainter.C (paintFirst): adjust
3993         (paintLast): adjust
3994
3995         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3996         (outerHook): ditto
3997         (isFirstInSequence): ditto
3998         (getEndLabel): ditto
3999         (outerFont): adjust
4000
4001         * paragraph.C (getParLanguage): comment out some hard stuff.
4002
4003         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4004         (sgmlError): ditto
4005         (simpleDocBookOnePar): ditto
4006         (makeDocBookFile): use ParagraphList::iterator
4007
4008         * CutAndPaste.C (pasteSelection): adjust
4009
4010 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4011
4012         * text2.C (getFont): adjust
4013         (getLayoutFont): adjust
4014         (getLabelFont): adjust
4015
4016         * paragraph_funcs.C (TeXOnePar): adjust
4017
4018         * buffer.C (simpleLinuxDocOnePar): adjust
4019         (simpleDocBookOnePar): adjust
4020
4021         * CutAndPaste.C (pasteSelection): adjust
4022
4023         * BufferView.C (getEncoding): adjust
4024
4025         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4026
4027 2003-04-16  John Levon  <levon@movementarian.org>
4028
4029         * lyxfind.C: use parlist stuff for search/changes
4030
4031 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4032
4033         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4034
4035         * text2.C (deleteEmptyParagraphMechanism): adjust
4036
4037         * text2.[Ch] (ownerParagraph): delete func (both of them
4038
4039 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4040
4041         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4042
4043 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4044
4045         * ParagraphList.C: prepare for NO_NEXT
4046
4047 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4048
4049         * text2.C (getFont): adjust
4050         (getLayoutFont): adjust
4051         (getLabelFont): adjust
4052
4053         * paragraph.C (getFont): adjust
4054         (getLabelFont): adjust
4055         (getLayoutFont): adjust
4056
4057         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4058
4059 2003-04-15  John Levon  <levon@movementarian.org>
4060
4061         From Angus Leeming
4062
4063         * lyx_main.C: handle Include in .ui files
4064
4065 2003-04-15  John Levon  <levon@movementarian.org>
4066
4067         * MenuBackend.C: make the doc files length shorter
4068
4069         * ToolbarBackend.h:
4070         * ToolbarBackend.C: handle toolbar placement flags,
4071         Minibuffer
4072
4073 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4074
4075         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4076         adjust
4077
4078         * paragraph_funcs.C (TeXOnePar): adjust
4079
4080         * paragraph.C (getLabelFont): add outerfont arg, adjust
4081         (getLayoutFont): ditto
4082         (simpleTeXOnePar): adjust
4083
4084         * paragraph_pimpl.C (realizeFont): delete func
4085
4086 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4087
4088         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4089         row argument, constify cur argument.
4090
4091 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4092
4093         * text2.C (getFont): adjust
4094         (getLayoutFont): adjust
4095         (getLabelFont): adjust
4096
4097         * paragraph_funcs.C (TeXOnePar): adjust
4098         (outerFont): new func...
4099         (realizeFont): ...moved out from here, changed this to facilitate
4100         transition
4101
4102         * paragraph.C (getFont): take outerfont as arg, adjust
4103         (simpleTeXOnePar): add outerfont arg, adjust
4104
4105         * buffer.C (simpleLinuxDocOnePar): adjust
4106         (simpleDocBookOnePar): adjust
4107
4108         * CutAndPaste.C (pasteSelection): adjust
4109
4110         * BufferView.C (getEncoding): adjust
4111
4112 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4113
4114         * text2.C (setCharFont): adjust
4115         (setCounter): adjust
4116
4117         * text.C (leftMargin): adjust
4118         (setHeightOfRow): adjust
4119
4120         * rowpainter.C (paintFirst): adjust
4121         (paintLast): adjust
4122
4123         * paragraph_pimpl.C (realizeFont): adjust
4124
4125         * paragraph.C (isFirstInSequence): move from here...
4126         * paragraph_funcs.C (isFirstInSequence): ...to here
4127
4128         * paragraph.C (outerHook): move from here...
4129         * paragraph_funcs.C (outerHook): ...to here
4130
4131         * paragraph.C (depthHook): move from here...
4132         * paragraph_funcs.C (depthHook): ...to here
4133
4134         * paragraph.C (getEndLabel): move from here...
4135         * paragraph_funcs.C (getEndLabel): ...to here
4136
4137         * text2.C (realizeFont): move from here...
4138         * paragraph_funcs.C (realizeFont): ...to here
4139
4140 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4141
4142         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4143
4144 2003-04-14  Angus Leeming  <leeming@lyx.org>
4145
4146         * LColor.[Ch]: scrap LColor mathcursor.
4147
4148 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4149
4150         * lyxlex.[Ch] (text): delete function
4151         * trans.C (Load): adjust
4152         * paragraph_funcs.C (readParToken): adjust
4153
4154 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4155
4156         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4157         vector<char> instead of a char[].
4158
4159         * lyxlex_pimpl.C (getString): adjust
4160         (next): adjust
4161         (lex): use getString
4162         (eatLine): adjust
4163         (nextToken): adjust
4164
4165         * lyxlex.C (text): use pimpl_->getString()
4166         (getBool): ditto
4167         (findToken): ditto
4168
4169 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4170
4171         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4172         (makeFontEntriesLayoutSpecific): temp var for par.size()
4173         (setLayout): temp var for ownerParagraphs().end()
4174         (fullRebreak): temp var for rows().end()
4175         (selectionAsString): temp var for boost::next(startpit), realize
4176         that the while really is a regular for loop.
4177         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4178         setCursor in one place.
4179         (setParagraph): temp vr for ownerParagraphs().end()
4180         (updateCounters): make the while loop a for loop
4181         (cutSelection): temp var for ownerParagraphs().end()
4182         (updateInset): make the do {} while() a regular for loop
4183         (getCursorX): use temp vars
4184         (setCurrentFont): use temp vars
4185         (getColumnNearX): use temp vars
4186
4187 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4188
4189         * text.C (transformChar): use temp var for getChar
4190         (computeBidiTables): use temp var for row->par()
4191         (fill): move temp vars for row->par() and pit->layout() earlier in
4192         the function.
4193         (labelFill): use temp var for row->par()
4194         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4195         asc and desc, realize that pit never changes and that firstpit is
4196         just a duplicate and not needed. Exchange rit->par() with pit in a
4197         lot of places.
4198         (breakAgain): use a temp var for boost::next(rit)
4199         (breakAgainOneRow): ditto
4200         (breakParagraph): use a temp var for rows().begin()
4201         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4202         (cursorRightOneWord): use temp var for cursor.par() and
4203         cursor.pos(), remove usage of tmpcursor.
4204         (cursorLeftOneWord): use temp var for cursor.par() and
4205         cursor.pos() only set cur at end of function.
4206
4207 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4208
4209         * text.C, text2.C: exchange all usage of Paragraph::next with
4210         boost::next(ParagraphList::iterator)
4211
4212         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4213
4214         * text2.C (cursorTop): simplify implementation
4215         (cursorBottom): ditto
4216         (setParagraph): use ParagraphList::iterator
4217         (setCurrentFont): adjust
4218         (getColumnNearX): adjust
4219         (cursorRight): adjust
4220         (cursorLeft): remove usage of Paragraph::previous
4221         (cursorUpParagraph): ditto
4222         (deleteEmptyParagraphMechanism): slight cleanup
4223
4224         * text.C (isBoundary): take a Paragraph const & instead of a
4225         pointer as arg.
4226         (addressBreakPoint): ditto
4227         (leftMargin): remove usage of Paragraph::previous.
4228         (setHeightOfRow): ditto
4229         (cursorLeftOneWord): ditto
4230         (selectNextWordToSpellcheck): ditto
4231         (Delete): ditto
4232         (backspace): ditto
4233         (breakParagraph): remove one usage of Paragraph::next
4234         (redoParagraph): ditto
4235         (acceptChange): ditto
4236         (insertChar): adjust
4237         (rowBreakPoint): adjust
4238
4239         * bufferview_funcs.C (toggleAndShow): adjust
4240
4241 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4242
4243         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4244         methods to access it.
4245         * lyxtext.h:
4246         * text.C: Added updateRowPositions to compute all row positions.
4247         Make top_y and getRowNearY() to use the cached y position
4248
4249 2003-04-11  John Levon  <levon@movementarian.org>
4250
4251         * text.C (rowBreakPoint): reintroduce the labelEnd
4252         checks, code copied from the row fill stuff. Deep voodoo.
4253
4254         * text.C (fill): add a comment and debugging for the
4255         next poor soul.
4256
4257 2003-04-11  John Levon  <levon@movementarian.org>
4258
4259         * text.C: make sure fullrow insets get wrapped to the next line,
4260         even when they're in a manual label
4261
4262 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4263
4264         * text2.C (insertParagraph): make it take ParagraphList::iterator
4265         as arg.
4266         (setLayout): make it return ParagraphList::iterator
4267         (redoParagraphs): ditto
4268         (setCounter): ditto
4269         (checkParagraph): ditto
4270
4271         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4272
4273         * text2.C: adjust several funcs.
4274         (realizeFont): take a ParagraphList::iterator as arg.
4275         (getLayoutFont): ditto
4276         (getLabelFont): ditto
4277         (setCharFont): ditto
4278
4279         * text.C: adjust several funcs.
4280
4281 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4282
4283         * text.C (selectNextWordToSpellcheck): don't accidentally
4284         skip insets
4285
4286 2003-04-10  John Levon  <levon@movementarian.org>
4287
4288         * ToolbarBackend.C (getIcon): special handling for
4289         LFUN_MATH_DELIM
4290
4291 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4292
4293         * text2.C (cursorRight): a getChar assert fixed
4294
4295 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4296
4297         * text2.C (getFont): change to take a ParagraphList::iterator
4298         instead of Paragraph*
4299         Adjust several functions.
4300
4301         * text.C (transformChar): change to take a ParagraphList::iterator
4302         instead of Paragraph*
4303         (singleWidth): ditto
4304         Adjust several functions.
4305
4306         * rowpainter.C: adjust several functions
4307         * rowpainter.h:store a ParagraphList::iterator and not a
4308         Paragraph&.
4309
4310
4311 2003-04-09  John Levon  <levon@movementarian.org>
4312
4313         * lyxfunc.C:
4314         * lfuns.h:
4315         * LyXAction.h:
4316         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4317         and the "help" bits as well
4318
4319 2003-04-09  John Levon  <levon@movementarian.org>
4320
4321         * ToolbarBackend.h:
4322         * ToolbarBackend.C: allow multiple toolbars
4323
4324 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4325
4326         * undo_funcs.C (setCursorParUndo): adjust
4327
4328         * text_funcs.C (transposeChars): adjust
4329
4330         * text3.C (gotoNextInset): adjust
4331         (dispatch): adjust
4332
4333         * text2.C (setLayout): adjust
4334         (changeDepth): adjust
4335         (setFont): adjust
4336         (redoParagraphs): adjust
4337         (selectionAsString): adjust
4338         (setParagraph): adjust
4339         (insertInset): adjust
4340         (cutSelection): adjust
4341         (copySelection): adjust
4342         (pasteSelection): adjust
4343         (insertStringAsLines): adjust
4344         (updateInset): adjust
4345         (setCursor): change to take a ParagraphList::iterator parameter
4346         (setCursorIntern): change to take a ParagraphList::iterator parameter
4347         (setCurrentFont): adjust
4348         (cursorLeft): adjust
4349         (cursorRight): adjust
4350         (deleteEmptyParagraphMechanism): adjust
4351
4352         * text.C (breakParagraph): adjust
4353         (insertChar): adjust
4354         (acceptChange): adjust
4355         (rejectChange): adjust
4356         (selectNextWordToSpellcheck): adjust
4357         (changeCase): adjust
4358         (Delete): adjust
4359         (backspace): adjust
4360
4361         * lyxfind.C (SearchForward): adjust
4362         (SearchBackward): adjust
4363         (nextChange): adjust
4364
4365         * lyxcursor.C (par): adjust
4366
4367         * lyxcursor.h: store a ParagraphList::iterator instead of a
4368         Paragraph*
4369
4370         * lyx_cb.C (getPossibleLabel): adjust
4371
4372         * bufferview_funcs.C (toggleAndShow): adjust
4373
4374         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4375         (dispatch): adjust
4376
4377         * BufferView.C (removeAutoInsets): adjust
4378         (lockedInsetStoreUndo): adjust
4379
4380 2003-04-09  John Levon  <levon@movementarian.org>
4381
4382         * ToolbarBackend.C: try icon without argument
4383         if with argument fails
4384
4385 2003-04-08  John Levon  <levon@movementarian.org>
4386
4387         * ToolbarBackend.h:
4388         * ToolbarBackend.C: add getIcon(), handle tooltip,
4389         and change from "Icon" to "Item".
4390
4391 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4392
4393         * BufferView.C (lockInset): another bad getchar crunched
4394
4395 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4396
4397         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4398         again)
4399
4400 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4401
4402         * lyxfind.C (searchForward, searchBackwards): bug 782
4403
4404 2003-04-07  John Levon  <levon@movementarian.org>
4405
4406         * paragraph.C: remove dead comment
4407
4408         * text.C: remove troublesome depth-fiddling code
4409         in leftMargin() and rightMargin() (bug 1017)
4410
4411         * text.C: fix breaking of rows in nested lists
4412         (bug 1004)
4413
4414         * text2.C (updateCounters): fix up depth values
4415         (bug 1013)
4416
4417 2003-04-07  John Levon  <levon@movementarian.org>
4418
4419         * BufferView_pimpl.C: clear message when doc finishes resizing,
4420         and after a mouse event
4421
4422         * lyxfunc.C: clear message after exiting inset
4423
4424 2003-04-07  John Levon  <levon@movementarian.org>
4425
4426         * bufferview_funcs.C: show math status not outside
4427         status in the statusbar
4428
4429 2003-04-07  John Levon  <levon@movementarian.org>
4430
4431         * lyxfunc.C: note status changed after a depth change
4432
4433 2003-04-04  Angus Leeming  <leeming@lyx.org>
4434
4435         * LaTeX.h: move AuxInfo operator==, != out of line.
4436         Remove LaTeX virtual destructor; nothing derives from it.
4437         Move operator()() out of public area and rename it startscript().
4438         Change protected for private.
4439
4440 2003-04-04  Angus Leeming  <leeming@lyx.org>
4441
4442         * lyxfunc.C:
4443         * text2.C: remove unneeded #includes.
4444
4445 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4446
4447         * text2.C (dEPM): fix the heigth of the next row
4448
4449 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4450
4451         * text.C: squashed an invalid getChar requester + some ws changes
4452
4453 2003-04-03  John Levon  <levon@movementarian.org>
4454
4455         * bufferview_funcs.h:
4456         * bufferview_funcs.C:
4457         * lyxfunc.C:
4458         * lyxtext.h:
4459         * text2.C: make getStatus work for the env depth lfuns
4460
4461 2003-04-03  John Levon  <levon@movementarian.org>
4462
4463         * bufferview_funcs.h:
4464         * bufferview_funcs.C:
4465         * lyxfunc.C:
4466         * lyxtext.h:
4467         * text2.C: parlistize decDepth(), by merging it with incDepth()
4468
4469 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4470
4471         * lyxrow.h: store a ParagraphList::iterator instead of a
4472         Paragraph* and adjust other class functions to suit.
4473
4474         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4475         above.
4476
4477 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4478
4479         * text2.C (setCursor): do not anchor to cursor row for the time being
4480
4481 2003-04-02  John Levon  <levon@movementarian.org>
4482
4483         * LyXAction.C:
4484         * lfuns.h:
4485         * lyx_main.C:
4486         * lyxtext.h:
4487         * text.C:
4488         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4489
4490 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4491
4492         * paragraph.h: make ParagraphList and ParagraphList::iterator
4493         friends of Paragraph.
4494
4495         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4496
4497         * ParagraphList.C: Use the private next_ and previous_ from
4498         Paragraph.
4499
4500 2003-04-01  John Levon  <levon@movementarian.org>
4501
4502         * ToolbarBackend.h:
4503         * ToolbarBackend.C:
4504         * Makefile.am: rename, remove defaults gunk
4505
4506         * MenuBackend.h:
4507         * MenuBackend.C: remove defaults gunk
4508
4509         * Languages.h:
4510         * Languages.C: remove defaults gunk
4511
4512         * lyx_main.h:
4513         * lyx_main.C: error out if files couldn't be found.
4514
4515 2003-04-02  John Levon  <levon@movementarian.org>
4516
4517         * text2.C: make incDepth() use parlist
4518
4519 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4520
4521         * undo_funcs.C (firstUndoParagraph): adjust
4522
4523         * text3.C (gotoInset): adjust
4524         (dispatch): adjust, and rewrite loop.
4525
4526         * text2.C (init): adjust, and rewrite loop.
4527         (redoParagraphs): adjust
4528         (updateInset): adjust, and rewrite loop.
4529         (deleteEmptyParagraphMechanism): adjust
4530
4531         * tabular.C (LyXTabular): adjust
4532         (SetMultiColumn): adjust
4533         (TeXRow): adjust
4534
4535         * lyxtext.[Ch] (ownerParagraph): delete function
4536         (ownerParagraphs): new function returns a ParagraphList.
4537
4538         * BufferView.C (removeAutoInsets): adjust
4539         (insertErrors): adjust
4540         (setCursorFromRow): adjust
4541
4542 2003-04-01  Angus Leeming  <leeming@lyx.org>
4543
4544         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4545         in the frontends.
4546
4547 2003-04-02  John Levon  <levon@movementarian.org>
4548
4549         * lyxtext.h:
4550         * text.C:
4551         * Makefile.am:
4552         * text_funcs.h:
4553         * text_funcs.C: make transposeChars a free function
4554
4555         * lyxrow_funcs.C: remove wrong comment
4556
4557 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4558
4559         * lyxtext.h: adjust
4560         * rowpainter.C: adjust
4561         * text.C: adjust
4562         * text2.C: adjust
4563         * text3.C: adjust
4564
4565         * lyxrow_funcs. [Ch]: new files
4566
4567         * lyxrow.[Ch]: remove next and previous pointers
4568         (next,previous): remove accessor functions
4569         (isParEnd): move to lyxrow_funcs
4570         (lastPos): move to lyxrow_funcs
4571         (nextRowIsAllInset): move to lyxrow_funcs
4572         (lastPrintablePos): move to lyxrow_funcs
4573         (numberOfSeparators): move to lyxrow_funcs
4574         (numberOfHfills): move to lyxrow_funcs
4575         (numberOfLabelHfills): move to lyxrow_funcs
4576         (hfillExpansion): move to lyxrow_funcs
4577
4578         * lyxfunc.C: adjust
4579
4580         * bufferview_funcs.C (toggleAndShow): adjust
4581
4582         * RowList.h: Remove class RowList from file leave just a
4583         std::list<Row>.
4584
4585         * RowList.C: delete file
4586
4587         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4588         and lyxrow_funcs.h
4589
4590 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4591
4592         * text3.C (cursorPrevious): adjust
4593         (cursorNext): adjust
4594         (dispatch): adjust
4595
4596         * text2.C (redoHeightOfParagraph): adjust
4597         (redoDrawingOfParagraph): adjust
4598         (setCursor): adjust
4599
4600         * text.C (breakParagraph): adjust
4601         (insertChar): adjust
4602         (backspace): adjust
4603
4604         * rowpainter.C (RowPainter): adjust
4605         (leftMargin): simplify and adjust
4606         (most rowpainter functions): adjust.
4607
4608         * rowpainter.h: store the row as RowList::iterator not as Row*
4609
4610         * lyxcursor.C (row): taka RowList::iterator as arg
4611         (irow): ditto
4612
4613         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4614         of Row*.
4615
4616 2003-04-01  Angus Leeming  <leeming@lyx.org>
4617
4618         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4619         stuff like bool Bool.
4620
4621 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4622
4623         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4624         rewrite a loop
4625
4626 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4627
4628         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4629         RowList::iterator.
4630
4631         * lyxtext.h (rows): drop one version and leve a const variant that
4632         returns a RowList::iterator.
4633
4634 2003-03-31  Angus Leeming  <leeming@lyx.org>
4635
4636         * text.C (fill): ensure that the signature is the same as that in the
4637         header file.
4638
4639 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4640
4641         * text2.C (redoParagraphs): adjust
4642         (updateCounters): adjust
4643         (checkParagraph): adjust
4644         (getColumnNearX): adjust and reformat a bit.
4645
4646         * text.C (top_y): adjust
4647         (workWidth): adjust
4648         (leftMargin): adjust
4649         (prepareToPrint): adjust
4650         (getRow): adjust
4651         (getRowNearY): adjust
4652
4653         * lyxtext.h: make rowlist_ mutable.
4654
4655         * RowList.h: add const_iterator
4656         * RowList.C: adjust for RowList::const_iterator.
4657
4658         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4659         adjust.
4660
4661 2003-03-31  John Levon  <levon@movementarian.org>
4662
4663         * lyxrc.h:
4664         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4665
4666         * lyx_main.C: set default fonts from using lyx_gui funcs
4667
4668         * exporter.C: pdf_mode moved from lyxrc
4669
4670         * lyx_cb.C:
4671         * lyxfunc.C: changes from above
4672
4673 2003-03-31  John Levon  <levon@movementarian.org>
4674
4675         * lyx_main.C: fix to the last fix
4676
4677 2003-03-31  John Levon  <levon@movementarian.org>
4678
4679         * bufferlist.C: "Load original" -> "Load Original"
4680
4681         * converter.C:
4682         * exporter.C:
4683         * importer.C:
4684         * lyx_main.C:
4685         * format.C: more Alert cleanups
4686
4687 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4688
4689         * text2.C (removeParagraph): make it take a RowList::iterator as
4690         arg, adjust.
4691         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4692         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4693
4694         * text.C (anchor_row): make it take a RowList::iterator as arg,
4695         adjust.
4696         (computeBidiTables): make it take a const reference to Row instead
4697         of Row pointer, adjust.
4698         (leftMargin): make it take a RowList::iterator as arg, adjust.
4699         (rowBreakPoint): adjust
4700         (breakAgainOneRow): make it take a RowList::iterator as arg,
4701         adjust.
4702         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4703
4704         * bufferview_funcs.C (toggleAndShow): adjust
4705
4706 2003-03-30  John Levon  <levon@movementarian.org>
4707
4708         * Makefile.am:
4709         * BoostFormat.h:
4710         * boost-inst.C: moved to support
4711
4712         * several files: changes as a result
4713
4714 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4715
4716         * text2.C (LyXText): adjust.
4717         (init): adjust
4718         (removeRow): make it take a RowList::iterator as arg, adjust.
4719         (fullRebreak): adjust
4720         (deleteEmptyParagraphMechanism): adjust
4721         (clearPaint): adjust
4722         (postPaint): adjust
4723
4724         * text.C (top_y): adjust
4725         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4726         (breakAgain): make it take a RowList::iterator as arg, adjust.
4727         (breakParagraph): adjust
4728         (insertChar): adjust
4729         (backspace): adjust
4730
4731         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4732         need_break_row, and refresh_row.
4733
4734         * text3.C (dispatch): adjust
4735
4736         * text2.C (checkParagraph): adjust
4737         (setCursor): adjust
4738         (setCursorFromCoordinates): adjust
4739
4740         * text.C (top_y): adjust
4741         (workWidth): adjust
4742         (getRow): make it return a RowList::iterator, adjust
4743         (getRowNearY): make it return a RowList::iterator, adjust
4744
4745         * text2.C (init): adjust
4746         (insertRow): remove function
4747         (insertParagraph): adjust
4748         (redoParagraphs): adjust
4749         (fullRebreak): adjust
4750         (updateCounters): adjust
4751
4752         * text.C (top_y): rewrite to use RowList iterators.
4753         (top_y): adjust
4754         (setHeightOfRow): rewrite to sue RowList iterators.
4755         (appendParagraph): adjust
4756         (breakAgain): adjust
4757         (breakAgainOneRow): adjust
4758         (breakParagraph): adjust
4759         (getRow): adjust
4760         (getRowNearY): adjust, and remove commented code.
4761
4762         * lyxtext.h (firstRow): delete function
4763         (lastRow): delete function
4764         (rows): new function (const and non-const versions.)
4765         (insertRow): delete function
4766
4767         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4768
4769 2003-03-29  John Levon  <levon@movementarian.org>
4770
4771         * BufferView_pimpl.C: always update scrollbar top
4772         because pasting text when we're anchored could mean we
4773         miss an update altogether
4774
4775 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4776
4777         * text2.C (init): use rowlist_.end() and not 0.
4778         (insertRow): change to take a RowList::iterator as arg, adjust
4779         for this.
4780         (insertParagraph): change to take a RowList::iterator as arg,
4781         adjust for this.
4782         (redoParagraphs): remove some debug msgs.
4783
4784         * text.C (appendParagraph): change to take a RowList::iterator
4785         arg, adjust for this.
4786         (breakAgain): add an assert
4787         (breakAgainOneRow): ditto
4788
4789 2003-03-29  John Levon  <levon@movementarian.org>
4790
4791         * text2.C: do not clear selection after inc/decDepth
4792         (bug 550)
4793
4794 2003-03-29  John Levon  <levon@movementarian.org>
4795
4796         * BufferView.C:
4797         * buffer.C: fix broken strerrors according to Lars
4798
4799 2003-03-29  John Levon  <levon@movementarian.org>
4800
4801         * converters.C: more Alert cleanups
4802
4803 2003-03-29  John Levon  <levon@movementarian.org>
4804
4805         * bufferview_funcs.C: remove pointless Alert
4806
4807         * buffer.C: fix confusing error message when
4808         a template is chmoded 000
4809
4810 2003-03-29  John Levon  <levon@movementarian.org>
4811
4812         * BufferView.C:
4813         * BufferView.h:
4814         * BufferView_pimpl.C: Alert fixes
4815
4816         * Makefile.am:
4817         * tabular.C:
4818         * tabular-old.C: remove unused table compat reading
4819
4820 2003-03-29  John Levon  <levon@movementarian.org>
4821
4822         * BufferView.C:
4823         * buffer.C:
4824         * lyx_cb.h:
4825         * lyx_cb.C: more Alert cleanups
4826
4827         * lyxfunc.C: don't allow chktex if not latex document
4828
4829 2003-03-29  John Levon  <levon@movementarian.org>
4830
4831         * lyx_cb.C:
4832         * BufferView.C:
4833         * buffer.C: warnings pushed down from support/,
4834         kill err_alert
4835
4836 2003-03-29  John Levon  <levon@movementarian.org>
4837
4838         * lyxfunc.C: safety check for C-r (revert)
4839
4840 2003-03-29  John Levon  <levon@movementarian.org>
4841
4842         * bufferlist.h:
4843         * bufferlist.C: several UI fixes using Alert::prompt.
4844         Fix the pointless looping quit code. Fix stupid revert
4845         behaviour (bug 938)
4846
4847         * lyxvc.h:
4848         * lyxvc.C:
4849         * lyx_cb.C: use Alert::prompt
4850
4851         * lyx_main.C: remove a silly question
4852
4853         * lyxfunc.C: remove a couple of silly questions,
4854         use Alert::prompt
4855
4856 2003-03-28  John Levon  <levon@movementarian.org>
4857
4858         * text2.C: fix bug 974 (End on empty par)
4859
4860 2003-03-28  John Levon  <levon@movementarian.org>
4861
4862         * BufferView_pimpl.C:
4863         * LyXAction.C:
4864         * lfuns.h: remove do-nothing math greek lfuns
4865
4866 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4867
4868         * lyxgluelength.h (isValidGlueLength): add default arg on
4869         parameter 2. Remove default arg from friend in class.
4870
4871         * lyxlength.h (isValidLength): add default arg on parameter 2.
4872         Remove default arg from friend in class.
4873
4874         * text2.C (LyXText): adjust, initialize refresh_row.
4875         (init): adjust
4876         (removeRow): adjust
4877         (insertRow): adjust
4878         (insertParagraph): adjst
4879         (redoParagraphs): adjust
4880         (fullRebreak): adjust
4881         (updateCounters): adjust
4882         (deleteEmptyParagraphMechanism): first attempt at fixing a
4883         crashing bug.
4884
4885         * text.C (top_y): adjust
4886         (setHeightOfRow): adjust
4887         (getRow): adjust
4888         (getRowNearY): adjust
4889
4890         * lyxtext.h: include RowList.h
4891         (~LyXText): not needed anymore, deleted.
4892         (firstRow): modify for RowList
4893         (lastRow): new function
4894         Delete firstrow and lastrow class variables, add a Rowlist
4895         rowlist_ class variable.
4896
4897         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4898         paragraph is empty.
4899
4900         * RowList.C (insert): fix case where it == begin().
4901
4902 2003-03-26  Angus Leeming  <leeming@lyx.org>
4903
4904         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4905         the thesaurus dialog.
4906
4907 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4908
4909         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4910
4911         * RowList.[Ch]: new files
4912
4913         * ParagraphList.C (erase): handle the case where it == begin
4914         correctly.
4915
4916 2003-03-25  John Levon  <levon@movementarian.org>
4917
4918         * Makefile.am:
4919         * aspell_local.h:
4920         * aspell.C: add new aspell support
4921
4922         * lyxrc.h:
4923         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4924         have it accessible.
4925
4926 2003-03-25  Angus Leeming  <leeming@lyx.org>
4927
4928         * lfuns.h:
4929         * LyXAction.C (init): new LFUN_INSET_INSERT.
4930
4931         * BufferView_pimpl.C (dispatch): split out part of the
4932         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4933
4934         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4935         LFUN_INSET_APPLY.
4936
4937 2003-03-25  Angus Leeming  <leeming@lyx.org>
4938
4939         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4940
4941 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4942
4943         * text2.C:
4944         * text3.C: remove useless row->height(0)
4945
4946 2003-03-25  John Levon  <levon@movementarian.org>
4947
4948         * lyxtext.h:
4949         * text2.C:
4950         * text3.C: rename the refreshing stuff to better names
4951
4952 2003-03-24  John Levon  <levon@movementarian.org>
4953
4954         * BufferView_pimpl.h:
4955         * BufferView_pimpl.C: update layout choice on a mouse
4956         press/release
4957
4958 2003-03-23  John Levon  <levon@movementarian.org>
4959
4960         * Makefile.am: fix commandtags.h reference
4961
4962 2003-03-22  John Levon  <levon@movementarian.org>
4963
4964         * BufferView_pimpl.C:
4965         * lyxtext.h:
4966         * rowpainter.C:
4967         * rowpainter.h:
4968         * text.C:
4969         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4970
4971 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4972
4973         * lyxtext.h:
4974         * text.C: take the rtl methods out of line
4975
4976 2003-03-21 André Pönitz <poenitz@gmx.net>
4977
4978         * metricsinfo.[Ch]: new files containing structures to be passed around
4979         during the two-phase-drawing...
4980
4981 2003-03-21 André Pönitz <poenitz@gmx.net>
4982
4983         * lyxtextclass.C: read 'environment' tag.
4984
4985 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4986
4987         * text2.C (removeRow): fix bug 964
4988
4989 2003-03-20  John Levon  <levon@movementarian.org>
4990
4991         * rowpainter.C:
4992         * text.C:
4993         * text2.C: paint cleanups. Inset::update() dropped font
4994         parameter
4995
4996 2003-03-19  John Levon  <levon@movementarian.org>
4997
4998         * lyxfunc.C: only fitcursor/markDirty if available()
4999
5000 2003-03-19  John Levon  <levon@movementarian.org>
5001
5002         * commandtags.h: rename to ...
5003
5004         * lfuns.h: ... this, and renumber / cleanup
5005
5006 2003-03-19  John Levon  <levon@movementarian.org>
5007
5008         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5009         fit the cursor after an lfun
5010
5011         * BufferView.h:
5012         * BufferView.C:
5013         * BufferView_pimpl.h:
5014         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5015
5016         * LyXAction.C: layout-character should have ReadOnly
5017
5018         * ParagraphParameters.C:
5019         * buffer.C:
5020         * bufferview_funcs.C:
5021         * lyx_cb.C:
5022         * lyxfind.C:
5023         * lyxtext.h:
5024         * text.C:
5025         * text2.C:
5026         * text3.C:
5027         * undo_funcs.C: changes from above
5028
5029 2003-03-18  John Levon  <levon@movementarian.org>
5030
5031         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5032         remove it from update()
5033
5034         * lyxfunc.C: update layout choice after an lfun
5035
5036         * text3.C: remove extra updateLayoutChoice()s
5037
5038 2003-03-18  John Levon  <levon@movementarian.org>
5039
5040         * text.C: top_y change means full repaint, fix
5041         a drawing bug with cursor movement
5042
5043 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5044
5045         * lyxtext.h:
5046         * text.C:
5047         * text2.C: anchor row on setCursor
5048
5049 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5050
5051         * lyxtext.h: remove almost all mutable keywords
5052         * text.C:
5053         * text2.C:
5054         * text3.C: remove const keywords accordingly
5055
5056 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5057
5058         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5059         anon namespace
5060         (TeXEnvironment): ditto
5061         (TeXOnePar): ditto
5062
5063 2003-03-17  John Levon  <levon@movementarian.org>
5064
5065         * text.C (rowBreakPoint): remove attempt to fix displayed
5066         math insets inside a manual label
5067
5068 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5069
5070         * lyxtext.h: remove BufferView* as first arg from almost all class
5071         functions.
5072         * other files: adjust.
5073
5074 2003-03-17  John Levon  <levon@movementarian.org>
5075
5076         * lyxtext.h:
5077         * undo_funcs.C:
5078         * text2.C: more paint cleanups
5079
5080         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5081
5082         * rowpainter.h:
5083         * rowpainter.C: remove "smart" background painting code
5084
5085 2003-03-16  John Levon  <levon@movementarian.org>
5086
5087         * lyxtext.h:
5088         * text.C:
5089         * text2.C:
5090         * text3.C: add helper functions for setting refresh_row/y
5091
5092 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5093
5094         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5095         newline inset which *can* get inserted in the pass_thru layouts.
5096         This is primarily for literate documents.
5097
5098 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5099
5100         * buffer.C: increment LYX_FORMAT to 223
5101
5102 2003-03-14 André Pönitz <poenitz@gmx.net>
5103
5104         * textclass.h: prepare for environment handling, ws changes
5105         * lyxlayout.C: read latexheader and latexfooter tags
5106
5107 2003-03-14  John Levon  <levon@movementarian.org>
5108
5109         * text2.C: rewrite ::status() a bit
5110
5111 2003-03-13  John Levon  <levon@movementarian.org>
5112
5113         * lyxtext.h: add some docs
5114
5115 2003-03-13  John Levon  <levon@movementarian.org>
5116
5117         * lyxtext.h:
5118         * text.C:
5119         * text2.C:
5120         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5121
5122 2003-03-13  John Levon  <levon@movementarian.org>
5123
5124         * text3.C: fix appendix redrawing
5125
5126 2003-03-13  John Levon  <levon@movementarian.org>
5127
5128         * text.C (setHeightOfRow):
5129         * rowpainter.h:
5130         * rowpainter.C: make appendix mark have the text
5131           "Appendix" so the user knows what it is
5132
5133         * LColor.h:
5134         * LColor.C: s/appendixline/appendix/ from above
5135
5136 2003-03-13  John Levon  <levon@movementarian.org>
5137
5138         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5139
5140         * text.C: fix a getChar(pos) bug properly
5141
5142 2003-03-13  Angus Leeming  <leeming@lyx.org>
5143
5144         * commandtags.h:
5145         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5146         Probably only temporary. Let's see how things pan out.
5147
5148         * BufferView.C (unlockInset):
5149         * BufferView_pimpl.C (fitCursor):
5150         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5151
5152         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5153         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5154
5155         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5156         new functions that convert ParagraphParameters to and from a string.
5157
5158         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5159         BufferView::Pimpl's dispatch.
5160         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5161
5162 2003-03-13 André Pönitz <poenitz@gmx.net>
5163
5164         * lyxfunc.C:
5165         * text3.C:
5166         * factory.C: make it aware of InsetEnv
5167
5168 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * text2.C (setCursor): never ask for one past last
5171         (setCursor): add some debugging messages.
5172
5173         * text.C (singleWidth): never ask for one past last
5174         (singleWidth): ditto
5175         (leftMargin): ditto
5176         (rightMargin): ditto
5177         (rowBreakPoint): ditto
5178         (setHeightOfRow): ditto
5179         (prepareToPrint): ditto
5180
5181         * rowpainter.C (paintBackground): never ask for one past last
5182         (paintText): never ask for one past last
5183
5184         * paragraph_pimpl.C (getChar): make the assert stricter, never
5185         allow the one past last pos to be taken
5186
5187         * paragraph.C (getChar): ws changes only
5188
5189         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5190         (numberOfSeparators): ditto
5191         (numberOfHfills): ditto
5192
5193 2003-03-12  John Levon  <levon@movementarian.org>
5194
5195         * author.h:
5196         * author.C:
5197         * bufferparams.h:
5198         * bufferparams.C:
5199         * paragraph_funcs.C: fix per-buffer authorlists
5200
5201 2003-03-12  John Levon  <levon@movementarian.org>
5202
5203         * text.C: fix newline in right address
5204
5205 2003-03-12  Angus Leeming  <leeming@lyx.org>
5206
5207         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5208         duplicate those in LyXFunc::dispatch.
5209
5210         * commandtags.h:
5211         * LyXAction.C:
5212         * ToolbarDefaults.C:
5213         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5214         Add LFUN_FONTFREE_UPDATE.
5215
5216         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5217         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5218
5219         * bufferview_func.[Ch]: several new functions to facilliate
5220         transfer of data to and from the character dialog.
5221
5222 2003-03-12  John Levon  <levon@movementarian.org>
5223
5224         * buffer.C:
5225         * paragraph.h:
5226         * paragraph.C:
5227         * paragraph_funcs.C:
5228         * paragraph_pimpl.C:
5229         * sgml.C:
5230         * tabular.C:
5231         * text.C:
5232         * text3.C: remove META_NEWLINE in favour of an inset
5233
5234         * rowpainter.h:
5235         * rowpainter.C: remove paintNewline (done by inset)
5236
5237 2003-03-12  John Levon  <levon@movementarian.org>
5238
5239         * paragraph_pimpl.C: complain about bad getChar()s
5240         for a while at least
5241
5242 2003-03-12  John Levon  <levon@movementarian.org>
5243
5244         * buffer.h:
5245         * buffer.C: move paragraph read into a separate function,
5246         a little renaming to reflect that.
5247
5248         * bufferparams.h:
5249         * bufferparams.C: remove the author_ids map, not necessary now
5250
5251         * factory.h:
5252         * factory.C: moved Buffer::readInset to here
5253
5254         * paragraph_funcs.h:
5255         * paragraph_funcs.C: readParagraph free function moved from
5256         buffer.C
5257
5258         * tabular.C: name change
5259
5260 2003-03-12  John Levon  <levon@movementarian.org>
5261
5262         * buffer.C:
5263         * ParagraphParameters.C: move par params input to
5264         a read() method
5265
5266         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5267         behave like a normal read from the stream wrt reading
5268         a line vs. a \\token
5269
5270 2003-03-12  John Levon  <levon@movementarian.org>
5271
5272         * paragraph.C:
5273         * ParagraphParameters.h:
5274         * ParagraphParameters.C: move output code to a
5275         ::write() method
5276
5277 2003-03-12  John Levon  <levon@movementarian.org>
5278
5279         * BufferView.C (insertLyXFile):
5280         * buffer.h:
5281         * buffer.C:
5282         * tabular.C: use a parlist iterator for creating the
5283           document.
5284
5285 2003-03-12  John Levon  <levon@movementarian.org>
5286
5287         * buffer.C: make current_change static local not
5288           static file-scope
5289
5290 2003-03-12  John Levon  <levon@movementarian.org>
5291
5292         * buffer.C: fix insertStringAsLines for change tracking
5293
5294 2003-03-12  John Levon  <levon@movementarian.org>
5295
5296         * BufferView.C:
5297         * tabular.C:
5298         * buffer.h:
5299         * buffer.C:
5300         * bufferparams.h:
5301         * bufferparams.C: move author list into params. Rename some
5302           functions. Move the header reading into a separate token
5303           loop. Move the header token reading into BufferParams.
5304
5305 2003-03-12  John Levon  <levon@movementarian.org>
5306
5307         * changes.C: put debug inside lyxerr.debugging() checks
5308
5309 2003-03-11 André Pönitz <poenitz@gmx.net>
5310
5311         * factory.C: make it aware of InsetHFill
5312
5313 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5314
5315         * buffer.C (latexParagraphs): move function from here...
5316         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5317         args.
5318
5319 2003-03-10  Angus Leeming  <leeming@lyx.org>
5320
5321         * LyXAction.C (init): fix bug in poplating array with multiple entries
5322         with the same LFUN (spotted by JMarc).
5323
5324 2003-03-10  John Levon  <levon@movementarian.org>
5325
5326         * text.C:
5327         * text2.C: move getColumnNearX() near its
5328         only call site
5329
5330 2003-03-10  John Levon  <levon@movementarian.org>
5331
5332         * text.C: fix break before a minipage
5333
5334 2003-03-10  John Levon  <levon@movementarian.org>
5335
5336         * text.C: fix the last commit
5337
5338 2003-03-09  John Levon  <levon@movementarian.org>
5339
5340         * lyxtext.h:
5341         * text.C:
5342         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5343         bug 365 (don't break before insets unless needed). Don't
5344         return a value > last under any circumstances.
5345
5346 2003-03-09  Angus Leeming  <leeming@lyx.org>
5347
5348         * BufferView_pimpl.C (trackChanges, dispatch): call
5349         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5350
5351 2003-03-09  Angus Leeming  <leeming@lyx.org>
5352
5353         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5354         than Dialogs::showAboutlyx().
5355
5356 2003-03-09  Angus Leeming  <leeming@lyx.org>
5357
5358         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5359         than Dialogs::showTabularCreate().
5360
5361 2003-03-09  John Levon  <levon@movementarian.org>
5362
5363         * lyxtext.h:
5364         * text.C:
5365         * text2.C: 3rd arg to nextBreakPoint was always the same.
5366           Use references.
5367
5368 2003-03-08  John Levon  <levon@movementarian.org>
5369
5370         * lyxrow.C:
5371         * paragraph.C:
5372         * paragraph.h:
5373         * rowpainter.C:
5374         * text.C:
5375         * text2.C: Remove the "main" bit from the "main body"
5376           notion.
5377
5378 2003-03-08  John Levon  <levon@movementarian.org>
5379
5380         * text.C (leftMargin): The left margin of an empty
5381         manual label paragraph should not include the label width
5382         string length.
5383
5384         * text.C (prepareToPrint): don't attempt to measure hfills
5385         for empty manual label paragraphs - the answer should be 0
5386
5387 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5388
5389         * CutAndPaste.C: remove commented code and reindent.
5390
5391 2003-03-08  John Levon  <levon@movementarian.org>
5392
5393         * lyxfunc.h:
5394         * lyxfunc.C: move reloadBuffer()
5395
5396         * BufferView.h:
5397         * BufferView.C: to here
5398
5399         * lyxvc.C: add comment
5400
5401         * vc-backend.h:
5402         * vc-backend.C: call bv->reload() to avoid
5403           getStatus() check on MENURELOAD
5404
5405 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5406
5407         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5408         to an old format .dep file.
5409
5410 2003-03-07  Angus Leeming  <leeming@lyx.org>
5411
5412         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5413         when the LFUN_MOUSE_RELEASE should have been handled by
5414         inset->localDispatch.
5415
5416 2003-03-07  Angus Leeming  <leeming@lyx.org>
5417
5418         * BufferView_pimpl.C (dispatch):
5419         * LyXAction.C (init):
5420         * ToolbarDefaults.C (init):
5421         * commandtags.h:
5422         * lyxfunc.C (getStatus):
5423         remove LFUN_INSET_GRAPHICS.
5424
5425         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5426
5427 2003-03-07  Angus Leeming  <leeming@lyx.org>
5428
5429         * commandtags.h:
5430         * LyXAction.C (init):
5431         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5432
5433         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5434
5435         * commandtags.h:
5436         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5437
5438         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5439         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5440
5441 2003-03-07  Angus Leeming  <leeming@lyx.org>
5442
5443         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5444         remove "ert".
5445
5446 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5447
5448         * ParagraphList.C (front): new function
5449         (back): implement
5450
5451 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5452
5453         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5454         and top_row_offset_. removed var first_y.
5455         * text.C (top_y):
5456         * text2.C (LyXText, removeRow):
5457         * text3.C:
5458         * BufferView_pimpl.C:
5459         use these methods instead of using first_y
5460
5461 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5462
5463         * text2.C (pasteSelection): adjust for checkPastePossible
5464
5465         * CutAndPaste.C: remove Paragraph * buf and replace with
5466         ParagraphList paragraphs.
5467         (DeleteBuffer): delete
5468         (cutSelection): change the tc type to textclass_type
5469         (copySelection): change the tc type to textclass_type
5470         (copySelection): adjust for ParagraphList
5471         (pasteSelection): change the tc type to textclass_type
5472         (pasteSelection): adjust for Paragraphlist
5473         (nrOfParagraphs): simplify for ParagraphList
5474         (checkPastePossible): simplify for ParagraphList
5475         (checkPastePossible): remove unused arg
5476
5477         * ParagraphList.C (insert): handle the case where there are no
5478         paragraphs yet.
5479
5480         * CutAndPaste.h: make CutAndPaste a namespace.
5481
5482         * text3.C (dispatch): adjust
5483
5484         * text.C (breakParagraph): add a ParagraphList as arg
5485
5486         * paragraph_funcs.C (breakParagraph): change to take a
5487         BufferParams and a ParagraphList as args.
5488         (breakParagraphConservative): ditto
5489         (mergeParagraph): ditto
5490         (TeXDeeper): add a ParagraphList arg
5491         (TeXEnvironment): ditto
5492         (TeXOnePar): ditto
5493
5494         * buffer.C (readLyXformat2): adjust
5495         (insertStringAsLines): adjust
5496         (latexParagraphs): adjust
5497
5498         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5499         (cutSelection): adjust
5500         (pasteSelection): adjust
5501
5502         * BufferView_pimpl.C (insertInset): adjust
5503
5504 2003-03-05  Angus Leeming  <leeming@lyx.org>
5505
5506         * commandtags.h:
5507         * LyXAction.C (init):
5508         * BufferView_pimpl.C (dispatch):
5509         * lyxfunc.C (getStatus):
5510         remove LFUN_CHILD_INSERT.
5511
5512         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5513
5514 2003-03-05  Angus Leeming  <leeming@lyx.org>
5515
5516         * commandtags.h:
5517         * LyXAction.C (init):
5518         * src/factory.C (createInset):
5519         * lyxfunc.C (getStatus):
5520         * text3.C (dispatch):
5521         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5522
5523         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5524
5525 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5526
5527         * ParagraphList.C (insert): handle insert right before end()
5528         (erase): fix cases where it can be first or last paragraph.
5529
5530 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5531
5532         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5533         Paragraph::next and Paragraph::previous
5534         (TeXOnePar): ditto
5535
5536         * text.C (breakParagraph): adjust
5537
5538         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5539         BufferParams& as arg.
5540         (breakParagraph): use ParagraphList::insert
5541         (breakParagraphConservative): take a Buffer* instead of a
5542         BufferParams& as arg.
5543         (breakParagraphConservative): use ParagraphList::insert.
5544
5545         * buffer.C (insertStringAsLines): un-const it
5546         (insertStringAsLines): adjust
5547
5548         * ParagraphList.C (insert): new function
5549
5550         * CutAndPaste.C (pasteSelection): adjust
5551
5552         * text.C (backspace): adjust
5553
5554         * tabular.C (SetMultiColumn): adjust
5555
5556         * CutAndPaste.C (cutSelection): adjust
5557         (pasteSelection): adjust
5558
5559         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5560         Buffer const * as arg
5561
5562         * ParagraphList.C (erase): new function
5563         * paragraph_funcs.C (mergeParagraph): use it
5564         (mergeParagraph): make it take a Buffer* instead of a
5565         BufferParams* as arg
5566
5567         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5568         as arg
5569         (breakParagraphConservative): ditto
5570
5571         * paragraph.h: remove the breakParagraph friend
5572
5573         * paragraph.C (eraseIntern): new function
5574         (setChange): new function
5575
5576         * paragraph_funcs.C (mergeParagraph): make it take a
5577         ParagraphList::iterator instead of a Paragraph *, adjust
5578         accordingly.
5579
5580         * paragraph.h: move an #endif so that the change tracking stuff
5581         also works in the NO_NEXT case.
5582
5583 2003-03-04  Angus Leeming  <leeming@lyx.org>
5584
5585         * commandtags.h:
5586         * LyXAction.C: new LFUN_INSET_MODIFY.
5587
5588         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5589         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5590
5591 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5592
5593         * several files: ws changes only
5594
5595         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5596         (TeXEnvironment): ditto
5597         (TeXDeeper): ditto
5598
5599         * buffer.C (makeLaTeXFile): adjust
5600         (latexParagraphs): make it take ParagraphList::iterator as args
5601
5602 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5603
5604         * buffer.C (latexParagraphs): adjust
5605
5606         * paragraph.C (TeXOnePar): move function...
5607         (optArgInset): move function...
5608         (TeXEnvironment): move function...
5609         * paragraph_pimpl.C (TeXDeeper): move function...
5610         * paragraph_funcs.C: ...here
5611
5612         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5613
5614 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5615
5616         * buffer.C (readInset): remove compability code for old Figure and
5617         InsetInfo insets
5618
5619 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5620
5621         * buffer.C: ws changes
5622         (readInset):
5623
5624         * BufferView_pimpl.C: ditto
5625         * author.C: ditto
5626         * buffer.h: ditto
5627         * bufferlist.h: ditto
5628         * changes.h: ditto
5629         * lyxfunc.C: ditto
5630
5631 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5632
5633         * converter.[Ch]: split into itself +
5634         * graph.[Ch]
5635         * format.[Ch]
5636         * Makefile.am: += graph.[Ch] + format.[Ch]
5637         * MenuBackend.C
5638         * buffer.C
5639         * exporter.C
5640         * importer.C
5641         * lyx_main.C
5642         * lyxfunc.C
5643         * lyxrc.C: added #include "format.h"
5644
5645 2003-02-27  Angus Leeming  <leeming@lyx.org>
5646
5647         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5648           a label.
5649
5650         * factory.C (createInset): add "label" to the factory.
5651
5652         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5653           string and do no more.
5654
5655 2003-02-27  Angus Leeming  <leeming@lyx.org>
5656
5657         * commandtags.h:
5658         * LyXAction.C (init):
5659         * factory.C (createInset):
5660         * BufferView_pimpl.C (dispatch):
5661           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5662
5663         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5664
5665         * lyxfunc.C (dispatch):
5666         * text3.C (dispatch): pass name to params2string.
5667
5668 2003-02-26  Angus Leeming  <leeming@lyx.org>
5669
5670         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5671           blocks together.
5672           Rearrange the ~includes. Strip out the unnecessary ones.
5673
5674         * factory.C (createInset): reformat.
5675           create new insets for the various LFUN_XYZ_APPLY lfuns.
5676
5677 2003-02-26  John Levon  <levon@movementarian.org>
5678
5679         * lyxrow.h:
5680         * lyxrow.C: add isParStart,isParEnd helpers
5681
5682         * paragraph.h: make isInserted/DeletedText take refs
5683
5684         * paragraph_funcs.h:
5685         * paragraph_funcs.C: remove #if 0'd code
5686
5687         * lyxtext.h:
5688         * text3.C:
5689         * text2.C:
5690         * text.C: use lyxrow helpers above.
5691           Move draw and paint routines to RowPainter.
5692           Make several methods use refs not pointers.
5693           Make backgroundColor() const.
5694           Add markChangeInDraw(), isInInset().
5695           Merge changeRegionCase into changeCase.
5696           Make workWidth() shouldn't-happen code into an Assert.
5697
5698         * rowpainter.h:
5699         * rowpainter.C: new class for painting a row.
5700
5701         * vspace.h:
5702         * vspace.C: make inPixels take a ref
5703
5704 2003-02-26  Angus Leeming  <leeming@lyx.org>
5705
5706         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5707         LFUN_REF_APPLY.
5708
5709 2003-02-25  John Levon  <levon@movementarian.org>
5710
5711         * ispell.C: give the forked command a more accurate name
5712
5713 2003-02-22  John Levon  <levon@movementarian.org>
5714
5715         * toc.h:
5716         * toc.C: make TocItem store an id not a Paragraph *
5717           (bug #913)
5718
5719 2003-02-21  Angus Leeming  <leeming@lyx.org>
5720
5721         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5722           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5723           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5724           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5725           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5726           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5727
5728         * BufferView_pimpl.C (dispatch):
5729         * LyXAction.C (init):
5730         * factory.C (createInset):
5731         * lyxfunc.C (getStatus, dispatch):
5732         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5733
5734 2003-02-21  Angus Leeming  <leeming@lyx.org>
5735
5736         * BufferView_pimpl.C (MenuInsertLyXFile):
5737         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5738         * lyxfunc.C (menuNew, open, doImport):
5739           no longer pass a LyXView & to fileDlg.
5740
5741 2003-02-21  Angus Leeming  <leeming@lyx.org>
5742
5743         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5744         * LyXAction.C: change, BIBKEY to BIBITEM.
5745         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5746         Change InsetBibKey to InsetBibitem.
5747         Change BIBKEY_CODE to BIBITEM_CODE.
5748         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5749         * factory.C: replace insetbib.h with insetbibitem.h.
5750         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5751         * paragraph.C: replace insetbib.h with insetbibitem.h.
5752         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5753         Change bibkey() to bibitem().
5754         * text.C: remove insetbib.h.
5755         * text2.C: replace insetbib.h with insetbibitem.h.
5756         change bibkey() to bibitem().
5757         * text3.C: remove insetbib.h.
5758         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5759
5760 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5761
5762         * lyxrc.C (output): enclose user email in quotes (in case there are
5763         several words)
5764
5765 2003-02-18  John Levon  <levon@movementarian.org>
5766
5767         * buffer.h: add std::
5768
5769 2003-02-17  John Levon  <levon@movementarian.org>
5770
5771         * SpellBase.h:
5772         * ispell.h:
5773         * ispell.C:
5774         * pspell.h:
5775         * pspell.C: reworking. Especially in ispell, a large
5776           number of clean ups and bug fixes.
5777
5778         * lyxfunc.C: fix revert to behave sensibly
5779
5780 2003-02-17 André Pönitz <poenitz@gmx.net>
5781
5782         * LyXAction.C:
5783         * commandtags.h: new LFUN_INSERT_BIBKEY
5784
5785         * layout.h:
5786         * lyxlayout.C:
5787         * buffer.C:
5788         * factory.C:
5789         * text.C:
5790         * text2.C:
5791         * text3.C:
5792         * paragraph.[Ch]:
5793         * paragraph_func.C: remove special bibkey handling
5794
5795 2003-02-17  John Levon  <levon@movementarian.org>
5796
5797         * text.C (Delete): fix case where delete at the end of
5798           the very first paragraph would not merge the pars
5799
5800 2003-02-17  John Levon  <levon@movementarian.org>
5801
5802         * lyxrow.C: fix lastPrintablePos()
5803
5804 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5805
5806         * bufferparams.C (writeLaTeX): add a std:here
5807
5808         * buffer.C: and remove a using directive there
5809
5810 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5811
5812         * buffer.C (makeLaTeXFile): move the code that generates the
5813           preamble...
5814
5815         * bufferparams.C (writeLaTeX): ... in this new method
5816
5817         * LaTeXFeatures.C (getEncodingSet): make const
5818           (getLanguages): make const
5819
5820         * MenuBackend.C (binding): returns the binding associated to this
5821           action
5822           (add): sets the status of each item by calling getStatus. Adds
5823           some intelligence.
5824           (read): add support for OptSubMenu
5825           (expand): remove extra separator at the end of expanded menu
5826
5827 2003-02-15  John Levon  <levon@movementarian.org>
5828
5829         * BufferView.C:
5830         * BufferView_pimpl.C:
5831         * bufferlist.h:
5832         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5833           inset code that had no actual effect. Remove unneeded status
5834           code.
5835
5836 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5837
5838         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5839           in preamble
5840
5841 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5842
5843         * text.C (drawLengthMarker): also draw an arrow marker for
5844           symbolic lengths (medskip...)
5845
5846 2003-02-14  John Levon  <levon@movementarian.org>
5847
5848         * tabular.h:
5849         * tabular.C: better method names
5850
5851 2003-02-14  John Levon  <levon@movementarian.org>
5852
5853         * BufferView_pimpl.C:
5854         * bufferlist.C:
5855         * buffer.C:
5856         * converter.C:
5857         * lyx_cb.C:
5858         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5859           it's a more accurate name. Remove some pointless uses.
5860
5861 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5862
5863         * text2.C (LyXText): change order of initilizers to shut off
5864           warnings
5865
5866 2003-02-14  John Levon  <levon@movementarian.org>
5867
5868         * buffer.C: use ParIterator for getParFromID()
5869
5870         * paragraph.h:
5871         * paragraph.C:
5872         * paragraph_pimpl.h:
5873         * paragraph_pimpl.C: remove unused getParFromID()
5874
5875 2003-02-14  John Levon  <levon@movementarian.org>
5876
5877         * buffer.C: remove some very old #if 0'd parse code
5878
5879 2003-02-13  John Levon  <levon@movementarian.org>
5880
5881         * text.h:
5882         * text.C:
5883         * text2.C: move hfillExpansion(), numberOfSeparators(),
5884           rowLast(), rowLastPrintable(), numberofHfills(),
5885           numberOfLabelHfills() ...
5886
5887         * lyxrow.h:
5888         * lyxrow.C: ... to member functions here.
5889
5890         * paragraph.h:
5891         * paragraph.C:
5892         * lyxtext.h:
5893         * text.C: remove LyXText::beginningOfMainBody(), and call
5894           p->beginningOfMainBody() directly. Move the check for
5895           LABEL_MANUAL into the latter.
5896
5897         * text.h:
5898         * text.C:
5899         * text2.C:
5900         * vspace.C:
5901         * BufferView.h:
5902         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5903
5904         * text.h:
5905         * text.C:
5906         * text2.C:
5907         * text3.C:
5908         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5909           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5910
5911 2003-02-13  John Levon  <levon@movementarian.org>
5912
5913         * CutAndPaste.C: remove debug
5914
5915 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5916
5917         * paragraph.C (asString): remove two unused variables
5918
5919         * lyxtextclass.C (readTitleType):
5920           (Read):
5921           (LyXTextClass): handle new members titletype_ and titlename_
5922
5923         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5924
5925 2003-02-09  John Levon  <levon@movementarian.org>
5926
5927         * buffer.h:
5928         * buffer.C: replace hand-coded list with a map for the dep clean
5929
5930 2003-02-08  John Levon  <levon@movementarian.org>
5931
5932         * LaTeX.C: consolidate code into showRunMessage() helper
5933
5934 2003-02-08  John Levon  <levon@movementarian.org>
5935
5936         * lyxfind.C:
5937         * lyxtext.h:
5938         * text2.C:
5939         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5940           and pass the size in explicitly
5941
5942         * BufferView_pimpl.h:
5943         * BufferView_pimpl.C:
5944         * BufferView.h:
5945         * BufferView.C: add getCurrentChange()
5946
5947         * BufferView_pimpl.h:
5948         * BufferView_pimpl.C: handle change lfuns
5949
5950         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5951           for changes. Mark pasted paragraphs as new.
5952
5953         * support/lyxtime.h:
5954         * support/lyxtime.C:
5955         * DepTable.C: abstract time_t as lyx::time_type
5956
5957         * LColor.h:
5958         * LColor.C: add colours for new text, deleted text, changebars
5959
5960         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5961           package use "usenames" option.
5962
5963         * commandtags.h:
5964         * lyxfunc.C:
5965         * LyXAction.C: add change lfuns
5966
5967         * Makefile.am:
5968         * author.h:
5969         * author.C: author handling
5970
5971         * buffer.h:
5972         * buffer.C: add a per-buffer author list, with first entry as
5973           current author. Handle new .lyx tokens for change tracking. Output
5974           author list to .lyx file. Output dvipost stuff to .tex preamble.
5975           Bump lyx format to 222.
5976
5977         * bufferlist.h:
5978         * bufferlist.C: add setCurrentAuthor() to reset current author details
5979           in all buffers.
5980
5981         * bufferparams.h:
5982         * bufferparams.C: add param for tracking
5983
5984         * bufferview_funcs.C: output change info in minibuffer
5985
5986         * Makefile.am:
5987         * changes.h:
5988         * changes.C: add change-tracking structure
5989
5990         * debug.h:
5991         * debug.C: add CHANGES debug flag
5992
5993         * lyxfind.h:
5994         * lyxfind.C: add code for finding the next change piece
5995
5996         * lyxrc.h:
5997         * lyxrc.C: add user_name and user_email
5998
5999         * lyxrow.h:
6000         * lyxrow.C: add a metric for the top of the text line
6001
6002         * lyxtext.h:
6003         * text.C: implement accept/rejectChange()
6004
6005         * lyxtext.h:
6006         * text.C: paint changebars. Paint new/deleted text in the chosen
6007         colours. Strike through deleted text.
6008
6009         * paragraph.h:
6010         * paragraph.C:
6011         * paragraph_pimpl.h:
6012         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6013           in the current change to the insert functions. Rework erase to
6014           mark text as deleted, adding an eraseIntern() and a range-based
6015           erase(). Implement per-paragraph change lookup and
6016           accept/reject.
6017
6018         * paragraph_funcs.C: Fixup paste for change tracking.
6019
6020         * tabular.C: mark added row/columns as new.
6021
6022         * text.C: fix rowLast() to never return -1. Don't allow
6023           spellchecking of deleted text. Track transpose changes. Don't
6024           allow paragraph break or merge where appropriate.
6025
6026         * text2.C: leave cursor at end of selection after a cut.
6027
6028 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6029
6030         * text.C (getLengthMarkerHeight):
6031         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6032         visible on screen too.
6033
6034 2003-02-07  John Levon  <levon@movementarian.org>
6035
6036         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6037
6038 2003-02-05  Angus Leeming  <leeming@lyx.org>
6039
6040         * lyxserver.C (read_ready): revert my patch of 11 September last year
6041         as it sends PC cpu through the roof. Presumably this means that
6042         the lyxserver will no longer run on an Alpha...
6043
6044 2003-01-30  Angus Leeming  <leeming@lyx.org>
6045
6046         * factory.C (createInset): create an InsetCommandParam of type "index"
6047         and use it to 'do the right thing'.
6048
6049         * text2.C (getStringToIndex): ensure that cursor position is always
6050         reset to the reset_cursor position.
6051
6052 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6053
6054         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6055         disabled.
6056
6057 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6058
6059         * bufferview.C:
6060         * lyxcb.C:
6061         * lyxfunc.C: Output messages with identical spelling, punctuation,
6062         and spaces
6063
6064 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6065
6066         * MenuBackend.C (expandFormats): List only viewable export formats
6067         in "View" menu
6068
6069         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6070         message
6071
6072         * lyxfunc.C (getStatus): Make sure that formats other than
6073         "fax" can also be disabled
6074
6075 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6076
6077         * text3.C (dispatch): put the lfuns that insert insets in 3
6078         groups, and call doInsertInset with appropriate arguments.
6079         (doInsertInset): new function, that creates an inset and inserts
6080         it according to some boolean parameters.
6081
6082 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6083
6084         * buffer.C (readFile): remember to pass on 'par' when calling
6085         readFile recursively.
6086
6087 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6088
6089         * MenuBackend.C (expandFormats): add "..." to import formats.
6090
6091 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6092
6093         * paragraph.C (asString): Remove XForms RTL hacks.
6094
6095 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6096         * buffer.C: fix typo
6097
6098 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6099
6100         * Makefile.am (LIBS): delete var
6101         (lyx_LDADD): add @LIBS@ here instead.
6102
6103 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6104
6105         * Clarify the meaning of "wheel mouse jump"
6106
6107 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6108
6109         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6110         tabular in a float
6111
6112 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6113
6114         * importer.C (Loaders): do not preallocate 3 elements in the
6115         vector, since one ends up with 6 elements otherwise
6116
6117 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6118
6119         * DepTable.C (write): write the file name as last element of the
6120         .dep file (because it may contain spaces)
6121         (read): read info in the right order
6122
6123 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6124
6125         * paragraph_pimpl.C (simpleTeXBlanks):
6126         (simpleTeXSpecialChars):
6127         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6128
6129         * tabular.C (latex): add some missing case statements. Reindent.
6130
6131         * MenuBackend.C (expandToc): remove unused variable.
6132
6133 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6134
6135         * LColor.C:
6136         * LaTeX.C:
6137         * LyXAction.C:
6138         * MenuBackend.C:
6139         * buffer.C:
6140         * exporter.C:
6141         * lyxfunc.C:
6142         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6143         and the like.
6144
6145 2003-01-05  John Levon  <levon@movementarian.org>
6146
6147         * BufferView.h:
6148         * BufferView.C: add getEncoding()
6149
6150         * kbsequence.h:
6151         * kbsequence.C: do not store last keypress
6152
6153         * lyxfunc.h:
6154         * lyxfunc.C: store last keypress here instead. Pass encoding
6155           to getISOEncoded()
6156
6157 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6158
6159         * lyx_main.C (init): remove annoying error message when following
6160         symbolic links (bug #780)
6161
6162 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6163
6164         * text.C (insertChar):
6165         * lyxrc.C (getDescription): remove extra spaces
6166
6167 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6168
6169         * lyxrc.C (getDescription): remove extra spaces
6170
6171 2002-12-20  John Levon  <levon@movementarian.org>
6172
6173         * text3.C: hack fix for page up/down across tall rows
6174
6175 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6176
6177         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6178         not been invoked
6179
6180 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6181
6182         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6183         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6184         thesaurus is not compiled in
6185
6186 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6187
6188         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6189
6190 2002-12-16  Angus Leeming  <leeming@lyx.org>
6191
6192         * lyxrc.[Ch]:
6193         * lyx_main.C (init): remove override_x_deadkeys stuff.
6194
6195 2002-12-12  John Levon  <levon@movementarian.org>
6196
6197         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6198           insert. Only remove shift modifier under strict
6199           circumstances.
6200
6201 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6202
6203         * MenuBackend.C (expandToc): fix crash.
6204
6205 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6206
6207         * MenuBackend.C (expandToc): gettext on float names.
6208
6209 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6210
6211         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6212         implement bool empty() [bug 490]
6213
6214 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6215
6216         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6217
6218 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6219
6220         * several files: ws changes
6221
6222 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6223
6224         * text2.C (setCounter): clean up a bit, use boost.format.
6225         (updateCounters): initialize par upon declaration.
6226
6227         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6228         if the layout exists. We do not just store the layout any more.
6229         (SwitchLayoutsBetweenClasses): use boost.format
6230
6231 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6232
6233         * converter.C (convert): if from and to files are the same, use a
6234         temporary files as intermediary
6235
6236 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6237
6238         * commandtags.h:
6239         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6240
6241 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6242
6243         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6244
6245 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6246
6247         * tabular.C (asciiPrintCell): use string(size, char) instead of
6248         explicit loop.
6249
6250         * sgml.C (openTag): fix order of arguments to string constructor
6251         (closeTag): ditto
6252
6253         * lyxfunc.C (dispatch): use boost.format
6254
6255         * lots of files: change "c" -> 'c'
6256
6257 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6258
6259         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6260
6261 2002-11-25  Angus Leeming  <leeming@lyx.org>
6262
6263         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6264
6265         * lyx_main.C (init): compile fix.
6266
6267 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6268
6269         * lyx_cb.C (start): boost.formatify
6270         do not include <iostream>
6271
6272         * lengthcommon.C: ws only
6273
6274         * boost-inst.C,BoostFormat.h: add more explict instantations
6275
6276 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6277
6278         * lots of files: handle USE_BOOST_FORMAT
6279
6280 2002-11-21  John Levon  <levon@movementarian.org>
6281
6282         * pspell.C: fix compile
6283
6284 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6285
6286         * lyxfunc.C (dispatch): use boost::format
6287         (open): ditto
6288         (doImport): ditto
6289
6290         * lyxfont.C (stateText): use boost::format
6291
6292         * lyx_main.C (LyX): use boost::format
6293         (init): ditto
6294         (queryUserLyXDir): ditto
6295         (readRcFile): ditto
6296         (parse_dbg): ditto
6297         (typedef boost::function): use the recommened syntax.
6298
6299         * importer.C (Import): use boost::format
6300
6301         * debug.C (showLevel): use boost::format
6302
6303         * converter.C (view): use boost::format
6304         (convert): ditto
6305         (move): ditto
6306         (scanLog): ditto
6307
6308         * bufferview_funcs.C (currentState): use boost::format
6309
6310         * bufferlist.C (emergencyWrite): use boost::format
6311
6312         * buffer.C (readLyXformat2): use boost::format
6313         (parseSingleLyXformat2Token): ditto
6314
6315         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6316
6317         * LaTeX.C (run): use boost::format
6318
6319         * Chktex.C (scanLogFile): use boost::format
6320
6321         * BufferView_pimpl.C (savePosition): use boost::format
6322         (restorePosition): ditto
6323         (MenuInsertLyXFile): ditto
6324
6325         * BoostFormat.h: help file for explicit instation.
6326
6327 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6328
6329         * tabular.C (latex): Support for block alignment in fixed width
6330         columns.
6331
6332 2002-11-17  John Levon  <levon@movementarian.org>
6333
6334         * BufferView_pimpl.C:
6335         * lyx_cb.C:
6336         * lyxfunc.C: split filedialog into open/save
6337
6338 2002-11-08  Juergen Vigna  <jug@sad.it>
6339
6340         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6341         by my last patch (hopefully).
6342
6343 2002-11-08  John Levon  <levon@movementarian.org>
6344
6345         * iterators.h:
6346         * iterators.C:
6347         * buffer.h:
6348         * buffer.C:
6349         * paragraph.h:
6350         * paragraph.C:
6351         * toc.h:
6352         * toc.C: ParConstIterator, and use it (from Lars)
6353
6354 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6355
6356         * lyxtextclass.[Ch]: revise and add doxygen comments
6357
6358 2002-11-07  John Levon  <levon@movementarian.org>
6359
6360         * text.C: fix progress value for spellchecker
6361
6362         * toc.C: fix navigate menu for insetwrap inside minipage
6363
6364         * paragraph_funcs.C: added FIXME for suspect code
6365
6366 2002-11-07  John Levon  <levon@movementarian.org>
6367
6368         * BufferView_pimpl.C: fix redrawing of insets
6369           on buffer switch
6370
6371 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6372
6373         * text2.C (updateCounters): fix bug 668
6374
6375 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6376
6377         * text3.C (dispatch): Do not make the buffer dirty when moving the
6378         cursor.
6379
6380 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6381
6382         * vc-backend.C: STRCONV
6383         (scanMaster): ditto
6384
6385         * text2.C (setCounter): STRCONV
6386
6387         * paragraph.C (asString): STRCONV
6388
6389         * lyxlength.C (asString): STRCONV
6390         (asLatexString): ditto
6391
6392         * lyxgluelength.C (asString): STRCONV
6393         (asLatexString): ditto
6394
6395         * lyxfunc.C (dispatch): STRCONV
6396         (open): ditto
6397
6398         * lyxfont.C (stateText): STRCONV
6399
6400         * importer.C (Import): STRCONV
6401
6402         * counters.C (labelItem): STRCONV
6403         (numberLabel): ditto
6404         (numberLabel): remove unused ostringstream o
6405
6406         * chset.C: STRCONV
6407         (loadFile): ditto
6408
6409         * bufferview_funcs.C (currentState): STRCONV
6410
6411         * buffer.C (readFile): STRCONV
6412         (asciiParagraph): ditto
6413         (makeLaTeXFile): ditto
6414
6415         * Spacing.C (writeEnvirBegin): STRCONV
6416
6417         * LaTeXFeatures.C (getLanguages): STRCONV
6418         (getPackages): ditto
6419         (getMacros): ditto
6420         (getBabelOptions): ditto
6421         (getTClassPreamble): ditto
6422         (getLyXSGMLEntities): ditto
6423         (getIncludedFiles): ditto
6424
6425         * LaTeX.C: STRCONV
6426         (run): ditto
6427         (scanAuxFile): ditto
6428         (deplog): ditto
6429
6430         * LString.h: add the STRCONV macros
6431
6432         * BufferView_pimpl.C (savePosition): STRCONV
6433         (restorePosition): ditto
6434         (MenuInsertLyXFile): ditto
6435
6436         * vc-backend.C (scanMaster): change from submatch[...] to
6437         submatch.str(...)
6438
6439         * funcrequest.C: include config.h
6440
6441         * factory.C: include config.h
6442
6443         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6444
6445         * box.C: include config.h
6446
6447         * LaTeX.C (scanAuxFile): change from submatch[...] to
6448         submatch.str(...)
6449         (deplog): ditto
6450
6451 2002-10-25  Angus Leeming  <leeming@lyx.org>
6452
6453         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6454
6455         * ispell.[Ch] (setError): new method.
6456         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6457         Use setError() insetead of goto END.
6458
6459         * lyx_cb.C (AutoSave): move out child process into new class
6460         AutoSaveBuffer.
6461
6462 2002-10-30  John Levon  <levon@movementarian.org>
6463
6464         * text3.C: make start appendix undoable
6465
6466 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6467
6468         * lyxlength.C (inPixels): Fix returned value.
6469
6470         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6471         environment.
6472
6473 2002-10-24  Angus Leeming  <leeming@lyx.org>
6474
6475         * lyxgluelength.h: no need to forward declare BufferParams
6476         or BufferView, so don't.
6477
6478 2002-10-21  John Levon  <levon@movementarian.org>
6479
6480         * BufferView.C: menuUndo ->undo, redo
6481
6482         * BufferView.h: document, remove dead, make some methods private
6483
6484         * paragraph_funcs.h:
6485         * paragraph_funcs.C:
6486         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6487
6488         * buffer.h:
6489         * buffer.C:
6490         * sgml.h:
6491         * sgml.C: move sgml open/close tag into sgml.C
6492
6493         * bufferview_funcs.h: unused prototype
6494
6495         * lyxfunc.h:
6496         * lyxfunc.C: remove unused
6497
6498         * lyxtext.h:
6499         * text.C: remove unused
6500
6501 2002-10-21  John Levon  <levon@movementarian.org>
6502
6503         * BufferView.h:
6504         * BufferView.C:
6505         * BufferView_pimpl.h:
6506         * BufferView_pimpl.C: fix mouse wheel handling based on
6507           patch from Darren Freeman
6508
6509 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6510
6511         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6512
6513 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6514
6515         * lyxlength.C (inPixels): Fix hanfling of negative length.
6516         Fix LyXLength::MU case.
6517
6518 2002-10-16  John Levon  <levon@movementarian.org>
6519
6520         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6521
6522 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6523
6524         * converter.C (view): add support for $$i (file name) and $$p
6525         (file path) for the viewer command. If $$i is not specified, then
6526         it is appended to the command (for compatibility with old syntax)
6527
6528 2002-10-14  Juergen Vigna  <jug@sad.it>
6529
6530         * undo_funcs.C (textHandleUndo): alter the order in which the
6531         new undopar is added to the LyXText, as we have to set first
6532         the right prev/next and then add it as otherwise the rebuild of
6533         LyXText is not correct. Also reset the cursor to the right paragraph,
6534         with this IMO we could remove the hack in "redoParagraphs()".
6535
6536 2002-10-09  Angus Leeming  <leeming@lyx.org>
6537
6538         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6539         to turn off an optimisation if a new inset is to be inserted.
6540
6541 2002-10-11 André Pönitz <poenitz@gmx.net>
6542
6543         * lyxtext.h: make some functions public to allow access
6544         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6545
6546 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6547
6548         * text3.C (dispatch): when changing layout, avoid an infinite loop
6549         [bug #652]
6550
6551 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6552
6553         * lyxrc.C (read): treat a viewer or converter command of "none" as
6554         if it were empty.
6555
6556         * MenuBackend.C (expandFormats): for an update, also allow the
6557         formats that are not viewable
6558
6559         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6560         script if it is newer than the lyxrc.defaults in user directory
6561
6562 2002-10-07 André Pönitz <poenitz@gmx.net>
6563
6564         * text.C: Vitaly Lipatov's small i18n fix
6565
6566 2002-09-25  Angus Leeming  <leeming@lyx.org>
6567
6568         * ispell.h: doxygen fix.
6569
6570 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6571
6572         * buffer.h (readFile): Add a new argument to the method, to allow
6573         reading of old-format templates.
6574
6575 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6576
6577         * toc.C (getTocList): Get TOC from InsetWrap.
6578
6579 2002-09-16  John Levon  <levon@movementarian.org>
6580
6581         * lyxfunc.C: check tabular for cut/copy too
6582
6583 2002-09-12  John Levon  <levon@movementarian.org>
6584
6585         * LyXAction.C: tidy
6586
6587         * factory.h:
6588         * factory.C: add header
6589
6590         * paragraph_funcs.h:
6591         * paragraph_funcs.C: cleanup
6592
6593 2002-09-11  John Levon  <levon@movementarian.org>
6594
6595         * PrinterParams.h: odd/even default to true
6596
6597 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6598
6599         * PrinterParams.h: update printer parameters for new xforms dialog
6600
6601 2002-09-11  Angus Leeming  <leeming@lyx.org>
6602
6603         * lyxserver.C (read_ready): re-write to make it more transparent
6604         and to make it work in coherent fashion under Tru64 Unix.
6605
6606 2002-09-11  André Pönitz <poenitz@gmx.net>
6607
6608         * commandtags.h:
6609         * LyXAction.C:
6610         * text3.C: implement LFUN_WORDSEL
6611
6612 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6613
6614         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6615         make floatlist_ a boost::shared_ptr<FloatList>
6616
6617         * lyxtextclass.C: include FloatList.h
6618         (LyXTextClass): initialize floatlist_
6619         (TextClassTags): add TC_NOFLOAT
6620         (Read): match "nofloat" to TC_NOFLOAT and use it.
6621         (readFloat): modify call to floatlist_
6622         (floats): ditto
6623         (floats): ditto
6624
6625         * FloatList.[Ch] (FloatList): remove commented out float
6626         initialization.
6627         (erase): new function
6628
6629 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6630
6631         * MenuBackend.C (expandToc): fix crash when there is no document
6632         open
6633
6634 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6635
6636         * many files: Add insetwrap.
6637
6638 2002-09-09  John Levon  <levon@movementarian.org>
6639
6640         * text2.C: remove confusing and awkward depth wraparound
6641
6642 2002-09-09  John Levon  <levon@movementarian.org>
6643
6644         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6645
6646         * buffer.h:
6647         * buffer.C: remove getIncludeonlyList()
6648
6649         * paragraph.C:
6650         * lyxfunc.C: remove headers
6651
6652 2002-09-09  Juergen Vigna  <jug@sad.it>
6653
6654         * text.C (getColumnNearX): fix form Michael this is most
6655         probably a cut&paste bug.
6656
6657 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6658
6659         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6660
6661         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6662         references, ws changes.
6663
6664         * text2.C (init): update counters after init
6665         (insertParagraph): no need to set counter on idividual paragraphs.
6666         (setCounter): access the counters object in the textclass object
6667         on in the buffer object.
6668         (updateCounters): ditto
6669
6670         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6671         shared_ptr<Counters> to avoid loading counters.h in all
6672         compilation units.
6673         (LyXTextClass): initialize ctrs_
6674         (TextClassTags): add TC_COUNTER, and ...
6675         (Read): use it here.
6676         (CounterTags): new tags
6677         (readCounter): new function
6678         (counters): new funtion
6679         (defaultLayoutName): return a const reference
6680
6681         * counters.C (Counters): remove contructor
6682         (newCounter): remove a couple of unneeded statements.
6683         (newCounter): simplify a bit.
6684         (numberLabel): some small formatting changes.
6685
6686         * buffer.[Ch]: remove all traces of counters, move the Counters
6687         object to the LyXTextClass.
6688
6689 2002-09-06  Alain Castera  <castera@in2p3.fr>
6690
6691         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6692         package to set the horizontal alignment on fixed width columns.
6693
6694         * lyx_sty.C:
6695         * lyx_sty.h: added tabularnewline macro def.
6696
6697         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6698
6699 2002-09-06  John Levon  <levon@movementarian.org>
6700
6701         * LyXAction.C: tooltips for sub/superscript
6702
6703         * MenuBackend.C: a bit more verbose
6704
6705         * lyxfunc.C: tiny clean
6706
6707         * undo_funcs.C: document undo_frozen
6708
6709 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6710
6711         * counters.C (Counters): add missing algorithm counter.
6712
6713         * text2.C (setCounter): lookup the counter with layouts latexname
6714         instead of by section number.
6715         (setCounter): use a hackish way to lookup the correct enum
6716         counter.
6717         a float name->type change
6718         reset enum couners with counter name directly instead of depth value.
6719
6720         * counters.C (Counters): remove the push_backs, change to use the
6721         float type not the float name.
6722         (labelItem): remove unused string, float name->type change
6723
6724         * counters.h: don't include vector, loose the enums and sects vectors
6725
6726 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6727
6728         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6729         (Read): add float->TC_FLOAT to textclassTags
6730         (Read): and handle it in the switch
6731         (readFloat): new function
6732
6733         * FloatList.C (FloatList): comment out the hardcoded float
6734         definitions.
6735
6736         * lyxlayout.h: ws change.
6737
6738 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6739
6740         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6741
6742 2002-09-03  Angus Leeming  <leeming@lyx.org>
6743
6744         * BufferView_pimpl.h: qualified name is not allowed in member
6745         declaration: WorkArea & Pimpl::workarea() const;
6746
6747         * factory.C: added using std::endl directive.
6748
6749         * text3.C: added using std::find and std::vector directives.
6750
6751 2002-08-29  André Pönitz <poenitz@gmx.net>
6752
6753         * lyxtext.h:
6754         * text2.C: remove unused member number_of_rows
6755
6756         * Makefile.am:
6757         * BufferView2.C: remove file, move contents to...
6758         * BufferView.C: ... here
6759
6760         * BufferView_pimpl.C:
6761         * factory.C: move more inset creation to factory
6762
6763         * vspace.C: avoid direct usage of LyXText, ws changes
6764
6765         * BufferView.[Ch]:
6766                 don't provide direct access to WorkArea, use two simple
6767                 acessors haveSelction() and workHeight() instead
6768
6769
6770 2002-08-29  John Levon  <levon@movementarian.org>
6771
6772         * BufferView_pimpl.C (dispatch): do not continue when
6773           no buffer
6774
6775 2002-08-28  André Pönitz <poenitz@gmx.net>
6776
6777         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6778
6779         * BufferView.h:
6780         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6781
6782 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6783
6784         * buffer.C: increment LYX_FORMAT to 221
6785
6786         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6787         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6788
6789         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6790
6791         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6792
6793 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6794
6795         * factory.C (createInset): use LyXTextClass::floats
6796
6797         * MenuBackend.C (expandFloatListInsert):
6798         (expandFloatInsert):
6799         (expandToc):
6800
6801         * text2.C (setCounter):
6802
6803         * LaTeXFeatures.C (useFloat):
6804         (getFloatDefinitions):
6805
6806         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6807
6808         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6809         floatlist_, with accessor floats().
6810
6811         * FloatList.h: remove global FloatList
6812
6813 2002-08-26  André Pönitz <poenitz@gmx.net>
6814
6815         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6816
6817         * BufferView.h:
6818         * BufferView2.C:
6819         * BufferView_pimpl.C:
6820         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6821
6822 2002-08-25  John Levon  <levon@movementarian.org>
6823
6824         * LyXAction.C: fix margin note description
6825
6826 2002-08-24  John Levon  <levon@movementarian.org>
6827
6828         * buffer.C:
6829         * bufferlist.C:
6830         * bufferview_funcs.C:
6831         * lyxfont.C:
6832         * undo_funcs.C: cleanups
6833
6834         * lyxfunc.C: disable CUT/COPY when no selection
6835
6836 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6837
6838         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6839         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6840
6841         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6842         Add backward compatibility to "mono", "gray" and "no".
6843
6844 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6845
6846         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6847         (and file_format >= 200).
6848
6849 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6850
6851         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6852
6853 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6854
6855         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6856
6857 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6858
6859         * BufferView_pimpl.C:
6860         * LyXAction.C:
6861         * buffer.C:
6862         * commandtags.h:
6863         * lyxfunc.C:
6864         * paragraph.[Ch]:
6865         * text2.C:
6866         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6867         inset and code to make it  work with the paragraph code. The inset
6868         can be anywhere in the paragraph, but will only do the expected
6869         thing in LaTeX if the layout file contains the parameter line
6870                         OptionalArgs    1
6871         (or more generally, a nonzero value) for that layout.
6872
6873 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6874
6875         * paragraph.h: remove the declaration of undefined counters class
6876         function.
6877
6878 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6879
6880         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6881         Dr. Richard Hawkins.
6882
6883 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6884
6885         * paragraph_funcs.h: remove some unneeded includes
6886
6887         * text.C (backspace): pasteParagraph now in global scipe
6888
6889         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6890         (pasteSelection): ditto
6891
6892         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6893         * paragraph_funcs.C (pasteParagraph): ... here
6894
6895 2002-08-20  André Pönitz <poenitz@gmx.net>
6896
6897         * commandtags.h: new LFUNs for swapping/copying table row/colums
6898
6899         * LyXAction.C:
6900         * lyxfunc.C: support for new lfuns
6901
6902 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6903
6904         * tabular.C:
6905         * buffer.[Ch]: remove NO_COMPABILITY stuff
6906
6907 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6908
6909         * boost.C (throw_exception): new file, with helper function for
6910         boost compiled without exceptions.
6911
6912         * paragraph.h:
6913         * lyxlength.C:
6914         * buffer.C:
6915         * ParameterStruct.h:
6916         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6917
6918         * bufferlist.C (emergencyWriteAll): use boost bind
6919
6920         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6921
6922         * text.C: include paragraph_funcs.h
6923         (breakParagraph): breakParagraph is now in global scope
6924
6925         * paragraph_funcs.[Ch]: new files
6926
6927         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6928         global scope
6929
6930         * buffer.C: include paragraph_funcs.h
6931         (insertStringAsLines): breakParagraph is now in global scope
6932
6933         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6934         paragraph_funcs.C
6935
6936         * CutAndPaste.C: include paragraph_funcs.h
6937         (cutSelection): breakParagraphConservative is now in global scope
6938         (pasteSelection): ditto
6939
6940         * buffer.h: declare oprator== and operator!= for
6941         Buffer::inset_iterator
6942
6943         * bufferlist.C (emergencyWrite): don't use fmt(...)
6944
6945         * text3.C: add using std::endl
6946
6947         * BufferView.C (moveCursorUpdate): remove default arg
6948
6949 2002-08-20  André Pönitz <poenitz@gmx.net>
6950
6951         * buffer.[Ch]: move inline functions to .C
6952
6953         * BufferView2.C:
6954         * BufferView_pimpl.C:
6955         * text.C:
6956         * buffer.[Ch]: use improved inset_iterator
6957
6958         * buffer.C:
6959         * paragraph.[Ch]: write one paragraph at a time
6960
6961 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6962
6963         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6964         style if style is not specified.
6965
6966 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6967
6968         * text2.C (setCounter): when searching for right label for a
6969         caption, make sure to recurse to parent insets (so that a caption
6970         in a minipage in a figure float works) (bug #568)
6971
6972 2002-08-20  André Pönitz <poenitz@gmx.net>
6973
6974         * text3.C: new file for LyXText::dispatch() and helpers
6975
6976         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6977
6978         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6979
6980 2002-08-19  André Pönitz <poenitz@gmx.net>
6981
6982         * lyxtext.h:
6983         * text.C: new LyXText::dispatch()
6984
6985         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6986
6987 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6988
6989         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6990
6991         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6992         Hebrew text.
6993
6994 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6995
6996         * Makefile.am: use $(variables) instead of @substitutions@
6997
6998 2002-08-15  André Pönitz <poenitz@gmx.net>
6999
7000         * lyxfunc.C:
7001         * BufferView_pimpl.C: streamlining mathed <-> outer world
7002         interaction
7003
7004         * commandtags.h:
7005         * LyXAction.C: remove unused LFUN_MATH
7006
7007 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7008
7009         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7010
7011 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7012
7013         * paragraph.C (Paragraph): reformat a bit
7014         (cutIntoMinibuffer): use builtin InsetList function instad of
7015         doing it manually.
7016         (getInset): ditto
7017
7018         * buffer.C: include boost/bind.hpp, add using std::for_each
7019         (writeFileAscii): use ParagraphList iterators
7020         (validate): use for_each for validate traversal of paragraphs
7021         (getBibkeyList): use ParagraphList iterators
7022         (resizeInsets): use for_each to resizeInsetsLyXText for all
7023         paragraphs.
7024         (getParFromID): use ParagraphList iterators
7025
7026         * BufferView2.C (lockInset): use paragraph list and iterators
7027
7028 2002-08-14  John Levon  <levon@movementarian.org>
7029
7030         * lyxserver.C: remove spurious xforms include
7031
7032 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7033
7034         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7035
7036 2002-08-13  André Pönitz <poenitz@gmx.net>
7037
7038         * LyXAction.[Ch]:
7039         * lyxfunc.C: further cleaning
7040
7041 2002-08-13  André Pönitz <poenitz@gmx.net>
7042
7043         * funcrequest.h: new constructor
7044
7045         * funcrequest.C: move stuff here from .h
7046
7047         * Makefile.am:
7048         * BufferView_pimpl.C:
7049         * LyXAction.C:
7050         * toc.C:
7051         * lyxfunc.C: subsequent changes
7052
7053         * lyxfunc.h: new view() member function
7054
7055         * lyxfunc.C: subsequent changes
7056
7057 2002-08-13  Angus Leeming  <leeming@lyx.org>
7058
7059         * BufferView2.C:
7060         * BufferView_pimpl.C:
7061         * buffer.C:
7062         * converter.C:
7063         * importer.C:
7064         * lyxfunc.C:
7065         * lyxvc.C:
7066         * toc.C:
7067         * vc-backend.C:
7068         changes due to the changed LyXView interface that now returns references
7069         to member variables not pointers.
7070
7071 2002-08-13  Angus Leeming  <leeming@lyx.org>
7072
7073         * WordLangTuple (word, lang_code): return references to strings,
7074         not strings.
7075
7076         * BufferView.h:
7077         * SpellBase.h:
7078         * lyxtext.h: forward-declare WordLangTuple.
7079
7080         * BufferView2.C:
7081         * ispell.C:
7082         * pspell.C:
7083         * text.C: #include "WordLangTuple.h".
7084
7085         * lyxtext.h:
7086         * text.C: (selectNextWordToSpellcheck): constify return type.
7087
7088 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7089
7090         * buffer.C:
7091         * buffer.h:
7092         * lyxtext.h:
7093         * paragraph.C:
7094         * paragraph_pimpl.h:
7095         * text.C:
7096         * text2.C:
7097         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7098         suggested by Angus.
7099         Made updateCounter always count from start of buffer, and removed
7100         second argument (par).
7101         Reverted floats number display to '#'. Perhaps I'll try again when the
7102         code base is sanitized a bit.
7103
7104 2002-08-12  Angus Leeming  <leeming@lyx.org>
7105
7106         * buffer.[Ch] (getLabelList): constify.
7107
7108 2002-08-07  André Pönitz <poenitz@gmx.net>
7109
7110         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7111
7112         * funcrequest.h: extension to keep mouse (x,y) position
7113
7114 2002-08-12  Juergen Vigna  <jug@sad.it>
7115
7116         * BufferView2.C (insertErrors): forbid undo when inserting error
7117         insets.
7118
7119         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7120
7121 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7122
7123         * ParagraphList.[Ch]: new files
7124
7125         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7126
7127         * BufferView2.C (lockInset): ParagraphList changes
7128         * toc.C: ditto
7129         * text2.C: ditto
7130         * bufferlist.C: ditto
7131         * buffer.h: ditto
7132         * buffer.C: ditto
7133
7134 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7135
7136         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7137         unused class variable counter_,
7138
7139         * paragraph.[Ch] (getFirstCounter): delete unused function
7140
7141         * counters.C: include LAssert.h
7142         (reset): add a new function with no arg, change other version to
7143         not have def. arg and to not allow empty arg.
7144
7145         * text2.C (setCounter): remove empty arg from call to Counters::reset
7146
7147 2002-08-11  John Levon  <levon@movementarian.org>
7148
7149         * Makefile.am: add WordLangTuple.h
7150
7151 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7152
7153         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7154         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7155
7156         * insets/insettext.C: InsetList changes
7157
7158         * graphics/GraphicsSupport.C (operator()): InsetList changes
7159
7160         * toc.C (getTocList): InsetList changes
7161
7162         * paragraph_pimpl.[Ch]: InsetList changes
7163
7164         * paragraph.[Ch]: InsetList changes
7165
7166         * buffer.C (inset_iterator): InsetList changes
7167         (setParagraph): ditto
7168         * buffer.h (inset_iterator): ditto
7169         * iterators.C (operator++): ditto
7170         * iterators.h: ditto
7171
7172         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7173
7174         * InsetList.[Ch]: new files, most InsetList handling moved out of
7175         paragraph.C.
7176
7177         * BufferView2.C (removeAutoInsets): InsetList changes
7178         (lockInset): ditto
7179         (ChangeInsets): ditto
7180
7181 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7182
7183         * paragraph_pimpl.h (empty): new function
7184
7185         * paragraph.[Ch] (empty): new function
7186
7187         * other files: use the new Paragraph::empty function
7188
7189 2002-08-09  John Levon  <levon@movementarian.org>
7190
7191         * lyxtext.h: remove unused refresh_height
7192
7193 2002-08-09  John Levon  <levon@movementarian.org>
7194
7195         * Makefile.am:
7196         * sgml.h:
7197         * sgml.C:
7198         * buffer.C:
7199         * paragraph.h:
7200         * paragraph.C: move sgml char escaping out of paragraph
7201
7202         * paragraph.h:
7203         * paragraph.C: remove id setter
7204
7205         * buffer.C:
7206         * paragraph.C:
7207         * paragraph_pimpl.C: remove dead tex_code_break_column
7208
7209         * bufferview_funcs.C: small cleanup
7210
7211         * lyxfunc.C: remove dead proto
7212
7213         * lyxtext.h: make some stuff private. Remove some dead stuff.
7214
7215         * lyxgluelength.C: make as[LyX]String() readable
7216
7217 2002-08-08  John Levon  <levon@movementarian.org>
7218
7219         * LyXAction.h:
7220         * LyXAction.C:
7221         * MenuBackend.C:
7222         * ToolbarDefaults.C:
7223         * lyxfunc.C:
7224         * lyxrc.C:
7225         * toc.C: lyxaction cleanup
7226
7227 2002-08-08  John Levon  <levon@movementarian.org>
7228
7229         * BufferView2.C: small cleanup
7230
7231         * lyxfind.h:
7232         * lyxfind.C: move unnecessary header into the .C
7233
7234 2002-08-08  John Levon  <levon@movementarian.org>
7235
7236         * funcrequest.h: just tedious nonsense
7237
7238         * lyx_main.h:
7239         * lyx_main.C: cleanups
7240
7241         * buffer.C:
7242         * vspace.C: remove dead header lyx_main.h
7243
7244 2002-08-07  Angus Leeming  <leeming@lyx.org>
7245
7246         * Paragraph.[Ch]:
7247         * paragraph_pimpl.h:
7248         Forward declare class Counters in paragraph.h by moving the ctrs member
7249         variable into Paragraph::Pimpl.
7250         (counters): new method, returning a reference to pimpl_->ctrs.
7251
7252         * text2.C: ensuing changes.
7253
7254 2002-08-07  John Levon  <levon@movementarian.org>
7255
7256         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7257
7258         * BufferView_pimpl.C: announce X selection on double/triple
7259           click
7260
7261         * lyx_main.C: use correct bool in batch dispatch
7262
7263         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7264
7265 2002-08-07  André Pönitz <poenitz@gmx.net>
7266
7267         * funcrequest.h: new class to wrap a kb_action and its argument
7268
7269         * BufferView.[Ch]:
7270         * BufferView_pimpl[Ch]:
7271         * LaTeX.C:
7272         * LyXAction.[Ch]:
7273         * lyxfunc.[Ch]:
7274         * lyxrc.C: subsequent changes
7275
7276
7277 2002-08-07  John Levon  <levon@movementarian.org>
7278
7279         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7280           document options change.
7281
7282 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7283
7284         * counters.[Ch]
7285         * text2.C
7286         * paragraph.[Ch]
7287         * makefile.am: move counters functionality over from
7288         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7289
7290 2002-08-06  John Levon  <levon@movementarian.org>
7291
7292         * WordLangTuple.h: new file for word + language code tuple
7293
7294         * SpellBase.h:
7295         * pspell.h:
7296         * pspell.C:
7297         * ispell.h:
7298         * ispell.C:
7299         * lyxtext.h:
7300         * text.C:
7301         * text2.C:
7302         * BufferView.h:
7303         * BufferView2.C: use WordLangTuple
7304
7305         * layout.h:
7306         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7307
7308 2002-08-06  John Levon  <levon@movementarian.org>
7309
7310         * lyx_main.C: fix cmdline batch handling
7311
7312 2002-08-06  André Pönitz <poenitz@gmx.net>
7313
7314         * lyxrc.C: set default for show_banner to true
7315
7316 2002-08-06  John Levon  <levon@movementarian.org>
7317
7318         * pspell.C: fix a crash, and allow new aspell to work
7319
7320 2002-08-06  John Levon  <levon@movementarian.org>
7321
7322         * lyxfunc.C:
7323         * kbmap.C: small cleanup
7324
7325         * vspace.h:
7326         * vspace.C: add const
7327
7328 2002-08-05  John Levon  <levon@movementarian.org>
7329
7330         * LyXAction.C: back to tabular-insert
7331
7332 2002-08-04  John Levon  <levon@movementarian.org>
7333
7334         * BufferView.h:
7335         * BufferView.C: cosmetic change
7336
7337         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7338
7339         * bufferlist.C:
7340         * buffer.h:
7341         * buffer.C:
7342         * lyxcb.h:
7343         * lyxcb.C:
7344         * lyxserver.C:
7345         * lyxvc.C:
7346         * vc-backend.C:
7347         * BufferView2.C: purge all "Lyx" not "LyX" strings
7348
7349         * lyxcursor.h:
7350         * lyxcursor.C: attempt to add some documentation
7351
7352         * lyxfunc.C:
7353         * commandtags.h:
7354         * LyXAction.C:
7355         * ToolbarDefaults.C:
7356         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7357           merge with LFUN_TABULAR_INSERT
7358
7359         * Makefile.am:
7360         * SpellBase.h:
7361         * ispell.h:
7362         * ispell.C:
7363         * pspell.h:
7364         * pspell.C: split up i/pspell implementations into separate
7365           files, many cleanups
7366
7367         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7368
7369         * text2.C: some cleanup
7370
7371         * lyxfunc.C: don't check for isp_command == "none" any more, it
7372           didn't make any sense
7373
7374 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7375
7376         * counters.[Ch]
7377         * text2.C
7378         * paragraph.[Ch]
7379         * makefile.am: move counters functionality over
7380         from text2.C/paragraph.[Ch] to counters.[Ch], and
7381         make proper C++.
7382 2002-08-02  John Levon  <levon@movementarian.org>
7383
7384         * buffer.C: s/lyxconvert/lyx2lyx/
7385
7386 2002-08-02  Angus Leeming  <leeming@lyx.org>
7387
7388         * lyxlex.C: revert John's change as it breaks reading of the user
7389         preamble.
7390
7391 2002-08-02  Angus Leeming  <leeming@lyx.org>
7392
7393         * importer.C (Import):
7394         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7395         changes due to LyXView::view() now returning a boost::shared_ptr.
7396
7397 2002-08-02  John Levon  <levon@movementarian.org>
7398
7399         * lyxlex.C: small cleanup
7400
7401 2002-08-02  John Levon  <levon@movementarian.org>
7402
7403         * text2.C (status): small cleanup, no logic change
7404
7405 2002-08-01  John Levon  <levon@movementarian.org>
7406
7407         * buffer.h:
7408         * buffer.C (writeFile): don't output alerts, caller
7409           handles this
7410
7411         * bufferlist.C:
7412         * lyx_cb.C: from above
7413
7414         * lyxfunc.C: allow to open non-existent files
7415
7416 2002-07-31  John Levon  <levon@movementarian.org>
7417
7418         * lyxserver.C: don't let incidental errors get
7419           in the way (errno)
7420
7421 2002-07-30  John Levon  <levon@movementarian.org>
7422
7423         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7424
7425 2002-07-30  John Levon  <levon@movementarian.org>
7426
7427         * lyxserver.h:
7428         * lyxserver.C: remove I/O callback too
7429
7430 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7431
7432         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7433         log.
7434
7435 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7436
7437         * many files: strip,frontStrip -> trim,ltrim,rtrim
7438
7439 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7440
7441         * PrinterParams.h: remove extern containsOnly, and include
7442         support/lstrings.h instead.
7443
7444         * LaTeX.C (scanAuxFile): modify because of strip changes
7445         (deplog): ditto
7446         * buffer.C (makeLaTeXFile): ditto
7447         * bufferparams.C (writeFile): ditt
7448         * lyxfont.C (stateText): ditto
7449         * lyxserver.C (read_ready): ditto
7450         * vc-backend.C (scanMaster): ditto
7451
7452         * BufferView_pimpl.h: ws changes
7453
7454         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7455
7456 2002-07-26  André Pönitz <poenitz@gmx.net>
7457
7458         * kb_sequence.C: remove unnedred usings
7459
7460 2002-07-26  Juergen Vigna  <jug@sad.it>
7461
7462         * lyxfind.C (LyXReplace): we have to check better if the returned
7463         text is not of theLockingInset()->getLockingInset().
7464
7465 2002-07-25  Juergen Vigna  <jug@sad.it>
7466
7467         * lyxfind.C (LyXReplace): don't replace if we don't get the
7468         right LyXText.
7469
7470         * undo_funcs.C (createUndo): remove debugging code.
7471
7472 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7473
7474         * buffer.C (parseSingleLyXformat2Token): Use default placement
7475         when reading old floats.
7476
7477         * FloatList.C (FloatList): Change the default placement of figure
7478         and tables to "tbp".
7479
7480 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7481
7482         * MenuBackend.C: using std::max
7483
7484 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7485
7486         * MenuBackend.C (expandToc):
7487         (expandToc2): code moved from xforms menu frontend. It is now
7488         generic and TOCs are transparent to menu frontends.
7489
7490 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7491
7492         * toc.C (getTocList): protect against buf=0
7493
7494         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7495         Menu as first parameter. Now, this calls itself recursively to
7496         expand a whole tree (this will be useful for TOC handling)
7497         (expandFloatInsert): remove 'wide' version of floats
7498
7499         * MenuBackend.h (submenuname): returns the name of the submenu.
7500         (submenu): returns the submenu itself, provided it has been
7501         created by MenuBackend::expand
7502
7503 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7504
7505         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7506         insets which have noFontChange == true. (bug #172)
7507
7508 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7509
7510         * BufferView_pimpl.C: add connection objects and use them...
7511         (Pimpl): here.
7512
7513 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7514
7515         * MenuBackend.C (expandLastfiles):
7516         (expandDocuments):
7517         (expandFormats):
7518         (expandFloatListInsert):
7519         (expandFloatInsert):
7520         (expand): split expand in parts
7521
7522 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7523
7524         * lyx_gui.C: use lyx_gui::exit()
7525
7526 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7527
7528         * LyXAction.C: show the failing pseudo action
7529
7530 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7531
7532         * buffer.C (readFile): Run the lyxconvert script in order to read
7533         old files.
7534
7535 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7536
7537         * LyXAction.C:
7538         * commandtags.h:
7539         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7540
7541 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7542
7543         * LyXAction.C:
7544         * commandtags.h:
7545         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7546
7547 2002-07-22  Herbert Voss  <voss@lyx.org>
7548
7549         * lengthcommon.C:
7550         * lyxlength.[Ch]: add support for the vertical lengths
7551
7552 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7553
7554         * toc.[Ch]: std:: fixes
7555
7556 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7557
7558         * lyxrc.C: do not include lyx_main.h
7559
7560         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7561         for layouts
7562
7563         * lyxrc.C:
7564         * encoding.C:
7565         * bufferlist.C:
7566         * BufferView2.C: include "lyxlex.h"
7567
7568         * tabular.h:
7569         * bufferparams.h: do not #include "lyxlex.h"
7570
7571         * lyxtextclasslist.C (Add): remove method
7572         (classlist): renamed to classlist_
7573
7574         * paragraph_pimpl.C:
7575         * paragraph.C:
7576         * text2.C:
7577         * CutAndPaste.C:
7578         * bufferview_funcs.C:
7579         * bufferlist.C:
7580         * text.C:
7581         * LaTeXFeatures.C:
7582         * buffer.C:
7583         * toc.C (getTocList): use BufferParams::getLyXTextClass
7584
7585         * toc.C (getTocList): use InsetFloat::addToToc
7586
7587         * toc.[Ch]: new files, containing helper functions to handle table
7588         of contents
7589
7590         * lyxfunc.C (dispatch): no need to remove spaces around command
7591         given as a string
7592         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7593         first command of the sequence; it is not very clever, but I do not
7594         have a better idea, actually
7595
7596         * LyXAction.C (LookupFunc): make sure to remove space at the
7597         beginning and end of the command
7598
7599 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7600
7601         * MenuBackend.C (getMenubar): new method: return the menubar of
7602         this menu set
7603         (read): treat differently reading of menu and menubar (in
7604         particular, the menubar has no name now)
7605         (Menu::menubar): remove
7606
7607         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7608         saving is finished
7609
7610 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7611
7612         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7613         a bibitem inset in a RTL paragraph.
7614
7615 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7616
7617         * paragraph_pimpl.C: constify
7618
7619         * BufferView_pimpl.C:
7620         * LaTeX.C:
7621         * lyxfunc.C: fix dispatch in a nicer way
7622
7623 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7624
7625         * lyxfunc.C (dispatch):
7626         * BufferView_pimpl.C:
7627         * BufferView_pimpl.h:
7628         * BufferView.C:
7629         * BufferView.h: rename Dispatch() to dispatch()
7630
7631         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7632
7633         * lyxlayout.C (Read): honor DependsOn tag
7634
7635         * lyxlayout.[Ch] (depends_on): new method
7636
7637         * version.C.in: update lyx_docversion
7638
7639         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7640
7641         * paragraph.C (validate): remove from here...
7642         * paragraph_pimpl.C (validate): ... and move here
7643         (isTextAt): make it const
7644
7645         * buffer.C (getLists): ws cleanup
7646
7647 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7648
7649         * language.C (read): Use iso8859-1 encoding in latex_lang
7650         (this prevents LyX from crashing when using iso10646-1 encoding).
7651
7652 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7653
7654         * text2.C (toggleInset): if cursor is inside an inset, close the
7655         inset and leave cursor _after_ it
7656
7657 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7658
7659         * lyxfunc.C: move minibuffer completion handling out of here
7660
7661 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7662
7663         * BufferView_pimpl.C:
7664         * LaTeX.C: fix dispatch calls
7665
7666 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7667
7668         * text.C (drawChars): Fix Arabic text rendering.
7669
7670 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7671
7672         * LyXAction.C:
7673         * commandtags.h:
7674         * lyxfunc.C: remove message-push/pop
7675
7676         * lyxserver.C:
7677         * lyxfunc.h:
7678         * lyxfunc.C: rationalise some code by removing verboseDispatch
7679           in favour of a bool argument to dispatch()
7680
7681 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7682
7683         * lyx_main.C (init): make sure to read symlinks as absolute paths
7684
7685 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7686
7687         * lyxfunc.h:
7688         * lyxfunc.C: no need for commandshortcut to be a member
7689
7690 2002-07-15  André Pönitz <poenitz@gmx.net>
7691
7692         * converter.C: add support for $$s (scripts from lib/scripts dir)
7693         * lyx_main.C: white space
7694
7695 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7696
7697         * bufferlist.C:
7698         * lyxrc.h:
7699         * lyxrc.C: remove second exit confirmation
7700
7701 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7702
7703         * BufferView.h:
7704         * BufferView.C:
7705         * BufferView2.C:
7706         * BufferView_pimpl.h:
7707         * BufferView_pimpl.C:
7708         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7709
7710 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7711
7712         * MenuBackend.C (expand): add numeric shortcuts to document menu
7713
7714         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7715
7716 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7717
7718         * lyxfont.C (setLyXFamily):
7719         (setLyXSeries):
7720         (setLyXShape):
7721         (setLyXSize):
7722         (setLyXMisc):
7723         (lyxRead):
7724         * debug.C (value):
7725         * buffer.C (asciiParagraph): use ascii_lowercase
7726
7727 2002-07-15  Mike Fabian  <mfabian@suse.de>
7728
7729         * lyxlex_pimpl.C (search_kw):
7730         * lyxlex.C (getLongString):
7731         * converter.h (operator<):
7732         * converter.C (operator<):
7733         * buffer.C (parseSingleLyXformat2Token):
7734         (asciiParagraph):
7735         * ToolbarDefaults.C (read):
7736         * MenuBackend.C (checkShortcuts):
7737         (read):
7738         * LColor.C (getFromGUIName):
7739         (getFromLyXName): use the compare_ascii_no_case instead of
7740         compare_no_case, because in turkish, 'i' is not the lowercase
7741         version of 'I', and thus turkish locale breaks parsing of tags.
7742
7743 2002-07-16  Angus Leeming  <leeming@lyx.org>
7744
7745         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7746         now takes a Buffer const & argument.
7747
7748 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7749
7750         * BufferView.C (resize): check there's a buffer to resize
7751
7752 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7753
7754         * lyxfunc.C: remove dead code
7755
7756         * lyxserver.h:
7757         * lyxserver.C: use lyx_guii::set_read_callback
7758
7759 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7760
7761         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7762         an inset in a RTL paragraph.
7763
7764 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7765
7766         * lyxfunc.C: repaint after a font size update
7767
7768 2002-07-15  André Pönitz <poenitz@gmx.net>
7769
7770         * lyxlength.C: inBP should be able to return negative values
7771
7772 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7773
7774         * lyxfunc.C: use lyx_gui::update_fonts()
7775
7776 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7777
7778         * lyxfunc.C: use lyx_gui::update_color()
7779
7780 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7781
7782         * bufferlist.C:
7783         * lyxfunc.h:
7784         * lyxfunc.C:
7785         * lyxrc.h:
7786         * lyxrc.C: remove file->new asks for name option, and let
7787           buffer-new take an argument
7788
7789 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7790
7791         * BufferView_pimpl.C: remove unneeded extra repaint()
7792
7793 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7794
7795         * LyXAction.C: allow command-sequence with NoBuffer
7796
7797         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7798
7799 2002-07-10  Angus Leeming  <leeming@lyx.org>
7800
7801         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7802
7803 2002-07-09  Angus Leeming  <leeming@lyx.org>
7804
7805         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7806
7807 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7808
7809         * lengthcommon.h: whitespace
7810
7811         * lyxfunc.C: update scrollbar after goto paragraph
7812
7813         * lyxtext.h: factor out page break drawing, and fix it so
7814           page break/added space paints as selected nicely
7815
7816 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7817
7818         * BufferView_pimpl.C: add FIXMEs, clean up a little
7819
7820 2002-07-09  André Pönitz <poenitz@gmx.net>
7821
7822         * lyxfont.[Ch]: support for wasy symbols
7823
7824 2002-07-08  André Pönitz <poenitz@gmx.net>
7825
7826         * BufferView_pimpl.C: apply John's patch for #93.
7827
7828 2002-07-05  Angus Leeming  <leeming@lyx.org>
7829
7830         * BufferView_pimpl.C (buffer): generate previews if desired.
7831
7832         * LColor.h: add "preview" to the color enum.
7833
7834         * LColor.C (LColor): add a corresponding entry to the items array.
7835
7836         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7837         with this buffer.
7838
7839 2002-07-05  Angus Leeming  <leeming@lyx.org>
7840
7841         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7842         The body of the code is now in the method that is passed an ostream &
7843         rather than a file name.
7844         Pass an additional only_preamble parameter, useful for the forthcoming
7845         preview stuff.
7846
7847 2002-07-03  André Pönitz <poenitz@gmx.net>
7848
7849         * lyxfunc.C: simplify getStatus() a bit for math stuff
7850
7851 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7852
7853         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7854
7855 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7856
7857         * text.C (changeRegionCase): do not change case of all the
7858         document when region ends at paragraph end (bug #461)
7859
7860 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7861
7862         * paragraph.C (startTeXParParams):
7863         (endTeXParParams): add \protect when necessary
7864
7865 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7866
7867         * BufferView_pimpl.C (workAreaExpose): remove warning
7868
7869 2002-06-27  Angus Leeming  <leeming@lyx.org>
7870
7871         * Makefile.am: add lyxlayout_ptr_fwd.h.
7872
7873 2002-06-26  André Pönitz <poenitz@gmx.net>
7874
7875         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7876
7877 2002-06-25  Angus Leeming  <leeming@lyx.org>
7878
7879         * lyxfunc.C (dispatch): Comment out the call to
7880         grfx::GCache::changeDisplay. The method no longer exists now that the
7881         pixmap generation part of the graphics loader has been moved into
7882         InsetGraphics.
7883
7884 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7885
7886         * text2.C: layout as layout
7887
7888         * text.C: layout as layout
7889
7890         * tabular.C (OldFormatRead): layout as layout
7891
7892         * paragraph_pimpl.C (TeXDeeper): layout as layout
7893         (realizeFont): layout as layout
7894
7895         * paragraph.C (writeFile): layout as layout
7896         (validate): layout as layout
7897         (getFont): layout as layout
7898         (getLabelFont): layout as layout
7899         (getLayoutFont): layout as layout
7900         (breakParagraph): layout as layout
7901         (stripLeadingSpaces): layout as layout
7902         (getEndLabel): layout as layout
7903         (getMaxDepthAfter): layout as layout
7904         (applyLayout): layout as layout
7905         (TeXOnePar): layout as layout
7906         (simpleTeXOnePar): layout as layout
7907         (TeXEnvironment): layout as layout
7908         (layout): layout as layout
7909         (layout): layout as layout
7910
7911         * lyxtextclass.C (compare_name): new functor to work with
7912         shared_ptr, layout as layout
7913         (Read): layout as layout
7914         (hasLayout): layout as layout
7915         (operator): layout as layout
7916         (delete_layout): layout as layout
7917         (defaultLayout): layout as layout
7918
7919         * lyxlayout_ptr_fwd.h: new file
7920
7921         * lyxlayout.C (Read): layout as layout
7922
7923         * lyx_cb.C (MenuInsertLabel): layout as layout
7924
7925         * bufferlist.C (newFile): layout as layout
7926
7927         * buffer.C (readLyXformat2): layout as layout
7928         (parseSingleLyXformat2Token): layout as layout
7929         (insertStringAsLines): layout as layout
7930         (asciiParagraph): layout as layout
7931         (latexParagraphs): layout as layout
7932         (makeLinuxDocFile): layout as layout
7933         (simpleLinuxDocOnePar): layout as layout
7934         (makeDocBookFile): layout as layout
7935         (simpleDocBookOnePar): layout as layout
7936         (getLists): layout as layout
7937
7938         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7939
7940         * CutAndPaste.C (cutSelection): layout as layout
7941         (pasteSelection): layout as layout
7942         (SwitchLayoutsBetweenClasses): layout as layout
7943
7944         * BufferView_pimpl.C (Dispatch): layout as layout
7945         (smartQuote): layout as layout
7946
7947         * BufferView2.C (unlockInset): layout as layout
7948
7949 2002-06-24  André Pönitz <poenitz@gmx.net>
7950
7951         * lyxfunc.C: fix #487
7952
7953 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7954
7955         * lyxrc.h:
7956         * lyxrc.C:
7957         * lyxfunc.C: remove display_shortcuts, show_banner
7958
7959 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7960
7961         * Buffer_pimpl.C: oops, update on resize
7962
7963 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7964
7965         * buffer.C:
7966         * converter.C:
7967         * exporter.C:
7968         * lyxfunc.C:
7969         * BufferView.h:
7970         * BufferView.C: use repaint()
7971
7972         * BufferView_pimpl.h:
7973         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7974           as it's a clearer description. Remove superfluous
7975           redraws.
7976
7977 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7978
7979         * text.C: fix bug 488. Not ideal, but getting
7980           getWord() to work properly for the insets that
7981           matter is more difficult ...
7982
7983 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7984
7985         * BufferView_pimpl.C:
7986         * LyXAction.C:
7987         * commandtags.h:
7988         * lyxfunc.C: remove the six million index lyxfuncs to just
7989           one, and DTRT (bug 458)
7990
7991 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7992
7993         * BufferView.h:
7994         * BufferView.C:
7995         * BufferView_pimpl.h:
7996         * BufferView_pimpl.C: clean up resize() stuff,
7997           and unnecessary updateScreen()s
7998
7999 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8000
8001         * BufferView.h:
8002         * BufferView.C:
8003         * BufferView_pimpl.h:
8004         * BufferView_pimpl.C:
8005         * lyxfind.h:
8006         * lyxfind.C:
8007         * minibuffer.C: remove focus management of workarea,
8008           not needed. Use screen's greyOut()
8009
8010 2002-06-17  Herbert Voss  <voss@lyx.org>
8011
8012         * converter.C: (convert) do not post a message, when converting
8013         fails, let the calling function decide what to do in this case
8014
8015 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8016
8017         * lyxfunc.C: tidy up a little
8018
8019 2002-06-16    <alstrup@diku.dk>
8020
8021         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8022         Got rid of FORMS_H_LOCATION include. Now we are
8023         GUII.
8024
8025 2002-06-15  LyX Development team  <lyx@rilke>
8026
8027         * buffer.[Ch] (sgmlOpenTag):
8028         (sgmlCloseTag): Added support for avoiding pernicious mixed
8029         content. Return number of lines written.
8030
8031         (makeLinuxDocFile):
8032         (makeDocBookFile): Fixed calls to sgml*Tag.
8033         Simple white space clean.
8034
8035         (simpleDocBookOnePar): Simple white space clean.
8036
8037         * tabular.[Ch] (docBook): Renamed to docbook and got another
8038         argument to related with the pernicious mixed content.
8039
8040         (docbookRow): Fixed calls for docbook inset method.
8041
8042 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8043
8044         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8045         so it's X11 independent.
8046
8047         * kb*.[Ch]: ditto.
8048
8049         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8050
8051 2002-06-15  Lyx Development team  <lyx@electronia>
8052
8053         * intl.h: Renamed getTrans to getTransManager.
8054
8055 2002-06-14  Angus Leeming  <leeming@lyx.org>
8056
8057         * Makefile.am: nuke forgotten stl_string_fwd.h.
8058
8059 2002-06-12  Angus Leeming  <leeming@lyx.org>
8060
8061         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8062
8063 2002-06-13  Angus Leeming  <leeming@lyx.org>
8064
8065         * LaTeX.C:
8066         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8067
8068 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8069
8070         * kbmap.C (getiso): add support for cyrillic and greek
8071
8072 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8073
8074         * BufferView.h:
8075         * BufferView.C:
8076         * BufferView_pimpl.h:
8077         * BufferView_pimpl.C: move bogus scrolling logic
8078           to xforms
8079
8080 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8081
8082         * lyxfunc.C:
8083         * BufferView_pimpl.C: view->resize() change
8084
8085 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8086
8087         * BufferView_pimpl.C: topCursorVisible
8088           prototype change
8089
8090 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8091
8092         * Makefile.am:
8093         * lyx_gui.h:
8094         * lyx_gui.C: move to frontends/
8095
8096         * main.C:
8097         * lyx_main.h:
8098         * lyx_main.C: changes from above
8099
8100 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8101
8102         * intl.C:
8103         * intl.h:
8104         * kbmap.C:
8105         * kbsequence.C:
8106         * lyx_cb.C:
8107         * lyx_main.C: minor tidy
8108
8109 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8110
8111         * BufferView_pimpl.h:
8112         * BufferView_pimpl.C:
8113         * BufferView.h:
8114         * BufferView.C: make painter() const,
8115           remove dead code
8116
8117         * BufferView2.C: use screen() accessor
8118
8119         * lyx_main.h:
8120         * lyx_main.C: some minor cleanup
8121
8122 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8123
8124         * BufferView_pimpl.h:
8125         * BufferView_pimpl.C: remove enter/leaveView,
8126           use workHeight()
8127
8128 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8129
8130         * BufferView.h:
8131         * BufferView.C:
8132         * BufferView2.C:
8133         * BufferView_pimpl.h:
8134         * BufferView_pimpl.C: only construct screen once,
8135           rename
8136
8137         * lyxrc.C: remove pointless comment
8138
8139 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8140
8141         * BufferView.h:
8142         * BufferView.C: remove active() and belowMouse()
8143
8144         * BufferView_pimpl.h:
8145         * BufferView_pimpl.C: use workarea() not workarea_,
8146           and make it use a scoped_ptr instead
8147
8148 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8149
8150         * lyx_gui.C: add debug message on BadWindow
8151
8152 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8153
8154         * sp_spell.C: fdopen is not part of the C++ standard.
8155
8156         * paragraph.C (InsetIterator): use >= instead of ==
8157
8158 2002-06-07  Angus Leeming  <leeming@lyx.org>
8159
8160         Fixes needed to compile with Compaq cxx 6.5.
8161         * BufferView_pimpl.C:
8162         * DepTable.C:
8163         * buffer.C:
8164         * converter.C:
8165         * encoding.C:
8166         * lyx_gui.C:
8167         * lyx_main.C:
8168         * lyxtextclasslist.C:
8169         * minibuffer.C:
8170         * sp_spell.C:
8171         * tabular_funcs.C:
8172         * vc-backend.C:
8173         all c-library variables have been moved into namespace std. Wrap
8174         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8175
8176         * lyxlength.C:
8177         * tabular-old.C:
8178         * tabular.C:
8179         Add a using std::abs declaration.
8180
8181         * kbmap.h (modifier_pair):
8182         * paragraph.h (InsetTable, InsetList):
8183         * lyxfont.h (FontBits):
8184         type definition made public.
8185
8186         * bufferlist.C (emergencyWriteAll): the compiler complains that
8187         there is more than one possible lyx::class_fun template to choose from.
8188         I re-named the void specialisation as lyx::void_class_fun.
8189
8190         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8191
8192         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8193         the compiler is is unable to find tostr in write_attribute.
8194
8195 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8196
8197         * buffer.C (sgmlError): hide #warning
8198
8199 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8200
8201         * xtl/*: get rid of xtl, which is not in use anyway
8202
8203         * LyXAction.C (init):
8204         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8205         were unimplemented xtl experimentation
8206
8207 2002-06-04  André Pönitz <poenitz@gmx.net>
8208
8209         * lyxfunc.C: disable array operation on simple formulae
8210
8211 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8212
8213         * converter.C: constify a bit
8214
8215 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8216
8217         * lyx_gui.C: check xforms version correctly
8218
8219 2002-04-30  Herbert Voss  <voss@lyx.org>
8220
8221         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8222         "keep" option
8223
8224 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8225
8226         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8227           attempt to register it with a VCS)
8228
8229 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8230
8231         * lyx_main.C (init): honor variables LYX_DIR_13x and
8232         LYX_USERDIR_13x
8233
8234 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8235
8236         * buffer.h:
8237         * buffer.C:
8238         * lyx_main.C: fix a crash on bad command line,
8239           and give a useful exit status on error
8240
8241         * lyxfunc.C (doImport): allow -i lyx to work
8242
8243 2002-03-30  André Pönitz <poenitz@gmx.net>
8244
8245         * lyxfunc.C: mathed font changes
8246
8247 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8248
8249         * LaTeX.C:
8250         * importer.h:
8251         * importer.C:
8252         * lyx_sty.h:
8253         * lyx_sty.C:
8254         * lyxlex.C:
8255         * lyxrow.h:
8256         * lyxtext.h:
8257         * paragraph.h:
8258         * paragraph.C:
8259         * texrow.h:
8260         * texrow.C:
8261         * text.C:
8262         * trans_mgr.h: srcdocs, and some minor cleanups
8263
8264 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8265
8266         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8267         call getFont all the time)
8268
8269 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8270
8271         * switch from SigC signals to boost::signals
8272
8273 2002-05-29  André Pönitz <poenitz@gmx.net>
8274
8275         * paragraph_pimpl.C (getChar): don't call size() too often...
8276
8277 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8278
8279         * paragraph_pimpl.C (insertChar): do not try to update tables when
8280         appending (pos == size())
8281
8282         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8283         in order to reduce drastically the number of comparisons needed to
8284         parse a large document
8285
8286 2002-05-29  André Pönitz <poenitz@gmx.net>
8287
8288         * text.C:
8289         * text2.C:
8290         * lyxtextclass.C:
8291         * sp_pspell.h:
8292         * textclasslist.[Ch]:
8293         * sp_ispell.h: whitespace change
8294
8295 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8296
8297         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8298         lyxaction directly now.
8299
8300 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8301
8302         * trans.C:
8303         * lyxfont.C:
8304         * lyxvc.C: remove unused headers
8305
8306 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8307
8308         * Makefile.am:
8309         * buffer.h:
8310         * undostack.h:
8311         * undostack.C:
8312         * undo_funcs.h:
8313         * undo_funcs.C: some cleanups. Use shared_ptr
8314           and a template for the undo stacks.
8315
8316 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8317
8318         * BufferView_pimpl.h:
8319         * BufferView_pimpl.C:
8320         * kbmap.h:
8321         * kbmap.C:
8322         * kbsequence.h:
8323         * kbsequence.C:
8324         * lyxfunc.h:
8325         * lyxfunc.C:
8326         * text2.C: use key_state/mouse_state
8327
8328 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8329
8330         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8331         and LSubstring
8332
8333         * chset.C: change include order
8334         (loadFile): use boost regex and get rid of LRegex and LSubstring
8335
8336         * Makefile.am (BOOST_LIBS): new variable
8337         (lyx_LDADD): use it
8338
8339         * LaTeX.C: change include order.
8340         (scanAuxFile): use boost regex and get rid of LRegex and
8341         LSubstring
8342         (deplog): ditto
8343
8344 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8345
8346         * ColorHandler.h:
8347         * ColorHandler.C:
8348         * FontInfo.h:
8349         * FontInfo.C: moved to frontends/xforms/
8350
8351         * FontLoader.h:
8352         * FontLoader.C: moved into frontends for GUIIzation
8353
8354         * Makefile.am:
8355         * lyx_gui.C:
8356         * lyxfont.C:
8357         * lyxfunc.C: changes from above
8358
8359 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8360
8361         * LColor.C: remove spurious X include
8362
8363         * BufferView_pimpl.C:
8364         * Makefile.am:
8365         * font.h:
8366         * font.C:
8367         * text.C:
8368         * text2.C: move font metrics to frontends/
8369
8370 2002-05-24  Juergen Vigna  <jug@sad.it>
8371
8372         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8373         setting the undo_cursor.
8374
8375         * ParagraphParameters.h: include local includes first.
8376
8377 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8378
8379         * BufferView_pimpl.C:
8380         * BufferView_pimpl.h:
8381         * Makefile.am:
8382         * WorkArea.h:
8383         * WorkArea.C:
8384         * screen.C: move WorkArea into frontends/
8385
8386         * lyxscreen.h:
8387         * screen.C:
8388         * text.C:
8389         * BufferView.C:
8390         * BufferView2.C: move LyXScreen into frontends/
8391
8392         * lyxlookup.h:
8393         * lyxlookup.C:
8394         * lyx_gui.C: move lyxlookup into frontends/xforms/
8395
8396 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8397
8398         * BufferView2.C:
8399         * BufferView_pimpl.C:
8400         * FontLoader.C:
8401         * LyXView.h:
8402         * LyXView.C:
8403         * Makefile.am:
8404         * WorkArea.C:
8405         * XFormsView.h:
8406         * XFormsView.C:
8407         * buffer.C:
8408         * bufferlist.C:
8409         * bufferview_funcs.C:
8410         * converter.C:
8411         * importer.C:
8412         * lyx_cb.C:
8413         * lyx_gui.C:
8414         * lyx_main.C:
8415         * lyx_find.C:
8416         * lyxfunc.C:
8417         * lyxvc.C:
8418         * minibuffer.C:
8419         * text.C:
8420         * text2.C:
8421         * trans.C:
8422         * vc-backend.C: move LyX/XFormsView into frontends/
8423
8424 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8425
8426         * Makefile.am:
8427         * PainterBase.C:
8428         * PainterBase.h:
8429         * Painter.C:
8430         * Painter.h:
8431         * WorkArea.C:
8432         * WorkArea.h:
8433         * screen.C:
8434         * tabular.C:
8435         * text.C:
8436         * text2.C: move Painter to frontends/
8437
8438 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8439
8440         * buffer.C: comment out some some code that depend upon lyx_format
8441         < 220
8442
8443         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8444         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8445
8446         * buffer.h (NO_COMPABILITY): turn off compability
8447
8448         * ColorHandler.C: include scoped_array.hpp
8449
8450         * font.C: Use more specific smart_ptr header.
8451         * Painter.C: ditto
8452         * gettext.C: ditto
8453         * ShareContainer.h: ditto
8454         * lyx_main.h: ditto
8455         * kbmap.h: ditto
8456         * FontInfo.h: ditto
8457         * BufferView_pimpl.h: ditto
8458         * ColorHandler.h: ditto
8459
8460         * kbmap.C (defkey): change call to shared_ptr::reset
8461
8462 2002-05-21  Juergen Vigna  <jug@sad.it>
8463
8464         * buffer.C (insertErtContents): fix to insert ert asis if it is
8465         non empty. Skip it completely if it contains only whitespaces.
8466
8467 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8468
8469         * BufferView_pimpl.C:
8470         * BufferView2.C: clear selection on paste (bug 393)
8471
8472 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8473
8474         * DepTable.C: include ctime
8475
8476 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8477
8478         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8479
8480 2002-05-14  Juergen Vigna  <jug@sad.it>
8481
8482         * text.C (breakParagraph): fixed function to honor the keepempty
8483         layout in the right maner and also to permit the right breaking
8484         algorithm on empty or non empyt keepempty paragraphs.
8485
8486         * paragraph.C (breakParagraph): we have to check also if the par
8487         is really empty (!size()) for isempty otherwise we do the wrong
8488         paragraph break.
8489
8490 2002-05-10  Juergen Vigna  <jug@sad.it>
8491
8492         * buffer.[Ch] : The following are only changes to the ert
8493         compatibility read reading old LaTeX layout and font stuff and
8494         convert it to ERTInsets.
8495
8496         * buffer.h: added isErtInset().
8497
8498         * buffer.C (struct ErtComp): add a fromlayout bool to check
8499         if we're inside a LaTeX layout.
8500         (isErtInset): new helper function.
8501         (insertErtContents): look for other ert insets before this one
8502         and insert the contents there, so that we don't have subsequent
8503         ERT insets with nothing between them. This way we create only one
8504         inset with multiple paragraphs. Also check if we don't insert only
8505         spaces ' ' as they are ignored anyway afterwards in the .tex file
8506         so if we have only spaces we will ignore this latex part in the
8507         new file.
8508         (parseSingleLyXformat2Token \\layout): better compatibility when
8509         reading layout-latex stuff.
8510         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8511         language tag.
8512         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8513         stuff after reading the inset only get the information back from
8514         the stack.
8515
8516 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8517
8518         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8519
8520         * LaTeXFeatures.C (getBabelOptions): New method.
8521
8522 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8523
8524         * BufferView_pimpl.C (Dispatch): work around missing argument for
8525         'layout'
8526
8527 2002-05-08  Juergen Vigna  <jug@sad.it>
8528
8529         * text.C (leftMargin): handle paragraph leftindent.
8530
8531         * paragraph.C (writeFile): write the new \\leftindent tag.
8532         (validate): handle leftindent code.
8533         (TeXEnvironment): handle paragraphleftindent code again.
8534
8535         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8536
8537         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8538         for paragrap_extra indent code and new token \\leftindent.
8539         (latexParagraphs): handle the leftindent as environment.
8540
8541         * ParameterStruct.h: added leftindent support.
8542
8543         * ParagraphParameters.C (leftIndent): added support functions for
8544         the paragraph left indent.
8545
8546         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8547         more appropriate.
8548
8549 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8550
8551         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8552         inside insetERT.
8553
8554         * text.C (computeBidiTables): No bidi in insetERT.
8555
8556         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8557         in RTL documents.
8558
8559 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8560
8561         * version.C.in: pre 5
8562
8563 2002-05-02  José Matos  <jamatos@fep.up.pt>
8564         * buffer.C (makeDocBookFile): white space changes, add newline to
8565         command styles.
8566         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8567
8568         * tabular.C (docBook): fix typo.
8569
8570 2002-05-03  Juergen Vigna  <jug@sad.it>
8571
8572         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8573         change in LyXText as we can not be sure it was not freed.
8574         (drawOneRow): remove unused code.
8575
8576         * text.C (drawInset): redo the calculation of the need_break_row as
8577         it could have a row which was already freed.
8578         (draw): look at the return value of drawInset and return false if
8579         it also returned false.
8580         (paintRowText): look at the return value of draw and return false if
8581         it also returned false.
8582
8583         * lyxtext.h: added bool return type to drawInset() and draw() so that
8584         if we have a change in the row so that the rowbreak has to be redone
8585         we abort drawing as it will be called again.
8586
8587 2002-05-02  Juergen Vigna  <jug@sad.it>
8588
8589         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8590         a change in the maintext also if we're inside an inset.
8591         (Dispatch): set the cursor again after a break line and after the
8592         screen has been updated as it could be we're in a different row.
8593
8594         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8595         to set the cursor behind the pargraph with > size().
8596         (setCursor): check also for the same paragraph when checking where
8597         to put the cursor if we have a NFR inset.
8598
8599         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8600         parts of layout read further up as it still was in the wrong
8601         position.
8602
8603 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8604
8605         * screen.C (drawFromTo): change sine fullRebreak always return
8606         true.
8607
8608         * buffer.C (parseSingleLyXformat2Token): reindent some
8609
8610         * BufferView_pimpl.C (update): change since fullRebreak always
8611         return true.
8612         (Dispatch): git rid of the last hardcoded "Standard"s.
8613
8614 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8615
8616         * text2.[Ch] (fullRebreak): make it return void now that we always
8617         returned true.
8618
8619 2002-04-30  Juergen Vigna  <jug@sad.it>
8620
8621         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8622         ert compatibility check for "latex" layout.
8623
8624 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8625
8626         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8627         minipages: use col% instead of p%, and also use the current font.
8628         (makeLaTeXFile): Fix use babel condition.
8629         (parseSingleLyXformat2Token): Correct font when reading old floats.
8630
8631 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8632
8633         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8634         inserting list of floats.
8635
8636 2002-04-25  Herbert Voss  <voss@lyx.org>
8637
8638         * MenuBackend.C (expand): don't add the graphics extensions to the
8639         export menu
8640
8641 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8642
8643         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8644         non-existing layout, do not complain if it was the default layout
8645         of the original class (bug #342)
8646
8647 2002-04-24  Juergen Vigna  <jug@sad.it>
8648
8649         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8650         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8651
8652 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8653
8654         * buffer.C (getBibkeyList): If using \bibliography, return the
8655         option field with the reference itself. Enables us to provide natbib
8656         support when using \bibliography.
8657
8658 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8659
8660         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8661
8662         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8663         natbib is provided by the LaTeX class.
8664
8665 2002-04-23  Juergen Vigna  <jug@sad.it>
8666
8667         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8668         Wakeup functions.
8669
8670         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8671
8672 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8673
8674         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8675
8676         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8677         ensuremath around textordmasculine, textordfeminine and
8678         textdegree.
8679
8680 2002-04-19  Juergen Vigna  <jug@sad.it>
8681
8682         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8683         reinitializing the buffer otherwise row-dimensions may be wrong.
8684         (update): reset also the selection cursors if they do exits otherwise
8685         their x/y positions may be wrong.
8686
8687         * text2.C (cursorDown): don't enter the inset if we came from a row
8688         above and are one row over the inset.
8689
8690         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8691         really leaving an inset.
8692
8693 2002-04-18  Juergen Vigna  <jug@sad.it>
8694
8695         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8696         of the selected paragraph does not have the selected layout also if
8697         the last one had!
8698
8699         * text2.C (setLayout): fixed bug which did not change last selected
8700         paragraph.
8701
8702         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8703         changed the read and substituted \\end_float with \\end_inset!
8704
8705         * BufferView_pimpl.C (cursorPrevious):
8706         (cursorNext): fixed to make it work with rows heigher than the work
8707         area without moving the cursor only the draw of the row.
8708         (workAreaMotionNotify): fix jumping over high rows.
8709
8710 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8711
8712         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8713         Ressler.
8714
8715 2002-04-16  Juergen Vigna  <jug@sad.it>
8716
8717         * text2.C (setCursor): set also the irow().
8718         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8719         (cursorUp):
8720         (cursorDown): support for locking an inset if the x_fix value goes
8721         inside it. That way I can transverse insets too with cursor up/down.
8722
8723         * lyxrow.h: added irow helper function same as other (i) functions.
8724
8725         * BufferView_pimpl.C (cursorPrevious):
8726         (cursorNext): fixed for insets!
8727
8728 2002-04-15  Juergen Vigna  <jug@sad.it>
8729
8730         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8731         position otherwise it is wrong in some cases.
8732
8733         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8734         inside the inset before the call.
8735
8736 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8737
8738         * buffer.[Ch] (getBibkeyList): make it const.
8739
8740 2002-04-12  Juergen Vigna  <jug@sad.it>
8741
8742         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8743
8744         * text2.C (getCursorX): new helper function
8745         (setCursor): compute also ix_
8746         (setCursorFromCoordinates): set also ix.
8747
8748         * lyxcursor.h: added ix_ and helper functions.
8749
8750         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8751
8752         * buffer.C (insertStringAsLines): dont break paragraph if the this
8753         paragraph is inside an inset which does not permit it!
8754
8755         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8756         also with no chars on this paragraph.
8757         (paintRowText): only paint stuff if it's inside the workarea!
8758
8759         * paragraph.C (breakParagraph): honor keepempty flag and break the
8760         paragraph always below not above.
8761
8762         * BufferView2.C (unlockInset): update the paragraph layout on inset
8763         unlock as we changed paragraph in such a case.
8764
8765         * lyxfind.C (LyXFind): clear the former selection if not found!
8766
8767         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8768         again called in insertChar().
8769
8770         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8771         an inset which uses the whole row!
8772         (rightMargin): ditto.
8773         (insertChar): force a rebreak if we inserted an inset!
8774
8775 2002-03-28  Herbert Voss  <voss@lyx.org>
8776
8777         * lyxlength.[Ch]: add inBP() to get the right PS-point
8778         units (BigPoint). With inPixels we have rounding errors
8779
8780 2002-04-11  Juergen Vigna  <jug@sad.it>
8781
8782         * text2.C (setCursorFromCoordinates): set iy to the right value.
8783         (setCursor): add check if row->previous exists!
8784
8785         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8786         an old float_type as this was the case in the old code!
8787
8788         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8789
8790         * BufferView2.C (showLockedInsetCursor): use iy
8791         (fitLockedInsetCursor): ditto
8792
8793         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8794         locked insets as there we have the right value now.
8795
8796         * lyxcursor.C: added iy_ variable and iy functions to set to the
8797         baseline of cursor-y of the locked inset.
8798
8799         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8800         (setCursor): fixed for insets which need a full row.
8801
8802         * text.C (rowLastPrintable): don't ignore the last space when before
8803         an inset which needs a full row.
8804         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8805         as last character of a row when before a inset which needs a full row.
8806
8807 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8808
8809         * version.C.in: update date
8810
8811         * text2.C (fullRebreak): try to always return true and see what
8812         happens...
8813
8814 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8815
8816         * MenuBackend.C (expand): use Floating::listName
8817
8818         * FloatList.C (FloatList): add listName argument to the built-in
8819         floats
8820
8821         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8822         text associated with the float.
8823
8824 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8825
8826         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8827
8828 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8829
8830         * ShareContainer.h: add a couple of missing typenames.
8831
8832 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8833
8834         * lyxrc.C (getDescription): use _() correctly rather than N_().
8835
8836 2002-03-28  Herbert Voss  <voss@lyx.org>
8837
8838         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8839         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8840
8841 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8842
8843         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8844         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8845
8846 2002-03-29  Juergen Vigna  <jug@sad.it>
8847
8848         * lyxfunc.C (dispatch): add a missing fitCursor call.
8849
8850         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8851         it was scrolled by a cursor move, so return the bool status.
8852
8853         * BufferView.C (fitCursor): return the bool flag also to the outside
8854         world as this is needed.
8855
8856         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8857
8858         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8859         call the edit() as it is not needed (and wrong) IMO.
8860         (workAreaButtonPress): set the screen_first variable before evt.
8861         unlock the inset as this may change screen_first and then we have
8862         a wrong y position for the click!
8863
8864 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8865
8866         * MenuBackend.C (expand): another translation that I missed
8867
8868 2002-03-28  Juergen Vigna  <jug@sad.it>
8869
8870         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8871
8872         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8873
8874 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8875
8876         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8877
8878         * MenuBackend.C (expand): fix export/view/update when there is no
8879         document open.
8880
8881 2002-03-27  Herbert Voss  <voss@lyx.org>
8882
8883         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8884         and text%
8885
8886 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8887
8888         * bufferview_funcs.C (currentState): only show paragraph number
8889         for is DEVEL_VERSION is set.
8890
8891         * lyxfunc.C (dispatch): put warning in INFO channel
8892
8893         * MenuBackend.C (expand): translate the name of floats
8894
8895         * FloatList.C (FloatList): mark the float names for translation
8896
8897         * converter.C (convert): use LibScriptSearch
8898
8899 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8900
8901         * MenuBackend.C (defaults): fix default menu (we might as well get
8902         rid of it...)
8903
8904 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8905
8906         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8907         directory.
8908
8909 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8910
8911         * lyxvc.C: reorder includes.
8912
8913 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8914
8915         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8916           properly
8917
8918 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8919
8920         * CutAndPaste.C: change layouts earlier on paste
8921           to avoid crashing when calling getFont()
8922
8923 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8924
8925         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8926         irritating #error.
8927
8928 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8929
8930         * WorkArea.C: remove 'Pending' debug message.
8931
8932         * most files: ws cleanup
8933
8934         * buffer.[Ch]: ws changes
8935
8936         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8937
8938 2002-03-21  Juergen Vigna  <jug@sad.it>
8939
8940         * tabular.C (SetMultiColumn): collapse also the contents of the
8941         cells and set the last border right. Added a Buffer const * param.
8942
8943 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8944
8945         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8946         linking or not.
8947
8948 2002-03-19  Juergen Vigna  <jug@sad.it>
8949
8950         * text2.C (clearSelection): reset also xsel_cache.
8951
8952         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8953         where it needs to be called (John tells us to do so too :)
8954         (selectionLost): reset sel_cache.
8955
8956         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8957
8958 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8959
8960         * text2.C (setCursorIntern): put debuging code in INSETS channel
8961
8962 2002-03-19  André Pönitz <poenitz@gmx.net>
8963
8964         * lyxfunc.C: tiny whitespace change
8965
8966 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8967
8968         * ToolbarDefaults.C (init):
8969         * LyXAction.C (init):
8970         * commandtags.h:
8971         * BufferView_pimpl.C (Dispatch):
8972         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8973
8974 2002-03-19  Allan Rae  <rae@lyx.org>
8975
8976         * exporter.C (Export): removeAutoInsets before doing anything else.
8977         While I've just introduced a dependency on BufferView this really is
8978         the best place to clean the buffer otherwise you need to cleanup in
8979         a dozen places before calling export or cleanup in a dozen functions
8980         that export calls.
8981
8982         * converter.C (runLaTeX):
8983         (scanLog): Better handling of removeAutoInsets and screen updates.
8984
8985         * lyxfunc.C (dispatch): small whitespace changes
8986
8987 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8988
8989         * WorkArea.C (C_WorkAreaEvent): return a value.
8990         (event_cb): return 1 if we handled the event, 0 otherwise.
8991
8992         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8993
8994 2002-03-18  Juergen Vigna  <jug@sad.it>
8995
8996         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8997         (GetAdditionalWidth): ditto.
8998         (RightLine): ditto.
8999         (LeftLine): ditto.
9000
9001         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9002         inset if we're there actually (probably not used right now but this
9003         is the direction to go for unifying code).
9004         (paste): disable code to clear the selection.
9005
9006         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9007         inside an InsetText and move the check further up as it is in the
9008         wrong place.
9009
9010         * text2.C (pasteSelection): set a selection over the pasted text.
9011
9012 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9013
9014         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9015         and libgraphics to build on Cygwin.
9016
9017 2002-03-15  Juergen Vigna  <jug@sad.it>
9018
9019         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9020         inserting an Inset into the paragraph. I know this is not the best
9021         fix but we already use current_view in CutAndPaste so we will remove
9022         all of it's using at the same time.
9023
9024         * buffer.C (sgmlError): deactivated function till it is rewritten in
9025         the right mode, now it can create problems.
9026
9027         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9028         before accessing it.
9029
9030 2002-03-14  Juergen Vigna  <jug@sad.it>
9031
9032         * undo_funcs.C (textHandleUndo): do the right thing when updating
9033         the inset after the undo/redo.
9034
9035         * text2.C (setCursor): just some testcode for #44 not ready yet.
9036
9037         * undo_funcs.C (textHandleUndo): set the next() and previous()
9038         pointers of the paragraph to 0 before deleting otherwise we have
9039         problems with the Paragraph::[destructor].
9040
9041         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9042         on a paragraph insertion.
9043
9044 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9045
9046         * buffer.C (asciiParagraph): use += operator for char append to
9047         string.
9048
9049         * paragraph.C (getFontSettings): compare >= not just >
9050         (highestFontInRange): ditto
9051         (setFont): ditto
9052
9053 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9054
9055         * paragraph.C: change several algorithm to be more appripriate for
9056         the problem domain. This is lookip in FontList and in the InsetList.
9057
9058 2002-03-13  André Pönitz <poenitz@gmx.net>
9059
9060         * commandtags.h:
9061         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9062
9063 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9064
9065         * commandtags.h:
9066         * LyXAction.C:
9067         * lyxfunc.C:
9068         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9069
9070 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9071
9072         * Painter.C (display): anon helper function, adjust code for this
9073         change.
9074         (pixmap): remove function.
9075
9076         * Painter.h: remove private display variable.
9077
9078         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9079
9080 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9081
9082         * WorkArea.[Ch]: remove figinset_canvas cruft.
9083
9084 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9085
9086         * lyxtextclass.C (operator): add one item cache optimization.
9087
9088         * bufferlist.h: doxy changes
9089
9090         * bufferlist.C: ws changes
9091
9092         * DepTable.[Ch] (ext_exist): place const in the right spot.
9093
9094         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9095         call resizeInsets.
9096         (workAreaExpose): call resizeInsets when the with BufferView changes.
9097         (Dispatch): adjust for protectedBlank removal
9098         (specialChar): call updateInset if the insert went ok.
9099
9100         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9101         specialChar instead.
9102
9103         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9104
9105         * BufferView.h: doxy change
9106
9107         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9108
9109         * lyxtextclass.C (operator[]): remove non-const version
9110         (defaultLayout): remove non-const version
9111
9112 2002-03-12  Juergen Vigna  <jug@sad.it>
9113
9114         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9115         did resize the LyXText too.
9116
9117         * buffer.C (readLyXformat2): set layout information on newly allocated
9118         paragraphs.
9119
9120         * tabular.C (OldFormatRead): set layout information on the paragraph.
9121
9122 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9123
9124         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9125
9126 2002-03-11  Juergen Vigna  <jug@sad.it>
9127
9128         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9129         plainly wrong.
9130         (resizeCurrentBuffer): force also the insets to resize themselfes.
9131         (moveCursorUpdate): fixed up for InsetText.
9132
9133 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9134
9135         * commandtags.h:
9136         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9137         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9138         value of Dialogs::tooltipsEnabled().
9139         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9140
9141 2002-03-08  Juergen Vigna  <jug@sad.it>
9142
9143         * BufferView_pimpl.C (updateInset): update inset inside inset also
9144         if it isn't inside theLockingInset().
9145
9146 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9147
9148         * buffer.C (asciiParagraph): redo some of the word and line length
9149         handling.
9150         (getLists): look for Caption instead of caption.
9151
9152 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9153
9154         * buffer.C (Buffer): initialize niceFile to true
9155         (makeLaTeXFile):
9156         (makeLinuxDocFile):
9157         (makeDocBookFile): make sure niceFile is true on exit
9158
9159 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9160
9161         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9162
9163 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9164
9165         * LyXSendto.C: remove.
9166         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9167         * lyx_gui.C: remove now-redundant comment.
9168         * ColorHandler.h: remove forward declaration of class WorkArea.
9169         * lyxfunc.C: remove #include "WorkArea.h".
9170
9171 2002-03-07  Juergen Vigna  <jug@sad.it>
9172
9173         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9174         got moved away with the DEPM and also set the inset_owner always
9175         right which before could have been omitted.
9176
9177 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9178
9179         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9180         wanted layout is not found.
9181
9182 2002-03-07  Juergen Vigna  <jug@sad.it>
9183
9184         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9185
9186 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9187
9188         * paragraph.C (breakParagraph): use default layout not layout of
9189         prev paragraph.
9190         (Paragraph): clear ParagraphParameters.
9191
9192 2002-03-06  Juergen Vigna  <jug@sad.it>
9193
9194         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9195         otherwise it would not be a valid lenght. Fixed a special case in
9196         the minipage compatibility read where we end the document with a
9197         minipage.
9198
9199         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9200         was set as it could be 0 for InsetTexts first entry.
9201
9202 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9203
9204         * paragraph.C (writeFile): if layout is empty write out
9205         defaultLayoutName().
9206
9207         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9208         file without named layout we set layout to defaultLayoutName().
9209
9210 2002-03-06  Juergen Vigna  <jug@sad.it>
9211
9212         * CutAndPaste.C (copySelection): set layout for new paragraph.
9213
9214         * text.C (prepareToPrint): leave ERT inset left aligned
9215         (leftMargin): don't indent paragraphs inside ERT insets
9216
9217 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9218
9219         * paragraph.C (breakParagraph): dont call clear do the work manually
9220
9221         * paragraph.[Ch] (clear): remove function
9222
9223 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9224
9225         * paragraph.C (Paragraph): dont call clear, the work has already
9226         been done.
9227
9228         * lyxtextclass.C (operator): assert if n is empty
9229
9230         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9231         work manually instead.
9232
9233 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9234
9235         * BufferView_pimpl.C: protect selectionLost against text == 0
9236
9237 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9238
9239         * text.C (breakParagraph): fix a setting layout to '0' problem.
9240
9241 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9242
9243         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9244         final location of file, for the included files, and graphics.
9245
9246 2002-03-05  Juergen Vigna  <jug@sad.it>
9247
9248         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9249
9250 2002-03-04  Juergen Vigna  <jug@sad.it>
9251
9252         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9253
9254         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9255         last column of multicolumn cells.
9256         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9257
9258 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9259
9260         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9261         file if it doesn't go to a temporary file.
9262
9263         * buffer.C (sgmlOpenTag):
9264         (sgmlCloseTag):  remove extra newline insertion.
9265
9266 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9267
9268         * text.C (getRowNearY): comment out debug msg
9269
9270 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9271
9272         * text2.C: first -> first_y
9273
9274         * text.C (getRowNearY): add some attemts at a possible
9275         optimization, not working.
9276
9277         * tabular.[Ch]: add BufferParams to several function so that newly
9278         created paragraph can be initialized to he default layotu for the
9279         buffers textclass.
9280
9281         * tabular-old.C (ReadOld): add buf->params to call of Init
9282
9283         * screen.C: rename text->first to text->first_y
9284
9285         * paragraph.C (breakParagraph): always set layout in the broken
9286         paragraph
9287
9288         * lyxtextclass.C (Read): remove lowercase
9289         (hasLayout): ditto
9290         (operator): ditto
9291         (delete_layout): ditto
9292
9293         * lyxtext.h: rename first -> first_y
9294
9295         * lyxlayout.C (Read): remove lowercase
9296         (name): ditto
9297         (setName): ditto
9298         (obsoleted_by): ditto
9299
9300         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9301
9302         * buffer.C (insertErtContents): add params are to InsetERT
9303         (parseSingleLyXformat2Token): add code to check if a paragraphs
9304         layout really exist.
9305         (parseSingleLyXformat2Token): add params to several inset
9306         constructors
9307         (asciiParagraph): remove lowercase, do the layout comparisons with
9308         no_case
9309
9310         * BufferView_pimpl.C (cursorNext): first -> first_y
9311         (resizeCurrentBuffer): first -> first_y
9312         (updateScrollbar): first -> first_y
9313         (scrollCB): first -> first_y
9314         (workAreaMotionNotify): first -> first_y
9315         (workAreaButtonPress): first -> first_y
9316         (checkInsetHit): first -> first_y
9317         (cursorPrevious): first -> first_y
9318         (cursorNext): first -> first_y
9319         (Dispatch): add buffer_->params to severl inset contructors
9320
9321 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9322
9323         * lyxlayout.C (Read): remove some debug info that I forgot.
9324
9325         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9326         clean up the code slightly.
9327         (makeLinuxDocFile): ditto
9328         (makeDocBookFile): ditto
9329
9330         * text2.C: layout as string
9331
9332         * text.C: layout as string
9333
9334         * paragraph_pimpl.C: layout as string
9335
9336         * paragraph.[Ch]: layout as string
9337
9338         * lyxtextclasslist.[Ch]: layout as string
9339
9340         * lyxtextclass.[Ch]: layout as string
9341
9342         * lyxtext.h: layout as string
9343
9344         * lyxlayout.[Ch]: layout as string
9345
9346         * lyx_cb.C: layout as string
9347
9348         * bufferview_funcs.C: layout as string
9349
9350         * bufferparams.C: layout as string
9351
9352         * buffer.C: layout as string
9353
9354         * LyXView.[Ch]: layout as string
9355
9356         * LaTeXFeatures.[Ch]: layout as string
9357
9358         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9359
9360         * BufferView_pimpl.C: change current_layout to string, remove
9361         lyx::layout_type.
9362         (Dispatch):
9363         (smartQuote):
9364         (insertInset):
9365         (workAreaButtonRelease): layout as string
9366
9367         * BufferView2.C (unlockInset): adjust
9368
9369         * vspace.C (asLatexCommand): use an explict temp variable.
9370
9371 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9372
9373         * Makefile.am: use FRONTEND_*
9374
9375 2002-03-01  Juergen Vigna  <jug@sad.it>
9376
9377         * tabular.C (SetWidthOfMulticolCell): changed to something better
9378         I hope but still work in progress.
9379         (recalculateMulticolumnsOfColumn): renamed function from
9380         recalculateMulticolCells as it is more appropriate now.
9381         (SetWidthOfCell): calculate multicols better.
9382
9383 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9384
9385         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9386
9387         * lyxfunc.C (processKeySym): print sequence also if it is
9388         `deleted' (complete)
9389
9390         * kbsequence.C (print): print sequence even if it is deleted
9391         (complete would be a better word, actually).
9392
9393         * lyxfunc.C (dispatch): print complete options after a prefix key
9394
9395         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9396
9397 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9398
9399         * text2.C (setCharFont): eliminate setCharFont code duplication.
9400
9401 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9402
9403         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9404         LFUN_TABULAR_FEATURE (bug #177)
9405
9406 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9407
9408         * Makefile.am: remove figure.h
9409
9410 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9411
9412         * Bufferview_pimpl.C:
9413         * CutAndPasteC:
9414         * LaTeX.C:
9415         * LyXSendto.C:
9416         * buffer.C:
9417         * bufferlist.C:
9418         * converter.C:
9419         * language.C:
9420         * lyxfunc.C:
9421         * lyxvc.C:
9422         * paragraph.C:
9423         * text.C:
9424         * text2.C: remove #include "lyx_gui_misc.h".
9425
9426         * LaTeX.C: added #include <cstdio>
9427
9428 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9429
9430         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9431         that the paragraph following this one can have.
9432
9433         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9434
9435         * vspace.C (asLatexCommand): fix bogus gcc warning
9436
9437         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9438
9439 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9440
9441         * text2.C (setLayout): get rid of redundant code
9442
9443 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9444
9445         * text2.C (incDepth): make sure depth cannot be increased beyond
9446         reasonable values.
9447
9448 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9449
9450         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9451         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9452
9453         * PainterBase.h (image):
9454         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9455         a LyXImage const *.
9456
9457 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9458
9459         * BufferView.C:
9460         * BufferView.h:
9461         * BufferView_pimpl.C:
9462         * BufferView_pimpl.h:
9463         * LaTeXFeatures.C:
9464         * LyXAction.C:
9465         * LyXView.C:
9466         * Makefile.am:
9467         * UpdateList.h:
9468         * UpdateList.C:
9469         * buffer.C:
9470         * figure.h:
9471         * figureForm.C:
9472         * figureForm.h:
9473         * figure_form.C:
9474         * figure_form.h:
9475         * lyx_cb.C:
9476         * lyx_gui.C:
9477         * lyx_gui_misc.C:
9478         * lyxfunc.C:
9479         * sp_base.h:
9480         * sp_ispell.h:
9481         * sp_pspell.h:
9482         * sp_spell.C: remove fig inset, and the crap house of
9483           cards that follows it
9484
9485 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9486
9487         * Makefile.am:
9488         * lyxserver.C:
9489         * os2_defines.h:
9490         * os2_errortable.h:
9491         * nt_defines.h: move .h into support/
9492
9493         * vms_defines.h: remove
9494
9495         * WorkArea.C: add space in debug output
9496
9497         * text2.C:
9498         * paragraph.C:
9499         * buffer.C: add WITH_WARNINGS
9500
9501         * vc-backend.h:
9502         * vc-backend.C:
9503         * bufferlist.C: s/retrive/retrieve/, add docs
9504
9505         * vspace.h:
9506         * vspace.C:
9507         * kbmap.h:
9508         * lyxlength.h:
9509         * lyxgluelength.h:
9510         * length_common.h:
9511         * chset.h:
9512         * chset.C: add docs
9513
9514         * lyxgui.C: add ID to X error handler
9515
9516         * lyxtestclass.c: fix typo
9517
9518 2002-02-26  Juergen Vigna  <jug@sad.it>
9519
9520         * tabular_funcs.C (write_attribute): changed so that some default
9521         attributes are not written at all.
9522         (getTokenValue): set default values before trying to read the
9523         value so we have the return value always set as default if we don't
9524         find the token we search for.
9525
9526         * tabular.C (Write): write bools as bools not as strings!
9527
9528 2002-02-22  Juergen Vigna  <jug@sad.it>
9529
9530         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9531         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9532
9533         * text.C (leftMargin): don't add an indent for paragraphs inside
9534         tabular cells (fix #208).
9535
9536 2002-02-21  José Matos  <jamatos@fep.up.pt>
9537
9538         * tabular.C (docBook): fixed support for long tables.
9539
9540 2002-02-20  Juergen Vigna  <jug@sad.it>
9541
9542         * text2.C (getFont): get the drawing font of the Inset if this
9543         paragraph is inside an inset (only important for InsetERT for now).
9544
9545         * buffer.C (insertErtContents): use new lanugage params in ERT
9546         constructor.
9547
9548         * CutAndPaste.C: commenting out seemingly uneeded code.
9549
9550 2002-02-19  Allan Rae  <rae@lyx.org>
9551
9552         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9553         Iterators might be simple to use but they also get invalidated.
9554         (removeAutoInsets): renamed saved cursor tracking variables and added
9555         some comments to clarify what everything does.
9556
9557 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9558
9559         * Chktex.C:
9560         * LaTeX.C:
9561         * LyXSendto.C:
9562         * converter.C:
9563         * lyx_cb.C:
9564         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9565         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9566
9567         * lyxfunc.C:
9568         * vc-backend.h: remove #include "support/syscall.h"
9569
9570         * LaTeX.C:
9571         * LyXSendto.C:
9572         * converter.C: rearrange #includes in Lars' approved fashion.
9573
9574         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9575         forward declare class Timeout in the header file.
9576
9577         * XFormsView.C: changes due to the above.
9578
9579         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9580         similar to LyXView.
9581
9582         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9583         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9584
9585 2002-02-18  José Matos  <jamatos@fep.up.pt>
9586
9587         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9588         insets contents.
9589
9590 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9591
9592         * a lot of small ws changes
9593         * add a lot of using std::XXX
9594         * use std construcs some places where approp.
9595         * use some exisint stuff from lyxfunctional where approp.
9596         * Make file changes to use partial linking (lets test this now...)
9597
9598 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9599
9600         * Chktex.C:
9601         * buffer.C:
9602         remove #include "support/syscontr.h" as it's redundant. Always has been.
9603
9604         * Chktex.C:
9605         * LaTeX.C:
9606         * LyXSendto.C:
9607         * converter.C:
9608         * lyx_cb.C:
9609         * vc-backend.C:
9610         change Systemcalls::System to Systemcalls::Wait and
9611         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9612         No change of functionality, just reflects the stripped down Systemcalls
9613         class.
9614
9615 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9616
9617         * debug.[Ch]: add a GRAPHICS type to the enum.
9618
9619 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9620
9621         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9622
9623         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9624         there is an inset.
9625
9626 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9627
9628         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9629         match the changes below.
9630
9631         * text2.C (toggleInset): if there is not editable inset at cursor
9632         position, try to see if cursor is _inside_ a collapsable inset
9633         and close it.
9634
9635 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9636
9637         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9638         document menu has a nice checkbox
9639
9640 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9641
9642         * lyxlength.C (asLatexString): change PW to output as percent of
9643         \textwidth.
9644
9645         * lengthcommon.C: change '%' to 't%'
9646
9647         * lyxfunc.C (dispatch): a few comments from Martin
9648
9649 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9650
9651         * WorkArea.h:
9652         * WorkArea.C:
9653         * BufferView_pimpl.h:
9654         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9655           the X selection.
9656
9657 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9658
9659         * vspace.C (inPixels): fix compiler warning
9660
9661 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9662
9663         * lyxfunc.C (getStatus): fix status message for disabled commands.
9664
9665 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9666
9667         * BufferView_pimpl.C: fix crash on close buffer
9668         during selection (#227)
9669
9670 2002-01-27  Herbert Voss  <voss@lyx.org>
9671
9672         * buffer.C: link old Figure to new graphic inset
9673
9674 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9675
9676         * FontLoader.C (getFontinfo): Change the latex font names in order
9677         to match the names of type1inst.
9678
9679 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9680
9681         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9682
9683         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9684         (extchanged): ditto
9685         (ext_exist): ditto
9686         (remove_files_with_extension): ditto
9687         (remove_file): ditto
9688         (write): ditto
9689
9690         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9691         document is smaller than the work area height. Do not initialize
9692         static variables to 0.
9693
9694 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9695
9696         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9697
9698         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9699         LFUN_LAYOUT_PARAGRAPHS.
9700
9701         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9702         tabular. It is possible to provide a possible cell, which will
9703         typically be the actcell from the corresponding insettabular
9704
9705         * lyxfunc.C (getStatus): small cleanup; disable
9706         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9707         true
9708
9709 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9710
9711         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9712
9713         * paragraph.C (startTeXParParams):
9714         (endTeXParParams): new methods. The LaTeX code to
9715         start/end paragraph formatting
9716         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9717         empty (fixes bug #200)
9718
9719         * vspace.C (inPixels): adapt to the change below
9720         (inPixels): [later] more cleanups (remove unused variables)
9721
9722         * lyxlength.C (inPixels): change to use a width and a height as
9723         parameter.
9724
9725 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9726
9727         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9728         Replaced with \paperwidth
9729
9730         * DepTable.C (insert): add std:: qualifier
9731
9732 2002-01-18  Allan Rae  <rae@lyx.org>
9733
9734         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9735         updated also?
9736
9737         * text.C (drawInset): Turned out I didn't know enough about how
9738         rebreaking worked.  This fixes most of the redraw problems.  I see
9739         an occasional cursor trail when a line is broken now and the cursor
9740         placement can seem out by a few pixels also after a rebreak.
9741
9742 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9743
9744         * buffer.C (parseSingleLyXformat2Token): update because minipage
9745         width is now a LyXLength
9746
9747         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9748
9749         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9750         math insets
9751
9752 2002-01-17  Juergen Vigna  <jug@sad.it>
9753
9754         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9755
9756         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9757         is set correctly and the inset is updated correctly.
9758
9759 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9760
9761         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9762         the beginning of the loop.
9763
9764 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9765
9766         * lyxrc.C: improve help for use_scalable_fonts
9767
9768 2002-01-17  Allan Rae  <rae@lyx.org>
9769
9770         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9771
9772 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9773
9774         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9775         make sure to set their inset_owner to the right value (bug #171)
9776
9777 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9778
9779         * DepTable.h
9780         * DepTable.C: Implement mtime checking to reduce time spent doing
9781         CRCs.
9782
9783 2002-01-16  Juergen Vigna  <jug@sad.it>
9784
9785         * tabular.C (GetAdditionalHeight): one of error fixed.
9786
9787         * lyxrc.C (output): small fix in writing use_pspell.
9788
9789 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9790
9791         * sp_base.h: #include LString.h
9792
9793 2002-01-16  Allan Rae  <rae@lyx.org>
9794
9795         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9796         Can someone check this please?
9797
9798         * text.C (drawInset): It was possible that p.row would be removed by
9799         breakAgainOneRow upsetting a few other settings.  There may be another
9800         small tweak possible by setting need_break_row = 0 when p.row has been
9801         removed but I don't know enough about the logic here.
9802
9803 2002-01-15  Allan Rae  <rae@lyx.org>
9804
9805         * text.C (insertChar): removed conditional truism.
9806
9807         * BufferView2.C (removeAutoInsets): More tweaks.
9808         cur_par_prev could be a stray pointer.  Check for trailing empty line
9809         in case last line was cur_par and only had an error inset on it.
9810
9811 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9812
9813         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9814         absolute
9815
9816         * vc-backend.C (most methods):
9817         * exporter.C (Export):
9818         * converter.C (convert):
9819         (runLaTeX):
9820         * LyXSendto.C (SendtoApplyCB):
9821         * lyxfunc.C (dispatch):
9822         (menuNew):
9823         (open):
9824         (doImport):
9825         * lyx_cb.C (AutoSave):
9826         (InsertAsciiFile):
9827         * BufferView_pimpl.C (MenuInsertLyXFile):
9828         * buffer.C (runChktex): use Buffer::filePath().
9829
9830         * buffer.h: rename filename to filename_; rename filepath to
9831         filepath_ and make it private
9832         (filePath): new method
9833
9834         * buffer.C (writeFile): use fileName()
9835         (getLatexName):
9836
9837         * lyx_main.C (init): fix starting  of LyX when the binary is a
9838         link from so,ewhere else.
9839
9840         * minibuffer.C: include <cctype> for isprint
9841
9842 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9843
9844         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9845         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9846         name clash with InsetCollapsable's width function.
9847
9848 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9849
9850         * lastfiles.C: include <iterator>
9851
9852 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9853
9854         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9855         std::count.
9856
9857         * buffer.C (makeLaTeXFile): ditto.
9858         Also make loop operation more transparent.
9859
9860 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9861
9862         * ToolbarDefaults.C: remove trailing comma closing namespace.
9863
9864         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9865
9866         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9867         as in WorkArea.
9868
9869         * trans.C (Load): comment out unused variable, allowed.
9870
9871 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9872
9873         * minibuffer.[Ch] (append_char): new method to recieve input from the
9874         drop-down completion browser. If a key was pressed, then recieve this
9875         char and append it to the existing string.
9876         (peek_event): modify the positioning data passed to the completion
9877         browser so that it can be placed above the minibuffer rather than below.
9878 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9879
9880         * LyXAction.C (init): alloe error-next for readonly documents.
9881
9882         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9883         count.
9884
9885 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9886
9887         * bufferlist.C (readFile): create the buffer _after_ checking that
9888         the file exists.
9889
9890         * lyxfunc.C (verboseDispatch): fix handling of arguments
9891
9892         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9893
9894         * lyxrc.C: use string::erase() instead of initializing to "".
9895
9896
9897 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9898
9899         * BufferView_pimpl.h:
9900         * BufferView_pimpl.C:
9901         * WorkArea.h:
9902         * WorkArea.C:
9903         * text2.C: tell X when we have made a selection for copying
9904
9905 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9906
9907         * BufferView_pimpl.C (MenuInsertLyXFile):
9908         * lyxfunc.C (menuNew):
9909         (open):
9910         (doImport): add shortcuts to directory buttons
9911
9912         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9913         open a float)
9914
9915         * lyxfunc.C (setStatusMessage):
9916         (getStatusMessage): new methods
9917         (getStatus):use setStatusMessage instead of setErrorMessage
9918         (dispatch): when function is disabled, set error message here
9919         [instead of in getStatus previously]
9920
9921         * BufferView_pimpl.C (workAreaButtonRelease): update
9922         toolbar/menubar here too.
9923
9924 2002-01-13  Allan Rae  <rae@lyx.org>
9925
9926         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9927         Now seems indestructible.  Remaining task is to audit all other
9928         code affected by deleteEmptyParagraphMechanism.  One small quirk
9929         left is that an empty document with an error in the preamble can
9930         be made to report an error but no error box appears.  I don't know
9931         where it goes.
9932         (removeAutoInsets): Improved comments.
9933
9934 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9935
9936         * Thesaurus.h:
9937         * Thesaurus.C: update for Aiksaurus 0.14
9938
9939 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9940
9941         * text2.C (firstParagraph): removed member function, all uses
9942         replaces with ownerParagraph
9943         (redoParagraphs): here
9944         (updateInset): here
9945         (toggleAppendix): here
9946         * BufferView2.C (insertErrors): here
9947         (setCursorFromRow): here
9948
9949 2002-01-13  Allan Rae  <rae@lyx.org>
9950
9951         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9952         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9953         There is still a way to segfault this although you may have to do this
9954         multiple times: Have an InsetERT with an unknown command in it.
9955         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9956         <down-arrow>, <Enter> again, View->DVI, BANG!
9957
9958         * text2.C (setCursor):
9959         (deleteEmptyParagraphMechanism):
9960         * lyxtext.h (setCursor):
9961         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9962         Making use of the return value may help fix other bugs.
9963
9964 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9965
9966         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9967
9968         * LyXView.C (updateMenubar): call MenuBar::update here
9969         (updateToolbar): but not here
9970         (showState): do not update toolbar/menubar
9971
9972         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9973         should need to care about that.
9974
9975         * lyxfunc.C (verboseDispatch): simplify a bit
9976         (getStatus): have a version which takes a pseudoaction, and
9977         another which requires a (kb_action,string).
9978
9979         * LyXAction.C (retrieveActionArg): make it work also when action
9980         is not a pseudo-action.
9981         (getActionName): simplify a bit
9982         (helpText):
9983
9984 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9985
9986         * lyxfunc.C (verboseDispatch): new families of methods with
9987         several ways to specify a command and a bool to indicate whether
9988         the command name and shortcut should be displayed in minibuffer
9989         (eventually, we could extend that to a finer bitmask like
9990         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9991         (dispatch): the pristine dispatch command which just, well,
9992         dispatchs! Note it still sets its result to minibuffer; I'm not
9993         sure we want that.
9994
9995         * lyxfunc.h: remove setHintMessage
9996
9997         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9998
9999 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10000
10001         * BufferView_pimpl.C (specialChar): delete new inset if we have
10002         not been able to insert it.
10003
10004         * kbmap.C: revert to using int instead of kb_action, since all we
10005         are dealing with is pseudo-actions.
10006
10007         * LyXAction.C (searchActionArg): change to return int instead of
10008         kb_action, since the result is a pseudoaction.
10009
10010 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10011
10012         * buffer.C (insertErtContents): Fix (partially) the font bug.
10013
10014 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10015
10016         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10017         as the other one is broken on my machine!
10018
10019 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10020
10021         * commandtags.h:
10022         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10023
10024 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10025
10026         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10027         reflect their actual use. Provide compatibility code for older lyxrc
10028         files.
10029
10030         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10031         FL_NORMAL_STYLE.
10032         change names of popup font variables in line with the changes to lyxrc.C
10033
10034 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10035
10036         * buffer.C (asciiParagraph): avoid outputing a word twice after
10037         an inset.
10038
10039         * lyxrc.C (getDescription): document that document_path and
10040         template_path can be empty.
10041
10042 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10043
10044         * LaTeXFeatures.C (getMacros):
10045         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10046
10047         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10048
10049         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10050         getPackages.
10051         (getPackages): rename feature "floats" to "float". Use an array to
10052         iterate over 'simple' features (i.e. just a \usepackage). Add
10053         handling of "amsmath" (renamed from "amsstyle").
10054
10055 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10056
10057         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10058         features list.
10059
10060 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10061
10062         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10063         FuncStaus::FuncStatus & FuncStaus::some_method().
10064
10065 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10066
10067         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10068         of the func_satus stuff. Edited and massaged in various ways by
10069         JMarc.
10070
10071         * lyxfunc.C (getStatus): use FuncStatus
10072
10073 2002-01-08  Juergen Vigna  <jug@sad.it>
10074
10075         * text.C (nextBreakPoint): use function Inset::isChar().
10076
10077         * paragraph.C (TeXOnePar): use function
10078         Inset::forceDefaultParagraphs.
10079
10080         * buffer.C (latexParagraphs): use function
10081         Inset::forceDefaultParagraphs.
10082
10083 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10084
10085         * lyx_gui.C (init): set the style of the menu popups to
10086         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10087
10088 2002-01-07  Juergen Vigna  <jug@sad.it>
10089
10090         * text.C (setHeightOfRow): small fix
10091         (prepareToPrint): don't look at alignment if we don't have the place
10092         for doing it.
10093
10094 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10095
10096         * box.C: New file. Move the Box methods and functions out of box.h,
10097         following Lars' suggestion.
10098
10099 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10100
10101         * box.h: #include "support/LOstream.h", needed for inlined function.
10102
10103         * lyxtextclass.C:
10104         * lyxtextclasslist.C: added some using std declarations.
10105
10106 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10107
10108         * box.h: make signed dimensions to allow insets wider than
10109           the screen (bug #162)
10110
10111         * BufferView_pimpl.C: add some insetHit debug
10112
10113 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10114
10115         * vc-backend.C: add FIXME
10116
10117 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10118
10119         * lyxfunc.C (getStatus): enable code for showing math font status
10120         in toolbar/menu.
10121
10122 2002-01-07  Juergen Vigna  <jug@sad.it>
10123
10124         * text.C (nextBreakPoint): removed debug output not needed anymore.
10125
10126 2002-01-06  Juergen Vigna  <jug@sad.it>
10127
10128         * text.C (nextBreakPoint): fixed up this function we had this bug
10129         since ever but now hopefully we break row better.
10130         (insertChar): we have to check if an inset is the next char as it
10131         could now happen that a large inset is causing a break.
10132
10133 2002-01-05  Juergen Vigna  <jug@sad.it>
10134
10135         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10136         if it doesn't like to be drawed.
10137
10138 2002-01-04  Juergen Vigna  <jug@sad.it>
10139
10140         * BufferView2.C (lockInset): forgot to set a cursor.
10141
10142         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10143
10144 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10145
10146         * FormMathsPanel.C:
10147         * FormMathsPanel.h
10148         * MathsSymbols.C:
10149         * form_maths_panel.C:
10150         * form_maths_panel.h:
10151         * form_maths_panel.fd: implemented sub- and super- buttons in math
10152         panel.
10153
10154         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10155         (or ^ space) to be used as in TeX (req'd by André).
10156
10157         * lyxfunc.C: Allow ^ and _ again to be used both as
10158         super/subscript (mathed) and as themselves (in text).
10159
10160 2002-01-03  Allan Rae  <rae@lyx.org>
10161
10162         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10163         "LyX" or the filename of the current buffer if it has one.  This is a
10164         modified form of John Levon's patch.
10165
10166         * XFormsView.C (setWindowTitle): also set icon title.
10167
10168         * LyXView.h (setWindowTitle): signature changed.
10169         * XFormsView.h (setWindowTitle): ditto.
10170
10171 2002-01-02  Juergen Vigna  <jug@sad.it>
10172
10173         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10174
10175 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10176
10177         * screen.C (topCursorVisible): introduce a temp var for
10178         text->cursor.row(), handle the case where this row is null. (kindo
10179         hachish)
10180
10181         * text2.C (setCursor): add a couple of asserts.
10182
10183         * paragraph.h (inset_iterator): add -> operator
10184
10185         * paragraph.[Ch] (autoDeleteInsets): remove member function
10186
10187         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10188         cursor pos correctly and handle inset deletion by itself.
10189         (insertErrors): move iterator declaration out of for expression
10190
10191         * lyxtextclass.C: add <algorithm>
10192
10193         * Makefile.am: added the new files to sources, removed layout.C
10194
10195         * layout.C: removed file
10196
10197         * layout.h: remove LYX_DUMMY_LAYOUT
10198
10199         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10200         layout.
10201
10202         * lyxlayout.[Ch]:
10203         * lyxtextclass.[Ch]:
10204         * lyxtextclasslist.[Ch]: new files
10205
10206         * include order changes to a lot of files, also changes because of
10207         the six new files.
10208
10209 2001-12-27  Juergen Vigna  <jug@sad.it>
10210
10211         * buffer.C (asciiParagraph): more fixes.
10212
10213         * tabular.C (ascii): make ascii export support export of only the
10214         data separated by a column-delimiter.
10215         (ascii): better support for ascii export.
10216
10217         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10218
10219 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10220
10221         * tabular_funcs.C: use a "using std::getline" instead of the
10222         previous fix from Angus (necessary for cxx + lyxstring)
10223
10224 2001-12-24  Juergen Vigna  <jug@sad.it>
10225
10226         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10227
10228         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10229         problems. First check a minipage also if we have some ert-contents
10230         (not only on par->size(), second set the right depth of the paragraph
10231         on the relink to the root-paragraph-list!
10232
10233         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10234         which then did not anymore update the main paragraphs on undo/redo!
10235
10236 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10237
10238         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10239         code. Support all font-changing funcs (even those which are not in
10240         menu currently). Support for reporting font settings in
10241         mathed (disabled until Andre provides a function on mathed's side).
10242
10243         * func_status.h (toggle): small helper function to set toggle
10244         state on a flag.
10245
10246 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10247
10248         * tabular_funcs.C: getline -> std::getline
10249
10250 2001-12-21  Juergen Vigna  <jug@sad.it>
10251
10252         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10253         accessed and could be 0 (I couldn't generate this but it seems
10254         Michael could!).
10255
10256 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10257
10258         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10259         * tabular_funcs.h: here and include iosfwd
10260
10261 2001-12-20  Juergen Vigna  <jug@sad.it>
10262
10263         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10264         inside inset but undo_par was.
10265
10266 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10267
10268         * Thesaurus.C: always include <config.h> in sources.
10269
10270         * Painter.h:
10271         * lyxlookup.h:
10272         * box.h: do not include <config.h> in header files
10273
10274         * text.C (paintLastRow): remove unused variable
10275
10276         * text.C (transformChar):
10277         (insertChar):
10278         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10279
10280         * Painter.C (text):
10281         * font.C (width): rewrite to use uppercase() instead of
10282         islower/toupper.
10283
10284         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10285
10286 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10287
10288         * lyxfind.C: clean up of find failure position change
10289
10290 2001-12-20  Juergen Vigna  <jug@sad.it>
10291
10292         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10293
10294         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10295         (TeXRow): added to LaTeX a single tabular row.
10296         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10297         (Latex): simplified and finally good LT-h/f support.
10298         (various_functions): just small adaptions for LT-h/f support.
10299
10300         * tabular_funcs.[hC]: added and moved here all not classfunctions
10301         of LyXTabular.
10302
10303 2001-12-19  Juergen Vigna  <jug@sad.it>
10304
10305         * tabular.[Ch]: better support for longtabular options (not finished
10306         yet!)
10307
10308 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10309
10310         * text.C (paintLastRow): use the label font instead of the font of
10311         the last character to compute the size of *_BOX. This makes more
10312         sense and avoids a crash with empty paragraphs.
10313         Use Painter::rectangle to draw EMPTY_BOX.
10314
10315 2001-12-19  Juergen Vigna  <jug@sad.it>
10316
10317         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10318         the paragraphs if the replaced paragraph is not the first one!
10319         Tried to delete not used paragraphs but does not work yet so for
10320         now it's inside #ifdef's and by default off!
10321
10322 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10323
10324         * MenuBackend.C: include "lyx_main.h" instead of declaring
10325         lastfiles (actually was declared as LastFiles* instead of a
10326         scoped_ptr).
10327
10328 2001-12-17  Juergen Vigna  <jug@sad.it>
10329
10330         * tabular.C (AppendColumn): applied John's fix
10331
10332 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10333
10334         * BufferView.h:
10335         * BufferView.C:
10336         * BufferView_pimpl.h:
10337         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10338
10339         * Makefile.am:
10340         * box.h: new start of class for above
10341
10342         * lyxfunc.C: ignore space-only minibuffer dispatches.
10343           Show the command name when it doesn't exist
10344
10345         * minibuffer.C: don't add empty lines to the history
10346
10347         * minibuffer.C: add a space on dropdown completion
10348
10349 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10350
10351         * text.C: fix line above/below drawing in insets
10352
10353 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10354
10355         * lyxlength.C (LyXLength): Initialize private variables.
10356
10357 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10358
10359         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10360         when inserting error insets.
10361
10362 2001-12-13  Juergen Vigna  <jug@sad.it>
10363
10364         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10365         actually sometimes the before-paragraph.
10366         (setUndo): don't clear the redostack if we're not actually undoing!
10367
10368 2001-12-06  Juergen Vigna  <jug@sad.it>
10369
10370         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10371         and fixed redoing of main paragraph, so we can use it now ;)
10372
10373         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10374
10375 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10376
10377         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10378         Juergen's request
10379
10380 2001-12-13  André Pönitz <poenitz@gmx.net>
10381
10382         * undostack.[Ch]:
10383         * undo_func.C: minor cleanup
10384
10385 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10386
10387         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10388         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10389         font in urw-fonts package which is marked as -urw-fontspecific and
10390         does not work (incidentally, changing the encoding in the
10391         fonts.dir of this package to -adobe-fontspecific fixes the
10392         problem).
10393
10394         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10395         is a crash when undoing first paragraph (Juergen, please take a
10396         look). THis does not mean the undo fix is wrong, just that it
10397         uncovers problems.
10398
10399         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10400         the (Paragraph*) version when needed instead of duplicating the
10401         code.
10402
10403         * text.C (workWidth): use Inset::parOwner to find out where the
10404         inset has been inserted. This is a huge performance gain for large
10405         documents with lots of insets. If Inset::parOwner is not set, fall
10406         back on the brute force method
10407
10408         * paragraph_pimpl.C (insertInset):
10409         * paragraph.C (Paragraph):
10410         (cutIntoMinibuffer): set parOwner of insets when
10411         inserting/removing them
10412
10413         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10414
10415 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10416
10417         * commandtags.h:
10418         * LyXAction.C:
10419         * lyx_main.C:
10420         * lyxfunc.C:
10421         * mathed/formulabase.C:
10422         * mathed/math_cursor.[Ch]:
10423         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10424
10425
10426 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10427
10428         * lyxlength.[Ch] (operator!=): new function
10429
10430 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10431
10432         * text.C (workWidth): use Inset::parOwner to find out where the
10433         inset has been inserted. This is a huge performance gain for large
10434         documents with lots of insets. If Inset::parOwner is not set, fall
10435         back on the brute force method
10436
10437         * paragraph_pimpl.C (insertInset):
10438         * paragraph.C (Paragraph):
10439         (cutIntoMinibuffer): set parOwner of insets when
10440         inserting/removing them
10441
10442         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10443
10444 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10445
10446         * tabular-old.C (getTokenValue):
10447         * tabular.C (getTokenValue):
10448         (write_attribute): new versions for LyXLength
10449         (everywhere): adjust the use of widths
10450
10451         * tabular.h: change the type of widths from string to LyXLength
10452
10453 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10454
10455         * paragraph.C: fixed missing line number count when exporting
10456         Environments to LaTeX file
10457
10458         * buffer.C: added informational message for checking line numbers.
10459
10460 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10461
10462         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10463         paragraph, do the 'double space' part, but not the 'empty
10464         paragraph' one.
10465
10466         * text.C (workWidth): small optimization
10467         (getLengthMarkerHeight): use minimal size for negative lengths.
10468
10469 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10470
10471         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10472
10473         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10474
10475 2001-12-11  André Pönitz <poenitz@gmx.net>
10476
10477         * FontLoader.C:
10478         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10479
10480 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10481
10482         * text2.C: keep selection on a setFont()
10483
10484 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10485
10486         * lyx_cb.C: another bv->text misuse, from insert label
10487
10488 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10489
10490         * kbsequence.h:
10491         * kbsequence.C: re-instate nmodifier mask
10492
10493 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10494
10495         * lyx_main.h: make lyxGUI private.
10496
10497 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10498
10499         * lyxfind.C: place the cursor correctly on failed search
10500
10501 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10502
10503         * text.C (getLengthMarkerHeight): for small heights, the arrows
10504         are not always on top/bottom of the text
10505         (drawLengthMarker): smaller arrows; take the left margin in
10506         account; draw also vfills.
10507         (paintFirstRow):
10508         (paintLastRow): remove special code for vfill and standard spaces,
10509         since everything is handled in drawLengthMarker now.
10510
10511 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10512
10513         * buffer.C (insertErtContents): try to handle font and language
10514         interaction a bit better.g
10515
10516         * ColorHandler.C (updateColor): change the hash to cover the whole
10517         LColor enum, ws cleanup
10518         (getGCLinepars): ditto
10519         (getGCLinepars): only lookup in the linecache once.
10520
10521 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10522
10523         * iterators.C (operator++): Make the iterator more robust
10524
10525         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10526         (John's patch)
10527         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10528
10529 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10530
10531         * lyxtext.h:
10532         * text.C: better added space drawing
10533
10534 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10535
10536         * LyXView.C:
10537         * BufferView2.C: fix layout combo update on inset unlock
10538
10539 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10540
10541         * Makefile.am: don't compile unused files
10542
10543 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10544
10545         * lyxfunc.C:
10546         * commandtags.h:
10547         * LyXAction.C: remove old LFUN_LAYOUTNO
10548
10549 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10550
10551         * paragraph_pimpl.h:
10552         * paragraph_pimpl.C: isTextAt() doesn't need font param
10553
10554 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10555
10556         * lyxlex.h:
10557         * lyxlex.C: little cleanup
10558
10559 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10560
10561         * BufferView_pimpl.C: fix insertAscii for insets
10562
10563 2001-12-05  Juergen Vigna  <jug@sad.it>
10564
10565         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10566         set the right font on the "multi" paragraph paste!
10567
10568 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10569
10570         * trans_decl.h:
10571         * trans_mgr.[Ch]:
10572         * trans.[Ch]:
10573         * lyxgluelength.C:
10574         * lyxlength.C: remove out-commented code.
10575
10576         * BufferView_pimpl:
10577         * CutAndPaste.C:
10578         * DepTable.C:
10579         * buffer.C:
10580         * chset.C:
10581         * lastfiles.C:
10582         * lyxlex.C:
10583         * lyxlex_pimpl.C:
10584         * lyxserver.C:
10585         * screen.C:
10586         * tabular-old.C:
10587         * tabular.C:
10588         * text.C:
10589         * trans_mgr.C:
10590         * vc-backend.C: change "while(" to "while ("
10591
10592         * lyxlength.[Ch]: add zero function to check if length is zero or
10593         not
10594         * lyxgluelength.C: use it
10595
10596 2001-12-05  Allan Rae  <rae@lyx.org>
10597
10598         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10599         Works for 2.95.3, from what I understand of Garst's reports this should
10600         work for other g++ versions.  We're screwed if the abs(int) definition
10601         changed between bugfix releases of gcc.
10602
10603 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10604
10605         * text.C: fix chapter label offset !
10606
10607 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10608
10609         * lyxtext.h:
10610         * text.C: fix hfill at end of line, clean up
10611
10612 2001-12-04  Juergen Vigna  <jug@sad.it>
10613
10614         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10615         that we force an update of the inset and it's owners if neccessary.
10616
10617 2001-12-03  Juergen Vigna  <jug@sad.it>
10618
10619         * text.C (rowLast): simplified code
10620
10621 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10622
10623         * lyxfunc.C: fix show options on timeout
10624
10625 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10626
10627         * screen.C (topCursorVisible): scroll half a page when the cursor
10628         reached top of bottom of screen
10629
10630 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10631
10632         * minibuffer.C: deactivate on loss of focus
10633
10634 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10635
10636         * vspace.[Ch] (operator!=): add operator.
10637
10638 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10639
10640         * BufferView_pimpl.C: refuse to open an inset when
10641         there's a selection.
10642
10643 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10644
10645         * BufferView_pimpl.C: allow to click on RHS of full row insets
10646
10647 2001-11-30  Juergen Vigna  <jug@sad.it>
10648
10649         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10650         insets for undo reasons.
10651
10652 2001-11-28  André Pönitz <poenitz@gmx.net>
10653
10654         * vspace.[Ch]: cosmetical changes
10655
10656 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10657
10658         * LyXAction.h:
10659         * LyXAction.C:
10660         * lyxfunc.h:
10661         * lyxfunc.C:
10662         * kbmap.h:
10663         * kbmap.C:
10664         * lyxrc.C:
10665         * kbsequence.h:
10666         * kbsequence.C: part re-write of old kb code
10667
10668         * Painter.C:
10669         * WorkArea.C: remove Lgb_bug_find_hack
10670
10671 2001-11-30  José Matos <jamatos@fep.up.pt>
10672
10673         * buffer.C (makeDocBookFile): add a comment to point a hack.
10674         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10675         Fixed a double write of labels.
10676
10677 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10678
10679         * LaTeX.C:
10680         * LaTeX.h Fixed bug in LaTeX class where it would not
10681         re-run latex if no depfiles were changed, but the .dvi was removed.
10682
10683 2001-11-28  André Pönitz <poenitz@gmx.net>
10684
10685         * all the files from the change on 2001/11/26:
10686         use lyx::layout_type instead of LyXTextClass::size_type
10687         use lyx::textclass_type instead of LyXTextClassList::size_type
10688
10689 2001-11-29  Juergen Vigna  <jug@sad.it>
10690
10691         * text.C: added support for paragraph::isFreeSpacing()
10692
10693         * buffer.C: same as above
10694
10695         * paragraph.h: inserted isFreeSpacing() function to enable
10696         FreeSpacing inside InsetERT.
10697
10698         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10699         of the paragraph's in the cut/copy buffer to 0!
10700
10701         * text2.C (removeRow): remove the assert as it can!
10702
10703         * lyxtext.h: added helper function firstRow returning firstrow and
10704         made firstrow private again.
10705
10706         * BufferView2.C (lockInset): don't relock if we're already locked!
10707
10708         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10709         the only paragraph.
10710         (removeRow): added Assert::(firstrow)
10711
10712         * debug.C: forgot to add INSETTEXT here.
10713
10714 2001-11-28  Juergen Vigna  <jug@sad.it>
10715
10716         * sp_spell.C (initialize): changed error text to more general
10717         spellchecker command use (not only ispell!)
10718
10719         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10720
10721         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10722
10723 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10724
10725         * vspace.C: initialise lyxgluelength on failure
10726
10727 2001-11-28  Allan Rae  <rae@lyx.org>
10728
10729         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10730         declaration & definition that looks like a function declaration.
10731
10732 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10733
10734         * BufferView2.C (copy):
10735         (copyEnvironment): do not clear the selection when doing a copy.
10736
10737         * text.C (paintFirstRow): compilation fix
10738
10739 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10740
10741         * tabular.C (Latex): correct line count when writing latex.
10742
10743 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10744
10745         * paragraph_pimpl.h:
10746         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10747           bug a bit
10748
10749 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10750
10751         * text.C:
10752         * LColor.h:
10753         * LColor.C: change vfillline->added_space
10754
10755         * text.C: add markers and text for added space
10756
10757         * vspace.C: fix comment
10758
10759 2001-11-28  André Pönitz <poenitz@gmx.net>
10760
10761         * paragraph.C: whitespace changes
10762         * all the other files from the change on 2001/11/26:
10763         change *::pos_type into lyx::pos_type
10764
10765 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10766
10767         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10768         language of the document when inserting error insets.
10769
10770 2001-11-26  André Pönitz <poenitz@gmx.net>
10771
10772         * BufferView_pimpl.[Ch]:
10773         *       CutAndPaste.C:
10774         * buffer.[Ch]:
10775         * lyxcursor.[Ch]:
10776         * lyxfind.C:
10777         * lyxfunc.C:
10778         * lyxrow.[Ch]:
10779         * paragraph.[Ch]:
10780         * paragraph_pimpl.[Ch]:
10781         * sp_spell.C:
10782         * text.C:
10783         * text2.C: reduce header dependencies, introduce type for positions
10784
10785 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10786
10787         * <various>: change to use Alert.h
10788
10789 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10790
10791         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10792         when encountering an unknown token.
10793         (readLyXformat2): Show an error message if there were unknown tokens.
10794
10795 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10796
10797         * BufferView2.C:
10798         * BufferView_pimpl.C:
10799         * buffer.C:
10800         * paragraph.h:
10801         * text.C:
10802         * text2.C: use par->isInset()
10803
10804 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10805
10806         * paragraph_pimpl.h:
10807         * paragraph_pimpl.C: cleanup
10808
10809 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10810
10811         * text2.C (removeRow):
10812         * text.C (setHeightOfRow): remove useless (and costly) call to
10813         getRow.
10814
10815 2001-11-20  Allan Rae  <rae@lyx.org>
10816
10817         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10818         Now need Inset*::checkInsertChar() to return true for appropriate
10819         cases so that the characters in the minibuffer will actually be
10820         inserted.
10821
10822 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10823
10824         * text.C: change the order of the includes.
10825         (workWidth): initialize it at once.
10826         (workWidth): make maxw unsigned
10827         (setHeightOfRow): remove unused variable (inset)
10828         (selectSelectedWord): remove unused variable (inset)
10829         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10830
10831 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10832
10833         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10834         server is not running.
10835         (openConnection):
10836         (closeConnection): add debug info when server is disabled.
10837
10838         * ColorHandler.C (getGCForeground): send debug message to GUI
10839         channel.
10840
10841         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10842
10843         * kbmap.C (bind): modify because return conventions of
10844         kb_sequence::parse have changed.
10845
10846         * kbsequence.C (parse): only ignore spaces and not any stupid
10847         control character. This avoids tests like s[i] <= ' ', which are
10848         guaranteed to fail with 8bit characters and signed chars.
10849         Change return code to string::npos when there have been no error
10850         (0 was a bad idea when error is at first character)
10851
10852 2001-11-14  José Matos  <jamatos@fep.up.pt>
10853
10854         * buffer.h:
10855         * buffer.C (simpleDocBookOnePar): removed unused argument.
10856
10857 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10858
10859         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10860         insets which are part of a word. Paragraph::isLetter takes care of
10861         that now. Use Paragraph::isInset to identify insets.
10862         (selectSelectedWord): do not test for hyphenation break.
10863
10864         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10865         that protected spaces are considered as spaces.
10866
10867         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10868         Inset::isLetter.
10869
10870 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10871
10872         * lyxserver.h:
10873         * lyxserver.C: fix it. and small cleanup.
10874
10875 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10876
10877         * BufferView_pimpl.C: use inline helpers
10878
10879         * LaTeXFeatures.h:
10880         * LaTeXFeatures.C: fix typos
10881
10882         * Spacing.h:
10883         * Spacing.C: move spacing_string into class
10884
10885         * ToolbarDefaults.C: move stuff into namespace anon
10886
10887         * layout.h: update enum
10888
10889         * lyxfunc.C: use better debug
10890
10891         * minibuffer.h: fix typo
10892
10893         * debug.h:
10894         * debug.C:
10895         * WorkArea.C: add and use Debug::WORKAREA
10896
10897         * lyxtext.h:
10898         * text.C:
10899         * text2.C: code re-organisation, inline helpers
10900
10901 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10902
10903         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10904         std::vector.empty().
10905
10906 2001-11-09  Allan Rae  <rae@lyx.org>
10907
10908         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10909         '\n's after tables.  Tabular and ERT inset work now makes this no
10910         longer necessary.
10911
10912 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10913
10914         * minibuffer.h:
10915         * minibuffer.C: fix crash, improve drop-down completion
10916
10917 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10918
10919         * lyxserver.h:
10920         * lyxserver.C: invalidate fd's when doing endPipe()
10921
10922 2001-11-08  José Matos  <jamatos@fep.up.pt>
10923
10924         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10925         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10926
10927         * paragraph.h:
10928         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10929
10930 2001-11-07  José Matos  <jamatos@fep.up.pt>
10931
10932         * buffer.h:
10933         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10934         const qualifier.
10935
10936         * buffer.C (sgmlOpenTag):
10937         * buffer.C (sgmlCloseTag): removed debug info.
10938
10939         * buffer.h (sgmlOpenTag):
10940         * buffer.h (sgmlCloseTag): made public.
10941
10942 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10943
10944         * buffer.C (saveParamsAsDefaults):
10945         * lyx_cb.C (MenuLayoutSave): remove
10946
10947         * LyXAction.C (init):
10948         * commandtags.h:
10949         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10950
10951 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10952
10953         * buffer.C (setPaperStuff): removed from here...
10954
10955         * bufferparams.C (setPaperStuff): ... and moved there.
10956
10957 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10958
10959         * minibuffer.h:
10960         * minibuffer.C:
10961         * XFormsView.C: add support for drop-down completion
10962
10963 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10964
10965         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10966         commands.
10967
10968 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10969
10970         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10971         disabled.
10972
10973 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10974
10975         * lyx_main.C: change ref to known bugs
10976
10977 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10978
10979         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10980         to work around older babel problems.
10981
10982 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10983
10984         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10985
10986 2001-10-24  Juergen Vigna  <jug@sad.it>
10987
10988         * tabular-old.C (ReadOld): below variable changes reflected.
10989
10990         * tabular.[Ch]: added ltType struct for longtable header/footer
10991         defines and changed all instances where they are used. Added
10992         future support for double top/bottom rows.
10993
10994 2001-10-24  José Matos  <jamatos@fep.up.pt>
10995
10996         * buffer.h (docbookHandleCaption):
10997         * buffer.C (docbookHandleCaption): removed unused function.
10998         (makeDocBookFile): moved docbook supported version to v4.1.
10999
11000 2001-10-24  José Matos  <jamatos@fep.up.pt>
11001
11002         * tabular.h:
11003         * tabular.C (docbookRow): new function to export docbook code of a row.
11004         (DocBook): now honors the longtable flags.
11005
11006 2001-10-23  José Matos  <jamatos@fep.up.pt>
11007
11008         * LaTeXFeatures.h:
11009         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11010         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11011
11012         * buffer.C (makeLinuxDocFile):
11013         (makeDocBookFile): reworked the preamble, more clean, and with
11014         support for lyx defined entities. Changed the document declaration
11015         to be more XML friendly.
11016
11017         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11018         if we need to output XML that should be done with a filter.
11019
11020 2001-10-22  Juergen Vigna  <jug@sad.it>
11021
11022         * sp_pspell.h (class PSpell): add alive function needed in the
11023         controller to see if the spellchecker could be started.
11024
11025 2001-10-22  Juergen Vigna  <jug@sad.it>
11026
11027         * buffer.C (insertStringAsLines): modify the font for inserting
11028         chars in certain conditions by calling checkInsertChar(font).
11029
11030 2001-10-19  Juergen Vigna  <jug@sad.it>
11031
11032         * text.C (workWidth): use getRow instead of wrong algorithm.
11033         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11034
11035 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11036
11037         * lyxserver.h:
11038         * lyxserver.C:
11039         * lyx_main.h:
11040         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11041
11042 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11043
11044         * text.C (workWidth): do not search for the exact row when
11045         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11046         optimization for big documents.
11047
11048 2001-10-18  Juergen Vigna  <jug@sad.it>
11049
11050         * text.C (workWidth): new function with added Inset * parameter.
11051
11052 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11053
11054         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11055
11056         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11057         change return type of getColumnNearX.
11058
11059
11060         * text.C (changeRegionCase): use uppercase/lowercase instead of
11061         toupper/tolower.
11062         (leftMargin):
11063         (rightMargin): simplify code by factoring out the uses of
11064         textclasslist.
11065         (labelFill):
11066         (numberOfHfills):
11067         (setHeightOfRow):
11068         (appendParagraph): use Paragraph::size_type
11069
11070 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11071
11072         * vspace.C (asLatexString): add a missing break
11073
11074 2001-10-15  Herbert Voss  <voss@perce.de>
11075
11076         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11077
11078 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11079
11080         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11081         is not available.
11082
11083 2001-10-10  André Pönitz <poenitz@gmx.net>
11084
11085         * lyxfunc.C: removed greek_kb_flag.
11086
11087 2001-10-10  Herbert Voss  <voss@perce.de>
11088
11089         * lyx_main.C: delete global string help_lyxdir.
11090
11091 2001-10-09  Herbert Voss  <voss@perce.de>
11092
11093         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11094
11095         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11096
11097         * lyx_main.C: added global string help_lyxdir.
11098
11099         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11100
11101 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11102
11103         * lyxrc.C (set_font_norm_type): support iso8859-4
11104
11105 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11106
11107         * LaTeX.C (deplog): add another regex for MikTeX
11108
11109 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11110
11111         * lyxrc.C (set_font_norm_type): support iso8859-3
11112
11113 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11114
11115         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11116
11117         * LaTeXFeatures.C: remove special case of french and index
11118
11119         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11120         before \begin{document}). This solves several incompatibilities.
11121
11122 2001-10-03  Garst Reese  <reese@isn.net>
11123
11124         * lyx_cb.C: change CheckTex error msg.
11125
11126 2001-10-03  José Matos  <jamatos@fep.up.pt>
11127
11128         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11129
11130 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11131
11132         * .cvsignore: update
11133
11134         * lyx_main.C (commandLineVersionInfo): use new style version info.
11135
11136         * buffer.C (writeFile):
11137         (makeLaTeXFile):
11138         (makeLinuxDocFile):
11139         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11140
11141         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11142
11143         * version.h: update to use stuff in version.C
11144
11145         * version.C.in: new file. Contains version information determined
11146         at compile time. This is a merging of version.h and
11147         version_info.h.in.
11148
11149 2001-10-03  Juergen Vigna  <jug@sad.it>
11150
11151         * BufferView_pimpl.C (update): don't change "dirty" status in
11152         updateInset call.
11153
11154 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11155
11156         * WorkArea.C (c-tor): re-position version string slightly.
11157
11158 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11159
11160         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11161         revert to previous code.
11162
11163         WorkArea.[Ch]: (show, destroySplash): methods removed.
11164
11165         WorkArea.C: rework code so that it's an amalgam of the codes before and
11166         after the splash screen was moved to WorkArea.
11167
11168 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11169
11170         * lyxrc.C (read):
11171         * vspace.C (inPixels):
11172         (lyx_advance):
11173         * kbmap.C (bind):
11174         * buffer.C (insertStringAsLines):
11175         (asciiParagraph): fix types to be large enough
11176
11177         * lyxlex_pimpl.h: change member status from short to int
11178
11179         * layout.h: fix type of endlabeltype
11180
11181         * kbmap.C (bind):
11182         * kbsequence.C (parse): change return type to string::size_type
11183
11184         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11185         variable
11186
11187         * Bullet.C (bulletSize):
11188         (bulletEntry): do not use short ints as parameters
11189
11190         * BufferView2.C (insertLyXFile): change a char to an int.
11191
11192         * WorkArea.C (WorkArea): remove unneeded floats in computation
11193
11194 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11195
11196         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11197
11198         * paragraph.C (asString): Do not ignore newline/hfill chars when
11199         copying to the clipboard.
11200
11201 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11202
11203         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11204         after a multi-line inset.
11205
11206 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11207
11208         * paragraph.C (validate): Set NeedLyXFootnoteCode
11209
11210 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11211
11212         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11213         and decrease-error to decrease.
11214
11215 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11216
11217         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11218         it more readable (should be equivalent)
11219
11220 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11221
11222         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11223
11224 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11225
11226         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11227         of a cursor (row, etc.) after a character has been deleted
11228         (deleteEmptyParagraphMechanism): call the method above on _all_
11229         cursors held by the LyXText when a double space has been
11230         detected/deleted.
11231
11232 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11233
11234         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11235         pixmap.
11236         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11237
11238         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11239         background. Use greyOut() and the new show() methods to toggle between
11240         the foreground and background. Add code to remove the splash after
11241         its initial showing.
11242
11243         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11244         (create_forms): no longer call Dialogs::showSplash.
11245
11246 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11247
11248         * .cvsignore: add version_info.h
11249
11250 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11251
11252         * version_info.h.in: new file
11253
11254         * Makefile.am: add version_info.h.in
11255
11256         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11257         version_info.h instead of VERSION_INFO
11258
11259 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11260
11261         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11262         The ERT inset now returns string().
11263
11264 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11265
11266         * lyxtext.h, text.C (selectNextWord): renamed as
11267         selectNextWordToSpellcheck.
11268
11269         * text.C (selectNextWordToSpellcheck): Modified to not select
11270         words inside an ERT inset.
11271
11272 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11273
11274         * lyx_cb.C (MenuLayoutSave): change a bit the question
11275
11276         * sp_base.h: include <sys/types.h>
11277
11278 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11279
11280         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11281
11282 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11283
11284         * several files: fix typos in user-visible strings
11285
11286 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11287
11288         * text2.C (pasteSelection): do not set the selection, since it
11289         will be cleared later. Actually, the intent was to fix the way the
11290         selection was set, but I figured rmoving the code was just as good.
11291
11292 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11293
11294         * FontLoader.C (available): Check if font is available without
11295         loading the font.
11296
11297 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11298
11299         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11300
11301 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11302
11303         * lyxrc.[Ch]: added display_graphics variable and associated code.
11304
11305 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11306
11307         * bufferparams.C (hasClassDefaults): new method. Returns true if
11308         the buffer parameters correspond to known class defaults
11309
11310 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11311
11312         * XFormsView.C (show): set minimum size to the main window.
11313
11314 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11315
11316         * text2.C (copySelection):
11317         (cutSelection):
11318         * lyxfind.C (LyXReplace):
11319         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11320         LyXText::selectionAsString.
11321
11322         * paragraph.C (asString): add "label" argument to the second form
11323
11324         * text2.C (selectionAsString): add "label" argument and pass it to
11325         Paragraph::asString.
11326
11327 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11328
11329         * lyx_main.C (commandLineHelp): remove version information
11330
11331 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11332
11333         * lyx_main.C: add -version commandline option
11334
11335 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11336
11337         * paragraph.h: make the optional constructor arg required instead.
11338         some modifications to other files because of this.
11339
11340         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11341
11342         * lyxserver.C (C_LyXComm_callback): make it static
11343
11344         * lyx_main.C (error_handler): make it static
11345
11346         * lyx_gui.C (LyX_XErrHandler): make it static
11347
11348         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11349
11350         * WorkArea.C: make the extern "C" methods static.
11351
11352         * Makefile.am (lyx_LDADD): simplify
11353
11354 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11355
11356         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11357         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11358
11359         * LyXAction.C (init):
11360         * lyxfunc.C (dispatch): associated code removal.
11361
11362 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11363
11364         * lyxfont.h (isSymbolFont): shut off warning
11365
11366         * text.C (setHeightOfRow):
11367         (getVisibleRow): fix crash with empty paragraphs which have a
11368         bottom line
11369
11370 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11371
11372         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11373         code.
11374
11375 2001-09-04  José Matos  <jamatos@fep.up.pt>
11376         * buffer.C
11377         * buffer.h
11378         * tabular.C (docbook): rename docBook method to docbook.
11379
11380 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11381
11382         * Makefile.am: add dependencies to main.o.
11383
11384 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11385
11386         * FontLoader.C (available): Return false if !lyxrc.use_gui
11387
11388 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11389
11390         * FontInfo.C (query):
11391         * converter.C (view):
11392         * importer.C (Import):
11393         * exporter.C (Export): Can not -> cannot.
11394
11395 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11396
11397         * BufferView_pimpl.C: allow to create index inset even if
11398           string is empty
11399
11400 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11401
11402         * buffer.C (getLists): replace boost::tie code with an explicit pair
11403         as boost::tie can break some compilers.
11404
11405         * iterators.h: Added a std:: declaration to the return type of
11406         ParIterator::size.
11407
11408 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11409
11410         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11411           case.
11412
11413 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11414
11415         * iterators.[Ch]: New files. Provide paragraph iterators.
11416
11417         * buffer.C (changeLanguage): Use paragraph iterators.
11418         (isMultiLingual): ditto
11419
11420         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11421
11422 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11423
11424         * FontLoader.C: Support for cmr font.
11425
11426 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11427
11428         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11429         (available): New method.
11430
11431         * FontInfo.C (getFontname): Use scalable fonts even when
11432         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11433         found.
11434
11435 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11436
11437         * converter.C (Formats::view): reverted! Incorrect fix.
11438
11439 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11440
11441         * converter.C (Formats::view): only output the -paper option
11442         if the dvi viewer is xdvi, thereby fixing bug #233429.
11443
11444 2001-08-23  Herbert Voss  <voss@perce>
11445
11446         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11447
11448 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11449
11450         * Spacing.h (Spacing): Set space to Default on in the default
11451         constructor.
11452
11453 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11454
11455         * vc-backend.h (RCS::versionString): add RCS to version
11456         (CVS::versionString): add CVS to version
11457
11458         * vc-backend.C (scanMaster): do not add CVS to version.
11459         (scanMaster): do not add RCS to version
11460
11461         * lyxvc.C (versionString): new method
11462
11463         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11464
11465 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11466
11467         * Spacing.C (set): initialize fval
11468
11469 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11470
11471         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11472         " or \.
11473
11474 2001-08-16  Juergen Vigna  <jug@sad.it>
11475
11476         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11477
11478 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11479
11480         * BufferView_pimpl.C:
11481         * figureForm.C:
11482         * lyxtext.h:
11483         * text2.C: setParagraph takes linespacing now
11484
11485 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11486
11487         * LyxAction.C: add internal LFUN_CITATION_INSERT
11488
11489         * LyXView.C: actually apply fix
11490
11491         * bufferlist.C: fix open non-existent file
11492
11493         * lyxfind.C: fix indentation
11494
11495         * lyxfunc.C: remove unneeded assert, fix typo
11496
11497 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11498
11499         * MenuBackend.C: use "Floatname List"
11500
11501 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11502
11503         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11504         when converting LaTeX layout to insetERT.
11505         Generate a non-collapsed float when reading old float
11506
11507 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11508
11509         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11510         ERT insets.
11511
11512 2001-08-13  Juergen Vigna  <jug@sad.it>
11513
11514         * text.C (fill): return 0 instead of 20 as this seems to be the more
11515         correct value.
11516
11517 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11518
11519         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11520         lyxrc.font_norm.
11521
11522 2001-08-13  Juergen Vigna  <jug@sad.it>
11523
11524         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11525         casesensitive off.
11526         (SearchBackward): comment out the unlocking of the inset_owner this
11527         should not be needed!
11528
11529 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11530
11531         * Many files: Remove inherit_language, and add latex_language
11532
11533         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11534         collapsible insets.
11535
11536 2001-08-10  Juergen Vigna  <jug@sad.it>
11537
11538         * text.C (prepareToPrint): fixed hfill-width in draw!
11539
11540         * BufferView2.C (selectLastWord): save the selection cursor as this
11541         now is cleared in the function LyXText::clearSelection!
11542
11543 2001-08-08  Juergen Vigna  <jug@sad.it>
11544
11545         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11546         BACKSPACE type functions.
11547
11548         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11549         is only cutted from the document but not put in the cut-buffer, where
11550         still the old stuff should be.
11551
11552         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11553
11554         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11555
11556         * tabular.C (SetWidthOfCell): fixed special case where the width
11557         was not updated!
11558         (LeftLine): handle '|' in align_special.
11559         (RightLine): ditto
11560         (LeftAlreadyDrawed): ditto
11561         (SetWidthOfCell): ditto
11562
11563 2001-08-07  Juergen Vigna  <jug@sad.it>
11564
11565         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11566
11567 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11568
11569         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11570         * lyxlex.[hC]: ditto
11571
11572 2001-08-06  Juergen Vigna  <jug@sad.it>
11573
11574         * text.C (getVisibleRow): fix up row clearing a bit.
11575
11576 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11577
11578         * minibuffer.C: make sure the X server sees the changes in the input.
11579
11580 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11581
11582         * paragraph.C (getFont): split into...
11583         (getLabelFont): this
11584         (getLayoutFont): and this
11585         * paragraph_pimpl.C (realizeFont): calling this
11586
11587         * text2.C (getFont): split into...
11588         (getLayoutFont): this
11589         (getLabelFont): and this
11590         (realizeFont): all three calling this
11591
11592         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11593         files where used.
11594
11595 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11596
11597         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11598
11599 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11600
11601         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11602         layouts from the Quote inset insertion.
11603
11604 2001-08-03  Juergen Vigna  <jug@sad.it>
11605
11606         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11607
11608         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11609         only if status not is already CHANGED_IN_DRAW (second level).
11610
11611         * text.C (draw): don't set the need_break_row when inside an
11612         InsetText LyXText.
11613
11614 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11615
11616         * buffer.C (parseSingleLyXformat2Token): handle more latex
11617         conversion cases.
11618
11619         * bufferview_funcs.[hC]: change function names to
11620         begin with small char, adjust other files.
11621
11622 2001-08-02  André Pönitz <poenitz@gmx.net>
11623
11624         * lyxfunc.C:
11625         BufferView_pimpl.C: remove broken special code for math-greek
11626
11627 2001-08-02  Juergen Vigna  <jug@sad.it>
11628
11629         * BufferView_pimpl.C (update): redone this function so that we
11630         update the text again if there was a CHANGE_IN_DRAW.
11631
11632         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11633         (drawFromTo): added a new internal bool which is used by draw() and
11634         redraw() function.
11635         (general): some cursor drawing problems fixed.
11636
11637 2001-08-01  Juergen Vigna  <jug@sad.it>
11638
11639         * lyxfind.C (LyXFind): fixed
11640         (SearchForward): ditto
11641         (SearchBackward): ditto
11642
11643         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11644         spurius drawing of the cursor in the main area.
11645
11646         * text2.C (status): small fix which could lead to a segfault!
11647         (clearSelection): remove unneeded BufferView param.
11648
11649 2001-08-01  André Pönitz <poenitz@gmx.net>
11650
11651         * lyxfunc.C: small change due to changed mathed interface
11652
11653 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11654
11655         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11656
11657 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11658
11659         * lyxfunc.c: fail gracefully if file doesn't exist
11660
11661         * LyXSendto.C:
11662         * buffer.C:
11663         * lyxfunc.C:
11664         * BufferView_pimpl.C: IsDirWriteable() proto changed
11665
11666         * LyXView.C: fix updateWindowTitle() to store the last title
11667
11668 2001-07-31  Juergen Vigna  <jug@sad.it>
11669
11670         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11671         the font (wrong since using of Paragraph::highestFontInRange).
11672
11673         * paragraph.C (highestFontInRange): added a default_size parameter.
11674
11675         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11676         (setHeightOfRow): reformat
11677
11678 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11679
11680         * converter.[hC] + affected files: move to (inital-char)lowercase
11681         function names.
11682
11683         * ParagraphParameters.C (ParagraphParameters): remove commented code
11684
11685         * PainterBase.[Ch]: remove commented code
11686
11687         * LaTeXFeatures.h: add "bool floats" for float.sty
11688
11689         * LaTeXFeatures.C (LaTeXFeatures): init floats
11690         (require): handle float
11691         (getPackages): do it with floats
11692
11693 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11694
11695         * BufferView_pimpl.C (Dispatch): improve handling of
11696         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11697
11698         * commandtags.h: #include lyxfont.h here temporarily to avoid
11699         keybinding bug.
11700
11701         * bufferlist.h: include LString.h here.
11702
11703 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11704
11705         * text2.C (getStringToIndex): new method.
11706
11707 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11708
11709         * *: Reduced header file dependencies all over.
11710
11711 2001-07-30  Baruch Even  <baruch@lyx.org>
11712
11713         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11714
11715 2001-07-29  Baruch Even  <baruch@lyx.org>
11716
11717         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11718
11719 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11720
11721         * ParameterStruct.h (endif): add a default constructor to make
11722         sure that all variables is initialized.
11723
11724         * ParagraphParameters.C (ParagraphParameters): adjust
11725
11726 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11727
11728         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11729         index; also, check that there is something to index, and that it
11730         does not span over several paragraphs.
11731         (doubleClick): use WHOLE_WORD_STRICT for double click.
11732
11733         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11734
11735         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11736         scheme.
11737
11738 2001-07-26  Baruch Even  <baruch@lyx.org>
11739
11740         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11741         an InsetFig figure, backwards compatible reading of old figure code.
11742
11743 2001-07-27  Juergen Vigna  <jug@sad.it>
11744
11745         * text2.C: font.realize function adaption.
11746
11747         * text.C (draw): add a warnings lyxerr text if needed.
11748
11749         * layout.C: font.realize function adaption.
11750
11751         * language.C: add inherit_language and implement it's handlings
11752
11753         * bufferview_funcs.C (StyleReset): remove language parameter from
11754         font creation (should be language_inherit now).
11755
11756         * bufferparams.C (writeFile): handle ignore_language.
11757
11758         * paragraph.C (getFontSettings): the language has to be resolved
11759         otherwise we have problems in LyXFont!
11760
11761         * lyxfont.C (lyxWriteChanges): added document_language parameter
11762         (update): removed unneeded language parameter
11763
11764         * paragraph.C (validate): fixed wrong output of color-package when
11765         using interface colors for certain fonts in certain environments,
11766         which should not seen as that on the final output.
11767
11768 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11769
11770         * BufferView_pimpl.C:
11771         * Thesaurus.h:
11772         * Thesaurus.C:
11773         * Makefile.am:
11774         * commandtags.h:
11775         * LyXAction.C: add thesaurus support
11776
11777         * lyxfind.h:
11778         * lyxfind.C: add "once" parameter, for thesaurus, to not
11779           move to the next match
11780
11781 2001-07-26  Juergen Vigna  <jug@sad.it>
11782
11783         * lyxfont.C (realize): honor ignore_language too!
11784         (resolved): ditto.
11785
11786         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11787
11788         * text.C (draw): one place more for ignore_language to not draw
11789         itself!
11790
11791 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11792
11793         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11794
11795 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11796
11797         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11798         the minipage conversion problem.
11799
11800 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11801
11802         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11803         insert an inset.
11804
11805 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11806
11807         * BufferView.h: don't forward declare WorkArea
11808
11809         * BufferView.C: don't include WorkArea.h
11810
11811 2001-07-25  André Pönitz <poenitz@gmx.net>
11812
11813         * commandtags.h:
11814         * LyXAction.C:
11815         * lyxfunc.C:  new LFUN 'math-space'
11816
11817         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11818
11819 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11820
11821         * text2.C (toggleInset): call open/close
11822
11823 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11824
11825         * lyxfunc.C (dispatch): add debug for the disabled case
11826
11827         * font.C (buttonText): make similar to rectText
11828
11829         * buffer.C (readInset): comment out parsing of insetlist and
11830         insttheorem
11831
11832         * PainterBase.C (rectText): small correction
11833
11834         * BufferView_pimpl.C: comment out insettheorem and insetlist
11835         * LyXAction.C: ditto
11836         * commandtags.h: ditto
11837
11838 2001-07-24  Juergen Vigna  <jug@sad.it>
11839
11840         * text.C (draw): honor the ignore_language.
11841
11842         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11843
11844 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11845
11846         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11847         char inset.
11848
11849 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11850
11851         * lyxtext.h: remove unused (and unimplemented) methods
11852
11853 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11854
11855         * text.C (getVisibleRow): honor background color
11856
11857         * PainterBase.h:
11858         * Painter.h: remove default color argument for fillRectangle
11859
11860         * text.C (backgroundColor): new method
11861
11862 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11863
11864         * text.C (getVisibleRow): adjust
11865
11866         * font.[Ch] (rectText): new method, metrics
11867         (buttonText): new method, metrics
11868
11869         * PainterBase.[hC]: make rectText and buttonText always draw and take
11870         fewer paramteres.
11871
11872 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11873
11874         * ToolbarDefaults.C (read):
11875         * MenuBackend.C (read): allow escaping in all strings
11876
11877         * BufferView_pimpl.C (insertAndEditInset): new method.
11878         (Dispatch): use insertAndEditInset whenever appropriate.
11879
11880         * BufferView_pimpl.C (insertNote): removed
11881
11882         * BufferView_pimpl.C (smartQuote): new method, moved from
11883         BufferView; if an insetquote cannot be inserted, insert a '"'
11884         character instead.
11885
11886         * BufferView2.C: remove insertCorrectQuote();
11887
11888         * lyxfunc.C (getStatus): Add support for all remaingin
11889         inset-insert lfuns.
11890
11891         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11892
11893         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11894         command (necessary to pass " as parameter of self-insert.
11895
11896         * text.C (selectWordWhenUnderCursor):
11897         (selectWord): add word_location parameter
11898         (selectWordWhenUnderCursor): same + remove special code for word
11899         boundary.
11900         (selectNextWord): use kind() to guess type of insetspecialchar,
11901         not latex().
11902
11903         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11904         (insertErtContents): create ert insets as collapsed.
11905         (readInset): better compatibility code for Info inset.
11906
11907 2001-07-20  Juergen Vigna  <jug@sad.it>
11908
11909         * lyxfunc.C (dispatch): use always LyXFind now!
11910
11911         * text2.C (init): add a reinit flag so that the LyXText can be
11912         reinited instead of deleted and reallocated (used in InsetText).
11913
11914         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11915
11916         * text.C: ditto
11917
11918         * text2.C: ditto
11919
11920 2001-07-18  Juergen Vigna  <jug@sad.it>
11921
11922         * text.C (selectNextWord): handle insets inside inset by calling
11923         always the bv->text functions so that we can go up the_locking_inset!
11924
11925         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11926         in strange locations when inside an inset!
11927
11928         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11929         handling to include insets.
11930
11931         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11932
11933 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11934
11935         * LyXAction.C (init):
11936         * commandtags.h:
11937         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11938         LIGATURE_BREAK, since the name is so stupid.
11939
11940 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11941
11942         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11943         InsetInfos.
11944
11945         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11946
11947         * sp_form.[Ch]: remove.
11948
11949         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11950
11951         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11952         InsetInfo.
11953
11954         * src/buffer.C (readInset): ditto.
11955
11956 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11957
11958         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11959         menuSeparator(), endOfSentenceDot(), ldots() and
11960         hyphenationPoint(), which are therefore removed.
11961         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11962
11963         * LyXAction.C (init):
11964         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11965
11966         * paragraph.C (getWord): removed.
11967
11968         * BufferView_pimpl.C (Dispatch): use last word or selection for
11969         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11970
11971         * lyx_main.C (queryUserLyXDir): do not ask before creating
11972         user_dir, except if it has been named explicitely.
11973
11974 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11975
11976         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11977         a document of zero size.
11978
11979 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11980
11981         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11982         approriately in the c-tor and in require().
11983         (getPackages): output the appropriate LaTeX for natbib support.
11984
11985         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11986         variables "use_natbib" and "use_numerical_citations" when reading the
11987         LyX file.
11988         (readInset): read the various natbib cite commands.
11989         (validate): white-space change.
11990
11991         * bufferparams.[Ch]: new variables "bool use_natbib" and
11992         "bool use_numerical_citations".
11993         (writeFile): output them in the LyX file.
11994
11995 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11996
11997         * lyxfunc.C (getStatus): add support for all the inset insertion
11998         commands.
11999
12000         * text2.C (insertInset):
12001         * paragraph.C (insetAllowed):
12002         * BufferView_pimpl.C (insertInset): update to take in account the
12003         renaming of insertInsetAllowed
12004
12005         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12006
12007         * text2.C (getInset): new method. returns inset at cursor position.
12008
12009         * BufferView_pimpl.C (Dispatch): changes because of this.
12010
12011         * LyXAction.C (init): rename open-stuff to inset-toggle.
12012
12013         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12014
12015         * text2.C (toggleInset): renamed from openStuff; use
12016         Inset::open().
12017
12018 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12019
12020         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12021
12022         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12023
12024 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12025
12026         * buffer.C (readLyXformat2): Add filename to the error dialog
12027
12028 2001-07-18  Juergen Vigna  <jug@sad.it>
12029
12030         * tabular.C (GetCellNumber): put an assert here instead of the check!
12031
12032 2001-07-17  Juergen Vigna  <jug@sad.it>
12033
12034         * BufferView_pimpl.C (toggleSelection): adapted too.
12035
12036         * text.C (selectNextWord): adapted for use with insets.
12037         (selectSelectedWord): ditto
12038
12039 2001-07-17  Juergen Vigna  <jug@sad.it>
12040
12041         * sp_spell.C (PSpell): fix initialitation order.
12042
12043 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12044
12045         * paragraph.C: spacing
12046
12047 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12048
12049         * sp_spell.C: repair language selection for pspell
12050
12051 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12052
12053         * lyxfunc.h: change more methods to begin with lower char.
12054
12055 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12056
12057         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12058         for unknown layouts.
12059
12060 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12061
12062         * buffer.C (readLyXformat2): Generate an error dialog if there are
12063         unknown layouts.
12064
12065 2001-07-16  Juergen Vigna  <jug@sad.it>
12066
12067         * sp_spell.C: always compile ISpell part.
12068
12069         * lyxrc.C: added use_pspell entry and it's handling.
12070
12071 2001-07-13  Juergen Vigna  <jug@sad.it>
12072
12073         * sp_spell.C: removed double includes.
12074
12075 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12076
12077         Consistent use of Lsstream.h:
12078         * Lsstream.h: added using std::stringstream for consistencies sake.
12079
12080         * buffer.C: removed using std::stringstream
12081
12082         * lyxfont.C (stateText):
12083         * paragraph.C (asString):
12084         * text.C (selectNextWord, selectSelectedWord):
12085         * text2.C (setCounter):
12086         * vspace.C (asString, asLatexString):
12087         std::ostringstream -> ostringstream.
12088
12089 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12090
12091         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12092         * commandtags.h: add LFUN_HELP_ABOUTLYX
12093         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12094
12095 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12096
12097         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12098         cursorToggle()
12099         * lyx_gui_misc.C: remove spellchecker
12100         * lyxfunc.C: showSpellchecker
12101         * sp_base.h: added
12102         * sp_ispell.h: added
12103         * sp_pspell.h: added
12104         * sp_spell.C: added
12105         * sp_form.[Ch]: removed
12106         * spellchecker.[Ch]: removed
12107
12108 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12109
12110         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12111         is set.
12112         (simpleTeXSpecialChars): Simply print the input character without
12113         any special translation if pass_thru is set.
12114
12115         * layout.h: Added bool pass_thru to layout class for being able to
12116         implement pass through of a paragraph for Literate Programming.
12117
12118         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12119         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12120         * layout.C (Read): add "passthru" to list of layout tags and add
12121         code to set the pass_thru boolean when it is read.
12122
12123 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12124
12125         * trans_decl.h: remove allowed from KmodInfo
12126
12127         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12128         remove allowed code
12129         (Load): adjust
12130
12131         * paragraph_pimpl.C (erase): use boost::prior
12132
12133         * Painter.C (text): use data() instead of c_str() when length is
12134         also provided.
12135         * WorkArea.C (putClipboard): ditto
12136         * font.h (width): ditto
12137
12138         * BufferView2.C: use it-> instead of (*it). for iterators
12139         * texrow.C: ditto
12140         * paragraph_pimpl.C: ditto
12141         * paragraph.C: ditto
12142         * minibuffer.C: ditto
12143         * language.C: ditto
12144         * kbmap.C: ditto
12145         * encoding.C: ditto
12146         * counters.C: ditto
12147         * converter.C: ditto
12148         * chset.C: ditto
12149         * Variables.C: ditto
12150         * TextCache.C: ditto
12151         * MenuBackend.C: ditto
12152         * LyXAction.C: ditto
12153         * LColor.C: ditto
12154         * FloatList.C: ditto
12155         * DepTable.C: ditto
12156         * ColorHandler.C (LyXColorHandler): ditto
12157
12158 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12159
12160         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12161
12162         * text2.C (openStuff): reintroduce this method (which had been
12163         nuked in NEW_INSETS frenzy).
12164
12165         * lyxfunc.C (Dispatch): when an action has not been handled, use
12166         its name in the error message, not its number.
12167
12168         * paragraph.C (inInset): change method name to begin with lowercase.
12169
12170         * undo_funcs.C:
12171         * text2.C: updates because of this.
12172
12173 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12174
12175         * ToolbarDefaults.C (add): add spaces in error message
12176
12177 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12178
12179         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12180         (readLyXformat2): rename return_par to first_par, use lyxlex's
12181         pushToken and remove the manual push handling.
12182         (parseSingleLyXformat2Token): add another ert comp. variable:
12183         in_tabular, rename return_par to first_par. handle newlines better
12184
12185 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12186
12187         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12188
12189 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12190
12191         * text2.C (getParFromID): removed
12192
12193         * buffer.C (getParFromID): new method moved form lyxtext.
12194         * BufferView2.C (insertErrors): adjust
12195         (setCursorFromRow): adjust
12196         * BufferView_pimpl.C (restorePosition): adjust
12197         * lyxfunc.C (Dispatch): adjust
12198         * undo_funcs.C (textUndo): adjust
12199         (textRedo): adjust
12200         (textHandleUndo): adjust
12201         (textHandleUndo): adjust
12202
12203 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12204
12205         * buffer.C: up' the LYX_FORMAT
12206
12207         * lyxfont.h: turn NO_LATEX on as default
12208
12209         * buffer.C (insertErtContents): new methods of tex style compability.
12210         (parseSingleLyXformat2Token): use it several places.
12211         * tabular.C (OldFormatRead): and here
12212
12213 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12214
12215         * text2.C: remove some commented code.
12216         reindent file.
12217
12218         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12219         * trans.C: changes because of the above.
12220
12221 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12222
12223         * text2.C (setCounter): Fix counters bug with bibliography layout.
12224
12225 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12226
12227         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12228         own member functions
12229         (simpleTeXSpecialChars): ditto
12230
12231 2001-07-06  Juergen Vigna  <jug@sad.it>
12232
12233         * a lot of files: changed the access to LyXText::status and the
12234         call of undo-functions.
12235
12236         * undo.[Ch]: added a inset_id to the undo informations.
12237
12238         * undo_funcs.[Ch]: added and moved here all undo functions.
12239
12240         * lyxtext.h: give the status enum a weight, made status_ a private
12241         variable and made accessor functions for it, removed the whole bunch
12242         of undo-functions as they are now in their own file, make some
12243         functions publically available. Added function ownerParagraph with
12244         int parameter.
12245
12246         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12247         made InInset() a const function, added getParFromID() function.
12248
12249         * buffer.[Ch]: added const version for inset_iterator functions,
12250         added getInsetFromID() function.
12251
12252         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12253         changed undo functions for new version.
12254
12255 2001-07-05  Juergen Vigna  <jug@sad.it>
12256
12257         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12258         unknow mechanism does not call the proper constructor but only this
12259         one also if I request the other!?
12260
12261 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12262
12263         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12264
12265         * text2.C (LyXText): use initialization lists.
12266
12267         * lyxtext.h (Selection): initialize set_ and mark_
12268         (init): remove method
12269
12270 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12271
12272         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12273
12274 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12275
12276         * screen.[Ch]: change method names to begin with lowercase
12277
12278         * BufferView_pimpl.C (updateScrollbar): simplify further and
12279         hopefully make it a bit faster.
12280
12281 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12282
12283         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12284         calling directly xforms functions.
12285
12286         * Painter.C (Painter):
12287         * lyx_cb.C (MenuWrite):
12288         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12289         fl_display.
12290
12291         * lyx_gui.C: remove bogus guiruntime extern declaration.
12292
12293 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12294
12295         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12296         in NEW_INSETS
12297         (redoDrawingOfParagraph): ditto
12298         (redoParagraphs): ditto
12299         (cutSelection): don't create a object for CutAndPaste use the
12300         static method directly
12301         (pasteSelection): ditto
12302
12303         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12304         LyXview (+ rename)
12305
12306 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12307
12308         * modifications to some other files because of this.
12309
12310         * Makefile.am (lyx_SOURCES): add XFormsView
12311
12312         * XFormsView.[Ch]: new files
12313
12314         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12315         the main window. Move the gui dependent stuff to XFormsView
12316
12317 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12318
12319         * tabular.C (GetCellInset): update cur_cell also in the row/col
12320         version of this function.
12321
12322         * lyxfunc.C: no need to include figure_form.h here.
12323
12324         * FontLoader.h:
12325         * lyxfunc.h:
12326         * lyxscreen.h:
12327         * text2.C:
12328         * lyxvc.C: no need to include forms.h here.
12329
12330 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12331
12332         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12333
12334         * lyxfunc.C (Dispatch):
12335         * Spacing.C (set):
12336         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12337         constructor argument.
12338
12339 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12340
12341         * paragraph.C (Paragraph): dont't clear, and just set layout.
12342         (makeSameLayout): use params's copy contructor.
12343
12344         * ParagraphParameters.[Ch] (makeSame): delete method
12345
12346 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12347
12348         * Variables.[Ch]: fix indentation, rename set to isSet
12349
12350 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12351
12352         * lyxfunc.C (Dispatch): fix typo
12353
12354 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12355
12356         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12357         upper_bound.
12358
12359         * bufferlist.C: include assert.h for emergencyWrite().
12360
12361 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12362
12363         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12364           give up at last (bug #425202) !
12365
12366 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12367
12368         * lyx_gui_misc.C:
12369         * sp_form.h:
12370         * sp_form.C:
12371         * spellchecker.h:
12372         * spellchecker.C: strip spellchecker options and bring up
12373           preferences tab instead
12374
12375 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12376
12377         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12378         the istringstream constructor
12379
12380 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12381
12382         * paragraph.C (getLayout): fix return value
12383
12384         * paragraph.h: do not declare getLayout as inline.
12385
12386         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12387
12388 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12389
12390         * lyxcursor.h (operator<): new func
12391         (operator>): new func
12392         (operator>=): new func
12393         (operator<=): new func
12394
12395         * text.C (changeCase): use selection.start and selection.end
12396         (changeRegionCase): require from to be <= to. Require par to be a
12397         valid paragraph.
12398
12399         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12400
12401 2001-06-27  Juergen Vigna  <jug@sad.it>
12402
12403         * text.C (cursorLeftOneWord): changed to return the cursor and added
12404         overlay with BufferView * parameter which calls this one.
12405         (getWord): added
12406         (selectWord): use new getWord function.
12407         (changeCase): renamed from changeWordCase as and extended to work
12408         also on selections.
12409
12410         * lyxtext.h: added enum word_location
12411
12412         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12413         changeCase as this operates now also on selections.
12414
12415 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12416
12417         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12418
12419         * many files: send debug output to Debug::INFO instead of
12420         Debug::ANY.
12421
12422         * converter.C (View):
12423         (Convert):
12424         (Move): send debug output to Debug::FILES instead of console.
12425
12426 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12427
12428         * lyxfunc.C (getStatus): use func_status
12429
12430         * func_status.h: new header, describing the results of
12431         LyXFunc::getStatus;
12432
12433         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12434         LFUN_MATH_HALIGN.
12435
12436 2001-06-25  The LyX Project  <jug@sad.it>
12437
12438         * buffer.C (sgmlOpenTag):
12439         (sgmlCloseTag):
12440         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12441
12442 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12443
12444         * text2.C: remove some dead code
12445
12446         * tabular.C (GetCellInset): store the last cell checked (gotten)
12447
12448         * tabular.h: add the helper for the speedup
12449
12450         * lyxtext.h: remove some dead code
12451
12452 2001-06-26  The LyX Project  <Asger>
12453
12454         * paragraph.C: Change export to LaTeX of alignment to
12455         \begin{center} and family for better roundtrip work with reLyX.
12456
12457         * Tune the math drawing a bit.
12458
12459 2001-06-25  The LyX Project  <Asger>
12460
12461         * LColor.C (LColor): New color for math background. New color
12462         for buttons.
12463
12464 2001-06-25  The LyX Project  <jug@sad.it>
12465
12466         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12467
12468         * lyxfunc.C (Open):
12469         * bufferlist.C (newFile): do not restrict to files ending with
12470         .lyx
12471
12472         * BufferView_pimpl.C (MenuInsertLyXFile):
12473
12474 2001-06-24  The LyX Project  <jug@sad.it>
12475
12476         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12477         of compare_no_case
12478
12479 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12480
12481         * lyxtext.h: rename most methods to begin with a small char.
12482         Lots of changes because of this.
12483
12484         * paragraph.C (Paragraph): do not call fitToSize
12485         (erase): call Pimpl::erase
12486         (insertChar): call Pimpl::insertChar
12487         (insertInset): call Pipl::insertInset
12488         (breakParagraph): do not call fitToSize
12489         (breakParagraphConservative): do not call fitToSize
12490         (fitToSize): remove method
12491
12492         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12493
12494 2001-06-24  The LyX Project  <Asger>
12495
12496         * Fix Qt compilation^2
12497
12498 2001-06-24  The LyX Project  <jug@sad.it>
12499
12500         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12501         depthHook(getDepth()-1).
12502
12503         * paragraph.h:
12504         * ParagraphParameters.h:
12505         * ParameterStruct.h: change type of depth to unsigned int ==
12506         depth_type. Many adaptations to other files before of that.
12507
12508 2001-06-24  The LyX Project  <Asger>
12509
12510         * Fix Qt compilation.
12511
12512 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12513
12514         * paragraph.h: renamed several methods to begin with small letter.
12515         several changes to many parts of the code because of this.
12516
12517 2001-06-23  The LyX Project  <jug@sad.it>
12518
12519         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12520         rewritten to discard all double spaces when KeepEmpty is off
12521         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12522         to only handle newlines but not fiddle with spaces and friends.
12523
12524         * lyxfunc.C (MenuNew): when doing 'new from template', use
12525         template_path as default directory
12526
12527 2001-06-23  The LyX Project  <Asger>
12528
12529         * Clean-up of header file includes all over
12530         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12531
12532 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12533
12534         * paragraph.h: renamed from lyxparagraph.h
12535
12536 2001-06-23  Asger  <lyx@violet.home.sad.it>
12537
12538         * Buffer.h: Removed Buffer::resize
12539         * BufferList.h: Removed BufferList::resize
12540         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12541         the document lazily when we change the width, or the font settings.
12542
12543 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12544
12545         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12546
12547 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12548
12549         * buffer.h: remove out of date comment
12550
12551 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12552
12553         * lyxscreen.h:
12554         * screen.C: fix "theoretical" GC leak
12555
12556 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12557
12558         * LaTeX.C (scanAuxFile):
12559         (deplog): remove trailing \r when reading stream (useful under
12560         win32)
12561
12562 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12563
12564         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12565         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12566         and BufferView::theLockingInset(Inset*), so should use them and not
12567         access bv_->text->the_locking_inset directly.
12568
12569         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12570
12571 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12572
12573         * Makefile.am:
12574         * tex-defs.h: remove old unused file
12575
12576 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12577
12578         * BufferView_pimpl.C: fix typo, remove minibuffer message
12579           when buffer has loaded
12580
12581 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12582
12583         * lyxfunc.C (Dispatch): use stringstream
12584         (MenuNew): use stringstream
12585         (Open): use stringstream
12586
12587         * importer.C (Import): use stringstream
12588
12589         * bufferview_funcs.C (CurrentState): use stringstream
12590
12591         * LaTeX.C (run): use stringstream
12592
12593         * BufferView_pimpl.C (savePosition): use stringstream
12594         (restorePosition): use stringstream
12595         (MenuInsertLyXFile): use stringstream
12596
12597 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12598
12599         * BufferView.C:
12600         * Bullet.C:
12601         * ColorHandler.C:
12602         * FontInfo.C:
12603         * FontLoader.C:
12604         * LColor.C:
12605         * LaTeXFeatures.C:
12606         * Painter.C:
12607         * gettext.C:
12608         * lyx_gui_misc.C:
12609         * lyxserver.C:
12610         * vspace.C: removed // -*- C++ -*- as first line.
12611
12612         * lyxfind.h:
12613         * version.h: added // -*- C++ -*- as first line.
12614
12615 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12616
12617         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12618
12619         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12620         of string
12621
12622 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12623
12624         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12625         of floats.
12626
12627 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12628
12629         * gettext.C: include LString.h even when --disable-nls is on.
12630
12631 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12632
12633         * converter.h (Get): changed argument type from int to
12634         FormatList::size_type to avoid unnecessary conversion.
12635
12636         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12637         before using it.
12638
12639 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12640
12641         * gettext.h: include LString.h even when --disable-nls is on.
12642
12643 2001-06-07  Juergen Vigna  <jug@sad.it>
12644
12645         * text.C (BreakAgain): subst spaces with tabs.
12646
12647         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12648         (resizeInsetsLyXText): set force on resizeLyXText.
12649
12650 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12651
12652         * gettext.h (gettext_init):
12653         (locale_init): use a real definition instead of a macro
12654
12655 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12656
12657         * Bufferview_pimpl.C:
12658         * LColor.h:
12659         * LColor.C: further lcolor tidies
12660
12661 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12662
12663         * BufferView_pimpl.C (updateScrollbar): simplify.
12664
12665         * BufferView2.C: don't include insets/insetinfo.h, change
12666         prototype for insertInset and call the Pimpl version. let
12667         updateInset call Pimpl version.
12668
12669         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12670         gotoInset to BufferView::Pimpl
12671
12672 2001-06-01  Juergen Vigna  <jug@sad.it>
12673
12674         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12675         inside a LockingInset (is the update needed at all?).
12676
12677 2001-05-31  Juergen Vigna  <jug@sad.it>
12678
12679         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12680         here not the old one otherwise how should we compare it afterwards
12681         if it's the same!
12682
12683 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12684
12685         * lyxfont.C:
12686         * tabular.C:
12687         * tabular-old.C:
12688         * FontInfo.C: bring C functions into global namespace when
12689         necessary
12690
12691 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12692
12693         * LString.h: make sure config.h has been loaded before LString.h.
12694
12695         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12696         (one for each char read by EatLine!).
12697
12698         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12699         variables.
12700
12701 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12702
12703         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12704         to the same as the par we break from
12705
12706 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12707
12708         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12709
12710         * MenuBackend.C (expand): also create menu entries for wide
12711         versions of the floats.
12712
12713         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12714
12715         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12716
12717         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12718         frontends/Makefile.am
12719
12720         * text2.C: adjust
12721         * text.C: adjust
12722
12723
12724         * tabular.C (getTokenValue): add std::
12725
12726         * tabular-old.C (getTokenValue): add std::
12727         (getTokenValue): ditto
12728         (getTokenValue): ditto
12729
12730         * screen.C (ToggleSelection): adjust
12731
12732         * lyxtext.h: put selection cursors inside a Selection struct.
12733
12734         * lyxfunc.C (moveCursorUpdate): adjust
12735
12736         * lyxfont.C (latexWriteStartChanges): add std::
12737
12738         * lyxfind.C: adjust
12739
12740         * font.h: delete with(char const *, LyXFont const &)
12741
12742         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12743
12744         * FontInfo.C (getFontname): add std::
12745
12746         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12747         (workAreaButtonPress): adjust
12748         (tripleClick): adjust
12749         (update): adjust
12750         (moveCursorUpdate): adjust
12751         (Dispatch): adjust
12752
12753         * BufferView2.C (gotoInset): adjust
12754
12755 2001-05-30  Juergen Vigna  <jug@sad.it>
12756
12757         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12758         to check pspell I add this as default as I now have new pspell
12759         libraries and they seem to use this.
12760
12761 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12762
12763         * text2.C (CutSelection): make the cursor valid before the call to
12764         ClearSelection.
12765
12766 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12767
12768         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12769         relied on 0 terminated strings and other horrors. Bug found due to
12770         the new assert in lyxstring!
12771
12772         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12773         KP_ keys.
12774
12775 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12776
12777         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12778         to latinkeys.bind.
12779
12780         * lyxfunc.C (processKeySym): change method of getting to the
12781         self-insert char.
12782
12783         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12784         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12785         * BufferView_pimpl.[Ch]: here as private methods.
12786
12787 2001-05-28  Juergen Vigna  <jug@sad.it>
12788
12789         * text.C (SetHeightOfRow): added the update() call again as it is
12790         needed to initialize inset dimensions!
12791
12792 2001-05-16  Juergen Vigna  <jug@sad.it>
12793
12794         * text2.C (SetCharFont): Add new function with BufferView * and
12795         bool toggleall parameters for setting insets internal fonts.
12796         (SetFont): Freeze the undo as we may change fonts in Insets and
12797         all this change should be inside only one Undo!
12798
12799         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12800         setting font's in insets as for them we have the SetFont function!
12801
12802 2001-05-15  Juergen Vigna  <jug@sad.it>
12803
12804         * text2.C (ClearSelection): to be sure we REALLY don't have any
12805         selection anymore!
12806
12807         * tabular.C (TeXCellPreamble): fixed the left border problem for
12808         multicolumn cells.
12809
12810 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12811
12812         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12813         dependancy file
12814
12815 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12816
12817         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12818         LFUN_BREAKPARAGRAPH.
12819
12820         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12821         help test to "internal only", similar for LFUN_INSERT_URL
12822
12823         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12824         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12825         auto_region_delete and deadkeys.
12826
12827 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12828
12829         * LColor.h:
12830         * LColor.C: remove some dead entries, tidy a little
12831
12832 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12833
12834         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12835         commented code.
12836         (Dispatch): implement LFUN_ESCAPE
12837
12838         * commandtags.h: add LFUN_ESCAPE
12839
12840         * LyXAction.C (init): add entry for LFUN_ESCAPE
12841
12842         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12843         Remove commented code.
12844         (insertNote): moved here
12845         (open_new_inset): moved here
12846
12847         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12848         BufferView_pimpl
12849
12850 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12851
12852         * kbmap.C (findbinding): clean it up and make it work correctly.
12853
12854         * lyx_main.C (init): do not pass argc and argv as parameters
12855
12856 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12857
12858         * buffer.C: fix path for OS/2 & Win32
12859
12860         * lyx_gui.C:
12861         * lyx_main:
12862         * lyx_main.C: Added os:: class.
12863
12864         * os2_defines.h: update
12865
12866 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12867
12868         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12869         better by trying again with reduced state.
12870
12871 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12872
12873         * lyxrc.C (read): print error about invalid key sequence only when
12874         debugging (because not all latinX keysyms are known to some X
12875         servers)
12876
12877         * kbsequence.C (getiso): add a few std:: qualifiers
12878         (getiso): comment out extra return statement.
12879
12880 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12881
12882         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12883         handling.
12884         (Dispatch): enhance the accent inset a bit. (not perfect)
12885
12886 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12887
12888         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12889
12890 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12891
12892         * bufferlist.C (emergencyWrite): fix assert() call
12893
12894 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12895
12896         * text.C (InsertChar): Added trivial patch to only send the "you
12897         can not do multiple spaces this way" message once during a
12898         session.
12899
12900 2001-05-08  Baruch Even  <baruch@lyx.org>
12901
12902         * Makefile.am: Changed order of libraries to get LyX to link properly
12903         with the gnome frontend.
12904
12905 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12906
12907         * LaTeXFeatures.h: add a std:: qualifier
12908
12909 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12910
12911         * paragraph.C (String): use stringstream
12912
12913 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12914
12915         * paragraph.C (writeFile): remove footflag arg
12916
12917         * buffer.C (makeLaTeXFile): use stringstream
12918         (latexParagraphs): remove footnot gurba
12919
12920         * LaTeXFeatures.C (getPackages): use stringstream
12921         (getMacros): likewise
12922         (getTClassPreamble): likewise
12923         (getFloatDefinitions): new method
12924
12925         * paragraph.C (writeFile): reindent
12926         (Erase): reindent
12927
12928         * WorkArea.h: revert the xpos + etc changes.
12929
12930         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12931
12932         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12933
12934         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12935         (pasteSelection): likewise
12936         * text2.C (CreateUndo): likewise
12937
12938 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12939
12940         * minibuffer.C (peek_event): temporarily reduce the functionality
12941         of the minibuffer (to allow args on lfuns)
12942
12943         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12944         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12945
12946         * buffer.C (readInset): add compability reading of old float
12947         lists, add reading of new style float list.
12948         (readInset): avoid reevaluation of inscmd.getCmdName()
12949         (getLists): reindent
12950
12951         * MenuBackend.C (MenuItem): implement parsing of
12952         md_floatlistinsert and md_floatinsert.
12953         (expand::LastFiles): move initalizaton of iterators out of loop,
12954         avoid reevaluation.
12955         (expand::Documents): introduce typdedef vector<string> Strings,
12956         and use it.
12957         (expand::ExportFormats): introduce typedef vector<Format const *>
12958         Formats, and use it.
12959         (expand): implement FloatListInsert and FloatInsert.
12960
12961         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12962         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12963         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12964
12965         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12966         handling.
12967         (Dispatch::LFUN_FLOAT_LIST): implement
12968
12969 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12970
12971         * LaTeX.C (run): Fix problem with --export code.
12972
12973 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12974
12975         * BufferView.[Ch] (workarea): removed.
12976         (getClipboard) new method; wrapper for workarea()->getClipboard()
12977
12978         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12979         bug.
12980
12981         * WorkArea.h (width, height, xpos, ypos): These methods all
12982         returned the dimensions of the work_area sub-area of WorkArea,
12983         resulting in a position error if the WorkArea were resized. Now
12984         return the dimensions of the entire WorkArea.
12985
12986         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12987
12988 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12989
12990         * LaTeX.C (deplog): correct the syntax of regex reg1
12991
12992 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12993
12994         * undo.C: remove !NEW_INSETS cruft
12995
12996 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12997
12998         * text2.C: remove !NEW_INSETS cruft
12999
13000         * text.C: remove !NEW_INSETS cruft
13001
13002         * tabular.C: remove !NEW_INSETS cruft
13003
13004         * spellchecker.C: remove !NEW_INSETS cruft
13005
13006         * lyxtext.h: remove !NEW_INSETS cruft
13007
13008         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13009
13010         * lyxfunc.C: remove !NEW_INSETS cruft
13011
13012         * lyxfind.C: remove !NEW_INSETS cruft
13013
13014         * lyx_cb.C: remove !NEW_INSETS cruft
13015
13016         * figureForm.C: remove  !NEW_INSETS cruft
13017
13018         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13019
13020         * buffer.[Ch]: remove !NEW_INSETS cruft
13021
13022         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13023
13024         * CutAndPaste.C: remove !NEW_INSETS cruft
13025
13026         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13027
13028         * BufferView2.C: remove !NEW_INSETS cruft
13029
13030         * BufferView.h: remove !NEW_INSETS cruft
13031
13032 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13033
13034         * Lsstream.h: include LString.h before the sstream headers to
13035         fix problem with gcc 2.95.3 and lyxstring
13036
13037 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13038
13039         * lyx_main.C: add using directives when needed for C functions
13040         declared in std:: namespace.
13041
13042 2001-04-27  Juergen Vigna  <jug@sad.it>
13043
13044         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13045         (SetHeightOfRow): comment out the update call should not be needed!
13046
13047 2001-04-13  Juergen Vigna  <jug@sad.it>
13048
13049         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13050         (LyXTabular): tried to minimize operator= operations (and realized
13051         hopfully Lars wish).
13052
13053 2001-04-27  Juergen Vigna  <jug@sad.it>
13054
13055         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13056
13057 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13058
13059         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13060
13061         * buffer.C (readInset): hack to make listof algorithm work
13062
13063         * BufferView_pimpl.C: hack to make listof algorithm work
13064
13065 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13066
13067         * LyXAction.C: removed all !NEW_INSETS cruft
13068         (init): moved lfun_item in method
13069
13070         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13071
13072 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13073
13074         * BufferView2.C (theLockingInset): white space.
13075
13076 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13077
13078         * minibuffer.C: include <iostream>
13079
13080         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13081
13082         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13083
13084         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13085
13086         * text.[Ch] (TransposeChars): new method
13087
13088 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13089
13090         * call message directly through LyXView instead of through LyXFunc
13091         * BufferView2.C: adjust
13092         * BufferView_pimpl.C: adjust
13093         * FontLoader.C: adjust
13094         * buffer.C: adjust
13095         * bufferview_funcs.C: adjust
13096         * converter.C: adjust
13097         * figureForm.C: adjust
13098         * importer.C: adjust
13099         * lyx_cb.C: adjust
13100         * lyx_gui_misc.C: adjust
13101         * lyxfunc.C: adjust
13102         * lyxvc.C: adjust
13103         * text2.C: adjust
13104         + more files in subdirs
13105
13106         * lyxparagraph.h (size): move up int file
13107         (GetLayout): ditto
13108
13109         * adjust all uses of Assert to lyx::Assert.
13110
13111         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13112         lyxfunctional in namespace lyx
13113         * layout.C (hasLayout): ditto
13114         (GetLayout): ditto
13115         (GetLayout): ditto
13116         (delete_layout): ditto
13117         (NumberOfClass): ditto
13118         * converter.C (GetFormat): ditto
13119         (GetNumber): ditto
13120         (Add): ditto
13121         (Delete): ditto
13122         (SetViewer): ditto
13123         * bufferlist.C (getFileNames): ditto
13124         (emergencyWriteAll): ditto
13125         (exists): ditto
13126         (getBuffer): ditto
13127         * MenuBackend.C (hasSubmenu): ditto
13128         (hasMenu): ditto
13129         (getMenu): ditto
13130         * BufferView_pimpl.C (getInsetByCode): ditto
13131
13132 2001-04-18  Juergen Vigna  <jug@sad.it>
13133
13134         * vspace.C (asLatexString): fixed the 100% problem.
13135
13136 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13137
13138         * lyxfunc.C (Dispatch):
13139         * minibuffer.C:
13140         * minibuffer.h: add a few std:: qualifiers
13141
13142 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13143
13144         * minibuffer.[Ch]: reimplement so that commands is initiated and
13145         run from lyxfunc, simplified som handling, and made the completion
13146         and history code for complete. wip.
13147
13148         * lyxfunc.C (processKeySym): call message
13149         (miniDispatch): new temporary method
13150         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13151         (LFUN_MESSAGE): implement
13152         (LFUN_MESSAGE_PUSH): implement
13153         (LFUN_MESSAGE_POP): implement
13154         (initMiniBuffer): the initial/defualt minibuffer message.
13155
13156         * lyxfont.[Ch]: inline some more getters
13157
13158         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13159
13160         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13161
13162         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13163         (AutoSave): use LFUN_MESSAGE
13164         (Reconfigure): ditto
13165
13166         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13167
13168         * figureForm.C: use LFUN_MESSAGE
13169
13170         * converter.C (runLaTeX): use LFUN_MESSAGE
13171
13172         * bufferview_funcs.C: use LFUN_MESSAGE
13173         (Melt): ditto
13174         (changeDepth): ditto
13175
13176         * bufferparams.h: use boost::
13177
13178         * bufferlist.h: inherit privately from noncopyable
13179
13180         * bufferlist.C (loadLyXFile): remove some commented code.
13181
13182         * buffer.C (runChktex): use LFUN_MESSAGE
13183
13184         * ShareContainer.h: inherit privately from noncopyable
13185
13186         * ParagraphParameters.[hC] (depth): inline it.
13187
13188         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13189         methods.
13190         (message): new method
13191         (messagePush): ditto
13192         (messagePop): ditto
13193         (show): init minibuffer
13194         (showState): direct call
13195
13196         * LaTeX.[Ch]: inherit privately from noncopyable
13197         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13198         instead of WriteStatus.
13199
13200         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13201
13202         * BufferView_pimpl.C (buffer): don't init minibuffer
13203         (workAreaButtonPress): use LFUN_MESSAGE
13204         (workAreaButtonRelease): ditto
13205         (savePosition): ditto
13206         (restorePosition): ditto
13207         (MenuInsertLyXFile): ditto
13208         (workAreaExpose): don't init minibuffer
13209         (update): remove commented code, simplify
13210
13211         * BufferView2.C (openStuff): use LFUN_MESSAGE
13212         (toggleFloat): ditto
13213         (menuUndo): ditto
13214         (menuRedo): ditto
13215         (copyEnvironment): ditto
13216         (pasteEnvironment): ditto
13217         (copy): ditto
13218         (cut): ditto
13219         (paste): ditto
13220         (gotoInset): ditto
13221         (updateInset): remove some commented code
13222
13223         * lastfiles.h: inherit privately from noncopyable
13224         * layout.h: ditto
13225         * lyx_gui.h: ditto
13226         * lyx_main.h: ditto
13227         * lyxlex.h: ditto
13228         * lyxlex_pimpl.h: ditto
13229
13230         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13231         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13232         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13233
13234         * LyXAction.h: inherit privately from noncopyable, add methods
13235         func_begin, func_end, returning iterators to the func map.
13236
13237         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13238         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13239         (func_begin): new method
13240         (func_end): new method
13241
13242         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13243         and not)
13244         (copySelection): ditto
13245         (pasteSelection): ditto
13246
13247         * BufferView.C: whitespace change
13248         * BufferView.h: inherit privately from noncopyable
13249
13250 2001-04-16  Allan Rae  <rae@lyx.org>
13251
13252         * tabular-old.C (l_getline):
13253         * spellchecker.C (sc_check_word):
13254         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13255         an unrecognised preprocessor directive.  So ensure they're wrapped.
13256
13257 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13258
13259         * src/exporter.C (Export): Give an error message when path to file
13260         contains spaces.
13261
13262 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13263
13264         * LaTeX.C (deplog): Always check that foundfile exists.
13265
13266 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13267
13268         * lyx_main.h:
13269         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13270
13271 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13272
13273         * tabular.[Ch] (getLabelList): implement new method
13274
13275         * minibuffer.h: comment ouf setTiimer
13276
13277         * minibuffer.C (ExecutingCB): constify res
13278         (peek_event): constify s
13279         (Set): constify ntext
13280         (Init): constify nicename
13281
13282         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13283
13284         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13285         (savePosition): use two params to Minibuffer::Set
13286         (restorePosition): ditto
13287
13288 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13289
13290         * lyx_main.C: include language.h
13291
13292         * Makefile.am (lyx_main.o): add language.h
13293
13294 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13295
13296         * exporter.C:
13297         * paragraph.C:
13298         * screen.C:
13299         * tabular.C:
13300         * CutAndPaste.C: include gettext.h
13301
13302         * lyxfont.h: remove old hack with ON and OFF.
13303
13304         * lyxparagraph.h:
13305         * lyxfont.h: do not include language.h...
13306
13307         * BufferView2.C:
13308         * LaTeXFeatures.C:
13309         * Painter.C:
13310         * bufferview_funcs.C:
13311         * font.C:
13312         * lyxfont.C:
13313         * text.C:
13314         * text2.C:
13315         * trans_mgr.C:
13316         * paragraph.C: ... but do it here instead
13317
13318 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13319
13320         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13321
13322         * tabular.C: small reformat
13323
13324         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13325         NEW_INSETS version
13326         (GetChar): ditto
13327         (BreakParagraph): ditto
13328         (SetOnlyLayout): ditto
13329         (SetLayout): ditto
13330
13331         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13332         with one arg less.
13333
13334         * lastfiles.C: removed most using decl, add std:: where needed
13335
13336         * buffer.C: ws changes
13337
13338         * MenuBackend.C (class compare_format): put into anon namespace
13339         (expand): constify label, names, action, action2
13340         (expand):
13341
13342         * text.C (SingleWidth): constify font
13343         (IsBoundary): constify rtl2
13344         (GetVisibleRow): constify ww
13345
13346         * LaTeX.C (deplog): constify logfile
13347
13348         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13349         start_x, end_x
13350         (workAreaExpose): constify widthChange, heightChange
13351
13352         * lyxrow.C (par): moved
13353         (height): moved
13354         (next): moved
13355         * lyxrow.h: as inlines here
13356
13357         * lyxfont.h (shape): moved from lyxfont.C
13358         (emph): moved from lyxfont.C
13359
13360         * lyxfont.C (LyXFont): use initialization list for all
13361         constructors
13362         (shape): move to lyxfont.h as inline
13363         (emph): move to lyxfont.h as inline
13364
13365
13366 2001-04-04  Juergen Vigna  <jug@sad.it>
13367
13368         * vspace.C: had to include stdio.h for use of sscanf
13369
13370 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13371
13372         * BufferView.h:
13373         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13374         independent of xforms.
13375
13376 2001-04-02  Juergen Vigna  <jug@sad.it>
13377
13378         * spellchecker.C: fixed namespace placing!
13379
13380 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13381
13382         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13383         the LyXParagraph * is 0.
13384
13385 2001-03-29  Juergen Vigna  <jug@sad.it>
13386
13387         * vspace.C: added support for %, c%, p%, l%.
13388         (stringFromUnit): added helper function.
13389         (asLatexString): changed to give right results for the %-values.
13390
13391         * buffer.C: convert the widthp in a width%.
13392
13393 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13394
13395         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13396         figureForm.[Ch].
13397
13398         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13399         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13400
13401         * lyx_cb.[Ch]: see above.
13402
13403         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13404         form1.[Ch].
13405
13406         * form1.[Ch]:
13407         * lyx.[Ch]: replaced by figure_form.[Ch].
13408
13409         * lyx_gui.C:
13410         * lyx_gui_misc.C:
13411         * lyxfunc.C: changed headers associated with above changes.
13412
13413 2001-03-27  Juergen Vigna  <jug@sad.it>
13414
13415         * BufferView_pimpl.C: set the temporary cursor right!
13416
13417 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13418
13419         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13420
13421 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13422
13423         * LString.h: removed "using std::getline"!
13424
13425         * BufferView_pimpl.C (Dispatch): changes due to changes in
13426         InsetInclude::Params.
13427
13428         * buffer.C (tag_name): removed redundant break statements as they were
13429         producing lots of warnings with my compiler.
13430
13431 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13432
13433         * LString.h: add "using std::getline" when using the real <string>.
13434
13435 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13436
13437         * buffer.C: removed bitset usage.
13438         PAR_TAG moved to an anonymous name space.
13439         (tag_name): new funtion, also in the anonymous namespace.
13440         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13441         (makeDocBookFile): clean code. Completed transition from string arrays
13442         to string vectors.
13443         (SimpleDocBookOnePar): code clean.
13444
13445 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13446
13447         * tabular.C: add some comments.
13448
13449 2001-03-22  Juergen Vigna  <jug@sad.it>
13450
13451         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13452         compatibility read a bit and fixed bug with minipage in different
13453         depth.
13454
13455 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13456
13457         * buffer.C (pop_tag): removed.
13458         (push_tag): removed.
13459         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13460         array replaced with vector. Added support for CDATA sections.
13461         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13462         at any nest level.
13463         (makeDocBookFile): XML conformant declaration of CDATA section,
13464         fixed bug related to <emphasis> in the first paragraph char.
13465         (sgmlOpenTag): exclude empty tags.
13466         (sgmlCloseTag): ditto.
13467
13468         * buffer.h (pop_tag): removed.
13469         (push_tag): removed.
13470
13471 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13472
13473         * language.h (Languages): added size_type and size().
13474
13475 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13476
13477         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13478         response on compability reading of minipages. One probliem is that
13479         the old usage of minipages was «flertydig»
13480
13481         * several files here and in subdirs: don't use static at file
13482         scope use anon namespaces instead.
13483
13484 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13485
13486         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13487         LaTeX output. This is necessary for Literate document
13488         processing.
13489
13490 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13491
13492         * buffer.C: insert hfill when needed.
13493
13494         * tabular.C (l_getline): use string::erase, small whitespace change.
13495
13496         * BufferView_pimpl.C: try the anon namespace.
13497         * WorkArea.C: ditto
13498
13499 2001-03-16  Juergen Vigna  <jug@sad.it>
13500
13501         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13502         otherwise it won't open options-dialogs.
13503
13504         * buffer.C: honor pextraWidth(p) on converting minipages.
13505
13506         * tabular.C (l_getline): changed the functions to strip trailing \r.
13507
13508 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13509
13510         * BufferView_pimpl.C:
13511         * minibuffer..C: added "using SigC::slot" declaration.
13512
13513 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13514
13515         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13516
13517         * text2.C: ditto
13518
13519         * text.C: ditto
13520
13521         * paragraph.C: ditto
13522
13523         * lyxtext.h: NO_PEXTRA
13524
13525         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13526
13527         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13528         * ParameterStruct.h: ditto
13529         * ParagraphParameters.h: ditto
13530         * lyxparagraph.h: ditto
13531
13532 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13533
13534         * buffer.C: add compability for minipage alignment.
13535         (latexParagraphs): remove unwanted pextra check.
13536
13537         * several files: remove CXX_WORKING_NAMESPACES
13538
13539         * buffer.C (pop_tag): tie is in namespace boost
13540
13541         * BufferView.h: noncopyable is in namespace boost
13542         * lyxlex.h: ditto
13543         * lyx_main.h: ditto
13544         * lyx_gui.h: ditto
13545         * layout.h: ditto
13546         * lastfiles.h: ditto
13547         * bufferlist.h: ditto
13548         * ShareContainer.h: ditto
13549         * LyXView.h: ditto
13550         * LyXAction.h: ditto
13551         * LaTeX.h: ditto
13552
13553 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13554
13555         * Merging changes from BRANCH_MVC back into HEAD.
13556
13557         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13558
13559 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13560
13561         * BufferView_pimpl.C: change from intl.C
13562
13563         * combox.h:
13564         * combox.C:
13565         * Makefile.am: move combox.*
13566
13567         * form1.h:
13568         * form1.C:
13569         * lyx_gui.C:
13570         * intl.h:
13571         * intl.C: remove dialog (covered by prefs)
13572
13573 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13574
13575         * lyxfunc.C (Dispatch): removed redundant break statement.
13576
13577 2001-03-14  Juergen Vigna  <jug@sad.it>
13578
13579         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13580
13581 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13582
13583         * buffer.C: add hack to fix compability reading of minipages.
13584
13585 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13586
13587         * buffer.C (getLists): Cleanup.
13588
13589 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13590
13591         * lyxfont.C (update): don't honor toggleall on font size.
13592
13593 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13594
13595         * bmtable.c:
13596         * bmtable.h:
13597         * Makefile.am: moved to frontends/xforms/
13598
13599         * lyx_gui_misc.C:
13600         * lyxfunc.C:
13601         * BufferView_pimpl.C: changes for moved mathpanel
13602
13603 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13604
13605         * gettext.h: fix gettext_init() in --disable-nls
13606
13607 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13608
13609         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13610
13611 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13612
13613         * lyx.C:
13614         * lyx.h: strip external form
13615
13616 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13617
13618         * BufferView_pimpl.C: add comment, destroySplash()
13619
13620 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13621
13622         * BufferView_pimpl.C:
13623         * LyXAction.C:
13624         * buffer.C:
13625         * commandtags.h:
13626         * lyxfunc.C: use re-worked insetinclude
13627
13628 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13629
13630         * buffer.C: add using std::stringstream.
13631
13632         * lyx_cb.C: readd using std::ios.
13633
13634         * buffer.C: add using std::map.
13635
13636         * BufferView_pimpl.C: add using std::vector.
13637
13638         * ShareContainer.h: add std:: to swap.
13639
13640         * buffer.h: add some typedefs
13641         * buffer.C (getLists): use them
13642         (getLists): renamed from getTocList.
13643         add a counter for the different float types and use it in the
13644         generated string.
13645         (getLists): use the same counter for the NEW_INSETS and the "non"
13646         NEW_INSETS
13647
13648         * lyx_cb.h: remove unused items, includes, using etc.
13649
13650         * ShareContainer.h: remove some commented code, add more comments
13651         and "documentation".
13652
13653 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13654
13655         * buffer.C (getTocList): make the list also when NEW_INSETS is
13656         defined.
13657
13658         * buffer.h: remove TocType
13659
13660         * buffer.C (getTocList): change to return a map<string,
13661         vector<TocItem> >, implement for dynamic number of list.
13662
13663         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13664         * text2.C (PasteSelection): adjust
13665         * CutAndPaste.C (pasteSelection): adjust
13666
13667         * FloatList.C (FloatList): update from the new_insets branch.
13668         * Floating.[Ch]: ditto
13669         * LaTeXFeatures.C: ditto
13670         * buffer.C: ditto
13671         * lyxlex_pimpl.C: ditto
13672
13673         * paragraph.C (Last): remove when NEW_INSETS is defined.
13674
13675         * other file: changes because of the above.
13676
13677 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13678
13679         * lyxparagraph.h: rename next to next_, previous to previous_,
13680         make them private for NEW_INSETS. Rename Next() to next(),
13681         Previous() to previous().
13682
13683         * other files: changes because of the above.
13684
13685 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13686
13687         * BufferView.h:
13688         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13689         problem.
13690
13691 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13692
13693         * main.C (main): pass lyx_localedir to gettext_init().
13694
13695         * gettext.h: remove locale_init and gettext_init macros
13696
13697         * gettext.C (locale_init): new function
13698         (gettext_init): new function
13699
13700         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13701         setlocale().
13702
13703 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13704
13705         * Moved credits to frontends:
13706         * credits.[Ch]: removed
13707         * credits_form.[Ch]: removed
13708         * lyx_gui_misc.C: remove credits stuff
13709         * Makefile.am:
13710
13711 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13712
13713         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13714
13715         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13716         unneeded destructor.
13717
13718         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13719         a standalone pointer again.
13720
13721         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13722
13723 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13724
13725         * Makefile.am:
13726         * filedlg.h:
13727         * filedlg.C:
13728         * LyXAction.C:
13729         * ToolbarDefaults.C:
13730         * bufferlist.C:
13731         * commandtags.h:
13732         * form1.C:
13733         * form1.h:
13734         * lyx_cb.C:
13735         * lyx_cb.h:
13736         * lyxfunc.h:
13737         * lyxfunc.C:
13738         * BufferView_pimpl.C: use new file dialog in GUII
13739
13740         * lyx_cb.h:
13741         * lyx_cb.C: remove LayoutsCB to Toolbar
13742
13743 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13744
13745         * ShareContainer.h (get): add std:: qualifier
13746
13747 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13748
13749         * ShareContainer.h: define a proper ShareContainer::value_type
13750         type (and use typename to please compaq cxx)
13751
13752 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13753
13754         * lyxparagraph.h: move serveral local vars to
13755         ParameterStruct/ParagraphParameters., use ShareContainer in
13756         FontTable., make vars in FontTable private and add getter and
13757         setter.
13758
13759         * paragraph.C: changes because of the above.
13760
13761         * lyxfont.h: remove copy constructor and copy assignment. (the
13762         default ones is ok), move number inside FontBits. move inlines to
13763         lyxfont.C
13764
13765         * lyxfont.C: add number to initializaton of statics, move several
13766         inlines here. constify several local vars. some whitespace
13767         cleanup. Dont hide outerscope variables.
13768
13769         * Spacing.h: add two new constructors to match the set methods.
13770
13771         * ShareContainer.h: new file, will perhaps be moved to support
13772
13773         * ParameterStruct.h: new file
13774
13775         * ParagraphParameters.h: new file
13776
13777         * ParagraphParameters.C: new file
13778
13779         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13780         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13781
13782         * BufferView_pimpl.C: ParagraphParameter changes.
13783         * buffer.C: Likewise.
13784         * bufferview_funcs.C: Likewise.
13785         * text.C: Likewise.
13786         * text2.C: Likewise.
13787
13788 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13789
13790         * lyxfind.C (LyXReplace): do not redefine default argument in
13791         implementation.
13792         (IsStringInText): ditto
13793         (SearchForward): ditto
13794         (SearchBackward): ditto
13795
13796 2001-03-06  Juergen Vigna  <jug@sad.it>
13797
13798         * lyxfind.C (IsStringInText): put parentes around expressions.
13799
13800 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13801
13802         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13803
13804 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13805
13806         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13807
13808         * stl_string_fwd.h: add comment
13809
13810         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13811
13812         * tabular.h:
13813         * tabular.C: remove unused DocBook methods
13814
13815         * intl.C:
13816         * language.C:
13817         * paragraph.C:
13818         * buffer.C:
13819         killed DO_USE_DEFAULT_LANGUAGE
13820
13821 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13822
13823         * lyx_gui.C: do not include language.h.
13824
13825         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13826         arguments in function implementation.
13827
13828 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13829
13830         * BufferView_pimpl.C: add <ctime>
13831
13832 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13833
13834         * BufferView_pimpl.C: add using std::find_if
13835
13836 2001-02-27  José Matos  <jamatos@fep.up.pt>
13837
13838         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13839         by OnlyPath.
13840
13841 2001-02-11  José Matos  <jamatos@fep.up.pt>
13842
13843         * buffer.C (makeDocBookFile): command styles now have a parameter as
13844         "title" by default.
13845
13846 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13847
13848         * layout_forms.[Ch]: removed
13849         * lyx_cb.[Ch]: out character
13850         * lyx_gui.C: out character
13851         * lyx_gui_misc.C: out character
13852         * bufferview_funcs.C: : out character,
13853         added toggleall as parameter in ToggleAndShow
13854
13855 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13856
13857         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13858
13859         * text2.C (SetCurrentFont): Disable number property at boundary.
13860
13861 2001-02-26  Juergen Vigna  <jug@sad.it>
13862
13863         * lyxfunc.C (getStatus): added a string argument override function so
13864         that this is correctly called from LyXFunc::Dispatch if it contains a
13865         do_not_use_argument which is used!
13866         (Dispatch): added check for "custom" export and call appropriate func.
13867
13868 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13869
13870         * lyxrc.C: Add language_command_local, language_use_babel and
13871         language_global_options.
13872
13873         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13874
13875         * buffer.C (makeLaTeXFile): Use language_use_babel and
13876         language_global_options.
13877
13878 2001-02-23  Juergen Vigna  <jug@sad.it>
13879
13880         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13881         which works with LyXText and putted it inside BufferView. Here now we
13882         only call for that part the BufferView::Dispatch() function.
13883
13884         * BufferView.C (Dispatch): added.
13885
13886         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13887         functions which needs to use a LyXText over from LyXFunc.
13888         (MenuInsertLyXFile): added
13889         (getInsetByCode): added
13890         (moveCursorUpdate): added
13891         (static TEXT): added
13892
13893 2001-02-22  Juergen Vigna  <jug@sad.it>
13894
13895         * BufferView_pimpl.C (update): call a status update to see if LyXText
13896         needs it.
13897
13898 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13899
13900         * vc-backend.C (revert): implement for CVS
13901         (getLog): implement for CVS
13902
13903 2001-02-20  Juergen Vigna  <jug@sad.it>
13904
13905         * text2.C (ClearSelection): added BufferView param for inset_owner call
13906
13907         * lyxfunc.C (TEXT): added this function and use it instead of
13908         directly owner->view()-text of getLyXText().
13909
13910 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13911
13912         * src/layout_forms.C: out preamble
13913         * src/layout_forms.h: out preamble
13914         * src/lyx_cb.C: out preamble
13915         * src/lyx_cb.h: out preamble
13916         * src/lyx_gui.C: out preamble
13917         * src/lyx_gui_misc.C: out preamble
13918         * src/lyxfunc.C: connect with guii preamble
13919
13920 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13921
13922         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13923
13924 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13925
13926         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13927         whether to run bibtex.
13928
13929 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13930
13931         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13932
13933 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13934
13935         * Makefile.am (lyx_SOURCES): removed bibforms.h
13936
13937         * vspace.h: doxygen
13938
13939         * text.C (GetVisibleRow): make several local vars const
13940
13941         * tabular.C: small cleanup.
13942
13943         * lyxserver.C (callback): use compare instead of strncmp
13944
13945         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13946         inlines to after class or to paragraph.C
13947
13948         * lyxfont.h: remove friend operator!=
13949
13950         * converter.h: move friend bool operator< to non friend and after
13951         class def.
13952
13953         * combox.h: small cleanup
13954
13955         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13956         to inlines after class def.
13957
13958         * buffer.C (pop_tag): use string operations instead of strcmp
13959
13960         * bmtable.c: doxygen, small cleanup
13961
13962         * LaTeX.h: remove friend operator==
13963
13964 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13965
13966         * screen.C:
13967         * lyxrc.[Ch]:
13968         * lyxfunc.C:
13969         * lyxfont.[Ch]:
13970         * lyx_cb.C:
13971         * intl.[Ch]:
13972         * commandtags.h:
13973         * buffer.C:
13974         * WorkArea.[Ch]:
13975         * LyXAction.C:
13976         * BufferView_pimpl.C:
13977         * BufferView.[Ch]: remove cruft
13978
13979 2001-02-14  Juergen Vigna  <jug@sad.it>
13980
13981         * lyxfunc.C: removed #if 0 unused code
13982
13983         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13984
13985         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13986
13987         * text2.C (SetSelection): added a BufferView * parameter
13988
13989 2001-02-13  Juergen Vigna  <jug@sad.it>
13990
13991         * lyxfunc.C (Dispatch): fixed protected blank problem.
13992         * BufferView2.C (protectedBlank): added LyxText * parameter.
13993
13994         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13995         (AppendColumn): same as above for column_info.
13996
13997         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13998         (moveCursorUpdate): use a LyXText param for support of InsetText.
13999
14000         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14001         (tripleClick): ditto
14002
14003         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14004
14005         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14006
14007         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14008
14009         * text2.C (SetSelection): set correct update status if inset_owner
14010         (ToggleFree): ditto
14011
14012 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14013
14014         * tabular.C: remove some commented code.
14015
14016 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14017
14018         * BufferView_pimpl.C: call hideSplash()
14019
14020         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14021
14022         * include_form.h:
14023         * bibforms.h: remove
14024
14025         * lyxfunc.C:
14026         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14027           add LFUN_CHILD_CREATE
14028
14029         * counters.h: fix tiny typo
14030
14031         * lyx_cb.C:
14032         * lyx.h:
14033         * lyx_gui.C:
14034         * lyx.C: move splash to frontends/xforms/
14035
14036         * lyx_gui_misc.C: move Include and Bibform to frontends
14037
14038         * lyxvc.h: clarify comment
14039
14040         * vspace.C: tiny housekeeping
14041
14042 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14043
14044         * text.C (PrepareToPrint): RTL Fix.
14045
14046         * paragraph.C (GetUChar): New method.
14047         (String):  Use GetUChar.
14048
14049         * buffer.C (asciiParagraph): Use GetUChar.
14050
14051 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14052
14053         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14054
14055 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14056
14057         * buffer.h:
14058         * buffer.C: rename to getLogName(), handle
14059           build log / latex log nicely
14060
14061 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14062
14063         * MenuBackend.C:
14064         * MenuBackend.h: remove support for reference menuitem type.
14065
14066 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14067
14068         * BufferView_pimpl.C: housekeeping
14069         * BufferView_pimpl.h:
14070         * LyXView.h:
14071         * Makefile.am:
14072         * Timeout.C:
14073         * Timeout.h:
14074         * minibuffer.h: move Timeout GUI-I
14075
14076 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14077
14078         * lyxrc.C (read): Update converters data-structures.
14079
14080 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14081
14082         * LaTeX.h (operator!=): add operator != for Aux_Info
14083
14084 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14085
14086         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14087
14088         * LaTeXLog.C: deleted, useful code moved to Buffer
14089
14090         * buffer.h:
14091         * buffer.C: new function getLatexLogName()
14092
14093         * lyx_gui_misc.C:
14094         * lyx_gui.C:
14095         * lyxvc.C:
14096         * lyxvc.h:
14097         * lyxfunc.C: use frontends for LaTeX and VC logs
14098
14099 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14100
14101         * LaTeX.h: yet another std:: that Allan forgot.
14102
14103         * Variables.C (set): renamed from isset(), because this clashes
14104         with some HP-UX macros (grr).
14105
14106 2001-02-06  Allan Rae  <rae@lyx.org>
14107
14108         * LaTeX.h: Another bug fix.  Missing std:: this time.
14109
14110 2001-02-04  Allan Rae  <rae@lyx.org>
14111
14112         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14113         floats problem. I've left it commented out because it's not quite
14114         correct.  It should also test that the current object is a table or
14115         figure inset.  But I haven't gotten around to figuring out how to do
14116         that.  I *think* it'll be something like: "table" == inset.type()
14117
14118         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14119         bool.
14120
14121 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14122
14123         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14124         all the citation/databases/styles in the auxilary file.
14125         (run): Rerun latex if there was a babel language error.
14126
14127 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14128
14129         * text.C (Backspace): Preserve the font when changing newline char
14130         with a space.
14131         (BreakParagraph): If the cursor is before a space, delete the space.
14132
14133         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14134
14135 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14136
14137         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14138         new argument (code).
14139         (ChangeCitationsIfUnique): New method.
14140
14141         * paragraph.C (GetPositionOfInset): Handle bibkey.
14142
14143 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14144
14145         * BufferView_pimpl.h: change type of Position::par_pos to
14146         LyXParagraph::size_type.
14147
14148 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14149
14150         * BufferView_pimpl.C (savePosition, restorePosition): Write
14151         messages to minibuffer.
14152
14153 2001-01-28  José Matos  <jamatos@fep.up.pt>
14154
14155         * buffer.C (makeDocBookFile): adds support for document language.
14156         A silly restriction on the name of LatexCommand types where removed.
14157         Added support for CDATA sections, allows to chars unescaped, used
14158         among others in code, to avoid escape < and >.
14159
14160 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14161
14162         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14163         saved positions instrad of a stack. Furthermore, a position is
14164         stored using paragraph id/paragraph position.
14165
14166         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14167         Remove LFUN_REF_BACK.
14168
14169 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14170
14171         * converter.C (dvipdfm_options): New method.
14172
14173 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14174
14175         * vspace.C (isValidLength): Fix for empty input string.
14176
14177 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14178
14179         * LyXAction.C (init): change description of LFUN_FIGURE to
14180         "Insert Graphics"
14181
14182 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14183
14184         * LaTeX.C: add using directive
14185
14186 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14187
14188         * MenuBackend.C (expand): Fix the sorting of the formats.
14189
14190 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14191
14192         * lyx_main.C: tiny error message fix
14193
14194 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14195
14196         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14197         calling fl_initialize(). This fixes the problem with ',' as
14198         decimal separator in text files.
14199
14200 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14201
14202         * trans.C (process): Fix the keymap bug.
14203
14204 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14205
14206         * LaTeX.C (scanAuxFiles): New method. Provides support for
14207         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14208         (scanLogFile) Scan for "run BibTeX" messages.
14209
14210         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14211         OT1 font encoding. Also, load the aecompl package if the ae
14212         package is loaded.
14213
14214         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14215
14216 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14217
14218         * texrow.C (increasePos): turn two error messages into debug
14219         messages.
14220
14221 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14222
14223         * LaTeX.C (scanAux): Handle the \@input macro.
14224         (runBibTeX): Use scanAux().
14225
14226         * language.C (latex_options_): New field.
14227
14228         * LaTeXFeatures.C (getMacros): Add language macros.
14229
14230         * buffer.C (makeLaTeXFile): Small fix.
14231
14232 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14233
14234         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14235
14236         * text2.C: add a using directive.
14237
14238 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14239
14240         * BufferView2.C:
14241         * lyx_gui_misc.h:
14242         * lyxfr1.C:
14243         * lyxfunc.C: kill LyXBell.
14244
14245 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14246
14247         * text.C (IsBoundary): Remove the error message
14248
14249         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14250
14251         * lyxrc.C (setDefaults): Correct initialization value for
14252         font_norm_type.
14253
14254 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14255
14256         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14257         gotoError().
14258
14259         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14260         and GotoNextNote().
14261
14262         * src/LyXAction.C: Added reference-next.
14263
14264         * text.C (InsertChar): Use contains instead of strchr.
14265
14266         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14267
14268 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14269
14270         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14271         alignment commands (when needed).
14272
14273         * text.C (InsertChar): Add ':' to number separator chars.