]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
split functions into logical pieces
[lyx.git] / src / ChangeLog
1
2 2003-12-15  André Pönitz  <poenitz@gmx.net>
3
4         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor slices
5
6         * Makefile.am:
7
8         * BufferView_pimpl.C:
9         * cursor.[Ch]:
10         * lyxcursor.[Ch]:
11         * rowpainter.[Ch]:
12         * lyxtext.h:
13         * text.C:
14         * text2.C:
15         * text3.C: adjust
16
17 2003-12-15  Angus Leeming  <leeming@lyx.org>
18
19         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
20         than getFromGUIName to manipulate the color.
21
22 2003-12-14  Angus Leeming  <leeming@lyx.org>
23
24         * BranchList.[Ch]: minimize the API.
25         (Branch::getBranch, getColor): now return a 'const &'.
26         (Branch::setSelected) now returns a bool set to true if the
27         selection status changes.
28         (BranchList::clear, size, getColor, setColor, setSelected,
29         allBranches, allSelected, separator): removed.
30         (BranchList::find): new functions, returning the Branch with
31         the given name.
32         (BranchList::add, remove): return a bool indicating that
33         the operation was successful.
34
35         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
36         new InsetBranch::isBranchSlected member function.
37
38         * LColor.[Ch]: mimimize the API.
39         (fill): renamed as addColor and made private.
40         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
41         versions of these functions taking a string arg have been removed.
42
43         * bufferparams.C (readToken):
44         * lyxfunc.C (dispatch):
45         * lyxrc.C (read): changes due to the altered BranchList and
46         LColor APIs.
47
48         * factory.C (createInset, readInset): changes due to altered
49         InsetBranch c-tor.
50
51 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
52
53         * factory.C: 
54         * lyxfunc.C: remove insetminipage. "minipage-insert"
55         now produces a frameless minipage box inset.
56
57 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
58
59         * textcursor.[Ch] (selStart,selEnd): add new methods 
60         remove selection::start, end, use LyXCursor::operator<
61         * lyxcursor.[Ch] (operator<): add
62         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
63         * BufferView.[Ch] (unsetXSel): add
64         * text2.C (clearSelection): use unsetXSel,adjust
65         * text.C: adjust
66         * text3.C: adjust
67         * rowpainter.C: adjust
68         * bufferview_funcs.C (put_selection_at): adjust
69
70 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
71
72         * BufferView_pimpl.C: small coord. correction
73
74 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
75
76         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
77         dragging over the splash screen.
78
79 2003-12-11  Angus Leeming  <leeming@lyx.org>
80
81         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
82         as it is now handled in LyXText::dispatch.
83
84         * text3.C (doInsertInset): remove a level of nesting.
85
86 2003-12-11  Angus Leeming  <leeming@lyx.org>
87
88         * factory.C (createInset): changes due to the changed interface to
89         InsetCommandMailer::string2params.
90
91 2003-12-10  Angus Leeming  <leeming@lyx.org>
92
93         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
94         'dialog-show-new-inset <inset name>'
95
96 2003-12-10  Angus Leeming  <leeming@lyx.org>
97
98         * buffer.C: up the format to 227.
99
100         * factory.C: the box inset is now identified simply by 'Box'.
101
102 2003-12-10  Angus Leeming  <leeming@lyx.org>
103
104         * buffer.C: up the format to 226.
105
106         * factory.C: the note inset is now identified simply by 'Note'.
107
108 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
109
110         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
111         when a pit is enough. Standarize a couple of loops. 
112
113 2003-12-05  Angus Leeming  <leeming@lyx.org>
114
115         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
116         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
117         data to the re-worked "log" dialog.
118
119 2003-12-03  André Pönitz  <poenitz@gmx.net>
120
121         * PosIterator.C:
122         * iterators.C:
123         * lyxtext.h:
124         * output_latex.C:
125         * paragraph_funcs.C:
126         * text.C:
127         * text2.C: use Inset::getText instead of Inset::getParagraph
128
129 2003-12-03  André Pönitz  <poenitz@gmx.net>
130
131         * buffer.[Ch]:
132         * lyxtext.h:
133         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
134         InsetText::read() as LyXText::read()
135         
136 2003-12-02  Angus Leeming  <leeming@lyx.org>
137
138         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
139         type. Add a comment in the implementation that the function uses
140         the stream's bad() function rather than fail() as the std::streams
141         would do.
142
143 2003-12-02  André Pönitz  <poenitz@gmx.net>
144
145         * lyxlex.[Ch]: make interface more similar to std::stream
146
147         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
148
149 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
150
151         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
152
153 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
154
155         * vspace.[Ch]: remove VSpace::NONE
156
157 2003-12-01  André Pönitz  <poenitz@gmx.net>
158
159         * buffer.[Ch]:
160         * lyxtext.h: move ParagraphList member to LyXText
161         rename LyXText::ownerParagraphs to LyXText::paragraph
162
163         * CutAndPaste.C:
164         * bufferview_funcs.C:
165         * iterators.[Ch]:
166         * lyx_cb.C:
167         * paragraph.C:
168         * rowpainter.C:
169         * tabular.C:
170         * text.C:
171         * text2.C:
172         * text3.C: adjust
173
174         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
175
176         * undo.C: fix cursor positioning 
177
178 2003-12-01  John Levon  <levon@movementarian.org>
179
180         * BufferView_pimpl.C: fix a crash on exit with
181         a buffer open
182
183 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
184
185         * BranchList.C: fix setSelected() method.
186
187 2003-11-28  André Pönitz  <poenitz@gmx.net>
188
189         * ParagraphParameters.[Ch]:
190         * ParameterStruct.h: remove space above/below from Paragraph to
191          InsetVSpace
192
193         * BufferView_pimpl.C:
194         * factory.C:
195         * lyxfunc.C:
196         * lyxtext.h:
197         * output_latex.C:
198         * paragraph.C:
199         * paragraph_funcs.C:
200         * rowpainter.[Ch]:
201         * text.C:
202         * text2.C:
203         * text3.C: adjust
204
205 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
206
207         * factory.C: Syntax change for CharStyles
208
209 2003-11-28  André Pönitz  <poenitz@gmx.net>
210
211         * BufferView.[Ch]:
212         * BufferView.[Ch]:
213         * buffer.[Ch]:
214         * buffer.[Ch]: move LyXText member
215
216 2003-11-28  André Pönitz  <poenitz@gmx.net>
217
218         * BufferView.[Ch]: make LyXText * text a private member
219
220         * BufferView_pimpl.C:
221         * cursor.C:
222         * iterators.C:
223         * lyx_cb.C:
224         * lyxfind.C:
225         * lyxtext.h:
226         * rowpainter.[Ch]:
227         * text.C:
228         * text2.C:
229         * undo.C: adjust
230
231         * output_plaintext.C: cleanup
232
233 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
234
235         * buffer.C: 
236         * lyxtextclass.[Ch]: parametrize SGML document header
237
238 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
239
240         * converter.[Ch]:
241         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
242         getFlavor().
243
244 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
245
246         * text2.C (setFont): rework using PosIterator (no more recursive)
247         (setCharFont): no more needed 
248         (setLayout): no more selection cursors fiddling (done by redoCursor)
249         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
250         destroy remaining ones)
251
252 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
253
254         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
255         * lyxtext.h: ditto
256         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
257         selection cursors
258         * lyxfunc.C: adjust
259         * text3.C: adjust + re-allow multi par depth changes
260         * textcursor.C: simplify a bit
261
262 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
263
264         * src/buffer.C:
265         * src/lyxlayout.C:
266         * src/lyxlayout.h:
267         * src/lyxtext.h:
268         * src/output_docbook.C:
269         * src/output_latex.C:
270         * src/paragraph.C:
271         * src/paragraph.h:
272         * src/sgml.C:
273         * src/sgml.h:
274         * src/text2.C: Introducing a number of tags parametrizing various
275         XML formats that we may want to support
276
277 2003-11-25  André Pönitz  <poenitz@gmx.net>
278
279         * InsetList.[Ch] (begein, end): inline as suggested by profiler
280
281         * lyxtext.h (leftMargin/rightMargin): simplify interface
282
283         * rowpainter.C:
284         * text.C:
285         * text2.C:
286         * text3.C: adjust
287
288 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
289
290         * lyxfunc.C (dispatch): propogate the bibtex databases from the
291         master file to any child files. Fixes bug 546.
292
293 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
294
295         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
296
297 2003-11-24  André Pönitz  <poenitz@gmx.net>
298
299         * rowpainter.C: simplification
300
301         * text2.C (updateCounters): remove call to redoParagraph on 
302         changed labels as this is far too expensive.
303
304 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
305
306         * converter.C (convert): fix a crash: this function gets
307         called with buffer == 0 from importer code.
308
309 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
310
311         * text3.C (cursorPrevious): make sure that we do not compare
312         iterators form different containers.
313         (cursorNext): ditto
314
315         * rowpainter.C (paintSelection): make sure that we do not compare
316         iterators from different containers.
317
318         * text3.C (dispatch): [PRIOR] make sure that we do not compare
319         iterators from different ParagraphList containers.
320         [NEXT] ditto
321
322         * text2.C (LyXText): change order of initialization slightly
323         (operator=): new function. copy all variables except cache_par_
324         (moveUp): make sure that we do not compare iterators from
325         different ParagraphList constainers.
326         (moveDown): ditto
327
328         * text.C (firstPar): new function
329         (lastPar): new function
330         (endPar): new function
331
332         * lyxtext.h: move things around and group public functions, public
333         variables, private functions, private variables
334
335 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
336
337         * factory.C: change call to InsetERT constructor to avoid
338         additional invocation of method status
339         * text2.C (toggleInset): remove redundant update() call
340         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
341         instead of a Bufferview pointer
342
343 2003-11-21  André Pönitz  <poenitz@gmx.net>
344
345         * rowpainter.C: simplification
346
347 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
348
349         * text3.C (dispatch): make possible to extend a word/row selection
350         with the mouse
351
352 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
353
354         * lyxtext.h: x0_,y0_ -> xo_,yo_
355         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
356         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
357         * rowpainter.C (paintRows): paint full paragraphs
358
359 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
360
361         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
362         screen coordinates)
363
364 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
365
366         * lyxtext.h: add x0_, y0_
367         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
368         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
369
370 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
371
372         * text2.C (setCursorIntern): move the x_target update here *
373         * text3.C: change some bv() to true/false in calls to
374         cursorUp/Down/Right/Left
375         * cursor.C: use helper function.
376
377 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
378
379         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
380         * paragraph_funcs.[Ch]: correct comment
381         * rowpainter.C: do not paint selections away from bv->cursor()
382         Fix a long standing selection painting bug.
383         * text3.C: generalize mouse-selection code to LyXTexts other that
384         top one
385         * textcursor.C: do not use y coords if we can use par offsets
386
387 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
388
389         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
390         cursor position after e.g. inset insert)
391
392 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
393
394         * lyxfind.C (replace): adjust to locking removal + some
395         code simplification
396
397 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
398
399         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
400         of the path
401
402 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
403
404         * lyxlayout.[Ch]:
405         * output_docbook.C: XML sanitation: new layout
406         parameters InnerTag and CommandDepth
407
408 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
409
410         * BufferView_pimpl.C:
411         * factory.C:
412         * text3.C: Fix the insertion and modification of button-style
413         insets
414
415 2003-11-13  André Pönitz  <poenitz@gmx.net>
416
417         * InsetList.[Ch]: remove deleteLyXText
418
419         * paragraph.[Ch]: cache beginOfBody position
420
421         * Bidi.C:
422         * text.C:
423         * text2.C:
424         * text3.C: remove superfluous update() calls
425
426         * vspace.C: cleanup
427
428 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
429
430         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
431         * BufferView.C (fitLockedInsetCursor): remove
432         * cursor.[Ch] (getDim): add
433         * text.C (getRowNearY): add faster version
434         * text3.C: remove some update calls
435
436 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
437
438         * LaTeXFeatures.C:
439         * LyXAction.C:
440         * MenuBackend.C:
441         * MenuBackend.h:
442         * dispatchresult.h:
443         * factory.C:
444         * lfuns.h:
445         * lyxfunc.C:
446         * lyxtextclass.C:
447         * lyxtextclass.h:
448         * text3.C: The Character Style /XML short element patch.
449
450 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
451
452         * text3.C:
453         * factory.C: Small step to solving 'unable to insert some insets'
454         problem
455
456 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
457
458         * cursor.[Ch] (updatePos): new function for updating the y
459         position of the tip inset
460         * bufferview_funcs.C (put_selection_at):
461         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
462
463 2003-11-11  André Pönitz  <poenitz@gmx.net>
464
465         * text.C: remove big comment on invalid Paragraph pointers as it is
466         not valid anymore
467
468 2003-11-11  André Pönitz  <poenitz@gmx.net>
469
470         * text_funcs.[Ch]: merge with ...
471
472         * text.C: ... this
473
474         * lyxtext.h:
475         * text2.C:
476         * text3.C: adjust
477
478         * Makefile.am: remove text_funcs.[Ch]
479
480 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
481
482         * cursor.C (getPos): return absolute cached y coord
483
484         * BufferView_pimpl.C (fitCursor): new simplistic code
485         (workAreaDispatch): add a fitCursor call
486
487 2003-11-10  André Pönitz  <poenitz@gmx.net>
488
489         * BufferView.[Ch]:
490         * BufferView_pimpl.[Ch]: merge update() and updateInset()
491
492 2003-11-10  André Pönitz  <poenitz@gmx.net>
493
494         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
495         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
496         indicate that the cursor needs to leave an inset
497
498         * lyxtext.h: remove inset locking
499
500         * cursor.[Ch]: re-implement functionality provided by inset locking
501
502         * BufferView.[Ch]:
503         * BufferView_pimpl.[Ch]:
504         * LyXAction.C:
505         * bufferview_funcs.[Ch]:
506         * factory.C:
507         * funcrequest.[Ch]:
508         * iterators.C:
509         * lyx_cb.C:
510         * lyxfind.C:
511         * lyxfunc.C:
512         * text.C:
513         * text2.C:
514         * text3.C:
515         * undo.C: adjust
516
517 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
518
519         * PosIterator.[Ch]: replace the stack with a vector, add inset
520         accesor
521         * iterators.[C]: adjust
522
523 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
524
525         * lyxfind.C (replaceAll): mark the buffer dirty if something was
526         replaced
527         * paragraph_funcs.C (readParToken): put the correct id in the
528         error item, not the id of the top paragraph
529
530 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
531
532         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
533         * bufferview_funcs.C (put_selection_at): use the above
534
535 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
536
537         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
538
539 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
540
541         * output_linuxdoc.h:
542         * output_plaintext.h:
543         * output.h:
544         * output_docbook.h: add #include statements
545
546 2003-11-05  José Matos  <jamatos@lyx.org>
547
548         * output_docbook.[Ch]:
549         * output_latex.[Ch]:
550         * output_linuxdoc.[Ch]:
551         * output_plaintext.[Ch]: New files for output formats.
552         * output.[Ch]: New file for helper functions.
553
554         * buffer.[Ch]:
555         * paragraph_funcs.[Ch]: output functions moved to new files.
556
557         * outputparams.h: rename of latexrunparams.h
558
559         * LaTeX.[Ch]:
560         * buffer.[Ch]:
561         * bufferlist.[Ch]:
562         * converter.[Ch]:
563         * exporter.C:
564         * paragraph.[Ch]:
565         * paragraph_funcs.[Ch]:
566         * paragraph_pimpl.[Ch]:
567         * tabular.[Ch]: rename ascii to plaintext
568         and LatexRunParams to OutputParams.
569
570 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
571
572         * iterators.[Ch] (text): require bv argument
573         * undo.C (recordUndo):
574         * lyxfunc.C (dispatch):
575         * bufferview_funcs.C (put_selection_at): adjust
576
577 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
578
579         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
580
581 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
582
583         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
584         nestings
585
586 2003-11-04  André Pönitz  <poenitz@gmx.net>
587
588         * cursor.[Ch]: restructure
589
590         * BufferView.[Ch]:
591         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
592
593         * iterators.[Ch] (asCursor): remove
594
595         * lfuns.h: remove LFUN_INSET_EDIT
596
597         * lyxfunc.C:
598         * tabular.C:
599         * text.C:
600         * text2.C:
601         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
602
603 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
604
605         * lyxfind.[Ch]: complete overhaul
606         * BufferView_pimpl.C:
607         * lyxfunc.C: adjust
608         * paragraph.[Ch] (insert): add
609
610 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
611
612         * BufferView.[Ch]:
613         * lyxtext.h:
614         * text.C: remove dead spellcheck code
615
616 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
617
618         * dispatchresult.h: add a val setter
619
620         * cursor.C (dispatch): use a tempvar for data_[i]
621
622 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
623
624         * PosIterator.[Ch]: compile fix
625
626 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
627
628         * text.C (cursorPar): deactivate the cursor cache
629
630 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
631
632         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
633
634 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
635
636         * text3.C (dispatch): adjust for new DisptchResult semantics.
637
638         * lyxfunc.C (dispatch): handle update when return from
639         Cursor::dispatch, adjust for new DispatchResult semantics.
640
641         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
642         DispatchResult(true) mean to not update. Add class functions for
643         setting dispatched and update, as well as reading.
644
645         * cursor.C (dispatch): don't handle update here
646
647 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
648
649         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
650         * trans_mgr.C: adjust
651
652         * paragraph_funcs.C (readParToken): exception safety
653
654         * lyxvc.h: store the vcs pointer in a scoped_ptr
655         * lyxvc.C: adjust
656
657         * lyxsocket.C (serverCallback): exception safety
658
659         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
660
661         * ispell.C (clone): make it return a auto_ptr
662
663         * factory.C (createInset): exception safety
664         (readInset): exception safety
665
666         * bufferlist.C (newBuffer): exception safety
667
668         * Thesaurus.C (Thesaurus): use initialization for aik_
669
670         * MenuBackend.C (expandToc): exception safety.
671
672 2003-11-03  André Pönitz  <poenitz@gmx.net>
673
674         * buffer.C:
675         * buffer.h:
676         * bufferview_funcs.C: remove getInsetFromId()
677
678         * lyxcursor.[Ch]:
679         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
680
681         * lyxfunc.C:
682         * text2.C:
683         * text3.C: adjust
684
685 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
686
687         * PosIterator.C (distance, advance): new
688         * bufferview_funcs.[Ch] (put_selection_at): new
689         * iterators.[Ch] (lockPath): new
690
691 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
692
693         * iterators.[Ch] (asPosIterator): added
694         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
695         * PosIterator.[Ch]: added
696
697 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
698
699         * text3.C:
700         * lyxfunc.C:
701         * cursor.C (dispatch):
702         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
703
704         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
705         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
706         contructor, add a class function dispatched. Remove operator>=
707
708 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
709
710         * debug.C: only use the default constructor for debugstream
711         (lyxerr) here.
712
713         * main.C (main): include debug.h and setup the lyxerr streambuf
714         here.
715
716 2003-10-31  José Matos  <jamatos@lyx.org>
717
718         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
719
720         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
721         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
722         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
723         * paragraph_pimpl.C (simpleTeXSpecialC):
724         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
725         add LatexRunParams argument.
726
727         * exporter.C (Export): change call accordingly.
728
729         * latexrunparams.h: add new member to take care of the other backends.
730 2003-10-30  José Matos  <jamatos@lyx.org>
731
732         * buffer.C (makeLinuxDocFile, makeDocBookFile):
733         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
734         factorise code for paragraph output.
735         * buffer.[Ch]:
736         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
737         move functions.
738
739 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
740
741         * text3.C (dispatch):
742         * lyxfunc.C (dispatch):
743         * cursor.C (dispatch):
744         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
745
746         * dispatchresult.h: make the dispatch_result_t ctor explicit
747
748 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
749
750         * sgml.[Ch]:
751         * buffer.C: small refactoring of docbook stuff
752
753 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
754
755         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
756         meaning.
757
758 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
759
760         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
761         operator dispatch_result_t, and operators for == != and >=
762
763         * cursor.C (dispatch): adjust for operator dispatch_result_t
764         removal. comment out call to update
765
766         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
767
768 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
769
770         * text3.C:
771         * text2.C:
772         * text.C:
773         * lyxtext.h:
774         * lyxfunc.C:
775         * cursor.C:
776         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
777         (dispatch):
778
779         * dispatchresult.h: new file, DispatchResult broken out of
780         insets/insetbase.h
781
782         * Makefile.am (lyx_SOURCES): add dispatchresult.h
783
784 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
785
786         * text.C (rowBreakPoint): put a hack inside #if 0
787
788 2003-10-28  André Pönitz  <poenitz@gmx.net>
789
790         * lyxtext.h:
791         * metricsinfo.C:
792         * paragraph_funcs.C:
793         * rowpainter.C:
794         * text.C:
795         * text2.C: general cleanup (lots of small stuff)
796
797 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
798
799         * text2.C (cursorEnd): simple fix to the "end key goes to one
800         before the end on last row" bug
801
802 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
803
804         * text.C (backspace): fix the "zombie characters"
805
806 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
807
808         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
809
810 2003-10-27  André Pönitz  <poenitz@gmx.net>
811
812         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
813
814         * factory.C: handle new InsetPagebreak, InsetLine
815
816         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
817         and move handling into new InsetPagebreak, InsetLine
818
819         * BufferView_pimpl.C:
820         * LyXAction.C:
821         * ParagraphParameters.C:
822         * ParameterStruct.h:
823         * lyxfunc.C:
824         * lyxtext.h:
825         * paragraph.C:
826         * paragraph.h:
827         * paragraph_funcs.C:
828         * paragraph_pimpl.C:
829         * rowpainter.C:
830         * text.C:
831         * text2.C:
832         * text3.C: adjust
833
834 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
835
836         * text.C:
837         * lyxrow_funcs.[Ch]:
838         * Bidi.C:
839         * paragraph.C:
840         * lyxtext.h:
841         * rowpainter.C:
842         * text2.C:
843         * text3.C: remove lastPos uses in favour of Row::endpos
844
845 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
846
847         * undo.C (performUndoOrRedo): fix two crashes by setting a
848         cursor by hand and reordering some calls. Use bv->lockInset instead
849         of inset->edit because the latter loses cursor information
850
851 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
852
853         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
854         by Martin
855         (rowBreakPoint): fix width. change point to point + 1.
856         Add a missing check.
857
858 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
859
860         * MenuBackend.C:
861         * lyxfunc.C: fix (at least partly) the problems
862         with the Nav menu and headers inside branch insets
863         reported by Kayvan
864
865 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
866
867         * paragraph.C (getChar): add strong asserts
868
869         * lyxrow_funcs.C (lastPos): remove hideous hack
870
871         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
872         (fill): adjust to that (avoid an infinite loop)
873
874 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
875
876         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
877
878 2003-10-23  André Pönitz  <poenitz@gmx.net>
879
880         * RowList_fwd.h: change list<> to vector<> to gain speed
881         after suggestion from Alfredo
882
883 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
884
885         * lyxtext.h: move the bidi stuff from here...
886         * text.C: and here
887         * text2.C: and here
888         * Bidi.[Ch]: ... to here
889
890 2003-10-23  André Pönitz  <poenitz@gmx.net>
891
892         * lyxtext.h:
893         * text.C (isLastRow, isFirstRow): new functions
894
895         * paragraph.h: new width cache member
896
897         * rowpainter.C: replace RowList::iterator with Row & where possible
898
899         * lyxfunc.C: replace several view()->text with a single call
900
901         * toc.C: fix 'unused' warning
902
903 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
904
905         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
906         when woring with stream::pos_type
907         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
908
909 2003-10-22  André Pönitz  <poenitz@gmx.net>
910
911         * lyxtext.h:
912         * text.C: use Row & instead of RowList::iterator
913
914         * lyxrow.h: rename end() to endpos()
915
916         * rowpainter.C:
917         * text.C:
918         * text2.C: adjust
919
920 2003-10-22  Angus Leeming  <leeming@lyx.org>
921
922         * buffer.[Ch] (fully_loaded): new member function, returning true
923         only when the file has been loaded fully.
924         Used to prevent the premature generation of previews and by the
925         citation inset to prevent computation of the natbib-style label.
926
927         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
928         templates are all set up.
929
930         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
931
932 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
933
934         * text.C: fixed an "oops" in the "is a bit silly"
935         bug fix
936
937 2003-10-21  André Pönitz  <poenitz@gmx.net>
938
939         * FuncStatus.[Ch]: small stuff, whitespace
940
941         * lyxfont.[Ch]: operator<<() for debug reasons
942
943         * lyxfunc.C:
944         * lyxrow_funcs.C:
945         * lyxtext.h: whitespace, spelling
946
947         * paragraph.C: naming of variables
948
949         * text.C:
950         * text2.C: small stuff
951
952
953 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
954
955         * text.C: (1) finish off the inset display() work;
956         (2) fix the "is a bit silly" bug (accessing char
957         past end of par).
958
959 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
960
961         * text.C: re-introduce display() for insets, fixing the
962         various bugs (stretch of line above, math inset
963         positioning, ...)
964
965 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
966
967         * text.C (rightMargin): remove spurious semicolon
968
969         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
970         1415)
971
972 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
973
974         * text3.C: fix one crash due to wrong cursor def
975
976 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
977
978         * vc-backend.C (scanMaster): make the regex static
979
980         * LaTeX.C (scanAuxFile): make the regexs static
981
982         * text3.C (doInsertInset, dispatch, dispatch):
983         * text2.C (cursorUp, cursorDown):
984         * text.C (selectNextWordToSpellcheck):
985         * BufferView_pimpl.C (dispatch):
986         * lyxfunc.C (dispatch):  localDispatch -> dispatch
987
988 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
989
990         * lyxsocket.C: include <cerrno>
991
992 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
993
994         * lyxfunc.C (dispatch): remove textcache stuff
995
996         * bufferlist.C (release): remove textcache stuff
997         (closeAll): ditto
998
999         * TextCache.C: delete file
1000         * TextCache.h: delete file
1001
1002         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1003
1004         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1005         delete of the bv_->text.
1006         (resizeCurrentBuffer): remove texcache stuff
1007         (workAreaResize): ditto
1008
1009 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1010
1011         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1012         action.
1013
1014 2003-10-16  André Pönitz  <poenitz@gmx.net>
1015
1016         * lyxrow.[Ch]:
1017         * paragraph.h:
1018         * rowpainter.C:
1019         * text.C:
1020         * text2.C:
1021         * text3.C: speed up by storing y positions per paragraph plus per-row
1022         offset instead of having a 'full' y position in the row.
1023
1024 2003-10-15  André Pönitz  <poenitz@gmx.net>
1025
1026         * iterators.[Ch]:
1027         * iterators.[Ch]:
1028         * undo.[Ch]: make undo aware of inner insets
1029
1030 2003-10-14  Angus Leeming  <leeming@lyx.org>
1031
1032         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1033         static member functions LyX::ref() and LyX::cref.
1034         (lastfiles): new accessor functions for the new lastfiles_ member var.
1035         (addLyXView, views_): add a new LyXView to the list of views_.
1036         (updateInset): loop over all LyXViews to call their own updateInset
1037         member function, returning a pointer to the Buffer owning the inset.
1038
1039         * BufferView_pimpl.C (loadLyXFile):
1040         * MenuBackend.C (expandLastfiles):
1041         * bufferlist.C (MenuWrite, QuitLyX):
1042         lastfiles is no longer a global variable.
1043         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1044
1045         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1046         static function. Access through LyX::cref().emergencyCleanup().
1047
1048 2003-10-14  André Pönitz  <poenitz@gmx.net>
1049
1050         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1051
1052         * undo.[Ch]: restoring part of 'undo in insets'
1053
1054         * Makefile.am:
1055         * undo_funcs.[Ch]: merge with undo.[Ch]
1056
1057         * tabular.C: small cleansing stuff
1058
1059 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1060
1061         * paragraph_funcs.C (readParToken): report unknown insets as error
1062         boxes. Use the outer paragraph as location (also for unknown
1063         tokens).
1064
1065         * factory.C (readInset): do not abort on reading an unknown inset.
1066         Eat it and return 0.
1067
1068 2003-10-13  Angus Leeming  <leeming@lyx.org>
1069
1070         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1071
1072         * lyxrc.C: displayTranslator is now a function,
1073         declared in GraphicsTypes.h.
1074
1075 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1076
1077         * format.C: new placeholder $$a to pass the socket address.
1078
1079         * bufferlist.[Ch]: new function getBufferFromTmp.
1080
1081         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1082           files in the temporary dir.
1083
1084 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1085
1086         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1087
1088         * Makefile.am: add lyxsocket.[Ch].
1089
1090         * lyx_main.C (error_handler): handle SIGPIPE.
1091
1092 2003-10-13  André Pönitz  <poenitz@gmx.net>
1093
1094         * BufferView_pimpl.C:
1095         * lyxtext.h:
1096         * text.C:
1097         * text2.C:
1098         * text3.C:
1099         * undo_funcs.[Ch]: use paroffset_type instead of
1100           ParagraphList::iterators to prevent multiple conversion
1101           (and get a more robust interface)
1102
1103 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1104
1105         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1106         * lyxtext.h: ditto
1107         * text3.C (dispatch): ditto
1108
1109 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1110
1111         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1112         move the onlyfile, use onlyfile instead of foundfile in a couple
1113         of places.
1114
1115         * DepTable.C (update): flush the error stream a bit more
1116
1117 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1118
1119         * lyxserver.C (callback): adjust
1120
1121         * lyxfunc.C (getStatus): add a missing brace in commented code
1122         (ensureBufferClean): reindent
1123         (dispatch): delete version taking a string
1124
1125 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1126
1127         * LaTeX.C (deplog): move found file handlig from here...
1128         (handleFoundFile): .. to new function here.
1129         (deplog): make sure to discover several files mentioned on the
1130         same log line.
1131
1132 2003-10-10  André Pönitz  <poenitz@gmx.net>
1133
1134         * lyxfunc.C:
1135         * lyxtext.h:
1136         * tabular.C:
1137         * text.C:
1138         * text2.C:
1139         * text3.C: fix some of the tabular crashes
1140
1141 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1142
1143         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1144
1145         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1146
1147 2003-10-09  André Pönitz  <poenitz@gmx.net>
1148
1149         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1150
1151         * BufferView.C:
1152         * BufferView_pimpl.C:
1153         * bufferview_funcs.C:
1154         * lyx_cb.C:
1155         * lyxcursor.C:
1156         * lyxfind.C:
1157         * lyxfunc.C:
1158         * lyxtext.h:
1159         * text.C:
1160         * text2.C:
1161         * text3.C:
1162         * text_funcs.[Ch]:
1163         * textcursor.[Ch]:
1164         * undo_funcs.C: adjust
1165
1166 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1167
1168         * text2.C (incrementItemDepth): new function, use a backtracking
1169         algorithm to discover the correct item depth.
1170         (resetEnumCounterIfNeeded): new function, use a backtracking
1171         algorithm to discover if counter reset is needed.
1172         (setCounter): use them. Simplify a bit. Add different labels for
1173         different item depths for itemize.
1174
1175         * paragraph.C (Paragraph): remove initialization of enumdepth
1176         (operator=): ditto
1177
1178         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1179         enumerate and itemize. Change the type of itemdepth to signed char.
1180
1181 2003-10-08  André Pönitz  <poenitz@gmx.net>
1182
1183         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1184           thing assignable.
1185         * text.C:
1186         * text2.C: adjust
1187
1188         * tabular.[Ch]: fix crash after 'row-insert'
1189
1190 2003-10-08  Angus Leeming  <leeming@lyx.org>
1191
1192         Fix doxygen warnings.
1193
1194         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1195         Remove CutAndPaste:: prefix from header file declaration.
1196
1197         * LColor.h (fill): remove LColor:: prefix from declaration.
1198
1199         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1200         use lyx::depth_type rather than Paragraph::depth_type so that
1201         header file and .C file match.
1202
1203         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1204
1205         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1206         * aspell.C: \file aspell_local.C -> \file aspell.C
1207         * gettext.C: \file gettext.C -> \file src/gettext.C
1208         * gettext.h: \file gettext.h -> \file src/gettext.h
1209         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1210         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1211         * text.C: \file text.C -> \file src/text.C
1212
1213         * toc.C: move comment so that doxygen is not confused.
1214
1215 2003-10-07  Angus Leeming  <leeming@lyx.org>
1216
1217         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1218
1219 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1220
1221         * aspell.C:
1222         * aspell_local.h: add forgotten std::string's.
1223
1224 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1225
1226         * LaTeXFeatures.C:
1227         * LyXAction.C:
1228         * factory.C:
1229         * lfuns.h:
1230         * lyxfunc.C:
1231         * text3.C: The Box patch. Fancybox support, minipage, parbox
1232
1233 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1234
1235         * CutAndPaste.h:
1236         * DepTable.h:
1237         * FloatList.h:
1238         * LaTeXFeatures.h:
1239         * ParagraphParameters.h:
1240         * TextCache.h:
1241         * Thesaurus.h:
1242         * bufferlist.h:
1243         * exporter.h:
1244         * importer.h:
1245         * lastfiles.h:
1246         * lyxfind.h:
1247         * lyxfont.h:
1248         * lyxlex.h:
1249         * lyxtextclasslist.h:
1250         * messages.h:
1251         * paragraph.h:
1252         * paragraph_pimpl.C:
1253         * textcursor.h: add <string> and other small fixes to make Lars'
1254         std::string patch compile with STLport.
1255
1256 2003-10-06  Angus Leeming  <leeming@lyx.org>
1257
1258         * LColor.h: Add missing #include <string>.
1259
1260 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1261
1262         * All most all file in all subdirs: Make <string> be the prefered
1263         way of getting to std::string, add using declarations.
1264
1265 2003-10-06  André Pönitz  <poenitz@gmx.net>
1266
1267         * metricsinfo.C: initialize LyXFont before changing attribute.
1268         (fixes the 'math in \emph is upright' bug)
1269
1270 2003-10-06  André Pönitz  <poenitz@gmx.net>
1271
1272         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1273
1274 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1275
1276         * graph.C:
1277         * paragraph_pimpl.C: Small fixes to build using STLport
1278
1279 2003-10-02  André Pönitz  <poenitz@gmx.net>
1280
1281         * lyxfunc.C:
1282         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1283
1284 2003-10-01  André Pönitz  <poenitz@gmx.net>
1285
1286         * factory.C: assert early
1287
1288 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1289
1290         * lyx_main.C: remove the global debug object
1291
1292         * debug.h: adjust for new debugstream
1293
1294         * debug.C: adjust for new debugstream and keep the global debug
1295         object here.
1296
1297 2003-09-22  Angus Leeming  <leeming@lyx.org>
1298
1299         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1300         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1301         an incomplete class LyXFont.
1302
1303 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1304
1305         * factory.C: bug fix in branches
1306
1307 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1308
1309         * lyxfunc.C (processKeySym): adjust
1310         (dispatch): adjust
1311         (dispatch): change arg name from ev to func, adjust
1312         (sendDispatchMessage): ditto
1313
1314         * lyx_main.C (defaultKeyBindings): adjust keybindings
1315         (deadKeyBindings): ditto
1316
1317         * kbsequence.C (addkey): return a FuncRequest
1318
1319         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1320
1321         * kbmap.C (bind): take a FuncRequest as arg, adjust
1322         (read): adjust
1323         (lookup): adjust
1324         (defkey): change to take a FuncRequest as arg, adjust
1325         (findbinding): take a FuncRequest as arg, adjust.
1326
1327         * funcrequest.h (operator=): added
1328
1329         * funcrequest.C (FuncRequest): default kb_action changed from
1330         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1331
1332         * buffer.C (dispatch): simplify
1333         (dispatch): adjust to take a FuncRequest as arg, adjust
1334
1335         * boost.C (assertion_failed): change assertion message slightly
1336
1337         * ToolbarBackend.C (read): simplify
1338
1339         * MenuBackend.C (binding): adjust call to findbinding, add a
1340         message if no binding is found.
1341         (read): simplify
1342         (expandToc): correct by adding a empty FuncRequest
1343
1344         * LyXAction.C: include <boost/assert.hpp>
1345         (isPseudoAction): delete function
1346         (LookupFunc): change name to...
1347         (lookupFunc): this. change return type to FuncRequest.
1348         (getActionName): take kb_action as arg, simplify
1349         (funcHasFlag): add an assert, simplify.
1350
1351 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1352
1353         * toc.C (action): return a FuncRequest, simplify
1354
1355         * lyxfunc.C (processKeySym): adjust
1356         (getStatus): delete version that takes an int.
1357         (getStatus): adjust
1358         (dispatch): delete version that takes action as int
1359         (dispatch): adjust
1360         (sendDispatchMessage): simplify and adjust
1361
1362         * funcrequest.C (getArg): take unsigned int as arg
1363
1364         * ToolbarBackend.C (read): adjust
1365         (add): delete version that takes func as a string.
1366         (getIton): take a FuncRequest as arg
1367
1368         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1369         action.
1370
1371         * MenuBackend.C (MenuItem): add a new construct that only takes a
1372         Kind, simplify the constructor use for submenus.
1373         (add): adjust
1374         (expandLastfiles): adjust
1375         (expandDocuments): adjust
1376         (expandFormats): adjust
1377         (expandFloatListInsert): adjust
1378         (expandFloatInsert): adjust
1379         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1380
1381         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1382         Remove class variables lyx_pseudo_map and lyx_arg_map
1383
1384         * LyXAction.C (searchActionArg): delete function
1385         (getPseudoAction): delete function
1386         (retrieveActionArg): delete function
1387         (LookupFunc): make it return kb_action, simplify.
1388         (getActionName): simplify
1389
1390         * factory.C (createInset): fix new bug
1391
1392 2003-09-19  Angus Leeming  <leeming@lyx.org>
1393
1394         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1395         masterFilename_ parameter in the include inset.
1396
1397         * factory.C (createInset): changes due to the changes to InsetInclude.
1398
1399 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1400
1401         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1402
1403 2003-09-18  Angus Leeming  <leeming@lyx.org>
1404
1405         * buffer.C:
1406         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1407         Inset::fillWithBibKeys.
1408         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1409
1410 2003-09-18  Angus Leeming  <leeming@lyx.org>
1411
1412         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1413         variables.
1414         (ctor): pass and store a 'Buffer const &'
1415         (buffer): new member function.
1416
1417         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1418         '*this' to the LaTeXFeatures ctor.
1419
1420 2003-09-18  Angus Leeming  <leeming@lyx.org>
1421
1422         * LColor.h:
1423         * lyxfont.C:
1424         * lyxfont.h:
1425         * lyxtext.h:
1426         * text.C: rename EnumLColor as LColor_color.
1427
1428 2003-09-18  Angus Leeming  <leeming@lyx.org>
1429
1430         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1431         remove #include "insets/insetbase.h" from cursor.h.
1432
1433 2003-09-18  Angus Leeming  <leeming@lyx.org>
1434
1435         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1436         InsetOld_code to remove #include "inset.h".
1437
1438         * iterators.C: add #include "insets/inset.h"
1439
1440 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1441
1442         * BufferView.C: remove more locking stuff that apparently doesn't
1443         do anything sensible.
1444
1445 2003-09-16  André Pönitz  <poenitz@gmx.net>
1446
1447         * paragraph.[Ch]:
1448         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1449           performance boost.
1450
1451 2003-09-16  Angus Leeming  <leeming@lyx.org>
1452
1453         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1454
1455         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1456         arg/return type.
1457
1458         * paragraph.h: remove #include "lyxfont.h". Forward declare
1459         LyXFont_size.
1460
1461 2003-09-16  Angus Leeming  <leeming@lyx.org>
1462
1463         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1464         of support/textutils.h.
1465         (isWord): move the contents of support/textutils.h's IsWordChar here.
1466
1467         * buffer.C:
1468         * lyxfind.C:
1469         * rowpainter.C:
1470         * text.C:
1471         * text2.C: add #include "paragraph.h".
1472
1473         * rowpainter.C:
1474         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1475
1476 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1477
1478         * main.C:
1479         * lyx_main.C:
1480         * lyx_cb.C:
1481         * buffer.C:
1482         * LaTeX.C: use namespace alias for lyx::support::os
1483
1484 2003-09-16  Angus Leeming  <leeming@lyx.org>
1485
1486         * bufferparams.C:
1487         * bufferview_funcs.C:
1488         * factory.C:
1489         * lyxfunc.C:
1490         * paragraph_pimpl.C:
1491         * rowpainter.C:
1492         * text.C: add #include "LColor.h".
1493
1494 2003-09-16  Angus Leeming  <leeming@lyx.org>
1495
1496         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1497         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1498         return LyXFont &.
1499         Store the FontBits::color variable as an int rather than as an
1500         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1501         file.
1502
1503         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1504         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1505         string calls together.
1506
1507         * lyxrc.C: add #include "LColor.h".
1508
1509 2003-09-15  Angus Leeming  <leeming@lyx.org>
1510
1511         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1512         a cow_ptr.
1513
1514 2003-09-15  Angus Leeming  <leeming@lyx.org>
1515
1516         * LColor.h: add an EnumLColor wrapper for LColor::color.
1517
1518         * lyxfont.[Ch] (color, setColor, realColor):
1519         * lyxtext.h, text.C (backgroundColor):
1520         pass EnumLColor args to/from the functions, rather than LColor::color
1521         ones.
1522
1523         * lyxfont.h:
1524         * lyxtext.h: forward declare EnumLColor.
1525
1526         * lyx_main.C: add #include "LColor.h".
1527
1528 2003-09-15  Angus Leeming  <leeming@lyx.org>
1529
1530         * .cvsignore: add lyx-gtk.
1531
1532 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1533
1534         * Chktex.C
1535         * LaTeX.C
1536         * LaTeXFeatures.C
1537         * ParagraphParameters.C
1538         * Spacing.C
1539         * buffer.C
1540         * bufferparams.C
1541         * bufferview_funcs.C
1542         * chset.C
1543         * counters.C
1544         * funcrequest.C
1545         * lyxfont.C
1546         * lyxgluelength.C
1547         * lyxlength.C
1548         * paragraph.C
1549         * paragraph_funcs.C
1550         * text3.C
1551         * vc-backend.C: remove usage of STRCONV
1552
1553 2003-09-15  Angus Leeming  <leeming@lyx.org>
1554
1555         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1556         explicitly define the color passed to the painter.
1557
1558 2003-09-15  Angus Leeming  <leeming@lyx.org>
1559
1560         * bufferparams.C (BufferParams): reorder member initializers to avoid
1561         compiler warning.
1562
1563 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1564
1565         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1566         * text.C (updateRowPositions): remove an unusual nop
1567
1568 2003-09-12  André Pönitz  <poenitz@gmx.net>
1569
1570         * BufferView_pimpl.C:
1571         * Bullet.C:
1572         * layout.h:
1573         * lyxfunc.C:
1574         * lyxlayout.[Ch]:
1575         * lyxtextclass.C:
1576         * rowpainter.C:
1577         * text.C:
1578         * text2.C:
1579         * Counters.[Ch]: finish the 'automatic counters' job
1580
1581 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1582
1583         * aspell.C: include <boost/assert.cpp> (compile fix)
1584
1585 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1586
1587         * boost.C (assertion_failed): use lyx::support::abort instead of
1588         assert.
1589
1590 2003-09-10  Angus Leeming  <leeming@lyx.org>
1591
1592         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1593         with their _fwd progeny.
1594
1595 2003-09-09  Angus Leeming  <leeming@lyx.org>
1596
1597         134 files throughtout the source tree: replace 'using namespace abc;'
1598         directives with the appropriate 'using abc::xyz;' declarations.
1599
1600 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1601
1602         * boost.C (emergencyCleanup): moved here from LAssert.c
1603         (assertion_failed): new function, called by BOOST_ASSERT
1604
1605         * several files: change Assert to BOOST_ASSERT
1606
1607 2003-09-09  Angus Leeming  <leeming@lyx.org>
1608
1609         * buffer.[Ch]: Add an Impl class and move Buffer's member
1610         variables into it. As a result move several header files out of
1611         buffer.h.
1612
1613         Add header files to lots of .C files all over the tree as a result.
1614
1615 2003-09-09  Angus Leeming  <leeming@lyx.org>
1616
1617         * buffer.[Ch]: make Buffer's member variables private. Add
1618         accessor functions.
1619
1620         Lots of changes all over the tree as a result.
1621
1622 2003-09-08  Angus Leeming  <leeming@lyx.org>
1623
1624         * graph.C: #include <config.h>.
1625
1626 2003-09-08  Angus Leeming  <leeming@lyx.org>
1627
1628         * BranchList.C:
1629         * BufferView.C:
1630         * BufferView_pimpl.C:
1631         * CutAndPaste.C:
1632         * DepTable.C:
1633         * LaTeX.C:
1634         * LaTeXFeatures.C:
1635         * LyXAction.C:
1636         * MenuBackend.C:
1637         * TextCache.C:
1638         * aspell.C:
1639         * buffer.C:
1640         * bufferlist.C:
1641         * changes.C:
1642         * chset.C:
1643         * converter.C:
1644         * counters.C:
1645         * debug.C:
1646         * graph.C:
1647         * ispell.C:
1648         * lyx_cb.C:
1649         * lyxfind.C:
1650         * lyxfunc.C:
1651         * lyxlex_pimpl.C:
1652         * lyxrc.C:
1653         * lyxrow.C:
1654         * paragraph.C:
1655         * rowpainter.C:
1656         * texrow.C:
1657         * text.C:
1658         * text2.C:
1659         * toc.C: remove redundant using directives.
1660
1661 2003-09-07  Angus Leeming  <leeming@lyx.org>
1662
1663         * LaTeXFeatures.h: remove #include "support/types.h".
1664         * ToolbarBackend.h: remove #include <algorithm>.
1665         * changes.h: remove #include <ctime>.
1666         * debug.h: remove #include <iosfwd>.
1667         * graph.h: remove #include "support/std_string.h".
1668         * lyx_main.h: remove #include <csignal>.
1669         * lyxlex_pimpl.h: remove #include <fstream>.
1670         * sgml.h: remove #include <algorithm>, <utility>.
1671         * toc.h: remove #include "support/std_ostream.h".
1672         Add #include <iosfwd>.
1673
1674 2003-09-07  Angus Leeming  <leeming@lyx.org>
1675
1676         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1677
1678         * converter.h: forward declare LatexRunParams.
1679         * encoding.h: remove #include "lyxrc.h".
1680         * lyxtext.h: remove #include "LColor.h".
1681         * lyxtextclass.h: remove #include "support/types.h".
1682         * trans.h: remove #include "tex-accent.h".
1683         * trans_mgr.h: remove #include "tex-accent.h".
1684         * insets/inset.h: remove #include "support/types.h", <vector>.
1685         * insets/insetcollapsable.h: remove #include "LColor.h".
1686         * insets/insetinclude.h: remove #include "dimension.h".
1687         * insets/insetlatexaccent.h: remove #include "dimension.h".
1688         * insets/insetoptarg.h:: remove #include "insettext.h".
1689         * insets/insettext.h: remove #include "dimension.h",
1690         <boost/shared_ptr.hpp>
1691
1692         * insets/renderers.h: add #include "dimension.h".
1693         * insets/updatableinset.h: add #include "support/types.h".
1694
1695         * many .C files: Associated changes.
1696
1697 2003-09-06  Angus Leeming  <leeming@lyx.org>
1698
1699         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1700         one, inside testInvariant.
1701
1702         * PrinterParams.C: new file.
1703         * PrinterParams.[Ch]: move the function bodies out of line.
1704
1705 2003-09-06  Angus Leeming  <leeming@lyx.org>
1706
1707         * ParagraphParameters.h: forward declare ParameterStruct rather than
1708         including its header file.
1709         (depth): moved out-of-line.
1710
1711 2003-09-06  Angus Leeming  <leeming@lyx.org>
1712
1713         * BufferView_pimpl.h:
1714         * kbmap.h:
1715         * kbsequence.h:
1716         * lyxfunc.h: forward declare LyXKeySym rather than
1717         #include "frontends/LyXKeySym.h".
1718
1719         * BufferView_pimpl.C:
1720         * kbmap.C:
1721         * kbsequence.C:
1722         * lyxfunc.C: associated changes.
1723
1724 2003-09-06  Angus Leeming  <leeming@lyx.org>
1725
1726         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1727         As a result, can remove the #include "insets/inset.h" from BufferView.h
1728
1729 2003-09-06  Angus Leeming  <leeming@lyx.org>
1730
1731         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1732         As a result, can remove the #include "insets/inset.h" from BufferView.h
1733
1734 2003-09-06  Angus Leeming  <leeming@lyx.org>
1735
1736         * buffer_funcs.C:
1737         * buffer.h:
1738         * bufferlist.C:
1739         * BufferView.C:
1740         * bufferview_funcs.C:
1741         * BufferView_pimpl.C:
1742         * CutAndPaste.C:
1743         * lyx_cb.C:
1744         * lyxfunc.C:
1745         * paragraph.h:
1746         * ParagraphParameters.C:
1747         * tabular.C:
1748         * text3.C:
1749         * toc.C:
1750         * undo_funcs.C:
1751         * frontends/controllers/ControlDocument.C:
1752         * insets/insetcaption.C: rearrange the #includes into some sort of
1753         coherent order.
1754
1755         * buffer.h: remove #includes ErrorList.h, undo.h
1756
1757 2003-09-06  Angus Leeming  <leeming@lyx.org>
1758
1759         * support/types.h: add a 'depth_type' typedef, used to store the
1760         nesting depth of a paragraph.
1761
1762         * paragraph.h:
1763         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1764         defining explicitly.
1765
1766         * buffer.h:
1767         * paragraph_funcs.h:
1768         * ParagraphParameters.h:
1769         * sgml.h: use lyx::depth_type rather than Paragraph or
1770         ParameterStruct's depth_type.
1771
1772         * buffer.h
1773         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1774
1775         * BufferView.C:
1776         * BufferView_pimpl.C:
1777         * CutAndPaste.C:
1778         * ParagraphParameters.C:
1779         * buffer_funcs.C:
1780         * bufferlist.C:
1781         * bufferview_funcs.C:
1782         * lyx_cb.C:
1783         * lyxfunc.C:
1784         * tabular.C:
1785         * text3.C:
1786         * toc.C:
1787         * undo_funcs.C:
1788         * frontends/LyXView.C:
1789         * frontends/controllers/ControlDocument.C:
1790         * frontends/controllers/ControlErrorList.C:
1791         * insets/insetbibitem.C:
1792         * insets/insetbranch.C:
1793         * insets/insetcaption.C:
1794         * insets/insetcollapsable.C:
1795         * insets/insetenv.C:
1796         * insets/insetert.C:
1797         * insets/insetfloat.C:
1798         * insets/insetfoot.C:
1799         * insets/insetfootlike.C:
1800         * insets/insetnewline.C:
1801         * insets/insetquotes.C:
1802         * insets/insettabular.C:
1803         * insets/insettext.C:
1804         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1805
1806         * frontends/controllers/ControlChanges.C: #include "changes.h".
1807
1808 2003-09-06  Angus Leeming  <leeming@lyx.org>
1809
1810         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1811         than #including paragraph.h.
1812
1813         * ParagraphList.h:
1814         * RowList.h: deleted. Superfluous.
1815
1816         * CutAndPaste.h:
1817         * iterators.h:
1818         * lyxcursor.h:
1819         * lyxtext.h:
1820         * text_funcs.h:
1821         * undo.h:
1822         * undo_funcs.h:
1823         * insets/inset.h:
1824         * insets/insettext.h: use ParagraphList_fwd.h rather than
1825         ParagraphList.h.
1826
1827         * paragraph.h: don't forward declare ParagraphList.
1828
1829         * buffer.h:
1830         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1831         rather than ParagraphList.h. paragraph.h is still needed for the
1832         Paragraph::depth_type parameters.
1833
1834         * textcursor.h: enable it to compile stand-alone in light of the
1835         above changes.
1836
1837         * bufferview_funcs.C:
1838         * iterators.C:
1839         * lyxfunc.C:
1840         * lyxrow_funcs.C:
1841         * paragraph.C:
1842         * rowpainter.C:
1843         * text.C:
1844         * text2.C:
1845         * text3.C:
1846         * text_funcs.C:
1847         * textcursor.C:
1848         * undo.C:
1849         * frontends/controllers/ControlParagraph.C:
1850         * frontends/controllers/ControlTabular.C:
1851         * insets/insetmarginal.C:
1852         * insets/insetminipage.C:
1853         * insets/insetnote.C:
1854         * insets/insetoptarg.C: add header files needed to compile again.
1855
1856 2003-09-06  Angus Leeming  <leeming@lyx.org>
1857
1858         * RowList_fwd.h: new file, forward-declaring Row rather than
1859         #including lyxrow.h.
1860
1861         * lyxrow_funcs.h:
1862         * lyxtext.h:
1863         * paragraph.h:
1864         * insets/insettext.h: use it instead of RowList.h
1865
1866         * bufferview_funcs.C:
1867         * lyxfunc.C:
1868         * lyxrow_funcs.C:
1869         * paragraph.C:
1870         * rowpainter.C:
1871         * text.C:
1872         * text2.C:
1873         * text3.C: #include "RowList.h".
1874
1875 2003-09-05  Angus Leeming  <leeming@lyx.org>
1876
1877         * factory.C (createInset):
1878         * vspace.C (c-tor): replace sscanf call with an istringstream.
1879         * ispell.C: re-add missing HP/UX headers.
1880         * lyxserver.C: re-add missing  os2 headers.
1881
1882 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1883
1884         * BranchList.C:
1885         * graph.C:
1886         * ispell.C:
1887         * lastfiles.C:
1888         * lyx_cb.C:
1889         * lyxserver.C:
1890         * texrow.C:
1891         * text3.C: re-add missing system headers, needed for 2.95.2.
1892
1893 2003-09-05  Angus Leeming  <leeming@lyx.org>
1894
1895         Changes most place everywhere due to the removal of using directives
1896         from support/std_sstream.h.
1897
1898 2003-09-05  Angus Leeming  <leeming@lyx.org>
1899
1900         Replace LString.h with support/std_string.h,
1901         Lsstream.h with support/std_sstream.h,
1902         support/LIstream.h with support/std_istream.h,
1903         support/LOstream.h with support/std_ostream.h.
1904
1905         Changes resulting throughout the tree.
1906
1907 2003-09-05  Angus Leeming  <leeming@lyx.org>
1908
1909         * sgml.h: ensure that the header file can be compiled stand-alone.
1910         * *.C: strip out redundant #includes. (320 in total.)
1911
1912 2003-09-04  Angus Leeming  <leeming@lyx.org>
1913
1914         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1915         here (from getPackages).
1916
1917         * debug.[Ch]: add a new EXTERNAL tag.
1918
1919 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1920
1921         * text2.C (cursorEnd): simplify
1922         (setCursor): adjust
1923         (getColumnNearX): adjust
1924
1925         * text.C (computeBidiTables): adjust
1926         (fill): adjust
1927
1928         * rowpainter.C (paintChars): adjust
1929         (paintSelection): adjust
1930         (paintChangeBar): adjust
1931         (paintText): adjust
1932
1933         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1934         lastPos instead.
1935         (numberOfSeparators): adjust
1936
1937 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1938
1939         * LyXAction.C:
1940         * box.[Ch]:
1941         * lfuns.h:
1942         * lyxfunc.C:
1943         * text3.C: Restricts the mouse click functionality
1944         of insets like bibtex, include, toc and floatlist to the visible
1945         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1946         up the dialogs. Cursor has to be in front of the inset (i.e.
1947         start of row) for this to function.
1948
1949 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1950
1951         * bufferview_funcs.C (currentState): output row information
1952
1953 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1954
1955         * bufferview_funcs.C (currentState): output paragraph position
1956
1957 2003-09-04  Angus Leeming  <leeming@lyx.org>
1958
1959         * FloatList.h: move out #include "Floating.h".
1960         * LaTeX.h: move out #include "DepTable.h".
1961         * LyXAction.h: move out #include "funcrequest.h".
1962         * buffer.h: move out #include "author.h", "iterators.h".
1963         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1964         * lyx_main.h: move out #include "errorlist.h".
1965         * lyxfunc.h: move out #include "FuncStatus.h".
1966         * lyxtext: move out #include "lyxcursor.h".
1967         * paragraph_pimpl.h: move out #include "counters.h".
1968
1969 2003-09-03  Angus Leeming  <leeming@lyx.org>
1970
1971         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1972         preamble_snippets list, enabling us to add snippets to the preamble
1973         only if the snippet was not there already.
1974
1975 2003-09-04  Angus Leeming  <leeming@lyx.org>
1976
1977         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1978
1979 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1980
1981         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1982         update
1983
1984 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1985
1986         * BranchList.C: point fix, earlier forgotten
1987
1988 2003-09-02  Angus Leeming  <leeming@lyx.org>
1989
1990         * box.C (contains): renamed from 'contained' after a fantastic
1991         amount of hot air.
1992
1993 2003-09-02  John Levon  <levon@movementarian.org>
1994
1995         * BufferView.C:
1996         * lyxcursor.h:
1997         * lyxcursor.C:
1998         * lyxfunc.C:
1999         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2000
2001 2003-09-02  John Levon  <levon@movementarian.org>
2002
2003         * text2.C: simplification of cursorEnd(), including partial
2004         fix for bug 1376
2005
2006 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2007
2008         * buffer.C (readFile): add a space
2009
2010 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2011
2012         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2013
2014 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2015
2016         * buffer.C (readFile): new function, take a filename and a
2017         ParagraphList::iterator
2018         (readFile): adjust
2019         (readFile): adjust, make it private. don't use setStream, make
2020         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2021         always contain the filename.
2022
2023         * BufferView.C (insertLyXFile): simplify and make it work for
2024         gzipped files.
2025
2026 2003-08-30  John Levon  <levon@movementarian.org>
2027
2028         * Makefile.am: fix dist (from Kayvan)
2029
2030 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2031
2032         * most files: change to use const Buffer refs
2033
2034 2003-08-27  André Pönitz  <poenitz@gmx.net>
2035
2036         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2037         on top of ownerPar().
2038
2039 2003-08-27  John Levon  <levon@movementarian.org>
2040
2041         * funcrequest.C: properly initialise POD members
2042
2043 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2044
2045         * lyxtext.h (top_y): move top_y from here
2046         * text.C:
2047         * text2.C:
2048         * text3.C:
2049         * BufferView.[Ch]:
2050         * BufferView_pimpl.[Ch]: to here
2051         * frontends/screen.C:
2052         * insets/insettabular.C:
2053         * insets/insettext.C: adjust
2054         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2055
2056 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2057
2058         * BufferView.[Ch]:
2059         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2060
2061 2003-08-26  André Pönitz  <poenitz@gmx.net>
2062
2063         * paragraph_func.[Ch] (outerPar): new function
2064
2065         * paragraph.C:
2066         * paragraph_funcs.C:
2067         * paragraph_funcs.h:
2068         * paragraph_pimpl.C:
2069         * text2.C: remove Inset::par_owner
2070
2071 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2072
2073         * lyxrow_funcs.C:
2074         * lyxtext.h:
2075         * text.C:
2076         * text2.C: eliminates the needFullRow/display() stuff
2077         altogether, putting the logic in metrics/draw in the insets.
2078
2079 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2080
2081         * text2.C (redoParagraphInternal, redoParagraphs):
2082         * text.C (redoParagraph): add a call to updateRowPositions at the
2083         end of each 'metrics-like' call. Remove all others.
2084         (getRow): remove the 'y-computing' version.
2085         (getRowNearY): do not compute nor return the real y. Solve the
2086         'y < 0' problem and simplify.
2087
2088 2003-08-22  Angus Leeming  <leeming@lyx.org>
2089
2090         * *.[Ch]: clean-up of licence and author blurbs.
2091         Also move config.h out of a few .h files and into a few .C files.
2092
2093 2003-08-22  André Pönitz  <poenitz@gmx.net>
2094
2095         * lyxrow.[Ch]: add x_ and *fill_ members
2096
2097         * lyxtext.h:
2098         * text.C:
2099         * rowpainter.C:
2100         * text2.C: adjust/remove prepareToPrint() calls
2101
2102 2003-08-22  André Pönitz  <poenitz@gmx.net>
2103
2104         * lyxrow.[Ch]: add  end_ member
2105
2106         * lyxrow_funcs.C: use LyXRow::end_
2107
2108         * lyxtext.h (singleWidth): add LyXFont parameter
2109
2110         * rowpainter.C:
2111         * text2.C: adjust LyXText::singleWidth() calls
2112
2113         * text.C (redoParagraph): simplify row breaking logic
2114
2115
2116 2003-08-19  André Pönitz  <poenitz@gmx.net>
2117
2118         * funcrequest.C: initialize button_ member
2119
2120         * text3.C:
2121         * rowpainter.[Ch]: interface consolidation
2122
2123 2003-08-18  André Pönitz  <poenitz@gmx.net>
2124
2125         * BufferView.C:
2126         * BufferView_pimpl.C:
2127         * lyxfind.C:
2128         * paragraph_funcs.C:
2129         * rowpainter.C:
2130         * text3.C: remove LyXScreen::draw() and fitCursor calls
2131
2132         * BranchList.h: remove spurious semicolons
2133
2134         * MenuBackend.C: fix branchlist related crash
2135
2136 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2137
2138         * BranchList.[Ch]:
2139         * InsetList.[Ch]:
2140         * LColor.[Ch]:
2141         * LyXAction.C:
2142         * Makefile.am:
2143         * MenuBackend.[Ch]:
2144         * bufferparams.[Ch]:
2145         * factory.C:
2146         * lfuns.h:
2147         * lyxfunc.C:
2148         * text3.C: implements the 'branch inset'
2149         idea. This allows the output of various versions of a document
2150         from a single source version, selectively outputing or suppressing
2151         output of parts of the text.
2152         This implementation contains a 'branch list editor' in a separate
2153         tab of the document settings dialog. Branches are user definable
2154         and have a "display colour" to distinguish them on-screen.
2155
2156         ColorHandler was somewhat cleaned up.
2157         (1) make possible a dynamically growing LColor list by allowing
2158         the graphic context cache to grow along (vector);
2159         (2) eliminate an IMHO unnecessary step in colour allocation.
2160
2161 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2162
2163         * BufferView_pimpl.C: compile fix
2164
2165 2003-08-15  André Pönitz  <poenitz@gmx.net>
2166
2167         * rowpainter.C: remove extra metrics calls
2168
2169         * lyxtext.h: merge the two constructors into a single one,
2170           pass reference to owner's par list
2171
2172         * BufferView_pimpl.C:
2173         * text.C:
2174         * text2.C: adjust
2175
2176 2003-08-15  André Pönitz  <poenitz@gmx.net>
2177
2178         * lyxrow_funcs.[Ch]:
2179         * lyxtext.h:
2180         * paragraph.h:
2181         * paragraph_funcs.C:
2182         * rowpainter.C:
2183         * text.C:
2184         * text2.C:
2185         * text3.C:
2186         * text_funcs.C: split LyXText::rowlist_ into individual
2187         Paragraph::rows_ chunks
2188
2189         * BufferView.[Ch]:
2190         * BufferView_pimpl.[Ch]:
2191         * lyxfind.C:
2192         * lyxtext.h:
2193         * text3.C: remove toggleSelection()
2194
2195 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2196
2197         * bufferlist.C: beautify two alerts (shorter text of buttons)
2198         * buffer.C: Remove redundant ' ' from message
2199         * tabular.h:
2200         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2201         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2202         rename VALIGN_CENTER to VALIGN_MIDDLE
2203
2204 2003-08-11  André Pönitz  <poenitz@gmx.net>
2205
2206         * lyxtext.h (getPar):
2207         * text.C: new function
2208
2209 2003-08-11  André Pönitz  <poenitz@gmx.net>
2210
2211         * Makefile.am:
2212         * tracer.[Ch]: remove unneeded files
2213
2214         * InsetList.[Ch]: remove resizeInsetsLyXText()
2215
2216         * lyxtext.h:
2217         * text.C:
2218         * text2.C:
2219         * text3.C: merge insertParagraphs() and appendParagraph()
2220         remove breakAgain(), update()
2221
2222         * BufferView_pimpl.[Ch]:
2223         * bufferview_funcs.[Ch]:
2224         * lyxfunc.C:
2225         * paragraph.[Ch]:
2226         * rowpainter.C:
2227         * tabular.C: adjust after text & InsetList changes.
2228
2229 2003-08-08  André Pönitz  <poenitz@gmx.net>
2230
2231         * text.C (insertChar, backspace): replace rowlist fiddling
2232         with rebreak of full par
2233
2234         * lyxtext.h:
2235         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2236         checkParagraph, updateInset): removed
2237
2238 2003-08-07  André Pönitz  <poenitz@gmx.net>
2239
2240         * paragraph.C:
2241         * text3.C: merge some LFUN handlers, remove dead code
2242
2243 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2244
2245         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2246
2247 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2248
2249         * text2.C (DEPM): fix part of bug 1255 and 1256
2250
2251 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2252
2253         * BufferView_pimpl.C (workAreaDispatch): change to use
2254         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2255         that are no mouse related.
2256
2257 2003-08-05  André Pönitz  <poenitz@gmx.net>
2258
2259         * BufferView.[Ch]:
2260         * BufferView_pimpl.[Ch]:
2261         * bufferview_funcs.C:
2262         * text2.C:
2263         * text3.C: rip out "deep update"
2264
2265         * textcursor.[Ch] (last_sel_cursor): remove unused member
2266
2267 2003-08-04  André Pönitz  <poenitz@gmx.net>
2268
2269         * BufferView.[Ch]:
2270         * BufferView_pimpl.[Ch]:
2271         * ParagraphParameters.C:
2272         * bufferview_funcs.C:
2273         * lyx_cb.C:
2274         * lyxfind.C:
2275         * lyxfunc.C:
2276         * text.C:
2277         * text2.C:
2278         * text3.C: replace "complicated" BufferView::update(...) calls with
2279         simpler ones.
2280
2281         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2282
2283 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2284
2285         * Makefile.am (lyx_SOURCES): add paper.h
2286
2287 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2288
2289         * Makefile.am: move things around so that both lyx-qt and
2290         lyx-xforms can be built (according to --with-frontend). Then lyx
2291         is a symbolic link to lyx-[firstfrontend]
2292
2293 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2294
2295         * Always use std::endl with lyxerr
2296
2297 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2298
2299         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2300
2301 2003-08-01  André Pönitz  <poenitz@gmx.net>
2302
2303         * BufferView.[Ch]:
2304         * BufferView_pimpl.[Ch]:
2305         * lyxfunc.C:
2306         * text3.C: merge BufferView::repaint() and BufferView::update()
2307
2308 2003-08-01  José Matos  <jamatos@lyx.org>
2309
2310         * buffer.[Ch]: file_format is no longer a buffer data element.
2311
2312 2003-08-01  André Pönitz  <poenitz@gmx.net>
2313
2314         * BufferView.C:
2315         * lyxtext.h:
2316         * text.C:
2317         * text2.C: make redoParagraph more independent of current cursor
2318
2319         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2320         * text.C:
2321         * text2.C: remove unneeded members
2322
2323 2003-07-30  André Pönitz  <poenitz@gmx.net>
2324
2325         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2326
2327         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2328           create a single function...
2329
2330         * paragraph_funcs.C (moveItem): ... here.
2331
2332         * text.C:
2333           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2334
2335 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2336
2337         * LColor.[Ch]: Add comment and greyedout logical colors.
2338
2339 2003-07-30  André Pönitz  <poenitz@gmx.net>
2340
2341         * tabular.C: don't use Assert too heavily. This crashes where it
2342           shouldn't
2343
2344 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2345
2346         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2347         is disabled (bug 1232)
2348
2349 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2350
2351         * factory.C: limited 'arg' scope
2352
2353 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2354
2355         * factory.C: fixed Note submenu issues
2356
2357 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2358
2359         * factory.C: submenu for Note/Comment/Greyedout
2360
2361 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2362
2363         * lyx_main.C (LyX):
2364         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2365
2366 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2367
2368         * LaTeXFeatures.C:
2369         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2370         greyedout. Patch provided by Jürgen Spitzmüller.
2371
2372 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2373
2374         * kbmap.C (read): fix error message when reading bind files
2375
2376 2003-07-29  Angus Leeming  <leeming@lyx.org>
2377
2378         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2379         certainly does not do what it purports to do. I am doing it, and
2380         us, a favour by killing it.
2381
2382 2003-07-28  José Matos  <jamatos@lyx.org>
2383
2384         * buffer.C (readBody, do_writeFile):
2385         * paragraph.C(readParagraph): \end_document replaces \the_end.
2386
2387 2003-07-29  André Pönitz  <poenitz@gmx.net>
2388
2389         * BufferView.[Ch]:
2390         * BufferView_pimpl.[Ch]:
2391         * lyxfunc.C:
2392         * text2.C:
2393         * text3.C:
2394         * textcursor.[Ch]: remove toggleToggle & Co
2395
2396 2003-07-28  José Matos  <jamatos@fep.up.pt>
2397
2398         * buffer.C (readParagraph):
2399         * params_func (readParToken, readParagraph):
2400         * paragraph.C (write): \layout -> \begin_layout.
2401
2402 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2403
2404         * lyxlex_pimpl.C (setFile): clean up slightly.
2405
2406         * bufferparams.h: add compressed var
2407
2408         * buffer_funcs.C (readFile): adjust for LyXLex change
2409         (newFile): ditto + simplify
2410
2411         * buffer.C (writeFile): handle writing of compressed files
2412
2413         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2414         Check if the file is compressed and set a bufferparm if so.
2415
2416         * Makefile.am (lyx_LDADD): remove explicit -lz
2417
2418 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2419
2420         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2421         makeDocBookFile): put the real LyX version in the first line of
2422         the file
2423
2424         * version.h:
2425         * version.C.in: remove lyx_docversion
2426
2427         * tabular.C (write_attribute): add a template-based version to
2428         write enums properly
2429
2430 2003-07-28  André Pönitz  <poenitz@gmx.net>
2431
2432         * lyxtext.h:
2433         * text.C:
2434         * text2.C:
2435         * text3.C: use doubles again for x-coordinates. They are needed.
2436
2437 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2438
2439         * messages.C (getLocaleDir): use lyx_localedir()
2440
2441         * lyxlex_pimpl.C (setFile): compress stuff
2442
2443         * buffer.C (writeFile): add some compression stuff
2444         (do_writeFile): new func, dont call expliti close... will this
2445         breake anything?
2446
2447         * Makefile.am (lyx_LDADD): add -lz
2448
2449 2003-07-28  José Matos  <jamatos@fep.up.pt>
2450
2451         * buffer.C: increment file format.
2452         * paragraph_funcs (readParagraph, readParToken):
2453         * paragraph.C (readParagraph): add \end_layout.
2454
2455 2003-07-27  Angus Leeming  <leeming@lyx.org>
2456
2457         * Makefile.am: remove special casing for configure-time setting of
2458         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2459
2460         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2461         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2462
2463 2003-07-26  André Pönitz  <poenitz@gmx.net>
2464
2465         * paragraph_func.[Ch]:
2466         * paragraph.C (realizeFont): inline it whereever it is used
2467
2468         * rowpainter.C:
2469         * text.C:
2470         * text2.C:
2471         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2472
2473
2474 2003-07-26  André Pönitz  <poenitz@gmx.net>
2475
2476         *       lyxtext.h:
2477         * text.C:
2478         * text2.C: get rid of LyXText::need_break_row
2479
2480 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2481
2482         * toc.[Ch]: put namespace toc inside namespace lyx
2483
2484         * MenuBackend.C (expandToc2): adjust for lyx::toc
2485         (expandToc): ditto
2486
2487         * lyxfunc.C (dispatch): adjust for lyx::find
2488
2489         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2490         lyx::find instead. Reorganize a bit.
2491         (LyXReplace): rename to replace
2492         (LyXFind): rename to find
2493
2494         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2495         (dispatch): ditto
2496
2497 2003-07-26  André Pönitz  <poenitz@gmx.net>
2498
2499         * text.C (setHeightOfRow): restrict scope of temporary variable
2500
2501         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2502           code (never has been used?)
2503
2504 2003-07-27  Asger Alstrup  <alstrup@local>
2505
2506         * text.C (fill): Optimise algorithm to exploit that we can reuse
2507         the LyXFont for many characters.
2508         (setHeightOfRow): Same thing.
2509         (rowBreakPoint): Same thing.
2510
2511 2003-07-26  Asger Alstrup  <alstrup@local>
2512
2513         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2514
2515         * text.C (singleWidth): Spurious font copying in hot-spot
2516         singleWidth avoided. Reorder tests for arabic for efficiency.
2517
2518         * text.C (fill): handle empty paragraphs better.
2519
2520 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2521
2522         * ispell.C:
2523         * encoding.h: add includes
2524
2525         * lyxrc.C: remove reading of bind files
2526
2527         * lyx_main.C (init): setup bindings and menus only if we have a
2528         gui.
2529
2530         * kbmap.C (read): new method. Do the actual reading of bind
2531         files.
2532
2533         * converter.C (dvipdfm_options):
2534         * bufferparams.C:
2535         * lyxrc.C (read):
2536         (output): adapt PAPER_* enums.
2537
2538         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2539
2540         * bufferparams.h: remove paper-related enums from there
2541
2542         * paper.h: New file. A trivial header file to hold paper-related
2543         enums. It should later expand to contain many paper-related
2544         horrors access.
2545
2546         * lyxrc.C: declare extern displayTranslator
2547
2548 2003-07-27  José Matos  <jamatos@fep.up.pt>
2549
2550         * tabular.[Ch] (linuxdoc): add support for tables and figures
2551         (linuxdoc).
2552
2553 2003-07-27  José Matos  <jamatos@fep.up.pt>
2554
2555         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2556         consistency in both functions.
2557         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2558
2559 2003-07-26  Asger Alstrup  <alstrup@local>
2560
2561         * rowpainter.C (paintRows): Change algorithm to work directly on
2562         the insets rather than asking every character in the document
2563         whether its an inset.
2564
2565 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2566
2567         * buffer.C (openFileWrite): factorize some code
2568
2569 2003-07-26  Angus Leeming  <leeming@lyx.org>
2570
2571         * lyx_cb.C:
2572         * lyx_main.[Ch]: replace occurances of system_tempdir with
2573         os::getTmpDir().
2574
2575 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2576
2577         * rename Inset to InsetOld
2578
2579 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2580
2581         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2582         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2583         which I think is a bit clearer. EDIT is gone, since it was
2584         premature optimisation, and broken for mathed anyway.
2585         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2586         with cursor positioning in insets as well (math insets still do not
2587         work, but that's a different story anyway.) It mysteriously
2588         crashes sometimes with undo in the first paragraph, but I'm fairly
2589         confident that this is a compiler bug.
2590
2591 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2592
2593         * paragraph.C (Paragraph): adjust for new clone return type
2594         (operator==): ditto
2595         (copyIntoMinibuffer): ditto
2596
2597 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2598
2599         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2600         by not having a special case, and always doing a full rebreak of
2601         the document after undo.
2602
2603 2003-07-23  Angus Leeming  <leeming@lyx.org>
2604
2605         * factory.C (createInset): InsetExternal::setParams now takes a
2606         Buffer const * arg.
2607
2608 2003-07-23  Angus Leeming  <leeming@lyx.org>
2609
2610         * factory.C (createInset): changed interface to the external and
2611         graphics mailers' string2params functions.
2612
2613 2003-07-23  Angus Leeming  <leeming@lyx.org>
2614
2615         * factory.C (createInset): pass a
2616         Buffer const * parameter to InsetExternalMailer's string2params.
2617
2618 2003-07-22  John Levon  <levon@movementarian.org>
2619
2620         * Thesaurus.h: include the right aiksaurus header
2621
2622 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2623
2624         * MenuBackend.C (expand): check menu shortcuts unconditionally
2625
2626 2003-07-21  Angus Leeming  <leeming@lyx.org>
2627
2628         * factory.C (createInset): pass a
2629         buffer_path parameter to InsetGraphicsMailer's string2params.
2630
2631 2003-07-21  Angus Leeming  <leeming@lyx.org>
2632
2633         * BufferView_pimpl.C (buffer):
2634         * buffer.C (d-tor):
2635         * lyx_main.C (LyX):
2636         * lyxfunc.C (dispatch):
2637         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2638         rather than the grfx shortcut.
2639
2640 2003-07-21  André Pönitz  <poenitz@gmx.net>
2641
2642         * rowpainter.C: remove unused variables
2643
2644         * tabular_funcs.C:
2645         * tabular_funcs.h: move to tabular.C
2646         * Makefile.am: adjust
2647
2648         * tabular.[Ch]: basic optical cleaning
2649
2650         * author.h: pass references, not values
2651
2652 2003-07-18  André Pönitz  <poenitz@gmx.net>
2653
2654         * lyxtext.h:
2655         * metricsinfo.C:
2656         * metricsinfo.h:
2657         * rowpainter.C:
2658         * text.C:
2659         * text2.C:
2660         * text3.C: two-phase drawing for InsetText and InsetTabular
2661         some float -> int changes.
2662
2663 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2664
2665         * lyx_main.C: fix the fix
2666
2667 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2668
2669         * lyx_main.C: fix a crash in batch mode if no files specified
2670         * converter.C: ws
2671
2672 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2673
2674         * format.[Ch] (papersize): moved to BufferParams
2675         * converter.[Ch] (dvips_options): moved to BufferParams
2676         (dvipdfm_options): moved to anon namespace
2677         * bufferparams.[Ch]: added above functions.
2678
2679 2003-07-17  André Pönitz  <poenitz@gmx.net>
2680
2681         * lyxtext.h:
2682         * rowpainter.C:
2683         * text2.C: don't call inset->update() anymore
2684
2685         * metricsinfo.[Ch]: add convenience constructor
2686
2687 2003-07-16  André Pönitz  <poenitz@gmx.net>
2688
2689         * lyxcursor.[Ch]:
2690         * lyxfunc.[Ch]:
2691         * text.C:
2692         * text2.C: replace the LyXCursor::irow_ member with
2693          on-demand computation of the value
2694
2695 2003-07-16  John Levon  <levon@movementarian.org>
2696
2697         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2698
2699 2003-07-15  André Pönitz  <poenitz@gmx.net>
2700
2701         * text.C:
2702         * text2.C: remove no more needed refresh_row
2703
2704 2003-07-15  André Pönitz  <poenitz@gmx.net>
2705
2706         * lyxtext.h:
2707         * rowpainter.C:
2708         * text2.C:
2709         * text3.C: refresh_status tristate -> need_update bool
2710
2711 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2712
2713         * lyxtext.h (init): remove reinit argument (act as if always true)
2714         * text2.C: adjust to that
2715
2716 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2717
2718         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2719         * text3.C: use it to delete selections in some cases
2720         (bugs 441, 673, 702, 954).
2721
2722 2003-07-14  André Pönitz  <poenitz@gmx.net>
2723
2724         * rowpainter.[Ch]: reduce interface
2725
2726 2003-07-14  André Pönitz  <poenitz@gmx.net>
2727
2728         * BufferView_pimpl.C:
2729         * text2.C: adjust after removing unused BufferView * argument
2730
2731 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2732
2733         * text2.C (init): fix a crash fired on resize
2734
2735 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2736
2737         * buffer.[Ch]: added new closing signal
2738         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2739         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2740         BufferView::Pimpl via the closing the signal
2741
2742 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2743
2744         * buffer.[Ch]: take out all bv-related from buffer
2745         * BufferView.C:
2746         * BufferView_pimpl.[Ch]: connect to new signals
2747         * CutAndPaste.C: removed useless asserts
2748         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2749         * lyxvc.[Ch]:
2750         * vc-backend.[Ch]:
2751         * lyxfunc.C: moved view-related funciontality from vc here
2752         * paragraph.C: removed outdated comments
2753         * text.C: ws
2754
2755 2003-07-10  André Pönitz  <poenitz@gmx.net>
2756
2757         * BufferView_pimpl.C:
2758         * tabular.h:
2759         * tabular_funcs.C:
2760         * text.C:
2761         * text2.C: remove InsetText::InnerCache, clean up consequences
2762
2763 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2764
2765         * ispell.C: fix two typos in error messages
2766
2767 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2768
2769         * Extend Note inset to other forms of annotation like Comment
2770         and Greyedout. Right button click gives dialog.
2771
2772         Files modified or added (+):
2773
2774         * insetnote.[Ch]
2775         * FormNote.[Ch]      +
2776         * ControlNote.[Ch]   +
2777         * form_note.fd       +
2778         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2779         frontends/controllers
2780         * xforms/Dialogs.C
2781         * factory.C
2782
2783 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2784
2785         * aspell.C: add missing namespace lyx::support
2786
2787 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2788
2789         * BufferView.[Ch] (newFile): Add
2790         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2791         * LaTeX.[Ch] (message): added this signal and use it
2792         * buffer.[Ch] (busy, message): added these signals and use them
2793         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2794         * converter.C:
2795         * exporter.C:
2796         * format.C:
2797         * importer.C: use buffer signals instead of direct bv calling
2798         * lyx_cb.[Ch] (ShowMessage): removed
2799         * lyx_main.C:
2800         * lyxfunc.C:
2801         * paragraph_funcs.C:
2802         * text2.C: use buffer signals
2803
2804 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2805
2806         * introduce namespace lyx::graphics
2807
2808 2003-07-02  André Pönitz  <poenitz@gmx.net>
2809
2810         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2811
2812 2003-07-01  André Pönitz  <poenitz@gmx.net>
2813
2814         * text.C:
2815         * text2.C:
2816         * text3.C:
2817         * text_funcs.[Ch]:
2818         * textcursor.h:
2819         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2820           text*.C to text_func.C
2821
2822 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2823
2824         * introduce namespace lyx::support
2825
2826 2003-06-30  André Pönitz  <poenitz@gmx.net>
2827
2828         * Chktex.C:
2829         * funcrequest.C:
2830         * lyxtext.h:
2831         * text.C: re-enable --with-included-string
2832
2833 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2834
2835         * textcursor.C: add <config.h>
2836
2837         * text.C (getWord): remove const from word_location arg
2838
2839         * lyxvc.C (getLogFile): fix const type order
2840
2841         * lyxtext.h: remove const from word_location arg, add arg name
2842
2843         * lyxlayout.h: currect type on labeltype.
2844
2845         * importer.C: correct \file
2846
2847         * converter.C (intToFormat): use std:: on ret val, ws changes
2848
2849         * bufferlist.h: correct \file
2850
2851         * buffer.C (makeLinuxDocFile): fix const type order
2852         (makeDocBookFile): ditto
2853         (fillWithBibKeys): use std:: on stdlib args.
2854
2855         * CutAndPaste.C: fix authors.
2856         (availableSelections): use std:: on return vector
2857
2858 2003-06-27  André Pönitz  <poenitz@gmx.net>
2859
2860         * BufferView_pimpl.C:
2861         * bufferview_funcs.C:
2862         * lyxcursor.C:
2863         * lyxcursor.h:
2864         * lyxfunc.C:
2865         * lyxtext.h:
2866         * rowpainter.C:
2867         * text.C:
2868         * text2.C:
2869         * text3.C: remove LyXCursor::row_ member
2870
2871         * lyxtext.h:
2872         * text.C: rename fullRebreak() to partialRebreak() and implement
2873           a fullRebreak() that really bereks fully
2874
2875         * textcursor.h: new struct for cursor-related data
2876
2877 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2878
2879         * lyx_main.C (LyX): get full path of document loaded on the
2880         command line
2881
2882 2003-06-26  André Pönitz  <poenitz@gmx.net>
2883
2884         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2885           remove unused/broken operator>,<,>=.
2886
2887         *       text.C: remove only use of broken operator<= in an Assert().
2888
2889 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2890
2891         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2892         moved errorlist_.clear to showErrorList
2893
2894 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2895
2896         * converter.C (scanLog, runLaTeX):
2897         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2898         move the bv->showErrorList call to the callers
2899         * lyxfunc.C: i.e. here...
2900         * text2.C: and here
2901         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2902         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2903         namespace, the second to...
2904         * buffer_funcs (BufferFormat, parseErrors): added
2905         * errorlist.C (ErrorList(TeXErrors const &)): removed
2906
2907 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2908
2909         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2910
2911 2003-06-24  "Garst R. Reese" <reese@isn.net>
2912
2913         * debug.C: fix typo
2914
2915 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2916
2917         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2918
2919         * version.C.in: change docversion to 1.4
2920
2921 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2922
2923         * buffer.C: fix a bug just introduced
2924
2925 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2926
2927         * buffer.[Ch]: added the parseError signal and use it, removed
2928         sgmlError
2929         * BufferView.[Ch] (addError): moved to ...
2930         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2931         to the Buffer::parseError signal to catch (guess what) parse errors
2932         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2933
2934 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2935
2936         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2937         ability to create a buffer and to return an existing one from
2938         the list. Moved these functions to...
2939         * buffer_funcs.[Ch]: added
2940         * BufferView.[Ch] (loadLyXFile): added
2941         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2942         job removed from bufferlist::loadLyXFile.
2943         * buffer.C (setReadOnly): make it work without view
2944         (i.e added an if (users))
2945
2946 2003-06-19  Angus Leeming  <leeming@lyx.org>
2947
2948         * lfuns.h:
2949         * LyXAction.C (init):
2950         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2951         with LFUN_DIALOG_SHOW <name> <data>.
2952
2953 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2954
2955         * CutAndPaste.C (availableSelections): small compilation fix for
2956         ancient (gcc 2.9x) compilers
2957
2958 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2959
2960         * text3.C (cursorNext): add tmp var
2961
2962         * text2.C (updateCounters): for function calling out of for clause
2963         (replaceSelectionWithString): ditto
2964         (insertStringAsParagraphs): ditto
2965         (getColumnNearX): add tmp var
2966         (setCursorFromCoordinates): add tmp var
2967         (cursorDownParagraph): add tmp var
2968         (deleteEmptyParagraphMechanism): add tmp var
2969
2970         * text.C (insertChar): add tmp var
2971
2972         * rowpainter.C (paintDepthBar): add tmp var
2973
2974         * CutAndPaste.C (availableSelections): potentially check all
2975         paragraphs in a cut to fill the shown strings.
2976
2977 2003-06-18  André Pönitz  <poenitz@gmx.net>
2978
2979         * kbmap.[Ch]: use vector<> instead of list<>
2980
2981 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2982
2983         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2984         pasteSelection with index
2985
2986         * text2.C (pasteSelection): modify, call pasteSelection with index
2987
2988         * paragraph.C (asString): reimplement version with no interval to
2989         call the one with interval.
2990
2991         * lyxtext.h: add index arg to pasteSelection
2992
2993         * MenuBackend.C (MenuItem): handle PasteRecent
2994         (Menu::read::Menutags): add md_pasterecent
2995         (read): handle it
2996         (expandPasteRecent): new function
2997         (expand): use it
2998
2999         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3000
3001         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3002         the limited stack
3003         (availableSelections): new function
3004
3005 2003-06-17  Angus Leeming  <leeming@lyx.org>
3006
3007         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3008
3009 2003-06-17  Angus Leeming  <leeming@lyx.org>
3010
3011         * lfuns.h:
3012         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3013
3014         * lyxfunc.C (dispatch): invoke it.
3015
3016 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3017
3018         * iterators.C (operator++, ParPosition): reintroduce some
3019         const_cast for the benefit of older compilers.
3020
3021 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3022
3023         * text3.C (dispatch): do not modify clipboard when doing
3024         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3025         LFUN_DELETE_SKIP on a selection selection
3026
3027 2003-06-16  André Pönitz  <poenitz@gmx.net>
3028
3029         * BufferView.C:
3030         * buffer.C:
3031         * buffer.h:
3032         * paragraph.C:
3033         * tabular.[Ch]: IU of clone() and getLabelList();
3034
3035 2003-06-13  André Pönitz  <poenitz@gmx.net>
3036
3037         * tabular.h: compactification
3038
3039 2003-06-12  André Pönitz  <poenitz@gmx.net>
3040
3041         * tabular.C:
3042         * tabular.h:
3043         * tabular_funcs.h: some renaming plus whitespace
3044
3045 2003-06-12  André Pönitz  <poenitz@gmx.net>
3046
3047         * BufferView.C:
3048         * BufferView_pimpl.C:
3049         * CutAndPaste.C:
3050         * buffer.C:
3051         * iterators.[Ch]:
3052         * lyxfunc.C:
3053         * text.C:
3054         * toc.C: Return a Paragraph & for ParIterator::operator*()
3055
3056 2003-06-11  John Levon  <levon@movementarian.org>
3057
3058         * lyx_main.C:
3059         * ToolbarBackend.h:
3060         * ToolbarBackend.C: add "Toolbars" section and
3061         put the flags there
3062
3063 2003-06-10  Angus Leeming  <leeming@lyx.org>
3064
3065         * lfuns.h:
3066         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3067
3068         * lyxfunc.C (dispatch): invoke it.
3069
3070 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3071
3072         * main.C: protect <ios> with HAVE_IOS
3073         (main): protect sync_with_stdio with HAVE_IOS
3074
3075 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3076
3077         * text2.C (cutSelection): adjust
3078         (pasteSelection): adjust
3079
3080         * messages.C: handle get of empty string
3081
3082         * main.C (main): use sync_with_stdio(false)
3083
3084         * lyxfunc.C (dispatch): adjust
3085
3086         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3087         (WriteAs): remove unneeded BufferView arg.
3088
3089         * bufferparams.h: use correct types on papersize, papersize2 and
3090         paperpackage.
3091
3092         * bufferparams.C (readToken): adjust for type
3093         (writeLaTeX): add missing cases to switch.
3094
3095         * bufferlist.C (quitWriteBuffer): adjust
3096         (close): adjust
3097
3098         * buffer.C (asciiParagraph): remove some commented code.
3099
3100         * CutAndPaste.C: remove current_view extern variable.
3101         (cutSelection): add BufferParams arg.
3102         (eraseSelection): add BufferParams arg.
3103         (pasteSelection): add Buffer const & arg
3104
3105 2003-06-07  John Levon  <levon@movementarian.org>
3106
3107         * buffer.C:
3108         * paragraph_funcs.C:
3109         * paragraph_pimpl.C:
3110         * text.C:
3111         * text2.C:
3112         * paragraph.h:
3113         * paragraph.C: allow InsetERT to freely space lines,
3114         and some consolidation of code
3115
3116 2003-06-06  José Matos  <jamatos@fep.up.pt>
3117
3118         * buffer.C (makeDocBookFile): fix bug #821
3119
3120 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3121
3122         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3123
3124 2003-06-04  Angus Leeming  <leeming@lyx.org>
3125
3126         * buffer.C: bump format to 224.
3127
3128 2003-06-05  André Pönitz  <poenitz@gmx.net>
3129
3130         * text2.C (redoParagraphs): remove two const_cast<>
3131
3132 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3133
3134         * ParagraphList.h: remove last remnants of NO_STD_LIST
3135
3136 2003-06-03  Angus Leeming  <leeming@lyx.org>
3137
3138         * factory.C (createInset): small change to the way InsetExternal's params
3139         are set.
3140
3141 2003-06-04  André Pönitz  <poenitz@gmx.net>
3142
3143         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3144
3145         * paragraph_pimpl.h:
3146         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3147
3148         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3149
3150         * undo_funcs.C: make some simple cases of undo work again
3151
3152 2003-06-03  John Levon  <levon@movementarian.org>
3153
3154         * ispell.C: HPUX doesn't have sys/select.h
3155         (from Albert Chin)
3156
3157 2003-06-03  John Levon  <levon@movementarian.org>
3158
3159         * CutAndPaste.C: update tabular and include inset
3160         buffer references
3161
3162         * buffer.h:
3163         * paragraph.h:
3164         * paragraph.C: remove owningBuffer(), don't pass Buffer
3165         to clone()
3166
3167         * factory.C: insetGraphicsParams changed
3168
3169 2003-06-02  John Levon  <levon@movementarian.org>
3170
3171         * LyXAction.C:
3172         * factory.C:
3173         * lfuns.h:
3174         * lyxfunc.C:
3175         * text3.C: remove insetparent
3176
3177 2003-06-02  John Levon  <levon@movementarian.org>
3178
3179         * buffer.h:
3180         * buffer.C: fix inset_iterator.end(), move out of line
3181         (bug 1149)
3182
3183 2003-06-01  John Levon  <levon@movementarian.org>
3184
3185         * text3.C: use a proper cut/paste when doing inset
3186         insert (from Jürgen Spitzmüller)
3187
3188 2003-06-01  John Levon  <levon@movementarian.org>
3189
3190         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3191
3192 2003-05-30  André Pönitz  <poenitz@gmx.net>
3193
3194         * rowpainter.C: unify second drawing phase
3195
3196 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3197
3198         * trans_mgr.C: remove one case of current_view
3199
3200         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3201
3202         * paragraph_funcs.h: remove paragraph.h include
3203
3204         * paragraph.h: delete NO_STD_LIST stuff
3205
3206         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3207
3208         * buffer.h: remove paragraph.h include
3209
3210         * ParagraphList.C: delete file
3211
3212         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3213
3214         * toc.C (getTocList): adjust
3215
3216         * paragraph_pimpl.C (validate): adjust
3217
3218         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3219
3220         * paragraph.C (Paragraph): adjust
3221         (getPositionOfInset): use const_iterator, adjust
3222         (bibitem): use const_iterator, adjust
3223         (setInsetOwner): adjust
3224
3225         * iterators.C (operator++): adjust
3226
3227         * InsetList.[Ch]: Replace selfmade iterator with standard
3228         vector::iterator also introduce const_iterator. Remove getPos,
3229         getInset and setInset from InsetTable. Adjust accordingly.
3230
3231         * BufferView.C (lockInset): adjust
3232         (ChangeInsets): adjust
3233
3234         * tabular.[Ch]: delete commented same_id functions
3235
3236 2003-05-28  John Levon  <levon@movementarian.org>
3237
3238         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3239
3240 2003-05-28  André Pönitz  <poenitz@gmx.net>
3241
3242         * metricsinfo.[Ch]: remove 'fullredraw' member
3243
3244 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3245
3246         * lyxtextclass.C (operator): remove caching.
3247
3248 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3249
3250         * text3.C: adjust
3251
3252         * text2.C (cursorBottom): adjust
3253         (setCounter): use ParagraphList::find, adjust
3254
3255         * text.C (workWidth): use ParagraphList::find, adjust
3256
3257         * lyxcursor.C (LyXCursor): adjust
3258
3259         * buffer.C (inset_iterator): adjust
3260
3261         * ParagraphList.h: make iterator(value_type) private, make
3262         ParagraphList a friend of iterator.
3263
3264         * ParagraphList.C (find): new function
3265
3266         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3267
3268 2003-05-27  André Pönitz  <poenitz@gmx.net>
3269
3270         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3271
3272 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3273
3274         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3275
3276 2003-05-26  John Levon  <levon@movementarian.org>
3277
3278         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3279
3280 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3281
3282         * remove same_id from function signatures, adjust.
3283
3284 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3285
3286         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3287
3288         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3289
3290         * paragraph.C (Paragraph): get rid of same_ids parameter
3291
3292         * ParagraphList.C (insert): adjust
3293         (push_back): adjust
3294
3295 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3296
3297         * paragraph_funcs.C (breakParagraph): adjust
3298         (breakParagraphConservative): adjust
3299
3300         * buffer.C (readParagraph): adjust
3301
3302         * ParagraphList.C (insert): take a reference instead of a pointer
3303         (insert): adjust
3304
3305         * paragraph.[Ch] (id): new function
3306
3307         * bufferlist.C (newFile): adjust
3308
3309         * ParagraphList.C (ParagraphList): adjust
3310         (assign): adjust
3311         (push_back): take a reference instead of a pointer.
3312
3313         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3314
3315         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3316         instead.
3317
3318         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3319         set else use old code.
3320
3321         * ParagraphList.C: remove all NO_NEXT code and only compile this
3322         code of NO_STD_LIST is set.
3323
3324 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3325
3326         * BufferView_pimpl.C:
3327         * TextCache.C:
3328         * TextCache.h:
3329         * bufferlist.C:
3330         * errorlist.h:
3331         * format.C:
3332         * format.h:
3333         * graph.C:
3334         * lyxfunc.C:
3335         * lyxrc.C:
3336         * graphics/GraphicsConverter.C:
3337         * graphics/PreviewLoader.C: header adjustment
3338
3339 2003-05-23  Angus Leeming  <leeming@lyx.org>
3340
3341         * LaTeXFeatures.[Ch] (useBabel): new method.
3342         * bufferparams.C (writeLaTeX): use it.
3343
3344 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3345
3346         * ParagraphList.h (set): remove unused function.
3347
3348 2003-05-23  André Pönitz  <poenitz@gmx.net>
3349
3350         * BufferView.C:
3351         * BufferView_pimpl.C:
3352         * buffer.C:
3353         * buffer.h:
3354         * lyxfunc.C:
3355         * undo_funcs.C: setUndo reworked
3356
3357         * iterators.[Ch]: add access to topmost ParagraphList
3358
3359         * lyxtext.[Ch] (workWidth): add a const
3360
3361 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3362
3363         * texrow.[Ch] (increasePos): remove function
3364         * exporter.C (export): removed unused var and outdated comment
3365
3366 2003-05-23  Angus Leeming  <leeming@lyx.org>
3367
3368         * latexrunparams.h: rename fragile as moving_arg.
3369         * paragraph.C (simpleTeXOnePar): ditto.
3370         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3371
3372 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3373
3374         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3375         (createUndo): ditto
3376         (textUndoOrRedo): comment out a currently unused var.
3377
3378         * paragraph.h (NO_NEXT): enable NO_NEXT
3379
3380         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3381
3382         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3383
3384         * exporter.C (Export): adjust for removeAutoInsets removal.
3385
3386         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3387
3388         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3389
3390         * BufferView.[Ch] (removeAutoInsets): delete function
3391
3392 2003-05-22  Angus Leeming  <leeming@lyx.org>
3393
3394         * latexrunparams.h: add a free_spacing variable.
3395
3396         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3397         to pass moving_arg, as the data is stored in runparams.fragile.
3398
3399         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3400         to Inset::latexOptional or to simpleTeXOnePar.
3401
3402         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3403         free_spacing arg to Inset::latexOptional.
3404
3405         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3406         free_spacing arg.
3407
3408 2003-05-22  Angus Leeming  <leeming@lyx.org>
3409
3410         * latexrunparams.h: add fragile and use_babel variables.
3411
3412         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3413         * buffer.C (makeLaTeXFile): store this returned value in
3414         runparams.use_babel, thus passing it to the inset::latex methods.
3415
3416         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3417         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3418
3419         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3420         longer has a fragile arg, as it is stored in runparams.fragile.
3421
3422         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3423         moving_arg parameter as the data is stored in runparams.fragile.
3424
3425         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3426         a fragile parameter as the data is stored in runparams.fragile.
3427
3428 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3429
3430         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3431
3432 2003-05-22  Angus Leeming  <leeming@lyx.org>
3433
3434         * latexrunparams.h: add a 'bool nice' which defaults to false.
3435
3436         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3437         now encapsulated within runparams.
3438
3439         * bufferlist.C (updateIncludedTeXfiles):
3440         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3441
3442 2003-05-22  Angus Leeming  <leeming@lyx.org>
3443
3444         * latexrunparams.h: new file containing struct LatexRunParams.
3445         * Makefile.am: add new file.
3446
3447         * LaTeX.[Ch] (c-tor, run):
3448         * buffer.[Ch] (makeLaTeXFile):
3449         * bufferlist.[Ch] (updateIncludedTeXfiles):
3450         * converter.C (convert, scanLog):
3451         * converter.[Ch] (runLaTeX):
3452         * exporter.C (Export):
3453         * paragraph.[Ch] (simpleTeXOnePar):
3454         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3455         * paragraph_funcs.[Ch] (latexParagraphs):
3456         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3457         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3458         pass around a LatexRunParams parameter.
3459
3460 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3461
3462         * paragraph.[Ch]: remove unused constructor
3463
3464         * ParagraphList.C (erase): new function, taking two iterators
3465
3466 2003-05-22  André Pönitz  <poenitz@gmx.net>
3467
3468         * undo_funcs.C: remove duplicated code
3469
3470         * iterator.[Ch]: operator=
3471
3472 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3473
3474         * tabular.C (SetMultiColumn): ws changes
3475
3476         * rowpainter.C (paintFirst): get rid of a ->previous
3477
3478         * lyx_cb.C (getPossibleLabel): parlist simplification
3479
3480         * BufferView.C (ChangeInsets): simplify slightly.
3481
3482 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3483
3484         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3485         * lfuns.h: new LFUN_SPACE
3486         * lyxfunc.C: protected space has a new lfun
3487         * paragraph_funcs.C: read new space insets
3488         * text3.C:
3489         * factory.C: handle new space insets
3490
3491 2003-05-22  André Pönitz  <poenitz@gmx.net>
3492
3493         * BufferView.C:
3494         * BufferView_pimpl.C:
3495         * buffer.[Ch]:
3496         * lyxfunc.C:
3497         * undo_funcs.C: return a ParIterator from getParFromID.
3498
3499         * iterators.[Ch]: add two const's
3500
3501 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3502
3503         * toc.C (getTocList): adjust
3504
3505         * iterators.[Ch]: rework for parlist
3506
3507         * buffer.C (par_iterator_begin): adjust
3508         (par_iterator_end): adjust
3509
3510         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3511
3512         * BufferView.C (removeAutoInsets): adjust
3513         (ChangeInsets): adjust
3514
3515 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3516
3517         * text.C (top_y): fix bug 1110
3518
3519 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3520
3521         * errorlist.[Ch]: added
3522         * buffer.C:
3523         * BufferView.[Ch]:
3524         * BufferView_pimpl.C:
3525         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3526         instead
3527
3528 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3529
3530         * Makefile.am: ensure that lyx is relinked upon changes to the
3531         various "convenience" libs.
3532
3533 2003-05-20  Angus Leeming  <leeming@lyx.org>
3534
3535         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3536         files are compiled in alphabetical order again.
3537
3538         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3539
3540 2003-05-19  Angus Leeming  <leeming@lyx.org>
3541
3542         * gettext.[Ch]: remove "char const * _(char const *)".
3543
3544 2003-05-19  André Pönitz  <poenitz@gmx.net>
3545
3546         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3547
3548         * Makefile.am:
3549         * BufferView.C:
3550         * DepTable.h:
3551         * LaTeXFeatures.C:
3552         * buffer.C:
3553         * lyxfont.C:
3554         * lyxlex.h:
3555         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3556
3557 2003-05-19  André Pönitz  <poenitz@gmx.net>
3558
3559         * buffer.C:
3560         * lyxlayout.[Ch]:
3561         * lyxtextclass.[Ch]:
3562         * paragraph.C:
3563         * paragraph_funcs.[Ch]:
3564         * text2.C:
3565         * text3.C: more insetenv work
3566
3567 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3568
3569         * ParagraphParameters.C (params2string): small bug fixed
3570
3571 2003-05-16  André Pönitz  <poenitz@gmx.net>
3572
3573         * debug.C:
3574         * bufferview_funcs.C: patch from Kornel Benko to prevent
3575           crash when _(...) is called twice in a statement
3576
3577 2003-05-16  André Pönitz  <poenitz@gmx.net>
3578
3579         * BufferView.C:
3580         * lyxfunc.C:
3581         * text.C:
3582         * text2.C:
3583         * text3.C:
3584         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3585
3586 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3587
3588         * lyx_main.C (init): remove spurious static_cast
3589
3590 2003-05-14  André Pönitz  <poenitz@gmx.net>
3591
3592         * BufferView.C: fix format string
3593
3594 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3595
3596         * BufferView.[Ch] (insertErrors): removed
3597         * BufferView.[Ch] (showErrorList): added
3598         * buffer.C (runChkTeX):
3599         * converter.C (scanLog): call showErrorList instead of inserterrors
3600
3601 2003-05-13  André Pönitz  <poenitz@gmx.net>
3602
3603         * BufferView_pimpl.C:
3604         * buffer.C:
3605         * bufferview_func.C:
3606         * MenuBackend.C:
3607         * lyxfunc.C:
3608         * lyxrc.C:
3609         * tex-accent.C:
3610         * text3.C:
3611         * toc.C:
3612         * tabular_funcs.h: tostr() from its own header
3613
3614         * ParagraphParameters.C:
3615         * ToolbarBackend.C:
3616         * bufferparams.C:
3617         * format.C:
3618         * lyxlex_pimpl.C:
3619         * text3.C: STRCONV()
3620
3621 2003-05-12  André Pönitz  <poenitz@gmx.net>
3622
3623         * BufferView.C:
3624         * BufferView_pimpl.C:
3625         * CutAndPaste.C:
3626         * LaTeX.C:
3627         * LaTeXFeatures.C:
3628         * ParagraphParameters.C:
3629         * buffer.C:
3630         * bufferlist.C:
3631         * bufferparams.C:
3632         * bufferview_funcs.C:
3633         * converter.C:
3634         * counters.C:
3635         * debug.C:
3636         * exporter.C:
3637         * format.C:
3638         * importer.C:
3639         * lyx_cb.C:
3640         * lyx_main.C:
3641         * lyxfont.C:
3642         * lyxfunc.C:
3643         * lyxvc.C:
3644         * paragraph.C:
3645         * paragraph_funcs.C:
3646         * tabular.C:
3647         * tabular_funcs.C:
3648         * text2.C:
3649         * text3.C:  boost::format -> bformat  all over the place
3650
3651
3652 2003-05-09  André Pönitz  <poenitz@gmx.net>
3653
3654         * LColor.[Ch]: Pimpl the #include <map> away
3655
3656 2003-05-09  John Levon  <levon@movementarian.org>
3657
3658         * bufferlist.C: never remove emergency saves
3659
3660 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3661
3662         * Makefile.am: better lib building
3663
3664 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3665
3666         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3667         instead.
3668         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3669         (simpleTeXSpecialChars): adjust
3670         (simpleTeXSpecialChars): adjust
3671         * paragraph.C (simpleTeXOnePar): adjust
3672         * buffer.C (makeLaTeXFile): adjust
3673
3674         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3675
3676         * text2.C (changeDepth): parlist cleanup
3677         (getColumnNearX): ditto
3678
3679         * rowpainter.C (getLabelFont): parlist cleanup
3680
3681         * bufferlist.C (newFile): parlist cleanup
3682
3683         * CutAndPaste.C (eraseSelection): parlist cleanup
3684
3685         * BufferView_pimpl.C (trackChanges): parlist cleanup
3686         (dispatch): ditto
3687
3688         * BufferView.C (lockInset): parlist cleanup.
3689         (ChangeInsets): ditto
3690
3691 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3692
3693         * CutAndPaste.h: Update file header.
3694
3695         * CutAndPaste.C: Update file header.
3696         Store the parts cut out of the Document in a limited_stack.
3697         (copySelection): adjust
3698         (pasteSelection): new function, takes the index in the limited stack.
3699         (nrOfParagraphs): adjust
3700         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3701         simplify error inset insertion.
3702         (checkPastePossible): adjust
3703
3704 2003-05-06  John Levon  <levon@movementarian.org>
3705
3706         * text2.C: don't cast wrap inset to float
3707
3708 2003-05-05  André Pönitz  <poenitz@gmx.net>
3709
3710         * iterator.C:
3711         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3712
3713         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3714           few naked Paragraph *.
3715
3716 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3717
3718         * bufferparams.C: Output warning if a document with missing
3719         TeX document class is loaded
3720         * exporter.C: Disable TeX exports if the document class is missing
3721         * lyxtextclass.C:
3722         * lyxtextclass.h:
3723         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3724         isTeXClassAvailable()
3725
3726 2003-05-03  John Levon  <levon@movementarian.org>
3727
3728         * BufferView.h:
3729         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3730         explicit cursor show/hide
3731
3732         * BufferView_pimpl.h:
3733         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3734         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3735
3736         * lyxfunc.C: hide cursor before dispatching.
3737
3738         * lyx_cb.C:
3739         * lyxfind.C:
3740         * text.C:
3741         * text3.C: remove explicit cursor hides
3742
3743 2003-05-02  André Pönitz  <poenitz@gmx.net>
3744
3745         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3746
3747         * undo_funcs.C:
3748         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3749           linked lists
3750
3751         * text2.C: tiny whitespace
3752
3753 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3754
3755         * undo_funcs.C: almost only ws changes.
3756
3757         * ParagraphList.C (splice): just return if pl is empty.
3758
3759 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3760
3761         * ParagraphList.C (splice): new function.
3762
3763         * CutAndPaste.C (pasteSelection): use it
3764
3765 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3766
3767         * CutAndPaste.C (pasteSelection): remove the last next and
3768         previous from this file.
3769
3770 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3771
3772         * CutAndPaste.C (pasteSelection): more clean up, user proper
3773         ParagraphList functions for pasteing.
3774
3775         * ParagraphList.C (insert): new function, three arg insert
3776
3777 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3778
3779         * ParagraphList.C (insert): new function, three arg insert
3780
3781         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3782         not on paragraphs.
3783
3784 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3785
3786         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3787
3788 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3789
3790         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3791
3792 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3793
3794         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3795         (copySelection): clean up a bit.
3796         (pasteSelection): use make_pair
3797
3798         * ParagraphList.C (ParagraphList): implement copy constructor
3799         (operator=): implement, base on copy constructor.
3800         (assign): new func
3801
3802         * paragraph.C (erase): return a bool
3803
3804         * paragraph_pimpl.C (erasePos): remove function, move contents...
3805         (erase): ... here. Return a bool.
3806         (erase): call erase instead of erasePos.
3807
3808 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3809
3810         * ParagraphList.h: define PitPosPair
3811         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3812         ParagraphList, fix a bug on pasting multiple pars
3813         * text2.C: change interface to C&P
3814
3815 2003-04-30  André Pönitz  <poenitz@gmx.net>
3816
3817         * undo_func.C: revert part of yesterday's patch 2
3818
3819 2003-04-30  John Levon  <levon@movementarian.org>
3820
3821         * LColor.C: s/tabular/table/
3822
3823 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3824
3825         * text3.C (dispatch): do not convert iterator -> pointer
3826         * undo_funcs.C (setCursorParUndo): ditto
3827         * text_funcs.C (transposeChars): ditto
3828
3829         * text2.C (setLayout): ws changes only
3830
3831         * text.C (breakParagraph): do not convert iterator -> pointer
3832         (insertChar): ditto
3833         (acceptChange): ditto
3834         (rejectChange): ditto
3835         (changeCase): ditto
3836         (Delete): ditto
3837         (backspace): ditto
3838
3839         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3840         pointer
3841
3842 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3843
3844         * text3.C (gotoInset): YABG (yet another bad getChar)
3845
3846 2003-04-29  André Pönitz  <poenitz@gmx.net>
3847
3848         * paragraph.h: make operator= private unimplemented as long as
3849           it is unusable
3850
3851         * ParagraphList.C: whitespace
3852
3853         * paragraph.[Ch]:
3854         * paragraph_pimpl.[Ch]:
3855         * paragraph_funcs.C:
3856         * CutAndPaste.C:
3857         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3858
3859         * text2.C:
3860           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3861
3862 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3863
3864         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3865         * paragraph.[Ch] (erase):
3866         * paragraph_pimpl.[Ch] (erase): change return type and value
3867         * text2.C (cutSelection): some rework
3868
3869 2003-04-28  John Levon  <levon@movementarian.org>
3870
3871         * bufferlist.C: changes for unsaved changes dialog
3872
3873 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3874
3875         * bufferlist.C (newFile): set language (messages_) for new
3876         documents also.
3877
3878         * buffer.C (readFile): ws changes only.
3879
3880 2003-04-28  André Pönitz  <poenitz@gmx.net>
3881
3882         * undo_funcs.C:
3883         * lyxfunc.C:
3884         * buffer.[Ch]:
3885         * BufferView_pimpl.C:
3886         * BufferView.C: getParFromID related ParagraphList::iterator changes
3887
3888 2003-04-28  André Pönitz  <poenitz@gmx.net>
3889
3890         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3891           Changes
3892
3893 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3894
3895         * messages.C: remove one more localedir class variable.
3896
3897 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3898
3899         * messages.C (getLocaleDir): singleton generation function
3900         (Pimpl): use it.
3901         (Messages): add a default constructor.
3902
3903         * main.C (main): do not setup localedir here, do not call
3904         gettext_init.
3905
3906         * gettext.C (_): use it.
3907         (gettext_init): delete funciton
3908
3909 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3910
3911         * gettext.C (getLyXMessages): new singleton generating function.
3912
3913         * buffer.C (updateDocLang): adjust
3914
3915         * Makefile.am (messages.o): add target
3916         (main.o): remove target
3917
3918 2003-04-27  John Levon  <levon@movementarian.org>
3919
3920         * bufferlist.C:
3921         * lyx_cb.C:
3922         * lyxfunc.C:
3923         * lyxvc.C: specify cancel button in Alert::prompt
3924
3925 2003-04-26  John Levon  <levon@movementarian.org>
3926
3927         * text3.C:
3928         * lyxfunc.C:
3929         * lfuns.h:
3930         * LyXAction.C: add LFUN_INSET_SETTINGS
3931
3932         * lyxfunc.C: don't enable tabular-feature when there's
3933         just any locking inset
3934
3935 2003-04-26  John Levon  <levon@movementarian.org>
3936
3937         * bufferlist.C: re-add Cancel to buffer close question
3938
3939         * lyxfunc.C: fix import UI a bit
3940
3941 2003-04-25  John Levon  <levon@movementarian.org>
3942
3943         * gettext.C: remove the broken asserts for now
3944
3945 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3946
3947         * messages.C: make case where setlocale cannot comply work better.
3948
3949         * buffer.C (updateDocLang): new function
3950         (changeLanguage): use it
3951         (readFile): use it
3952
3953         * text2.C (setCounter): use B_ a bit.
3954
3955         * lyxlayout.C (Read): be sure to trim the label strings.
3956
3957         * messages.C (Messages): fix typo in comment
3958
3959         * buffer.C (readFile): set message_ after file is loaded.
3960         (makeDocBookFile): remove double return
3961         (changeLanguage): reset message_ upon language change.
3962         (B_): new func, use this to get translated buffer strings.
3963
3964         * main.C: add myself and Jean Marc as authors.
3965
3966 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3967
3968         * messages.[hC]: pimplify Messages, and three different pimpls to be
3969         used in different circumstances.
3970
3971         * gettext.[Ch]: change for use with new message code.
3972
3973 2003-04-24 André Pönitz <poenitz@gmx.net>
3974
3975         * factory.C: support for eqref
3976
3977 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3978
3979         * messages.[Ch]: add missing char
3980
3981         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3982
3983         * messages.[Ch]: New files
3984
3985 2003-04-18  John Levon  <levon@movementarian.org>
3986
3987         * BufferView.h:
3988         * BufferView.C:
3989         * BufferView_pimpl.C:
3990         * lfuns.h:
3991         * LyXAction.C:
3992         * lyxtext.h:
3993         * text2.C: remove layout-copy/paste (bug 778)
3994
3995 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3996
3997         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3998
3999 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4000
4001         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4002         if they succeed. Act accordingly.
4003
4004 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4005
4006         * text2.C (setCharFont): adjust
4007         (setCounter): adjust
4008         (insertStringAsLines): adjust
4009
4010         * text.C (leftMargin): adjust
4011         (setHeightOfRow): adjust
4012
4013         * rowpainter.C (paintFirst): adjust
4014         (paintLast): adjust
4015
4016         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4017         (outerHook): ditto
4018         (isFirstInSequence): ditto
4019         (getEndLabel): ditto
4020         (outerFont): adjust
4021
4022         * paragraph.C (getParLanguage): comment out some hard stuff.
4023
4024         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4025         (sgmlError): ditto
4026         (simpleDocBookOnePar): ditto
4027         (makeDocBookFile): use ParagraphList::iterator
4028
4029         * CutAndPaste.C (pasteSelection): adjust
4030
4031 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4032
4033         * text2.C (getFont): adjust
4034         (getLayoutFont): adjust
4035         (getLabelFont): adjust
4036
4037         * paragraph_funcs.C (TeXOnePar): adjust
4038
4039         * buffer.C (simpleLinuxDocOnePar): adjust
4040         (simpleDocBookOnePar): adjust
4041
4042         * CutAndPaste.C (pasteSelection): adjust
4043
4044         * BufferView.C (getEncoding): adjust
4045
4046         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4047
4048 2003-04-16  John Levon  <levon@movementarian.org>
4049
4050         * lyxfind.C: use parlist stuff for search/changes
4051
4052 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4053
4054         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4055
4056         * text2.C (deleteEmptyParagraphMechanism): adjust
4057
4058         * text2.[Ch] (ownerParagraph): delete func (both of them
4059
4060 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4061
4062         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4063
4064 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4065
4066         * ParagraphList.C: prepare for NO_NEXT
4067
4068 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4069
4070         * text2.C (getFont): adjust
4071         (getLayoutFont): adjust
4072         (getLabelFont): adjust
4073
4074         * paragraph.C (getFont): adjust
4075         (getLabelFont): adjust
4076         (getLayoutFont): adjust
4077
4078         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4079
4080 2003-04-15  John Levon  <levon@movementarian.org>
4081
4082         From Angus Leeming
4083
4084         * lyx_main.C: handle Include in .ui files
4085
4086 2003-04-15  John Levon  <levon@movementarian.org>
4087
4088         * MenuBackend.C: make the doc files length shorter
4089
4090         * ToolbarBackend.h:
4091         * ToolbarBackend.C: handle toolbar placement flags,
4092         Minibuffer
4093
4094 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4095
4096         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4097         adjust
4098
4099         * paragraph_funcs.C (TeXOnePar): adjust
4100
4101         * paragraph.C (getLabelFont): add outerfont arg, adjust
4102         (getLayoutFont): ditto
4103         (simpleTeXOnePar): adjust
4104
4105         * paragraph_pimpl.C (realizeFont): delete func
4106
4107 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4108
4109         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4110         row argument, constify cur argument.
4111
4112 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4113
4114         * text2.C (getFont): adjust
4115         (getLayoutFont): adjust
4116         (getLabelFont): adjust
4117
4118         * paragraph_funcs.C (TeXOnePar): adjust
4119         (outerFont): new func...
4120         (realizeFont): ...moved out from here, changed this to facilitate
4121         transition
4122
4123         * paragraph.C (getFont): take outerfont as arg, adjust
4124         (simpleTeXOnePar): add outerfont arg, adjust
4125
4126         * buffer.C (simpleLinuxDocOnePar): adjust
4127         (simpleDocBookOnePar): adjust
4128
4129         * CutAndPaste.C (pasteSelection): adjust
4130
4131         * BufferView.C (getEncoding): adjust
4132
4133 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4134
4135         * text2.C (setCharFont): adjust
4136         (setCounter): adjust
4137
4138         * text.C (leftMargin): adjust
4139         (setHeightOfRow): adjust
4140
4141         * rowpainter.C (paintFirst): adjust
4142         (paintLast): adjust
4143
4144         * paragraph_pimpl.C (realizeFont): adjust
4145
4146         * paragraph.C (isFirstInSequence): move from here...
4147         * paragraph_funcs.C (isFirstInSequence): ...to here
4148
4149         * paragraph.C (outerHook): move from here...
4150         * paragraph_funcs.C (outerHook): ...to here
4151
4152         * paragraph.C (depthHook): move from here...
4153         * paragraph_funcs.C (depthHook): ...to here
4154
4155         * paragraph.C (getEndLabel): move from here...
4156         * paragraph_funcs.C (getEndLabel): ...to here
4157
4158         * text2.C (realizeFont): move from here...
4159         * paragraph_funcs.C (realizeFont): ...to here
4160
4161 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4162
4163         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4164
4165 2003-04-14  Angus Leeming  <leeming@lyx.org>
4166
4167         * LColor.[Ch]: scrap LColor mathcursor.
4168
4169 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4170
4171         * lyxlex.[Ch] (text): delete function
4172         * trans.C (Load): adjust
4173         * paragraph_funcs.C (readParToken): adjust
4174
4175 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4176
4177         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4178         vector<char> instead of a char[].
4179
4180         * lyxlex_pimpl.C (getString): adjust
4181         (next): adjust
4182         (lex): use getString
4183         (eatLine): adjust
4184         (nextToken): adjust
4185
4186         * lyxlex.C (text): use pimpl_->getString()
4187         (getBool): ditto
4188         (findToken): ditto
4189
4190 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4191
4192         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4193         (makeFontEntriesLayoutSpecific): temp var for par.size()
4194         (setLayout): temp var for ownerParagraphs().end()
4195         (fullRebreak): temp var for rows().end()
4196         (selectionAsString): temp var for boost::next(startpit), realize
4197         that the while really is a regular for loop.
4198         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4199         setCursor in one place.
4200         (setParagraph): temp vr for ownerParagraphs().end()
4201         (updateCounters): make the while loop a for loop
4202         (cutSelection): temp var for ownerParagraphs().end()
4203         (updateInset): make the do {} while() a regular for loop
4204         (getCursorX): use temp vars
4205         (setCurrentFont): use temp vars
4206         (getColumnNearX): use temp vars
4207
4208 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4209
4210         * text.C (transformChar): use temp var for getChar
4211         (computeBidiTables): use temp var for row->par()
4212         (fill): move temp vars for row->par() and pit->layout() earlier in
4213         the function.
4214         (labelFill): use temp var for row->par()
4215         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4216         asc and desc, realize that pit never changes and that firstpit is
4217         just a duplicate and not needed. Exchange rit->par() with pit in a
4218         lot of places.
4219         (breakAgain): use a temp var for boost::next(rit)
4220         (breakAgainOneRow): ditto
4221         (breakParagraph): use a temp var for rows().begin()
4222         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4223         (cursorRightOneWord): use temp var for cursor.par() and
4224         cursor.pos(), remove usage of tmpcursor.
4225         (cursorLeftOneWord): use temp var for cursor.par() and
4226         cursor.pos() only set cur at end of function.
4227
4228 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4229
4230         * text.C, text2.C: exchange all usage of Paragraph::next with
4231         boost::next(ParagraphList::iterator)
4232
4233         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4234
4235         * text2.C (cursorTop): simplify implementation
4236         (cursorBottom): ditto
4237         (setParagraph): use ParagraphList::iterator
4238         (setCurrentFont): adjust
4239         (getColumnNearX): adjust
4240         (cursorRight): adjust
4241         (cursorLeft): remove usage of Paragraph::previous
4242         (cursorUpParagraph): ditto
4243         (deleteEmptyParagraphMechanism): slight cleanup
4244
4245         * text.C (isBoundary): take a Paragraph const & instead of a
4246         pointer as arg.
4247         (addressBreakPoint): ditto
4248         (leftMargin): remove usage of Paragraph::previous.
4249         (setHeightOfRow): ditto
4250         (cursorLeftOneWord): ditto
4251         (selectNextWordToSpellcheck): ditto
4252         (Delete): ditto
4253         (backspace): ditto
4254         (breakParagraph): remove one usage of Paragraph::next
4255         (redoParagraph): ditto
4256         (acceptChange): ditto
4257         (insertChar): adjust
4258         (rowBreakPoint): adjust
4259
4260         * bufferview_funcs.C (toggleAndShow): adjust
4261
4262 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4263
4264         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4265         methods to access it.
4266         * lyxtext.h:
4267         * text.C: Added updateRowPositions to compute all row positions.
4268         Make top_y and getRowNearY() to use the cached y position
4269
4270 2003-04-11  John Levon  <levon@movementarian.org>
4271
4272         * text.C (rowBreakPoint): reintroduce the labelEnd
4273         checks, code copied from the row fill stuff. Deep voodoo.
4274
4275         * text.C (fill): add a comment and debugging for the
4276         next poor soul.
4277
4278 2003-04-11  John Levon  <levon@movementarian.org>
4279
4280         * text.C: make sure fullrow insets get wrapped to the next line,
4281         even when they're in a manual label
4282
4283 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4284
4285         * text2.C (insertParagraph): make it take ParagraphList::iterator
4286         as arg.
4287         (setLayout): make it return ParagraphList::iterator
4288         (redoParagraphs): ditto
4289         (setCounter): ditto
4290         (checkParagraph): ditto
4291
4292         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4293
4294         * text2.C: adjust several funcs.
4295         (realizeFont): take a ParagraphList::iterator as arg.
4296         (getLayoutFont): ditto
4297         (getLabelFont): ditto
4298         (setCharFont): ditto
4299
4300         * text.C: adjust several funcs.
4301
4302 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4303
4304         * text.C (selectNextWordToSpellcheck): don't accidentally
4305         skip insets
4306
4307 2003-04-10  John Levon  <levon@movementarian.org>
4308
4309         * ToolbarBackend.C (getIcon): special handling for
4310         LFUN_MATH_DELIM
4311
4312 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4313
4314         * text2.C (cursorRight): a getChar assert fixed
4315
4316 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4317
4318         * text2.C (getFont): change to take a ParagraphList::iterator
4319         instead of Paragraph*
4320         Adjust several functions.
4321
4322         * text.C (transformChar): change to take a ParagraphList::iterator
4323         instead of Paragraph*
4324         (singleWidth): ditto
4325         Adjust several functions.
4326
4327         * rowpainter.C: adjust several functions
4328         * rowpainter.h:store a ParagraphList::iterator and not a
4329         Paragraph&.
4330
4331
4332 2003-04-09  John Levon  <levon@movementarian.org>
4333
4334         * lyxfunc.C:
4335         * lfuns.h:
4336         * LyXAction.h:
4337         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4338         and the "help" bits as well
4339
4340 2003-04-09  John Levon  <levon@movementarian.org>
4341
4342         * ToolbarBackend.h:
4343         * ToolbarBackend.C: allow multiple toolbars
4344
4345 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4346
4347         * undo_funcs.C (setCursorParUndo): adjust
4348
4349         * text_funcs.C (transposeChars): adjust
4350
4351         * text3.C (gotoNextInset): adjust
4352         (dispatch): adjust
4353
4354         * text2.C (setLayout): adjust
4355         (changeDepth): adjust
4356         (setFont): adjust
4357         (redoParagraphs): adjust
4358         (selectionAsString): adjust
4359         (setParagraph): adjust
4360         (insertInset): adjust
4361         (cutSelection): adjust
4362         (copySelection): adjust
4363         (pasteSelection): adjust
4364         (insertStringAsLines): adjust
4365         (updateInset): adjust
4366         (setCursor): change to take a ParagraphList::iterator parameter
4367         (setCursorIntern): change to take a ParagraphList::iterator parameter
4368         (setCurrentFont): adjust
4369         (cursorLeft): adjust
4370         (cursorRight): adjust
4371         (deleteEmptyParagraphMechanism): adjust
4372
4373         * text.C (breakParagraph): adjust
4374         (insertChar): adjust
4375         (acceptChange): adjust
4376         (rejectChange): adjust
4377         (selectNextWordToSpellcheck): adjust
4378         (changeCase): adjust
4379         (Delete): adjust
4380         (backspace): adjust
4381
4382         * lyxfind.C (SearchForward): adjust
4383         (SearchBackward): adjust
4384         (nextChange): adjust
4385
4386         * lyxcursor.C (par): adjust
4387
4388         * lyxcursor.h: store a ParagraphList::iterator instead of a
4389         Paragraph*
4390
4391         * lyx_cb.C (getPossibleLabel): adjust
4392
4393         * bufferview_funcs.C (toggleAndShow): adjust
4394
4395         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4396         (dispatch): adjust
4397
4398         * BufferView.C (removeAutoInsets): adjust
4399         (lockedInsetStoreUndo): adjust
4400
4401 2003-04-09  John Levon  <levon@movementarian.org>
4402
4403         * ToolbarBackend.C: try icon without argument
4404         if with argument fails
4405
4406 2003-04-08  John Levon  <levon@movementarian.org>
4407
4408         * ToolbarBackend.h:
4409         * ToolbarBackend.C: add getIcon(), handle tooltip,
4410         and change from "Icon" to "Item".
4411
4412 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4413
4414         * BufferView.C (lockInset): another bad getchar crunched
4415
4416 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4417
4418         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4419         again)
4420
4421 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4422
4423         * lyxfind.C (searchForward, searchBackwards): bug 782
4424
4425 2003-04-07  John Levon  <levon@movementarian.org>
4426
4427         * paragraph.C: remove dead comment
4428
4429         * text.C: remove troublesome depth-fiddling code
4430         in leftMargin() and rightMargin() (bug 1017)
4431
4432         * text.C: fix breaking of rows in nested lists
4433         (bug 1004)
4434
4435         * text2.C (updateCounters): fix up depth values
4436         (bug 1013)
4437
4438 2003-04-07  John Levon  <levon@movementarian.org>
4439
4440         * BufferView_pimpl.C: clear message when doc finishes resizing,
4441         and after a mouse event
4442
4443         * lyxfunc.C: clear message after exiting inset
4444
4445 2003-04-07  John Levon  <levon@movementarian.org>
4446
4447         * bufferview_funcs.C: show math status not outside
4448         status in the statusbar
4449
4450 2003-04-07  John Levon  <levon@movementarian.org>
4451
4452         * lyxfunc.C: note status changed after a depth change
4453
4454 2003-04-04  Angus Leeming  <leeming@lyx.org>
4455
4456         * LaTeX.h: move AuxInfo operator==, != out of line.
4457         Remove LaTeX virtual destructor; nothing derives from it.
4458         Move operator()() out of public area and rename it startscript().
4459         Change protected for private.
4460
4461 2003-04-04  Angus Leeming  <leeming@lyx.org>
4462
4463         * lyxfunc.C:
4464         * text2.C: remove unneeded #includes.
4465
4466 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4467
4468         * text2.C (dEPM): fix the heigth of the next row
4469
4470 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4471
4472         * text.C: squashed an invalid getChar requester + some ws changes
4473
4474 2003-04-03  John Levon  <levon@movementarian.org>
4475
4476         * bufferview_funcs.h:
4477         * bufferview_funcs.C:
4478         * lyxfunc.C:
4479         * lyxtext.h:
4480         * text2.C: make getStatus work for the env depth lfuns
4481
4482 2003-04-03  John Levon  <levon@movementarian.org>
4483
4484         * bufferview_funcs.h:
4485         * bufferview_funcs.C:
4486         * lyxfunc.C:
4487         * lyxtext.h:
4488         * text2.C: parlistize decDepth(), by merging it with incDepth()
4489
4490 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4491
4492         * lyxrow.h: store a ParagraphList::iterator instead of a
4493         Paragraph* and adjust other class functions to suit.
4494
4495         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4496         above.
4497
4498 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4499
4500         * text2.C (setCursor): do not anchor to cursor row for the time being
4501
4502 2003-04-02  John Levon  <levon@movementarian.org>
4503
4504         * LyXAction.C:
4505         * lfuns.h:
4506         * lyx_main.C:
4507         * lyxtext.h:
4508         * text.C:
4509         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4510
4511 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4512
4513         * paragraph.h: make ParagraphList and ParagraphList::iterator
4514         friends of Paragraph.
4515
4516         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4517
4518         * ParagraphList.C: Use the private next_ and previous_ from
4519         Paragraph.
4520
4521 2003-04-01  John Levon  <levon@movementarian.org>
4522
4523         * ToolbarBackend.h:
4524         * ToolbarBackend.C:
4525         * Makefile.am: rename, remove defaults gunk
4526
4527         * MenuBackend.h:
4528         * MenuBackend.C: remove defaults gunk
4529
4530         * Languages.h:
4531         * Languages.C: remove defaults gunk
4532
4533         * lyx_main.h:
4534         * lyx_main.C: error out if files couldn't be found.
4535
4536 2003-04-02  John Levon  <levon@movementarian.org>
4537
4538         * text2.C: make incDepth() use parlist
4539
4540 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4541
4542         * undo_funcs.C (firstUndoParagraph): adjust
4543
4544         * text3.C (gotoInset): adjust
4545         (dispatch): adjust, and rewrite loop.
4546
4547         * text2.C (init): adjust, and rewrite loop.
4548         (redoParagraphs): adjust
4549         (updateInset): adjust, and rewrite loop.
4550         (deleteEmptyParagraphMechanism): adjust
4551
4552         * tabular.C (LyXTabular): adjust
4553         (SetMultiColumn): adjust
4554         (TeXRow): adjust
4555
4556         * lyxtext.[Ch] (ownerParagraph): delete function
4557         (ownerParagraphs): new function returns a ParagraphList.
4558
4559         * BufferView.C (removeAutoInsets): adjust
4560         (insertErrors): adjust
4561         (setCursorFromRow): adjust
4562
4563 2003-04-01  Angus Leeming  <leeming@lyx.org>
4564
4565         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4566         in the frontends.
4567
4568 2003-04-02  John Levon  <levon@movementarian.org>
4569
4570         * lyxtext.h:
4571         * text.C:
4572         * Makefile.am:
4573         * text_funcs.h:
4574         * text_funcs.C: make transposeChars a free function
4575
4576         * lyxrow_funcs.C: remove wrong comment
4577
4578 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4579
4580         * lyxtext.h: adjust
4581         * rowpainter.C: adjust
4582         * text.C: adjust
4583         * text2.C: adjust
4584         * text3.C: adjust
4585
4586         * lyxrow_funcs. [Ch]: new files
4587
4588         * lyxrow.[Ch]: remove next and previous pointers
4589         (next,previous): remove accessor functions
4590         (isParEnd): move to lyxrow_funcs
4591         (lastPos): move to lyxrow_funcs
4592         (nextRowIsAllInset): move to lyxrow_funcs
4593         (lastPrintablePos): move to lyxrow_funcs
4594         (numberOfSeparators): move to lyxrow_funcs
4595         (numberOfHfills): move to lyxrow_funcs
4596         (numberOfLabelHfills): move to lyxrow_funcs
4597         (hfillExpansion): move to lyxrow_funcs
4598
4599         * lyxfunc.C: adjust
4600
4601         * bufferview_funcs.C (toggleAndShow): adjust
4602
4603         * RowList.h: Remove class RowList from file leave just a
4604         std::list<Row>.
4605
4606         * RowList.C: delete file
4607
4608         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4609         and lyxrow_funcs.h
4610
4611 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4612
4613         * text3.C (cursorPrevious): adjust
4614         (cursorNext): adjust
4615         (dispatch): adjust
4616
4617         * text2.C (redoHeightOfParagraph): adjust
4618         (redoDrawingOfParagraph): adjust
4619         (setCursor): adjust
4620
4621         * text.C (breakParagraph): adjust
4622         (insertChar): adjust
4623         (backspace): adjust
4624
4625         * rowpainter.C (RowPainter): adjust
4626         (leftMargin): simplify and adjust
4627         (most rowpainter functions): adjust.
4628
4629         * rowpainter.h: store the row as RowList::iterator not as Row*
4630
4631         * lyxcursor.C (row): taka RowList::iterator as arg
4632         (irow): ditto
4633
4634         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4635         of Row*.
4636
4637 2003-04-01  Angus Leeming  <leeming@lyx.org>
4638
4639         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4640         stuff like bool Bool.
4641
4642 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4643
4644         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4645         rewrite a loop
4646
4647 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4648
4649         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4650         RowList::iterator.
4651
4652         * lyxtext.h (rows): drop one version and leve a const variant that
4653         returns a RowList::iterator.
4654
4655 2003-03-31  Angus Leeming  <leeming@lyx.org>
4656
4657         * text.C (fill): ensure that the signature is the same as that in the
4658         header file.
4659
4660 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4661
4662         * text2.C (redoParagraphs): adjust
4663         (updateCounters): adjust
4664         (checkParagraph): adjust
4665         (getColumnNearX): adjust and reformat a bit.
4666
4667         * text.C (top_y): adjust
4668         (workWidth): adjust
4669         (leftMargin): adjust
4670         (prepareToPrint): adjust
4671         (getRow): adjust
4672         (getRowNearY): adjust
4673
4674         * lyxtext.h: make rowlist_ mutable.
4675
4676         * RowList.h: add const_iterator
4677         * RowList.C: adjust for RowList::const_iterator.
4678
4679         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4680         adjust.
4681
4682 2003-03-31  John Levon  <levon@movementarian.org>
4683
4684         * lyxrc.h:
4685         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4686
4687         * lyx_main.C: set default fonts from using lyx_gui funcs
4688
4689         * exporter.C: pdf_mode moved from lyxrc
4690
4691         * lyx_cb.C:
4692         * lyxfunc.C: changes from above
4693
4694 2003-03-31  John Levon  <levon@movementarian.org>
4695
4696         * lyx_main.C: fix to the last fix
4697
4698 2003-03-31  John Levon  <levon@movementarian.org>
4699
4700         * bufferlist.C: "Load original" -> "Load Original"
4701
4702         * converter.C:
4703         * exporter.C:
4704         * importer.C:
4705         * lyx_main.C:
4706         * format.C: more Alert cleanups
4707
4708 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4709
4710         * text2.C (removeParagraph): make it take a RowList::iterator as
4711         arg, adjust.
4712         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4713         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4714
4715         * text.C (anchor_row): make it take a RowList::iterator as arg,
4716         adjust.
4717         (computeBidiTables): make it take a const reference to Row instead
4718         of Row pointer, adjust.
4719         (leftMargin): make it take a RowList::iterator as arg, adjust.
4720         (rowBreakPoint): adjust
4721         (breakAgainOneRow): make it take a RowList::iterator as arg,
4722         adjust.
4723         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4724
4725         * bufferview_funcs.C (toggleAndShow): adjust
4726
4727 2003-03-30  John Levon  <levon@movementarian.org>
4728
4729         * Makefile.am:
4730         * BoostFormat.h:
4731         * boost-inst.C: moved to support
4732
4733         * several files: changes as a result
4734
4735 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4736
4737         * text2.C (LyXText): adjust.
4738         (init): adjust
4739         (removeRow): make it take a RowList::iterator as arg, adjust.
4740         (fullRebreak): adjust
4741         (deleteEmptyParagraphMechanism): adjust
4742         (clearPaint): adjust
4743         (postPaint): adjust
4744
4745         * text.C (top_y): adjust
4746         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4747         (breakAgain): make it take a RowList::iterator as arg, adjust.
4748         (breakParagraph): adjust
4749         (insertChar): adjust
4750         (backspace): adjust
4751
4752         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4753         need_break_row, and refresh_row.
4754
4755         * text3.C (dispatch): adjust
4756
4757         * text2.C (checkParagraph): adjust
4758         (setCursor): adjust
4759         (setCursorFromCoordinates): adjust
4760
4761         * text.C (top_y): adjust
4762         (workWidth): adjust
4763         (getRow): make it return a RowList::iterator, adjust
4764         (getRowNearY): make it return a RowList::iterator, adjust
4765
4766         * text2.C (init): adjust
4767         (insertRow): remove function
4768         (insertParagraph): adjust
4769         (redoParagraphs): adjust
4770         (fullRebreak): adjust
4771         (updateCounters): adjust
4772
4773         * text.C (top_y): rewrite to use RowList iterators.
4774         (top_y): adjust
4775         (setHeightOfRow): rewrite to sue RowList iterators.
4776         (appendParagraph): adjust
4777         (breakAgain): adjust
4778         (breakAgainOneRow): adjust
4779         (breakParagraph): adjust
4780         (getRow): adjust
4781         (getRowNearY): adjust, and remove commented code.
4782
4783         * lyxtext.h (firstRow): delete function
4784         (lastRow): delete function
4785         (rows): new function (const and non-const versions.)
4786         (insertRow): delete function
4787
4788         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4789
4790 2003-03-29  John Levon  <levon@movementarian.org>
4791
4792         * BufferView_pimpl.C: always update scrollbar top
4793         because pasting text when we're anchored could mean we
4794         miss an update altogether
4795
4796 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4797
4798         * text2.C (init): use rowlist_.end() and not 0.
4799         (insertRow): change to take a RowList::iterator as arg, adjust
4800         for this.
4801         (insertParagraph): change to take a RowList::iterator as arg,
4802         adjust for this.
4803         (redoParagraphs): remove some debug msgs.
4804
4805         * text.C (appendParagraph): change to take a RowList::iterator
4806         arg, adjust for this.
4807         (breakAgain): add an assert
4808         (breakAgainOneRow): ditto
4809
4810 2003-03-29  John Levon  <levon@movementarian.org>
4811
4812         * text2.C: do not clear selection after inc/decDepth
4813         (bug 550)
4814
4815 2003-03-29  John Levon  <levon@movementarian.org>
4816
4817         * BufferView.C:
4818         * buffer.C: fix broken strerrors according to Lars
4819
4820 2003-03-29  John Levon  <levon@movementarian.org>
4821
4822         * converters.C: more Alert cleanups
4823
4824 2003-03-29  John Levon  <levon@movementarian.org>
4825
4826         * bufferview_funcs.C: remove pointless Alert
4827
4828         * buffer.C: fix confusing error message when
4829         a template is chmoded 000
4830
4831 2003-03-29  John Levon  <levon@movementarian.org>
4832
4833         * BufferView.C:
4834         * BufferView.h:
4835         * BufferView_pimpl.C: Alert fixes
4836
4837         * Makefile.am:
4838         * tabular.C:
4839         * tabular-old.C: remove unused table compat reading
4840
4841 2003-03-29  John Levon  <levon@movementarian.org>
4842
4843         * BufferView.C:
4844         * buffer.C:
4845         * lyx_cb.h:
4846         * lyx_cb.C: more Alert cleanups
4847
4848         * lyxfunc.C: don't allow chktex if not latex document
4849
4850 2003-03-29  John Levon  <levon@movementarian.org>
4851
4852         * lyx_cb.C:
4853         * BufferView.C:
4854         * buffer.C: warnings pushed down from support/,
4855         kill err_alert
4856
4857 2003-03-29  John Levon  <levon@movementarian.org>
4858
4859         * lyxfunc.C: safety check for C-r (revert)
4860
4861 2003-03-29  John Levon  <levon@movementarian.org>
4862
4863         * bufferlist.h:
4864         * bufferlist.C: several UI fixes using Alert::prompt.
4865         Fix the pointless looping quit code. Fix stupid revert
4866         behaviour (bug 938)
4867
4868         * lyxvc.h:
4869         * lyxvc.C:
4870         * lyx_cb.C: use Alert::prompt
4871
4872         * lyx_main.C: remove a silly question
4873
4874         * lyxfunc.C: remove a couple of silly questions,
4875         use Alert::prompt
4876
4877 2003-03-28  John Levon  <levon@movementarian.org>
4878
4879         * text2.C: fix bug 974 (End on empty par)
4880
4881 2003-03-28  John Levon  <levon@movementarian.org>
4882
4883         * BufferView_pimpl.C:
4884         * LyXAction.C:
4885         * lfuns.h: remove do-nothing math greek lfuns
4886
4887 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4888
4889         * lyxgluelength.h (isValidGlueLength): add default arg on
4890         parameter 2. Remove default arg from friend in class.
4891
4892         * lyxlength.h (isValidLength): add default arg on parameter 2.
4893         Remove default arg from friend in class.
4894
4895         * text2.C (LyXText): adjust, initialize refresh_row.
4896         (init): adjust
4897         (removeRow): adjust
4898         (insertRow): adjust
4899         (insertParagraph): adjst
4900         (redoParagraphs): adjust
4901         (fullRebreak): adjust
4902         (updateCounters): adjust
4903         (deleteEmptyParagraphMechanism): first attempt at fixing a
4904         crashing bug.
4905
4906         * text.C (top_y): adjust
4907         (setHeightOfRow): adjust
4908         (getRow): adjust
4909         (getRowNearY): adjust
4910
4911         * lyxtext.h: include RowList.h
4912         (~LyXText): not needed anymore, deleted.
4913         (firstRow): modify for RowList
4914         (lastRow): new function
4915         Delete firstrow and lastrow class variables, add a Rowlist
4916         rowlist_ class variable.
4917
4918         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4919         paragraph is empty.
4920
4921         * RowList.C (insert): fix case where it == begin().
4922
4923 2003-03-26  Angus Leeming  <leeming@lyx.org>
4924
4925         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4926         the thesaurus dialog.
4927
4928 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4929
4930         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4931
4932         * RowList.[Ch]: new files
4933
4934         * ParagraphList.C (erase): handle the case where it == begin
4935         correctly.
4936
4937 2003-03-25  John Levon  <levon@movementarian.org>
4938
4939         * Makefile.am:
4940         * aspell_local.h:
4941         * aspell.C: add new aspell support
4942
4943         * lyxrc.h:
4944         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4945         have it accessible.
4946
4947 2003-03-25  Angus Leeming  <leeming@lyx.org>
4948
4949         * lfuns.h:
4950         * LyXAction.C (init): new LFUN_INSET_INSERT.
4951
4952         * BufferView_pimpl.C (dispatch): split out part of the
4953         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4954
4955         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4956         LFUN_INSET_APPLY.
4957
4958 2003-03-25  Angus Leeming  <leeming@lyx.org>
4959
4960         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4961
4962 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4963
4964         * text2.C:
4965         * text3.C: remove useless row->height(0)
4966
4967 2003-03-25  John Levon  <levon@movementarian.org>
4968
4969         * lyxtext.h:
4970         * text2.C:
4971         * text3.C: rename the refreshing stuff to better names
4972
4973 2003-03-24  John Levon  <levon@movementarian.org>
4974
4975         * BufferView_pimpl.h:
4976         * BufferView_pimpl.C: update layout choice on a mouse
4977         press/release
4978
4979 2003-03-23  John Levon  <levon@movementarian.org>
4980
4981         * Makefile.am: fix commandtags.h reference
4982
4983 2003-03-22  John Levon  <levon@movementarian.org>
4984
4985         * BufferView_pimpl.C:
4986         * lyxtext.h:
4987         * rowpainter.C:
4988         * rowpainter.h:
4989         * text.C:
4990         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4991
4992 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4993
4994         * lyxtext.h:
4995         * text.C: take the rtl methods out of line
4996
4997 2003-03-21 André Pönitz <poenitz@gmx.net>
4998
4999         * metricsinfo.[Ch]: new files containing structures to be passed around
5000         during the two-phase-drawing...
5001
5002 2003-03-21 André Pönitz <poenitz@gmx.net>
5003
5004         * lyxtextclass.C: read 'environment' tag.
5005
5006 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5007
5008         * text2.C (removeRow): fix bug 964
5009
5010 2003-03-20  John Levon  <levon@movementarian.org>
5011
5012         * rowpainter.C:
5013         * text.C:
5014         * text2.C: paint cleanups. Inset::update() dropped font
5015         parameter
5016
5017 2003-03-19  John Levon  <levon@movementarian.org>
5018
5019         * lyxfunc.C: only fitcursor/markDirty if available()
5020
5021 2003-03-19  John Levon  <levon@movementarian.org>
5022
5023         * commandtags.h: rename to ...
5024
5025         * lfuns.h: ... this, and renumber / cleanup
5026
5027 2003-03-19  John Levon  <levon@movementarian.org>
5028
5029         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5030         fit the cursor after an lfun
5031
5032         * BufferView.h:
5033         * BufferView.C:
5034         * BufferView_pimpl.h:
5035         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5036
5037         * LyXAction.C: layout-character should have ReadOnly
5038
5039         * ParagraphParameters.C:
5040         * buffer.C:
5041         * bufferview_funcs.C:
5042         * lyx_cb.C:
5043         * lyxfind.C:
5044         * lyxtext.h:
5045         * text.C:
5046         * text2.C:
5047         * text3.C:
5048         * undo_funcs.C: changes from above
5049
5050 2003-03-18  John Levon  <levon@movementarian.org>
5051
5052         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5053         remove it from update()
5054
5055         * lyxfunc.C: update layout choice after an lfun
5056
5057         * text3.C: remove extra updateLayoutChoice()s
5058
5059 2003-03-18  John Levon  <levon@movementarian.org>
5060
5061         * text.C: top_y change means full repaint, fix
5062         a drawing bug with cursor movement
5063
5064 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5065
5066         * lyxtext.h:
5067         * text.C:
5068         * text2.C: anchor row on setCursor
5069
5070 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5071
5072         * lyxtext.h: remove almost all mutable keywords
5073         * text.C:
5074         * text2.C:
5075         * text3.C: remove const keywords accordingly
5076
5077 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5078
5079         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5080         anon namespace
5081         (TeXEnvironment): ditto
5082         (TeXOnePar): ditto
5083
5084 2003-03-17  John Levon  <levon@movementarian.org>
5085
5086         * text.C (rowBreakPoint): remove attempt to fix displayed
5087         math insets inside a manual label
5088
5089 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5090
5091         * lyxtext.h: remove BufferView* as first arg from almost all class
5092         functions.
5093         * other files: adjust.
5094
5095 2003-03-17  John Levon  <levon@movementarian.org>
5096
5097         * lyxtext.h:
5098         * undo_funcs.C:
5099         * text2.C: more paint cleanups
5100
5101         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5102
5103         * rowpainter.h:
5104         * rowpainter.C: remove "smart" background painting code
5105
5106 2003-03-16  John Levon  <levon@movementarian.org>
5107
5108         * lyxtext.h:
5109         * text.C:
5110         * text2.C:
5111         * text3.C: add helper functions for setting refresh_row/y
5112
5113 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5114
5115         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5116         newline inset which *can* get inserted in the pass_thru layouts.
5117         This is primarily for literate documents.
5118
5119 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5120
5121         * buffer.C: increment LYX_FORMAT to 223
5122
5123 2003-03-14 André Pönitz <poenitz@gmx.net>
5124
5125         * textclass.h: prepare for environment handling, ws changes
5126         * lyxlayout.C: read latexheader and latexfooter tags
5127
5128 2003-03-14  John Levon  <levon@movementarian.org>
5129
5130         * text2.C: rewrite ::status() a bit
5131
5132 2003-03-13  John Levon  <levon@movementarian.org>
5133
5134         * lyxtext.h: add some docs
5135
5136 2003-03-13  John Levon  <levon@movementarian.org>
5137
5138         * lyxtext.h:
5139         * text.C:
5140         * text2.C:
5141         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5142
5143 2003-03-13  John Levon  <levon@movementarian.org>
5144
5145         * text3.C: fix appendix redrawing
5146
5147 2003-03-13  John Levon  <levon@movementarian.org>
5148
5149         * text.C (setHeightOfRow):
5150         * rowpainter.h:
5151         * rowpainter.C: make appendix mark have the text
5152           "Appendix" so the user knows what it is
5153
5154         * LColor.h:
5155         * LColor.C: s/appendixline/appendix/ from above
5156
5157 2003-03-13  John Levon  <levon@movementarian.org>
5158
5159         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5160
5161         * text.C: fix a getChar(pos) bug properly
5162
5163 2003-03-13  Angus Leeming  <leeming@lyx.org>
5164
5165         * commandtags.h:
5166         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5167         Probably only temporary. Let's see how things pan out.
5168
5169         * BufferView.C (unlockInset):
5170         * BufferView_pimpl.C (fitCursor):
5171         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5172
5173         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5174         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5175
5176         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5177         new functions that convert ParagraphParameters to and from a string.
5178
5179         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5180         BufferView::Pimpl's dispatch.
5181         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5182
5183 2003-03-13 André Pönitz <poenitz@gmx.net>
5184
5185         * lyxfunc.C:
5186         * text3.C:
5187         * factory.C: make it aware of InsetEnv
5188
5189 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5190
5191         * text2.C (setCursor): never ask for one past last
5192         (setCursor): add some debugging messages.
5193
5194         * text.C (singleWidth): never ask for one past last
5195         (singleWidth): ditto
5196         (leftMargin): ditto
5197         (rightMargin): ditto
5198         (rowBreakPoint): ditto
5199         (setHeightOfRow): ditto
5200         (prepareToPrint): ditto
5201
5202         * rowpainter.C (paintBackground): never ask for one past last
5203         (paintText): never ask for one past last
5204
5205         * paragraph_pimpl.C (getChar): make the assert stricter, never
5206         allow the one past last pos to be taken
5207
5208         * paragraph.C (getChar): ws changes only
5209
5210         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5211         (numberOfSeparators): ditto
5212         (numberOfHfills): ditto
5213
5214 2003-03-12  John Levon  <levon@movementarian.org>
5215
5216         * author.h:
5217         * author.C:
5218         * bufferparams.h:
5219         * bufferparams.C:
5220         * paragraph_funcs.C: fix per-buffer authorlists
5221
5222 2003-03-12  John Levon  <levon@movementarian.org>
5223
5224         * text.C: fix newline in right address
5225
5226 2003-03-12  Angus Leeming  <leeming@lyx.org>
5227
5228         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5229         duplicate those in LyXFunc::dispatch.
5230
5231         * commandtags.h:
5232         * LyXAction.C:
5233         * ToolbarDefaults.C:
5234         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5235         Add LFUN_FONTFREE_UPDATE.
5236
5237         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5238         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5239
5240         * bufferview_func.[Ch]: several new functions to facilliate
5241         transfer of data to and from the character dialog.
5242
5243 2003-03-12  John Levon  <levon@movementarian.org>
5244
5245         * buffer.C:
5246         * paragraph.h:
5247         * paragraph.C:
5248         * paragraph_funcs.C:
5249         * paragraph_pimpl.C:
5250         * sgml.C:
5251         * tabular.C:
5252         * text.C:
5253         * text3.C: remove META_NEWLINE in favour of an inset
5254
5255         * rowpainter.h:
5256         * rowpainter.C: remove paintNewline (done by inset)
5257
5258 2003-03-12  John Levon  <levon@movementarian.org>
5259
5260         * paragraph_pimpl.C: complain about bad getChar()s
5261         for a while at least
5262
5263 2003-03-12  John Levon  <levon@movementarian.org>
5264
5265         * buffer.h:
5266         * buffer.C: move paragraph read into a separate function,
5267         a little renaming to reflect that.
5268
5269         * bufferparams.h:
5270         * bufferparams.C: remove the author_ids map, not necessary now
5271
5272         * factory.h:
5273         * factory.C: moved Buffer::readInset to here
5274
5275         * paragraph_funcs.h:
5276         * paragraph_funcs.C: readParagraph free function moved from
5277         buffer.C
5278
5279         * tabular.C: name change
5280
5281 2003-03-12  John Levon  <levon@movementarian.org>
5282
5283         * buffer.C:
5284         * ParagraphParameters.C: move par params input to
5285         a read() method
5286
5287         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5288         behave like a normal read from the stream wrt reading
5289         a line vs. a \\token
5290
5291 2003-03-12  John Levon  <levon@movementarian.org>
5292
5293         * paragraph.C:
5294         * ParagraphParameters.h:
5295         * ParagraphParameters.C: move output code to a
5296         ::write() method
5297
5298 2003-03-12  John Levon  <levon@movementarian.org>
5299
5300         * BufferView.C (insertLyXFile):
5301         * buffer.h:
5302         * buffer.C:
5303         * tabular.C: use a parlist iterator for creating the
5304           document.
5305
5306 2003-03-12  John Levon  <levon@movementarian.org>
5307
5308         * buffer.C: make current_change static local not
5309           static file-scope
5310
5311 2003-03-12  John Levon  <levon@movementarian.org>
5312
5313         * buffer.C: fix insertStringAsLines for change tracking
5314
5315 2003-03-12  John Levon  <levon@movementarian.org>
5316
5317         * BufferView.C:
5318         * tabular.C:
5319         * buffer.h:
5320         * buffer.C:
5321         * bufferparams.h:
5322         * bufferparams.C: move author list into params. Rename some
5323           functions. Move the header reading into a separate token
5324           loop. Move the header token reading into BufferParams.
5325
5326 2003-03-12  John Levon  <levon@movementarian.org>
5327
5328         * changes.C: put debug inside lyxerr.debugging() checks
5329
5330 2003-03-11 André Pönitz <poenitz@gmx.net>
5331
5332         * factory.C: make it aware of InsetHFill
5333
5334 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5335
5336         * buffer.C (latexParagraphs): move function from here...
5337         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5338         args.
5339
5340 2003-03-10  Angus Leeming  <leeming@lyx.org>
5341
5342         * LyXAction.C (init): fix bug in poplating array with multiple entries
5343         with the same LFUN (spotted by JMarc).
5344
5345 2003-03-10  John Levon  <levon@movementarian.org>
5346
5347         * text.C:
5348         * text2.C: move getColumnNearX() near its
5349         only call site
5350
5351 2003-03-10  John Levon  <levon@movementarian.org>
5352
5353         * text.C: fix break before a minipage
5354
5355 2003-03-10  John Levon  <levon@movementarian.org>
5356
5357         * text.C: fix the last commit
5358
5359 2003-03-09  John Levon  <levon@movementarian.org>
5360
5361         * lyxtext.h:
5362         * text.C:
5363         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5364         bug 365 (don't break before insets unless needed). Don't
5365         return a value > last under any circumstances.
5366
5367 2003-03-09  Angus Leeming  <leeming@lyx.org>
5368
5369         * BufferView_pimpl.C (trackChanges, dispatch): call
5370         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5371
5372 2003-03-09  Angus Leeming  <leeming@lyx.org>
5373
5374         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5375         than Dialogs::showAboutlyx().
5376
5377 2003-03-09  Angus Leeming  <leeming@lyx.org>
5378
5379         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5380         than Dialogs::showTabularCreate().
5381
5382 2003-03-09  John Levon  <levon@movementarian.org>
5383
5384         * lyxtext.h:
5385         * text.C:
5386         * text2.C: 3rd arg to nextBreakPoint was always the same.
5387           Use references.
5388
5389 2003-03-08  John Levon  <levon@movementarian.org>
5390
5391         * lyxrow.C:
5392         * paragraph.C:
5393         * paragraph.h:
5394         * rowpainter.C:
5395         * text.C:
5396         * text2.C: Remove the "main" bit from the "main body"
5397           notion.
5398
5399 2003-03-08  John Levon  <levon@movementarian.org>
5400
5401         * text.C (leftMargin): The left margin of an empty
5402         manual label paragraph should not include the label width
5403         string length.
5404
5405         * text.C (prepareToPrint): don't attempt to measure hfills
5406         for empty manual label paragraphs - the answer should be 0
5407
5408 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5409
5410         * CutAndPaste.C: remove commented code and reindent.
5411
5412 2003-03-08  John Levon  <levon@movementarian.org>
5413
5414         * lyxfunc.h:
5415         * lyxfunc.C: move reloadBuffer()
5416
5417         * BufferView.h:
5418         * BufferView.C: to here
5419
5420         * lyxvc.C: add comment
5421
5422         * vc-backend.h:
5423         * vc-backend.C: call bv->reload() to avoid
5424           getStatus() check on MENURELOAD
5425
5426 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5427
5428         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5429         to an old format .dep file.
5430
5431 2003-03-07  Angus Leeming  <leeming@lyx.org>
5432
5433         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5434         when the LFUN_MOUSE_RELEASE should have been handled by
5435         inset->localDispatch.
5436
5437 2003-03-07  Angus Leeming  <leeming@lyx.org>
5438
5439         * BufferView_pimpl.C (dispatch):
5440         * LyXAction.C (init):
5441         * ToolbarDefaults.C (init):
5442         * commandtags.h:
5443         * lyxfunc.C (getStatus):
5444         remove LFUN_INSET_GRAPHICS.
5445
5446         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5447
5448 2003-03-07  Angus Leeming  <leeming@lyx.org>
5449
5450         * commandtags.h:
5451         * LyXAction.C (init):
5452         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5453
5454         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5455
5456         * commandtags.h:
5457         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5458
5459         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5460         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5461
5462 2003-03-07  Angus Leeming  <leeming@lyx.org>
5463
5464         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5465         remove "ert".
5466
5467 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5468
5469         * ParagraphList.C (front): new function
5470         (back): implement
5471
5472 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5473
5474         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5475         and top_row_offset_. removed var first_y.
5476         * text.C (top_y):
5477         * text2.C (LyXText, removeRow):
5478         * text3.C:
5479         * BufferView_pimpl.C:
5480         use these methods instead of using first_y
5481
5482 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5483
5484         * text2.C (pasteSelection): adjust for checkPastePossible
5485
5486         * CutAndPaste.C: remove Paragraph * buf and replace with
5487         ParagraphList paragraphs.
5488         (DeleteBuffer): delete
5489         (cutSelection): change the tc type to textclass_type
5490         (copySelection): change the tc type to textclass_type
5491         (copySelection): adjust for ParagraphList
5492         (pasteSelection): change the tc type to textclass_type
5493         (pasteSelection): adjust for Paragraphlist
5494         (nrOfParagraphs): simplify for ParagraphList
5495         (checkPastePossible): simplify for ParagraphList
5496         (checkPastePossible): remove unused arg
5497
5498         * ParagraphList.C (insert): handle the case where there are no
5499         paragraphs yet.
5500
5501         * CutAndPaste.h: make CutAndPaste a namespace.
5502
5503         * text3.C (dispatch): adjust
5504
5505         * text.C (breakParagraph): add a ParagraphList as arg
5506
5507         * paragraph_funcs.C (breakParagraph): change to take a
5508         BufferParams and a ParagraphList as args.
5509         (breakParagraphConservative): ditto
5510         (mergeParagraph): ditto
5511         (TeXDeeper): add a ParagraphList arg
5512         (TeXEnvironment): ditto
5513         (TeXOnePar): ditto
5514
5515         * buffer.C (readLyXformat2): adjust
5516         (insertStringAsLines): adjust
5517         (latexParagraphs): adjust
5518
5519         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5520         (cutSelection): adjust
5521         (pasteSelection): adjust
5522
5523         * BufferView_pimpl.C (insertInset): adjust
5524
5525 2003-03-05  Angus Leeming  <leeming@lyx.org>
5526
5527         * commandtags.h:
5528         * LyXAction.C (init):
5529         * BufferView_pimpl.C (dispatch):
5530         * lyxfunc.C (getStatus):
5531         remove LFUN_CHILD_INSERT.
5532
5533         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5534
5535 2003-03-05  Angus Leeming  <leeming@lyx.org>
5536
5537         * commandtags.h:
5538         * LyXAction.C (init):
5539         * src/factory.C (createInset):
5540         * lyxfunc.C (getStatus):
5541         * text3.C (dispatch):
5542         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5543
5544         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5545
5546 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5547
5548         * ParagraphList.C (insert): handle insert right before end()
5549         (erase): fix cases where it can be first or last paragraph.
5550
5551 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5552
5553         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5554         Paragraph::next and Paragraph::previous
5555         (TeXOnePar): ditto
5556
5557         * text.C (breakParagraph): adjust
5558
5559         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5560         BufferParams& as arg.
5561         (breakParagraph): use ParagraphList::insert
5562         (breakParagraphConservative): take a Buffer* instead of a
5563         BufferParams& as arg.
5564         (breakParagraphConservative): use ParagraphList::insert.
5565
5566         * buffer.C (insertStringAsLines): un-const it
5567         (insertStringAsLines): adjust
5568
5569         * ParagraphList.C (insert): new function
5570
5571         * CutAndPaste.C (pasteSelection): adjust
5572
5573         * text.C (backspace): adjust
5574
5575         * tabular.C (SetMultiColumn): adjust
5576
5577         * CutAndPaste.C (cutSelection): adjust
5578         (pasteSelection): adjust
5579
5580         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5581         Buffer const * as arg
5582
5583         * ParagraphList.C (erase): new function
5584         * paragraph_funcs.C (mergeParagraph): use it
5585         (mergeParagraph): make it take a Buffer* instead of a
5586         BufferParams* as arg
5587
5588         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5589         as arg
5590         (breakParagraphConservative): ditto
5591
5592         * paragraph.h: remove the breakParagraph friend
5593
5594         * paragraph.C (eraseIntern): new function
5595         (setChange): new function
5596
5597         * paragraph_funcs.C (mergeParagraph): make it take a
5598         ParagraphList::iterator instead of a Paragraph *, adjust
5599         accordingly.
5600
5601         * paragraph.h: move an #endif so that the change tracking stuff
5602         also works in the NO_NEXT case.
5603
5604 2003-03-04  Angus Leeming  <leeming@lyx.org>
5605
5606         * commandtags.h:
5607         * LyXAction.C: new LFUN_INSET_MODIFY.
5608
5609         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5610         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5611
5612 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5613
5614         * several files: ws changes only
5615
5616         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5617         (TeXEnvironment): ditto
5618         (TeXDeeper): ditto
5619
5620         * buffer.C (makeLaTeXFile): adjust
5621         (latexParagraphs): make it take ParagraphList::iterator as args
5622
5623 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5624
5625         * buffer.C (latexParagraphs): adjust
5626
5627         * paragraph.C (TeXOnePar): move function...
5628         (optArgInset): move function...
5629         (TeXEnvironment): move function...
5630         * paragraph_pimpl.C (TeXDeeper): move function...
5631         * paragraph_funcs.C: ...here
5632
5633         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5634
5635 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5636
5637         * buffer.C (readInset): remove compability code for old Figure and
5638         InsetInfo insets
5639
5640 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5641
5642         * buffer.C: ws changes
5643         (readInset):
5644
5645         * BufferView_pimpl.C: ditto
5646         * author.C: ditto
5647         * buffer.h: ditto
5648         * bufferlist.h: ditto
5649         * changes.h: ditto
5650         * lyxfunc.C: ditto
5651
5652 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5653
5654         * converter.[Ch]: split into itself +
5655         * graph.[Ch]
5656         * format.[Ch]
5657         * Makefile.am: += graph.[Ch] + format.[Ch]
5658         * MenuBackend.C
5659         * buffer.C
5660         * exporter.C
5661         * importer.C
5662         * lyx_main.C
5663         * lyxfunc.C
5664         * lyxrc.C: added #include "format.h"
5665
5666 2003-02-27  Angus Leeming  <leeming@lyx.org>
5667
5668         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5669           a label.
5670
5671         * factory.C (createInset): add "label" to the factory.
5672
5673         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5674           string and do no more.
5675
5676 2003-02-27  Angus Leeming  <leeming@lyx.org>
5677
5678         * commandtags.h:
5679         * LyXAction.C (init):
5680         * factory.C (createInset):
5681         * BufferView_pimpl.C (dispatch):
5682           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5683
5684         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5685
5686         * lyxfunc.C (dispatch):
5687         * text3.C (dispatch): pass name to params2string.
5688
5689 2003-02-26  Angus Leeming  <leeming@lyx.org>
5690
5691         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5692           blocks together.
5693           Rearrange the ~includes. Strip out the unnecessary ones.
5694
5695         * factory.C (createInset): reformat.
5696           create new insets for the various LFUN_XYZ_APPLY lfuns.
5697
5698 2003-02-26  John Levon  <levon@movementarian.org>
5699
5700         * lyxrow.h:
5701         * lyxrow.C: add isParStart,isParEnd helpers
5702
5703         * paragraph.h: make isInserted/DeletedText take refs
5704
5705         * paragraph_funcs.h:
5706         * paragraph_funcs.C: remove #if 0'd code
5707
5708         * lyxtext.h:
5709         * text3.C:
5710         * text2.C:
5711         * text.C: use lyxrow helpers above.
5712           Move draw and paint routines to RowPainter.
5713           Make several methods use refs not pointers.
5714           Make backgroundColor() const.
5715           Add markChangeInDraw(), isInInset().
5716           Merge changeRegionCase into changeCase.
5717           Make workWidth() shouldn't-happen code into an Assert.
5718
5719         * rowpainter.h:
5720         * rowpainter.C: new class for painting a row.
5721
5722         * vspace.h:
5723         * vspace.C: make inPixels take a ref
5724
5725 2003-02-26  Angus Leeming  <leeming@lyx.org>
5726
5727         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5728         LFUN_REF_APPLY.
5729
5730 2003-02-25  John Levon  <levon@movementarian.org>
5731
5732         * ispell.C: give the forked command a more accurate name
5733
5734 2003-02-22  John Levon  <levon@movementarian.org>
5735
5736         * toc.h:
5737         * toc.C: make TocItem store an id not a Paragraph *
5738           (bug #913)
5739
5740 2003-02-21  Angus Leeming  <leeming@lyx.org>
5741
5742         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5743           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5744           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5745           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5746           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5747           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5748
5749         * BufferView_pimpl.C (dispatch):
5750         * LyXAction.C (init):
5751         * factory.C (createInset):
5752         * lyxfunc.C (getStatus, dispatch):
5753         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5754
5755 2003-02-21  Angus Leeming  <leeming@lyx.org>
5756
5757         * BufferView_pimpl.C (MenuInsertLyXFile):
5758         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5759         * lyxfunc.C (menuNew, open, doImport):
5760           no longer pass a LyXView & to fileDlg.
5761
5762 2003-02-21  Angus Leeming  <leeming@lyx.org>
5763
5764         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5765         * LyXAction.C: change, BIBKEY to BIBITEM.
5766         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5767         Change InsetBibKey to InsetBibitem.
5768         Change BIBKEY_CODE to BIBITEM_CODE.
5769         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5770         * factory.C: replace insetbib.h with insetbibitem.h.
5771         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5772         * paragraph.C: replace insetbib.h with insetbibitem.h.
5773         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5774         Change bibkey() to bibitem().
5775         * text.C: remove insetbib.h.
5776         * text2.C: replace insetbib.h with insetbibitem.h.
5777         change bibkey() to bibitem().
5778         * text3.C: remove insetbib.h.
5779         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5780
5781 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5782
5783         * lyxrc.C (output): enclose user email in quotes (in case there are
5784         several words)
5785
5786 2003-02-18  John Levon  <levon@movementarian.org>
5787
5788         * buffer.h: add std::
5789
5790 2003-02-17  John Levon  <levon@movementarian.org>
5791
5792         * SpellBase.h:
5793         * ispell.h:
5794         * ispell.C:
5795         * pspell.h:
5796         * pspell.C: reworking. Especially in ispell, a large
5797           number of clean ups and bug fixes.
5798
5799         * lyxfunc.C: fix revert to behave sensibly
5800
5801 2003-02-17 André Pönitz <poenitz@gmx.net>
5802
5803         * LyXAction.C:
5804         * commandtags.h: new LFUN_INSERT_BIBKEY
5805
5806         * layout.h:
5807         * lyxlayout.C:
5808         * buffer.C:
5809         * factory.C:
5810         * text.C:
5811         * text2.C:
5812         * text3.C:
5813         * paragraph.[Ch]:
5814         * paragraph_func.C: remove special bibkey handling
5815
5816 2003-02-17  John Levon  <levon@movementarian.org>
5817
5818         * text.C (Delete): fix case where delete at the end of
5819           the very first paragraph would not merge the pars
5820
5821 2003-02-17  John Levon  <levon@movementarian.org>
5822
5823         * lyxrow.C: fix lastPrintablePos()
5824
5825 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5826
5827         * bufferparams.C (writeLaTeX): add a std:here
5828
5829         * buffer.C: and remove a using directive there
5830
5831 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5832
5833         * buffer.C (makeLaTeXFile): move the code that generates the
5834           preamble...
5835
5836         * bufferparams.C (writeLaTeX): ... in this new method
5837
5838         * LaTeXFeatures.C (getEncodingSet): make const
5839           (getLanguages): make const
5840
5841         * MenuBackend.C (binding): returns the binding associated to this
5842           action
5843           (add): sets the status of each item by calling getStatus. Adds
5844           some intelligence.
5845           (read): add support for OptSubMenu
5846           (expand): remove extra separator at the end of expanded menu
5847
5848 2003-02-15  John Levon  <levon@movementarian.org>
5849
5850         * BufferView.C:
5851         * BufferView_pimpl.C:
5852         * bufferlist.h:
5853         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5854           inset code that had no actual effect. Remove unneeded status
5855           code.
5856
5857 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5858
5859         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5860           in preamble
5861
5862 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5863
5864         * text.C (drawLengthMarker): also draw an arrow marker for
5865           symbolic lengths (medskip...)
5866
5867 2003-02-14  John Levon  <levon@movementarian.org>
5868
5869         * tabular.h:
5870         * tabular.C: better method names
5871
5872 2003-02-14  John Levon  <levon@movementarian.org>
5873
5874         * BufferView_pimpl.C:
5875         * bufferlist.C:
5876         * buffer.C:
5877         * converter.C:
5878         * lyx_cb.C:
5879         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5880           it's a more accurate name. Remove some pointless uses.
5881
5882 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5883
5884         * text2.C (LyXText): change order of initilizers to shut off
5885           warnings
5886
5887 2003-02-14  John Levon  <levon@movementarian.org>
5888
5889         * buffer.C: use ParIterator for getParFromID()
5890
5891         * paragraph.h:
5892         * paragraph.C:
5893         * paragraph_pimpl.h:
5894         * paragraph_pimpl.C: remove unused getParFromID()
5895
5896 2003-02-14  John Levon  <levon@movementarian.org>
5897
5898         * buffer.C: remove some very old #if 0'd parse code
5899
5900 2003-02-13  John Levon  <levon@movementarian.org>
5901
5902         * text.h:
5903         * text.C:
5904         * text2.C: move hfillExpansion(), numberOfSeparators(),
5905           rowLast(), rowLastPrintable(), numberofHfills(),
5906           numberOfLabelHfills() ...
5907
5908         * lyxrow.h:
5909         * lyxrow.C: ... to member functions here.
5910
5911         * paragraph.h:
5912         * paragraph.C:
5913         * lyxtext.h:
5914         * text.C: remove LyXText::beginningOfMainBody(), and call
5915           p->beginningOfMainBody() directly. Move the check for
5916           LABEL_MANUAL into the latter.
5917
5918         * text.h:
5919         * text.C:
5920         * text2.C:
5921         * vspace.C:
5922         * BufferView.h:
5923         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5924
5925         * text.h:
5926         * text.C:
5927         * text2.C:
5928         * text3.C:
5929         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5930           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5931
5932 2003-02-13  John Levon  <levon@movementarian.org>
5933
5934         * CutAndPaste.C: remove debug
5935
5936 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5937
5938         * paragraph.C (asString): remove two unused variables
5939
5940         * lyxtextclass.C (readTitleType):
5941           (Read):
5942           (LyXTextClass): handle new members titletype_ and titlename_
5943
5944         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5945
5946 2003-02-09  John Levon  <levon@movementarian.org>
5947
5948         * buffer.h:
5949         * buffer.C: replace hand-coded list with a map for the dep clean
5950
5951 2003-02-08  John Levon  <levon@movementarian.org>
5952
5953         * LaTeX.C: consolidate code into showRunMessage() helper
5954
5955 2003-02-08  John Levon  <levon@movementarian.org>
5956
5957         * lyxfind.C:
5958         * lyxtext.h:
5959         * text2.C:
5960         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5961           and pass the size in explicitly
5962
5963         * BufferView_pimpl.h:
5964         * BufferView_pimpl.C:
5965         * BufferView.h:
5966         * BufferView.C: add getCurrentChange()
5967
5968         * BufferView_pimpl.h:
5969         * BufferView_pimpl.C: handle change lfuns
5970
5971         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5972           for changes. Mark pasted paragraphs as new.
5973
5974         * support/lyxtime.h:
5975         * support/lyxtime.C:
5976         * DepTable.C: abstract time_t as lyx::time_type
5977
5978         * LColor.h:
5979         * LColor.C: add colours for new text, deleted text, changebars
5980
5981         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5982           package use "usenames" option.
5983
5984         * commandtags.h:
5985         * lyxfunc.C:
5986         * LyXAction.C: add change lfuns
5987
5988         * Makefile.am:
5989         * author.h:
5990         * author.C: author handling
5991
5992         * buffer.h:
5993         * buffer.C: add a per-buffer author list, with first entry as
5994           current author. Handle new .lyx tokens for change tracking. Output
5995           author list to .lyx file. Output dvipost stuff to .tex preamble.
5996           Bump lyx format to 222.
5997
5998         * bufferlist.h:
5999         * bufferlist.C: add setCurrentAuthor() to reset current author details
6000           in all buffers.
6001
6002         * bufferparams.h:
6003         * bufferparams.C: add param for tracking
6004
6005         * bufferview_funcs.C: output change info in minibuffer
6006
6007         * Makefile.am:
6008         * changes.h:
6009         * changes.C: add change-tracking structure
6010
6011         * debug.h:
6012         * debug.C: add CHANGES debug flag
6013
6014         * lyxfind.h:
6015         * lyxfind.C: add code for finding the next change piece
6016
6017         * lyxrc.h:
6018         * lyxrc.C: add user_name and user_email
6019
6020         * lyxrow.h:
6021         * lyxrow.C: add a metric for the top of the text line
6022
6023         * lyxtext.h:
6024         * text.C: implement accept/rejectChange()
6025
6026         * lyxtext.h:
6027         * text.C: paint changebars. Paint new/deleted text in the chosen
6028         colours. Strike through deleted text.
6029
6030         * paragraph.h:
6031         * paragraph.C:
6032         * paragraph_pimpl.h:
6033         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6034           in the current change to the insert functions. Rework erase to
6035           mark text as deleted, adding an eraseIntern() and a range-based
6036           erase(). Implement per-paragraph change lookup and
6037           accept/reject.
6038
6039         * paragraph_funcs.C: Fixup paste for change tracking.
6040
6041         * tabular.C: mark added row/columns as new.
6042
6043         * text.C: fix rowLast() to never return -1. Don't allow
6044           spellchecking of deleted text. Track transpose changes. Don't
6045           allow paragraph break or merge where appropriate.
6046
6047         * text2.C: leave cursor at end of selection after a cut.
6048
6049 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6050
6051         * text.C (getLengthMarkerHeight):
6052         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6053         visible on screen too.
6054
6055 2003-02-07  John Levon  <levon@movementarian.org>
6056
6057         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6058
6059 2003-02-05  Angus Leeming  <leeming@lyx.org>
6060
6061         * lyxserver.C (read_ready): revert my patch of 11 September last year
6062         as it sends PC cpu through the roof. Presumably this means that
6063         the lyxserver will no longer run on an Alpha...
6064
6065 2003-01-30  Angus Leeming  <leeming@lyx.org>
6066
6067         * factory.C (createInset): create an InsetCommandParam of type "index"
6068         and use it to 'do the right thing'.
6069
6070         * text2.C (getStringToIndex): ensure that cursor position is always
6071         reset to the reset_cursor position.
6072
6073 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6074
6075         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6076         disabled.
6077
6078 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6079
6080         * bufferview.C:
6081         * lyxcb.C:
6082         * lyxfunc.C: Output messages with identical spelling, punctuation,
6083         and spaces
6084
6085 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6086
6087         * MenuBackend.C (expandFormats): List only viewable export formats
6088         in "View" menu
6089
6090         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6091         message
6092
6093         * lyxfunc.C (getStatus): Make sure that formats other than
6094         "fax" can also be disabled
6095
6096 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6097
6098         * text3.C (dispatch): put the lfuns that insert insets in 3
6099         groups, and call doInsertInset with appropriate arguments.
6100         (doInsertInset): new function, that creates an inset and inserts
6101         it according to some boolean parameters.
6102
6103 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6104
6105         * buffer.C (readFile): remember to pass on 'par' when calling
6106         readFile recursively.
6107
6108 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6109
6110         * MenuBackend.C (expandFormats): add "..." to import formats.
6111
6112 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6113
6114         * paragraph.C (asString): Remove XForms RTL hacks.
6115
6116 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6117         * buffer.C: fix typo
6118
6119 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6120
6121         * Makefile.am (LIBS): delete var
6122         (lyx_LDADD): add @LIBS@ here instead.
6123
6124 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6125
6126         * Clarify the meaning of "wheel mouse jump"
6127
6128 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6129
6130         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6131         tabular in a float
6132
6133 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6134
6135         * importer.C (Loaders): do not preallocate 3 elements in the
6136         vector, since one ends up with 6 elements otherwise
6137
6138 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6139
6140         * DepTable.C (write): write the file name as last element of the
6141         .dep file (because it may contain spaces)
6142         (read): read info in the right order
6143
6144 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6145
6146         * paragraph_pimpl.C (simpleTeXBlanks):
6147         (simpleTeXSpecialChars):
6148         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6149
6150         * tabular.C (latex): add some missing case statements. Reindent.
6151
6152         * MenuBackend.C (expandToc): remove unused variable.
6153
6154 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6155
6156         * LColor.C:
6157         * LaTeX.C:
6158         * LyXAction.C:
6159         * MenuBackend.C:
6160         * buffer.C:
6161         * exporter.C:
6162         * lyxfunc.C:
6163         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6164         and the like.
6165
6166 2003-01-05  John Levon  <levon@movementarian.org>
6167
6168         * BufferView.h:
6169         * BufferView.C: add getEncoding()
6170
6171         * kbsequence.h:
6172         * kbsequence.C: do not store last keypress
6173
6174         * lyxfunc.h:
6175         * lyxfunc.C: store last keypress here instead. Pass encoding
6176           to getISOEncoded()
6177
6178 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6179
6180         * lyx_main.C (init): remove annoying error message when following
6181         symbolic links (bug #780)
6182
6183 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6184
6185         * text.C (insertChar):
6186         * lyxrc.C (getDescription): remove extra spaces
6187
6188 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6189
6190         * lyxrc.C (getDescription): remove extra spaces
6191
6192 2002-12-20  John Levon  <levon@movementarian.org>
6193
6194         * text3.C: hack fix for page up/down across tall rows
6195
6196 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6197
6198         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6199         not been invoked
6200
6201 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6202
6203         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6204         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6205         thesaurus is not compiled in
6206
6207 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6208
6209         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6210
6211 2002-12-16  Angus Leeming  <leeming@lyx.org>
6212
6213         * lyxrc.[Ch]:
6214         * lyx_main.C (init): remove override_x_deadkeys stuff.
6215
6216 2002-12-12  John Levon  <levon@movementarian.org>
6217
6218         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6219           insert. Only remove shift modifier under strict
6220           circumstances.
6221
6222 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6223
6224         * MenuBackend.C (expandToc): fix crash.
6225
6226 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6227
6228         * MenuBackend.C (expandToc): gettext on float names.
6229
6230 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6231
6232         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6233         implement bool empty() [bug 490]
6234
6235 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6236
6237         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6238
6239 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6240
6241         * several files: ws changes
6242
6243 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6244
6245         * text2.C (setCounter): clean up a bit, use boost.format.
6246         (updateCounters): initialize par upon declaration.
6247
6248         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6249         if the layout exists. We do not just store the layout any more.
6250         (SwitchLayoutsBetweenClasses): use boost.format
6251
6252 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6253
6254         * converter.C (convert): if from and to files are the same, use a
6255         temporary files as intermediary
6256
6257 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6258
6259         * commandtags.h:
6260         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6261
6262 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6263
6264         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6265
6266 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6267
6268         * tabular.C (asciiPrintCell): use string(size, char) instead of
6269         explicit loop.
6270
6271         * sgml.C (openTag): fix order of arguments to string constructor
6272         (closeTag): ditto
6273
6274         * lyxfunc.C (dispatch): use boost.format
6275
6276         * lots of files: change "c" -> 'c'
6277
6278 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6279
6280         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6281
6282 2002-11-25  Angus Leeming  <leeming@lyx.org>
6283
6284         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6285
6286         * lyx_main.C (init): compile fix.
6287
6288 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6289
6290         * lyx_cb.C (start): boost.formatify
6291         do not include <iostream>
6292
6293         * lengthcommon.C: ws only
6294
6295         * boost-inst.C,BoostFormat.h: add more explict instantations
6296
6297 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6298
6299         * lots of files: handle USE_BOOST_FORMAT
6300
6301 2002-11-21  John Levon  <levon@movementarian.org>
6302
6303         * pspell.C: fix compile
6304
6305 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6306
6307         * lyxfunc.C (dispatch): use boost::format
6308         (open): ditto
6309         (doImport): ditto
6310
6311         * lyxfont.C (stateText): use boost::format
6312
6313         * lyx_main.C (LyX): use boost::format
6314         (init): ditto
6315         (queryUserLyXDir): ditto
6316         (readRcFile): ditto
6317         (parse_dbg): ditto
6318         (typedef boost::function): use the recommened syntax.
6319
6320         * importer.C (Import): use boost::format
6321
6322         * debug.C (showLevel): use boost::format
6323
6324         * converter.C (view): use boost::format
6325         (convert): ditto
6326         (move): ditto
6327         (scanLog): ditto
6328
6329         * bufferview_funcs.C (currentState): use boost::format
6330
6331         * bufferlist.C (emergencyWrite): use boost::format
6332
6333         * buffer.C (readLyXformat2): use boost::format
6334         (parseSingleLyXformat2Token): ditto
6335
6336         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6337
6338         * LaTeX.C (run): use boost::format
6339
6340         * Chktex.C (scanLogFile): use boost::format
6341
6342         * BufferView_pimpl.C (savePosition): use boost::format
6343         (restorePosition): ditto
6344         (MenuInsertLyXFile): ditto
6345
6346         * BoostFormat.h: help file for explicit instation.
6347
6348 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6349
6350         * tabular.C (latex): Support for block alignment in fixed width
6351         columns.
6352
6353 2002-11-17  John Levon  <levon@movementarian.org>
6354
6355         * BufferView_pimpl.C:
6356         * lyx_cb.C:
6357         * lyxfunc.C: split filedialog into open/save
6358
6359 2002-11-08  Juergen Vigna  <jug@sad.it>
6360
6361         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6362         by my last patch (hopefully).
6363
6364 2002-11-08  John Levon  <levon@movementarian.org>
6365
6366         * iterators.h:
6367         * iterators.C:
6368         * buffer.h:
6369         * buffer.C:
6370         * paragraph.h:
6371         * paragraph.C:
6372         * toc.h:
6373         * toc.C: ParConstIterator, and use it (from Lars)
6374
6375 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6376
6377         * lyxtextclass.[Ch]: revise and add doxygen comments
6378
6379 2002-11-07  John Levon  <levon@movementarian.org>
6380
6381         * text.C: fix progress value for spellchecker
6382
6383         * toc.C: fix navigate menu for insetwrap inside minipage
6384
6385         * paragraph_funcs.C: added FIXME for suspect code
6386
6387 2002-11-07  John Levon  <levon@movementarian.org>
6388
6389         * BufferView_pimpl.C: fix redrawing of insets
6390           on buffer switch
6391
6392 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6393
6394         * text2.C (updateCounters): fix bug 668
6395
6396 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6397
6398         * text3.C (dispatch): Do not make the buffer dirty when moving the
6399         cursor.
6400
6401 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6402
6403         * vc-backend.C: STRCONV
6404         (scanMaster): ditto
6405
6406         * text2.C (setCounter): STRCONV
6407
6408         * paragraph.C (asString): STRCONV
6409
6410         * lyxlength.C (asString): STRCONV
6411         (asLatexString): ditto
6412
6413         * lyxgluelength.C (asString): STRCONV
6414         (asLatexString): ditto
6415
6416         * lyxfunc.C (dispatch): STRCONV
6417         (open): ditto
6418
6419         * lyxfont.C (stateText): STRCONV
6420
6421         * importer.C (Import): STRCONV
6422
6423         * counters.C (labelItem): STRCONV
6424         (numberLabel): ditto
6425         (numberLabel): remove unused ostringstream o
6426
6427         * chset.C: STRCONV
6428         (loadFile): ditto
6429
6430         * bufferview_funcs.C (currentState): STRCONV
6431
6432         * buffer.C (readFile): STRCONV
6433         (asciiParagraph): ditto
6434         (makeLaTeXFile): ditto
6435
6436         * Spacing.C (writeEnvirBegin): STRCONV
6437
6438         * LaTeXFeatures.C (getLanguages): STRCONV
6439         (getPackages): ditto
6440         (getMacros): ditto
6441         (getBabelOptions): ditto
6442         (getTClassPreamble): ditto
6443         (getLyXSGMLEntities): ditto
6444         (getIncludedFiles): ditto
6445
6446         * LaTeX.C: STRCONV
6447         (run): ditto
6448         (scanAuxFile): ditto
6449         (deplog): ditto
6450
6451         * LString.h: add the STRCONV macros
6452
6453         * BufferView_pimpl.C (savePosition): STRCONV
6454         (restorePosition): ditto
6455         (MenuInsertLyXFile): ditto
6456
6457         * vc-backend.C (scanMaster): change from submatch[...] to
6458         submatch.str(...)
6459
6460         * funcrequest.C: include config.h
6461
6462         * factory.C: include config.h
6463
6464         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6465
6466         * box.C: include config.h
6467
6468         * LaTeX.C (scanAuxFile): change from submatch[...] to
6469         submatch.str(...)
6470         (deplog): ditto
6471
6472 2002-10-25  Angus Leeming  <leeming@lyx.org>
6473
6474         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6475
6476         * ispell.[Ch] (setError): new method.
6477         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6478         Use setError() insetead of goto END.
6479
6480         * lyx_cb.C (AutoSave): move out child process into new class
6481         AutoSaveBuffer.
6482
6483 2002-10-30  John Levon  <levon@movementarian.org>
6484
6485         * text3.C: make start appendix undoable
6486
6487 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6488
6489         * lyxlength.C (inPixels): Fix returned value.
6490
6491         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6492         environment.
6493
6494 2002-10-24  Angus Leeming  <leeming@lyx.org>
6495
6496         * lyxgluelength.h: no need to forward declare BufferParams
6497         or BufferView, so don't.
6498
6499 2002-10-21  John Levon  <levon@movementarian.org>
6500
6501         * BufferView.C: menuUndo ->undo, redo
6502
6503         * BufferView.h: document, remove dead, make some methods private
6504
6505         * paragraph_funcs.h:
6506         * paragraph_funcs.C:
6507         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6508
6509         * buffer.h:
6510         * buffer.C:
6511         * sgml.h:
6512         * sgml.C: move sgml open/close tag into sgml.C
6513
6514         * bufferview_funcs.h: unused prototype
6515
6516         * lyxfunc.h:
6517         * lyxfunc.C: remove unused
6518
6519         * lyxtext.h:
6520         * text.C: remove unused
6521
6522 2002-10-21  John Levon  <levon@movementarian.org>
6523
6524         * BufferView.h:
6525         * BufferView.C:
6526         * BufferView_pimpl.h:
6527         * BufferView_pimpl.C: fix mouse wheel handling based on
6528           patch from Darren Freeman
6529
6530 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6531
6532         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6533
6534 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6535
6536         * lyxlength.C (inPixels): Fix hanfling of negative length.
6537         Fix LyXLength::MU case.
6538
6539 2002-10-16  John Levon  <levon@movementarian.org>
6540
6541         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6542
6543 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6544
6545         * converter.C (view): add support for $$i (file name) and $$p
6546         (file path) for the viewer command. If $$i is not specified, then
6547         it is appended to the command (for compatibility with old syntax)
6548
6549 2002-10-14  Juergen Vigna  <jug@sad.it>
6550
6551         * undo_funcs.C (textHandleUndo): alter the order in which the
6552         new undopar is added to the LyXText, as we have to set first
6553         the right prev/next and then add it as otherwise the rebuild of
6554         LyXText is not correct. Also reset the cursor to the right paragraph,
6555         with this IMO we could remove the hack in "redoParagraphs()".
6556
6557 2002-10-09  Angus Leeming  <leeming@lyx.org>
6558
6559         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6560         to turn off an optimisation if a new inset is to be inserted.
6561
6562 2002-10-11 André Pönitz <poenitz@gmx.net>
6563
6564         * lyxtext.h: make some functions public to allow access
6565         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6566
6567 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6568
6569         * text3.C (dispatch): when changing layout, avoid an infinite loop
6570         [bug #652]
6571
6572 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6573
6574         * lyxrc.C (read): treat a viewer or converter command of "none" as
6575         if it were empty.
6576
6577         * MenuBackend.C (expandFormats): for an update, also allow the
6578         formats that are not viewable
6579
6580         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6581         script if it is newer than the lyxrc.defaults in user directory
6582
6583 2002-10-07 André Pönitz <poenitz@gmx.net>
6584
6585         * text.C: Vitaly Lipatov's small i18n fix
6586
6587 2002-09-25  Angus Leeming  <leeming@lyx.org>
6588
6589         * ispell.h: doxygen fix.
6590
6591 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6592
6593         * buffer.h (readFile): Add a new argument to the method, to allow
6594         reading of old-format templates.
6595
6596 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6597
6598         * toc.C (getTocList): Get TOC from InsetWrap.
6599
6600 2002-09-16  John Levon  <levon@movementarian.org>
6601
6602         * lyxfunc.C: check tabular for cut/copy too
6603
6604 2002-09-12  John Levon  <levon@movementarian.org>
6605
6606         * LyXAction.C: tidy
6607
6608         * factory.h:
6609         * factory.C: add header
6610
6611         * paragraph_funcs.h:
6612         * paragraph_funcs.C: cleanup
6613
6614 2002-09-11  John Levon  <levon@movementarian.org>
6615
6616         * PrinterParams.h: odd/even default to true
6617
6618 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6619
6620         * PrinterParams.h: update printer parameters for new xforms dialog
6621
6622 2002-09-11  Angus Leeming  <leeming@lyx.org>
6623
6624         * lyxserver.C (read_ready): re-write to make it more transparent
6625         and to make it work in coherent fashion under Tru64 Unix.
6626
6627 2002-09-11  André Pönitz <poenitz@gmx.net>
6628
6629         * commandtags.h:
6630         * LyXAction.C:
6631         * text3.C: implement LFUN_WORDSEL
6632
6633 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6634
6635         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6636         make floatlist_ a boost::shared_ptr<FloatList>
6637
6638         * lyxtextclass.C: include FloatList.h
6639         (LyXTextClass): initialize floatlist_
6640         (TextClassTags): add TC_NOFLOAT
6641         (Read): match "nofloat" to TC_NOFLOAT and use it.
6642         (readFloat): modify call to floatlist_
6643         (floats): ditto
6644         (floats): ditto
6645
6646         * FloatList.[Ch] (FloatList): remove commented out float
6647         initialization.
6648         (erase): new function
6649
6650 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6651
6652         * MenuBackend.C (expandToc): fix crash when there is no document
6653         open
6654
6655 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6656
6657         * many files: Add insetwrap.
6658
6659 2002-09-09  John Levon  <levon@movementarian.org>
6660
6661         * text2.C: remove confusing and awkward depth wraparound
6662
6663 2002-09-09  John Levon  <levon@movementarian.org>
6664
6665         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6666
6667         * buffer.h:
6668         * buffer.C: remove getIncludeonlyList()
6669
6670         * paragraph.C:
6671         * lyxfunc.C: remove headers
6672
6673 2002-09-09  Juergen Vigna  <jug@sad.it>
6674
6675         * text.C (getColumnNearX): fix form Michael this is most
6676         probably a cut&paste bug.
6677
6678 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6679
6680         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6681
6682         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6683         references, ws changes.
6684
6685         * text2.C (init): update counters after init
6686         (insertParagraph): no need to set counter on idividual paragraphs.
6687         (setCounter): access the counters object in the textclass object
6688         on in the buffer object.
6689         (updateCounters): ditto
6690
6691         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6692         shared_ptr<Counters> to avoid loading counters.h in all
6693         compilation units.
6694         (LyXTextClass): initialize ctrs_
6695         (TextClassTags): add TC_COUNTER, and ...
6696         (Read): use it here.
6697         (CounterTags): new tags
6698         (readCounter): new function
6699         (counters): new funtion
6700         (defaultLayoutName): return a const reference
6701
6702         * counters.C (Counters): remove contructor
6703         (newCounter): remove a couple of unneeded statements.
6704         (newCounter): simplify a bit.
6705         (numberLabel): some small formatting changes.
6706
6707         * buffer.[Ch]: remove all traces of counters, move the Counters
6708         object to the LyXTextClass.
6709
6710 2002-09-06  Alain Castera  <castera@in2p3.fr>
6711
6712         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6713         package to set the horizontal alignment on fixed width columns.
6714
6715         * lyx_sty.C:
6716         * lyx_sty.h: added tabularnewline macro def.
6717
6718         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6719
6720 2002-09-06  John Levon  <levon@movementarian.org>
6721
6722         * LyXAction.C: tooltips for sub/superscript
6723
6724         * MenuBackend.C: a bit more verbose
6725
6726         * lyxfunc.C: tiny clean
6727
6728         * undo_funcs.C: document undo_frozen
6729
6730 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6731
6732         * counters.C (Counters): add missing algorithm counter.
6733
6734         * text2.C (setCounter): lookup the counter with layouts latexname
6735         instead of by section number.
6736         (setCounter): use a hackish way to lookup the correct enum
6737         counter.
6738         a float name->type change
6739         reset enum couners with counter name directly instead of depth value.
6740
6741         * counters.C (Counters): remove the push_backs, change to use the
6742         float type not the float name.
6743         (labelItem): remove unused string, float name->type change
6744
6745         * counters.h: don't include vector, loose the enums and sects vectors
6746
6747 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6748
6749         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6750         (Read): add float->TC_FLOAT to textclassTags
6751         (Read): and handle it in the switch
6752         (readFloat): new function
6753
6754         * FloatList.C (FloatList): comment out the hardcoded float
6755         definitions.
6756
6757         * lyxlayout.h: ws change.
6758
6759 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6760
6761         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6762
6763 2002-09-03  Angus Leeming  <leeming@lyx.org>
6764
6765         * BufferView_pimpl.h: qualified name is not allowed in member
6766         declaration: WorkArea & Pimpl::workarea() const;
6767
6768         * factory.C: added using std::endl directive.
6769
6770         * text3.C: added using std::find and std::vector directives.
6771
6772 2002-08-29  André Pönitz <poenitz@gmx.net>
6773
6774         * lyxtext.h:
6775         * text2.C: remove unused member number_of_rows
6776
6777         * Makefile.am:
6778         * BufferView2.C: remove file, move contents to...
6779         * BufferView.C: ... here
6780
6781         * BufferView_pimpl.C:
6782         * factory.C: move more inset creation to factory
6783
6784         * vspace.C: avoid direct usage of LyXText, ws changes
6785
6786         * BufferView.[Ch]:
6787                 don't provide direct access to WorkArea, use two simple
6788                 acessors haveSelction() and workHeight() instead
6789
6790
6791 2002-08-29  John Levon  <levon@movementarian.org>
6792
6793         * BufferView_pimpl.C (dispatch): do not continue when
6794           no buffer
6795
6796 2002-08-28  André Pönitz <poenitz@gmx.net>
6797
6798         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6799
6800         * BufferView.h:
6801         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6802
6803 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6804
6805         * buffer.C: increment LYX_FORMAT to 221
6806
6807         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6808         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6809
6810         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6811
6812         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6813
6814 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6815
6816         * factory.C (createInset): use LyXTextClass::floats
6817
6818         * MenuBackend.C (expandFloatListInsert):
6819         (expandFloatInsert):
6820         (expandToc):
6821
6822         * text2.C (setCounter):
6823
6824         * LaTeXFeatures.C (useFloat):
6825         (getFloatDefinitions):
6826
6827         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6828
6829         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6830         floatlist_, with accessor floats().
6831
6832         * FloatList.h: remove global FloatList
6833
6834 2002-08-26  André Pönitz <poenitz@gmx.net>
6835
6836         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6837
6838         * BufferView.h:
6839         * BufferView2.C:
6840         * BufferView_pimpl.C:
6841         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6842
6843 2002-08-25  John Levon  <levon@movementarian.org>
6844
6845         * LyXAction.C: fix margin note description
6846
6847 2002-08-24  John Levon  <levon@movementarian.org>
6848
6849         * buffer.C:
6850         * bufferlist.C:
6851         * bufferview_funcs.C:
6852         * lyxfont.C:
6853         * undo_funcs.C: cleanups
6854
6855         * lyxfunc.C: disable CUT/COPY when no selection
6856
6857 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6858
6859         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6860         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6861
6862         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6863         Add backward compatibility to "mono", "gray" and "no".
6864
6865 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6866
6867         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6868         (and file_format >= 200).
6869
6870 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6871
6872         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6873
6874 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6875
6876         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6877
6878 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6879
6880         * BufferView_pimpl.C:
6881         * LyXAction.C:
6882         * buffer.C:
6883         * commandtags.h:
6884         * lyxfunc.C:
6885         * paragraph.[Ch]:
6886         * text2.C:
6887         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6888         inset and code to make it  work with the paragraph code. The inset
6889         can be anywhere in the paragraph, but will only do the expected
6890         thing in LaTeX if the layout file contains the parameter line
6891                         OptionalArgs    1
6892         (or more generally, a nonzero value) for that layout.
6893
6894 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6895
6896         * paragraph.h: remove the declaration of undefined counters class
6897         function.
6898
6899 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6900
6901         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6902         Dr. Richard Hawkins.
6903
6904 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6905
6906         * paragraph_funcs.h: remove some unneeded includes
6907
6908         * text.C (backspace): pasteParagraph now in global scipe
6909
6910         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6911         (pasteSelection): ditto
6912
6913         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6914         * paragraph_funcs.C (pasteParagraph): ... here
6915
6916 2002-08-20  André Pönitz <poenitz@gmx.net>
6917
6918         * commandtags.h: new LFUNs for swapping/copying table row/colums
6919
6920         * LyXAction.C:
6921         * lyxfunc.C: support for new lfuns
6922
6923 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6924
6925         * tabular.C:
6926         * buffer.[Ch]: remove NO_COMPABILITY stuff
6927
6928 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6929
6930         * boost.C (throw_exception): new file, with helper function for
6931         boost compiled without exceptions.
6932
6933         * paragraph.h:
6934         * lyxlength.C:
6935         * buffer.C:
6936         * ParameterStruct.h:
6937         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6938
6939         * bufferlist.C (emergencyWriteAll): use boost bind
6940
6941         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6942
6943         * text.C: include paragraph_funcs.h
6944         (breakParagraph): breakParagraph is now in global scope
6945
6946         * paragraph_funcs.[Ch]: new files
6947
6948         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6949         global scope
6950
6951         * buffer.C: include paragraph_funcs.h
6952         (insertStringAsLines): breakParagraph is now in global scope
6953
6954         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6955         paragraph_funcs.C
6956
6957         * CutAndPaste.C: include paragraph_funcs.h
6958         (cutSelection): breakParagraphConservative is now in global scope
6959         (pasteSelection): ditto
6960
6961         * buffer.h: declare oprator== and operator!= for
6962         Buffer::inset_iterator
6963
6964         * bufferlist.C (emergencyWrite): don't use fmt(...)
6965
6966         * text3.C: add using std::endl
6967
6968         * BufferView.C (moveCursorUpdate): remove default arg
6969
6970 2002-08-20  André Pönitz <poenitz@gmx.net>
6971
6972         * buffer.[Ch]: move inline functions to .C
6973
6974         * BufferView2.C:
6975         * BufferView_pimpl.C:
6976         * text.C:
6977         * buffer.[Ch]: use improved inset_iterator
6978
6979         * buffer.C:
6980         * paragraph.[Ch]: write one paragraph at a time
6981
6982 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6983
6984         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6985         style if style is not specified.
6986
6987 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6988
6989         * text2.C (setCounter): when searching for right label for a
6990         caption, make sure to recurse to parent insets (so that a caption
6991         in a minipage in a figure float works) (bug #568)
6992
6993 2002-08-20  André Pönitz <poenitz@gmx.net>
6994
6995         * text3.C: new file for LyXText::dispatch() and helpers
6996
6997         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6998
6999         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7000
7001 2002-08-19  André Pönitz <poenitz@gmx.net>
7002
7003         * lyxtext.h:
7004         * text.C: new LyXText::dispatch()
7005
7006         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7007
7008 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7009
7010         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7011
7012         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7013         Hebrew text.
7014
7015 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7016
7017         * Makefile.am: use $(variables) instead of @substitutions@
7018
7019 2002-08-15  André Pönitz <poenitz@gmx.net>
7020
7021         * lyxfunc.C:
7022         * BufferView_pimpl.C: streamlining mathed <-> outer world
7023         interaction
7024
7025         * commandtags.h:
7026         * LyXAction.C: remove unused LFUN_MATH
7027
7028 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7029
7030         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7031
7032 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7033
7034         * paragraph.C (Paragraph): reformat a bit
7035         (cutIntoMinibuffer): use builtin InsetList function instad of
7036         doing it manually.
7037         (getInset): ditto
7038
7039         * buffer.C: include boost/bind.hpp, add using std::for_each
7040         (writeFileAscii): use ParagraphList iterators
7041         (validate): use for_each for validate traversal of paragraphs
7042         (getBibkeyList): use ParagraphList iterators
7043         (resizeInsets): use for_each to resizeInsetsLyXText for all
7044         paragraphs.
7045         (getParFromID): use ParagraphList iterators
7046
7047         * BufferView2.C (lockInset): use paragraph list and iterators
7048
7049 2002-08-14  John Levon  <levon@movementarian.org>
7050
7051         * lyxserver.C: remove spurious xforms include
7052
7053 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7054
7055         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7056
7057 2002-08-13  André Pönitz <poenitz@gmx.net>
7058
7059         * LyXAction.[Ch]:
7060         * lyxfunc.C: further cleaning
7061
7062 2002-08-13  André Pönitz <poenitz@gmx.net>
7063
7064         * funcrequest.h: new constructor
7065
7066         * funcrequest.C: move stuff here from .h
7067
7068         * Makefile.am:
7069         * BufferView_pimpl.C:
7070         * LyXAction.C:
7071         * toc.C:
7072         * lyxfunc.C: subsequent changes
7073
7074         * lyxfunc.h: new view() member function
7075
7076         * lyxfunc.C: subsequent changes
7077
7078 2002-08-13  Angus Leeming  <leeming@lyx.org>
7079
7080         * BufferView2.C:
7081         * BufferView_pimpl.C:
7082         * buffer.C:
7083         * converter.C:
7084         * importer.C:
7085         * lyxfunc.C:
7086         * lyxvc.C:
7087         * toc.C:
7088         * vc-backend.C:
7089         changes due to the changed LyXView interface that now returns references
7090         to member variables not pointers.
7091
7092 2002-08-13  Angus Leeming  <leeming@lyx.org>
7093
7094         * WordLangTuple (word, lang_code): return references to strings,
7095         not strings.
7096
7097         * BufferView.h:
7098         * SpellBase.h:
7099         * lyxtext.h: forward-declare WordLangTuple.
7100
7101         * BufferView2.C:
7102         * ispell.C:
7103         * pspell.C:
7104         * text.C: #include "WordLangTuple.h".
7105
7106         * lyxtext.h:
7107         * text.C: (selectNextWordToSpellcheck): constify return type.
7108
7109 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7110
7111         * buffer.C:
7112         * buffer.h:
7113         * lyxtext.h:
7114         * paragraph.C:
7115         * paragraph_pimpl.h:
7116         * text.C:
7117         * text2.C:
7118         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7119         suggested by Angus.
7120         Made updateCounter always count from start of buffer, and removed
7121         second argument (par).
7122         Reverted floats number display to '#'. Perhaps I'll try again when the
7123         code base is sanitized a bit.
7124
7125 2002-08-12  Angus Leeming  <leeming@lyx.org>
7126
7127         * buffer.[Ch] (getLabelList): constify.
7128
7129 2002-08-07  André Pönitz <poenitz@gmx.net>
7130
7131         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7132
7133         * funcrequest.h: extension to keep mouse (x,y) position
7134
7135 2002-08-12  Juergen Vigna  <jug@sad.it>
7136
7137         * BufferView2.C (insertErrors): forbid undo when inserting error
7138         insets.
7139
7140         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7141
7142 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7143
7144         * ParagraphList.[Ch]: new files
7145
7146         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7147
7148         * BufferView2.C (lockInset): ParagraphList changes
7149         * toc.C: ditto
7150         * text2.C: ditto
7151         * bufferlist.C: ditto
7152         * buffer.h: ditto
7153         * buffer.C: ditto
7154
7155 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7156
7157         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7158         unused class variable counter_,
7159
7160         * paragraph.[Ch] (getFirstCounter): delete unused function
7161
7162         * counters.C: include LAssert.h
7163         (reset): add a new function with no arg, change other version to
7164         not have def. arg and to not allow empty arg.
7165
7166         * text2.C (setCounter): remove empty arg from call to Counters::reset
7167
7168 2002-08-11  John Levon  <levon@movementarian.org>
7169
7170         * Makefile.am: add WordLangTuple.h
7171
7172 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7173
7174         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7175         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7176
7177         * insets/insettext.C: InsetList changes
7178
7179         * graphics/GraphicsSupport.C (operator()): InsetList changes
7180
7181         * toc.C (getTocList): InsetList changes
7182
7183         * paragraph_pimpl.[Ch]: InsetList changes
7184
7185         * paragraph.[Ch]: InsetList changes
7186
7187         * buffer.C (inset_iterator): InsetList changes
7188         (setParagraph): ditto
7189         * buffer.h (inset_iterator): ditto
7190         * iterators.C (operator++): ditto
7191         * iterators.h: ditto
7192
7193         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7194
7195         * InsetList.[Ch]: new files, most InsetList handling moved out of
7196         paragraph.C.
7197
7198         * BufferView2.C (removeAutoInsets): InsetList changes
7199         (lockInset): ditto
7200         (ChangeInsets): ditto
7201
7202 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7203
7204         * paragraph_pimpl.h (empty): new function
7205
7206         * paragraph.[Ch] (empty): new function
7207
7208         * other files: use the new Paragraph::empty function
7209
7210 2002-08-09  John Levon  <levon@movementarian.org>
7211
7212         * lyxtext.h: remove unused refresh_height
7213
7214 2002-08-09  John Levon  <levon@movementarian.org>
7215
7216         * Makefile.am:
7217         * sgml.h:
7218         * sgml.C:
7219         * buffer.C:
7220         * paragraph.h:
7221         * paragraph.C: move sgml char escaping out of paragraph
7222
7223         * paragraph.h:
7224         * paragraph.C: remove id setter
7225
7226         * buffer.C:
7227         * paragraph.C:
7228         * paragraph_pimpl.C: remove dead tex_code_break_column
7229
7230         * bufferview_funcs.C: small cleanup
7231
7232         * lyxfunc.C: remove dead proto
7233
7234         * lyxtext.h: make some stuff private. Remove some dead stuff.
7235
7236         * lyxgluelength.C: make as[LyX]String() readable
7237
7238 2002-08-08  John Levon  <levon@movementarian.org>
7239
7240         * LyXAction.h:
7241         * LyXAction.C:
7242         * MenuBackend.C:
7243         * ToolbarDefaults.C:
7244         * lyxfunc.C:
7245         * lyxrc.C:
7246         * toc.C: lyxaction cleanup
7247
7248 2002-08-08  John Levon  <levon@movementarian.org>
7249
7250         * BufferView2.C: small cleanup
7251
7252         * lyxfind.h:
7253         * lyxfind.C: move unnecessary header into the .C
7254
7255 2002-08-08  John Levon  <levon@movementarian.org>
7256
7257         * funcrequest.h: just tedious nonsense
7258
7259         * lyx_main.h:
7260         * lyx_main.C: cleanups
7261
7262         * buffer.C:
7263         * vspace.C: remove dead header lyx_main.h
7264
7265 2002-08-07  Angus Leeming  <leeming@lyx.org>
7266
7267         * Paragraph.[Ch]:
7268         * paragraph_pimpl.h:
7269         Forward declare class Counters in paragraph.h by moving the ctrs member
7270         variable into Paragraph::Pimpl.
7271         (counters): new method, returning a reference to pimpl_->ctrs.
7272
7273         * text2.C: ensuing changes.
7274
7275 2002-08-07  John Levon  <levon@movementarian.org>
7276
7277         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7278
7279         * BufferView_pimpl.C: announce X selection on double/triple
7280           click
7281
7282         * lyx_main.C: use correct bool in batch dispatch
7283
7284         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7285
7286 2002-08-07  André Pönitz <poenitz@gmx.net>
7287
7288         * funcrequest.h: new class to wrap a kb_action and its argument
7289
7290         * BufferView.[Ch]:
7291         * BufferView_pimpl[Ch]:
7292         * LaTeX.C:
7293         * LyXAction.[Ch]:
7294         * lyxfunc.[Ch]:
7295         * lyxrc.C: subsequent changes
7296
7297
7298 2002-08-07  John Levon  <levon@movementarian.org>
7299
7300         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7301           document options change.
7302
7303 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7304
7305         * counters.[Ch]
7306         * text2.C
7307         * paragraph.[Ch]
7308         * makefile.am: move counters functionality over from
7309         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7310
7311 2002-08-06  John Levon  <levon@movementarian.org>
7312
7313         * WordLangTuple.h: new file for word + language code tuple
7314
7315         * SpellBase.h:
7316         * pspell.h:
7317         * pspell.C:
7318         * ispell.h:
7319         * ispell.C:
7320         * lyxtext.h:
7321         * text.C:
7322         * text2.C:
7323         * BufferView.h:
7324         * BufferView2.C: use WordLangTuple
7325
7326         * layout.h:
7327         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7328
7329 2002-08-06  John Levon  <levon@movementarian.org>
7330
7331         * lyx_main.C: fix cmdline batch handling
7332
7333 2002-08-06  André Pönitz <poenitz@gmx.net>
7334
7335         * lyxrc.C: set default for show_banner to true
7336
7337 2002-08-06  John Levon  <levon@movementarian.org>
7338
7339         * pspell.C: fix a crash, and allow new aspell to work
7340
7341 2002-08-06  John Levon  <levon@movementarian.org>
7342
7343         * lyxfunc.C:
7344         * kbmap.C: small cleanup
7345
7346         * vspace.h:
7347         * vspace.C: add const
7348
7349 2002-08-05  John Levon  <levon@movementarian.org>
7350
7351         * LyXAction.C: back to tabular-insert
7352
7353 2002-08-04  John Levon  <levon@movementarian.org>
7354
7355         * BufferView.h:
7356         * BufferView.C: cosmetic change
7357
7358         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7359
7360         * bufferlist.C:
7361         * buffer.h:
7362         * buffer.C:
7363         * lyxcb.h:
7364         * lyxcb.C:
7365         * lyxserver.C:
7366         * lyxvc.C:
7367         * vc-backend.C:
7368         * BufferView2.C: purge all "Lyx" not "LyX" strings
7369
7370         * lyxcursor.h:
7371         * lyxcursor.C: attempt to add some documentation
7372
7373         * lyxfunc.C:
7374         * commandtags.h:
7375         * LyXAction.C:
7376         * ToolbarDefaults.C:
7377         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7378           merge with LFUN_TABULAR_INSERT
7379
7380         * Makefile.am:
7381         * SpellBase.h:
7382         * ispell.h:
7383         * ispell.C:
7384         * pspell.h:
7385         * pspell.C: split up i/pspell implementations into separate
7386           files, many cleanups
7387
7388         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7389
7390         * text2.C: some cleanup
7391
7392         * lyxfunc.C: don't check for isp_command == "none" any more, it
7393           didn't make any sense
7394
7395 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7396
7397         * counters.[Ch]
7398         * text2.C
7399         * paragraph.[Ch]
7400         * makefile.am: move counters functionality over
7401         from text2.C/paragraph.[Ch] to counters.[Ch], and
7402         make proper C++.
7403 2002-08-02  John Levon  <levon@movementarian.org>
7404
7405         * buffer.C: s/lyxconvert/lyx2lyx/
7406
7407 2002-08-02  Angus Leeming  <leeming@lyx.org>
7408
7409         * lyxlex.C: revert John's change as it breaks reading of the user
7410         preamble.
7411
7412 2002-08-02  Angus Leeming  <leeming@lyx.org>
7413
7414         * importer.C (Import):
7415         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7416         changes due to LyXView::view() now returning a boost::shared_ptr.
7417
7418 2002-08-02  John Levon  <levon@movementarian.org>
7419
7420         * lyxlex.C: small cleanup
7421
7422 2002-08-02  John Levon  <levon@movementarian.org>
7423
7424         * text2.C (status): small cleanup, no logic change
7425
7426 2002-08-01  John Levon  <levon@movementarian.org>
7427
7428         * buffer.h:
7429         * buffer.C (writeFile): don't output alerts, caller
7430           handles this
7431
7432         * bufferlist.C:
7433         * lyx_cb.C: from above
7434
7435         * lyxfunc.C: allow to open non-existent files
7436
7437 2002-07-31  John Levon  <levon@movementarian.org>
7438
7439         * lyxserver.C: don't let incidental errors get
7440           in the way (errno)
7441
7442 2002-07-30  John Levon  <levon@movementarian.org>
7443
7444         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7445
7446 2002-07-30  John Levon  <levon@movementarian.org>
7447
7448         * lyxserver.h:
7449         * lyxserver.C: remove I/O callback too
7450
7451 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7452
7453         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7454         log.
7455
7456 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7457
7458         * many files: strip,frontStrip -> trim,ltrim,rtrim
7459
7460 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7461
7462         * PrinterParams.h: remove extern containsOnly, and include
7463         support/lstrings.h instead.
7464
7465         * LaTeX.C (scanAuxFile): modify because of strip changes
7466         (deplog): ditto
7467         * buffer.C (makeLaTeXFile): ditto
7468         * bufferparams.C (writeFile): ditt
7469         * lyxfont.C (stateText): ditto
7470         * lyxserver.C (read_ready): ditto
7471         * vc-backend.C (scanMaster): ditto
7472
7473         * BufferView_pimpl.h: ws changes
7474
7475         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7476
7477 2002-07-26  André Pönitz <poenitz@gmx.net>
7478
7479         * kb_sequence.C: remove unnedred usings
7480
7481 2002-07-26  Juergen Vigna  <jug@sad.it>
7482
7483         * lyxfind.C (LyXReplace): we have to check better if the returned
7484         text is not of theLockingInset()->getLockingInset().
7485
7486 2002-07-25  Juergen Vigna  <jug@sad.it>
7487
7488         * lyxfind.C (LyXReplace): don't replace if we don't get the
7489         right LyXText.
7490
7491         * undo_funcs.C (createUndo): remove debugging code.
7492
7493 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7494
7495         * buffer.C (parseSingleLyXformat2Token): Use default placement
7496         when reading old floats.
7497
7498         * FloatList.C (FloatList): Change the default placement of figure
7499         and tables to "tbp".
7500
7501 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7502
7503         * MenuBackend.C: using std::max
7504
7505 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7506
7507         * MenuBackend.C (expandToc):
7508         (expandToc2): code moved from xforms menu frontend. It is now
7509         generic and TOCs are transparent to menu frontends.
7510
7511 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7512
7513         * toc.C (getTocList): protect against buf=0
7514
7515         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7516         Menu as first parameter. Now, this calls itself recursively to
7517         expand a whole tree (this will be useful for TOC handling)
7518         (expandFloatInsert): remove 'wide' version of floats
7519
7520         * MenuBackend.h (submenuname): returns the name of the submenu.
7521         (submenu): returns the submenu itself, provided it has been
7522         created by MenuBackend::expand
7523
7524 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7525
7526         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7527         insets which have noFontChange == true. (bug #172)
7528
7529 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7530
7531         * BufferView_pimpl.C: add connection objects and use them...
7532         (Pimpl): here.
7533
7534 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7535
7536         * MenuBackend.C (expandLastfiles):
7537         (expandDocuments):
7538         (expandFormats):
7539         (expandFloatListInsert):
7540         (expandFloatInsert):
7541         (expand): split expand in parts
7542
7543 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7544
7545         * lyx_gui.C: use lyx_gui::exit()
7546
7547 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7548
7549         * LyXAction.C: show the failing pseudo action
7550
7551 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7552
7553         * buffer.C (readFile): Run the lyxconvert script in order to read
7554         old files.
7555
7556 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7557
7558         * LyXAction.C:
7559         * commandtags.h:
7560         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7561
7562 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7563
7564         * LyXAction.C:
7565         * commandtags.h:
7566         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7567
7568 2002-07-22  Herbert Voss  <voss@lyx.org>
7569
7570         * lengthcommon.C:
7571         * lyxlength.[Ch]: add support for the vertical lengths
7572
7573 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7574
7575         * toc.[Ch]: std:: fixes
7576
7577 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7578
7579         * lyxrc.C: do not include lyx_main.h
7580
7581         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7582         for layouts
7583
7584         * lyxrc.C:
7585         * encoding.C:
7586         * bufferlist.C:
7587         * BufferView2.C: include "lyxlex.h"
7588
7589         * tabular.h:
7590         * bufferparams.h: do not #include "lyxlex.h"
7591
7592         * lyxtextclasslist.C (Add): remove method
7593         (classlist): renamed to classlist_
7594
7595         * paragraph_pimpl.C:
7596         * paragraph.C:
7597         * text2.C:
7598         * CutAndPaste.C:
7599         * bufferview_funcs.C:
7600         * bufferlist.C:
7601         * text.C:
7602         * LaTeXFeatures.C:
7603         * buffer.C:
7604         * toc.C (getTocList): use BufferParams::getLyXTextClass
7605
7606         * toc.C (getTocList): use InsetFloat::addToToc
7607
7608         * toc.[Ch]: new files, containing helper functions to handle table
7609         of contents
7610
7611         * lyxfunc.C (dispatch): no need to remove spaces around command
7612         given as a string
7613         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7614         first command of the sequence; it is not very clever, but I do not
7615         have a better idea, actually
7616
7617         * LyXAction.C (LookupFunc): make sure to remove space at the
7618         beginning and end of the command
7619
7620 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7621
7622         * MenuBackend.C (getMenubar): new method: return the menubar of
7623         this menu set
7624         (read): treat differently reading of menu and menubar (in
7625         particular, the menubar has no name now)
7626         (Menu::menubar): remove
7627
7628         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7629         saving is finished
7630
7631 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7632
7633         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7634         a bibitem inset in a RTL paragraph.
7635
7636 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7637
7638         * paragraph_pimpl.C: constify
7639
7640         * BufferView_pimpl.C:
7641         * LaTeX.C:
7642         * lyxfunc.C: fix dispatch in a nicer way
7643
7644 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7645
7646         * lyxfunc.C (dispatch):
7647         * BufferView_pimpl.C:
7648         * BufferView_pimpl.h:
7649         * BufferView.C:
7650         * BufferView.h: rename Dispatch() to dispatch()
7651
7652         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7653
7654         * lyxlayout.C (Read): honor DependsOn tag
7655
7656         * lyxlayout.[Ch] (depends_on): new method
7657
7658         * version.C.in: update lyx_docversion
7659
7660         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7661
7662         * paragraph.C (validate): remove from here...
7663         * paragraph_pimpl.C (validate): ... and move here
7664         (isTextAt): make it const
7665
7666         * buffer.C (getLists): ws cleanup
7667
7668 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7669
7670         * language.C (read): Use iso8859-1 encoding in latex_lang
7671         (this prevents LyX from crashing when using iso10646-1 encoding).
7672
7673 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7674
7675         * text2.C (toggleInset): if cursor is inside an inset, close the
7676         inset and leave cursor _after_ it
7677
7678 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7679
7680         * lyxfunc.C: move minibuffer completion handling out of here
7681
7682 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7683
7684         * BufferView_pimpl.C:
7685         * LaTeX.C: fix dispatch calls
7686
7687 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7688
7689         * text.C (drawChars): Fix Arabic text rendering.
7690
7691 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7692
7693         * LyXAction.C:
7694         * commandtags.h:
7695         * lyxfunc.C: remove message-push/pop
7696
7697         * lyxserver.C:
7698         * lyxfunc.h:
7699         * lyxfunc.C: rationalise some code by removing verboseDispatch
7700           in favour of a bool argument to dispatch()
7701
7702 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7703
7704         * lyx_main.C (init): make sure to read symlinks as absolute paths
7705
7706 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7707
7708         * lyxfunc.h:
7709         * lyxfunc.C: no need for commandshortcut to be a member
7710
7711 2002-07-15  André Pönitz <poenitz@gmx.net>
7712
7713         * converter.C: add support for $$s (scripts from lib/scripts dir)
7714         * lyx_main.C: white space
7715
7716 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7717
7718         * bufferlist.C:
7719         * lyxrc.h:
7720         * lyxrc.C: remove second exit confirmation
7721
7722 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7723
7724         * BufferView.h:
7725         * BufferView.C:
7726         * BufferView2.C:
7727         * BufferView_pimpl.h:
7728         * BufferView_pimpl.C:
7729         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7730
7731 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7732
7733         * MenuBackend.C (expand): add numeric shortcuts to document menu
7734
7735         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7736
7737 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7738
7739         * lyxfont.C (setLyXFamily):
7740         (setLyXSeries):
7741         (setLyXShape):
7742         (setLyXSize):
7743         (setLyXMisc):
7744         (lyxRead):
7745         * debug.C (value):
7746         * buffer.C (asciiParagraph): use ascii_lowercase
7747
7748 2002-07-15  Mike Fabian  <mfabian@suse.de>
7749
7750         * lyxlex_pimpl.C (search_kw):
7751         * lyxlex.C (getLongString):
7752         * converter.h (operator<):
7753         * converter.C (operator<):
7754         * buffer.C (parseSingleLyXformat2Token):
7755         (asciiParagraph):
7756         * ToolbarDefaults.C (read):
7757         * MenuBackend.C (checkShortcuts):
7758         (read):
7759         * LColor.C (getFromGUIName):
7760         (getFromLyXName): use the compare_ascii_no_case instead of
7761         compare_no_case, because in turkish, 'i' is not the lowercase
7762         version of 'I', and thus turkish locale breaks parsing of tags.
7763
7764 2002-07-16  Angus Leeming  <leeming@lyx.org>
7765
7766         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7767         now takes a Buffer const & argument.
7768
7769 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7770
7771         * BufferView.C (resize): check there's a buffer to resize
7772
7773 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7774
7775         * lyxfunc.C: remove dead code
7776
7777         * lyxserver.h:
7778         * lyxserver.C: use lyx_guii::set_read_callback
7779
7780 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7781
7782         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7783         an inset in a RTL paragraph.
7784
7785 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7786
7787         * lyxfunc.C: repaint after a font size update
7788
7789 2002-07-15  André Pönitz <poenitz@gmx.net>
7790
7791         * lyxlength.C: inBP should be able to return negative values
7792
7793 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7794
7795         * lyxfunc.C: use lyx_gui::update_fonts()
7796
7797 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7798
7799         * lyxfunc.C: use lyx_gui::update_color()
7800
7801 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7802
7803         * bufferlist.C:
7804         * lyxfunc.h:
7805         * lyxfunc.C:
7806         * lyxrc.h:
7807         * lyxrc.C: remove file->new asks for name option, and let
7808           buffer-new take an argument
7809
7810 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7811
7812         * BufferView_pimpl.C: remove unneeded extra repaint()
7813
7814 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7815
7816         * LyXAction.C: allow command-sequence with NoBuffer
7817
7818         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7819
7820 2002-07-10  Angus Leeming  <leeming@lyx.org>
7821
7822         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7823
7824 2002-07-09  Angus Leeming  <leeming@lyx.org>
7825
7826         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7827
7828 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7829
7830         * lengthcommon.h: whitespace
7831
7832         * lyxfunc.C: update scrollbar after goto paragraph
7833
7834         * lyxtext.h: factor out page break drawing, and fix it so
7835           page break/added space paints as selected nicely
7836
7837 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7838
7839         * BufferView_pimpl.C: add FIXMEs, clean up a little
7840
7841 2002-07-09  André Pönitz <poenitz@gmx.net>
7842
7843         * lyxfont.[Ch]: support for wasy symbols
7844
7845 2002-07-08  André Pönitz <poenitz@gmx.net>
7846
7847         * BufferView_pimpl.C: apply John's patch for #93.
7848
7849 2002-07-05  Angus Leeming  <leeming@lyx.org>
7850
7851         * BufferView_pimpl.C (buffer): generate previews if desired.
7852
7853         * LColor.h: add "preview" to the color enum.
7854
7855         * LColor.C (LColor): add a corresponding entry to the items array.
7856
7857         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7858         with this buffer.
7859
7860 2002-07-05  Angus Leeming  <leeming@lyx.org>
7861
7862         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7863         The body of the code is now in the method that is passed an ostream &
7864         rather than a file name.
7865         Pass an additional only_preamble parameter, useful for the forthcoming
7866         preview stuff.
7867
7868 2002-07-03  André Pönitz <poenitz@gmx.net>
7869
7870         * lyxfunc.C: simplify getStatus() a bit for math stuff
7871
7872 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7873
7874         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7875
7876 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7877
7878         * text.C (changeRegionCase): do not change case of all the
7879         document when region ends at paragraph end (bug #461)
7880
7881 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7882
7883         * paragraph.C (startTeXParParams):
7884         (endTeXParParams): add \protect when necessary
7885
7886 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7887
7888         * BufferView_pimpl.C (workAreaExpose): remove warning
7889
7890 2002-06-27  Angus Leeming  <leeming@lyx.org>
7891
7892         * Makefile.am: add lyxlayout_ptr_fwd.h.
7893
7894 2002-06-26  André Pönitz <poenitz@gmx.net>
7895
7896         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7897
7898 2002-06-25  Angus Leeming  <leeming@lyx.org>
7899
7900         * lyxfunc.C (dispatch): Comment out the call to
7901         grfx::GCache::changeDisplay. The method no longer exists now that the
7902         pixmap generation part of the graphics loader has been moved into
7903         InsetGraphics.
7904
7905 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7906
7907         * text2.C: layout as layout
7908
7909         * text.C: layout as layout
7910
7911         * tabular.C (OldFormatRead): layout as layout
7912
7913         * paragraph_pimpl.C (TeXDeeper): layout as layout
7914         (realizeFont): layout as layout
7915
7916         * paragraph.C (writeFile): layout as layout
7917         (validate): layout as layout
7918         (getFont): layout as layout
7919         (getLabelFont): layout as layout
7920         (getLayoutFont): layout as layout
7921         (breakParagraph): layout as layout
7922         (stripLeadingSpaces): layout as layout
7923         (getEndLabel): layout as layout
7924         (getMaxDepthAfter): layout as layout
7925         (applyLayout): layout as layout
7926         (TeXOnePar): layout as layout
7927         (simpleTeXOnePar): layout as layout
7928         (TeXEnvironment): layout as layout
7929         (layout): layout as layout
7930         (layout): layout as layout
7931
7932         * lyxtextclass.C (compare_name): new functor to work with
7933         shared_ptr, layout as layout
7934         (Read): layout as layout
7935         (hasLayout): layout as layout
7936         (operator): layout as layout
7937         (delete_layout): layout as layout
7938         (defaultLayout): layout as layout
7939
7940         * lyxlayout_ptr_fwd.h: new file
7941
7942         * lyxlayout.C (Read): layout as layout
7943
7944         * lyx_cb.C (MenuInsertLabel): layout as layout
7945
7946         * bufferlist.C (newFile): layout as layout
7947
7948         * buffer.C (readLyXformat2): layout as layout
7949         (parseSingleLyXformat2Token): layout as layout
7950         (insertStringAsLines): layout as layout
7951         (asciiParagraph): layout as layout
7952         (latexParagraphs): layout as layout
7953         (makeLinuxDocFile): layout as layout
7954         (simpleLinuxDocOnePar): layout as layout
7955         (makeDocBookFile): layout as layout
7956         (simpleDocBookOnePar): layout as layout
7957         (getLists): layout as layout
7958
7959         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7960
7961         * CutAndPaste.C (cutSelection): layout as layout
7962         (pasteSelection): layout as layout
7963         (SwitchLayoutsBetweenClasses): layout as layout
7964
7965         * BufferView_pimpl.C (Dispatch): layout as layout
7966         (smartQuote): layout as layout
7967
7968         * BufferView2.C (unlockInset): layout as layout
7969
7970 2002-06-24  André Pönitz <poenitz@gmx.net>
7971
7972         * lyxfunc.C: fix #487
7973
7974 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7975
7976         * lyxrc.h:
7977         * lyxrc.C:
7978         * lyxfunc.C: remove display_shortcuts, show_banner
7979
7980 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7981
7982         * Buffer_pimpl.C: oops, update on resize
7983
7984 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7985
7986         * buffer.C:
7987         * converter.C:
7988         * exporter.C:
7989         * lyxfunc.C:
7990         * BufferView.h:
7991         * BufferView.C: use repaint()
7992
7993         * BufferView_pimpl.h:
7994         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7995           as it's a clearer description. Remove superfluous
7996           redraws.
7997
7998 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7999
8000         * text.C: fix bug 488. Not ideal, but getting
8001           getWord() to work properly for the insets that
8002           matter is more difficult ...
8003
8004 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8005
8006         * BufferView_pimpl.C:
8007         * LyXAction.C:
8008         * commandtags.h:
8009         * lyxfunc.C: remove the six million index lyxfuncs to just
8010           one, and DTRT (bug 458)
8011
8012 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8013
8014         * BufferView.h:
8015         * BufferView.C:
8016         * BufferView_pimpl.h:
8017         * BufferView_pimpl.C: clean up resize() stuff,
8018           and unnecessary updateScreen()s
8019
8020 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8021
8022         * BufferView.h:
8023         * BufferView.C:
8024         * BufferView_pimpl.h:
8025         * BufferView_pimpl.C:
8026         * lyxfind.h:
8027         * lyxfind.C:
8028         * minibuffer.C: remove focus management of workarea,
8029           not needed. Use screen's greyOut()
8030
8031 2002-06-17  Herbert Voss  <voss@lyx.org>
8032
8033         * converter.C: (convert) do not post a message, when converting
8034         fails, let the calling function decide what to do in this case
8035
8036 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8037
8038         * lyxfunc.C: tidy up a little
8039
8040 2002-06-16    <alstrup@diku.dk>
8041
8042         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8043         Got rid of FORMS_H_LOCATION include. Now we are
8044         GUII.
8045
8046 2002-06-15  LyX Development team  <lyx@rilke>
8047
8048         * buffer.[Ch] (sgmlOpenTag):
8049         (sgmlCloseTag): Added support for avoiding pernicious mixed
8050         content. Return number of lines written.
8051
8052         (makeLinuxDocFile):
8053         (makeDocBookFile): Fixed calls to sgml*Tag.
8054         Simple white space clean.
8055
8056         (simpleDocBookOnePar): Simple white space clean.
8057
8058         * tabular.[Ch] (docBook): Renamed to docbook and got another
8059         argument to related with the pernicious mixed content.
8060
8061         (docbookRow): Fixed calls for docbook inset method.
8062
8063 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8064
8065         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8066         so it's X11 independent.
8067
8068         * kb*.[Ch]: ditto.
8069
8070         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8071
8072 2002-06-15  Lyx Development team  <lyx@electronia>
8073
8074         * intl.h: Renamed getTrans to getTransManager.
8075
8076 2002-06-14  Angus Leeming  <leeming@lyx.org>
8077
8078         * Makefile.am: nuke forgotten stl_string_fwd.h.
8079
8080 2002-06-12  Angus Leeming  <leeming@lyx.org>
8081
8082         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8083
8084 2002-06-13  Angus Leeming  <leeming@lyx.org>
8085
8086         * LaTeX.C:
8087         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8088
8089 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8090
8091         * kbmap.C (getiso): add support for cyrillic and greek
8092
8093 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8094
8095         * BufferView.h:
8096         * BufferView.C:
8097         * BufferView_pimpl.h:
8098         * BufferView_pimpl.C: move bogus scrolling logic
8099           to xforms
8100
8101 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8102
8103         * lyxfunc.C:
8104         * BufferView_pimpl.C: view->resize() change
8105
8106 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8107
8108         * BufferView_pimpl.C: topCursorVisible
8109           prototype change
8110
8111 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8112
8113         * Makefile.am:
8114         * lyx_gui.h:
8115         * lyx_gui.C: move to frontends/
8116
8117         * main.C:
8118         * lyx_main.h:
8119         * lyx_main.C: changes from above
8120
8121 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8122
8123         * intl.C:
8124         * intl.h:
8125         * kbmap.C:
8126         * kbsequence.C:
8127         * lyx_cb.C:
8128         * lyx_main.C: minor tidy
8129
8130 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8131
8132         * BufferView_pimpl.h:
8133         * BufferView_pimpl.C:
8134         * BufferView.h:
8135         * BufferView.C: make painter() const,
8136           remove dead code
8137
8138         * BufferView2.C: use screen() accessor
8139
8140         * lyx_main.h:
8141         * lyx_main.C: some minor cleanup
8142
8143 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8144
8145         * BufferView_pimpl.h:
8146         * BufferView_pimpl.C: remove enter/leaveView,
8147           use workHeight()
8148
8149 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8150
8151         * BufferView.h:
8152         * BufferView.C:
8153         * BufferView2.C:
8154         * BufferView_pimpl.h:
8155         * BufferView_pimpl.C: only construct screen once,
8156           rename
8157
8158         * lyxrc.C: remove pointless comment
8159
8160 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8161
8162         * BufferView.h:
8163         * BufferView.C: remove active() and belowMouse()
8164
8165         * BufferView_pimpl.h:
8166         * BufferView_pimpl.C: use workarea() not workarea_,
8167           and make it use a scoped_ptr instead
8168
8169 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8170
8171         * lyx_gui.C: add debug message on BadWindow
8172
8173 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8174
8175         * sp_spell.C: fdopen is not part of the C++ standard.
8176
8177         * paragraph.C (InsetIterator): use >= instead of ==
8178
8179 2002-06-07  Angus Leeming  <leeming@lyx.org>
8180
8181         Fixes needed to compile with Compaq cxx 6.5.
8182         * BufferView_pimpl.C:
8183         * DepTable.C:
8184         * buffer.C:
8185         * converter.C:
8186         * encoding.C:
8187         * lyx_gui.C:
8188         * lyx_main.C:
8189         * lyxtextclasslist.C:
8190         * minibuffer.C:
8191         * sp_spell.C:
8192         * tabular_funcs.C:
8193         * vc-backend.C:
8194         all c-library variables have been moved into namespace std. Wrap
8195         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8196
8197         * lyxlength.C:
8198         * tabular-old.C:
8199         * tabular.C:
8200         Add a using std::abs declaration.
8201
8202         * kbmap.h (modifier_pair):
8203         * paragraph.h (InsetTable, InsetList):
8204         * lyxfont.h (FontBits):
8205         type definition made public.
8206
8207         * bufferlist.C (emergencyWriteAll): the compiler complains that
8208         there is more than one possible lyx::class_fun template to choose from.
8209         I re-named the void specialisation as lyx::void_class_fun.
8210
8211         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8212
8213         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8214         the compiler is is unable to find tostr in write_attribute.
8215
8216 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8217
8218         * buffer.C (sgmlError): hide #warning
8219
8220 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8221
8222         * xtl/*: get rid of xtl, which is not in use anyway
8223
8224         * LyXAction.C (init):
8225         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8226         were unimplemented xtl experimentation
8227
8228 2002-06-04  André Pönitz <poenitz@gmx.net>
8229
8230         * lyxfunc.C: disable array operation on simple formulae
8231
8232 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8233
8234         * converter.C: constify a bit
8235
8236 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8237
8238         * lyx_gui.C: check xforms version correctly
8239
8240 2002-04-30  Herbert Voss  <voss@lyx.org>
8241
8242         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8243         "keep" option
8244
8245 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8246
8247         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8248           attempt to register it with a VCS)
8249
8250 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8251
8252         * lyx_main.C (init): honor variables LYX_DIR_13x and
8253         LYX_USERDIR_13x
8254
8255 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8256
8257         * buffer.h:
8258         * buffer.C:
8259         * lyx_main.C: fix a crash on bad command line,
8260           and give a useful exit status on error
8261
8262         * lyxfunc.C (doImport): allow -i lyx to work
8263
8264 2002-03-30  André Pönitz <poenitz@gmx.net>
8265
8266         * lyxfunc.C: mathed font changes
8267
8268 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8269
8270         * LaTeX.C:
8271         * importer.h:
8272         * importer.C:
8273         * lyx_sty.h:
8274         * lyx_sty.C:
8275         * lyxlex.C:
8276         * lyxrow.h:
8277         * lyxtext.h:
8278         * paragraph.h:
8279         * paragraph.C:
8280         * texrow.h:
8281         * texrow.C:
8282         * text.C:
8283         * trans_mgr.h: srcdocs, and some minor cleanups
8284
8285 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8286
8287         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8288         call getFont all the time)
8289
8290 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8291
8292         * switch from SigC signals to boost::signals
8293
8294 2002-05-29  André Pönitz <poenitz@gmx.net>
8295
8296         * paragraph_pimpl.C (getChar): don't call size() too often...
8297
8298 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8299
8300         * paragraph_pimpl.C (insertChar): do not try to update tables when
8301         appending (pos == size())
8302
8303         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8304         in order to reduce drastically the number of comparisons needed to
8305         parse a large document
8306
8307 2002-05-29  André Pönitz <poenitz@gmx.net>
8308
8309         * text.C:
8310         * text2.C:
8311         * lyxtextclass.C:
8312         * sp_pspell.h:
8313         * textclasslist.[Ch]:
8314         * sp_ispell.h: whitespace change
8315
8316 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8317
8318         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8319         lyxaction directly now.
8320
8321 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8322
8323         * trans.C:
8324         * lyxfont.C:
8325         * lyxvc.C: remove unused headers
8326
8327 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8328
8329         * Makefile.am:
8330         * buffer.h:
8331         * undostack.h:
8332         * undostack.C:
8333         * undo_funcs.h:
8334         * undo_funcs.C: some cleanups. Use shared_ptr
8335           and a template for the undo stacks.
8336
8337 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8338
8339         * BufferView_pimpl.h:
8340         * BufferView_pimpl.C:
8341         * kbmap.h:
8342         * kbmap.C:
8343         * kbsequence.h:
8344         * kbsequence.C:
8345         * lyxfunc.h:
8346         * lyxfunc.C:
8347         * text2.C: use key_state/mouse_state
8348
8349 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8350
8351         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8352         and LSubstring
8353
8354         * chset.C: change include order
8355         (loadFile): use boost regex and get rid of LRegex and LSubstring
8356
8357         * Makefile.am (BOOST_LIBS): new variable
8358         (lyx_LDADD): use it
8359
8360         * LaTeX.C: change include order.
8361         (scanAuxFile): use boost regex and get rid of LRegex and
8362         LSubstring
8363         (deplog): ditto
8364
8365 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8366
8367         * ColorHandler.h:
8368         * ColorHandler.C:
8369         * FontInfo.h:
8370         * FontInfo.C: moved to frontends/xforms/
8371
8372         * FontLoader.h:
8373         * FontLoader.C: moved into frontends for GUIIzation
8374
8375         * Makefile.am:
8376         * lyx_gui.C:
8377         * lyxfont.C:
8378         * lyxfunc.C: changes from above
8379
8380 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8381
8382         * LColor.C: remove spurious X include
8383
8384         * BufferView_pimpl.C:
8385         * Makefile.am:
8386         * font.h:
8387         * font.C:
8388         * text.C:
8389         * text2.C: move font metrics to frontends/
8390
8391 2002-05-24  Juergen Vigna  <jug@sad.it>
8392
8393         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8394         setting the undo_cursor.
8395
8396         * ParagraphParameters.h: include local includes first.
8397
8398 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8399
8400         * BufferView_pimpl.C:
8401         * BufferView_pimpl.h:
8402         * Makefile.am:
8403         * WorkArea.h:
8404         * WorkArea.C:
8405         * screen.C: move WorkArea into frontends/
8406
8407         * lyxscreen.h:
8408         * screen.C:
8409         * text.C:
8410         * BufferView.C:
8411         * BufferView2.C: move LyXScreen into frontends/
8412
8413         * lyxlookup.h:
8414         * lyxlookup.C:
8415         * lyx_gui.C: move lyxlookup into frontends/xforms/
8416
8417 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8418
8419         * BufferView2.C:
8420         * BufferView_pimpl.C:
8421         * FontLoader.C:
8422         * LyXView.h:
8423         * LyXView.C:
8424         * Makefile.am:
8425         * WorkArea.C:
8426         * XFormsView.h:
8427         * XFormsView.C:
8428         * buffer.C:
8429         * bufferlist.C:
8430         * bufferview_funcs.C:
8431         * converter.C:
8432         * importer.C:
8433         * lyx_cb.C:
8434         * lyx_gui.C:
8435         * lyx_main.C:
8436         * lyx_find.C:
8437         * lyxfunc.C:
8438         * lyxvc.C:
8439         * minibuffer.C:
8440         * text.C:
8441         * text2.C:
8442         * trans.C:
8443         * vc-backend.C: move LyX/XFormsView into frontends/
8444
8445 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8446
8447         * Makefile.am:
8448         * PainterBase.C:
8449         * PainterBase.h:
8450         * Painter.C:
8451         * Painter.h:
8452         * WorkArea.C:
8453         * WorkArea.h:
8454         * screen.C:
8455         * tabular.C:
8456         * text.C:
8457         * text2.C: move Painter to frontends/
8458
8459 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8460
8461         * buffer.C: comment out some some code that depend upon lyx_format
8462         < 220
8463
8464         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8465         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8466
8467         * buffer.h (NO_COMPABILITY): turn off compability
8468
8469         * ColorHandler.C: include scoped_array.hpp
8470
8471         * font.C: Use more specific smart_ptr header.
8472         * Painter.C: ditto
8473         * gettext.C: ditto
8474         * ShareContainer.h: ditto
8475         * lyx_main.h: ditto
8476         * kbmap.h: ditto
8477         * FontInfo.h: ditto
8478         * BufferView_pimpl.h: ditto
8479         * ColorHandler.h: ditto
8480
8481         * kbmap.C (defkey): change call to shared_ptr::reset
8482
8483 2002-05-21  Juergen Vigna  <jug@sad.it>
8484
8485         * buffer.C (insertErtContents): fix to insert ert asis if it is
8486         non empty. Skip it completely if it contains only whitespaces.
8487
8488 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8489
8490         * BufferView_pimpl.C:
8491         * BufferView2.C: clear selection on paste (bug 393)
8492
8493 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8494
8495         * DepTable.C: include ctime
8496
8497 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8498
8499         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8500
8501 2002-05-14  Juergen Vigna  <jug@sad.it>
8502
8503         * text.C (breakParagraph): fixed function to honor the keepempty
8504         layout in the right maner and also to permit the right breaking
8505         algorithm on empty or non empyt keepempty paragraphs.
8506
8507         * paragraph.C (breakParagraph): we have to check also if the par
8508         is really empty (!size()) for isempty otherwise we do the wrong
8509         paragraph break.
8510
8511 2002-05-10  Juergen Vigna  <jug@sad.it>
8512
8513         * buffer.[Ch] : The following are only changes to the ert
8514         compatibility read reading old LaTeX layout and font stuff and
8515         convert it to ERTInsets.
8516
8517         * buffer.h: added isErtInset().
8518
8519         * buffer.C (struct ErtComp): add a fromlayout bool to check
8520         if we're inside a LaTeX layout.
8521         (isErtInset): new helper function.
8522         (insertErtContents): look for other ert insets before this one
8523         and insert the contents there, so that we don't have subsequent
8524         ERT insets with nothing between them. This way we create only one
8525         inset with multiple paragraphs. Also check if we don't insert only
8526         spaces ' ' as they are ignored anyway afterwards in the .tex file
8527         so if we have only spaces we will ignore this latex part in the
8528         new file.
8529         (parseSingleLyXformat2Token \\layout): better compatibility when
8530         reading layout-latex stuff.
8531         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8532         language tag.
8533         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8534         stuff after reading the inset only get the information back from
8535         the stack.
8536
8537 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8538
8539         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8540
8541         * LaTeXFeatures.C (getBabelOptions): New method.
8542
8543 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8544
8545         * BufferView_pimpl.C (Dispatch): work around missing argument for
8546         'layout'
8547
8548 2002-05-08  Juergen Vigna  <jug@sad.it>
8549
8550         * text.C (leftMargin): handle paragraph leftindent.
8551
8552         * paragraph.C (writeFile): write the new \\leftindent tag.
8553         (validate): handle leftindent code.
8554         (TeXEnvironment): handle paragraphleftindent code again.
8555
8556         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8557
8558         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8559         for paragrap_extra indent code and new token \\leftindent.
8560         (latexParagraphs): handle the leftindent as environment.
8561
8562         * ParameterStruct.h: added leftindent support.
8563
8564         * ParagraphParameters.C (leftIndent): added support functions for
8565         the paragraph left indent.
8566
8567         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8568         more appropriate.
8569
8570 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8571
8572         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8573         inside insetERT.
8574
8575         * text.C (computeBidiTables): No bidi in insetERT.
8576
8577         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8578         in RTL documents.
8579
8580 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8581
8582         * version.C.in: pre 5
8583
8584 2002-05-02  José Matos  <jamatos@fep.up.pt>
8585         * buffer.C (makeDocBookFile): white space changes, add newline to
8586         command styles.
8587         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8588
8589         * tabular.C (docBook): fix typo.
8590
8591 2002-05-03  Juergen Vigna  <jug@sad.it>
8592
8593         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8594         change in LyXText as we can not be sure it was not freed.
8595         (drawOneRow): remove unused code.
8596
8597         * text.C (drawInset): redo the calculation of the need_break_row as
8598         it could have a row which was already freed.
8599         (draw): look at the return value of drawInset and return false if
8600         it also returned false.
8601         (paintRowText): look at the return value of draw and return false if
8602         it also returned false.
8603
8604         * lyxtext.h: added bool return type to drawInset() and draw() so that
8605         if we have a change in the row so that the rowbreak has to be redone
8606         we abort drawing as it will be called again.
8607
8608 2002-05-02  Juergen Vigna  <jug@sad.it>
8609
8610         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8611         a change in the maintext also if we're inside an inset.
8612         (Dispatch): set the cursor again after a break line and after the
8613         screen has been updated as it could be we're in a different row.
8614
8615         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8616         to set the cursor behind the pargraph with > size().
8617         (setCursor): check also for the same paragraph when checking where
8618         to put the cursor if we have a NFR inset.
8619
8620         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8621         parts of layout read further up as it still was in the wrong
8622         position.
8623
8624 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8625
8626         * screen.C (drawFromTo): change sine fullRebreak always return
8627         true.
8628
8629         * buffer.C (parseSingleLyXformat2Token): reindent some
8630
8631         * BufferView_pimpl.C (update): change since fullRebreak always
8632         return true.
8633         (Dispatch): git rid of the last hardcoded "Standard"s.
8634
8635 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8636
8637         * text2.[Ch] (fullRebreak): make it return void now that we always
8638         returned true.
8639
8640 2002-04-30  Juergen Vigna  <jug@sad.it>
8641
8642         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8643         ert compatibility check for "latex" layout.
8644
8645 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8646
8647         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8648         minipages: use col% instead of p%, and also use the current font.
8649         (makeLaTeXFile): Fix use babel condition.
8650         (parseSingleLyXformat2Token): Correct font when reading old floats.
8651
8652 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8653
8654         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8655         inserting list of floats.
8656
8657 2002-04-25  Herbert Voss  <voss@lyx.org>
8658
8659         * MenuBackend.C (expand): don't add the graphics extensions to the
8660         export menu
8661
8662 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8663
8664         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8665         non-existing layout, do not complain if it was the default layout
8666         of the original class (bug #342)
8667
8668 2002-04-24  Juergen Vigna  <jug@sad.it>
8669
8670         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8671         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8672
8673 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8674
8675         * buffer.C (getBibkeyList): If using \bibliography, return the
8676         option field with the reference itself. Enables us to provide natbib
8677         support when using \bibliography.
8678
8679 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8680
8681         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8682
8683         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8684         natbib is provided by the LaTeX class.
8685
8686 2002-04-23  Juergen Vigna  <jug@sad.it>
8687
8688         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8689         Wakeup functions.
8690
8691         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8692
8693 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8694
8695         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8696
8697         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8698         ensuremath around textordmasculine, textordfeminine and
8699         textdegree.
8700
8701 2002-04-19  Juergen Vigna  <jug@sad.it>
8702
8703         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8704         reinitializing the buffer otherwise row-dimensions may be wrong.
8705         (update): reset also the selection cursors if they do exits otherwise
8706         their x/y positions may be wrong.
8707
8708         * text2.C (cursorDown): don't enter the inset if we came from a row
8709         above and are one row over the inset.
8710
8711         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8712         really leaving an inset.
8713
8714 2002-04-18  Juergen Vigna  <jug@sad.it>
8715
8716         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8717         of the selected paragraph does not have the selected layout also if
8718         the last one had!
8719
8720         * text2.C (setLayout): fixed bug which did not change last selected
8721         paragraph.
8722
8723         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8724         changed the read and substituted \\end_float with \\end_inset!
8725
8726         * BufferView_pimpl.C (cursorPrevious):
8727         (cursorNext): fixed to make it work with rows heigher than the work
8728         area without moving the cursor only the draw of the row.
8729         (workAreaMotionNotify): fix jumping over high rows.
8730
8731 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8732
8733         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8734         Ressler.
8735
8736 2002-04-16  Juergen Vigna  <jug@sad.it>
8737
8738         * text2.C (setCursor): set also the irow().
8739         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8740         (cursorUp):
8741         (cursorDown): support for locking an inset if the x_fix value goes
8742         inside it. That way I can transverse insets too with cursor up/down.
8743
8744         * lyxrow.h: added irow helper function same as other (i) functions.
8745
8746         * BufferView_pimpl.C (cursorPrevious):
8747         (cursorNext): fixed for insets!
8748
8749 2002-04-15  Juergen Vigna  <jug@sad.it>
8750
8751         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8752         position otherwise it is wrong in some cases.
8753
8754         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8755         inside the inset before the call.
8756
8757 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8758
8759         * buffer.[Ch] (getBibkeyList): make it const.
8760
8761 2002-04-12  Juergen Vigna  <jug@sad.it>
8762
8763         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8764
8765         * text2.C (getCursorX): new helper function
8766         (setCursor): compute also ix_
8767         (setCursorFromCoordinates): set also ix.
8768
8769         * lyxcursor.h: added ix_ and helper functions.
8770
8771         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8772
8773         * buffer.C (insertStringAsLines): dont break paragraph if the this
8774         paragraph is inside an inset which does not permit it!
8775
8776         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8777         also with no chars on this paragraph.
8778         (paintRowText): only paint stuff if it's inside the workarea!
8779
8780         * paragraph.C (breakParagraph): honor keepempty flag and break the
8781         paragraph always below not above.
8782
8783         * BufferView2.C (unlockInset): update the paragraph layout on inset
8784         unlock as we changed paragraph in such a case.
8785
8786         * lyxfind.C (LyXFind): clear the former selection if not found!
8787
8788         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8789         again called in insertChar().
8790
8791         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8792         an inset which uses the whole row!
8793         (rightMargin): ditto.
8794         (insertChar): force a rebreak if we inserted an inset!
8795
8796 2002-03-28  Herbert Voss  <voss@lyx.org>
8797
8798         * lyxlength.[Ch]: add inBP() to get the right PS-point
8799         units (BigPoint). With inPixels we have rounding errors
8800
8801 2002-04-11  Juergen Vigna  <jug@sad.it>
8802
8803         * text2.C (setCursorFromCoordinates): set iy to the right value.
8804         (setCursor): add check if row->previous exists!
8805
8806         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8807         an old float_type as this was the case in the old code!
8808
8809         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8810
8811         * BufferView2.C (showLockedInsetCursor): use iy
8812         (fitLockedInsetCursor): ditto
8813
8814         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8815         locked insets as there we have the right value now.
8816
8817         * lyxcursor.C: added iy_ variable and iy functions to set to the
8818         baseline of cursor-y of the locked inset.
8819
8820         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8821         (setCursor): fixed for insets which need a full row.
8822
8823         * text.C (rowLastPrintable): don't ignore the last space when before
8824         an inset which needs a full row.
8825         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8826         as last character of a row when before a inset which needs a full row.
8827
8828 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8829
8830         * version.C.in: update date
8831
8832         * text2.C (fullRebreak): try to always return true and see what
8833         happens...
8834
8835 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8836
8837         * MenuBackend.C (expand): use Floating::listName
8838
8839         * FloatList.C (FloatList): add listName argument to the built-in
8840         floats
8841
8842         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8843         text associated with the float.
8844
8845 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8846
8847         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8848
8849 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8850
8851         * ShareContainer.h: add a couple of missing typenames.
8852
8853 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8854
8855         * lyxrc.C (getDescription): use _() correctly rather than N_().
8856
8857 2002-03-28  Herbert Voss  <voss@lyx.org>
8858
8859         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8860         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8861
8862 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8863
8864         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8865         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8866
8867 2002-03-29  Juergen Vigna  <jug@sad.it>
8868
8869         * lyxfunc.C (dispatch): add a missing fitCursor call.
8870
8871         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8872         it was scrolled by a cursor move, so return the bool status.
8873
8874         * BufferView.C (fitCursor): return the bool flag also to the outside
8875         world as this is needed.
8876
8877         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8878
8879         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8880         call the edit() as it is not needed (and wrong) IMO.
8881         (workAreaButtonPress): set the screen_first variable before evt.
8882         unlock the inset as this may change screen_first and then we have
8883         a wrong y position for the click!
8884
8885 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8886
8887         * MenuBackend.C (expand): another translation that I missed
8888
8889 2002-03-28  Juergen Vigna  <jug@sad.it>
8890
8891         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8892
8893         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8894
8895 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8896
8897         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8898
8899         * MenuBackend.C (expand): fix export/view/update when there is no
8900         document open.
8901
8902 2002-03-27  Herbert Voss  <voss@lyx.org>
8903
8904         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8905         and text%
8906
8907 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8908
8909         * bufferview_funcs.C (currentState): only show paragraph number
8910         for is DEVEL_VERSION is set.
8911
8912         * lyxfunc.C (dispatch): put warning in INFO channel
8913
8914         * MenuBackend.C (expand): translate the name of floats
8915
8916         * FloatList.C (FloatList): mark the float names for translation
8917
8918         * converter.C (convert): use LibScriptSearch
8919
8920 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8921
8922         * MenuBackend.C (defaults): fix default menu (we might as well get
8923         rid of it...)
8924
8925 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8926
8927         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8928         directory.
8929
8930 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8931
8932         * lyxvc.C: reorder includes.
8933
8934 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8935
8936         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8937           properly
8938
8939 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8940
8941         * CutAndPaste.C: change layouts earlier on paste
8942           to avoid crashing when calling getFont()
8943
8944 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8945
8946         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8947         irritating #error.
8948
8949 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8950
8951         * WorkArea.C: remove 'Pending' debug message.
8952
8953         * most files: ws cleanup
8954
8955         * buffer.[Ch]: ws changes
8956
8957         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8958
8959 2002-03-21  Juergen Vigna  <jug@sad.it>
8960
8961         * tabular.C (SetMultiColumn): collapse also the contents of the
8962         cells and set the last border right. Added a Buffer const * param.
8963
8964 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8965
8966         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8967         linking or not.
8968
8969 2002-03-19  Juergen Vigna  <jug@sad.it>
8970
8971         * text2.C (clearSelection): reset also xsel_cache.
8972
8973         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8974         where it needs to be called (John tells us to do so too :)
8975         (selectionLost): reset sel_cache.
8976
8977         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8978
8979 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8980
8981         * text2.C (setCursorIntern): put debuging code in INSETS channel
8982
8983 2002-03-19  André Pönitz <poenitz@gmx.net>
8984
8985         * lyxfunc.C: tiny whitespace change
8986
8987 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8988
8989         * ToolbarDefaults.C (init):
8990         * LyXAction.C (init):
8991         * commandtags.h:
8992         * BufferView_pimpl.C (Dispatch):
8993         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8994
8995 2002-03-19  Allan Rae  <rae@lyx.org>
8996
8997         * exporter.C (Export): removeAutoInsets before doing anything else.
8998         While I've just introduced a dependency on BufferView this really is
8999         the best place to clean the buffer otherwise you need to cleanup in
9000         a dozen places before calling export or cleanup in a dozen functions
9001         that export calls.
9002
9003         * converter.C (runLaTeX):
9004         (scanLog): Better handling of removeAutoInsets and screen updates.
9005
9006         * lyxfunc.C (dispatch): small whitespace changes
9007
9008 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9009
9010         * WorkArea.C (C_WorkAreaEvent): return a value.
9011         (event_cb): return 1 if we handled the event, 0 otherwise.
9012
9013         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9014
9015 2002-03-18  Juergen Vigna  <jug@sad.it>
9016
9017         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9018         (GetAdditionalWidth): ditto.
9019         (RightLine): ditto.
9020         (LeftLine): ditto.
9021
9022         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9023         inset if we're there actually (probably not used right now but this
9024         is the direction to go for unifying code).
9025         (paste): disable code to clear the selection.
9026
9027         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9028         inside an InsetText and move the check further up as it is in the
9029         wrong place.
9030
9031         * text2.C (pasteSelection): set a selection over the pasted text.
9032
9033 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9034
9035         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9036         and libgraphics to build on Cygwin.
9037
9038 2002-03-15  Juergen Vigna  <jug@sad.it>
9039
9040         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9041         inserting an Inset into the paragraph. I know this is not the best
9042         fix but we already use current_view in CutAndPaste so we will remove
9043         all of it's using at the same time.
9044
9045         * buffer.C (sgmlError): deactivated function till it is rewritten in
9046         the right mode, now it can create problems.
9047
9048         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9049         before accessing it.
9050
9051 2002-03-14  Juergen Vigna  <jug@sad.it>
9052
9053         * undo_funcs.C (textHandleUndo): do the right thing when updating
9054         the inset after the undo/redo.
9055
9056         * text2.C (setCursor): just some testcode for #44 not ready yet.
9057
9058         * undo_funcs.C (textHandleUndo): set the next() and previous()
9059         pointers of the paragraph to 0 before deleting otherwise we have
9060         problems with the Paragraph::[destructor].
9061
9062         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9063         on a paragraph insertion.
9064
9065 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9066
9067         * buffer.C (asciiParagraph): use += operator for char append to
9068         string.
9069
9070         * paragraph.C (getFontSettings): compare >= not just >
9071         (highestFontInRange): ditto
9072         (setFont): ditto
9073
9074 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9075
9076         * paragraph.C: change several algorithm to be more appripriate for
9077         the problem domain. This is lookip in FontList and in the InsetList.
9078
9079 2002-03-13  André Pönitz <poenitz@gmx.net>
9080
9081         * commandtags.h:
9082         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9083
9084 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9085
9086         * commandtags.h:
9087         * LyXAction.C:
9088         * lyxfunc.C:
9089         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9090
9091 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9092
9093         * Painter.C (display): anon helper function, adjust code for this
9094         change.
9095         (pixmap): remove function.
9096
9097         * Painter.h: remove private display variable.
9098
9099         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9100
9101 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9102
9103         * WorkArea.[Ch]: remove figinset_canvas cruft.
9104
9105 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9106
9107         * lyxtextclass.C (operator): add one item cache optimization.
9108
9109         * bufferlist.h: doxy changes
9110
9111         * bufferlist.C: ws changes
9112
9113         * DepTable.[Ch] (ext_exist): place const in the right spot.
9114
9115         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9116         call resizeInsets.
9117         (workAreaExpose): call resizeInsets when the with BufferView changes.
9118         (Dispatch): adjust for protectedBlank removal
9119         (specialChar): call updateInset if the insert went ok.
9120
9121         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9122         specialChar instead.
9123
9124         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9125
9126         * BufferView.h: doxy change
9127
9128         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9129
9130         * lyxtextclass.C (operator[]): remove non-const version
9131         (defaultLayout): remove non-const version
9132
9133 2002-03-12  Juergen Vigna  <jug@sad.it>
9134
9135         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9136         did resize the LyXText too.
9137
9138         * buffer.C (readLyXformat2): set layout information on newly allocated
9139         paragraphs.
9140
9141         * tabular.C (OldFormatRead): set layout information on the paragraph.
9142
9143 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9144
9145         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9146
9147 2002-03-11  Juergen Vigna  <jug@sad.it>
9148
9149         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9150         plainly wrong.
9151         (resizeCurrentBuffer): force also the insets to resize themselfes.
9152         (moveCursorUpdate): fixed up for InsetText.
9153
9154 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9155
9156         * commandtags.h:
9157         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9158         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9159         value of Dialogs::tooltipsEnabled().
9160         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9161
9162 2002-03-08  Juergen Vigna  <jug@sad.it>
9163
9164         * BufferView_pimpl.C (updateInset): update inset inside inset also
9165         if it isn't inside theLockingInset().
9166
9167 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9168
9169         * buffer.C (asciiParagraph): redo some of the word and line length
9170         handling.
9171         (getLists): look for Caption instead of caption.
9172
9173 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9174
9175         * buffer.C (Buffer): initialize niceFile to true
9176         (makeLaTeXFile):
9177         (makeLinuxDocFile):
9178         (makeDocBookFile): make sure niceFile is true on exit
9179
9180 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9181
9182         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9183
9184 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9185
9186         * LyXSendto.C: remove.
9187         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9188         * lyx_gui.C: remove now-redundant comment.
9189         * ColorHandler.h: remove forward declaration of class WorkArea.
9190         * lyxfunc.C: remove #include "WorkArea.h".
9191
9192 2002-03-07  Juergen Vigna  <jug@sad.it>
9193
9194         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9195         got moved away with the DEPM and also set the inset_owner always
9196         right which before could have been omitted.
9197
9198 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9199
9200         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9201         wanted layout is not found.
9202
9203 2002-03-07  Juergen Vigna  <jug@sad.it>
9204
9205         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9206
9207 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9208
9209         * paragraph.C (breakParagraph): use default layout not layout of
9210         prev paragraph.
9211         (Paragraph): clear ParagraphParameters.
9212
9213 2002-03-06  Juergen Vigna  <jug@sad.it>
9214
9215         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9216         otherwise it would not be a valid lenght. Fixed a special case in
9217         the minipage compatibility read where we end the document with a
9218         minipage.
9219
9220         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9221         was set as it could be 0 for InsetTexts first entry.
9222
9223 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9224
9225         * paragraph.C (writeFile): if layout is empty write out
9226         defaultLayoutName().
9227
9228         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9229         file without named layout we set layout to defaultLayoutName().
9230
9231 2002-03-06  Juergen Vigna  <jug@sad.it>
9232
9233         * CutAndPaste.C (copySelection): set layout for new paragraph.
9234
9235         * text.C (prepareToPrint): leave ERT inset left aligned
9236         (leftMargin): don't indent paragraphs inside ERT insets
9237
9238 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9239
9240         * paragraph.C (breakParagraph): dont call clear do the work manually
9241
9242         * paragraph.[Ch] (clear): remove function
9243
9244 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9245
9246         * paragraph.C (Paragraph): dont call clear, the work has already
9247         been done.
9248
9249         * lyxtextclass.C (operator): assert if n is empty
9250
9251         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9252         work manually instead.
9253
9254 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9255
9256         * BufferView_pimpl.C: protect selectionLost against text == 0
9257
9258 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9259
9260         * text.C (breakParagraph): fix a setting layout to '0' problem.
9261
9262 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9263
9264         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9265         final location of file, for the included files, and graphics.
9266
9267 2002-03-05  Juergen Vigna  <jug@sad.it>
9268
9269         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9270
9271 2002-03-04  Juergen Vigna  <jug@sad.it>
9272
9273         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9274
9275         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9276         last column of multicolumn cells.
9277         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9278
9279 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9280
9281         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9282         file if it doesn't go to a temporary file.
9283
9284         * buffer.C (sgmlOpenTag):
9285         (sgmlCloseTag):  remove extra newline insertion.
9286
9287 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9288
9289         * text.C (getRowNearY): comment out debug msg
9290
9291 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9292
9293         * text2.C: first -> first_y
9294
9295         * text.C (getRowNearY): add some attemts at a possible
9296         optimization, not working.
9297
9298         * tabular.[Ch]: add BufferParams to several function so that newly
9299         created paragraph can be initialized to he default layotu for the
9300         buffers textclass.
9301
9302         * tabular-old.C (ReadOld): add buf->params to call of Init
9303
9304         * screen.C: rename text->first to text->first_y
9305
9306         * paragraph.C (breakParagraph): always set layout in the broken
9307         paragraph
9308
9309         * lyxtextclass.C (Read): remove lowercase
9310         (hasLayout): ditto
9311         (operator): ditto
9312         (delete_layout): ditto
9313
9314         * lyxtext.h: rename first -> first_y
9315
9316         * lyxlayout.C (Read): remove lowercase
9317         (name): ditto
9318         (setName): ditto
9319         (obsoleted_by): ditto
9320
9321         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9322
9323         * buffer.C (insertErtContents): add params are to InsetERT
9324         (parseSingleLyXformat2Token): add code to check if a paragraphs
9325         layout really exist.
9326         (parseSingleLyXformat2Token): add params to several inset
9327         constructors
9328         (asciiParagraph): remove lowercase, do the layout comparisons with
9329         no_case
9330
9331         * BufferView_pimpl.C (cursorNext): first -> first_y
9332         (resizeCurrentBuffer): first -> first_y
9333         (updateScrollbar): first -> first_y
9334         (scrollCB): first -> first_y
9335         (workAreaMotionNotify): first -> first_y
9336         (workAreaButtonPress): first -> first_y
9337         (checkInsetHit): first -> first_y
9338         (cursorPrevious): first -> first_y
9339         (cursorNext): first -> first_y
9340         (Dispatch): add buffer_->params to severl inset contructors
9341
9342 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9343
9344         * lyxlayout.C (Read): remove some debug info that I forgot.
9345
9346         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9347         clean up the code slightly.
9348         (makeLinuxDocFile): ditto
9349         (makeDocBookFile): ditto
9350
9351         * text2.C: layout as string
9352
9353         * text.C: layout as string
9354
9355         * paragraph_pimpl.C: layout as string
9356
9357         * paragraph.[Ch]: layout as string
9358
9359         * lyxtextclasslist.[Ch]: layout as string
9360
9361         * lyxtextclass.[Ch]: layout as string
9362
9363         * lyxtext.h: layout as string
9364
9365         * lyxlayout.[Ch]: layout as string
9366
9367         * lyx_cb.C: layout as string
9368
9369         * bufferview_funcs.C: layout as string
9370
9371         * bufferparams.C: layout as string
9372
9373         * buffer.C: layout as string
9374
9375         * LyXView.[Ch]: layout as string
9376
9377         * LaTeXFeatures.[Ch]: layout as string
9378
9379         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9380
9381         * BufferView_pimpl.C: change current_layout to string, remove
9382         lyx::layout_type.
9383         (Dispatch):
9384         (smartQuote):
9385         (insertInset):
9386         (workAreaButtonRelease): layout as string
9387
9388         * BufferView2.C (unlockInset): adjust
9389
9390         * vspace.C (asLatexCommand): use an explict temp variable.
9391
9392 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9393
9394         * Makefile.am: use FRONTEND_*
9395
9396 2002-03-01  Juergen Vigna  <jug@sad.it>
9397
9398         * tabular.C (SetWidthOfMulticolCell): changed to something better
9399         I hope but still work in progress.
9400         (recalculateMulticolumnsOfColumn): renamed function from
9401         recalculateMulticolCells as it is more appropriate now.
9402         (SetWidthOfCell): calculate multicols better.
9403
9404 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9405
9406         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9407
9408         * lyxfunc.C (processKeySym): print sequence also if it is
9409         `deleted' (complete)
9410
9411         * kbsequence.C (print): print sequence even if it is deleted
9412         (complete would be a better word, actually).
9413
9414         * lyxfunc.C (dispatch): print complete options after a prefix key
9415
9416         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9417
9418 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9419
9420         * text2.C (setCharFont): eliminate setCharFont code duplication.
9421
9422 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9423
9424         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9425         LFUN_TABULAR_FEATURE (bug #177)
9426
9427 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9428
9429         * Makefile.am: remove figure.h
9430
9431 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9432
9433         * Bufferview_pimpl.C:
9434         * CutAndPasteC:
9435         * LaTeX.C:
9436         * LyXSendto.C:
9437         * buffer.C:
9438         * bufferlist.C:
9439         * converter.C:
9440         * language.C:
9441         * lyxfunc.C:
9442         * lyxvc.C:
9443         * paragraph.C:
9444         * text.C:
9445         * text2.C: remove #include "lyx_gui_misc.h".
9446
9447         * LaTeX.C: added #include <cstdio>
9448
9449 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9450
9451         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9452         that the paragraph following this one can have.
9453
9454         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9455
9456         * vspace.C (asLatexCommand): fix bogus gcc warning
9457
9458         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9459
9460 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9461
9462         * text2.C (setLayout): get rid of redundant code
9463
9464 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9465
9466         * text2.C (incDepth): make sure depth cannot be increased beyond
9467         reasonable values.
9468
9469 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9470
9471         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9472         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9473
9474         * PainterBase.h (image):
9475         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9476         a LyXImage const *.
9477
9478 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9479
9480         * BufferView.C:
9481         * BufferView.h:
9482         * BufferView_pimpl.C:
9483         * BufferView_pimpl.h:
9484         * LaTeXFeatures.C:
9485         * LyXAction.C:
9486         * LyXView.C:
9487         * Makefile.am:
9488         * UpdateList.h:
9489         * UpdateList.C:
9490         * buffer.C:
9491         * figure.h:
9492         * figureForm.C:
9493         * figureForm.h:
9494         * figure_form.C:
9495         * figure_form.h:
9496         * lyx_cb.C:
9497         * lyx_gui.C:
9498         * lyx_gui_misc.C:
9499         * lyxfunc.C:
9500         * sp_base.h:
9501         * sp_ispell.h:
9502         * sp_pspell.h:
9503         * sp_spell.C: remove fig inset, and the crap house of
9504           cards that follows it
9505
9506 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9507
9508         * Makefile.am:
9509         * lyxserver.C:
9510         * os2_defines.h:
9511         * os2_errortable.h:
9512         * nt_defines.h: move .h into support/
9513
9514         * vms_defines.h: remove
9515
9516         * WorkArea.C: add space in debug output
9517
9518         * text2.C:
9519         * paragraph.C:
9520         * buffer.C: add WITH_WARNINGS
9521
9522         * vc-backend.h:
9523         * vc-backend.C:
9524         * bufferlist.C: s/retrive/retrieve/, add docs
9525
9526         * vspace.h:
9527         * vspace.C:
9528         * kbmap.h:
9529         * lyxlength.h:
9530         * lyxgluelength.h:
9531         * length_common.h:
9532         * chset.h:
9533         * chset.C: add docs
9534
9535         * lyxgui.C: add ID to X error handler
9536
9537         * lyxtestclass.c: fix typo
9538
9539 2002-02-26  Juergen Vigna  <jug@sad.it>
9540
9541         * tabular_funcs.C (write_attribute): changed so that some default
9542         attributes are not written at all.
9543         (getTokenValue): set default values before trying to read the
9544         value so we have the return value always set as default if we don't
9545         find the token we search for.
9546
9547         * tabular.C (Write): write bools as bools not as strings!
9548
9549 2002-02-22  Juergen Vigna  <jug@sad.it>
9550
9551         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9552         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9553
9554         * text.C (leftMargin): don't add an indent for paragraphs inside
9555         tabular cells (fix #208).
9556
9557 2002-02-21  José Matos  <jamatos@fep.up.pt>
9558
9559         * tabular.C (docBook): fixed support for long tables.
9560
9561 2002-02-20  Juergen Vigna  <jug@sad.it>
9562
9563         * text2.C (getFont): get the drawing font of the Inset if this
9564         paragraph is inside an inset (only important for InsetERT for now).
9565
9566         * buffer.C (insertErtContents): use new lanugage params in ERT
9567         constructor.
9568
9569         * CutAndPaste.C: commenting out seemingly uneeded code.
9570
9571 2002-02-19  Allan Rae  <rae@lyx.org>
9572
9573         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9574         Iterators might be simple to use but they also get invalidated.
9575         (removeAutoInsets): renamed saved cursor tracking variables and added
9576         some comments to clarify what everything does.
9577
9578 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9579
9580         * Chktex.C:
9581         * LaTeX.C:
9582         * LyXSendto.C:
9583         * converter.C:
9584         * lyx_cb.C:
9585         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9586         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9587
9588         * lyxfunc.C:
9589         * vc-backend.h: remove #include "support/syscall.h"
9590
9591         * LaTeX.C:
9592         * LyXSendto.C:
9593         * converter.C: rearrange #includes in Lars' approved fashion.
9594
9595         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9596         forward declare class Timeout in the header file.
9597
9598         * XFormsView.C: changes due to the above.
9599
9600         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9601         similar to LyXView.
9602
9603         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9604         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9605
9606 2002-02-18  José Matos  <jamatos@fep.up.pt>
9607
9608         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9609         insets contents.
9610
9611 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9612
9613         * a lot of small ws changes
9614         * add a lot of using std::XXX
9615         * use std construcs some places where approp.
9616         * use some exisint stuff from lyxfunctional where approp.
9617         * Make file changes to use partial linking (lets test this now...)
9618
9619 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9620
9621         * Chktex.C:
9622         * buffer.C:
9623         remove #include "support/syscontr.h" as it's redundant. Always has been.
9624
9625         * Chktex.C:
9626         * LaTeX.C:
9627         * LyXSendto.C:
9628         * converter.C:
9629         * lyx_cb.C:
9630         * vc-backend.C:
9631         change Systemcalls::System to Systemcalls::Wait and
9632         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9633         No change of functionality, just reflects the stripped down Systemcalls
9634         class.
9635
9636 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9637
9638         * debug.[Ch]: add a GRAPHICS type to the enum.
9639
9640 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9641
9642         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9643
9644         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9645         there is an inset.
9646
9647 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9648
9649         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9650         match the changes below.
9651
9652         * text2.C (toggleInset): if there is not editable inset at cursor
9653         position, try to see if cursor is _inside_ a collapsable inset
9654         and close it.
9655
9656 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9657
9658         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9659         document menu has a nice checkbox
9660
9661 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9662
9663         * lyxlength.C (asLatexString): change PW to output as percent of
9664         \textwidth.
9665
9666         * lengthcommon.C: change '%' to 't%'
9667
9668         * lyxfunc.C (dispatch): a few comments from Martin
9669
9670 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9671
9672         * WorkArea.h:
9673         * WorkArea.C:
9674         * BufferView_pimpl.h:
9675         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9676           the X selection.
9677
9678 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9679
9680         * vspace.C (inPixels): fix compiler warning
9681
9682 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9683
9684         * lyxfunc.C (getStatus): fix status message for disabled commands.
9685
9686 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9687
9688         * BufferView_pimpl.C: fix crash on close buffer
9689         during selection (#227)
9690
9691 2002-01-27  Herbert Voss  <voss@lyx.org>
9692
9693         * buffer.C: link old Figure to new graphic inset
9694
9695 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9696
9697         * FontLoader.C (getFontinfo): Change the latex font names in order
9698         to match the names of type1inst.
9699
9700 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9701
9702         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9703
9704         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9705         (extchanged): ditto
9706         (ext_exist): ditto
9707         (remove_files_with_extension): ditto
9708         (remove_file): ditto
9709         (write): ditto
9710
9711         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9712         document is smaller than the work area height. Do not initialize
9713         static variables to 0.
9714
9715 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9716
9717         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9718
9719         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9720         LFUN_LAYOUT_PARAGRAPHS.
9721
9722         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9723         tabular. It is possible to provide a possible cell, which will
9724         typically be the actcell from the corresponding insettabular
9725
9726         * lyxfunc.C (getStatus): small cleanup; disable
9727         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9728         true
9729
9730 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9731
9732         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9733
9734         * paragraph.C (startTeXParParams):
9735         (endTeXParParams): new methods. The LaTeX code to
9736         start/end paragraph formatting
9737         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9738         empty (fixes bug #200)
9739
9740         * vspace.C (inPixels): adapt to the change below
9741         (inPixels): [later] more cleanups (remove unused variables)
9742
9743         * lyxlength.C (inPixels): change to use a width and a height as
9744         parameter.
9745
9746 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9747
9748         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9749         Replaced with \paperwidth
9750
9751         * DepTable.C (insert): add std:: qualifier
9752
9753 2002-01-18  Allan Rae  <rae@lyx.org>
9754
9755         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9756         updated also?
9757
9758         * text.C (drawInset): Turned out I didn't know enough about how
9759         rebreaking worked.  This fixes most of the redraw problems.  I see
9760         an occasional cursor trail when a line is broken now and the cursor
9761         placement can seem out by a few pixels also after a rebreak.
9762
9763 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9764
9765         * buffer.C (parseSingleLyXformat2Token): update because minipage
9766         width is now a LyXLength
9767
9768         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9769
9770         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9771         math insets
9772
9773 2002-01-17  Juergen Vigna  <jug@sad.it>
9774
9775         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9776
9777         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9778         is set correctly and the inset is updated correctly.
9779
9780 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9781
9782         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9783         the beginning of the loop.
9784
9785 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9786
9787         * lyxrc.C: improve help for use_scalable_fonts
9788
9789 2002-01-17  Allan Rae  <rae@lyx.org>
9790
9791         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9792
9793 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9794
9795         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9796         make sure to set their inset_owner to the right value (bug #171)
9797
9798 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9799
9800         * DepTable.h
9801         * DepTable.C: Implement mtime checking to reduce time spent doing
9802         CRCs.
9803
9804 2002-01-16  Juergen Vigna  <jug@sad.it>
9805
9806         * tabular.C (GetAdditionalHeight): one of error fixed.
9807
9808         * lyxrc.C (output): small fix in writing use_pspell.
9809
9810 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9811
9812         * sp_base.h: #include LString.h
9813
9814 2002-01-16  Allan Rae  <rae@lyx.org>
9815
9816         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9817         Can someone check this please?
9818
9819         * text.C (drawInset): It was possible that p.row would be removed by
9820         breakAgainOneRow upsetting a few other settings.  There may be another
9821         small tweak possible by setting need_break_row = 0 when p.row has been
9822         removed but I don't know enough about the logic here.
9823
9824 2002-01-15  Allan Rae  <rae@lyx.org>
9825
9826         * text.C (insertChar): removed conditional truism.
9827
9828         * BufferView2.C (removeAutoInsets): More tweaks.
9829         cur_par_prev could be a stray pointer.  Check for trailing empty line
9830         in case last line was cur_par and only had an error inset on it.
9831
9832 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9833
9834         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9835         absolute
9836
9837         * vc-backend.C (most methods):
9838         * exporter.C (Export):
9839         * converter.C (convert):
9840         (runLaTeX):
9841         * LyXSendto.C (SendtoApplyCB):
9842         * lyxfunc.C (dispatch):
9843         (menuNew):
9844         (open):
9845         (doImport):
9846         * lyx_cb.C (AutoSave):
9847         (InsertAsciiFile):
9848         * BufferView_pimpl.C (MenuInsertLyXFile):
9849         * buffer.C (runChktex): use Buffer::filePath().
9850
9851         * buffer.h: rename filename to filename_; rename filepath to
9852         filepath_ and make it private
9853         (filePath): new method
9854
9855         * buffer.C (writeFile): use fileName()
9856         (getLatexName):
9857
9858         * lyx_main.C (init): fix starting  of LyX when the binary is a
9859         link from so,ewhere else.
9860
9861         * minibuffer.C: include <cctype> for isprint
9862
9863 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9864
9865         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9866         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9867         name clash with InsetCollapsable's width function.
9868
9869 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9870
9871         * lastfiles.C: include <iterator>
9872
9873 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9874
9875         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9876         std::count.
9877
9878         * buffer.C (makeLaTeXFile): ditto.
9879         Also make loop operation more transparent.
9880
9881 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9882
9883         * ToolbarDefaults.C: remove trailing comma closing namespace.
9884
9885         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9886
9887         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9888         as in WorkArea.
9889
9890         * trans.C (Load): comment out unused variable, allowed.
9891
9892 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9893
9894         * minibuffer.[Ch] (append_char): new method to recieve input from the
9895         drop-down completion browser. If a key was pressed, then recieve this
9896         char and append it to the existing string.
9897         (peek_event): modify the positioning data passed to the completion
9898         browser so that it can be placed above the minibuffer rather than below.
9899 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9900
9901         * LyXAction.C (init): alloe error-next for readonly documents.
9902
9903         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9904         count.
9905
9906 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9907
9908         * bufferlist.C (readFile): create the buffer _after_ checking that
9909         the file exists.
9910
9911         * lyxfunc.C (verboseDispatch): fix handling of arguments
9912
9913         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9914
9915         * lyxrc.C: use string::erase() instead of initializing to "".
9916
9917
9918 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9919
9920         * BufferView_pimpl.h:
9921         * BufferView_pimpl.C:
9922         * WorkArea.h:
9923         * WorkArea.C:
9924         * text2.C: tell X when we have made a selection for copying
9925
9926 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9927
9928         * BufferView_pimpl.C (MenuInsertLyXFile):
9929         * lyxfunc.C (menuNew):
9930         (open):
9931         (doImport): add shortcuts to directory buttons
9932
9933         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9934         open a float)
9935
9936         * lyxfunc.C (setStatusMessage):
9937         (getStatusMessage): new methods
9938         (getStatus):use setStatusMessage instead of setErrorMessage
9939         (dispatch): when function is disabled, set error message here
9940         [instead of in getStatus previously]
9941
9942         * BufferView_pimpl.C (workAreaButtonRelease): update
9943         toolbar/menubar here too.
9944
9945 2002-01-13  Allan Rae  <rae@lyx.org>
9946
9947         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9948         Now seems indestructible.  Remaining task is to audit all other
9949         code affected by deleteEmptyParagraphMechanism.  One small quirk
9950         left is that an empty document with an error in the preamble can
9951         be made to report an error but no error box appears.  I don't know
9952         where it goes.
9953         (removeAutoInsets): Improved comments.
9954
9955 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9956
9957         * Thesaurus.h:
9958         * Thesaurus.C: update for Aiksaurus 0.14
9959
9960 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9961
9962         * text2.C (firstParagraph): removed member function, all uses
9963         replaces with ownerParagraph
9964         (redoParagraphs): here
9965         (updateInset): here
9966         (toggleAppendix): here
9967         * BufferView2.C (insertErrors): here
9968         (setCursorFromRow): here
9969
9970 2002-01-13  Allan Rae  <rae@lyx.org>
9971
9972         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9973         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9974         There is still a way to segfault this although you may have to do this
9975         multiple times: Have an InsetERT with an unknown command in it.
9976         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9977         <down-arrow>, <Enter> again, View->DVI, BANG!
9978
9979         * text2.C (setCursor):
9980         (deleteEmptyParagraphMechanism):
9981         * lyxtext.h (setCursor):
9982         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9983         Making use of the return value may help fix other bugs.
9984
9985 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9986
9987         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9988
9989         * LyXView.C (updateMenubar): call MenuBar::update here
9990         (updateToolbar): but not here
9991         (showState): do not update toolbar/menubar
9992
9993         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9994         should need to care about that.
9995
9996         * lyxfunc.C (verboseDispatch): simplify a bit
9997         (getStatus): have a version which takes a pseudoaction, and
9998         another which requires a (kb_action,string).
9999
10000         * LyXAction.C (retrieveActionArg): make it work also when action
10001         is not a pseudo-action.
10002         (getActionName): simplify a bit
10003         (helpText):
10004
10005 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10006
10007         * lyxfunc.C (verboseDispatch): new families of methods with
10008         several ways to specify a command and a bool to indicate whether
10009         the command name and shortcut should be displayed in minibuffer
10010         (eventually, we could extend that to a finer bitmask like
10011         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10012         (dispatch): the pristine dispatch command which just, well,
10013         dispatchs! Note it still sets its result to minibuffer; I'm not
10014         sure we want that.
10015
10016         * lyxfunc.h: remove setHintMessage
10017
10018         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10019
10020 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10021
10022         * BufferView_pimpl.C (specialChar): delete new inset if we have
10023         not been able to insert it.
10024
10025         * kbmap.C: revert to using int instead of kb_action, since all we
10026         are dealing with is pseudo-actions.
10027
10028         * LyXAction.C (searchActionArg): change to return int instead of
10029         kb_action, since the result is a pseudoaction.
10030
10031 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10032
10033         * buffer.C (insertErtContents): Fix (partially) the font bug.
10034
10035 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10036
10037         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10038         as the other one is broken on my machine!
10039
10040 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10041
10042         * commandtags.h:
10043         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10044
10045 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10046
10047         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10048         reflect their actual use. Provide compatibility code for older lyxrc
10049         files.
10050
10051         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10052         FL_NORMAL_STYLE.
10053         change names of popup font variables in line with the changes to lyxrc.C
10054
10055 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10056
10057         * buffer.C (asciiParagraph): avoid outputing a word twice after
10058         an inset.
10059
10060         * lyxrc.C (getDescription): document that document_path and
10061         template_path can be empty.
10062
10063 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10064
10065         * LaTeXFeatures.C (getMacros):
10066         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10067
10068         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10069
10070         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10071         getPackages.
10072         (getPackages): rename feature "floats" to "float". Use an array to
10073         iterate over 'simple' features (i.e. just a \usepackage). Add
10074         handling of "amsmath" (renamed from "amsstyle").
10075
10076 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10077
10078         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10079         features list.
10080
10081 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10082
10083         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10084         FuncStaus::FuncStatus & FuncStaus::some_method().
10085
10086 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10087
10088         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10089         of the func_satus stuff. Edited and massaged in various ways by
10090         JMarc.
10091
10092         * lyxfunc.C (getStatus): use FuncStatus
10093
10094 2002-01-08  Juergen Vigna  <jug@sad.it>
10095
10096         * text.C (nextBreakPoint): use function Inset::isChar().
10097
10098         * paragraph.C (TeXOnePar): use function
10099         Inset::forceDefaultParagraphs.
10100
10101         * buffer.C (latexParagraphs): use function
10102         Inset::forceDefaultParagraphs.
10103
10104 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10105
10106         * lyx_gui.C (init): set the style of the menu popups to
10107         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10108
10109 2002-01-07  Juergen Vigna  <jug@sad.it>
10110
10111         * text.C (setHeightOfRow): small fix
10112         (prepareToPrint): don't look at alignment if we don't have the place
10113         for doing it.
10114
10115 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10116
10117         * box.C: New file. Move the Box methods and functions out of box.h,
10118         following Lars' suggestion.
10119
10120 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10121
10122         * box.h: #include "support/LOstream.h", needed for inlined function.
10123
10124         * lyxtextclass.C:
10125         * lyxtextclasslist.C: added some using std declarations.
10126
10127 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10128
10129         * box.h: make signed dimensions to allow insets wider than
10130           the screen (bug #162)
10131
10132         * BufferView_pimpl.C: add some insetHit debug
10133
10134 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10135
10136         * vc-backend.C: add FIXME
10137
10138 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10139
10140         * lyxfunc.C (getStatus): enable code for showing math font status
10141         in toolbar/menu.
10142
10143 2002-01-07  Juergen Vigna  <jug@sad.it>
10144
10145         * text.C (nextBreakPoint): removed debug output not needed anymore.
10146
10147 2002-01-06  Juergen Vigna  <jug@sad.it>
10148
10149         * text.C (nextBreakPoint): fixed up this function we had this bug
10150         since ever but now hopefully we break row better.
10151         (insertChar): we have to check if an inset is the next char as it
10152         could now happen that a large inset is causing a break.
10153
10154 2002-01-05  Juergen Vigna  <jug@sad.it>
10155
10156         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10157         if it doesn't like to be drawed.
10158
10159 2002-01-04  Juergen Vigna  <jug@sad.it>
10160
10161         * BufferView2.C (lockInset): forgot to set a cursor.
10162
10163         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10164
10165 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10166
10167         * FormMathsPanel.C:
10168         * FormMathsPanel.h
10169         * MathsSymbols.C:
10170         * form_maths_panel.C:
10171         * form_maths_panel.h:
10172         * form_maths_panel.fd: implemented sub- and super- buttons in math
10173         panel.
10174
10175         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10176         (or ^ space) to be used as in TeX (req'd by André).
10177
10178         * lyxfunc.C: Allow ^ and _ again to be used both as
10179         super/subscript (mathed) and as themselves (in text).
10180
10181 2002-01-03  Allan Rae  <rae@lyx.org>
10182
10183         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10184         "LyX" or the filename of the current buffer if it has one.  This is a
10185         modified form of John Levon's patch.
10186
10187         * XFormsView.C (setWindowTitle): also set icon title.
10188
10189         * LyXView.h (setWindowTitle): signature changed.
10190         * XFormsView.h (setWindowTitle): ditto.
10191
10192 2002-01-02  Juergen Vigna  <jug@sad.it>
10193
10194         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10195
10196 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10197
10198         * screen.C (topCursorVisible): introduce a temp var for
10199         text->cursor.row(), handle the case where this row is null. (kindo
10200         hachish)
10201
10202         * text2.C (setCursor): add a couple of asserts.
10203
10204         * paragraph.h (inset_iterator): add -> operator
10205
10206         * paragraph.[Ch] (autoDeleteInsets): remove member function
10207
10208         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10209         cursor pos correctly and handle inset deletion by itself.
10210         (insertErrors): move iterator declaration out of for expression
10211
10212         * lyxtextclass.C: add <algorithm>
10213
10214         * Makefile.am: added the new files to sources, removed layout.C
10215
10216         * layout.C: removed file
10217
10218         * layout.h: remove LYX_DUMMY_LAYOUT
10219
10220         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10221         layout.
10222
10223         * lyxlayout.[Ch]:
10224         * lyxtextclass.[Ch]:
10225         * lyxtextclasslist.[Ch]: new files
10226
10227         * include order changes to a lot of files, also changes because of
10228         the six new files.
10229
10230 2001-12-27  Juergen Vigna  <jug@sad.it>
10231
10232         * buffer.C (asciiParagraph): more fixes.
10233
10234         * tabular.C (ascii): make ascii export support export of only the
10235         data separated by a column-delimiter.
10236         (ascii): better support for ascii export.
10237
10238         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10239
10240 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10241
10242         * tabular_funcs.C: use a "using std::getline" instead of the
10243         previous fix from Angus (necessary for cxx + lyxstring)
10244
10245 2001-12-24  Juergen Vigna  <jug@sad.it>
10246
10247         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10248
10249         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10250         problems. First check a minipage also if we have some ert-contents
10251         (not only on par->size(), second set the right depth of the paragraph
10252         on the relink to the root-paragraph-list!
10253
10254         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10255         which then did not anymore update the main paragraphs on undo/redo!
10256
10257 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10258
10259         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10260         code. Support all font-changing funcs (even those which are not in
10261         menu currently). Support for reporting font settings in
10262         mathed (disabled until Andre provides a function on mathed's side).
10263
10264         * func_status.h (toggle): small helper function to set toggle
10265         state on a flag.
10266
10267 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10268
10269         * tabular_funcs.C: getline -> std::getline
10270
10271 2001-12-21  Juergen Vigna  <jug@sad.it>
10272
10273         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10274         accessed and could be 0 (I couldn't generate this but it seems
10275         Michael could!).
10276
10277 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10278
10279         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10280         * tabular_funcs.h: here and include iosfwd
10281
10282 2001-12-20  Juergen Vigna  <jug@sad.it>
10283
10284         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10285         inside inset but undo_par was.
10286
10287 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10288
10289         * Thesaurus.C: always include <config.h> in sources.
10290
10291         * Painter.h:
10292         * lyxlookup.h:
10293         * box.h: do not include <config.h> in header files
10294
10295         * text.C (paintLastRow): remove unused variable
10296
10297         * text.C (transformChar):
10298         (insertChar):
10299         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10300
10301         * Painter.C (text):
10302         * font.C (width): rewrite to use uppercase() instead of
10303         islower/toupper.
10304
10305         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10306
10307 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10308
10309         * lyxfind.C: clean up of find failure position change
10310
10311 2001-12-20  Juergen Vigna  <jug@sad.it>
10312
10313         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10314
10315         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10316         (TeXRow): added to LaTeX a single tabular row.
10317         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10318         (Latex): simplified and finally good LT-h/f support.
10319         (various_functions): just small adaptions for LT-h/f support.
10320
10321         * tabular_funcs.[hC]: added and moved here all not classfunctions
10322         of LyXTabular.
10323
10324 2001-12-19  Juergen Vigna  <jug@sad.it>
10325
10326         * tabular.[Ch]: better support for longtabular options (not finished
10327         yet!)
10328
10329 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10330
10331         * text.C (paintLastRow): use the label font instead of the font of
10332         the last character to compute the size of *_BOX. This makes more
10333         sense and avoids a crash with empty paragraphs.
10334         Use Painter::rectangle to draw EMPTY_BOX.
10335
10336 2001-12-19  Juergen Vigna  <jug@sad.it>
10337
10338         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10339         the paragraphs if the replaced paragraph is not the first one!
10340         Tried to delete not used paragraphs but does not work yet so for
10341         now it's inside #ifdef's and by default off!
10342
10343 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10344
10345         * MenuBackend.C: include "lyx_main.h" instead of declaring
10346         lastfiles (actually was declared as LastFiles* instead of a
10347         scoped_ptr).
10348
10349 2001-12-17  Juergen Vigna  <jug@sad.it>
10350
10351         * tabular.C (AppendColumn): applied John's fix
10352
10353 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10354
10355         * BufferView.h:
10356         * BufferView.C:
10357         * BufferView_pimpl.h:
10358         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10359
10360         * Makefile.am:
10361         * box.h: new start of class for above
10362
10363         * lyxfunc.C: ignore space-only minibuffer dispatches.
10364           Show the command name when it doesn't exist
10365
10366         * minibuffer.C: don't add empty lines to the history
10367
10368         * minibuffer.C: add a space on dropdown completion
10369
10370 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10371
10372         * text.C: fix line above/below drawing in insets
10373
10374 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10375
10376         * lyxlength.C (LyXLength): Initialize private variables.
10377
10378 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10379
10380         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10381         when inserting error insets.
10382
10383 2001-12-13  Juergen Vigna  <jug@sad.it>
10384
10385         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10386         actually sometimes the before-paragraph.
10387         (setUndo): don't clear the redostack if we're not actually undoing!
10388
10389 2001-12-06  Juergen Vigna  <jug@sad.it>
10390
10391         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10392         and fixed redoing of main paragraph, so we can use it now ;)
10393
10394         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10395
10396 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10397
10398         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10399         Juergen's request
10400
10401 2001-12-13  André Pönitz <poenitz@gmx.net>
10402
10403         * undostack.[Ch]:
10404         * undo_func.C: minor cleanup
10405
10406 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10407
10408         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10409         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10410         font in urw-fonts package which is marked as -urw-fontspecific and
10411         does not work (incidentally, changing the encoding in the
10412         fonts.dir of this package to -adobe-fontspecific fixes the
10413         problem).
10414
10415         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10416         is a crash when undoing first paragraph (Juergen, please take a
10417         look). THis does not mean the undo fix is wrong, just that it
10418         uncovers problems.
10419
10420         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10421         the (Paragraph*) version when needed instead of duplicating the
10422         code.
10423
10424         * text.C (workWidth): use Inset::parOwner to find out where the
10425         inset has been inserted. This is a huge performance gain for large
10426         documents with lots of insets. If Inset::parOwner is not set, fall
10427         back on the brute force method
10428
10429         * paragraph_pimpl.C (insertInset):
10430         * paragraph.C (Paragraph):
10431         (cutIntoMinibuffer): set parOwner of insets when
10432         inserting/removing them
10433
10434         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10435
10436 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10437
10438         * commandtags.h:
10439         * LyXAction.C:
10440         * lyx_main.C:
10441         * lyxfunc.C:
10442         * mathed/formulabase.C:
10443         * mathed/math_cursor.[Ch]:
10444         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10445
10446
10447 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10448
10449         * lyxlength.[Ch] (operator!=): new function
10450
10451 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10452
10453         * text.C (workWidth): use Inset::parOwner to find out where the
10454         inset has been inserted. This is a huge performance gain for large
10455         documents with lots of insets. If Inset::parOwner is not set, fall
10456         back on the brute force method
10457
10458         * paragraph_pimpl.C (insertInset):
10459         * paragraph.C (Paragraph):
10460         (cutIntoMinibuffer): set parOwner of insets when
10461         inserting/removing them
10462
10463         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10464
10465 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10466
10467         * tabular-old.C (getTokenValue):
10468         * tabular.C (getTokenValue):
10469         (write_attribute): new versions for LyXLength
10470         (everywhere): adjust the use of widths
10471
10472         * tabular.h: change the type of widths from string to LyXLength
10473
10474 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10475
10476         * paragraph.C: fixed missing line number count when exporting
10477         Environments to LaTeX file
10478
10479         * buffer.C: added informational message for checking line numbers.
10480
10481 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10482
10483         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10484         paragraph, do the 'double space' part, but not the 'empty
10485         paragraph' one.
10486
10487         * text.C (workWidth): small optimization
10488         (getLengthMarkerHeight): use minimal size for negative lengths.
10489
10490 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10491
10492         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10493
10494         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10495
10496 2001-12-11  André Pönitz <poenitz@gmx.net>
10497
10498         * FontLoader.C:
10499         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10500
10501 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10502
10503         * text2.C: keep selection on a setFont()
10504
10505 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10506
10507         * lyx_cb.C: another bv->text misuse, from insert label
10508
10509 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10510
10511         * kbsequence.h:
10512         * kbsequence.C: re-instate nmodifier mask
10513
10514 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10515
10516         * lyx_main.h: make lyxGUI private.
10517
10518 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10519
10520         * lyxfind.C: place the cursor correctly on failed search
10521
10522 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10523
10524         * text.C (getLengthMarkerHeight): for small heights, the arrows
10525         are not always on top/bottom of the text
10526         (drawLengthMarker): smaller arrows; take the left margin in
10527         account; draw also vfills.
10528         (paintFirstRow):
10529         (paintLastRow): remove special code for vfill and standard spaces,
10530         since everything is handled in drawLengthMarker now.
10531
10532 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10533
10534         * buffer.C (insertErtContents): try to handle font and language
10535         interaction a bit better.g
10536
10537         * ColorHandler.C (updateColor): change the hash to cover the whole
10538         LColor enum, ws cleanup
10539         (getGCLinepars): ditto
10540         (getGCLinepars): only lookup in the linecache once.
10541
10542 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10543
10544         * iterators.C (operator++): Make the iterator more robust
10545
10546         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10547         (John's patch)
10548         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10549
10550 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10551
10552         * lyxtext.h:
10553         * text.C: better added space drawing
10554
10555 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10556
10557         * LyXView.C:
10558         * BufferView2.C: fix layout combo update on inset unlock
10559
10560 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10561
10562         * Makefile.am: don't compile unused files
10563
10564 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10565
10566         * lyxfunc.C:
10567         * commandtags.h:
10568         * LyXAction.C: remove old LFUN_LAYOUTNO
10569
10570 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10571
10572         * paragraph_pimpl.h:
10573         * paragraph_pimpl.C: isTextAt() doesn't need font param
10574
10575 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10576
10577         * lyxlex.h:
10578         * lyxlex.C: little cleanup
10579
10580 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10581
10582         * BufferView_pimpl.C: fix insertAscii for insets
10583
10584 2001-12-05  Juergen Vigna  <jug@sad.it>
10585
10586         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10587         set the right font on the "multi" paragraph paste!
10588
10589 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10590
10591         * trans_decl.h:
10592         * trans_mgr.[Ch]:
10593         * trans.[Ch]:
10594         * lyxgluelength.C:
10595         * lyxlength.C: remove out-commented code.
10596
10597         * BufferView_pimpl:
10598         * CutAndPaste.C:
10599         * DepTable.C:
10600         * buffer.C:
10601         * chset.C:
10602         * lastfiles.C:
10603         * lyxlex.C:
10604         * lyxlex_pimpl.C:
10605         * lyxserver.C:
10606         * screen.C:
10607         * tabular-old.C:
10608         * tabular.C:
10609         * text.C:
10610         * trans_mgr.C:
10611         * vc-backend.C: change "while(" to "while ("
10612
10613         * lyxlength.[Ch]: add zero function to check if length is zero or
10614         not
10615         * lyxgluelength.C: use it
10616
10617 2001-12-05  Allan Rae  <rae@lyx.org>
10618
10619         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10620         Works for 2.95.3, from what I understand of Garst's reports this should
10621         work for other g++ versions.  We're screwed if the abs(int) definition
10622         changed between bugfix releases of gcc.
10623
10624 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10625
10626         * text.C: fix chapter label offset !
10627
10628 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10629
10630         * lyxtext.h:
10631         * text.C: fix hfill at end of line, clean up
10632
10633 2001-12-04  Juergen Vigna  <jug@sad.it>
10634
10635         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10636         that we force an update of the inset and it's owners if neccessary.
10637
10638 2001-12-03  Juergen Vigna  <jug@sad.it>
10639
10640         * text.C (rowLast): simplified code
10641
10642 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10643
10644         * lyxfunc.C: fix show options on timeout
10645
10646 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10647
10648         * screen.C (topCursorVisible): scroll half a page when the cursor
10649         reached top of bottom of screen
10650
10651 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10652
10653         * minibuffer.C: deactivate on loss of focus
10654
10655 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10656
10657         * vspace.[Ch] (operator!=): add operator.
10658
10659 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10660
10661         * BufferView_pimpl.C: refuse to open an inset when
10662         there's a selection.
10663
10664 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10665
10666         * BufferView_pimpl.C: allow to click on RHS of full row insets
10667
10668 2001-11-30  Juergen Vigna  <jug@sad.it>
10669
10670         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10671         insets for undo reasons.
10672
10673 2001-11-28  André Pönitz <poenitz@gmx.net>
10674
10675         * vspace.[Ch]: cosmetical changes
10676
10677 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10678
10679         * LyXAction.h:
10680         * LyXAction.C:
10681         * lyxfunc.h:
10682         * lyxfunc.C:
10683         * kbmap.h:
10684         * kbmap.C:
10685         * lyxrc.C:
10686         * kbsequence.h:
10687         * kbsequence.C: part re-write of old kb code
10688
10689         * Painter.C:
10690         * WorkArea.C: remove Lgb_bug_find_hack
10691
10692 2001-11-30  José Matos <jamatos@fep.up.pt>
10693
10694         * buffer.C (makeDocBookFile): add a comment to point a hack.
10695         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10696         Fixed a double write of labels.
10697
10698 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10699
10700         * LaTeX.C:
10701         * LaTeX.h Fixed bug in LaTeX class where it would not
10702         re-run latex if no depfiles were changed, but the .dvi was removed.
10703
10704 2001-11-28  André Pönitz <poenitz@gmx.net>
10705
10706         * all the files from the change on 2001/11/26:
10707         use lyx::layout_type instead of LyXTextClass::size_type
10708         use lyx::textclass_type instead of LyXTextClassList::size_type
10709
10710 2001-11-29  Juergen Vigna  <jug@sad.it>
10711
10712         * text.C: added support for paragraph::isFreeSpacing()
10713
10714         * buffer.C: same as above
10715
10716         * paragraph.h: inserted isFreeSpacing() function to enable
10717         FreeSpacing inside InsetERT.
10718
10719         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10720         of the paragraph's in the cut/copy buffer to 0!
10721
10722         * text2.C (removeRow): remove the assert as it can!
10723
10724         * lyxtext.h: added helper function firstRow returning firstrow and
10725         made firstrow private again.
10726
10727         * BufferView2.C (lockInset): don't relock if we're already locked!
10728
10729         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10730         the only paragraph.
10731         (removeRow): added Assert::(firstrow)
10732
10733         * debug.C: forgot to add INSETTEXT here.
10734
10735 2001-11-28  Juergen Vigna  <jug@sad.it>
10736
10737         * sp_spell.C (initialize): changed error text to more general
10738         spellchecker command use (not only ispell!)
10739
10740         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10741
10742         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10743
10744 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10745
10746         * vspace.C: initialise lyxgluelength on failure
10747
10748 2001-11-28  Allan Rae  <rae@lyx.org>
10749
10750         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10751         declaration & definition that looks like a function declaration.
10752
10753 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10754
10755         * BufferView2.C (copy):
10756         (copyEnvironment): do not clear the selection when doing a copy.
10757
10758         * text.C (paintFirstRow): compilation fix
10759
10760 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10761
10762         * tabular.C (Latex): correct line count when writing latex.
10763
10764 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10765
10766         * paragraph_pimpl.h:
10767         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10768           bug a bit
10769
10770 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10771
10772         * text.C:
10773         * LColor.h:
10774         * LColor.C: change vfillline->added_space
10775
10776         * text.C: add markers and text for added space
10777
10778         * vspace.C: fix comment
10779
10780 2001-11-28  André Pönitz <poenitz@gmx.net>
10781
10782         * paragraph.C: whitespace changes
10783         * all the other files from the change on 2001/11/26:
10784         change *::pos_type into lyx::pos_type
10785
10786 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10787
10788         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10789         language of the document when inserting error insets.
10790
10791 2001-11-26  André Pönitz <poenitz@gmx.net>
10792
10793         * BufferView_pimpl.[Ch]:
10794         *       CutAndPaste.C:
10795         * buffer.[Ch]:
10796         * lyxcursor.[Ch]:
10797         * lyxfind.C:
10798         * lyxfunc.C:
10799         * lyxrow.[Ch]:
10800         * paragraph.[Ch]:
10801         * paragraph_pimpl.[Ch]:
10802         * sp_spell.C:
10803         * text.C:
10804         * text2.C: reduce header dependencies, introduce type for positions
10805
10806 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10807
10808         * <various>: change to use Alert.h
10809
10810 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10811
10812         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10813         when encountering an unknown token.
10814         (readLyXformat2): Show an error message if there were unknown tokens.
10815
10816 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10817
10818         * BufferView2.C:
10819         * BufferView_pimpl.C:
10820         * buffer.C:
10821         * paragraph.h:
10822         * text.C:
10823         * text2.C: use par->isInset()
10824
10825 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10826
10827         * paragraph_pimpl.h:
10828         * paragraph_pimpl.C: cleanup
10829
10830 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10831
10832         * text2.C (removeRow):
10833         * text.C (setHeightOfRow): remove useless (and costly) call to
10834         getRow.
10835
10836 2001-11-20  Allan Rae  <rae@lyx.org>
10837
10838         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10839         Now need Inset*::checkInsertChar() to return true for appropriate
10840         cases so that the characters in the minibuffer will actually be
10841         inserted.
10842
10843 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10844
10845         * text.C: change the order of the includes.
10846         (workWidth): initialize it at once.
10847         (workWidth): make maxw unsigned
10848         (setHeightOfRow): remove unused variable (inset)
10849         (selectSelectedWord): remove unused variable (inset)
10850         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10851
10852 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10853
10854         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10855         server is not running.
10856         (openConnection):
10857         (closeConnection): add debug info when server is disabled.
10858
10859         * ColorHandler.C (getGCForeground): send debug message to GUI
10860         channel.
10861
10862         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10863
10864         * kbmap.C (bind): modify because return conventions of
10865         kb_sequence::parse have changed.
10866
10867         * kbsequence.C (parse): only ignore spaces and not any stupid
10868         control character. This avoids tests like s[i] <= ' ', which are
10869         guaranteed to fail with 8bit characters and signed chars.
10870         Change return code to string::npos when there have been no error
10871         (0 was a bad idea when error is at first character)
10872
10873 2001-11-14  José Matos  <jamatos@fep.up.pt>
10874
10875         * buffer.h:
10876         * buffer.C (simpleDocBookOnePar): removed unused argument.
10877
10878 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10879
10880         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10881         insets which are part of a word. Paragraph::isLetter takes care of
10882         that now. Use Paragraph::isInset to identify insets.
10883         (selectSelectedWord): do not test for hyphenation break.
10884
10885         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10886         that protected spaces are considered as spaces.
10887
10888         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10889         Inset::isLetter.
10890
10891 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10892
10893         * lyxserver.h:
10894         * lyxserver.C: fix it. and small cleanup.
10895
10896 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10897
10898         * BufferView_pimpl.C: use inline helpers
10899
10900         * LaTeXFeatures.h:
10901         * LaTeXFeatures.C: fix typos
10902
10903         * Spacing.h:
10904         * Spacing.C: move spacing_string into class
10905
10906         * ToolbarDefaults.C: move stuff into namespace anon
10907
10908         * layout.h: update enum
10909
10910         * lyxfunc.C: use better debug
10911
10912         * minibuffer.h: fix typo
10913
10914         * debug.h:
10915         * debug.C:
10916         * WorkArea.C: add and use Debug::WORKAREA
10917
10918         * lyxtext.h:
10919         * text.C:
10920         * text2.C: code re-organisation, inline helpers
10921
10922 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10923
10924         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10925         std::vector.empty().
10926
10927 2001-11-09  Allan Rae  <rae@lyx.org>
10928
10929         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10930         '\n's after tables.  Tabular and ERT inset work now makes this no
10931         longer necessary.
10932
10933 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10934
10935         * minibuffer.h:
10936         * minibuffer.C: fix crash, improve drop-down completion
10937
10938 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10939
10940         * lyxserver.h:
10941         * lyxserver.C: invalidate fd's when doing endPipe()
10942
10943 2001-11-08  José Matos  <jamatos@fep.up.pt>
10944
10945         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10946         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10947
10948         * paragraph.h:
10949         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10950
10951 2001-11-07  José Matos  <jamatos@fep.up.pt>
10952
10953         * buffer.h:
10954         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10955         const qualifier.
10956
10957         * buffer.C (sgmlOpenTag):
10958         * buffer.C (sgmlCloseTag): removed debug info.
10959
10960         * buffer.h (sgmlOpenTag):
10961         * buffer.h (sgmlCloseTag): made public.
10962
10963 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10964
10965         * buffer.C (saveParamsAsDefaults):
10966         * lyx_cb.C (MenuLayoutSave): remove
10967
10968         * LyXAction.C (init):
10969         * commandtags.h:
10970         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10971
10972 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10973
10974         * buffer.C (setPaperStuff): removed from here...
10975
10976         * bufferparams.C (setPaperStuff): ... and moved there.
10977
10978 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10979
10980         * minibuffer.h:
10981         * minibuffer.C:
10982         * XFormsView.C: add support for drop-down completion
10983
10984 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10985
10986         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10987         commands.
10988
10989 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10990
10991         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10992         disabled.
10993
10994 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10995
10996         * lyx_main.C: change ref to known bugs
10997
10998 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10999
11000         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11001         to work around older babel problems.
11002
11003 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11004
11005         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11006
11007 2001-10-24  Juergen Vigna  <jug@sad.it>
11008
11009         * tabular-old.C (ReadOld): below variable changes reflected.
11010
11011         * tabular.[Ch]: added ltType struct for longtable header/footer
11012         defines and changed all instances where they are used. Added
11013         future support for double top/bottom rows.
11014
11015 2001-10-24  José Matos  <jamatos@fep.up.pt>
11016
11017         * buffer.h (docbookHandleCaption):
11018         * buffer.C (docbookHandleCaption): removed unused function.
11019         (makeDocBookFile): moved docbook supported version to v4.1.
11020
11021 2001-10-24  José Matos  <jamatos@fep.up.pt>
11022
11023         * tabular.h:
11024         * tabular.C (docbookRow): new function to export docbook code of a row.
11025         (DocBook): now honors the longtable flags.
11026
11027 2001-10-23  José Matos  <jamatos@fep.up.pt>
11028
11029         * LaTeXFeatures.h:
11030         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11031         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11032
11033         * buffer.C (makeLinuxDocFile):
11034         (makeDocBookFile): reworked the preamble, more clean, and with
11035         support for lyx defined entities. Changed the document declaration
11036         to be more XML friendly.
11037
11038         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11039         if we need to output XML that should be done with a filter.
11040
11041 2001-10-22  Juergen Vigna  <jug@sad.it>
11042
11043         * sp_pspell.h (class PSpell): add alive function needed in the
11044         controller to see if the spellchecker could be started.
11045
11046 2001-10-22  Juergen Vigna  <jug@sad.it>
11047
11048         * buffer.C (insertStringAsLines): modify the font for inserting
11049         chars in certain conditions by calling checkInsertChar(font).
11050
11051 2001-10-19  Juergen Vigna  <jug@sad.it>
11052
11053         * text.C (workWidth): use getRow instead of wrong algorithm.
11054         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11055
11056 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11057
11058         * lyxserver.h:
11059         * lyxserver.C:
11060         * lyx_main.h:
11061         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11062
11063 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11064
11065         * text.C (workWidth): do not search for the exact row when
11066         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11067         optimization for big documents.
11068
11069 2001-10-18  Juergen Vigna  <jug@sad.it>
11070
11071         * text.C (workWidth): new function with added Inset * parameter.
11072
11073 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11074
11075         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11076
11077         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11078         change return type of getColumnNearX.
11079
11080
11081         * text.C (changeRegionCase): use uppercase/lowercase instead of
11082         toupper/tolower.
11083         (leftMargin):
11084         (rightMargin): simplify code by factoring out the uses of
11085         textclasslist.
11086         (labelFill):
11087         (numberOfHfills):
11088         (setHeightOfRow):
11089         (appendParagraph): use Paragraph::size_type
11090
11091 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11092
11093         * vspace.C (asLatexString): add a missing break
11094
11095 2001-10-15  Herbert Voss  <voss@perce.de>
11096
11097         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11098
11099 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11100
11101         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11102         is not available.
11103
11104 2001-10-10  André Pönitz <poenitz@gmx.net>
11105
11106         * lyxfunc.C: removed greek_kb_flag.
11107
11108 2001-10-10  Herbert Voss  <voss@perce.de>
11109
11110         * lyx_main.C: delete global string help_lyxdir.
11111
11112 2001-10-09  Herbert Voss  <voss@perce.de>
11113
11114         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11115
11116         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11117
11118         * lyx_main.C: added global string help_lyxdir.
11119
11120         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11121
11122 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11123
11124         * lyxrc.C (set_font_norm_type): support iso8859-4
11125
11126 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11127
11128         * LaTeX.C (deplog): add another regex for MikTeX
11129
11130 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11131
11132         * lyxrc.C (set_font_norm_type): support iso8859-3
11133
11134 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11135
11136         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11137
11138         * LaTeXFeatures.C: remove special case of french and index
11139
11140         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11141         before \begin{document}). This solves several incompatibilities.
11142
11143 2001-10-03  Garst Reese  <reese@isn.net>
11144
11145         * lyx_cb.C: change CheckTex error msg.
11146
11147 2001-10-03  José Matos  <jamatos@fep.up.pt>
11148
11149         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11150
11151 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11152
11153         * .cvsignore: update
11154
11155         * lyx_main.C (commandLineVersionInfo): use new style version info.
11156
11157         * buffer.C (writeFile):
11158         (makeLaTeXFile):
11159         (makeLinuxDocFile):
11160         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11161
11162         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11163
11164         * version.h: update to use stuff in version.C
11165
11166         * version.C.in: new file. Contains version information determined
11167         at compile time. This is a merging of version.h and
11168         version_info.h.in.
11169
11170 2001-10-03  Juergen Vigna  <jug@sad.it>
11171
11172         * BufferView_pimpl.C (update): don't change "dirty" status in
11173         updateInset call.
11174
11175 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11176
11177         * WorkArea.C (c-tor): re-position version string slightly.
11178
11179 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11180
11181         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11182         revert to previous code.
11183
11184         WorkArea.[Ch]: (show, destroySplash): methods removed.
11185
11186         WorkArea.C: rework code so that it's an amalgam of the codes before and
11187         after the splash screen was moved to WorkArea.
11188
11189 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11190
11191         * lyxrc.C (read):
11192         * vspace.C (inPixels):
11193         (lyx_advance):
11194         * kbmap.C (bind):
11195         * buffer.C (insertStringAsLines):
11196         (asciiParagraph): fix types to be large enough
11197
11198         * lyxlex_pimpl.h: change member status from short to int
11199
11200         * layout.h: fix type of endlabeltype
11201
11202         * kbmap.C (bind):
11203         * kbsequence.C (parse): change return type to string::size_type
11204
11205         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11206         variable
11207
11208         * Bullet.C (bulletSize):
11209         (bulletEntry): do not use short ints as parameters
11210
11211         * BufferView2.C (insertLyXFile): change a char to an int.
11212
11213         * WorkArea.C (WorkArea): remove unneeded floats in computation
11214
11215 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11216
11217         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11218
11219         * paragraph.C (asString): Do not ignore newline/hfill chars when
11220         copying to the clipboard.
11221
11222 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11223
11224         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11225         after a multi-line inset.
11226
11227 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11228
11229         * paragraph.C (validate): Set NeedLyXFootnoteCode
11230
11231 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11232
11233         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11234         and decrease-error to decrease.
11235
11236 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11237
11238         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11239         it more readable (should be equivalent)
11240
11241 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11242
11243         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11244
11245 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11246
11247         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11248         of a cursor (row, etc.) after a character has been deleted
11249         (deleteEmptyParagraphMechanism): call the method above on _all_
11250         cursors held by the LyXText when a double space has been
11251         detected/deleted.
11252
11253 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11254
11255         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11256         pixmap.
11257         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11258
11259         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11260         background. Use greyOut() and the new show() methods to toggle between
11261         the foreground and background. Add code to remove the splash after
11262         its initial showing.
11263
11264         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11265         (create_forms): no longer call Dialogs::showSplash.
11266
11267 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11268
11269         * .cvsignore: add version_info.h
11270
11271 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11272
11273         * version_info.h.in: new file
11274
11275         * Makefile.am: add version_info.h.in
11276
11277         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11278         version_info.h instead of VERSION_INFO
11279
11280 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11281
11282         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11283         The ERT inset now returns string().
11284
11285 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11286
11287         * lyxtext.h, text.C (selectNextWord): renamed as
11288         selectNextWordToSpellcheck.
11289
11290         * text.C (selectNextWordToSpellcheck): Modified to not select
11291         words inside an ERT inset.
11292
11293 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11294
11295         * lyx_cb.C (MenuLayoutSave): change a bit the question
11296
11297         * sp_base.h: include <sys/types.h>
11298
11299 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11300
11301         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11302
11303 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11304
11305         * several files: fix typos in user-visible strings
11306
11307 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11308
11309         * text2.C (pasteSelection): do not set the selection, since it
11310         will be cleared later. Actually, the intent was to fix the way the
11311         selection was set, but I figured rmoving the code was just as good.
11312
11313 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11314
11315         * FontLoader.C (available): Check if font is available without
11316         loading the font.
11317
11318 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11319
11320         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11321
11322 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11323
11324         * lyxrc.[Ch]: added display_graphics variable and associated code.
11325
11326 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11327
11328         * bufferparams.C (hasClassDefaults): new method. Returns true if
11329         the buffer parameters correspond to known class defaults
11330
11331 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11332
11333         * XFormsView.C (show): set minimum size to the main window.
11334
11335 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11336
11337         * text2.C (copySelection):
11338         (cutSelection):
11339         * lyxfind.C (LyXReplace):
11340         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11341         LyXText::selectionAsString.
11342
11343         * paragraph.C (asString): add "label" argument to the second form
11344
11345         * text2.C (selectionAsString): add "label" argument and pass it to
11346         Paragraph::asString.
11347
11348 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11349
11350         * lyx_main.C (commandLineHelp): remove version information
11351
11352 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11353
11354         * lyx_main.C: add -version commandline option
11355
11356 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11357
11358         * paragraph.h: make the optional constructor arg required instead.
11359         some modifications to other files because of this.
11360
11361         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11362
11363         * lyxserver.C (C_LyXComm_callback): make it static
11364
11365         * lyx_main.C (error_handler): make it static
11366
11367         * lyx_gui.C (LyX_XErrHandler): make it static
11368
11369         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11370
11371         * WorkArea.C: make the extern "C" methods static.
11372
11373         * Makefile.am (lyx_LDADD): simplify
11374
11375 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11376
11377         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11378         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11379
11380         * LyXAction.C (init):
11381         * lyxfunc.C (dispatch): associated code removal.
11382
11383 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11384
11385         * lyxfont.h (isSymbolFont): shut off warning
11386
11387         * text.C (setHeightOfRow):
11388         (getVisibleRow): fix crash with empty paragraphs which have a
11389         bottom line
11390
11391 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11392
11393         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11394         code.
11395
11396 2001-09-04  José Matos  <jamatos@fep.up.pt>
11397         * buffer.C
11398         * buffer.h
11399         * tabular.C (docbook): rename docBook method to docbook.
11400
11401 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11402
11403         * Makefile.am: add dependencies to main.o.
11404
11405 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11406
11407         * FontLoader.C (available): Return false if !lyxrc.use_gui
11408
11409 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11410
11411         * FontInfo.C (query):
11412         * converter.C (view):
11413         * importer.C (Import):
11414         * exporter.C (Export): Can not -> cannot.
11415
11416 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11417
11418         * BufferView_pimpl.C: allow to create index inset even if
11419           string is empty
11420
11421 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11422
11423         * buffer.C (getLists): replace boost::tie code with an explicit pair
11424         as boost::tie can break some compilers.
11425
11426         * iterators.h: Added a std:: declaration to the return type of
11427         ParIterator::size.
11428
11429 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11430
11431         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11432           case.
11433
11434 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11435
11436         * iterators.[Ch]: New files. Provide paragraph iterators.
11437
11438         * buffer.C (changeLanguage): Use paragraph iterators.
11439         (isMultiLingual): ditto
11440
11441         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11442
11443 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11444
11445         * FontLoader.C: Support for cmr font.
11446
11447 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11448
11449         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11450         (available): New method.
11451
11452         * FontInfo.C (getFontname): Use scalable fonts even when
11453         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11454         found.
11455
11456 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11457
11458         * converter.C (Formats::view): reverted! Incorrect fix.
11459
11460 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11461
11462         * converter.C (Formats::view): only output the -paper option
11463         if the dvi viewer is xdvi, thereby fixing bug #233429.
11464
11465 2001-08-23  Herbert Voss  <voss@perce>
11466
11467         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11468
11469 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11470
11471         * Spacing.h (Spacing): Set space to Default on in the default
11472         constructor.
11473
11474 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11475
11476         * vc-backend.h (RCS::versionString): add RCS to version
11477         (CVS::versionString): add CVS to version
11478
11479         * vc-backend.C (scanMaster): do not add CVS to version.
11480         (scanMaster): do not add RCS to version
11481
11482         * lyxvc.C (versionString): new method
11483
11484         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11485
11486 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11487
11488         * Spacing.C (set): initialize fval
11489
11490 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11491
11492         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11493         " or \.
11494
11495 2001-08-16  Juergen Vigna  <jug@sad.it>
11496
11497         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11498
11499 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11500
11501         * BufferView_pimpl.C:
11502         * figureForm.C:
11503         * lyxtext.h:
11504         * text2.C: setParagraph takes linespacing now
11505
11506 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11507
11508         * LyxAction.C: add internal LFUN_CITATION_INSERT
11509
11510         * LyXView.C: actually apply fix
11511
11512         * bufferlist.C: fix open non-existent file
11513
11514         * lyxfind.C: fix indentation
11515
11516         * lyxfunc.C: remove unneeded assert, fix typo
11517
11518 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11519
11520         * MenuBackend.C: use "Floatname List"
11521
11522 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11523
11524         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11525         when converting LaTeX layout to insetERT.
11526         Generate a non-collapsed float when reading old float
11527
11528 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11529
11530         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11531         ERT insets.
11532
11533 2001-08-13  Juergen Vigna  <jug@sad.it>
11534
11535         * text.C (fill): return 0 instead of 20 as this seems to be the more
11536         correct value.
11537
11538 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11539
11540         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11541         lyxrc.font_norm.
11542
11543 2001-08-13  Juergen Vigna  <jug@sad.it>
11544
11545         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11546         casesensitive off.
11547         (SearchBackward): comment out the unlocking of the inset_owner this
11548         should not be needed!
11549
11550 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11551
11552         * Many files: Remove inherit_language, and add latex_language
11553
11554         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11555         collapsible insets.
11556
11557 2001-08-10  Juergen Vigna  <jug@sad.it>
11558
11559         * text.C (prepareToPrint): fixed hfill-width in draw!
11560
11561         * BufferView2.C (selectLastWord): save the selection cursor as this
11562         now is cleared in the function LyXText::clearSelection!
11563
11564 2001-08-08  Juergen Vigna  <jug@sad.it>
11565
11566         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11567         BACKSPACE type functions.
11568
11569         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11570         is only cutted from the document but not put in the cut-buffer, where
11571         still the old stuff should be.
11572
11573         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11574
11575         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11576
11577         * tabular.C (SetWidthOfCell): fixed special case where the width
11578         was not updated!
11579         (LeftLine): handle '|' in align_special.
11580         (RightLine): ditto
11581         (LeftAlreadyDrawed): ditto
11582         (SetWidthOfCell): ditto
11583
11584 2001-08-07  Juergen Vigna  <jug@sad.it>
11585
11586         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11587
11588 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11589
11590         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11591         * lyxlex.[hC]: ditto
11592
11593 2001-08-06  Juergen Vigna  <jug@sad.it>
11594
11595         * text.C (getVisibleRow): fix up row clearing a bit.
11596
11597 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11598
11599         * minibuffer.C: make sure the X server sees the changes in the input.
11600
11601 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11602
11603         * paragraph.C (getFont): split into...
11604         (getLabelFont): this
11605         (getLayoutFont): and this
11606         * paragraph_pimpl.C (realizeFont): calling this
11607
11608         * text2.C (getFont): split into...
11609         (getLayoutFont): this
11610         (getLabelFont): and this
11611         (realizeFont): all three calling this
11612
11613         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11614         files where used.
11615
11616 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11617
11618         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11619
11620 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11621
11622         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11623         layouts from the Quote inset insertion.
11624
11625 2001-08-03  Juergen Vigna  <jug@sad.it>
11626
11627         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11628
11629         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11630         only if status not is already CHANGED_IN_DRAW (second level).
11631
11632         * text.C (draw): don't set the need_break_row when inside an
11633         InsetText LyXText.
11634
11635 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11636
11637         * buffer.C (parseSingleLyXformat2Token): handle more latex
11638         conversion cases.
11639
11640         * bufferview_funcs.[hC]: change function names to
11641         begin with small char, adjust other files.
11642
11643 2001-08-02  André Pönitz <poenitz@gmx.net>
11644
11645         * lyxfunc.C:
11646         BufferView_pimpl.C: remove broken special code for math-greek
11647
11648 2001-08-02  Juergen Vigna  <jug@sad.it>
11649
11650         * BufferView_pimpl.C (update): redone this function so that we
11651         update the text again if there was a CHANGE_IN_DRAW.
11652
11653         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11654         (drawFromTo): added a new internal bool which is used by draw() and
11655         redraw() function.
11656         (general): some cursor drawing problems fixed.
11657
11658 2001-08-01  Juergen Vigna  <jug@sad.it>
11659
11660         * lyxfind.C (LyXFind): fixed
11661         (SearchForward): ditto
11662         (SearchBackward): ditto
11663
11664         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11665         spurius drawing of the cursor in the main area.
11666
11667         * text2.C (status): small fix which could lead to a segfault!
11668         (clearSelection): remove unneeded BufferView param.
11669
11670 2001-08-01  André Pönitz <poenitz@gmx.net>
11671
11672         * lyxfunc.C: small change due to changed mathed interface
11673
11674 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11675
11676         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11677
11678 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11679
11680         * lyxfunc.c: fail gracefully if file doesn't exist
11681
11682         * LyXSendto.C:
11683         * buffer.C:
11684         * lyxfunc.C:
11685         * BufferView_pimpl.C: IsDirWriteable() proto changed
11686
11687         * LyXView.C: fix updateWindowTitle() to store the last title
11688
11689 2001-07-31  Juergen Vigna  <jug@sad.it>
11690
11691         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11692         the font (wrong since using of Paragraph::highestFontInRange).
11693
11694         * paragraph.C (highestFontInRange): added a default_size parameter.
11695
11696         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11697         (setHeightOfRow): reformat
11698
11699 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11700
11701         * converter.[hC] + affected files: move to (inital-char)lowercase
11702         function names.
11703
11704         * ParagraphParameters.C (ParagraphParameters): remove commented code
11705
11706         * PainterBase.[Ch]: remove commented code
11707
11708         * LaTeXFeatures.h: add "bool floats" for float.sty
11709
11710         * LaTeXFeatures.C (LaTeXFeatures): init floats
11711         (require): handle float
11712         (getPackages): do it with floats
11713
11714 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11715
11716         * BufferView_pimpl.C (Dispatch): improve handling of
11717         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11718
11719         * commandtags.h: #include lyxfont.h here temporarily to avoid
11720         keybinding bug.
11721
11722         * bufferlist.h: include LString.h here.
11723
11724 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11725
11726         * text2.C (getStringToIndex): new method.
11727
11728 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11729
11730         * *: Reduced header file dependencies all over.
11731
11732 2001-07-30  Baruch Even  <baruch@lyx.org>
11733
11734         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11735
11736 2001-07-29  Baruch Even  <baruch@lyx.org>
11737
11738         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11739
11740 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11741
11742         * ParameterStruct.h (endif): add a default constructor to make
11743         sure that all variables is initialized.
11744
11745         * ParagraphParameters.C (ParagraphParameters): adjust
11746
11747 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11748
11749         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11750         index; also, check that there is something to index, and that it
11751         does not span over several paragraphs.
11752         (doubleClick): use WHOLE_WORD_STRICT for double click.
11753
11754         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11755
11756         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11757         scheme.
11758
11759 2001-07-26  Baruch Even  <baruch@lyx.org>
11760
11761         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11762         an InsetFig figure, backwards compatible reading of old figure code.
11763
11764 2001-07-27  Juergen Vigna  <jug@sad.it>
11765
11766         * text2.C: font.realize function adaption.
11767
11768         * text.C (draw): add a warnings lyxerr text if needed.
11769
11770         * layout.C: font.realize function adaption.
11771
11772         * language.C: add inherit_language and implement it's handlings
11773
11774         * bufferview_funcs.C (StyleReset): remove language parameter from
11775         font creation (should be language_inherit now).
11776
11777         * bufferparams.C (writeFile): handle ignore_language.
11778
11779         * paragraph.C (getFontSettings): the language has to be resolved
11780         otherwise we have problems in LyXFont!
11781
11782         * lyxfont.C (lyxWriteChanges): added document_language parameter
11783         (update): removed unneeded language parameter
11784
11785         * paragraph.C (validate): fixed wrong output of color-package when
11786         using interface colors for certain fonts in certain environments,
11787         which should not seen as that on the final output.
11788
11789 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11790
11791         * BufferView_pimpl.C:
11792         * Thesaurus.h:
11793         * Thesaurus.C:
11794         * Makefile.am:
11795         * commandtags.h:
11796         * LyXAction.C: add thesaurus support
11797
11798         * lyxfind.h:
11799         * lyxfind.C: add "once" parameter, for thesaurus, to not
11800           move to the next match
11801
11802 2001-07-26  Juergen Vigna  <jug@sad.it>
11803
11804         * lyxfont.C (realize): honor ignore_language too!
11805         (resolved): ditto.
11806
11807         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11808
11809         * text.C (draw): one place more for ignore_language to not draw
11810         itself!
11811
11812 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11813
11814         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11815
11816 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11817
11818         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11819         the minipage conversion problem.
11820
11821 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11822
11823         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11824         insert an inset.
11825
11826 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11827
11828         * BufferView.h: don't forward declare WorkArea
11829
11830         * BufferView.C: don't include WorkArea.h
11831
11832 2001-07-25  André Pönitz <poenitz@gmx.net>
11833
11834         * commandtags.h:
11835         * LyXAction.C:
11836         * lyxfunc.C:  new LFUN 'math-space'
11837
11838         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11839
11840 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11841
11842         * text2.C (toggleInset): call open/close
11843
11844 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11845
11846         * lyxfunc.C (dispatch): add debug for the disabled case
11847
11848         * font.C (buttonText): make similar to rectText
11849
11850         * buffer.C (readInset): comment out parsing of insetlist and
11851         insttheorem
11852
11853         * PainterBase.C (rectText): small correction
11854
11855         * BufferView_pimpl.C: comment out insettheorem and insetlist
11856         * LyXAction.C: ditto
11857         * commandtags.h: ditto
11858
11859 2001-07-24  Juergen Vigna  <jug@sad.it>
11860
11861         * text.C (draw): honor the ignore_language.
11862
11863         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11864
11865 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11866
11867         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11868         char inset.
11869
11870 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11871
11872         * lyxtext.h: remove unused (and unimplemented) methods
11873
11874 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11875
11876         * text.C (getVisibleRow): honor background color
11877
11878         * PainterBase.h:
11879         * Painter.h: remove default color argument for fillRectangle
11880
11881         * text.C (backgroundColor): new method
11882
11883 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11884
11885         * text.C (getVisibleRow): adjust
11886
11887         * font.[Ch] (rectText): new method, metrics
11888         (buttonText): new method, metrics
11889
11890         * PainterBase.[hC]: make rectText and buttonText always draw and take
11891         fewer paramteres.
11892
11893 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11894
11895         * ToolbarDefaults.C (read):
11896         * MenuBackend.C (read): allow escaping in all strings
11897
11898         * BufferView_pimpl.C (insertAndEditInset): new method.
11899         (Dispatch): use insertAndEditInset whenever appropriate.
11900
11901         * BufferView_pimpl.C (insertNote): removed
11902
11903         * BufferView_pimpl.C (smartQuote): new method, moved from
11904         BufferView; if an insetquote cannot be inserted, insert a '"'
11905         character instead.
11906
11907         * BufferView2.C: remove insertCorrectQuote();
11908
11909         * lyxfunc.C (getStatus): Add support for all remaingin
11910         inset-insert lfuns.
11911
11912         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11913
11914         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11915         command (necessary to pass " as parameter of self-insert.
11916
11917         * text.C (selectWordWhenUnderCursor):
11918         (selectWord): add word_location parameter
11919         (selectWordWhenUnderCursor): same + remove special code for word
11920         boundary.
11921         (selectNextWord): use kind() to guess type of insetspecialchar,
11922         not latex().
11923
11924         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11925         (insertErtContents): create ert insets as collapsed.
11926         (readInset): better compatibility code for Info inset.
11927
11928 2001-07-20  Juergen Vigna  <jug@sad.it>
11929
11930         * lyxfunc.C (dispatch): use always LyXFind now!
11931
11932         * text2.C (init): add a reinit flag so that the LyXText can be
11933         reinited instead of deleted and reallocated (used in InsetText).
11934
11935         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11936
11937         * text.C: ditto
11938
11939         * text2.C: ditto
11940
11941 2001-07-18  Juergen Vigna  <jug@sad.it>
11942
11943         * text.C (selectNextWord): handle insets inside inset by calling
11944         always the bv->text functions so that we can go up the_locking_inset!
11945
11946         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11947         in strange locations when inside an inset!
11948
11949         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11950         handling to include insets.
11951
11952         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11953
11954 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11955
11956         * LyXAction.C (init):
11957         * commandtags.h:
11958         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11959         LIGATURE_BREAK, since the name is so stupid.
11960
11961 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11962
11963         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11964         InsetInfos.
11965
11966         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11967
11968         * sp_form.[Ch]: remove.
11969
11970         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11971
11972         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11973         InsetInfo.
11974
11975         * src/buffer.C (readInset): ditto.
11976
11977 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11978
11979         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11980         menuSeparator(), endOfSentenceDot(), ldots() and
11981         hyphenationPoint(), which are therefore removed.
11982         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11983
11984         * LyXAction.C (init):
11985         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11986
11987         * paragraph.C (getWord): removed.
11988
11989         * BufferView_pimpl.C (Dispatch): use last word or selection for
11990         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11991
11992         * lyx_main.C (queryUserLyXDir): do not ask before creating
11993         user_dir, except if it has been named explicitely.
11994
11995 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11996
11997         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11998         a document of zero size.
11999
12000 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12001
12002         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12003         approriately in the c-tor and in require().
12004         (getPackages): output the appropriate LaTeX for natbib support.
12005
12006         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12007         variables "use_natbib" and "use_numerical_citations" when reading the
12008         LyX file.
12009         (readInset): read the various natbib cite commands.
12010         (validate): white-space change.
12011
12012         * bufferparams.[Ch]: new variables "bool use_natbib" and
12013         "bool use_numerical_citations".
12014         (writeFile): output them in the LyX file.
12015
12016 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12017
12018         * lyxfunc.C (getStatus): add support for all the inset insertion
12019         commands.
12020
12021         * text2.C (insertInset):
12022         * paragraph.C (insetAllowed):
12023         * BufferView_pimpl.C (insertInset): update to take in account the
12024         renaming of insertInsetAllowed
12025
12026         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12027
12028         * text2.C (getInset): new method. returns inset at cursor position.
12029
12030         * BufferView_pimpl.C (Dispatch): changes because of this.
12031
12032         * LyXAction.C (init): rename open-stuff to inset-toggle.
12033
12034         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12035
12036         * text2.C (toggleInset): renamed from openStuff; use
12037         Inset::open().
12038
12039 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12040
12041         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12042
12043         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12044
12045 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12046
12047         * buffer.C (readLyXformat2): Add filename to the error dialog
12048
12049 2001-07-18  Juergen Vigna  <jug@sad.it>
12050
12051         * tabular.C (GetCellNumber): put an assert here instead of the check!
12052
12053 2001-07-17  Juergen Vigna  <jug@sad.it>
12054
12055         * BufferView_pimpl.C (toggleSelection): adapted too.
12056
12057         * text.C (selectNextWord): adapted for use with insets.
12058         (selectSelectedWord): ditto
12059
12060 2001-07-17  Juergen Vigna  <jug@sad.it>
12061
12062         * sp_spell.C (PSpell): fix initialitation order.
12063
12064 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12065
12066         * paragraph.C: spacing
12067
12068 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12069
12070         * sp_spell.C: repair language selection for pspell
12071
12072 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12073
12074         * lyxfunc.h: change more methods to begin with lower char.
12075
12076 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12077
12078         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12079         for unknown layouts.
12080
12081 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12082
12083         * buffer.C (readLyXformat2): Generate an error dialog if there are
12084         unknown layouts.
12085
12086 2001-07-16  Juergen Vigna  <jug@sad.it>
12087
12088         * sp_spell.C: always compile ISpell part.
12089
12090         * lyxrc.C: added use_pspell entry and it's handling.
12091
12092 2001-07-13  Juergen Vigna  <jug@sad.it>
12093
12094         * sp_spell.C: removed double includes.
12095
12096 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12097
12098         Consistent use of Lsstream.h:
12099         * Lsstream.h: added using std::stringstream for consistencies sake.
12100
12101         * buffer.C: removed using std::stringstream
12102
12103         * lyxfont.C (stateText):
12104         * paragraph.C (asString):
12105         * text.C (selectNextWord, selectSelectedWord):
12106         * text2.C (setCounter):
12107         * vspace.C (asString, asLatexString):
12108         std::ostringstream -> ostringstream.
12109
12110 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12111
12112         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12113         * commandtags.h: add LFUN_HELP_ABOUTLYX
12114         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12115
12116 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12117
12118         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12119         cursorToggle()
12120         * lyx_gui_misc.C: remove spellchecker
12121         * lyxfunc.C: showSpellchecker
12122         * sp_base.h: added
12123         * sp_ispell.h: added
12124         * sp_pspell.h: added
12125         * sp_spell.C: added
12126         * sp_form.[Ch]: removed
12127         * spellchecker.[Ch]: removed
12128
12129 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12130
12131         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12132         is set.
12133         (simpleTeXSpecialChars): Simply print the input character without
12134         any special translation if pass_thru is set.
12135
12136         * layout.h: Added bool pass_thru to layout class for being able to
12137         implement pass through of a paragraph for Literate Programming.
12138
12139         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12140         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12141         * layout.C (Read): add "passthru" to list of layout tags and add
12142         code to set the pass_thru boolean when it is read.
12143
12144 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12145
12146         * trans_decl.h: remove allowed from KmodInfo
12147
12148         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12149         remove allowed code
12150         (Load): adjust
12151
12152         * paragraph_pimpl.C (erase): use boost::prior
12153
12154         * Painter.C (text): use data() instead of c_str() when length is
12155         also provided.
12156         * WorkArea.C (putClipboard): ditto
12157         * font.h (width): ditto
12158
12159         * BufferView2.C: use it-> instead of (*it). for iterators
12160         * texrow.C: ditto
12161         * paragraph_pimpl.C: ditto
12162         * paragraph.C: ditto
12163         * minibuffer.C: ditto
12164         * language.C: ditto
12165         * kbmap.C: ditto
12166         * encoding.C: ditto
12167         * counters.C: ditto
12168         * converter.C: ditto
12169         * chset.C: ditto
12170         * Variables.C: ditto
12171         * TextCache.C: ditto
12172         * MenuBackend.C: ditto
12173         * LyXAction.C: ditto
12174         * LColor.C: ditto
12175         * FloatList.C: ditto
12176         * DepTable.C: ditto
12177         * ColorHandler.C (LyXColorHandler): ditto
12178
12179 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12180
12181         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12182
12183         * text2.C (openStuff): reintroduce this method (which had been
12184         nuked in NEW_INSETS frenzy).
12185
12186         * lyxfunc.C (Dispatch): when an action has not been handled, use
12187         its name in the error message, not its number.
12188
12189         * paragraph.C (inInset): change method name to begin with lowercase.
12190
12191         * undo_funcs.C:
12192         * text2.C: updates because of this.
12193
12194 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12195
12196         * ToolbarDefaults.C (add): add spaces in error message
12197
12198 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12199
12200         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12201         (readLyXformat2): rename return_par to first_par, use lyxlex's
12202         pushToken and remove the manual push handling.
12203         (parseSingleLyXformat2Token): add another ert comp. variable:
12204         in_tabular, rename return_par to first_par. handle newlines better
12205
12206 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12207
12208         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12209
12210 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12211
12212         * text2.C (getParFromID): removed
12213
12214         * buffer.C (getParFromID): new method moved form lyxtext.
12215         * BufferView2.C (insertErrors): adjust
12216         (setCursorFromRow): adjust
12217         * BufferView_pimpl.C (restorePosition): adjust
12218         * lyxfunc.C (Dispatch): adjust
12219         * undo_funcs.C (textUndo): adjust
12220         (textRedo): adjust
12221         (textHandleUndo): adjust
12222         (textHandleUndo): adjust
12223
12224 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12225
12226         * buffer.C: up' the LYX_FORMAT
12227
12228         * lyxfont.h: turn NO_LATEX on as default
12229
12230         * buffer.C (insertErtContents): new methods of tex style compability.
12231         (parseSingleLyXformat2Token): use it several places.
12232         * tabular.C (OldFormatRead): and here
12233
12234 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12235
12236         * text2.C: remove some commented code.
12237         reindent file.
12238
12239         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12240         * trans.C: changes because of the above.
12241
12242 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12243
12244         * text2.C (setCounter): Fix counters bug with bibliography layout.
12245
12246 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12247
12248         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12249         own member functions
12250         (simpleTeXSpecialChars): ditto
12251
12252 2001-07-06  Juergen Vigna  <jug@sad.it>
12253
12254         * a lot of files: changed the access to LyXText::status and the
12255         call of undo-functions.
12256
12257         * undo.[Ch]: added a inset_id to the undo informations.
12258
12259         * undo_funcs.[Ch]: added and moved here all undo functions.
12260
12261         * lyxtext.h: give the status enum a weight, made status_ a private
12262         variable and made accessor functions for it, removed the whole bunch
12263         of undo-functions as they are now in their own file, make some
12264         functions publically available. Added function ownerParagraph with
12265         int parameter.
12266
12267         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12268         made InInset() a const function, added getParFromID() function.
12269
12270         * buffer.[Ch]: added const version for inset_iterator functions,
12271         added getInsetFromID() function.
12272
12273         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12274         changed undo functions for new version.
12275
12276 2001-07-05  Juergen Vigna  <jug@sad.it>
12277
12278         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12279         unknow mechanism does not call the proper constructor but only this
12280         one also if I request the other!?
12281
12282 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12283
12284         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12285
12286         * text2.C (LyXText): use initialization lists.
12287
12288         * lyxtext.h (Selection): initialize set_ and mark_
12289         (init): remove method
12290
12291 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12292
12293         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12294
12295 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12296
12297         * screen.[Ch]: change method names to begin with lowercase
12298
12299         * BufferView_pimpl.C (updateScrollbar): simplify further and
12300         hopefully make it a bit faster.
12301
12302 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12303
12304         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12305         calling directly xforms functions.
12306
12307         * Painter.C (Painter):
12308         * lyx_cb.C (MenuWrite):
12309         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12310         fl_display.
12311
12312         * lyx_gui.C: remove bogus guiruntime extern declaration.
12313
12314 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12315
12316         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12317         in NEW_INSETS
12318         (redoDrawingOfParagraph): ditto
12319         (redoParagraphs): ditto
12320         (cutSelection): don't create a object for CutAndPaste use the
12321         static method directly
12322         (pasteSelection): ditto
12323
12324         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12325         LyXview (+ rename)
12326
12327 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12328
12329         * modifications to some other files because of this.
12330
12331         * Makefile.am (lyx_SOURCES): add XFormsView
12332
12333         * XFormsView.[Ch]: new files
12334
12335         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12336         the main window. Move the gui dependent stuff to XFormsView
12337
12338 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12339
12340         * tabular.C (GetCellInset): update cur_cell also in the row/col
12341         version of this function.
12342
12343         * lyxfunc.C: no need to include figure_form.h here.
12344
12345         * FontLoader.h:
12346         * lyxfunc.h:
12347         * lyxscreen.h:
12348         * text2.C:
12349         * lyxvc.C: no need to include forms.h here.
12350
12351 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12352
12353         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12354
12355         * lyxfunc.C (Dispatch):
12356         * Spacing.C (set):
12357         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12358         constructor argument.
12359
12360 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12361
12362         * paragraph.C (Paragraph): dont't clear, and just set layout.
12363         (makeSameLayout): use params's copy contructor.
12364
12365         * ParagraphParameters.[Ch] (makeSame): delete method
12366
12367 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12368
12369         * Variables.[Ch]: fix indentation, rename set to isSet
12370
12371 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12372
12373         * lyxfunc.C (Dispatch): fix typo
12374
12375 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12376
12377         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12378         upper_bound.
12379
12380         * bufferlist.C: include assert.h for emergencyWrite().
12381
12382 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12383
12384         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12385           give up at last (bug #425202) !
12386
12387 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12388
12389         * lyx_gui_misc.C:
12390         * sp_form.h:
12391         * sp_form.C:
12392         * spellchecker.h:
12393         * spellchecker.C: strip spellchecker options and bring up
12394           preferences tab instead
12395
12396 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12397
12398         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12399         the istringstream constructor
12400
12401 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12402
12403         * paragraph.C (getLayout): fix return value
12404
12405         * paragraph.h: do not declare getLayout as inline.
12406
12407         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12408
12409 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12410
12411         * lyxcursor.h (operator<): new func
12412         (operator>): new func
12413         (operator>=): new func
12414         (operator<=): new func
12415
12416         * text.C (changeCase): use selection.start and selection.end
12417         (changeRegionCase): require from to be <= to. Require par to be a
12418         valid paragraph.
12419
12420         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12421
12422 2001-06-27  Juergen Vigna  <jug@sad.it>
12423
12424         * text.C (cursorLeftOneWord): changed to return the cursor and added
12425         overlay with BufferView * parameter which calls this one.
12426         (getWord): added
12427         (selectWord): use new getWord function.
12428         (changeCase): renamed from changeWordCase as and extended to work
12429         also on selections.
12430
12431         * lyxtext.h: added enum word_location
12432
12433         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12434         changeCase as this operates now also on selections.
12435
12436 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12437
12438         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12439
12440         * many files: send debug output to Debug::INFO instead of
12441         Debug::ANY.
12442
12443         * converter.C (View):
12444         (Convert):
12445         (Move): send debug output to Debug::FILES instead of console.
12446
12447 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12448
12449         * lyxfunc.C (getStatus): use func_status
12450
12451         * func_status.h: new header, describing the results of
12452         LyXFunc::getStatus;
12453
12454         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12455         LFUN_MATH_HALIGN.
12456
12457 2001-06-25  The LyX Project  <jug@sad.it>
12458
12459         * buffer.C (sgmlOpenTag):
12460         (sgmlCloseTag):
12461         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12462
12463 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12464
12465         * text2.C: remove some dead code
12466
12467         * tabular.C (GetCellInset): store the last cell checked (gotten)
12468
12469         * tabular.h: add the helper for the speedup
12470
12471         * lyxtext.h: remove some dead code
12472
12473 2001-06-26  The LyX Project  <Asger>
12474
12475         * paragraph.C: Change export to LaTeX of alignment to
12476         \begin{center} and family for better roundtrip work with reLyX.
12477
12478         * Tune the math drawing a bit.
12479
12480 2001-06-25  The LyX Project  <Asger>
12481
12482         * LColor.C (LColor): New color for math background. New color
12483         for buttons.
12484
12485 2001-06-25  The LyX Project  <jug@sad.it>
12486
12487         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12488
12489         * lyxfunc.C (Open):
12490         * bufferlist.C (newFile): do not restrict to files ending with
12491         .lyx
12492
12493         * BufferView_pimpl.C (MenuInsertLyXFile):
12494
12495 2001-06-24  The LyX Project  <jug@sad.it>
12496
12497         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12498         of compare_no_case
12499
12500 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12501
12502         * lyxtext.h: rename most methods to begin with a small char.
12503         Lots of changes because of this.
12504
12505         * paragraph.C (Paragraph): do not call fitToSize
12506         (erase): call Pimpl::erase
12507         (insertChar): call Pimpl::insertChar
12508         (insertInset): call Pipl::insertInset
12509         (breakParagraph): do not call fitToSize
12510         (breakParagraphConservative): do not call fitToSize
12511         (fitToSize): remove method
12512
12513         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12514
12515 2001-06-24  The LyX Project  <Asger>
12516
12517         * Fix Qt compilation^2
12518
12519 2001-06-24  The LyX Project  <jug@sad.it>
12520
12521         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12522         depthHook(getDepth()-1).
12523
12524         * paragraph.h:
12525         * ParagraphParameters.h:
12526         * ParameterStruct.h: change type of depth to unsigned int ==
12527         depth_type. Many adaptations to other files before of that.
12528
12529 2001-06-24  The LyX Project  <Asger>
12530
12531         * Fix Qt compilation.
12532
12533 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12534
12535         * paragraph.h: renamed several methods to begin with small letter.
12536         several changes to many parts of the code because of this.
12537
12538 2001-06-23  The LyX Project  <jug@sad.it>
12539
12540         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12541         rewritten to discard all double spaces when KeepEmpty is off
12542         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12543         to only handle newlines but not fiddle with spaces and friends.
12544
12545         * lyxfunc.C (MenuNew): when doing 'new from template', use
12546         template_path as default directory
12547
12548 2001-06-23  The LyX Project  <Asger>
12549
12550         * Clean-up of header file includes all over
12551         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12552
12553 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12554
12555         * paragraph.h: renamed from lyxparagraph.h
12556
12557 2001-06-23  Asger  <lyx@violet.home.sad.it>
12558
12559         * Buffer.h: Removed Buffer::resize
12560         * BufferList.h: Removed BufferList::resize
12561         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12562         the document lazily when we change the width, or the font settings.
12563
12564 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12565
12566         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12567
12568 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12569
12570         * buffer.h: remove out of date comment
12571
12572 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12573
12574         * lyxscreen.h:
12575         * screen.C: fix "theoretical" GC leak
12576
12577 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12578
12579         * LaTeX.C (scanAuxFile):
12580         (deplog): remove trailing \r when reading stream (useful under
12581         win32)
12582
12583 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12584
12585         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12586         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12587         and BufferView::theLockingInset(Inset*), so should use them and not
12588         access bv_->text->the_locking_inset directly.
12589
12590         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12591
12592 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12593
12594         * Makefile.am:
12595         * tex-defs.h: remove old unused file
12596
12597 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12598
12599         * BufferView_pimpl.C: fix typo, remove minibuffer message
12600           when buffer has loaded
12601
12602 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12603
12604         * lyxfunc.C (Dispatch): use stringstream
12605         (MenuNew): use stringstream
12606         (Open): use stringstream
12607
12608         * importer.C (Import): use stringstream
12609
12610         * bufferview_funcs.C (CurrentState): use stringstream
12611
12612         * LaTeX.C (run): use stringstream
12613
12614         * BufferView_pimpl.C (savePosition): use stringstream
12615         (restorePosition): use stringstream
12616         (MenuInsertLyXFile): use stringstream
12617
12618 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12619
12620         * BufferView.C:
12621         * Bullet.C:
12622         * ColorHandler.C:
12623         * FontInfo.C:
12624         * FontLoader.C:
12625         * LColor.C:
12626         * LaTeXFeatures.C:
12627         * Painter.C:
12628         * gettext.C:
12629         * lyx_gui_misc.C:
12630         * lyxserver.C:
12631         * vspace.C: removed // -*- C++ -*- as first line.
12632
12633         * lyxfind.h:
12634         * version.h: added // -*- C++ -*- as first line.
12635
12636 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12637
12638         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12639
12640         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12641         of string
12642
12643 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12644
12645         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12646         of floats.
12647
12648 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12649
12650         * gettext.C: include LString.h even when --disable-nls is on.
12651
12652 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12653
12654         * converter.h (Get): changed argument type from int to
12655         FormatList::size_type to avoid unnecessary conversion.
12656
12657         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12658         before using it.
12659
12660 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12661
12662         * gettext.h: include LString.h even when --disable-nls is on.
12663
12664 2001-06-07  Juergen Vigna  <jug@sad.it>
12665
12666         * text.C (BreakAgain): subst spaces with tabs.
12667
12668         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12669         (resizeInsetsLyXText): set force on resizeLyXText.
12670
12671 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12672
12673         * gettext.h (gettext_init):
12674         (locale_init): use a real definition instead of a macro
12675
12676 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12677
12678         * Bufferview_pimpl.C:
12679         * LColor.h:
12680         * LColor.C: further lcolor tidies
12681
12682 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12683
12684         * BufferView_pimpl.C (updateScrollbar): simplify.
12685
12686         * BufferView2.C: don't include insets/insetinfo.h, change
12687         prototype for insertInset and call the Pimpl version. let
12688         updateInset call Pimpl version.
12689
12690         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12691         gotoInset to BufferView::Pimpl
12692
12693 2001-06-01  Juergen Vigna  <jug@sad.it>
12694
12695         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12696         inside a LockingInset (is the update needed at all?).
12697
12698 2001-05-31  Juergen Vigna  <jug@sad.it>
12699
12700         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12701         here not the old one otherwise how should we compare it afterwards
12702         if it's the same!
12703
12704 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12705
12706         * lyxfont.C:
12707         * tabular.C:
12708         * tabular-old.C:
12709         * FontInfo.C: bring C functions into global namespace when
12710         necessary
12711
12712 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12713
12714         * LString.h: make sure config.h has been loaded before LString.h.
12715
12716         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12717         (one for each char read by EatLine!).
12718
12719         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12720         variables.
12721
12722 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12723
12724         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12725         to the same as the par we break from
12726
12727 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12728
12729         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12730
12731         * MenuBackend.C (expand): also create menu entries for wide
12732         versions of the floats.
12733
12734         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12735
12736         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12737
12738         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12739         frontends/Makefile.am
12740
12741         * text2.C: adjust
12742         * text.C: adjust
12743
12744
12745         * tabular.C (getTokenValue): add std::
12746
12747         * tabular-old.C (getTokenValue): add std::
12748         (getTokenValue): ditto
12749         (getTokenValue): ditto
12750
12751         * screen.C (ToggleSelection): adjust
12752
12753         * lyxtext.h: put selection cursors inside a Selection struct.
12754
12755         * lyxfunc.C (moveCursorUpdate): adjust
12756
12757         * lyxfont.C (latexWriteStartChanges): add std::
12758
12759         * lyxfind.C: adjust
12760
12761         * font.h: delete with(char const *, LyXFont const &)
12762
12763         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12764
12765         * FontInfo.C (getFontname): add std::
12766
12767         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12768         (workAreaButtonPress): adjust
12769         (tripleClick): adjust
12770         (update): adjust
12771         (moveCursorUpdate): adjust
12772         (Dispatch): adjust
12773
12774         * BufferView2.C (gotoInset): adjust
12775
12776 2001-05-30  Juergen Vigna  <jug@sad.it>
12777
12778         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12779         to check pspell I add this as default as I now have new pspell
12780         libraries and they seem to use this.
12781
12782 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12783
12784         * text2.C (CutSelection): make the cursor valid before the call to
12785         ClearSelection.
12786
12787 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12788
12789         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12790         relied on 0 terminated strings and other horrors. Bug found due to
12791         the new assert in lyxstring!
12792
12793         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12794         KP_ keys.
12795
12796 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12797
12798         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12799         to latinkeys.bind.
12800
12801         * lyxfunc.C (processKeySym): change method of getting to the
12802         self-insert char.
12803
12804         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12805         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12806         * BufferView_pimpl.[Ch]: here as private methods.
12807
12808 2001-05-28  Juergen Vigna  <jug@sad.it>
12809
12810         * text.C (SetHeightOfRow): added the update() call again as it is
12811         needed to initialize inset dimensions!
12812
12813 2001-05-16  Juergen Vigna  <jug@sad.it>
12814
12815         * text2.C (SetCharFont): Add new function with BufferView * and
12816         bool toggleall parameters for setting insets internal fonts.
12817         (SetFont): Freeze the undo as we may change fonts in Insets and
12818         all this change should be inside only one Undo!
12819
12820         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12821         setting font's in insets as for them we have the SetFont function!
12822
12823 2001-05-15  Juergen Vigna  <jug@sad.it>
12824
12825         * text2.C (ClearSelection): to be sure we REALLY don't have any
12826         selection anymore!
12827
12828         * tabular.C (TeXCellPreamble): fixed the left border problem for
12829         multicolumn cells.
12830
12831 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12832
12833         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12834         dependancy file
12835
12836 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12837
12838         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12839         LFUN_BREAKPARAGRAPH.
12840
12841         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12842         help test to "internal only", similar for LFUN_INSERT_URL
12843
12844         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12845         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12846         auto_region_delete and deadkeys.
12847
12848 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12849
12850         * LColor.h:
12851         * LColor.C: remove some dead entries, tidy a little
12852
12853 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12854
12855         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12856         commented code.
12857         (Dispatch): implement LFUN_ESCAPE
12858
12859         * commandtags.h: add LFUN_ESCAPE
12860
12861         * LyXAction.C (init): add entry for LFUN_ESCAPE
12862
12863         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12864         Remove commented code.
12865         (insertNote): moved here
12866         (open_new_inset): moved here
12867
12868         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12869         BufferView_pimpl
12870
12871 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12872
12873         * kbmap.C (findbinding): clean it up and make it work correctly.
12874
12875         * lyx_main.C (init): do not pass argc and argv as parameters
12876
12877 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12878
12879         * buffer.C: fix path for OS/2 & Win32
12880
12881         * lyx_gui.C:
12882         * lyx_main:
12883         * lyx_main.C: Added os:: class.
12884
12885         * os2_defines.h: update
12886
12887 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12888
12889         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12890         better by trying again with reduced state.
12891
12892 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12893
12894         * lyxrc.C (read): print error about invalid key sequence only when
12895         debugging (because not all latinX keysyms are known to some X
12896         servers)
12897
12898         * kbsequence.C (getiso): add a few std:: qualifiers
12899         (getiso): comment out extra return statement.
12900
12901 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12902
12903         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12904         handling.
12905         (Dispatch): enhance the accent inset a bit. (not perfect)
12906
12907 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12908
12909         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12910
12911 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12912
12913         * bufferlist.C (emergencyWrite): fix assert() call
12914
12915 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12916
12917         * text.C (InsertChar): Added trivial patch to only send the "you
12918         can not do multiple spaces this way" message once during a
12919         session.
12920
12921 2001-05-08  Baruch Even  <baruch@lyx.org>
12922
12923         * Makefile.am: Changed order of libraries to get LyX to link properly
12924         with the gnome frontend.
12925
12926 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12927
12928         * LaTeXFeatures.h: add a std:: qualifier
12929
12930 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12931
12932         * paragraph.C (String): use stringstream
12933
12934 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12935
12936         * paragraph.C (writeFile): remove footflag arg
12937
12938         * buffer.C (makeLaTeXFile): use stringstream
12939         (latexParagraphs): remove footnot gurba
12940
12941         * LaTeXFeatures.C (getPackages): use stringstream
12942         (getMacros): likewise
12943         (getTClassPreamble): likewise
12944         (getFloatDefinitions): new method
12945
12946         * paragraph.C (writeFile): reindent
12947         (Erase): reindent
12948
12949         * WorkArea.h: revert the xpos + etc changes.
12950
12951         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12952
12953         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12954
12955         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12956         (pasteSelection): likewise
12957         * text2.C (CreateUndo): likewise
12958
12959 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12960
12961         * minibuffer.C (peek_event): temporarily reduce the functionality
12962         of the minibuffer (to allow args on lfuns)
12963
12964         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12965         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12966
12967         * buffer.C (readInset): add compability reading of old float
12968         lists, add reading of new style float list.
12969         (readInset): avoid reevaluation of inscmd.getCmdName()
12970         (getLists): reindent
12971
12972         * MenuBackend.C (MenuItem): implement parsing of
12973         md_floatlistinsert and md_floatinsert.
12974         (expand::LastFiles): move initalizaton of iterators out of loop,
12975         avoid reevaluation.
12976         (expand::Documents): introduce typdedef vector<string> Strings,
12977         and use it.
12978         (expand::ExportFormats): introduce typedef vector<Format const *>
12979         Formats, and use it.
12980         (expand): implement FloatListInsert and FloatInsert.
12981
12982         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12983         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12984         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12985
12986         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12987         handling.
12988         (Dispatch::LFUN_FLOAT_LIST): implement
12989
12990 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12991
12992         * LaTeX.C (run): Fix problem with --export code.
12993
12994 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12995
12996         * BufferView.[Ch] (workarea): removed.
12997         (getClipboard) new method; wrapper for workarea()->getClipboard()
12998
12999         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13000         bug.
13001
13002         * WorkArea.h (width, height, xpos, ypos): These methods all
13003         returned the dimensions of the work_area sub-area of WorkArea,
13004         resulting in a position error if the WorkArea were resized. Now
13005         return the dimensions of the entire WorkArea.
13006
13007         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13008
13009 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13010
13011         * LaTeX.C (deplog): correct the syntax of regex reg1
13012
13013 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13014
13015         * undo.C: remove !NEW_INSETS cruft
13016
13017 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13018
13019         * text2.C: remove !NEW_INSETS cruft
13020
13021         * text.C: remove !NEW_INSETS cruft
13022
13023         * tabular.C: remove !NEW_INSETS cruft
13024
13025         * spellchecker.C: remove !NEW_INSETS cruft
13026
13027         * lyxtext.h: remove !NEW_INSETS cruft
13028
13029         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13030
13031         * lyxfunc.C: remove !NEW_INSETS cruft
13032
13033         * lyxfind.C: remove !NEW_INSETS cruft
13034
13035         * lyx_cb.C: remove !NEW_INSETS cruft
13036
13037         * figureForm.C: remove  !NEW_INSETS cruft
13038
13039         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13040
13041         * buffer.[Ch]: remove !NEW_INSETS cruft
13042
13043         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13044
13045         * CutAndPaste.C: remove !NEW_INSETS cruft
13046
13047         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13048
13049         * BufferView2.C: remove !NEW_INSETS cruft
13050
13051         * BufferView.h: remove !NEW_INSETS cruft
13052
13053 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13054
13055         * Lsstream.h: include LString.h before the sstream headers to
13056         fix problem with gcc 2.95.3 and lyxstring
13057
13058 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13059
13060         * lyx_main.C: add using directives when needed for C functions
13061         declared in std:: namespace.
13062
13063 2001-04-27  Juergen Vigna  <jug@sad.it>
13064
13065         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13066         (SetHeightOfRow): comment out the update call should not be needed!
13067
13068 2001-04-13  Juergen Vigna  <jug@sad.it>
13069
13070         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13071         (LyXTabular): tried to minimize operator= operations (and realized
13072         hopfully Lars wish).
13073
13074 2001-04-27  Juergen Vigna  <jug@sad.it>
13075
13076         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13077
13078 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13079
13080         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13081
13082         * buffer.C (readInset): hack to make listof algorithm work
13083
13084         * BufferView_pimpl.C: hack to make listof algorithm work
13085
13086 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13087
13088         * LyXAction.C: removed all !NEW_INSETS cruft
13089         (init): moved lfun_item in method
13090
13091         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13092
13093 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13094
13095         * BufferView2.C (theLockingInset): white space.
13096
13097 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13098
13099         * minibuffer.C: include <iostream>
13100
13101         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13102
13103         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13104
13105         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13106
13107         * text.[Ch] (TransposeChars): new method
13108
13109 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13110
13111         * call message directly through LyXView instead of through LyXFunc
13112         * BufferView2.C: adjust
13113         * BufferView_pimpl.C: adjust
13114         * FontLoader.C: adjust
13115         * buffer.C: adjust
13116         * bufferview_funcs.C: adjust
13117         * converter.C: adjust
13118         * figureForm.C: adjust
13119         * importer.C: adjust
13120         * lyx_cb.C: adjust
13121         * lyx_gui_misc.C: adjust
13122         * lyxfunc.C: adjust
13123         * lyxvc.C: adjust
13124         * text2.C: adjust
13125         + more files in subdirs
13126
13127         * lyxparagraph.h (size): move up int file
13128         (GetLayout): ditto
13129
13130         * adjust all uses of Assert to lyx::Assert.
13131
13132         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13133         lyxfunctional in namespace lyx
13134         * layout.C (hasLayout): ditto
13135         (GetLayout): ditto
13136         (GetLayout): ditto
13137         (delete_layout): ditto
13138         (NumberOfClass): ditto
13139         * converter.C (GetFormat): ditto
13140         (GetNumber): ditto
13141         (Add): ditto
13142         (Delete): ditto
13143         (SetViewer): ditto
13144         * bufferlist.C (getFileNames): ditto
13145         (emergencyWriteAll): ditto
13146         (exists): ditto
13147         (getBuffer): ditto
13148         * MenuBackend.C (hasSubmenu): ditto
13149         (hasMenu): ditto
13150         (getMenu): ditto
13151         * BufferView_pimpl.C (getInsetByCode): ditto
13152
13153 2001-04-18  Juergen Vigna  <jug@sad.it>
13154
13155         * vspace.C (asLatexString): fixed the 100% problem.
13156
13157 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13158
13159         * lyxfunc.C (Dispatch):
13160         * minibuffer.C:
13161         * minibuffer.h: add a few std:: qualifiers
13162
13163 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13164
13165         * minibuffer.[Ch]: reimplement so that commands is initiated and
13166         run from lyxfunc, simplified som handling, and made the completion
13167         and history code for complete. wip.
13168
13169         * lyxfunc.C (processKeySym): call message
13170         (miniDispatch): new temporary method
13171         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13172         (LFUN_MESSAGE): implement
13173         (LFUN_MESSAGE_PUSH): implement
13174         (LFUN_MESSAGE_POP): implement
13175         (initMiniBuffer): the initial/defualt minibuffer message.
13176
13177         * lyxfont.[Ch]: inline some more getters
13178
13179         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13180
13181         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13182
13183         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13184         (AutoSave): use LFUN_MESSAGE
13185         (Reconfigure): ditto
13186
13187         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13188
13189         * figureForm.C: use LFUN_MESSAGE
13190
13191         * converter.C (runLaTeX): use LFUN_MESSAGE
13192
13193         * bufferview_funcs.C: use LFUN_MESSAGE
13194         (Melt): ditto
13195         (changeDepth): ditto
13196
13197         * bufferparams.h: use boost::
13198
13199         * bufferlist.h: inherit privately from noncopyable
13200
13201         * bufferlist.C (loadLyXFile): remove some commented code.
13202
13203         * buffer.C (runChktex): use LFUN_MESSAGE
13204
13205         * ShareContainer.h: inherit privately from noncopyable
13206
13207         * ParagraphParameters.[hC] (depth): inline it.
13208
13209         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13210         methods.
13211         (message): new method
13212         (messagePush): ditto
13213         (messagePop): ditto
13214         (show): init minibuffer
13215         (showState): direct call
13216
13217         * LaTeX.[Ch]: inherit privately from noncopyable
13218         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13219         instead of WriteStatus.
13220
13221         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13222
13223         * BufferView_pimpl.C (buffer): don't init minibuffer
13224         (workAreaButtonPress): use LFUN_MESSAGE
13225         (workAreaButtonRelease): ditto
13226         (savePosition): ditto
13227         (restorePosition): ditto
13228         (MenuInsertLyXFile): ditto
13229         (workAreaExpose): don't init minibuffer
13230         (update): remove commented code, simplify
13231
13232         * BufferView2.C (openStuff): use LFUN_MESSAGE
13233         (toggleFloat): ditto
13234         (menuUndo): ditto
13235         (menuRedo): ditto
13236         (copyEnvironment): ditto
13237         (pasteEnvironment): ditto
13238         (copy): ditto
13239         (cut): ditto
13240         (paste): ditto
13241         (gotoInset): ditto
13242         (updateInset): remove some commented code
13243
13244         * lastfiles.h: inherit privately from noncopyable
13245         * layout.h: ditto
13246         * lyx_gui.h: ditto
13247         * lyx_main.h: ditto
13248         * lyxlex.h: ditto
13249         * lyxlex_pimpl.h: ditto
13250
13251         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13252         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13253         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13254
13255         * LyXAction.h: inherit privately from noncopyable, add methods
13256         func_begin, func_end, returning iterators to the func map.
13257
13258         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13259         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13260         (func_begin): new method
13261         (func_end): new method
13262
13263         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13264         and not)
13265         (copySelection): ditto
13266         (pasteSelection): ditto
13267
13268         * BufferView.C: whitespace change
13269         * BufferView.h: inherit privately from noncopyable
13270
13271 2001-04-16  Allan Rae  <rae@lyx.org>
13272
13273         * tabular-old.C (l_getline):
13274         * spellchecker.C (sc_check_word):
13275         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13276         an unrecognised preprocessor directive.  So ensure they're wrapped.
13277
13278 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13279
13280         * src/exporter.C (Export): Give an error message when path to file
13281         contains spaces.
13282
13283 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13284
13285         * LaTeX.C (deplog): Always check that foundfile exists.
13286
13287 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13288
13289         * lyx_main.h:
13290         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13291
13292 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13293
13294         * tabular.[Ch] (getLabelList): implement new method
13295
13296         * minibuffer.h: comment ouf setTiimer
13297
13298         * minibuffer.C (ExecutingCB): constify res
13299         (peek_event): constify s
13300         (Set): constify ntext
13301         (Init): constify nicename
13302
13303         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13304
13305         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13306         (savePosition): use two params to Minibuffer::Set
13307         (restorePosition): ditto
13308
13309 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13310
13311         * lyx_main.C: include language.h
13312
13313         * Makefile.am (lyx_main.o): add language.h
13314
13315 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13316
13317         * exporter.C:
13318         * paragraph.C:
13319         * screen.C:
13320         * tabular.C:
13321         * CutAndPaste.C: include gettext.h
13322
13323         * lyxfont.h: remove old hack with ON and OFF.
13324
13325         * lyxparagraph.h:
13326         * lyxfont.h: do not include language.h...
13327
13328         * BufferView2.C:
13329         * LaTeXFeatures.C:
13330         * Painter.C:
13331         * bufferview_funcs.C:
13332         * font.C:
13333         * lyxfont.C:
13334         * text.C:
13335         * text2.C:
13336         * trans_mgr.C:
13337         * paragraph.C: ... but do it here instead
13338
13339 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13340
13341         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13342
13343         * tabular.C: small reformat
13344
13345         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13346         NEW_INSETS version
13347         (GetChar): ditto
13348         (BreakParagraph): ditto
13349         (SetOnlyLayout): ditto
13350         (SetLayout): ditto
13351
13352         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13353         with one arg less.
13354
13355         * lastfiles.C: removed most using decl, add std:: where needed
13356
13357         * buffer.C: ws changes
13358
13359         * MenuBackend.C (class compare_format): put into anon namespace
13360         (expand): constify label, names, action, action2
13361         (expand):
13362
13363         * text.C (SingleWidth): constify font
13364         (IsBoundary): constify rtl2
13365         (GetVisibleRow): constify ww
13366
13367         * LaTeX.C (deplog): constify logfile
13368
13369         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13370         start_x, end_x
13371         (workAreaExpose): constify widthChange, heightChange
13372
13373         * lyxrow.C (par): moved
13374         (height): moved
13375         (next): moved
13376         * lyxrow.h: as inlines here
13377
13378         * lyxfont.h (shape): moved from lyxfont.C
13379         (emph): moved from lyxfont.C
13380
13381         * lyxfont.C (LyXFont): use initialization list for all
13382         constructors
13383         (shape): move to lyxfont.h as inline
13384         (emph): move to lyxfont.h as inline
13385
13386
13387 2001-04-04  Juergen Vigna  <jug@sad.it>
13388
13389         * vspace.C: had to include stdio.h for use of sscanf
13390
13391 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13392
13393         * BufferView.h:
13394         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13395         independent of xforms.
13396
13397 2001-04-02  Juergen Vigna  <jug@sad.it>
13398
13399         * spellchecker.C: fixed namespace placing!
13400
13401 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13402
13403         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13404         the LyXParagraph * is 0.
13405
13406 2001-03-29  Juergen Vigna  <jug@sad.it>
13407
13408         * vspace.C: added support for %, c%, p%, l%.
13409         (stringFromUnit): added helper function.
13410         (asLatexString): changed to give right results for the %-values.
13411
13412         * buffer.C: convert the widthp in a width%.
13413
13414 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13415
13416         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13417         figureForm.[Ch].
13418
13419         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13420         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13421
13422         * lyx_cb.[Ch]: see above.
13423
13424         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13425         form1.[Ch].
13426
13427         * form1.[Ch]:
13428         * lyx.[Ch]: replaced by figure_form.[Ch].
13429
13430         * lyx_gui.C:
13431         * lyx_gui_misc.C:
13432         * lyxfunc.C: changed headers associated with above changes.
13433
13434 2001-03-27  Juergen Vigna  <jug@sad.it>
13435
13436         * BufferView_pimpl.C: set the temporary cursor right!
13437
13438 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13439
13440         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13441
13442 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13443
13444         * LString.h: removed "using std::getline"!
13445
13446         * BufferView_pimpl.C (Dispatch): changes due to changes in
13447         InsetInclude::Params.
13448
13449         * buffer.C (tag_name): removed redundant break statements as they were
13450         producing lots of warnings with my compiler.
13451
13452 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13453
13454         * LString.h: add "using std::getline" when using the real <string>.
13455
13456 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13457
13458         * buffer.C: removed bitset usage.
13459         PAR_TAG moved to an anonymous name space.
13460         (tag_name): new funtion, also in the anonymous namespace.
13461         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13462         (makeDocBookFile): clean code. Completed transition from string arrays
13463         to string vectors.
13464         (SimpleDocBookOnePar): code clean.
13465
13466 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13467
13468         * tabular.C: add some comments.
13469
13470 2001-03-22  Juergen Vigna  <jug@sad.it>
13471
13472         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13473         compatibility read a bit and fixed bug with minipage in different
13474         depth.
13475
13476 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13477
13478         * buffer.C (pop_tag): removed.
13479         (push_tag): removed.
13480         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13481         array replaced with vector. Added support for CDATA sections.
13482         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13483         at any nest level.
13484         (makeDocBookFile): XML conformant declaration of CDATA section,
13485         fixed bug related to <emphasis> in the first paragraph char.
13486         (sgmlOpenTag): exclude empty tags.
13487         (sgmlCloseTag): ditto.
13488
13489         * buffer.h (pop_tag): removed.
13490         (push_tag): removed.
13491
13492 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13493
13494         * language.h (Languages): added size_type and size().
13495
13496 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13497
13498         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13499         response on compability reading of minipages. One probliem is that
13500         the old usage of minipages was «flertydig»
13501
13502         * several files here and in subdirs: don't use static at file
13503         scope use anon namespaces instead.
13504
13505 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13506
13507         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13508         LaTeX output. This is necessary for Literate document
13509         processing.
13510
13511 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13512
13513         * buffer.C: insert hfill when needed.
13514
13515         * tabular.C (l_getline): use string::erase, small whitespace change.
13516
13517         * BufferView_pimpl.C: try the anon namespace.
13518         * WorkArea.C: ditto
13519
13520 2001-03-16  Juergen Vigna  <jug@sad.it>
13521
13522         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13523         otherwise it won't open options-dialogs.
13524
13525         * buffer.C: honor pextraWidth(p) on converting minipages.
13526
13527         * tabular.C (l_getline): changed the functions to strip trailing \r.
13528
13529 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13530
13531         * BufferView_pimpl.C:
13532         * minibuffer..C: added "using SigC::slot" declaration.
13533
13534 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13535
13536         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13537
13538         * text2.C: ditto
13539
13540         * text.C: ditto
13541
13542         * paragraph.C: ditto
13543
13544         * lyxtext.h: NO_PEXTRA
13545
13546         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13547
13548         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13549         * ParameterStruct.h: ditto
13550         * ParagraphParameters.h: ditto
13551         * lyxparagraph.h: ditto
13552
13553 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13554
13555         * buffer.C: add compability for minipage alignment.
13556         (latexParagraphs): remove unwanted pextra check.
13557
13558         * several files: remove CXX_WORKING_NAMESPACES
13559
13560         * buffer.C (pop_tag): tie is in namespace boost
13561
13562         * BufferView.h: noncopyable is in namespace boost
13563         * lyxlex.h: ditto
13564         * lyx_main.h: ditto
13565         * lyx_gui.h: ditto
13566         * layout.h: ditto
13567         * lastfiles.h: ditto
13568         * bufferlist.h: ditto
13569         * ShareContainer.h: ditto
13570         * LyXView.h: ditto
13571         * LyXAction.h: ditto
13572         * LaTeX.h: ditto
13573
13574 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13575
13576         * Merging changes from BRANCH_MVC back into HEAD.
13577
13578         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13579
13580 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13581
13582         * BufferView_pimpl.C: change from intl.C
13583
13584         * combox.h:
13585         * combox.C:
13586         * Makefile.am: move combox.*
13587
13588         * form1.h:
13589         * form1.C:
13590         * lyx_gui.C:
13591         * intl.h:
13592         * intl.C: remove dialog (covered by prefs)
13593
13594 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13595
13596         * lyxfunc.C (Dispatch): removed redundant break statement.
13597
13598 2001-03-14  Juergen Vigna  <jug@sad.it>
13599
13600         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13601
13602 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13603
13604         * buffer.C: add hack to fix compability reading of minipages.
13605
13606 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13607
13608         * buffer.C (getLists): Cleanup.
13609
13610 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13611
13612         * lyxfont.C (update): don't honor toggleall on font size.
13613
13614 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13615
13616         * bmtable.c:
13617         * bmtable.h:
13618         * Makefile.am: moved to frontends/xforms/
13619
13620         * lyx_gui_misc.C:
13621         * lyxfunc.C:
13622         * BufferView_pimpl.C: changes for moved mathpanel
13623
13624 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13625
13626         * gettext.h: fix gettext_init() in --disable-nls
13627
13628 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13629
13630         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13631
13632 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13633
13634         * lyx.C:
13635         * lyx.h: strip external form
13636
13637 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13638
13639         * BufferView_pimpl.C: add comment, destroySplash()
13640
13641 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13642
13643         * BufferView_pimpl.C:
13644         * LyXAction.C:
13645         * buffer.C:
13646         * commandtags.h:
13647         * lyxfunc.C: use re-worked insetinclude
13648
13649 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13650
13651         * buffer.C: add using std::stringstream.
13652
13653         * lyx_cb.C: readd using std::ios.
13654
13655         * buffer.C: add using std::map.
13656
13657         * BufferView_pimpl.C: add using std::vector.
13658
13659         * ShareContainer.h: add std:: to swap.
13660
13661         * buffer.h: add some typedefs
13662         * buffer.C (getLists): use them
13663         (getLists): renamed from getTocList.
13664         add a counter for the different float types and use it in the
13665         generated string.
13666         (getLists): use the same counter for the NEW_INSETS and the "non"
13667         NEW_INSETS
13668
13669         * lyx_cb.h: remove unused items, includes, using etc.
13670
13671         * ShareContainer.h: remove some commented code, add more comments
13672         and "documentation".
13673
13674 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13675
13676         * buffer.C (getTocList): make the list also when NEW_INSETS is
13677         defined.
13678
13679         * buffer.h: remove TocType
13680
13681         * buffer.C (getTocList): change to return a map<string,
13682         vector<TocItem> >, implement for dynamic number of list.
13683
13684         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13685         * text2.C (PasteSelection): adjust
13686         * CutAndPaste.C (pasteSelection): adjust
13687
13688         * FloatList.C (FloatList): update from the new_insets branch.
13689         * Floating.[Ch]: ditto
13690         * LaTeXFeatures.C: ditto
13691         * buffer.C: ditto
13692         * lyxlex_pimpl.C: ditto
13693
13694         * paragraph.C (Last): remove when NEW_INSETS is defined.
13695
13696         * other file: changes because of the above.
13697
13698 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13699
13700         * lyxparagraph.h: rename next to next_, previous to previous_,
13701         make them private for NEW_INSETS. Rename Next() to next(),
13702         Previous() to previous().
13703
13704         * other files: changes because of the above.
13705
13706 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13707
13708         * BufferView.h:
13709         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13710         problem.
13711
13712 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13713
13714         * main.C (main): pass lyx_localedir to gettext_init().
13715
13716         * gettext.h: remove locale_init and gettext_init macros
13717
13718         * gettext.C (locale_init): new function
13719         (gettext_init): new function
13720
13721         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13722         setlocale().
13723
13724 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13725
13726         * Moved credits to frontends:
13727         * credits.[Ch]: removed
13728         * credits_form.[Ch]: removed
13729         * lyx_gui_misc.C: remove credits stuff
13730         * Makefile.am:
13731
13732 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13733
13734         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13735
13736         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13737         unneeded destructor.
13738
13739         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13740         a standalone pointer again.
13741
13742         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13743
13744 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13745
13746         * Makefile.am:
13747         * filedlg.h:
13748         * filedlg.C:
13749         * LyXAction.C:
13750         * ToolbarDefaults.C:
13751         * bufferlist.C:
13752         * commandtags.h:
13753         * form1.C:
13754         * form1.h:
13755         * lyx_cb.C:
13756         * lyx_cb.h:
13757         * lyxfunc.h:
13758         * lyxfunc.C:
13759         * BufferView_pimpl.C: use new file dialog in GUII
13760
13761         * lyx_cb.h:
13762         * lyx_cb.C: remove LayoutsCB to Toolbar
13763
13764 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13765
13766         * ShareContainer.h (get): add std:: qualifier
13767
13768 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13769
13770         * ShareContainer.h: define a proper ShareContainer::value_type
13771         type (and use typename to please compaq cxx)
13772
13773 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13774
13775         * lyxparagraph.h: move serveral local vars to
13776         ParameterStruct/ParagraphParameters., use ShareContainer in
13777         FontTable., make vars in FontTable private and add getter and
13778         setter.
13779
13780         * paragraph.C: changes because of the above.
13781
13782         * lyxfont.h: remove copy constructor and copy assignment. (the
13783         default ones is ok), move number inside FontBits. move inlines to
13784         lyxfont.C
13785
13786         * lyxfont.C: add number to initializaton of statics, move several
13787         inlines here. constify several local vars. some whitespace
13788         cleanup. Dont hide outerscope variables.
13789
13790         * Spacing.h: add two new constructors to match the set methods.
13791
13792         * ShareContainer.h: new file, will perhaps be moved to support
13793
13794         * ParameterStruct.h: new file
13795
13796         * ParagraphParameters.h: new file
13797
13798         * ParagraphParameters.C: new file
13799
13800         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13801         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13802
13803         * BufferView_pimpl.C: ParagraphParameter changes.
13804         * buffer.C: Likewise.
13805         * bufferview_funcs.C: Likewise.
13806         * text.C: Likewise.
13807         * text2.C: Likewise.
13808
13809 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13810
13811         * lyxfind.C (LyXReplace): do not redefine default argument in
13812         implementation.
13813         (IsStringInText): ditto
13814         (SearchForward): ditto
13815         (SearchBackward): ditto
13816
13817 2001-03-06  Juergen Vigna  <jug@sad.it>
13818
13819         * lyxfind.C (IsStringInText): put parentes around expressions.
13820
13821 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13822
13823         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13824
13825 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13826
13827         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13828
13829         * stl_string_fwd.h: add comment
13830
13831         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13832
13833         * tabular.h:
13834         * tabular.C: remove unused DocBook methods
13835
13836         * intl.C:
13837         * language.C:
13838         * paragraph.C:
13839         * buffer.C:
13840         killed DO_USE_DEFAULT_LANGUAGE
13841
13842 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13843
13844         * lyx_gui.C: do not include language.h.
13845
13846         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13847         arguments in function implementation.
13848
13849 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13850
13851         * BufferView_pimpl.C: add <ctime>
13852
13853 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13854
13855         * BufferView_pimpl.C: add using std::find_if
13856
13857 2001-02-27  José Matos  <jamatos@fep.up.pt>
13858
13859         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13860         by OnlyPath.
13861
13862 2001-02-11  José Matos  <jamatos@fep.up.pt>
13863
13864         * buffer.C (makeDocBookFile): command styles now have a parameter as
13865         "title" by default.
13866
13867 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13868
13869         * layout_forms.[Ch]: removed
13870         * lyx_cb.[Ch]: out character
13871         * lyx_gui.C: out character
13872         * lyx_gui_misc.C: out character
13873         * bufferview_funcs.C: : out character,
13874         added toggleall as parameter in ToggleAndShow
13875
13876 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13877
13878         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13879
13880         * text2.C (SetCurrentFont): Disable number property at boundary.
13881
13882 2001-02-26  Juergen Vigna  <jug@sad.it>
13883
13884         * lyxfunc.C (getStatus): added a string argument override function so
13885         that this is correctly called from LyXFunc::Dispatch if it contains a
13886         do_not_use_argument which is used!
13887         (Dispatch): added check for "custom" export and call appropriate func.
13888
13889 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13890
13891         * lyxrc.C: Add language_command_local, language_use_babel and
13892         language_global_options.
13893
13894         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13895
13896         * buffer.C (makeLaTeXFile): Use language_use_babel and
13897         language_global_options.
13898
13899 2001-02-23  Juergen Vigna  <jug@sad.it>
13900
13901         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13902         which works with LyXText and putted it inside BufferView. Here now we
13903         only call for that part the BufferView::Dispatch() function.
13904
13905         * BufferView.C (Dispatch): added.
13906
13907         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13908         functions which needs to use a LyXText over from LyXFunc.
13909         (MenuInsertLyXFile): added
13910         (getInsetByCode): added
13911         (moveCursorUpdate): added
13912         (static TEXT): added
13913
13914 2001-02-22  Juergen Vigna  <jug@sad.it>
13915
13916         * BufferView_pimpl.C (update): call a status update to see if LyXText
13917         needs it.
13918
13919 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13920
13921         * vc-backend.C (revert): implement for CVS
13922         (getLog): implement for CVS
13923
13924 2001-02-20  Juergen Vigna  <jug@sad.it>
13925
13926         * text2.C (ClearSelection): added BufferView param for inset_owner call
13927
13928         * lyxfunc.C (TEXT): added this function and use it instead of
13929         directly owner->view()-text of getLyXText().
13930
13931 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13932
13933         * src/layout_forms.C: out preamble
13934         * src/layout_forms.h: out preamble
13935         * src/lyx_cb.C: out preamble
13936         * src/lyx_cb.h: out preamble
13937         * src/lyx_gui.C: out preamble
13938         * src/lyx_gui_misc.C: out preamble
13939         * src/lyxfunc.C: connect with guii preamble
13940
13941 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13942
13943         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13944
13945 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13946
13947         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13948         whether to run bibtex.
13949
13950 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13951
13952         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13953
13954 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13955
13956         * Makefile.am (lyx_SOURCES): removed bibforms.h
13957
13958         * vspace.h: doxygen
13959
13960         * text.C (GetVisibleRow): make several local vars const
13961
13962         * tabular.C: small cleanup.
13963
13964         * lyxserver.C (callback): use compare instead of strncmp
13965
13966         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13967         inlines to after class or to paragraph.C
13968
13969         * lyxfont.h: remove friend operator!=
13970
13971         * converter.h: move friend bool operator< to non friend and after
13972         class def.
13973
13974         * combox.h: small cleanup
13975
13976         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13977         to inlines after class def.
13978
13979         * buffer.C (pop_tag): use string operations instead of strcmp
13980
13981         * bmtable.c: doxygen, small cleanup
13982
13983         * LaTeX.h: remove friend operator==
13984
13985 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13986
13987         * screen.C:
13988         * lyxrc.[Ch]:
13989         * lyxfunc.C:
13990         * lyxfont.[Ch]:
13991         * lyx_cb.C:
13992         * intl.[Ch]:
13993         * commandtags.h:
13994         * buffer.C:
13995         * WorkArea.[Ch]:
13996         * LyXAction.C:
13997         * BufferView_pimpl.C:
13998         * BufferView.[Ch]: remove cruft
13999
14000 2001-02-14  Juergen Vigna  <jug@sad.it>
14001
14002         * lyxfunc.C: removed #if 0 unused code
14003
14004         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14005
14006         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14007
14008         * text2.C (SetSelection): added a BufferView * parameter
14009
14010 2001-02-13  Juergen Vigna  <jug@sad.it>
14011
14012         * lyxfunc.C (Dispatch): fixed protected blank problem.
14013         * BufferView2.C (protectedBlank): added LyxText * parameter.
14014
14015         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14016         (AppendColumn): same as above for column_info.
14017
14018         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14019         (moveCursorUpdate): use a LyXText param for support of InsetText.
14020
14021         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14022         (tripleClick): ditto
14023
14024         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14025
14026         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14027
14028         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14029
14030         * text2.C (SetSelection): set correct update status if inset_owner
14031         (ToggleFree): ditto
14032
14033 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14034
14035         * tabular.C: remove some commented code.
14036
14037 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14038
14039         * BufferView_pimpl.C: call hideSplash()
14040
14041         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14042
14043         * include_form.h:
14044         * bibforms.h: remove
14045
14046         * lyxfunc.C:
14047         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14048           add LFUN_CHILD_CREATE
14049
14050         * counters.h: fix tiny typo
14051
14052         * lyx_cb.C:
14053         * lyx.h:
14054         * lyx_gui.C:
14055         * lyx.C: move splash to frontends/xforms/
14056
14057         * lyx_gui_misc.C: move Include and Bibform to frontends
14058
14059         * lyxvc.h: clarify comment
14060
14061         * vspace.C: tiny housekeeping
14062
14063 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14064
14065         * text.C (PrepareToPrint): RTL Fix.
14066
14067         * paragraph.C (GetUChar): New method.
14068         (String):  Use GetUChar.
14069
14070         * buffer.C (asciiParagraph): Use GetUChar.
14071
14072 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14073
14074         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14075
14076 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14077
14078         * buffer.h:
14079         * buffer.C: rename to getLogName(), handle
14080           build log / latex log nicely
14081
14082 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14083
14084         * MenuBackend.C:
14085         * MenuBackend.h: remove support for reference menuitem type.
14086
14087 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14088
14089         * BufferView_pimpl.C: housekeeping
14090         * BufferView_pimpl.h:
14091         * LyXView.h:
14092         * Makefile.am:
14093         * Timeout.C:
14094         * Timeout.h:
14095         * minibuffer.h: move Timeout GUI-I
14096
14097 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14098
14099         * lyxrc.C (read): Update converters data-structures.
14100
14101 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14102
14103         * LaTeX.h (operator!=): add operator != for Aux_Info
14104
14105 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14106
14107         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14108
14109         * LaTeXLog.C: deleted, useful code moved to Buffer
14110
14111         * buffer.h:
14112         * buffer.C: new function getLatexLogName()
14113
14114         * lyx_gui_misc.C:
14115         * lyx_gui.C:
14116         * lyxvc.C:
14117         * lyxvc.h:
14118         * lyxfunc.C: use frontends for LaTeX and VC logs
14119
14120 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14121
14122         * LaTeX.h: yet another std:: that Allan forgot.
14123
14124         * Variables.C (set): renamed from isset(), because this clashes
14125         with some HP-UX macros (grr).
14126
14127 2001-02-06  Allan Rae  <rae@lyx.org>
14128
14129         * LaTeX.h: Another bug fix.  Missing std:: this time.
14130
14131 2001-02-04  Allan Rae  <rae@lyx.org>
14132
14133         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14134         floats problem. I've left it commented out because it's not quite
14135         correct.  It should also test that the current object is a table or
14136         figure inset.  But I haven't gotten around to figuring out how to do
14137         that.  I *think* it'll be something like: "table" == inset.type()
14138
14139         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14140         bool.
14141
14142 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14143
14144         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14145         all the citation/databases/styles in the auxilary file.
14146         (run): Rerun latex if there was a babel language error.
14147
14148 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14149
14150         * text.C (Backspace): Preserve the font when changing newline char
14151         with a space.
14152         (BreakParagraph): If the cursor is before a space, delete the space.
14153
14154         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14155
14156 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14157
14158         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14159         new argument (code).
14160         (ChangeCitationsIfUnique): New method.
14161
14162         * paragraph.C (GetPositionOfInset): Handle bibkey.
14163
14164 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14165
14166         * BufferView_pimpl.h: change type of Position::par_pos to
14167         LyXParagraph::size_type.
14168
14169 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14170
14171         * BufferView_pimpl.C (savePosition, restorePosition): Write
14172         messages to minibuffer.
14173
14174 2001-01-28  José Matos  <jamatos@fep.up.pt>
14175
14176         * buffer.C (makeDocBookFile): adds support for document language.
14177         A silly restriction on the name of LatexCommand types where removed.
14178         Added support for CDATA sections, allows to chars unescaped, used
14179         among others in code, to avoid escape < and >.
14180
14181 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14182
14183         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14184         saved positions instrad of a stack. Furthermore, a position is
14185         stored using paragraph id/paragraph position.
14186
14187         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14188         Remove LFUN_REF_BACK.
14189
14190 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14191
14192         * converter.C (dvipdfm_options): New method.
14193
14194 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14195
14196         * vspace.C (isValidLength): Fix for empty input string.
14197
14198 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14199
14200         * LyXAction.C (init): change description of LFUN_FIGURE to
14201         "Insert Graphics"
14202
14203 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14204
14205         * LaTeX.C: add using directive
14206
14207 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14208
14209         * MenuBackend.C (expand): Fix the sorting of the formats.
14210
14211 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14212
14213         * lyx_main.C: tiny error message fix
14214
14215 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14216
14217         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14218         calling fl_initialize(). This fixes the problem with ',' as
14219         decimal separator in text files.
14220
14221 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14222
14223         * trans.C (process): Fix the keymap bug.
14224
14225 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14226
14227         * LaTeX.C (scanAuxFiles): New method. Provides support for
14228         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14229         (scanLogFile) Scan for "run BibTeX" messages.
14230
14231         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14232         OT1 font encoding. Also, load the aecompl package if the ae
14233         package is loaded.
14234
14235         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14236
14237 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14238
14239         * texrow.C (increasePos): turn two error messages into debug
14240         messages.
14241
14242 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14243
14244         * LaTeX.C (scanAux): Handle the \@input macro.
14245         (runBibTeX): Use scanAux().
14246
14247         * language.C (latex_options_): New field.
14248
14249         * LaTeXFeatures.C (getMacros): Add language macros.
14250
14251         * buffer.C (makeLaTeXFile): Small fix.
14252
14253 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14254
14255         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14256
14257         * text2.C: add a using directive.
14258
14259 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14260
14261         * BufferView2.C:
14262         * lyx_gui_misc.h:
14263         * lyxfr1.C:
14264         * lyxfunc.C: kill LyXBell.
14265
14266 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14267
14268         * text.C (IsBoundary): Remove the error message
14269
14270         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14271
14272         * lyxrc.C (setDefaults): Correct initialization value for
14273         font_norm_type.
14274
14275 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14276
14277         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14278         gotoError().
14279
14280         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14281         and GotoNextNote().
14282
14283         * src/LyXAction.C: Added reference-next.
14284
14285         * text.C (InsertChar): Use contains instead of strchr.
14286
14287         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14288
14289 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14290
14291         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14292         alignment commands (when needed).
14293
14294         * text.C (InsertChar): Add ':' to number separator chars.