]> git.lyx.org Git - features.git/blob - src/ChangeLog
Minipage is no more (long live the box inset)
[features.git] / src / ChangeLog
1 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * factory.C: 
4         * lyxfunc.C: remove insetminipage. "minipage-insert"
5         now produces a frameless minipage box inset.
6
7 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
8
9         * textcursor.[Ch] (selStart,selEnd): add new methods 
10         remove selection::start, end, use LyXCursor::operator<
11         * lyxcursor.[Ch] (operator<): add
12         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
13         * BufferView.[Ch] (unsetXSel): add
14         * text2.C (clearSelection): use unsetXSel,adjust
15         * text.C: adjust
16         * text3.C: adjust
17         * rowpainter.C: adjust
18         * bufferview_funcs.C (put_selection_at): adjust
19
20 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
21
22         * BufferView_pimpl.C: small coord. correction
23
24 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
25
26         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
27         dragging over the splash screen.
28
29 2003-12-11  Angus Leeming  <leeming@lyx.org>
30
31         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
32         as it is now handled in LyXText::dispatch.
33
34         * text3.C (doInsertInset): remove a level of nesting.
35
36 2003-12-11  Angus Leeming  <leeming@lyx.org>
37
38         * factory.C (createInset): changes due to the changed interface to
39         InsetCommandMailer::string2params.
40
41 2003-12-10  Angus Leeming  <leeming@lyx.org>
42
43         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
44         'dialog-show-new-inset <inset name>'
45
46 2003-12-10  Angus Leeming  <leeming@lyx.org>
47
48         * buffer.C: up the format to 227.
49
50         * factory.C: the box inset is now identified simply by 'Box'.
51
52 2003-12-10  Angus Leeming  <leeming@lyx.org>
53
54         * buffer.C: up the format to 226.
55
56         * factory.C: the note inset is now identified simply by 'Note'.
57
58 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
59
60         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
61         when a pit is enough. Standarize a couple of loops. 
62
63 2003-12-05  Angus Leeming  <leeming@lyx.org>
64
65         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
66         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
67         data to the re-worked "log" dialog.
68
69 2003-12-03  André Pönitz  <poenitz@gmx.net>
70
71         * PosIterator.C:
72         * iterators.C:
73         * lyxtext.h:
74         * output_latex.C:
75         * paragraph_funcs.C:
76         * text.C:
77         * text2.C: use Inset::getText instead of Inset::getParagraph
78
79 2003-12-03  André Pönitz  <poenitz@gmx.net>
80
81         * buffer.[Ch]:
82         * lyxtext.h:
83         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
84         InsetText::read() as LyXText::read()
85         
86 2003-12-02  Angus Leeming  <leeming@lyx.org>
87
88         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
89         type. Add a comment in the implementation that the function uses
90         the stream's bad() function rather than fail() as the std::streams
91         would do.
92
93 2003-12-02  André Pönitz  <poenitz@gmx.net>
94
95         * lyxlex.[Ch]: make interface more similar to std::stream
96
97         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
98
99 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
100
101         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
102
103 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
104
105         * vspace.[Ch]: remove VSpace::NONE
106
107 2003-12-01  André Pönitz  <poenitz@gmx.net>
108
109         * buffer.[Ch]:
110         * lyxtext.h: move ParagraphList member to LyXText
111         rename LyXText::ownerParagraphs to LyXText::paragraph
112
113         * CutAndPaste.C:
114         * bufferview_funcs.C:
115         * iterators.[Ch]:
116         * lyx_cb.C:
117         * paragraph.C:
118         * rowpainter.C:
119         * tabular.C:
120         * text.C:
121         * text2.C:
122         * text3.C: adjust
123
124         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
125
126         * undo.C: fix cursor positioning 
127
128 2003-12-01  John Levon  <levon@movementarian.org>
129
130         * BufferView_pimpl.C: fix a crash on exit with
131         a buffer open
132
133 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
134
135         * BranchList.C: fix setSelected() method.
136
137 2003-11-28  André Pönitz  <poenitz@gmx.net>
138
139         * ParagraphParameters.[Ch]:
140         * ParameterStruct.h: remove space above/below from Paragraph to
141          InsetVSpace
142
143         * BufferView_pimpl.C:
144         * factory.C:
145         * lyxfunc.C:
146         * lyxtext.h:
147         * output_latex.C:
148         * paragraph.C:
149         * paragraph_funcs.C:
150         * rowpainter.[Ch]:
151         * text.C:
152         * text2.C:
153         * text3.C: adjust
154
155 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
156
157         * factory.C: Syntax change for CharStyles
158
159 2003-11-28  André Pönitz  <poenitz@gmx.net>
160
161         * BufferView.[Ch]:
162         * BufferView.[Ch]:
163         * buffer.[Ch]:
164         * buffer.[Ch]: move LyXText member
165
166 2003-11-28  André Pönitz  <poenitz@gmx.net>
167
168         * BufferView.[Ch]: make LyXText * text a private member
169
170         * BufferView_pimpl.C:
171         * cursor.C:
172         * iterators.C:
173         * lyx_cb.C:
174         * lyxfind.C:
175         * lyxtext.h:
176         * rowpainter.[Ch]:
177         * text.C:
178         * text2.C:
179         * undo.C: adjust
180
181         * output_plaintext.C: cleanup
182
183 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
184
185         * buffer.C: 
186         * lyxtextclass.[Ch]: parametrize SGML document header
187
188 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
189
190         * converter.[Ch]:
191         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
192         getFlavor().
193
194 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
195
196         * text2.C (setFont): rework using PosIterator (no more recursive)
197         (setCharFont): no more needed 
198         (setLayout): no more selection cursors fiddling (done by redoCursor)
199         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
200         destroy remaining ones)
201
202 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
203
204         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
205         * lyxtext.h: ditto
206         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
207         selection cursors
208         * lyxfunc.C: adjust
209         * text3.C: adjust + re-allow multi par depth changes
210         * textcursor.C: simplify a bit
211
212 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
213
214         * src/buffer.C:
215         * src/lyxlayout.C:
216         * src/lyxlayout.h:
217         * src/lyxtext.h:
218         * src/output_docbook.C:
219         * src/output_latex.C:
220         * src/paragraph.C:
221         * src/paragraph.h:
222         * src/sgml.C:
223         * src/sgml.h:
224         * src/text2.C: Introducing a number of tags parametrizing various
225         XML formats that we may want to support
226
227 2003-11-25  André Pönitz  <poenitz@gmx.net>
228
229         * InsetList.[Ch] (begein, end): inline as suggested by profiler
230
231         * lyxtext.h (leftMargin/rightMargin): simplify interface
232
233         * rowpainter.C:
234         * text.C:
235         * text2.C:
236         * text3.C: adjust
237
238 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
239
240         * lyxfunc.C (dispatch): propogate the bibtex databases from the
241         master file to any child files. Fixes bug 546.
242
243 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
244
245         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
246
247 2003-11-24  André Pönitz  <poenitz@gmx.net>
248
249         * rowpainter.C: simplification
250
251         * text2.C (updateCounters): remove call to redoParagraph on 
252         changed labels as this is far too expensive.
253
254 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
255
256         * converter.C (convert): fix a crash: this function gets
257         called with buffer == 0 from importer code.
258
259 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
260
261         * text3.C (cursorPrevious): make sure that we do not compare
262         iterators form different containers.
263         (cursorNext): ditto
264
265         * rowpainter.C (paintSelection): make sure that we do not compare
266         iterators from different containers.
267
268         * text3.C (dispatch): [PRIOR] make sure that we do not compare
269         iterators from different ParagraphList containers.
270         [NEXT] ditto
271
272         * text2.C (LyXText): change order of initialization slightly
273         (operator=): new function. copy all variables except cache_par_
274         (moveUp): make sure that we do not compare iterators from
275         different ParagraphList constainers.
276         (moveDown): ditto
277
278         * text.C (firstPar): new function
279         (lastPar): new function
280         (endPar): new function
281
282         * lyxtext.h: move things around and group public functions, public
283         variables, private functions, private variables
284
285 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
286
287         * factory.C: change call to InsetERT constructor to avoid
288         additional invocation of method status
289         * text2.C (toggleInset): remove redundant update() call
290         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
291         instead of a Bufferview pointer
292
293 2003-11-21  André Pönitz  <poenitz@gmx.net>
294
295         * rowpainter.C: simplification
296
297 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
298
299         * text3.C (dispatch): make possible to extend a word/row selection
300         with the mouse
301
302 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
303
304         * lyxtext.h: x0_,y0_ -> xo_,yo_
305         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
306         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
307         * rowpainter.C (paintRows): paint full paragraphs
308
309 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
310
311         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
312         screen coordinates)
313
314 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
315
316         * lyxtext.h: add x0_, y0_
317         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
318         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
319
320 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
321
322         * text2.C (setCursorIntern): move the x_target update here *
323         * text3.C: change some bv() to true/false in calls to
324         cursorUp/Down/Right/Left
325         * cursor.C: use helper function.
326
327 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
328
329         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
330         * paragraph_funcs.[Ch]: correct comment
331         * rowpainter.C: do not paint selections away from bv->cursor()
332         Fix a long standing selection painting bug.
333         * text3.C: generalize mouse-selection code to LyXTexts other that
334         top one
335         * textcursor.C: do not use y coords if we can use par offsets
336
337 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
338
339         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
340         cursor position after e.g. inset insert)
341
342 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
343
344         * lyxfind.C (replace): adjust to locking removal + some
345         code simplification
346
347 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
348
349         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
350         of the path
351
352 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
353
354         * lyxlayout.[Ch]:
355         * output_docbook.C: XML sanitation: new layout
356         parameters InnerTag and CommandDepth
357
358 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
359
360         * BufferView_pimpl.C:
361         * factory.C:
362         * text3.C: Fix the insertion and modification of button-style
363         insets
364
365 2003-11-13  André Pönitz  <poenitz@gmx.net>
366
367         * InsetList.[Ch]: remove deleteLyXText
368
369         * paragraph.[Ch]: cache beginOfBody position
370
371         * Bidi.C:
372         * text.C:
373         * text2.C:
374         * text3.C: remove superfluous update() calls
375
376         * vspace.C: cleanup
377
378 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
379
380         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
381         * BufferView.C (fitLockedInsetCursor): remove
382         * cursor.[Ch] (getDim): add
383         * text.C (getRowNearY): add faster version
384         * text3.C: remove some update calls
385
386 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
387
388         * LaTeXFeatures.C:
389         * LyXAction.C:
390         * MenuBackend.C:
391         * MenuBackend.h:
392         * dispatchresult.h:
393         * factory.C:
394         * lfuns.h:
395         * lyxfunc.C:
396         * lyxtextclass.C:
397         * lyxtextclass.h:
398         * text3.C: The Character Style /XML short element patch.
399
400 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
401
402         * text3.C:
403         * factory.C: Small step to solving 'unable to insert some insets'
404         problem
405
406 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
407
408         * cursor.[Ch] (updatePos): new function for updating the y
409         position of the tip inset
410         * bufferview_funcs.C (put_selection_at):
411         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
412
413 2003-11-11  André Pönitz  <poenitz@gmx.net>
414
415         * text.C: remove big comment on invalid Paragraph pointers as it is
416         not valid anymore
417
418 2003-11-11  André Pönitz  <poenitz@gmx.net>
419
420         * text_funcs.[Ch]: merge with ...
421
422         * text.C: ... this
423
424         * lyxtext.h:
425         * text2.C:
426         * text3.C: adjust
427
428         * Makefile.am: remove text_funcs.[Ch]
429
430 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
431
432         * cursor.C (getPos): return absolute cached y coord
433
434         * BufferView_pimpl.C (fitCursor): new simplistic code
435         (workAreaDispatch): add a fitCursor call
436
437 2003-11-10  André Pönitz  <poenitz@gmx.net>
438
439         * BufferView.[Ch]:
440         * BufferView_pimpl.[Ch]: merge update() and updateInset()
441
442 2003-11-10  André Pönitz  <poenitz@gmx.net>
443
444         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
445         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
446         indicate that the cursor needs to leave an inset
447
448         * lyxtext.h: remove inset locking
449
450         * cursor.[Ch]: re-implement functionality provided by inset locking
451
452         * BufferView.[Ch]:
453         * BufferView_pimpl.[Ch]:
454         * LyXAction.C:
455         * bufferview_funcs.[Ch]:
456         * factory.C:
457         * funcrequest.[Ch]:
458         * iterators.C:
459         * lyx_cb.C:
460         * lyxfind.C:
461         * lyxfunc.C:
462         * text.C:
463         * text2.C:
464         * text3.C:
465         * undo.C: adjust
466
467 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
468
469         * PosIterator.[Ch]: replace the stack with a vector, add inset
470         accesor
471         * iterators.[C]: adjust
472
473 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
474
475         * lyxfind.C (replaceAll): mark the buffer dirty if something was
476         replaced
477         * paragraph_funcs.C (readParToken): put the correct id in the
478         error item, not the id of the top paragraph
479
480 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
481
482         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
483         * bufferview_funcs.C (put_selection_at): use the above
484
485 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
486
487         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
488
489 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
490
491         * output_linuxdoc.h:
492         * output_plaintext.h:
493         * output.h:
494         * output_docbook.h: add #include statements
495
496 2003-11-05  José Matos  <jamatos@lyx.org>
497
498         * output_docbook.[Ch]:
499         * output_latex.[Ch]:
500         * output_linuxdoc.[Ch]:
501         * output_plaintext.[Ch]: New files for output formats.
502         * output.[Ch]: New file for helper functions.
503
504         * buffer.[Ch]:
505         * paragraph_funcs.[Ch]: output functions moved to new files.
506
507         * outputparams.h: rename of latexrunparams.h
508
509         * LaTeX.[Ch]:
510         * buffer.[Ch]:
511         * bufferlist.[Ch]:
512         * converter.[Ch]:
513         * exporter.C:
514         * paragraph.[Ch]:
515         * paragraph_funcs.[Ch]:
516         * paragraph_pimpl.[Ch]:
517         * tabular.[Ch]: rename ascii to plaintext
518         and LatexRunParams to OutputParams.
519
520 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
521
522         * iterators.[Ch] (text): require bv argument
523         * undo.C (recordUndo):
524         * lyxfunc.C (dispatch):
525         * bufferview_funcs.C (put_selection_at): adjust
526
527 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
528
529         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
530
531 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
532
533         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
534         nestings
535
536 2003-11-04  André Pönitz  <poenitz@gmx.net>
537
538         * cursor.[Ch]: restructure
539
540         * BufferView.[Ch]:
541         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
542
543         * iterators.[Ch] (asCursor): remove
544
545         * lfuns.h: remove LFUN_INSET_EDIT
546
547         * lyxfunc.C:
548         * tabular.C:
549         * text.C:
550         * text2.C:
551         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
552
553 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
554
555         * lyxfind.[Ch]: complete overhaul
556         * BufferView_pimpl.C:
557         * lyxfunc.C: adjust
558         * paragraph.[Ch] (insert): add
559
560 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
561
562         * BufferView.[Ch]:
563         * lyxtext.h:
564         * text.C: remove dead spellcheck code
565
566 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
567
568         * dispatchresult.h: add a val setter
569
570         * cursor.C (dispatch): use a tempvar for data_[i]
571
572 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
573
574         * PosIterator.[Ch]: compile fix
575
576 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
577
578         * text.C (cursorPar): deactivate the cursor cache
579
580 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
581
582         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
583
584 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
585
586         * text3.C (dispatch): adjust for new DisptchResult semantics.
587
588         * lyxfunc.C (dispatch): handle update when return from
589         Cursor::dispatch, adjust for new DispatchResult semantics.
590
591         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
592         DispatchResult(true) mean to not update. Add class functions for
593         setting dispatched and update, as well as reading.
594
595         * cursor.C (dispatch): don't handle update here
596
597 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
598
599         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
600         * trans_mgr.C: adjust
601
602         * paragraph_funcs.C (readParToken): exception safety
603
604         * lyxvc.h: store the vcs pointer in a scoped_ptr
605         * lyxvc.C: adjust
606
607         * lyxsocket.C (serverCallback): exception safety
608
609         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
610
611         * ispell.C (clone): make it return a auto_ptr
612
613         * factory.C (createInset): exception safety
614         (readInset): exception safety
615
616         * bufferlist.C (newBuffer): exception safety
617
618         * Thesaurus.C (Thesaurus): use initialization for aik_
619
620         * MenuBackend.C (expandToc): exception safety.
621
622 2003-11-03  André Pönitz  <poenitz@gmx.net>
623
624         * buffer.C:
625         * buffer.h:
626         * bufferview_funcs.C: remove getInsetFromId()
627
628         * lyxcursor.[Ch]:
629         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
630
631         * lyxfunc.C:
632         * text2.C:
633         * text3.C: adjust
634
635 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
636
637         * PosIterator.C (distance, advance): new
638         * bufferview_funcs.[Ch] (put_selection_at): new
639         * iterators.[Ch] (lockPath): new
640
641 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
642
643         * iterators.[Ch] (asPosIterator): added
644         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
645         * PosIterator.[Ch]: added
646
647 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
648
649         * text3.C:
650         * lyxfunc.C:
651         * cursor.C (dispatch):
652         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
653
654         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
655         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
656         contructor, add a class function dispatched. Remove operator>=
657
658 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
659
660         * debug.C: only use the default constructor for debugstream
661         (lyxerr) here.
662
663         * main.C (main): include debug.h and setup the lyxerr streambuf
664         here.
665
666 2003-10-31  José Matos  <jamatos@lyx.org>
667
668         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
669
670         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
671         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
672         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
673         * paragraph_pimpl.C (simpleTeXSpecialC):
674         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
675         add LatexRunParams argument.
676
677         * exporter.C (Export): change call accordingly.
678
679         * latexrunparams.h: add new member to take care of the other backends.
680 2003-10-30  José Matos  <jamatos@lyx.org>
681
682         * buffer.C (makeLinuxDocFile, makeDocBookFile):
683         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
684         factorise code for paragraph output.
685         * buffer.[Ch]:
686         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
687         move functions.
688
689 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
690
691         * text3.C (dispatch):
692         * lyxfunc.C (dispatch):
693         * cursor.C (dispatch):
694         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
695
696         * dispatchresult.h: make the dispatch_result_t ctor explicit
697
698 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
699
700         * sgml.[Ch]:
701         * buffer.C: small refactoring of docbook stuff
702
703 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
704
705         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
706         meaning.
707
708 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
709
710         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
711         operator dispatch_result_t, and operators for == != and >=
712
713         * cursor.C (dispatch): adjust for operator dispatch_result_t
714         removal. comment out call to update
715
716         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
717
718 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
719
720         * text3.C:
721         * text2.C:
722         * text.C:
723         * lyxtext.h:
724         * lyxfunc.C:
725         * cursor.C:
726         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
727         (dispatch):
728
729         * dispatchresult.h: new file, DispatchResult broken out of
730         insets/insetbase.h
731
732         * Makefile.am (lyx_SOURCES): add dispatchresult.h
733
734 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
735
736         * text.C (rowBreakPoint): put a hack inside #if 0
737
738 2003-10-28  André Pönitz  <poenitz@gmx.net>
739
740         * lyxtext.h:
741         * metricsinfo.C:
742         * paragraph_funcs.C:
743         * rowpainter.C:
744         * text.C:
745         * text2.C: general cleanup (lots of small stuff)
746
747 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
748
749         * text2.C (cursorEnd): simple fix to the "end key goes to one
750         before the end on last row" bug
751
752 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
753
754         * text.C (backspace): fix the "zombie characters"
755
756 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
757
758         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
759
760 2003-10-27  André Pönitz  <poenitz@gmx.net>
761
762         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
763
764         * factory.C: handle new InsetPagebreak, InsetLine
765
766         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
767         and move handling into new InsetPagebreak, InsetLine
768
769         * BufferView_pimpl.C:
770         * LyXAction.C:
771         * ParagraphParameters.C:
772         * ParameterStruct.h:
773         * lyxfunc.C:
774         * lyxtext.h:
775         * paragraph.C:
776         * paragraph.h:
777         * paragraph_funcs.C:
778         * paragraph_pimpl.C:
779         * rowpainter.C:
780         * text.C:
781         * text2.C:
782         * text3.C: adjust
783
784 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
785
786         * text.C:
787         * lyxrow_funcs.[Ch]:
788         * Bidi.C:
789         * paragraph.C:
790         * lyxtext.h:
791         * rowpainter.C:
792         * text2.C:
793         * text3.C: remove lastPos uses in favour of Row::endpos
794
795 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
796
797         * undo.C (performUndoOrRedo): fix two crashes by setting a
798         cursor by hand and reordering some calls. Use bv->lockInset instead
799         of inset->edit because the latter loses cursor information
800
801 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
802
803         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
804         by Martin
805         (rowBreakPoint): fix width. change point to point + 1.
806         Add a missing check.
807
808 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
809
810         * MenuBackend.C:
811         * lyxfunc.C: fix (at least partly) the problems
812         with the Nav menu and headers inside branch insets
813         reported by Kayvan
814
815 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
816
817         * paragraph.C (getChar): add strong asserts
818
819         * lyxrow_funcs.C (lastPos): remove hideous hack
820
821         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
822         (fill): adjust to that (avoid an infinite loop)
823
824 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
825
826         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
827
828 2003-10-23  André Pönitz  <poenitz@gmx.net>
829
830         * RowList_fwd.h: change list<> to vector<> to gain speed
831         after suggestion from Alfredo
832
833 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
834
835         * lyxtext.h: move the bidi stuff from here...
836         * text.C: and here
837         * text2.C: and here
838         * Bidi.[Ch]: ... to here
839
840 2003-10-23  André Pönitz  <poenitz@gmx.net>
841
842         * lyxtext.h:
843         * text.C (isLastRow, isFirstRow): new functions
844
845         * paragraph.h: new width cache member
846
847         * rowpainter.C: replace RowList::iterator with Row & where possible
848
849         * lyxfunc.C: replace several view()->text with a single call
850
851         * toc.C: fix 'unused' warning
852
853 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
854
855         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
856         when woring with stream::pos_type
857         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
858
859 2003-10-22  André Pönitz  <poenitz@gmx.net>
860
861         * lyxtext.h:
862         * text.C: use Row & instead of RowList::iterator
863
864         * lyxrow.h: rename end() to endpos()
865
866         * rowpainter.C:
867         * text.C:
868         * text2.C: adjust
869
870 2003-10-22  Angus Leeming  <leeming@lyx.org>
871
872         * buffer.[Ch] (fully_loaded): new member function, returning true
873         only when the file has been loaded fully.
874         Used to prevent the premature generation of previews and by the
875         citation inset to prevent computation of the natbib-style label.
876
877         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
878         templates are all set up.
879
880         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
881
882 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
883
884         * text.C: fixed an "oops" in the "is a bit silly"
885         bug fix
886
887 2003-10-21  André Pönitz  <poenitz@gmx.net>
888
889         * FuncStatus.[Ch]: small stuff, whitespace
890
891         * lyxfont.[Ch]: operator<<() for debug reasons
892
893         * lyxfunc.C:
894         * lyxrow_funcs.C:
895         * lyxtext.h: whitespace, spelling
896
897         * paragraph.C: naming of variables
898
899         * text.C:
900         * text2.C: small stuff
901
902
903 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
904
905         * text.C: (1) finish off the inset display() work;
906         (2) fix the "is a bit silly" bug (accessing char
907         past end of par).
908
909 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
910
911         * text.C: re-introduce display() for insets, fixing the
912         various bugs (stretch of line above, math inset
913         positioning, ...)
914
915 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
916
917         * text.C (rightMargin): remove spurious semicolon
918
919         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
920         1415)
921
922 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
923
924         * text3.C: fix one crash due to wrong cursor def
925
926 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
927
928         * vc-backend.C (scanMaster): make the regex static
929
930         * LaTeX.C (scanAuxFile): make the regexs static
931
932         * text3.C (doInsertInset, dispatch, dispatch):
933         * text2.C (cursorUp, cursorDown):
934         * text.C (selectNextWordToSpellcheck):
935         * BufferView_pimpl.C (dispatch):
936         * lyxfunc.C (dispatch):  localDispatch -> dispatch
937
938 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
939
940         * lyxsocket.C: include <cerrno>
941
942 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
943
944         * lyxfunc.C (dispatch): remove textcache stuff
945
946         * bufferlist.C (release): remove textcache stuff
947         (closeAll): ditto
948
949         * TextCache.C: delete file
950         * TextCache.h: delete file
951
952         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
953
954         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
955         delete of the bv_->text.
956         (resizeCurrentBuffer): remove texcache stuff
957         (workAreaResize): ditto
958
959 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
960
961         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
962         action.
963
964 2003-10-16  André Pönitz  <poenitz@gmx.net>
965
966         * lyxrow.[Ch]:
967         * paragraph.h:
968         * rowpainter.C:
969         * text.C:
970         * text2.C:
971         * text3.C: speed up by storing y positions per paragraph plus per-row
972         offset instead of having a 'full' y position in the row.
973
974 2003-10-15  André Pönitz  <poenitz@gmx.net>
975
976         * iterators.[Ch]:
977         * iterators.[Ch]:
978         * undo.[Ch]: make undo aware of inner insets
979
980 2003-10-14  Angus Leeming  <leeming@lyx.org>
981
982         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
983         static member functions LyX::ref() and LyX::cref.
984         (lastfiles): new accessor functions for the new lastfiles_ member var.
985         (addLyXView, views_): add a new LyXView to the list of views_.
986         (updateInset): loop over all LyXViews to call their own updateInset
987         member function, returning a pointer to the Buffer owning the inset.
988
989         * BufferView_pimpl.C (loadLyXFile):
990         * MenuBackend.C (expandLastfiles):
991         * bufferlist.C (MenuWrite, QuitLyX):
992         lastfiles is no longer a global variable.
993         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
994
995         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
996         static function. Access through LyX::cref().emergencyCleanup().
997
998 2003-10-14  André Pönitz  <poenitz@gmx.net>
999
1000         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1001
1002         * undo.[Ch]: restoring part of 'undo in insets'
1003
1004         * Makefile.am:
1005         * undo_funcs.[Ch]: merge with undo.[Ch]
1006
1007         * tabular.C: small cleansing stuff
1008
1009 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1010
1011         * paragraph_funcs.C (readParToken): report unknown insets as error
1012         boxes. Use the outer paragraph as location (also for unknown
1013         tokens).
1014
1015         * factory.C (readInset): do not abort on reading an unknown inset.
1016         Eat it and return 0.
1017
1018 2003-10-13  Angus Leeming  <leeming@lyx.org>
1019
1020         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1021
1022         * lyxrc.C: displayTranslator is now a function,
1023         declared in GraphicsTypes.h.
1024
1025 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1026
1027         * format.C: new placeholder $$a to pass the socket address.
1028
1029         * bufferlist.[Ch]: new function getBufferFromTmp.
1030
1031         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1032           files in the temporary dir.
1033
1034 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1035
1036         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1037
1038         * Makefile.am: add lyxsocket.[Ch].
1039
1040         * lyx_main.C (error_handler): handle SIGPIPE.
1041
1042 2003-10-13  André Pönitz  <poenitz@gmx.net>
1043
1044         * BufferView_pimpl.C:
1045         * lyxtext.h:
1046         * text.C:
1047         * text2.C:
1048         * text3.C:
1049         * undo_funcs.[Ch]: use paroffset_type instead of
1050           ParagraphList::iterators to prevent multiple conversion
1051           (and get a more robust interface)
1052
1053 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1054
1055         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1056         * lyxtext.h: ditto
1057         * text3.C (dispatch): ditto
1058
1059 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1060
1061         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1062         move the onlyfile, use onlyfile instead of foundfile in a couple
1063         of places.
1064
1065         * DepTable.C (update): flush the error stream a bit more
1066
1067 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1068
1069         * lyxserver.C (callback): adjust
1070
1071         * lyxfunc.C (getStatus): add a missing brace in commented code
1072         (ensureBufferClean): reindent
1073         (dispatch): delete version taking a string
1074
1075 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1076
1077         * LaTeX.C (deplog): move found file handlig from here...
1078         (handleFoundFile): .. to new function here.
1079         (deplog): make sure to discover several files mentioned on the
1080         same log line.
1081
1082 2003-10-10  André Pönitz  <poenitz@gmx.net>
1083
1084         * lyxfunc.C:
1085         * lyxtext.h:
1086         * tabular.C:
1087         * text.C:
1088         * text2.C:
1089         * text3.C: fix some of the tabular crashes
1090
1091 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1092
1093         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1094
1095         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1096
1097 2003-10-09  André Pönitz  <poenitz@gmx.net>
1098
1099         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1100
1101         * BufferView.C:
1102         * BufferView_pimpl.C:
1103         * bufferview_funcs.C:
1104         * lyx_cb.C:
1105         * lyxcursor.C:
1106         * lyxfind.C:
1107         * lyxfunc.C:
1108         * lyxtext.h:
1109         * text.C:
1110         * text2.C:
1111         * text3.C:
1112         * text_funcs.[Ch]:
1113         * textcursor.[Ch]:
1114         * undo_funcs.C: adjust
1115
1116 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1117
1118         * text2.C (incrementItemDepth): new function, use a backtracking
1119         algorithm to discover the correct item depth.
1120         (resetEnumCounterIfNeeded): new function, use a backtracking
1121         algorithm to discover if counter reset is needed.
1122         (setCounter): use them. Simplify a bit. Add different labels for
1123         different item depths for itemize.
1124
1125         * paragraph.C (Paragraph): remove initialization of enumdepth
1126         (operator=): ditto
1127
1128         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1129         enumerate and itemize. Change the type of itemdepth to signed char.
1130
1131 2003-10-08  André Pönitz  <poenitz@gmx.net>
1132
1133         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1134           thing assignable.
1135         * text.C:
1136         * text2.C: adjust
1137
1138         * tabular.[Ch]: fix crash after 'row-insert'
1139
1140 2003-10-08  Angus Leeming  <leeming@lyx.org>
1141
1142         Fix doxygen warnings.
1143
1144         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1145         Remove CutAndPaste:: prefix from header file declaration.
1146
1147         * LColor.h (fill): remove LColor:: prefix from declaration.
1148
1149         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1150         use lyx::depth_type rather than Paragraph::depth_type so that
1151         header file and .C file match.
1152
1153         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1154
1155         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1156         * aspell.C: \file aspell_local.C -> \file aspell.C
1157         * gettext.C: \file gettext.C -> \file src/gettext.C
1158         * gettext.h: \file gettext.h -> \file src/gettext.h
1159         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1160         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1161         * text.C: \file text.C -> \file src/text.C
1162
1163         * toc.C: move comment so that doxygen is not confused.
1164
1165 2003-10-07  Angus Leeming  <leeming@lyx.org>
1166
1167         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1168
1169 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1170
1171         * aspell.C:
1172         * aspell_local.h: add forgotten std::string's.
1173
1174 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1175
1176         * LaTeXFeatures.C:
1177         * LyXAction.C:
1178         * factory.C:
1179         * lfuns.h:
1180         * lyxfunc.C:
1181         * text3.C: The Box patch. Fancybox support, minipage, parbox
1182
1183 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1184
1185         * CutAndPaste.h:
1186         * DepTable.h:
1187         * FloatList.h:
1188         * LaTeXFeatures.h:
1189         * ParagraphParameters.h:
1190         * TextCache.h:
1191         * Thesaurus.h:
1192         * bufferlist.h:
1193         * exporter.h:
1194         * importer.h:
1195         * lastfiles.h:
1196         * lyxfind.h:
1197         * lyxfont.h:
1198         * lyxlex.h:
1199         * lyxtextclasslist.h:
1200         * messages.h:
1201         * paragraph.h:
1202         * paragraph_pimpl.C:
1203         * textcursor.h: add <string> and other small fixes to make Lars'
1204         std::string patch compile with STLport.
1205
1206 2003-10-06  Angus Leeming  <leeming@lyx.org>
1207
1208         * LColor.h: Add missing #include <string>.
1209
1210 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1211
1212         * All most all file in all subdirs: Make <string> be the prefered
1213         way of getting to std::string, add using declarations.
1214
1215 2003-10-06  André Pönitz  <poenitz@gmx.net>
1216
1217         * metricsinfo.C: initialize LyXFont before changing attribute.
1218         (fixes the 'math in \emph is upright' bug)
1219
1220 2003-10-06  André Pönitz  <poenitz@gmx.net>
1221
1222         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1223
1224 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1225
1226         * graph.C:
1227         * paragraph_pimpl.C: Small fixes to build using STLport
1228
1229 2003-10-02  André Pönitz  <poenitz@gmx.net>
1230
1231         * lyxfunc.C:
1232         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1233
1234 2003-10-01  André Pönitz  <poenitz@gmx.net>
1235
1236         * factory.C: assert early
1237
1238 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1239
1240         * lyx_main.C: remove the global debug object
1241
1242         * debug.h: adjust for new debugstream
1243
1244         * debug.C: adjust for new debugstream and keep the global debug
1245         object here.
1246
1247 2003-09-22  Angus Leeming  <leeming@lyx.org>
1248
1249         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1250         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1251         an incomplete class LyXFont.
1252
1253 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1254
1255         * factory.C: bug fix in branches
1256
1257 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1258
1259         * lyxfunc.C (processKeySym): adjust
1260         (dispatch): adjust
1261         (dispatch): change arg name from ev to func, adjust
1262         (sendDispatchMessage): ditto
1263
1264         * lyx_main.C (defaultKeyBindings): adjust keybindings
1265         (deadKeyBindings): ditto
1266
1267         * kbsequence.C (addkey): return a FuncRequest
1268
1269         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1270
1271         * kbmap.C (bind): take a FuncRequest as arg, adjust
1272         (read): adjust
1273         (lookup): adjust
1274         (defkey): change to take a FuncRequest as arg, adjust
1275         (findbinding): take a FuncRequest as arg, adjust.
1276
1277         * funcrequest.h (operator=): added
1278
1279         * funcrequest.C (FuncRequest): default kb_action changed from
1280         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1281
1282         * buffer.C (dispatch): simplify
1283         (dispatch): adjust to take a FuncRequest as arg, adjust
1284
1285         * boost.C (assertion_failed): change assertion message slightly
1286
1287         * ToolbarBackend.C (read): simplify
1288
1289         * MenuBackend.C (binding): adjust call to findbinding, add a
1290         message if no binding is found.
1291         (read): simplify
1292         (expandToc): correct by adding a empty FuncRequest
1293
1294         * LyXAction.C: include <boost/assert.hpp>
1295         (isPseudoAction): delete function
1296         (LookupFunc): change name to...
1297         (lookupFunc): this. change return type to FuncRequest.
1298         (getActionName): take kb_action as arg, simplify
1299         (funcHasFlag): add an assert, simplify.
1300
1301 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1302
1303         * toc.C (action): return a FuncRequest, simplify
1304
1305         * lyxfunc.C (processKeySym): adjust
1306         (getStatus): delete version that takes an int.
1307         (getStatus): adjust
1308         (dispatch): delete version that takes action as int
1309         (dispatch): adjust
1310         (sendDispatchMessage): simplify and adjust
1311
1312         * funcrequest.C (getArg): take unsigned int as arg
1313
1314         * ToolbarBackend.C (read): adjust
1315         (add): delete version that takes func as a string.
1316         (getIton): take a FuncRequest as arg
1317
1318         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1319         action.
1320
1321         * MenuBackend.C (MenuItem): add a new construct that only takes a
1322         Kind, simplify the constructor use for submenus.
1323         (add): adjust
1324         (expandLastfiles): adjust
1325         (expandDocuments): adjust
1326         (expandFormats): adjust
1327         (expandFloatListInsert): adjust
1328         (expandFloatInsert): adjust
1329         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1330
1331         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1332         Remove class variables lyx_pseudo_map and lyx_arg_map
1333
1334         * LyXAction.C (searchActionArg): delete function
1335         (getPseudoAction): delete function
1336         (retrieveActionArg): delete function
1337         (LookupFunc): make it return kb_action, simplify.
1338         (getActionName): simplify
1339
1340         * factory.C (createInset): fix new bug
1341
1342 2003-09-19  Angus Leeming  <leeming@lyx.org>
1343
1344         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1345         masterFilename_ parameter in the include inset.
1346
1347         * factory.C (createInset): changes due to the changes to InsetInclude.
1348
1349 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1350
1351         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1352
1353 2003-09-18  Angus Leeming  <leeming@lyx.org>
1354
1355         * buffer.C:
1356         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1357         Inset::fillWithBibKeys.
1358         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1359
1360 2003-09-18  Angus Leeming  <leeming@lyx.org>
1361
1362         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1363         variables.
1364         (ctor): pass and store a 'Buffer const &'
1365         (buffer): new member function.
1366
1367         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1368         '*this' to the LaTeXFeatures ctor.
1369
1370 2003-09-18  Angus Leeming  <leeming@lyx.org>
1371
1372         * LColor.h:
1373         * lyxfont.C:
1374         * lyxfont.h:
1375         * lyxtext.h:
1376         * text.C: rename EnumLColor as LColor_color.
1377
1378 2003-09-18  Angus Leeming  <leeming@lyx.org>
1379
1380         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1381         remove #include "insets/insetbase.h" from cursor.h.
1382
1383 2003-09-18  Angus Leeming  <leeming@lyx.org>
1384
1385         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1386         InsetOld_code to remove #include "inset.h".
1387
1388         * iterators.C: add #include "insets/inset.h"
1389
1390 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1391
1392         * BufferView.C: remove more locking stuff that apparently doesn't
1393         do anything sensible.
1394
1395 2003-09-16  André Pönitz  <poenitz@gmx.net>
1396
1397         * paragraph.[Ch]:
1398         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1399           performance boost.
1400
1401 2003-09-16  Angus Leeming  <leeming@lyx.org>
1402
1403         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1404
1405         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1406         arg/return type.
1407
1408         * paragraph.h: remove #include "lyxfont.h". Forward declare
1409         LyXFont_size.
1410
1411 2003-09-16  Angus Leeming  <leeming@lyx.org>
1412
1413         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1414         of support/textutils.h.
1415         (isWord): move the contents of support/textutils.h's IsWordChar here.
1416
1417         * buffer.C:
1418         * lyxfind.C:
1419         * rowpainter.C:
1420         * text.C:
1421         * text2.C: add #include "paragraph.h".
1422
1423         * rowpainter.C:
1424         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1425
1426 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1427
1428         * main.C:
1429         * lyx_main.C:
1430         * lyx_cb.C:
1431         * buffer.C:
1432         * LaTeX.C: use namespace alias for lyx::support::os
1433
1434 2003-09-16  Angus Leeming  <leeming@lyx.org>
1435
1436         * bufferparams.C:
1437         * bufferview_funcs.C:
1438         * factory.C:
1439         * lyxfunc.C:
1440         * paragraph_pimpl.C:
1441         * rowpainter.C:
1442         * text.C: add #include "LColor.h".
1443
1444 2003-09-16  Angus Leeming  <leeming@lyx.org>
1445
1446         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1447         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1448         return LyXFont &.
1449         Store the FontBits::color variable as an int rather than as an
1450         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1451         file.
1452
1453         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1454         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1455         string calls together.
1456
1457         * lyxrc.C: add #include "LColor.h".
1458
1459 2003-09-15  Angus Leeming  <leeming@lyx.org>
1460
1461         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1462         a cow_ptr.
1463
1464 2003-09-15  Angus Leeming  <leeming@lyx.org>
1465
1466         * LColor.h: add an EnumLColor wrapper for LColor::color.
1467
1468         * lyxfont.[Ch] (color, setColor, realColor):
1469         * lyxtext.h, text.C (backgroundColor):
1470         pass EnumLColor args to/from the functions, rather than LColor::color
1471         ones.
1472
1473         * lyxfont.h:
1474         * lyxtext.h: forward declare EnumLColor.
1475
1476         * lyx_main.C: add #include "LColor.h".
1477
1478 2003-09-15  Angus Leeming  <leeming@lyx.org>
1479
1480         * .cvsignore: add lyx-gtk.
1481
1482 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1483
1484         * Chktex.C
1485         * LaTeX.C
1486         * LaTeXFeatures.C
1487         * ParagraphParameters.C
1488         * Spacing.C
1489         * buffer.C
1490         * bufferparams.C
1491         * bufferview_funcs.C
1492         * chset.C
1493         * counters.C
1494         * funcrequest.C
1495         * lyxfont.C
1496         * lyxgluelength.C
1497         * lyxlength.C
1498         * paragraph.C
1499         * paragraph_funcs.C
1500         * text3.C
1501         * vc-backend.C: remove usage of STRCONV
1502
1503 2003-09-15  Angus Leeming  <leeming@lyx.org>
1504
1505         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1506         explicitly define the color passed to the painter.
1507
1508 2003-09-15  Angus Leeming  <leeming@lyx.org>
1509
1510         * bufferparams.C (BufferParams): reorder member initializers to avoid
1511         compiler warning.
1512
1513 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1514
1515         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1516         * text.C (updateRowPositions): remove an unusual nop
1517
1518 2003-09-12  André Pönitz  <poenitz@gmx.net>
1519
1520         * BufferView_pimpl.C:
1521         * Bullet.C:
1522         * layout.h:
1523         * lyxfunc.C:
1524         * lyxlayout.[Ch]:
1525         * lyxtextclass.C:
1526         * rowpainter.C:
1527         * text.C:
1528         * text2.C:
1529         * Counters.[Ch]: finish the 'automatic counters' job
1530
1531 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1532
1533         * aspell.C: include <boost/assert.cpp> (compile fix)
1534
1535 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1536
1537         * boost.C (assertion_failed): use lyx::support::abort instead of
1538         assert.
1539
1540 2003-09-10  Angus Leeming  <leeming@lyx.org>
1541
1542         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1543         with their _fwd progeny.
1544
1545 2003-09-09  Angus Leeming  <leeming@lyx.org>
1546
1547         134 files throughtout the source tree: replace 'using namespace abc;'
1548         directives with the appropriate 'using abc::xyz;' declarations.
1549
1550 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1551
1552         * boost.C (emergencyCleanup): moved here from LAssert.c
1553         (assertion_failed): new function, called by BOOST_ASSERT
1554
1555         * several files: change Assert to BOOST_ASSERT
1556
1557 2003-09-09  Angus Leeming  <leeming@lyx.org>
1558
1559         * buffer.[Ch]: Add an Impl class and move Buffer's member
1560         variables into it. As a result move several header files out of
1561         buffer.h.
1562
1563         Add header files to lots of .C files all over the tree as a result.
1564
1565 2003-09-09  Angus Leeming  <leeming@lyx.org>
1566
1567         * buffer.[Ch]: make Buffer's member variables private. Add
1568         accessor functions.
1569
1570         Lots of changes all over the tree as a result.
1571
1572 2003-09-08  Angus Leeming  <leeming@lyx.org>
1573
1574         * graph.C: #include <config.h>.
1575
1576 2003-09-08  Angus Leeming  <leeming@lyx.org>
1577
1578         * BranchList.C:
1579         * BufferView.C:
1580         * BufferView_pimpl.C:
1581         * CutAndPaste.C:
1582         * DepTable.C:
1583         * LaTeX.C:
1584         * LaTeXFeatures.C:
1585         * LyXAction.C:
1586         * MenuBackend.C:
1587         * TextCache.C:
1588         * aspell.C:
1589         * buffer.C:
1590         * bufferlist.C:
1591         * changes.C:
1592         * chset.C:
1593         * converter.C:
1594         * counters.C:
1595         * debug.C:
1596         * graph.C:
1597         * ispell.C:
1598         * lyx_cb.C:
1599         * lyxfind.C:
1600         * lyxfunc.C:
1601         * lyxlex_pimpl.C:
1602         * lyxrc.C:
1603         * lyxrow.C:
1604         * paragraph.C:
1605         * rowpainter.C:
1606         * texrow.C:
1607         * text.C:
1608         * text2.C:
1609         * toc.C: remove redundant using directives.
1610
1611 2003-09-07  Angus Leeming  <leeming@lyx.org>
1612
1613         * LaTeXFeatures.h: remove #include "support/types.h".
1614         * ToolbarBackend.h: remove #include <algorithm>.
1615         * changes.h: remove #include <ctime>.
1616         * debug.h: remove #include <iosfwd>.
1617         * graph.h: remove #include "support/std_string.h".
1618         * lyx_main.h: remove #include <csignal>.
1619         * lyxlex_pimpl.h: remove #include <fstream>.
1620         * sgml.h: remove #include <algorithm>, <utility>.
1621         * toc.h: remove #include "support/std_ostream.h".
1622         Add #include <iosfwd>.
1623
1624 2003-09-07  Angus Leeming  <leeming@lyx.org>
1625
1626         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1627
1628         * converter.h: forward declare LatexRunParams.
1629         * encoding.h: remove #include "lyxrc.h".
1630         * lyxtext.h: remove #include "LColor.h".
1631         * lyxtextclass.h: remove #include "support/types.h".
1632         * trans.h: remove #include "tex-accent.h".
1633         * trans_mgr.h: remove #include "tex-accent.h".
1634         * insets/inset.h: remove #include "support/types.h", <vector>.
1635         * insets/insetcollapsable.h: remove #include "LColor.h".
1636         * insets/insetinclude.h: remove #include "dimension.h".
1637         * insets/insetlatexaccent.h: remove #include "dimension.h".
1638         * insets/insetoptarg.h:: remove #include "insettext.h".
1639         * insets/insettext.h: remove #include "dimension.h",
1640         <boost/shared_ptr.hpp>
1641
1642         * insets/renderers.h: add #include "dimension.h".
1643         * insets/updatableinset.h: add #include "support/types.h".
1644
1645         * many .C files: Associated changes.
1646
1647 2003-09-06  Angus Leeming  <leeming@lyx.org>
1648
1649         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1650         one, inside testInvariant.
1651
1652         * PrinterParams.C: new file.
1653         * PrinterParams.[Ch]: move the function bodies out of line.
1654
1655 2003-09-06  Angus Leeming  <leeming@lyx.org>
1656
1657         * ParagraphParameters.h: forward declare ParameterStruct rather than
1658         including its header file.
1659         (depth): moved out-of-line.
1660
1661 2003-09-06  Angus Leeming  <leeming@lyx.org>
1662
1663         * BufferView_pimpl.h:
1664         * kbmap.h:
1665         * kbsequence.h:
1666         * lyxfunc.h: forward declare LyXKeySym rather than
1667         #include "frontends/LyXKeySym.h".
1668
1669         * BufferView_pimpl.C:
1670         * kbmap.C:
1671         * kbsequence.C:
1672         * lyxfunc.C: associated changes.
1673
1674 2003-09-06  Angus Leeming  <leeming@lyx.org>
1675
1676         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1677         As a result, can remove the #include "insets/inset.h" from BufferView.h
1678
1679 2003-09-06  Angus Leeming  <leeming@lyx.org>
1680
1681         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1682         As a result, can remove the #include "insets/inset.h" from BufferView.h
1683
1684 2003-09-06  Angus Leeming  <leeming@lyx.org>
1685
1686         * buffer_funcs.C:
1687         * buffer.h:
1688         * bufferlist.C:
1689         * BufferView.C:
1690         * bufferview_funcs.C:
1691         * BufferView_pimpl.C:
1692         * CutAndPaste.C:
1693         * lyx_cb.C:
1694         * lyxfunc.C:
1695         * paragraph.h:
1696         * ParagraphParameters.C:
1697         * tabular.C:
1698         * text3.C:
1699         * toc.C:
1700         * undo_funcs.C:
1701         * frontends/controllers/ControlDocument.C:
1702         * insets/insetcaption.C: rearrange the #includes into some sort of
1703         coherent order.
1704
1705         * buffer.h: remove #includes ErrorList.h, undo.h
1706
1707 2003-09-06  Angus Leeming  <leeming@lyx.org>
1708
1709         * support/types.h: add a 'depth_type' typedef, used to store the
1710         nesting depth of a paragraph.
1711
1712         * paragraph.h:
1713         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1714         defining explicitly.
1715
1716         * buffer.h:
1717         * paragraph_funcs.h:
1718         * ParagraphParameters.h:
1719         * sgml.h: use lyx::depth_type rather than Paragraph or
1720         ParameterStruct's depth_type.
1721
1722         * buffer.h
1723         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1724
1725         * BufferView.C:
1726         * BufferView_pimpl.C:
1727         * CutAndPaste.C:
1728         * ParagraphParameters.C:
1729         * buffer_funcs.C:
1730         * bufferlist.C:
1731         * bufferview_funcs.C:
1732         * lyx_cb.C:
1733         * lyxfunc.C:
1734         * tabular.C:
1735         * text3.C:
1736         * toc.C:
1737         * undo_funcs.C:
1738         * frontends/LyXView.C:
1739         * frontends/controllers/ControlDocument.C:
1740         * frontends/controllers/ControlErrorList.C:
1741         * insets/insetbibitem.C:
1742         * insets/insetbranch.C:
1743         * insets/insetcaption.C:
1744         * insets/insetcollapsable.C:
1745         * insets/insetenv.C:
1746         * insets/insetert.C:
1747         * insets/insetfloat.C:
1748         * insets/insetfoot.C:
1749         * insets/insetfootlike.C:
1750         * insets/insetnewline.C:
1751         * insets/insetquotes.C:
1752         * insets/insettabular.C:
1753         * insets/insettext.C:
1754         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1755
1756         * frontends/controllers/ControlChanges.C: #include "changes.h".
1757
1758 2003-09-06  Angus Leeming  <leeming@lyx.org>
1759
1760         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1761         than #including paragraph.h.
1762
1763         * ParagraphList.h:
1764         * RowList.h: deleted. Superfluous.
1765
1766         * CutAndPaste.h:
1767         * iterators.h:
1768         * lyxcursor.h:
1769         * lyxtext.h:
1770         * text_funcs.h:
1771         * undo.h:
1772         * undo_funcs.h:
1773         * insets/inset.h:
1774         * insets/insettext.h: use ParagraphList_fwd.h rather than
1775         ParagraphList.h.
1776
1777         * paragraph.h: don't forward declare ParagraphList.
1778
1779         * buffer.h:
1780         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1781         rather than ParagraphList.h. paragraph.h is still needed for the
1782         Paragraph::depth_type parameters.
1783
1784         * textcursor.h: enable it to compile stand-alone in light of the
1785         above changes.
1786
1787         * bufferview_funcs.C:
1788         * iterators.C:
1789         * lyxfunc.C:
1790         * lyxrow_funcs.C:
1791         * paragraph.C:
1792         * rowpainter.C:
1793         * text.C:
1794         * text2.C:
1795         * text3.C:
1796         * text_funcs.C:
1797         * textcursor.C:
1798         * undo.C:
1799         * frontends/controllers/ControlParagraph.C:
1800         * frontends/controllers/ControlTabular.C:
1801         * insets/insetmarginal.C:
1802         * insets/insetminipage.C:
1803         * insets/insetnote.C:
1804         * insets/insetoptarg.C: add header files needed to compile again.
1805
1806 2003-09-06  Angus Leeming  <leeming@lyx.org>
1807
1808         * RowList_fwd.h: new file, forward-declaring Row rather than
1809         #including lyxrow.h.
1810
1811         * lyxrow_funcs.h:
1812         * lyxtext.h:
1813         * paragraph.h:
1814         * insets/insettext.h: use it instead of RowList.h
1815
1816         * bufferview_funcs.C:
1817         * lyxfunc.C:
1818         * lyxrow_funcs.C:
1819         * paragraph.C:
1820         * rowpainter.C:
1821         * text.C:
1822         * text2.C:
1823         * text3.C: #include "RowList.h".
1824
1825 2003-09-05  Angus Leeming  <leeming@lyx.org>
1826
1827         * factory.C (createInset):
1828         * vspace.C (c-tor): replace sscanf call with an istringstream.
1829         * ispell.C: re-add missing HP/UX headers.
1830         * lyxserver.C: re-add missing  os2 headers.
1831
1832 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1833
1834         * BranchList.C:
1835         * graph.C:
1836         * ispell.C:
1837         * lastfiles.C:
1838         * lyx_cb.C:
1839         * lyxserver.C:
1840         * texrow.C:
1841         * text3.C: re-add missing system headers, needed for 2.95.2.
1842
1843 2003-09-05  Angus Leeming  <leeming@lyx.org>
1844
1845         Changes most place everywhere due to the removal of using directives
1846         from support/std_sstream.h.
1847
1848 2003-09-05  Angus Leeming  <leeming@lyx.org>
1849
1850         Replace LString.h with support/std_string.h,
1851         Lsstream.h with support/std_sstream.h,
1852         support/LIstream.h with support/std_istream.h,
1853         support/LOstream.h with support/std_ostream.h.
1854
1855         Changes resulting throughout the tree.
1856
1857 2003-09-05  Angus Leeming  <leeming@lyx.org>
1858
1859         * sgml.h: ensure that the header file can be compiled stand-alone.
1860         * *.C: strip out redundant #includes. (320 in total.)
1861
1862 2003-09-04  Angus Leeming  <leeming@lyx.org>
1863
1864         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1865         here (from getPackages).
1866
1867         * debug.[Ch]: add a new EXTERNAL tag.
1868
1869 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1870
1871         * text2.C (cursorEnd): simplify
1872         (setCursor): adjust
1873         (getColumnNearX): adjust
1874
1875         * text.C (computeBidiTables): adjust
1876         (fill): adjust
1877
1878         * rowpainter.C (paintChars): adjust
1879         (paintSelection): adjust
1880         (paintChangeBar): adjust
1881         (paintText): adjust
1882
1883         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1884         lastPos instead.
1885         (numberOfSeparators): adjust
1886
1887 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1888
1889         * LyXAction.C:
1890         * box.[Ch]:
1891         * lfuns.h:
1892         * lyxfunc.C:
1893         * text3.C: Restricts the mouse click functionality
1894         of insets like bibtex, include, toc and floatlist to the visible
1895         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1896         up the dialogs. Cursor has to be in front of the inset (i.e.
1897         start of row) for this to function.
1898
1899 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1900
1901         * bufferview_funcs.C (currentState): output row information
1902
1903 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1904
1905         * bufferview_funcs.C (currentState): output paragraph position
1906
1907 2003-09-04  Angus Leeming  <leeming@lyx.org>
1908
1909         * FloatList.h: move out #include "Floating.h".
1910         * LaTeX.h: move out #include "DepTable.h".
1911         * LyXAction.h: move out #include "funcrequest.h".
1912         * buffer.h: move out #include "author.h", "iterators.h".
1913         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1914         * lyx_main.h: move out #include "errorlist.h".
1915         * lyxfunc.h: move out #include "FuncStatus.h".
1916         * lyxtext: move out #include "lyxcursor.h".
1917         * paragraph_pimpl.h: move out #include "counters.h".
1918
1919 2003-09-03  Angus Leeming  <leeming@lyx.org>
1920
1921         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1922         preamble_snippets list, enabling us to add snippets to the preamble
1923         only if the snippet was not there already.
1924
1925 2003-09-04  Angus Leeming  <leeming@lyx.org>
1926
1927         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1928
1929 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1930
1931         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1932         update
1933
1934 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1935
1936         * BranchList.C: point fix, earlier forgotten
1937
1938 2003-09-02  Angus Leeming  <leeming@lyx.org>
1939
1940         * box.C (contains): renamed from 'contained' after a fantastic
1941         amount of hot air.
1942
1943 2003-09-02  John Levon  <levon@movementarian.org>
1944
1945         * BufferView.C:
1946         * lyxcursor.h:
1947         * lyxcursor.C:
1948         * lyxfunc.C:
1949         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1950
1951 2003-09-02  John Levon  <levon@movementarian.org>
1952
1953         * text2.C: simplification of cursorEnd(), including partial
1954         fix for bug 1376
1955
1956 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1957
1958         * buffer.C (readFile): add a space
1959
1960 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1961
1962         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1963
1964 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1965
1966         * buffer.C (readFile): new function, take a filename and a
1967         ParagraphList::iterator
1968         (readFile): adjust
1969         (readFile): adjust, make it private. don't use setStream, make
1970         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1971         always contain the filename.
1972
1973         * BufferView.C (insertLyXFile): simplify and make it work for
1974         gzipped files.
1975
1976 2003-08-30  John Levon  <levon@movementarian.org>
1977
1978         * Makefile.am: fix dist (from Kayvan)
1979
1980 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1981
1982         * most files: change to use const Buffer refs
1983
1984 2003-08-27  André Pönitz  <poenitz@gmx.net>
1985
1986         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1987         on top of ownerPar().
1988
1989 2003-08-27  John Levon  <levon@movementarian.org>
1990
1991         * funcrequest.C: properly initialise POD members
1992
1993 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1994
1995         * lyxtext.h (top_y): move top_y from here
1996         * text.C:
1997         * text2.C:
1998         * text3.C:
1999         * BufferView.[Ch]:
2000         * BufferView_pimpl.[Ch]: to here
2001         * frontends/screen.C:
2002         * insets/insettabular.C:
2003         * insets/insettext.C: adjust
2004         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2005
2006 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2007
2008         * BufferView.[Ch]:
2009         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2010
2011 2003-08-26  André Pönitz  <poenitz@gmx.net>
2012
2013         * paragraph_func.[Ch] (outerPar): new function
2014
2015         * paragraph.C:
2016         * paragraph_funcs.C:
2017         * paragraph_funcs.h:
2018         * paragraph_pimpl.C:
2019         * text2.C: remove Inset::par_owner
2020
2021 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2022
2023         * lyxrow_funcs.C:
2024         * lyxtext.h:
2025         * text.C:
2026         * text2.C: eliminates the needFullRow/display() stuff
2027         altogether, putting the logic in metrics/draw in the insets.
2028
2029 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2030
2031         * text2.C (redoParagraphInternal, redoParagraphs):
2032         * text.C (redoParagraph): add a call to updateRowPositions at the
2033         end of each 'metrics-like' call. Remove all others.
2034         (getRow): remove the 'y-computing' version.
2035         (getRowNearY): do not compute nor return the real y. Solve the
2036         'y < 0' problem and simplify.
2037
2038 2003-08-22  Angus Leeming  <leeming@lyx.org>
2039
2040         * *.[Ch]: clean-up of licence and author blurbs.
2041         Also move config.h out of a few .h files and into a few .C files.
2042
2043 2003-08-22  André Pönitz  <poenitz@gmx.net>
2044
2045         * lyxrow.[Ch]: add x_ and *fill_ members
2046
2047         * lyxtext.h:
2048         * text.C:
2049         * rowpainter.C:
2050         * text2.C: adjust/remove prepareToPrint() calls
2051
2052 2003-08-22  André Pönitz  <poenitz@gmx.net>
2053
2054         * lyxrow.[Ch]: add  end_ member
2055
2056         * lyxrow_funcs.C: use LyXRow::end_
2057
2058         * lyxtext.h (singleWidth): add LyXFont parameter
2059
2060         * rowpainter.C:
2061         * text2.C: adjust LyXText::singleWidth() calls
2062
2063         * text.C (redoParagraph): simplify row breaking logic
2064
2065
2066 2003-08-19  André Pönitz  <poenitz@gmx.net>
2067
2068         * funcrequest.C: initialize button_ member
2069
2070         * text3.C:
2071         * rowpainter.[Ch]: interface consolidation
2072
2073 2003-08-18  André Pönitz  <poenitz@gmx.net>
2074
2075         * BufferView.C:
2076         * BufferView_pimpl.C:
2077         * lyxfind.C:
2078         * paragraph_funcs.C:
2079         * rowpainter.C:
2080         * text3.C: remove LyXScreen::draw() and fitCursor calls
2081
2082         * BranchList.h: remove spurious semicolons
2083
2084         * MenuBackend.C: fix branchlist related crash
2085
2086 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2087
2088         * BranchList.[Ch]:
2089         * InsetList.[Ch]:
2090         * LColor.[Ch]:
2091         * LyXAction.C:
2092         * Makefile.am:
2093         * MenuBackend.[Ch]:
2094         * bufferparams.[Ch]:
2095         * factory.C:
2096         * lfuns.h:
2097         * lyxfunc.C:
2098         * text3.C: implements the 'branch inset'
2099         idea. This allows the output of various versions of a document
2100         from a single source version, selectively outputing or suppressing
2101         output of parts of the text.
2102         This implementation contains a 'branch list editor' in a separate
2103         tab of the document settings dialog. Branches are user definable
2104         and have a "display colour" to distinguish them on-screen.
2105
2106         ColorHandler was somewhat cleaned up.
2107         (1) make possible a dynamically growing LColor list by allowing
2108         the graphic context cache to grow along (vector);
2109         (2) eliminate an IMHO unnecessary step in colour allocation.
2110
2111 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2112
2113         * BufferView_pimpl.C: compile fix
2114
2115 2003-08-15  André Pönitz  <poenitz@gmx.net>
2116
2117         * rowpainter.C: remove extra metrics calls
2118
2119         * lyxtext.h: merge the two constructors into a single one,
2120           pass reference to owner's par list
2121
2122         * BufferView_pimpl.C:
2123         * text.C:
2124         * text2.C: adjust
2125
2126 2003-08-15  André Pönitz  <poenitz@gmx.net>
2127
2128         * lyxrow_funcs.[Ch]:
2129         * lyxtext.h:
2130         * paragraph.h:
2131         * paragraph_funcs.C:
2132         * rowpainter.C:
2133         * text.C:
2134         * text2.C:
2135         * text3.C:
2136         * text_funcs.C: split LyXText::rowlist_ into individual
2137         Paragraph::rows_ chunks
2138
2139         * BufferView.[Ch]:
2140         * BufferView_pimpl.[Ch]:
2141         * lyxfind.C:
2142         * lyxtext.h:
2143         * text3.C: remove toggleSelection()
2144
2145 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2146
2147         * bufferlist.C: beautify two alerts (shorter text of buttons)
2148         * buffer.C: Remove redundant ' ' from message
2149         * tabular.h:
2150         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2151         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2152         rename VALIGN_CENTER to VALIGN_MIDDLE
2153
2154 2003-08-11  André Pönitz  <poenitz@gmx.net>
2155
2156         * lyxtext.h (getPar):
2157         * text.C: new function
2158
2159 2003-08-11  André Pönitz  <poenitz@gmx.net>
2160
2161         * Makefile.am:
2162         * tracer.[Ch]: remove unneeded files
2163
2164         * InsetList.[Ch]: remove resizeInsetsLyXText()
2165
2166         * lyxtext.h:
2167         * text.C:
2168         * text2.C:
2169         * text3.C: merge insertParagraphs() and appendParagraph()
2170         remove breakAgain(), update()
2171
2172         * BufferView_pimpl.[Ch]:
2173         * bufferview_funcs.[Ch]:
2174         * lyxfunc.C:
2175         * paragraph.[Ch]:
2176         * rowpainter.C:
2177         * tabular.C: adjust after text & InsetList changes.
2178
2179 2003-08-08  André Pönitz  <poenitz@gmx.net>
2180
2181         * text.C (insertChar, backspace): replace rowlist fiddling
2182         with rebreak of full par
2183
2184         * lyxtext.h:
2185         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2186         checkParagraph, updateInset): removed
2187
2188 2003-08-07  André Pönitz  <poenitz@gmx.net>
2189
2190         * paragraph.C:
2191         * text3.C: merge some LFUN handlers, remove dead code
2192
2193 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2194
2195         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2196
2197 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2198
2199         * text2.C (DEPM): fix part of bug 1255 and 1256
2200
2201 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2202
2203         * BufferView_pimpl.C (workAreaDispatch): change to use
2204         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2205         that are no mouse related.
2206
2207 2003-08-05  André Pönitz  <poenitz@gmx.net>
2208
2209         * BufferView.[Ch]:
2210         * BufferView_pimpl.[Ch]:
2211         * bufferview_funcs.C:
2212         * text2.C:
2213         * text3.C: rip out "deep update"
2214
2215         * textcursor.[Ch] (last_sel_cursor): remove unused member
2216
2217 2003-08-04  André Pönitz  <poenitz@gmx.net>
2218
2219         * BufferView.[Ch]:
2220         * BufferView_pimpl.[Ch]:
2221         * ParagraphParameters.C:
2222         * bufferview_funcs.C:
2223         * lyx_cb.C:
2224         * lyxfind.C:
2225         * lyxfunc.C:
2226         * text.C:
2227         * text2.C:
2228         * text3.C: replace "complicated" BufferView::update(...) calls with
2229         simpler ones.
2230
2231         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2232
2233 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2234
2235         * Makefile.am (lyx_SOURCES): add paper.h
2236
2237 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2238
2239         * Makefile.am: move things around so that both lyx-qt and
2240         lyx-xforms can be built (according to --with-frontend). Then lyx
2241         is a symbolic link to lyx-[firstfrontend]
2242
2243 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2244
2245         * Always use std::endl with lyxerr
2246
2247 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2248
2249         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2250
2251 2003-08-01  André Pönitz  <poenitz@gmx.net>
2252
2253         * BufferView.[Ch]:
2254         * BufferView_pimpl.[Ch]:
2255         * lyxfunc.C:
2256         * text3.C: merge BufferView::repaint() and BufferView::update()
2257
2258 2003-08-01  José Matos  <jamatos@lyx.org>
2259
2260         * buffer.[Ch]: file_format is no longer a buffer data element.
2261
2262 2003-08-01  André Pönitz  <poenitz@gmx.net>
2263
2264         * BufferView.C:
2265         * lyxtext.h:
2266         * text.C:
2267         * text2.C: make redoParagraph more independent of current cursor
2268
2269         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2270         * text.C:
2271         * text2.C: remove unneeded members
2272
2273 2003-07-30  André Pönitz  <poenitz@gmx.net>
2274
2275         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2276
2277         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2278           create a single function...
2279
2280         * paragraph_funcs.C (moveItem): ... here.
2281
2282         * text.C:
2283           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2284
2285 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2286
2287         * LColor.[Ch]: Add comment and greyedout logical colors.
2288
2289 2003-07-30  André Pönitz  <poenitz@gmx.net>
2290
2291         * tabular.C: don't use Assert too heavily. This crashes where it
2292           shouldn't
2293
2294 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2295
2296         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2297         is disabled (bug 1232)
2298
2299 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2300
2301         * factory.C: limited 'arg' scope
2302
2303 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2304
2305         * factory.C: fixed Note submenu issues
2306
2307 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2308
2309         * factory.C: submenu for Note/Comment/Greyedout
2310
2311 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2312
2313         * lyx_main.C (LyX):
2314         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2315
2316 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2317
2318         * LaTeXFeatures.C:
2319         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2320         greyedout. Patch provided by Jürgen Spitzmüller.
2321
2322 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2323
2324         * kbmap.C (read): fix error message when reading bind files
2325
2326 2003-07-29  Angus Leeming  <leeming@lyx.org>
2327
2328         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2329         certainly does not do what it purports to do. I am doing it, and
2330         us, a favour by killing it.
2331
2332 2003-07-28  José Matos  <jamatos@lyx.org>
2333
2334         * buffer.C (readBody, do_writeFile):
2335         * paragraph.C(readParagraph): \end_document replaces \the_end.
2336
2337 2003-07-29  André Pönitz  <poenitz@gmx.net>
2338
2339         * BufferView.[Ch]:
2340         * BufferView_pimpl.[Ch]:
2341         * lyxfunc.C:
2342         * text2.C:
2343         * text3.C:
2344         * textcursor.[Ch]: remove toggleToggle & Co
2345
2346 2003-07-28  José Matos  <jamatos@fep.up.pt>
2347
2348         * buffer.C (readParagraph):
2349         * params_func (readParToken, readParagraph):
2350         * paragraph.C (write): \layout -> \begin_layout.
2351
2352 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2353
2354         * lyxlex_pimpl.C (setFile): clean up slightly.
2355
2356         * bufferparams.h: add compressed var
2357
2358         * buffer_funcs.C (readFile): adjust for LyXLex change
2359         (newFile): ditto + simplify
2360
2361         * buffer.C (writeFile): handle writing of compressed files
2362
2363         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2364         Check if the file is compressed and set a bufferparm if so.
2365
2366         * Makefile.am (lyx_LDADD): remove explicit -lz
2367
2368 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2369
2370         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2371         makeDocBookFile): put the real LyX version in the first line of
2372         the file
2373
2374         * version.h:
2375         * version.C.in: remove lyx_docversion
2376
2377         * tabular.C (write_attribute): add a template-based version to
2378         write enums properly
2379
2380 2003-07-28  André Pönitz  <poenitz@gmx.net>
2381
2382         * lyxtext.h:
2383         * text.C:
2384         * text2.C:
2385         * text3.C: use doubles again for x-coordinates. They are needed.
2386
2387 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2388
2389         * messages.C (getLocaleDir): use lyx_localedir()
2390
2391         * lyxlex_pimpl.C (setFile): compress stuff
2392
2393         * buffer.C (writeFile): add some compression stuff
2394         (do_writeFile): new func, dont call expliti close... will this
2395         breake anything?
2396
2397         * Makefile.am (lyx_LDADD): add -lz
2398
2399 2003-07-28  José Matos  <jamatos@fep.up.pt>
2400
2401         * buffer.C: increment file format.
2402         * paragraph_funcs (readParagraph, readParToken):
2403         * paragraph.C (readParagraph): add \end_layout.
2404
2405 2003-07-27  Angus Leeming  <leeming@lyx.org>
2406
2407         * Makefile.am: remove special casing for configure-time setting of
2408         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2409
2410         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2411         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2412
2413 2003-07-26  André Pönitz  <poenitz@gmx.net>
2414
2415         * paragraph_func.[Ch]:
2416         * paragraph.C (realizeFont): inline it whereever it is used
2417
2418         * rowpainter.C:
2419         * text.C:
2420         * text2.C:
2421         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2422
2423
2424 2003-07-26  André Pönitz  <poenitz@gmx.net>
2425
2426         *       lyxtext.h:
2427         * text.C:
2428         * text2.C: get rid of LyXText::need_break_row
2429
2430 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2431
2432         * toc.[Ch]: put namespace toc inside namespace lyx
2433
2434         * MenuBackend.C (expandToc2): adjust for lyx::toc
2435         (expandToc): ditto
2436
2437         * lyxfunc.C (dispatch): adjust for lyx::find
2438
2439         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2440         lyx::find instead. Reorganize a bit.
2441         (LyXReplace): rename to replace
2442         (LyXFind): rename to find
2443
2444         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2445         (dispatch): ditto
2446
2447 2003-07-26  André Pönitz  <poenitz@gmx.net>
2448
2449         * text.C (setHeightOfRow): restrict scope of temporary variable
2450
2451         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2452           code (never has been used?)
2453
2454 2003-07-27  Asger Alstrup  <alstrup@local>
2455
2456         * text.C (fill): Optimise algorithm to exploit that we can reuse
2457         the LyXFont for many characters.
2458         (setHeightOfRow): Same thing.
2459         (rowBreakPoint): Same thing.
2460
2461 2003-07-26  Asger Alstrup  <alstrup@local>
2462
2463         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2464
2465         * text.C (singleWidth): Spurious font copying in hot-spot
2466         singleWidth avoided. Reorder tests for arabic for efficiency.
2467
2468         * text.C (fill): handle empty paragraphs better.
2469
2470 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2471
2472         * ispell.C:
2473         * encoding.h: add includes
2474
2475         * lyxrc.C: remove reading of bind files
2476
2477         * lyx_main.C (init): setup bindings and menus only if we have a
2478         gui.
2479
2480         * kbmap.C (read): new method. Do the actual reading of bind
2481         files.
2482
2483         * converter.C (dvipdfm_options):
2484         * bufferparams.C:
2485         * lyxrc.C (read):
2486         (output): adapt PAPER_* enums.
2487
2488         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2489
2490         * bufferparams.h: remove paper-related enums from there
2491
2492         * paper.h: New file. A trivial header file to hold paper-related
2493         enums. It should later expand to contain many paper-related
2494         horrors access.
2495
2496         * lyxrc.C: declare extern displayTranslator
2497
2498 2003-07-27  José Matos  <jamatos@fep.up.pt>
2499
2500         * tabular.[Ch] (linuxdoc): add support for tables and figures
2501         (linuxdoc).
2502
2503 2003-07-27  José Matos  <jamatos@fep.up.pt>
2504
2505         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2506         consistency in both functions.
2507         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2508
2509 2003-07-26  Asger Alstrup  <alstrup@local>
2510
2511         * rowpainter.C (paintRows): Change algorithm to work directly on
2512         the insets rather than asking every character in the document
2513         whether its an inset.
2514
2515 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2516
2517         * buffer.C (openFileWrite): factorize some code
2518
2519 2003-07-26  Angus Leeming  <leeming@lyx.org>
2520
2521         * lyx_cb.C:
2522         * lyx_main.[Ch]: replace occurances of system_tempdir with
2523         os::getTmpDir().
2524
2525 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2526
2527         * rename Inset to InsetOld
2528
2529 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2530
2531         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2532         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2533         which I think is a bit clearer. EDIT is gone, since it was
2534         premature optimisation, and broken for mathed anyway.
2535         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2536         with cursor positioning in insets as well (math insets still do not
2537         work, but that's a different story anyway.) It mysteriously
2538         crashes sometimes with undo in the first paragraph, but I'm fairly
2539         confident that this is a compiler bug.
2540
2541 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2542
2543         * paragraph.C (Paragraph): adjust for new clone return type
2544         (operator==): ditto
2545         (copyIntoMinibuffer): ditto
2546
2547 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2548
2549         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2550         by not having a special case, and always doing a full rebreak of
2551         the document after undo.
2552
2553 2003-07-23  Angus Leeming  <leeming@lyx.org>
2554
2555         * factory.C (createInset): InsetExternal::setParams now takes a
2556         Buffer const * arg.
2557
2558 2003-07-23  Angus Leeming  <leeming@lyx.org>
2559
2560         * factory.C (createInset): changed interface to the external and
2561         graphics mailers' string2params functions.
2562
2563 2003-07-23  Angus Leeming  <leeming@lyx.org>
2564
2565         * factory.C (createInset): pass a
2566         Buffer const * parameter to InsetExternalMailer's string2params.
2567
2568 2003-07-22  John Levon  <levon@movementarian.org>
2569
2570         * Thesaurus.h: include the right aiksaurus header
2571
2572 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2573
2574         * MenuBackend.C (expand): check menu shortcuts unconditionally
2575
2576 2003-07-21  Angus Leeming  <leeming@lyx.org>
2577
2578         * factory.C (createInset): pass a
2579         buffer_path parameter to InsetGraphicsMailer's string2params.
2580
2581 2003-07-21  Angus Leeming  <leeming@lyx.org>
2582
2583         * BufferView_pimpl.C (buffer):
2584         * buffer.C (d-tor):
2585         * lyx_main.C (LyX):
2586         * lyxfunc.C (dispatch):
2587         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2588         rather than the grfx shortcut.
2589
2590 2003-07-21  André Pönitz  <poenitz@gmx.net>
2591
2592         * rowpainter.C: remove unused variables
2593
2594         * tabular_funcs.C:
2595         * tabular_funcs.h: move to tabular.C
2596         * Makefile.am: adjust
2597
2598         * tabular.[Ch]: basic optical cleaning
2599
2600         * author.h: pass references, not values
2601
2602 2003-07-18  André Pönitz  <poenitz@gmx.net>
2603
2604         * lyxtext.h:
2605         * metricsinfo.C:
2606         * metricsinfo.h:
2607         * rowpainter.C:
2608         * text.C:
2609         * text2.C:
2610         * text3.C: two-phase drawing for InsetText and InsetTabular
2611         some float -> int changes.
2612
2613 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2614
2615         * lyx_main.C: fix the fix
2616
2617 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2618
2619         * lyx_main.C: fix a crash in batch mode if no files specified
2620         * converter.C: ws
2621
2622 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2623
2624         * format.[Ch] (papersize): moved to BufferParams
2625         * converter.[Ch] (dvips_options): moved to BufferParams
2626         (dvipdfm_options): moved to anon namespace
2627         * bufferparams.[Ch]: added above functions.
2628
2629 2003-07-17  André Pönitz  <poenitz@gmx.net>
2630
2631         * lyxtext.h:
2632         * rowpainter.C:
2633         * text2.C: don't call inset->update() anymore
2634
2635         * metricsinfo.[Ch]: add convenience constructor
2636
2637 2003-07-16  André Pönitz  <poenitz@gmx.net>
2638
2639         * lyxcursor.[Ch]:
2640         * lyxfunc.[Ch]:
2641         * text.C:
2642         * text2.C: replace the LyXCursor::irow_ member with
2643          on-demand computation of the value
2644
2645 2003-07-16  John Levon  <levon@movementarian.org>
2646
2647         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2648
2649 2003-07-15  André Pönitz  <poenitz@gmx.net>
2650
2651         * text.C:
2652         * text2.C: remove no more needed refresh_row
2653
2654 2003-07-15  André Pönitz  <poenitz@gmx.net>
2655
2656         * lyxtext.h:
2657         * rowpainter.C:
2658         * text2.C:
2659         * text3.C: refresh_status tristate -> need_update bool
2660
2661 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2662
2663         * lyxtext.h (init): remove reinit argument (act as if always true)
2664         * text2.C: adjust to that
2665
2666 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2667
2668         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2669         * text3.C: use it to delete selections in some cases
2670         (bugs 441, 673, 702, 954).
2671
2672 2003-07-14  André Pönitz  <poenitz@gmx.net>
2673
2674         * rowpainter.[Ch]: reduce interface
2675
2676 2003-07-14  André Pönitz  <poenitz@gmx.net>
2677
2678         * BufferView_pimpl.C:
2679         * text2.C: adjust after removing unused BufferView * argument
2680
2681 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2682
2683         * text2.C (init): fix a crash fired on resize
2684
2685 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2686
2687         * buffer.[Ch]: added new closing signal
2688         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2689         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2690         BufferView::Pimpl via the closing the signal
2691
2692 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2693
2694         * buffer.[Ch]: take out all bv-related from buffer
2695         * BufferView.C:
2696         * BufferView_pimpl.[Ch]: connect to new signals
2697         * CutAndPaste.C: removed useless asserts
2698         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2699         * lyxvc.[Ch]:
2700         * vc-backend.[Ch]:
2701         * lyxfunc.C: moved view-related funciontality from vc here
2702         * paragraph.C: removed outdated comments
2703         * text.C: ws
2704
2705 2003-07-10  André Pönitz  <poenitz@gmx.net>
2706
2707         * BufferView_pimpl.C:
2708         * tabular.h:
2709         * tabular_funcs.C:
2710         * text.C:
2711         * text2.C: remove InsetText::InnerCache, clean up consequences
2712
2713 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2714
2715         * ispell.C: fix two typos in error messages
2716
2717 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2718
2719         * Extend Note inset to other forms of annotation like Comment
2720         and Greyedout. Right button click gives dialog.
2721
2722         Files modified or added (+):
2723
2724         * insetnote.[Ch]
2725         * FormNote.[Ch]      +
2726         * ControlNote.[Ch]   +
2727         * form_note.fd       +
2728         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2729         frontends/controllers
2730         * xforms/Dialogs.C
2731         * factory.C
2732
2733 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2734
2735         * aspell.C: add missing namespace lyx::support
2736
2737 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2738
2739         * BufferView.[Ch] (newFile): Add
2740         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2741         * LaTeX.[Ch] (message): added this signal and use it
2742         * buffer.[Ch] (busy, message): added these signals and use them
2743         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2744         * converter.C:
2745         * exporter.C:
2746         * format.C:
2747         * importer.C: use buffer signals instead of direct bv calling
2748         * lyx_cb.[Ch] (ShowMessage): removed
2749         * lyx_main.C:
2750         * lyxfunc.C:
2751         * paragraph_funcs.C:
2752         * text2.C: use buffer signals
2753
2754 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2755
2756         * introduce namespace lyx::graphics
2757
2758 2003-07-02  André Pönitz  <poenitz@gmx.net>
2759
2760         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2761
2762 2003-07-01  André Pönitz  <poenitz@gmx.net>
2763
2764         * text.C:
2765         * text2.C:
2766         * text3.C:
2767         * text_funcs.[Ch]:
2768         * textcursor.h:
2769         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2770           text*.C to text_func.C
2771
2772 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2773
2774         * introduce namespace lyx::support
2775
2776 2003-06-30  André Pönitz  <poenitz@gmx.net>
2777
2778         * Chktex.C:
2779         * funcrequest.C:
2780         * lyxtext.h:
2781         * text.C: re-enable --with-included-string
2782
2783 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2784
2785         * textcursor.C: add <config.h>
2786
2787         * text.C (getWord): remove const from word_location arg
2788
2789         * lyxvc.C (getLogFile): fix const type order
2790
2791         * lyxtext.h: remove const from word_location arg, add arg name
2792
2793         * lyxlayout.h: currect type on labeltype.
2794
2795         * importer.C: correct \file
2796
2797         * converter.C (intToFormat): use std:: on ret val, ws changes
2798
2799         * bufferlist.h: correct \file
2800
2801         * buffer.C (makeLinuxDocFile): fix const type order
2802         (makeDocBookFile): ditto
2803         (fillWithBibKeys): use std:: on stdlib args.
2804
2805         * CutAndPaste.C: fix authors.
2806         (availableSelections): use std:: on return vector
2807
2808 2003-06-27  André Pönitz  <poenitz@gmx.net>
2809
2810         * BufferView_pimpl.C:
2811         * bufferview_funcs.C:
2812         * lyxcursor.C:
2813         * lyxcursor.h:
2814         * lyxfunc.C:
2815         * lyxtext.h:
2816         * rowpainter.C:
2817         * text.C:
2818         * text2.C:
2819         * text3.C: remove LyXCursor::row_ member
2820
2821         * lyxtext.h:
2822         * text.C: rename fullRebreak() to partialRebreak() and implement
2823           a fullRebreak() that really bereks fully
2824
2825         * textcursor.h: new struct for cursor-related data
2826
2827 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2828
2829         * lyx_main.C (LyX): get full path of document loaded on the
2830         command line
2831
2832 2003-06-26  André Pönitz  <poenitz@gmx.net>
2833
2834         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2835           remove unused/broken operator>,<,>=.
2836
2837         *       text.C: remove only use of broken operator<= in an Assert().
2838
2839 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2840
2841         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2842         moved errorlist_.clear to showErrorList
2843
2844 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2845
2846         * converter.C (scanLog, runLaTeX):
2847         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2848         move the bv->showErrorList call to the callers
2849         * lyxfunc.C: i.e. here...
2850         * text2.C: and here
2851         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2852         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2853         namespace, the second to...
2854         * buffer_funcs (BufferFormat, parseErrors): added
2855         * errorlist.C (ErrorList(TeXErrors const &)): removed
2856
2857 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2858
2859         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2860
2861 2003-06-24  "Garst R. Reese" <reese@isn.net>
2862
2863         * debug.C: fix typo
2864
2865 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2866
2867         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2868
2869         * version.C.in: change docversion to 1.4
2870
2871 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2872
2873         * buffer.C: fix a bug just introduced
2874
2875 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2876
2877         * buffer.[Ch]: added the parseError signal and use it, removed
2878         sgmlError
2879         * BufferView.[Ch] (addError): moved to ...
2880         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2881         to the Buffer::parseError signal to catch (guess what) parse errors
2882         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2883
2884 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2885
2886         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2887         ability to create a buffer and to return an existing one from
2888         the list. Moved these functions to...
2889         * buffer_funcs.[Ch]: added
2890         * BufferView.[Ch] (loadLyXFile): added
2891         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2892         job removed from bufferlist::loadLyXFile.
2893         * buffer.C (setReadOnly): make it work without view
2894         (i.e added an if (users))
2895
2896 2003-06-19  Angus Leeming  <leeming@lyx.org>
2897
2898         * lfuns.h:
2899         * LyXAction.C (init):
2900         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2901         with LFUN_DIALOG_SHOW <name> <data>.
2902
2903 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2904
2905         * CutAndPaste.C (availableSelections): small compilation fix for
2906         ancient (gcc 2.9x) compilers
2907
2908 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2909
2910         * text3.C (cursorNext): add tmp var
2911
2912         * text2.C (updateCounters): for function calling out of for clause
2913         (replaceSelectionWithString): ditto
2914         (insertStringAsParagraphs): ditto
2915         (getColumnNearX): add tmp var
2916         (setCursorFromCoordinates): add tmp var
2917         (cursorDownParagraph): add tmp var
2918         (deleteEmptyParagraphMechanism): add tmp var
2919
2920         * text.C (insertChar): add tmp var
2921
2922         * rowpainter.C (paintDepthBar): add tmp var
2923
2924         * CutAndPaste.C (availableSelections): potentially check all
2925         paragraphs in a cut to fill the shown strings.
2926
2927 2003-06-18  André Pönitz  <poenitz@gmx.net>
2928
2929         * kbmap.[Ch]: use vector<> instead of list<>
2930
2931 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2932
2933         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2934         pasteSelection with index
2935
2936         * text2.C (pasteSelection): modify, call pasteSelection with index
2937
2938         * paragraph.C (asString): reimplement version with no interval to
2939         call the one with interval.
2940
2941         * lyxtext.h: add index arg to pasteSelection
2942
2943         * MenuBackend.C (MenuItem): handle PasteRecent
2944         (Menu::read::Menutags): add md_pasterecent
2945         (read): handle it
2946         (expandPasteRecent): new function
2947         (expand): use it
2948
2949         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2950
2951         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2952         the limited stack
2953         (availableSelections): new function
2954
2955 2003-06-17  Angus Leeming  <leeming@lyx.org>
2956
2957         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2958
2959 2003-06-17  Angus Leeming  <leeming@lyx.org>
2960
2961         * lfuns.h:
2962         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2963
2964         * lyxfunc.C (dispatch): invoke it.
2965
2966 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2967
2968         * iterators.C (operator++, ParPosition): reintroduce some
2969         const_cast for the benefit of older compilers.
2970
2971 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2972
2973         * text3.C (dispatch): do not modify clipboard when doing
2974         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2975         LFUN_DELETE_SKIP on a selection selection
2976
2977 2003-06-16  André Pönitz  <poenitz@gmx.net>
2978
2979         * BufferView.C:
2980         * buffer.C:
2981         * buffer.h:
2982         * paragraph.C:
2983         * tabular.[Ch]: IU of clone() and getLabelList();
2984
2985 2003-06-13  André Pönitz  <poenitz@gmx.net>
2986
2987         * tabular.h: compactification
2988
2989 2003-06-12  André Pönitz  <poenitz@gmx.net>
2990
2991         * tabular.C:
2992         * tabular.h:
2993         * tabular_funcs.h: some renaming plus whitespace
2994
2995 2003-06-12  André Pönitz  <poenitz@gmx.net>
2996
2997         * BufferView.C:
2998         * BufferView_pimpl.C:
2999         * CutAndPaste.C:
3000         * buffer.C:
3001         * iterators.[Ch]:
3002         * lyxfunc.C:
3003         * text.C:
3004         * toc.C: Return a Paragraph & for ParIterator::operator*()
3005
3006 2003-06-11  John Levon  <levon@movementarian.org>
3007
3008         * lyx_main.C:
3009         * ToolbarBackend.h:
3010         * ToolbarBackend.C: add "Toolbars" section and
3011         put the flags there
3012
3013 2003-06-10  Angus Leeming  <leeming@lyx.org>
3014
3015         * lfuns.h:
3016         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3017
3018         * lyxfunc.C (dispatch): invoke it.
3019
3020 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3021
3022         * main.C: protect <ios> with HAVE_IOS
3023         (main): protect sync_with_stdio with HAVE_IOS
3024
3025 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3026
3027         * text2.C (cutSelection): adjust
3028         (pasteSelection): adjust
3029
3030         * messages.C: handle get of empty string
3031
3032         * main.C (main): use sync_with_stdio(false)
3033
3034         * lyxfunc.C (dispatch): adjust
3035
3036         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3037         (WriteAs): remove unneeded BufferView arg.
3038
3039         * bufferparams.h: use correct types on papersize, papersize2 and
3040         paperpackage.
3041
3042         * bufferparams.C (readToken): adjust for type
3043         (writeLaTeX): add missing cases to switch.
3044
3045         * bufferlist.C (quitWriteBuffer): adjust
3046         (close): adjust
3047
3048         * buffer.C (asciiParagraph): remove some commented code.
3049
3050         * CutAndPaste.C: remove current_view extern variable.
3051         (cutSelection): add BufferParams arg.
3052         (eraseSelection): add BufferParams arg.
3053         (pasteSelection): add Buffer const & arg
3054
3055 2003-06-07  John Levon  <levon@movementarian.org>
3056
3057         * buffer.C:
3058         * paragraph_funcs.C:
3059         * paragraph_pimpl.C:
3060         * text.C:
3061         * text2.C:
3062         * paragraph.h:
3063         * paragraph.C: allow InsetERT to freely space lines,
3064         and some consolidation of code
3065
3066 2003-06-06  José Matos  <jamatos@fep.up.pt>
3067
3068         * buffer.C (makeDocBookFile): fix bug #821
3069
3070 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3071
3072         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3073
3074 2003-06-04  Angus Leeming  <leeming@lyx.org>
3075
3076         * buffer.C: bump format to 224.
3077
3078 2003-06-05  André Pönitz  <poenitz@gmx.net>
3079
3080         * text2.C (redoParagraphs): remove two const_cast<>
3081
3082 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3083
3084         * ParagraphList.h: remove last remnants of NO_STD_LIST
3085
3086 2003-06-03  Angus Leeming  <leeming@lyx.org>
3087
3088         * factory.C (createInset): small change to the way InsetExternal's params
3089         are set.
3090
3091 2003-06-04  André Pönitz  <poenitz@gmx.net>
3092
3093         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3094
3095         * paragraph_pimpl.h:
3096         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3097
3098         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3099
3100         * undo_funcs.C: make some simple cases of undo work again
3101
3102 2003-06-03  John Levon  <levon@movementarian.org>
3103
3104         * ispell.C: HPUX doesn't have sys/select.h
3105         (from Albert Chin)
3106
3107 2003-06-03  John Levon  <levon@movementarian.org>
3108
3109         * CutAndPaste.C: update tabular and include inset
3110         buffer references
3111
3112         * buffer.h:
3113         * paragraph.h:
3114         * paragraph.C: remove owningBuffer(), don't pass Buffer
3115         to clone()
3116
3117         * factory.C: insetGraphicsParams changed
3118
3119 2003-06-02  John Levon  <levon@movementarian.org>
3120
3121         * LyXAction.C:
3122         * factory.C:
3123         * lfuns.h:
3124         * lyxfunc.C:
3125         * text3.C: remove insetparent
3126
3127 2003-06-02  John Levon  <levon@movementarian.org>
3128
3129         * buffer.h:
3130         * buffer.C: fix inset_iterator.end(), move out of line
3131         (bug 1149)
3132
3133 2003-06-01  John Levon  <levon@movementarian.org>
3134
3135         * text3.C: use a proper cut/paste when doing inset
3136         insert (from Jürgen Spitzmüller)
3137
3138 2003-06-01  John Levon  <levon@movementarian.org>
3139
3140         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3141
3142 2003-05-30  André Pönitz  <poenitz@gmx.net>
3143
3144         * rowpainter.C: unify second drawing phase
3145
3146 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3147
3148         * trans_mgr.C: remove one case of current_view
3149
3150         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3151
3152         * paragraph_funcs.h: remove paragraph.h include
3153
3154         * paragraph.h: delete NO_STD_LIST stuff
3155
3156         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3157
3158         * buffer.h: remove paragraph.h include
3159
3160         * ParagraphList.C: delete file
3161
3162         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3163
3164         * toc.C (getTocList): adjust
3165
3166         * paragraph_pimpl.C (validate): adjust
3167
3168         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3169
3170         * paragraph.C (Paragraph): adjust
3171         (getPositionOfInset): use const_iterator, adjust
3172         (bibitem): use const_iterator, adjust
3173         (setInsetOwner): adjust
3174
3175         * iterators.C (operator++): adjust
3176
3177         * InsetList.[Ch]: Replace selfmade iterator with standard
3178         vector::iterator also introduce const_iterator. Remove getPos,
3179         getInset and setInset from InsetTable. Adjust accordingly.
3180
3181         * BufferView.C (lockInset): adjust
3182         (ChangeInsets): adjust
3183
3184         * tabular.[Ch]: delete commented same_id functions
3185
3186 2003-05-28  John Levon  <levon@movementarian.org>
3187
3188         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3189
3190 2003-05-28  André Pönitz  <poenitz@gmx.net>
3191
3192         * metricsinfo.[Ch]: remove 'fullredraw' member
3193
3194 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3195
3196         * lyxtextclass.C (operator): remove caching.
3197
3198 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3199
3200         * text3.C: adjust
3201
3202         * text2.C (cursorBottom): adjust
3203         (setCounter): use ParagraphList::find, adjust
3204
3205         * text.C (workWidth): use ParagraphList::find, adjust
3206
3207         * lyxcursor.C (LyXCursor): adjust
3208
3209         * buffer.C (inset_iterator): adjust
3210
3211         * ParagraphList.h: make iterator(value_type) private, make
3212         ParagraphList a friend of iterator.
3213
3214         * ParagraphList.C (find): new function
3215
3216         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3217
3218 2003-05-27  André Pönitz  <poenitz@gmx.net>
3219
3220         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3221
3222 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3223
3224         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3225
3226 2003-05-26  John Levon  <levon@movementarian.org>
3227
3228         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3229
3230 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3231
3232         * remove same_id from function signatures, adjust.
3233
3234 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3235
3236         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3237
3238         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3239
3240         * paragraph.C (Paragraph): get rid of same_ids parameter
3241
3242         * ParagraphList.C (insert): adjust
3243         (push_back): adjust
3244
3245 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3246
3247         * paragraph_funcs.C (breakParagraph): adjust
3248         (breakParagraphConservative): adjust
3249
3250         * buffer.C (readParagraph): adjust
3251
3252         * ParagraphList.C (insert): take a reference instead of a pointer
3253         (insert): adjust
3254
3255         * paragraph.[Ch] (id): new function
3256
3257         * bufferlist.C (newFile): adjust
3258
3259         * ParagraphList.C (ParagraphList): adjust
3260         (assign): adjust
3261         (push_back): take a reference instead of a pointer.
3262
3263         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3264
3265         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3266         instead.
3267
3268         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3269         set else use old code.
3270
3271         * ParagraphList.C: remove all NO_NEXT code and only compile this
3272         code of NO_STD_LIST is set.
3273
3274 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3275
3276         * BufferView_pimpl.C:
3277         * TextCache.C:
3278         * TextCache.h:
3279         * bufferlist.C:
3280         * errorlist.h:
3281         * format.C:
3282         * format.h:
3283         * graph.C:
3284         * lyxfunc.C:
3285         * lyxrc.C:
3286         * graphics/GraphicsConverter.C:
3287         * graphics/PreviewLoader.C: header adjustment
3288
3289 2003-05-23  Angus Leeming  <leeming@lyx.org>
3290
3291         * LaTeXFeatures.[Ch] (useBabel): new method.
3292         * bufferparams.C (writeLaTeX): use it.
3293
3294 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3295
3296         * ParagraphList.h (set): remove unused function.
3297
3298 2003-05-23  André Pönitz  <poenitz@gmx.net>
3299
3300         * BufferView.C:
3301         * BufferView_pimpl.C:
3302         * buffer.C:
3303         * buffer.h:
3304         * lyxfunc.C:
3305         * undo_funcs.C: setUndo reworked
3306
3307         * iterators.[Ch]: add access to topmost ParagraphList
3308
3309         * lyxtext.[Ch] (workWidth): add a const
3310
3311 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3312
3313         * texrow.[Ch] (increasePos): remove function
3314         * exporter.C (export): removed unused var and outdated comment
3315
3316 2003-05-23  Angus Leeming  <leeming@lyx.org>
3317
3318         * latexrunparams.h: rename fragile as moving_arg.
3319         * paragraph.C (simpleTeXOnePar): ditto.
3320         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3321
3322 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3323
3324         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3325         (createUndo): ditto
3326         (textUndoOrRedo): comment out a currently unused var.
3327
3328         * paragraph.h (NO_NEXT): enable NO_NEXT
3329
3330         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3331
3332         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3333
3334         * exporter.C (Export): adjust for removeAutoInsets removal.
3335
3336         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3337
3338         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3339
3340         * BufferView.[Ch] (removeAutoInsets): delete function
3341
3342 2003-05-22  Angus Leeming  <leeming@lyx.org>
3343
3344         * latexrunparams.h: add a free_spacing variable.
3345
3346         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3347         to pass moving_arg, as the data is stored in runparams.fragile.
3348
3349         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3350         to Inset::latexOptional or to simpleTeXOnePar.
3351
3352         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3353         free_spacing arg to Inset::latexOptional.
3354
3355         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3356         free_spacing arg.
3357
3358 2003-05-22  Angus Leeming  <leeming@lyx.org>
3359
3360         * latexrunparams.h: add fragile and use_babel variables.
3361
3362         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3363         * buffer.C (makeLaTeXFile): store this returned value in
3364         runparams.use_babel, thus passing it to the inset::latex methods.
3365
3366         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3367         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3368
3369         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3370         longer has a fragile arg, as it is stored in runparams.fragile.
3371
3372         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3373         moving_arg parameter as the data is stored in runparams.fragile.
3374
3375         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3376         a fragile parameter as the data is stored in runparams.fragile.
3377
3378 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3379
3380         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3381
3382 2003-05-22  Angus Leeming  <leeming@lyx.org>
3383
3384         * latexrunparams.h: add a 'bool nice' which defaults to false.
3385
3386         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3387         now encapsulated within runparams.
3388
3389         * bufferlist.C (updateIncludedTeXfiles):
3390         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3391
3392 2003-05-22  Angus Leeming  <leeming@lyx.org>
3393
3394         * latexrunparams.h: new file containing struct LatexRunParams.
3395         * Makefile.am: add new file.
3396
3397         * LaTeX.[Ch] (c-tor, run):
3398         * buffer.[Ch] (makeLaTeXFile):
3399         * bufferlist.[Ch] (updateIncludedTeXfiles):
3400         * converter.C (convert, scanLog):
3401         * converter.[Ch] (runLaTeX):
3402         * exporter.C (Export):
3403         * paragraph.[Ch] (simpleTeXOnePar):
3404         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3405         * paragraph_funcs.[Ch] (latexParagraphs):
3406         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3407         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3408         pass around a LatexRunParams parameter.
3409
3410 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3411
3412         * paragraph.[Ch]: remove unused constructor
3413
3414         * ParagraphList.C (erase): new function, taking two iterators
3415
3416 2003-05-22  André Pönitz  <poenitz@gmx.net>
3417
3418         * undo_funcs.C: remove duplicated code
3419
3420         * iterator.[Ch]: operator=
3421
3422 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3423
3424         * tabular.C (SetMultiColumn): ws changes
3425
3426         * rowpainter.C (paintFirst): get rid of a ->previous
3427
3428         * lyx_cb.C (getPossibleLabel): parlist simplification
3429
3430         * BufferView.C (ChangeInsets): simplify slightly.
3431
3432 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3433
3434         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3435         * lfuns.h: new LFUN_SPACE
3436         * lyxfunc.C: protected space has a new lfun
3437         * paragraph_funcs.C: read new space insets
3438         * text3.C:
3439         * factory.C: handle new space insets
3440
3441 2003-05-22  André Pönitz  <poenitz@gmx.net>
3442
3443         * BufferView.C:
3444         * BufferView_pimpl.C:
3445         * buffer.[Ch]:
3446         * lyxfunc.C:
3447         * undo_funcs.C: return a ParIterator from getParFromID.
3448
3449         * iterators.[Ch]: add two const's
3450
3451 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3452
3453         * toc.C (getTocList): adjust
3454
3455         * iterators.[Ch]: rework for parlist
3456
3457         * buffer.C (par_iterator_begin): adjust
3458         (par_iterator_end): adjust
3459
3460         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3461
3462         * BufferView.C (removeAutoInsets): adjust
3463         (ChangeInsets): adjust
3464
3465 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3466
3467         * text.C (top_y): fix bug 1110
3468
3469 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3470
3471         * errorlist.[Ch]: added
3472         * buffer.C:
3473         * BufferView.[Ch]:
3474         * BufferView_pimpl.C:
3475         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3476         instead
3477
3478 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3479
3480         * Makefile.am: ensure that lyx is relinked upon changes to the
3481         various "convenience" libs.
3482
3483 2003-05-20  Angus Leeming  <leeming@lyx.org>
3484
3485         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3486         files are compiled in alphabetical order again.
3487
3488         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3489
3490 2003-05-19  Angus Leeming  <leeming@lyx.org>
3491
3492         * gettext.[Ch]: remove "char const * _(char const *)".
3493
3494 2003-05-19  André Pönitz  <poenitz@gmx.net>
3495
3496         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3497
3498         * Makefile.am:
3499         * BufferView.C:
3500         * DepTable.h:
3501         * LaTeXFeatures.C:
3502         * buffer.C:
3503         * lyxfont.C:
3504         * lyxlex.h:
3505         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3506
3507 2003-05-19  André Pönitz  <poenitz@gmx.net>
3508
3509         * buffer.C:
3510         * lyxlayout.[Ch]:
3511         * lyxtextclass.[Ch]:
3512         * paragraph.C:
3513         * paragraph_funcs.[Ch]:
3514         * text2.C:
3515         * text3.C: more insetenv work
3516
3517 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3518
3519         * ParagraphParameters.C (params2string): small bug fixed
3520
3521 2003-05-16  André Pönitz  <poenitz@gmx.net>
3522
3523         * debug.C:
3524         * bufferview_funcs.C: patch from Kornel Benko to prevent
3525           crash when _(...) is called twice in a statement
3526
3527 2003-05-16  André Pönitz  <poenitz@gmx.net>
3528
3529         * BufferView.C:
3530         * lyxfunc.C:
3531         * text.C:
3532         * text2.C:
3533         * text3.C:
3534         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3535
3536 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3537
3538         * lyx_main.C (init): remove spurious static_cast
3539
3540 2003-05-14  André Pönitz  <poenitz@gmx.net>
3541
3542         * BufferView.C: fix format string
3543
3544 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3545
3546         * BufferView.[Ch] (insertErrors): removed
3547         * BufferView.[Ch] (showErrorList): added
3548         * buffer.C (runChkTeX):
3549         * converter.C (scanLog): call showErrorList instead of inserterrors
3550
3551 2003-05-13  André Pönitz  <poenitz@gmx.net>
3552
3553         * BufferView_pimpl.C:
3554         * buffer.C:
3555         * bufferview_func.C:
3556         * MenuBackend.C:
3557         * lyxfunc.C:
3558         * lyxrc.C:
3559         * tex-accent.C:
3560         * text3.C:
3561         * toc.C:
3562         * tabular_funcs.h: tostr() from its own header
3563
3564         * ParagraphParameters.C:
3565         * ToolbarBackend.C:
3566         * bufferparams.C:
3567         * format.C:
3568         * lyxlex_pimpl.C:
3569         * text3.C: STRCONV()
3570
3571 2003-05-12  André Pönitz  <poenitz@gmx.net>
3572
3573         * BufferView.C:
3574         * BufferView_pimpl.C:
3575         * CutAndPaste.C:
3576         * LaTeX.C:
3577         * LaTeXFeatures.C:
3578         * ParagraphParameters.C:
3579         * buffer.C:
3580         * bufferlist.C:
3581         * bufferparams.C:
3582         * bufferview_funcs.C:
3583         * converter.C:
3584         * counters.C:
3585         * debug.C:
3586         * exporter.C:
3587         * format.C:
3588         * importer.C:
3589         * lyx_cb.C:
3590         * lyx_main.C:
3591         * lyxfont.C:
3592         * lyxfunc.C:
3593         * lyxvc.C:
3594         * paragraph.C:
3595         * paragraph_funcs.C:
3596         * tabular.C:
3597         * tabular_funcs.C:
3598         * text2.C:
3599         * text3.C:  boost::format -> bformat  all over the place
3600
3601
3602 2003-05-09  André Pönitz  <poenitz@gmx.net>
3603
3604         * LColor.[Ch]: Pimpl the #include <map> away
3605
3606 2003-05-09  John Levon  <levon@movementarian.org>
3607
3608         * bufferlist.C: never remove emergency saves
3609
3610 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3611
3612         * Makefile.am: better lib building
3613
3614 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3615
3616         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3617         instead.
3618         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3619         (simpleTeXSpecialChars): adjust
3620         (simpleTeXSpecialChars): adjust
3621         * paragraph.C (simpleTeXOnePar): adjust
3622         * buffer.C (makeLaTeXFile): adjust
3623
3624         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3625
3626         * text2.C (changeDepth): parlist cleanup
3627         (getColumnNearX): ditto
3628
3629         * rowpainter.C (getLabelFont): parlist cleanup
3630
3631         * bufferlist.C (newFile): parlist cleanup
3632
3633         * CutAndPaste.C (eraseSelection): parlist cleanup
3634
3635         * BufferView_pimpl.C (trackChanges): parlist cleanup
3636         (dispatch): ditto
3637
3638         * BufferView.C (lockInset): parlist cleanup.
3639         (ChangeInsets): ditto
3640
3641 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3642
3643         * CutAndPaste.h: Update file header.
3644
3645         * CutAndPaste.C: Update file header.
3646         Store the parts cut out of the Document in a limited_stack.
3647         (copySelection): adjust
3648         (pasteSelection): new function, takes the index in the limited stack.
3649         (nrOfParagraphs): adjust
3650         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3651         simplify error inset insertion.
3652         (checkPastePossible): adjust
3653
3654 2003-05-06  John Levon  <levon@movementarian.org>
3655
3656         * text2.C: don't cast wrap inset to float
3657
3658 2003-05-05  André Pönitz  <poenitz@gmx.net>
3659
3660         * iterator.C:
3661         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3662
3663         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3664           few naked Paragraph *.
3665
3666 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3667
3668         * bufferparams.C: Output warning if a document with missing
3669         TeX document class is loaded
3670         * exporter.C: Disable TeX exports if the document class is missing
3671         * lyxtextclass.C:
3672         * lyxtextclass.h:
3673         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3674         isTeXClassAvailable()
3675
3676 2003-05-03  John Levon  <levon@movementarian.org>
3677
3678         * BufferView.h:
3679         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3680         explicit cursor show/hide
3681
3682         * BufferView_pimpl.h:
3683         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3684         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3685
3686         * lyxfunc.C: hide cursor before dispatching.
3687
3688         * lyx_cb.C:
3689         * lyxfind.C:
3690         * text.C:
3691         * text3.C: remove explicit cursor hides
3692
3693 2003-05-02  André Pönitz  <poenitz@gmx.net>
3694
3695         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3696
3697         * undo_funcs.C:
3698         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3699           linked lists
3700
3701         * text2.C: tiny whitespace
3702
3703 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3704
3705         * undo_funcs.C: almost only ws changes.
3706
3707         * ParagraphList.C (splice): just return if pl is empty.
3708
3709 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3710
3711         * ParagraphList.C (splice): new function.
3712
3713         * CutAndPaste.C (pasteSelection): use it
3714
3715 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3716
3717         * CutAndPaste.C (pasteSelection): remove the last next and
3718         previous from this file.
3719
3720 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3721
3722         * CutAndPaste.C (pasteSelection): more clean up, user proper
3723         ParagraphList functions for pasteing.
3724
3725         * ParagraphList.C (insert): new function, three arg insert
3726
3727 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3728
3729         * ParagraphList.C (insert): new function, three arg insert
3730
3731         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3732         not on paragraphs.
3733
3734 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3735
3736         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3737
3738 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3739
3740         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3741
3742 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3743
3744         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3745         (copySelection): clean up a bit.
3746         (pasteSelection): use make_pair
3747
3748         * ParagraphList.C (ParagraphList): implement copy constructor
3749         (operator=): implement, base on copy constructor.
3750         (assign): new func
3751
3752         * paragraph.C (erase): return a bool
3753
3754         * paragraph_pimpl.C (erasePos): remove function, move contents...
3755         (erase): ... here. Return a bool.
3756         (erase): call erase instead of erasePos.
3757
3758 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3759
3760         * ParagraphList.h: define PitPosPair
3761         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3762         ParagraphList, fix a bug on pasting multiple pars
3763         * text2.C: change interface to C&P
3764
3765 2003-04-30  André Pönitz  <poenitz@gmx.net>
3766
3767         * undo_func.C: revert part of yesterday's patch 2
3768
3769 2003-04-30  John Levon  <levon@movementarian.org>
3770
3771         * LColor.C: s/tabular/table/
3772
3773 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3774
3775         * text3.C (dispatch): do not convert iterator -> pointer
3776         * undo_funcs.C (setCursorParUndo): ditto
3777         * text_funcs.C (transposeChars): ditto
3778
3779         * text2.C (setLayout): ws changes only
3780
3781         * text.C (breakParagraph): do not convert iterator -> pointer
3782         (insertChar): ditto
3783         (acceptChange): ditto
3784         (rejectChange): ditto
3785         (changeCase): ditto
3786         (Delete): ditto
3787         (backspace): ditto
3788
3789         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3790         pointer
3791
3792 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3793
3794         * text3.C (gotoInset): YABG (yet another bad getChar)
3795
3796 2003-04-29  André Pönitz  <poenitz@gmx.net>
3797
3798         * paragraph.h: make operator= private unimplemented as long as
3799           it is unusable
3800
3801         * ParagraphList.C: whitespace
3802
3803         * paragraph.[Ch]:
3804         * paragraph_pimpl.[Ch]:
3805         * paragraph_funcs.C:
3806         * CutAndPaste.C:
3807         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3808
3809         * text2.C:
3810           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3811
3812 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3813
3814         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3815         * paragraph.[Ch] (erase):
3816         * paragraph_pimpl.[Ch] (erase): change return type and value
3817         * text2.C (cutSelection): some rework
3818
3819 2003-04-28  John Levon  <levon@movementarian.org>
3820
3821         * bufferlist.C: changes for unsaved changes dialog
3822
3823 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3824
3825         * bufferlist.C (newFile): set language (messages_) for new
3826         documents also.
3827
3828         * buffer.C (readFile): ws changes only.
3829
3830 2003-04-28  André Pönitz  <poenitz@gmx.net>
3831
3832         * undo_funcs.C:
3833         * lyxfunc.C:
3834         * buffer.[Ch]:
3835         * BufferView_pimpl.C:
3836         * BufferView.C: getParFromID related ParagraphList::iterator changes
3837
3838 2003-04-28  André Pönitz  <poenitz@gmx.net>
3839
3840         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3841           Changes
3842
3843 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3844
3845         * messages.C: remove one more localedir class variable.
3846
3847 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3848
3849         * messages.C (getLocaleDir): singleton generation function
3850         (Pimpl): use it.
3851         (Messages): add a default constructor.
3852
3853         * main.C (main): do not setup localedir here, do not call
3854         gettext_init.
3855
3856         * gettext.C (_): use it.
3857         (gettext_init): delete funciton
3858
3859 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3860
3861         * gettext.C (getLyXMessages): new singleton generating function.
3862
3863         * buffer.C (updateDocLang): adjust
3864
3865         * Makefile.am (messages.o): add target
3866         (main.o): remove target
3867
3868 2003-04-27  John Levon  <levon@movementarian.org>
3869
3870         * bufferlist.C:
3871         * lyx_cb.C:
3872         * lyxfunc.C:
3873         * lyxvc.C: specify cancel button in Alert::prompt
3874
3875 2003-04-26  John Levon  <levon@movementarian.org>
3876
3877         * text3.C:
3878         * lyxfunc.C:
3879         * lfuns.h:
3880         * LyXAction.C: add LFUN_INSET_SETTINGS
3881
3882         * lyxfunc.C: don't enable tabular-feature when there's
3883         just any locking inset
3884
3885 2003-04-26  John Levon  <levon@movementarian.org>
3886
3887         * bufferlist.C: re-add Cancel to buffer close question
3888
3889         * lyxfunc.C: fix import UI a bit
3890
3891 2003-04-25  John Levon  <levon@movementarian.org>
3892
3893         * gettext.C: remove the broken asserts for now
3894
3895 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3896
3897         * messages.C: make case where setlocale cannot comply work better.
3898
3899         * buffer.C (updateDocLang): new function
3900         (changeLanguage): use it
3901         (readFile): use it
3902
3903         * text2.C (setCounter): use B_ a bit.
3904
3905         * lyxlayout.C (Read): be sure to trim the label strings.
3906
3907         * messages.C (Messages): fix typo in comment
3908
3909         * buffer.C (readFile): set message_ after file is loaded.
3910         (makeDocBookFile): remove double return
3911         (changeLanguage): reset message_ upon language change.
3912         (B_): new func, use this to get translated buffer strings.
3913
3914         * main.C: add myself and Jean Marc as authors.
3915
3916 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3917
3918         * messages.[hC]: pimplify Messages, and three different pimpls to be
3919         used in different circumstances.
3920
3921         * gettext.[Ch]: change for use with new message code.
3922
3923 2003-04-24 André Pönitz <poenitz@gmx.net>
3924
3925         * factory.C: support for eqref
3926
3927 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3928
3929         * messages.[Ch]: add missing char
3930
3931         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3932
3933         * messages.[Ch]: New files
3934
3935 2003-04-18  John Levon  <levon@movementarian.org>
3936
3937         * BufferView.h:
3938         * BufferView.C:
3939         * BufferView_pimpl.C:
3940         * lfuns.h:
3941         * LyXAction.C:
3942         * lyxtext.h:
3943         * text2.C: remove layout-copy/paste (bug 778)
3944
3945 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3946
3947         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3948
3949 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3950
3951         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3952         if they succeed. Act accordingly.
3953
3954 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3955
3956         * text2.C (setCharFont): adjust
3957         (setCounter): adjust
3958         (insertStringAsLines): adjust
3959
3960         * text.C (leftMargin): adjust
3961         (setHeightOfRow): adjust
3962
3963         * rowpainter.C (paintFirst): adjust
3964         (paintLast): adjust
3965
3966         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3967         (outerHook): ditto
3968         (isFirstInSequence): ditto
3969         (getEndLabel): ditto
3970         (outerFont): adjust
3971
3972         * paragraph.C (getParLanguage): comment out some hard stuff.
3973
3974         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3975         (sgmlError): ditto
3976         (simpleDocBookOnePar): ditto
3977         (makeDocBookFile): use ParagraphList::iterator
3978
3979         * CutAndPaste.C (pasteSelection): adjust
3980
3981 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3982
3983         * text2.C (getFont): adjust
3984         (getLayoutFont): adjust
3985         (getLabelFont): adjust
3986
3987         * paragraph_funcs.C (TeXOnePar): adjust
3988
3989         * buffer.C (simpleLinuxDocOnePar): adjust
3990         (simpleDocBookOnePar): adjust
3991
3992         * CutAndPaste.C (pasteSelection): adjust
3993
3994         * BufferView.C (getEncoding): adjust
3995
3996         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3997
3998 2003-04-16  John Levon  <levon@movementarian.org>
3999
4000         * lyxfind.C: use parlist stuff for search/changes
4001
4002 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4003
4004         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4005
4006         * text2.C (deleteEmptyParagraphMechanism): adjust
4007
4008         * text2.[Ch] (ownerParagraph): delete func (both of them
4009
4010 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4011
4012         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4013
4014 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4015
4016         * ParagraphList.C: prepare for NO_NEXT
4017
4018 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4019
4020         * text2.C (getFont): adjust
4021         (getLayoutFont): adjust
4022         (getLabelFont): adjust
4023
4024         * paragraph.C (getFont): adjust
4025         (getLabelFont): adjust
4026         (getLayoutFont): adjust
4027
4028         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4029
4030 2003-04-15  John Levon  <levon@movementarian.org>
4031
4032         From Angus Leeming
4033
4034         * lyx_main.C: handle Include in .ui files
4035
4036 2003-04-15  John Levon  <levon@movementarian.org>
4037
4038         * MenuBackend.C: make the doc files length shorter
4039
4040         * ToolbarBackend.h:
4041         * ToolbarBackend.C: handle toolbar placement flags,
4042         Minibuffer
4043
4044 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4045
4046         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4047         adjust
4048
4049         * paragraph_funcs.C (TeXOnePar): adjust
4050
4051         * paragraph.C (getLabelFont): add outerfont arg, adjust
4052         (getLayoutFont): ditto
4053         (simpleTeXOnePar): adjust
4054
4055         * paragraph_pimpl.C (realizeFont): delete func
4056
4057 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4058
4059         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4060         row argument, constify cur argument.
4061
4062 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4063
4064         * text2.C (getFont): adjust
4065         (getLayoutFont): adjust
4066         (getLabelFont): adjust
4067
4068         * paragraph_funcs.C (TeXOnePar): adjust
4069         (outerFont): new func...
4070         (realizeFont): ...moved out from here, changed this to facilitate
4071         transition
4072
4073         * paragraph.C (getFont): take outerfont as arg, adjust
4074         (simpleTeXOnePar): add outerfont arg, adjust
4075
4076         * buffer.C (simpleLinuxDocOnePar): adjust
4077         (simpleDocBookOnePar): adjust
4078
4079         * CutAndPaste.C (pasteSelection): adjust
4080
4081         * BufferView.C (getEncoding): adjust
4082
4083 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4084
4085         * text2.C (setCharFont): adjust
4086         (setCounter): adjust
4087
4088         * text.C (leftMargin): adjust
4089         (setHeightOfRow): adjust
4090
4091         * rowpainter.C (paintFirst): adjust
4092         (paintLast): adjust
4093
4094         * paragraph_pimpl.C (realizeFont): adjust
4095
4096         * paragraph.C (isFirstInSequence): move from here...
4097         * paragraph_funcs.C (isFirstInSequence): ...to here
4098
4099         * paragraph.C (outerHook): move from here...
4100         * paragraph_funcs.C (outerHook): ...to here
4101
4102         * paragraph.C (depthHook): move from here...
4103         * paragraph_funcs.C (depthHook): ...to here
4104
4105         * paragraph.C (getEndLabel): move from here...
4106         * paragraph_funcs.C (getEndLabel): ...to here
4107
4108         * text2.C (realizeFont): move from here...
4109         * paragraph_funcs.C (realizeFont): ...to here
4110
4111 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4112
4113         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4114
4115 2003-04-14  Angus Leeming  <leeming@lyx.org>
4116
4117         * LColor.[Ch]: scrap LColor mathcursor.
4118
4119 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4120
4121         * lyxlex.[Ch] (text): delete function
4122         * trans.C (Load): adjust
4123         * paragraph_funcs.C (readParToken): adjust
4124
4125 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4126
4127         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4128         vector<char> instead of a char[].
4129
4130         * lyxlex_pimpl.C (getString): adjust
4131         (next): adjust
4132         (lex): use getString
4133         (eatLine): adjust
4134         (nextToken): adjust
4135
4136         * lyxlex.C (text): use pimpl_->getString()
4137         (getBool): ditto
4138         (findToken): ditto
4139
4140 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4141
4142         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4143         (makeFontEntriesLayoutSpecific): temp var for par.size()
4144         (setLayout): temp var for ownerParagraphs().end()
4145         (fullRebreak): temp var for rows().end()
4146         (selectionAsString): temp var for boost::next(startpit), realize
4147         that the while really is a regular for loop.
4148         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4149         setCursor in one place.
4150         (setParagraph): temp vr for ownerParagraphs().end()
4151         (updateCounters): make the while loop a for loop
4152         (cutSelection): temp var for ownerParagraphs().end()
4153         (updateInset): make the do {} while() a regular for loop
4154         (getCursorX): use temp vars
4155         (setCurrentFont): use temp vars
4156         (getColumnNearX): use temp vars
4157
4158 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4159
4160         * text.C (transformChar): use temp var for getChar
4161         (computeBidiTables): use temp var for row->par()
4162         (fill): move temp vars for row->par() and pit->layout() earlier in
4163         the function.
4164         (labelFill): use temp var for row->par()
4165         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4166         asc and desc, realize that pit never changes and that firstpit is
4167         just a duplicate and not needed. Exchange rit->par() with pit in a
4168         lot of places.
4169         (breakAgain): use a temp var for boost::next(rit)
4170         (breakAgainOneRow): ditto
4171         (breakParagraph): use a temp var for rows().begin()
4172         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4173         (cursorRightOneWord): use temp var for cursor.par() and
4174         cursor.pos(), remove usage of tmpcursor.
4175         (cursorLeftOneWord): use temp var for cursor.par() and
4176         cursor.pos() only set cur at end of function.
4177
4178 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4179
4180         * text.C, text2.C: exchange all usage of Paragraph::next with
4181         boost::next(ParagraphList::iterator)
4182
4183         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4184
4185         * text2.C (cursorTop): simplify implementation
4186         (cursorBottom): ditto
4187         (setParagraph): use ParagraphList::iterator
4188         (setCurrentFont): adjust
4189         (getColumnNearX): adjust
4190         (cursorRight): adjust
4191         (cursorLeft): remove usage of Paragraph::previous
4192         (cursorUpParagraph): ditto
4193         (deleteEmptyParagraphMechanism): slight cleanup
4194
4195         * text.C (isBoundary): take a Paragraph const & instead of a
4196         pointer as arg.
4197         (addressBreakPoint): ditto
4198         (leftMargin): remove usage of Paragraph::previous.
4199         (setHeightOfRow): ditto
4200         (cursorLeftOneWord): ditto
4201         (selectNextWordToSpellcheck): ditto
4202         (Delete): ditto
4203         (backspace): ditto
4204         (breakParagraph): remove one usage of Paragraph::next
4205         (redoParagraph): ditto
4206         (acceptChange): ditto
4207         (insertChar): adjust
4208         (rowBreakPoint): adjust
4209
4210         * bufferview_funcs.C (toggleAndShow): adjust
4211
4212 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4213
4214         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4215         methods to access it.
4216         * lyxtext.h:
4217         * text.C: Added updateRowPositions to compute all row positions.
4218         Make top_y and getRowNearY() to use the cached y position
4219
4220 2003-04-11  John Levon  <levon@movementarian.org>
4221
4222         * text.C (rowBreakPoint): reintroduce the labelEnd
4223         checks, code copied from the row fill stuff. Deep voodoo.
4224
4225         * text.C (fill): add a comment and debugging for the
4226         next poor soul.
4227
4228 2003-04-11  John Levon  <levon@movementarian.org>
4229
4230         * text.C: make sure fullrow insets get wrapped to the next line,
4231         even when they're in a manual label
4232
4233 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4234
4235         * text2.C (insertParagraph): make it take ParagraphList::iterator
4236         as arg.
4237         (setLayout): make it return ParagraphList::iterator
4238         (redoParagraphs): ditto
4239         (setCounter): ditto
4240         (checkParagraph): ditto
4241
4242         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4243
4244         * text2.C: adjust several funcs.
4245         (realizeFont): take a ParagraphList::iterator as arg.
4246         (getLayoutFont): ditto
4247         (getLabelFont): ditto
4248         (setCharFont): ditto
4249
4250         * text.C: adjust several funcs.
4251
4252 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4253
4254         * text.C (selectNextWordToSpellcheck): don't accidentally
4255         skip insets
4256
4257 2003-04-10  John Levon  <levon@movementarian.org>
4258
4259         * ToolbarBackend.C (getIcon): special handling for
4260         LFUN_MATH_DELIM
4261
4262 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4263
4264         * text2.C (cursorRight): a getChar assert fixed
4265
4266 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4267
4268         * text2.C (getFont): change to take a ParagraphList::iterator
4269         instead of Paragraph*
4270         Adjust several functions.
4271
4272         * text.C (transformChar): change to take a ParagraphList::iterator
4273         instead of Paragraph*
4274         (singleWidth): ditto
4275         Adjust several functions.
4276
4277         * rowpainter.C: adjust several functions
4278         * rowpainter.h:store a ParagraphList::iterator and not a
4279         Paragraph&.
4280
4281
4282 2003-04-09  John Levon  <levon@movementarian.org>
4283
4284         * lyxfunc.C:
4285         * lfuns.h:
4286         * LyXAction.h:
4287         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4288         and the "help" bits as well
4289
4290 2003-04-09  John Levon  <levon@movementarian.org>
4291
4292         * ToolbarBackend.h:
4293         * ToolbarBackend.C: allow multiple toolbars
4294
4295 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4296
4297         * undo_funcs.C (setCursorParUndo): adjust
4298
4299         * text_funcs.C (transposeChars): adjust
4300
4301         * text3.C (gotoNextInset): adjust
4302         (dispatch): adjust
4303
4304         * text2.C (setLayout): adjust
4305         (changeDepth): adjust
4306         (setFont): adjust
4307         (redoParagraphs): adjust
4308         (selectionAsString): adjust
4309         (setParagraph): adjust
4310         (insertInset): adjust
4311         (cutSelection): adjust
4312         (copySelection): adjust
4313         (pasteSelection): adjust
4314         (insertStringAsLines): adjust
4315         (updateInset): adjust
4316         (setCursor): change to take a ParagraphList::iterator parameter
4317         (setCursorIntern): change to take a ParagraphList::iterator parameter
4318         (setCurrentFont): adjust
4319         (cursorLeft): adjust
4320         (cursorRight): adjust
4321         (deleteEmptyParagraphMechanism): adjust
4322
4323         * text.C (breakParagraph): adjust
4324         (insertChar): adjust
4325         (acceptChange): adjust
4326         (rejectChange): adjust
4327         (selectNextWordToSpellcheck): adjust
4328         (changeCase): adjust
4329         (Delete): adjust
4330         (backspace): adjust
4331
4332         * lyxfind.C (SearchForward): adjust
4333         (SearchBackward): adjust
4334         (nextChange): adjust
4335
4336         * lyxcursor.C (par): adjust
4337
4338         * lyxcursor.h: store a ParagraphList::iterator instead of a
4339         Paragraph*
4340
4341         * lyx_cb.C (getPossibleLabel): adjust
4342
4343         * bufferview_funcs.C (toggleAndShow): adjust
4344
4345         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4346         (dispatch): adjust
4347
4348         * BufferView.C (removeAutoInsets): adjust
4349         (lockedInsetStoreUndo): adjust
4350
4351 2003-04-09  John Levon  <levon@movementarian.org>
4352
4353         * ToolbarBackend.C: try icon without argument
4354         if with argument fails
4355
4356 2003-04-08  John Levon  <levon@movementarian.org>
4357
4358         * ToolbarBackend.h:
4359         * ToolbarBackend.C: add getIcon(), handle tooltip,
4360         and change from "Icon" to "Item".
4361
4362 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4363
4364         * BufferView.C (lockInset): another bad getchar crunched
4365
4366 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4367
4368         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4369         again)
4370
4371 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4372
4373         * lyxfind.C (searchForward, searchBackwards): bug 782
4374
4375 2003-04-07  John Levon  <levon@movementarian.org>
4376
4377         * paragraph.C: remove dead comment
4378
4379         * text.C: remove troublesome depth-fiddling code
4380         in leftMargin() and rightMargin() (bug 1017)
4381
4382         * text.C: fix breaking of rows in nested lists
4383         (bug 1004)
4384
4385         * text2.C (updateCounters): fix up depth values
4386         (bug 1013)
4387
4388 2003-04-07  John Levon  <levon@movementarian.org>
4389
4390         * BufferView_pimpl.C: clear message when doc finishes resizing,
4391         and after a mouse event
4392
4393         * lyxfunc.C: clear message after exiting inset
4394
4395 2003-04-07  John Levon  <levon@movementarian.org>
4396
4397         * bufferview_funcs.C: show math status not outside
4398         status in the statusbar
4399
4400 2003-04-07  John Levon  <levon@movementarian.org>
4401
4402         * lyxfunc.C: note status changed after a depth change
4403
4404 2003-04-04  Angus Leeming  <leeming@lyx.org>
4405
4406         * LaTeX.h: move AuxInfo operator==, != out of line.
4407         Remove LaTeX virtual destructor; nothing derives from it.
4408         Move operator()() out of public area and rename it startscript().
4409         Change protected for private.
4410
4411 2003-04-04  Angus Leeming  <leeming@lyx.org>
4412
4413         * lyxfunc.C:
4414         * text2.C: remove unneeded #includes.
4415
4416 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4417
4418         * text2.C (dEPM): fix the heigth of the next row
4419
4420 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4421
4422         * text.C: squashed an invalid getChar requester + some ws changes
4423
4424 2003-04-03  John Levon  <levon@movementarian.org>
4425
4426         * bufferview_funcs.h:
4427         * bufferview_funcs.C:
4428         * lyxfunc.C:
4429         * lyxtext.h:
4430         * text2.C: make getStatus work for the env depth lfuns
4431
4432 2003-04-03  John Levon  <levon@movementarian.org>
4433
4434         * bufferview_funcs.h:
4435         * bufferview_funcs.C:
4436         * lyxfunc.C:
4437         * lyxtext.h:
4438         * text2.C: parlistize decDepth(), by merging it with incDepth()
4439
4440 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4441
4442         * lyxrow.h: store a ParagraphList::iterator instead of a
4443         Paragraph* and adjust other class functions to suit.
4444
4445         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4446         above.
4447
4448 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4449
4450         * text2.C (setCursor): do not anchor to cursor row for the time being
4451
4452 2003-04-02  John Levon  <levon@movementarian.org>
4453
4454         * LyXAction.C:
4455         * lfuns.h:
4456         * lyx_main.C:
4457         * lyxtext.h:
4458         * text.C:
4459         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4460
4461 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4462
4463         * paragraph.h: make ParagraphList and ParagraphList::iterator
4464         friends of Paragraph.
4465
4466         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4467
4468         * ParagraphList.C: Use the private next_ and previous_ from
4469         Paragraph.
4470
4471 2003-04-01  John Levon  <levon@movementarian.org>
4472
4473         * ToolbarBackend.h:
4474         * ToolbarBackend.C:
4475         * Makefile.am: rename, remove defaults gunk
4476
4477         * MenuBackend.h:
4478         * MenuBackend.C: remove defaults gunk
4479
4480         * Languages.h:
4481         * Languages.C: remove defaults gunk
4482
4483         * lyx_main.h:
4484         * lyx_main.C: error out if files couldn't be found.
4485
4486 2003-04-02  John Levon  <levon@movementarian.org>
4487
4488         * text2.C: make incDepth() use parlist
4489
4490 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4491
4492         * undo_funcs.C (firstUndoParagraph): adjust
4493
4494         * text3.C (gotoInset): adjust
4495         (dispatch): adjust, and rewrite loop.
4496
4497         * text2.C (init): adjust, and rewrite loop.
4498         (redoParagraphs): adjust
4499         (updateInset): adjust, and rewrite loop.
4500         (deleteEmptyParagraphMechanism): adjust
4501
4502         * tabular.C (LyXTabular): adjust
4503         (SetMultiColumn): adjust
4504         (TeXRow): adjust
4505
4506         * lyxtext.[Ch] (ownerParagraph): delete function
4507         (ownerParagraphs): new function returns a ParagraphList.
4508
4509         * BufferView.C (removeAutoInsets): adjust
4510         (insertErrors): adjust
4511         (setCursorFromRow): adjust
4512
4513 2003-04-01  Angus Leeming  <leeming@lyx.org>
4514
4515         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4516         in the frontends.
4517
4518 2003-04-02  John Levon  <levon@movementarian.org>
4519
4520         * lyxtext.h:
4521         * text.C:
4522         * Makefile.am:
4523         * text_funcs.h:
4524         * text_funcs.C: make transposeChars a free function
4525
4526         * lyxrow_funcs.C: remove wrong comment
4527
4528 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4529
4530         * lyxtext.h: adjust
4531         * rowpainter.C: adjust
4532         * text.C: adjust
4533         * text2.C: adjust
4534         * text3.C: adjust
4535
4536         * lyxrow_funcs. [Ch]: new files
4537
4538         * lyxrow.[Ch]: remove next and previous pointers
4539         (next,previous): remove accessor functions
4540         (isParEnd): move to lyxrow_funcs
4541         (lastPos): move to lyxrow_funcs
4542         (nextRowIsAllInset): move to lyxrow_funcs
4543         (lastPrintablePos): move to lyxrow_funcs
4544         (numberOfSeparators): move to lyxrow_funcs
4545         (numberOfHfills): move to lyxrow_funcs
4546         (numberOfLabelHfills): move to lyxrow_funcs
4547         (hfillExpansion): move to lyxrow_funcs
4548
4549         * lyxfunc.C: adjust
4550
4551         * bufferview_funcs.C (toggleAndShow): adjust
4552
4553         * RowList.h: Remove class RowList from file leave just a
4554         std::list<Row>.
4555
4556         * RowList.C: delete file
4557
4558         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4559         and lyxrow_funcs.h
4560
4561 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4562
4563         * text3.C (cursorPrevious): adjust
4564         (cursorNext): adjust
4565         (dispatch): adjust
4566
4567         * text2.C (redoHeightOfParagraph): adjust
4568         (redoDrawingOfParagraph): adjust
4569         (setCursor): adjust
4570
4571         * text.C (breakParagraph): adjust
4572         (insertChar): adjust
4573         (backspace): adjust
4574
4575         * rowpainter.C (RowPainter): adjust
4576         (leftMargin): simplify and adjust
4577         (most rowpainter functions): adjust.
4578
4579         * rowpainter.h: store the row as RowList::iterator not as Row*
4580
4581         * lyxcursor.C (row): taka RowList::iterator as arg
4582         (irow): ditto
4583
4584         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4585         of Row*.
4586
4587 2003-04-01  Angus Leeming  <leeming@lyx.org>
4588
4589         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4590         stuff like bool Bool.
4591
4592 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4593
4594         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4595         rewrite a loop
4596
4597 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4598
4599         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4600         RowList::iterator.
4601
4602         * lyxtext.h (rows): drop one version and leve a const variant that
4603         returns a RowList::iterator.
4604
4605 2003-03-31  Angus Leeming  <leeming@lyx.org>
4606
4607         * text.C (fill): ensure that the signature is the same as that in the
4608         header file.
4609
4610 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4611
4612         * text2.C (redoParagraphs): adjust
4613         (updateCounters): adjust
4614         (checkParagraph): adjust
4615         (getColumnNearX): adjust and reformat a bit.
4616
4617         * text.C (top_y): adjust
4618         (workWidth): adjust
4619         (leftMargin): adjust
4620         (prepareToPrint): adjust
4621         (getRow): adjust
4622         (getRowNearY): adjust
4623
4624         * lyxtext.h: make rowlist_ mutable.
4625
4626         * RowList.h: add const_iterator
4627         * RowList.C: adjust for RowList::const_iterator.
4628
4629         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4630         adjust.
4631
4632 2003-03-31  John Levon  <levon@movementarian.org>
4633
4634         * lyxrc.h:
4635         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4636
4637         * lyx_main.C: set default fonts from using lyx_gui funcs
4638
4639         * exporter.C: pdf_mode moved from lyxrc
4640
4641         * lyx_cb.C:
4642         * lyxfunc.C: changes from above
4643
4644 2003-03-31  John Levon  <levon@movementarian.org>
4645
4646         * lyx_main.C: fix to the last fix
4647
4648 2003-03-31  John Levon  <levon@movementarian.org>
4649
4650         * bufferlist.C: "Load original" -> "Load Original"
4651
4652         * converter.C:
4653         * exporter.C:
4654         * importer.C:
4655         * lyx_main.C:
4656         * format.C: more Alert cleanups
4657
4658 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4659
4660         * text2.C (removeParagraph): make it take a RowList::iterator as
4661         arg, adjust.
4662         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4663         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4664
4665         * text.C (anchor_row): make it take a RowList::iterator as arg,
4666         adjust.
4667         (computeBidiTables): make it take a const reference to Row instead
4668         of Row pointer, adjust.
4669         (leftMargin): make it take a RowList::iterator as arg, adjust.
4670         (rowBreakPoint): adjust
4671         (breakAgainOneRow): make it take a RowList::iterator as arg,
4672         adjust.
4673         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4674
4675         * bufferview_funcs.C (toggleAndShow): adjust
4676
4677 2003-03-30  John Levon  <levon@movementarian.org>
4678
4679         * Makefile.am:
4680         * BoostFormat.h:
4681         * boost-inst.C: moved to support
4682
4683         * several files: changes as a result
4684
4685 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4686
4687         * text2.C (LyXText): adjust.
4688         (init): adjust
4689         (removeRow): make it take a RowList::iterator as arg, adjust.
4690         (fullRebreak): adjust
4691         (deleteEmptyParagraphMechanism): adjust
4692         (clearPaint): adjust
4693         (postPaint): adjust
4694
4695         * text.C (top_y): adjust
4696         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4697         (breakAgain): make it take a RowList::iterator as arg, adjust.
4698         (breakParagraph): adjust
4699         (insertChar): adjust
4700         (backspace): adjust
4701
4702         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4703         need_break_row, and refresh_row.
4704
4705         * text3.C (dispatch): adjust
4706
4707         * text2.C (checkParagraph): adjust
4708         (setCursor): adjust
4709         (setCursorFromCoordinates): adjust
4710
4711         * text.C (top_y): adjust
4712         (workWidth): adjust
4713         (getRow): make it return a RowList::iterator, adjust
4714         (getRowNearY): make it return a RowList::iterator, adjust
4715
4716         * text2.C (init): adjust
4717         (insertRow): remove function
4718         (insertParagraph): adjust
4719         (redoParagraphs): adjust
4720         (fullRebreak): adjust
4721         (updateCounters): adjust
4722
4723         * text.C (top_y): rewrite to use RowList iterators.
4724         (top_y): adjust
4725         (setHeightOfRow): rewrite to sue RowList iterators.
4726         (appendParagraph): adjust
4727         (breakAgain): adjust
4728         (breakAgainOneRow): adjust
4729         (breakParagraph): adjust
4730         (getRow): adjust
4731         (getRowNearY): adjust, and remove commented code.
4732
4733         * lyxtext.h (firstRow): delete function
4734         (lastRow): delete function
4735         (rows): new function (const and non-const versions.)
4736         (insertRow): delete function
4737
4738         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4739
4740 2003-03-29  John Levon  <levon@movementarian.org>
4741
4742         * BufferView_pimpl.C: always update scrollbar top
4743         because pasting text when we're anchored could mean we
4744         miss an update altogether
4745
4746 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4747
4748         * text2.C (init): use rowlist_.end() and not 0.
4749         (insertRow): change to take a RowList::iterator as arg, adjust
4750         for this.
4751         (insertParagraph): change to take a RowList::iterator as arg,
4752         adjust for this.
4753         (redoParagraphs): remove some debug msgs.
4754
4755         * text.C (appendParagraph): change to take a RowList::iterator
4756         arg, adjust for this.
4757         (breakAgain): add an assert
4758         (breakAgainOneRow): ditto
4759
4760 2003-03-29  John Levon  <levon@movementarian.org>
4761
4762         * text2.C: do not clear selection after inc/decDepth
4763         (bug 550)
4764
4765 2003-03-29  John Levon  <levon@movementarian.org>
4766
4767         * BufferView.C:
4768         * buffer.C: fix broken strerrors according to Lars
4769
4770 2003-03-29  John Levon  <levon@movementarian.org>
4771
4772         * converters.C: more Alert cleanups
4773
4774 2003-03-29  John Levon  <levon@movementarian.org>
4775
4776         * bufferview_funcs.C: remove pointless Alert
4777
4778         * buffer.C: fix confusing error message when
4779         a template is chmoded 000
4780
4781 2003-03-29  John Levon  <levon@movementarian.org>
4782
4783         * BufferView.C:
4784         * BufferView.h:
4785         * BufferView_pimpl.C: Alert fixes
4786
4787         * Makefile.am:
4788         * tabular.C:
4789         * tabular-old.C: remove unused table compat reading
4790
4791 2003-03-29  John Levon  <levon@movementarian.org>
4792
4793         * BufferView.C:
4794         * buffer.C:
4795         * lyx_cb.h:
4796         * lyx_cb.C: more Alert cleanups
4797
4798         * lyxfunc.C: don't allow chktex if not latex document
4799
4800 2003-03-29  John Levon  <levon@movementarian.org>
4801
4802         * lyx_cb.C:
4803         * BufferView.C:
4804         * buffer.C: warnings pushed down from support/,
4805         kill err_alert
4806
4807 2003-03-29  John Levon  <levon@movementarian.org>
4808
4809         * lyxfunc.C: safety check for C-r (revert)
4810
4811 2003-03-29  John Levon  <levon@movementarian.org>
4812
4813         * bufferlist.h:
4814         * bufferlist.C: several UI fixes using Alert::prompt.
4815         Fix the pointless looping quit code. Fix stupid revert
4816         behaviour (bug 938)
4817
4818         * lyxvc.h:
4819         * lyxvc.C:
4820         * lyx_cb.C: use Alert::prompt
4821
4822         * lyx_main.C: remove a silly question
4823
4824         * lyxfunc.C: remove a couple of silly questions,
4825         use Alert::prompt
4826
4827 2003-03-28  John Levon  <levon@movementarian.org>
4828
4829         * text2.C: fix bug 974 (End on empty par)
4830
4831 2003-03-28  John Levon  <levon@movementarian.org>
4832
4833         * BufferView_pimpl.C:
4834         * LyXAction.C:
4835         * lfuns.h: remove do-nothing math greek lfuns
4836
4837 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4838
4839         * lyxgluelength.h (isValidGlueLength): add default arg on
4840         parameter 2. Remove default arg from friend in class.
4841
4842         * lyxlength.h (isValidLength): add default arg on parameter 2.
4843         Remove default arg from friend in class.
4844
4845         * text2.C (LyXText): adjust, initialize refresh_row.
4846         (init): adjust
4847         (removeRow): adjust
4848         (insertRow): adjust
4849         (insertParagraph): adjst
4850         (redoParagraphs): adjust
4851         (fullRebreak): adjust
4852         (updateCounters): adjust
4853         (deleteEmptyParagraphMechanism): first attempt at fixing a
4854         crashing bug.
4855
4856         * text.C (top_y): adjust
4857         (setHeightOfRow): adjust
4858         (getRow): adjust
4859         (getRowNearY): adjust
4860
4861         * lyxtext.h: include RowList.h
4862         (~LyXText): not needed anymore, deleted.
4863         (firstRow): modify for RowList
4864         (lastRow): new function
4865         Delete firstrow and lastrow class variables, add a Rowlist
4866         rowlist_ class variable.
4867
4868         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4869         paragraph is empty.
4870
4871         * RowList.C (insert): fix case where it == begin().
4872
4873 2003-03-26  Angus Leeming  <leeming@lyx.org>
4874
4875         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4876         the thesaurus dialog.
4877
4878 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4879
4880         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4881
4882         * RowList.[Ch]: new files
4883
4884         * ParagraphList.C (erase): handle the case where it == begin
4885         correctly.
4886
4887 2003-03-25  John Levon  <levon@movementarian.org>
4888
4889         * Makefile.am:
4890         * aspell_local.h:
4891         * aspell.C: add new aspell support
4892
4893         * lyxrc.h:
4894         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4895         have it accessible.
4896
4897 2003-03-25  Angus Leeming  <leeming@lyx.org>
4898
4899         * lfuns.h:
4900         * LyXAction.C (init): new LFUN_INSET_INSERT.
4901
4902         * BufferView_pimpl.C (dispatch): split out part of the
4903         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4904
4905         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4906         LFUN_INSET_APPLY.
4907
4908 2003-03-25  Angus Leeming  <leeming@lyx.org>
4909
4910         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4911
4912 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4913
4914         * text2.C:
4915         * text3.C: remove useless row->height(0)
4916
4917 2003-03-25  John Levon  <levon@movementarian.org>
4918
4919         * lyxtext.h:
4920         * text2.C:
4921         * text3.C: rename the refreshing stuff to better names
4922
4923 2003-03-24  John Levon  <levon@movementarian.org>
4924
4925         * BufferView_pimpl.h:
4926         * BufferView_pimpl.C: update layout choice on a mouse
4927         press/release
4928
4929 2003-03-23  John Levon  <levon@movementarian.org>
4930
4931         * Makefile.am: fix commandtags.h reference
4932
4933 2003-03-22  John Levon  <levon@movementarian.org>
4934
4935         * BufferView_pimpl.C:
4936         * lyxtext.h:
4937         * rowpainter.C:
4938         * rowpainter.h:
4939         * text.C:
4940         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4941
4942 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4943
4944         * lyxtext.h:
4945         * text.C: take the rtl methods out of line
4946
4947 2003-03-21 André Pönitz <poenitz@gmx.net>
4948
4949         * metricsinfo.[Ch]: new files containing structures to be passed around
4950         during the two-phase-drawing...
4951
4952 2003-03-21 André Pönitz <poenitz@gmx.net>
4953
4954         * lyxtextclass.C: read 'environment' tag.
4955
4956 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4957
4958         * text2.C (removeRow): fix bug 964
4959
4960 2003-03-20  John Levon  <levon@movementarian.org>
4961
4962         * rowpainter.C:
4963         * text.C:
4964         * text2.C: paint cleanups. Inset::update() dropped font
4965         parameter
4966
4967 2003-03-19  John Levon  <levon@movementarian.org>
4968
4969         * lyxfunc.C: only fitcursor/markDirty if available()
4970
4971 2003-03-19  John Levon  <levon@movementarian.org>
4972
4973         * commandtags.h: rename to ...
4974
4975         * lfuns.h: ... this, and renumber / cleanup
4976
4977 2003-03-19  John Levon  <levon@movementarian.org>
4978
4979         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4980         fit the cursor after an lfun
4981
4982         * BufferView.h:
4983         * BufferView.C:
4984         * BufferView_pimpl.h:
4985         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4986
4987         * LyXAction.C: layout-character should have ReadOnly
4988
4989         * ParagraphParameters.C:
4990         * buffer.C:
4991         * bufferview_funcs.C:
4992         * lyx_cb.C:
4993         * lyxfind.C:
4994         * lyxtext.h:
4995         * text.C:
4996         * text2.C:
4997         * text3.C:
4998         * undo_funcs.C: changes from above
4999
5000 2003-03-18  John Levon  <levon@movementarian.org>
5001
5002         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5003         remove it from update()
5004
5005         * lyxfunc.C: update layout choice after an lfun
5006
5007         * text3.C: remove extra updateLayoutChoice()s
5008
5009 2003-03-18  John Levon  <levon@movementarian.org>
5010
5011         * text.C: top_y change means full repaint, fix
5012         a drawing bug with cursor movement
5013
5014 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5015
5016         * lyxtext.h:
5017         * text.C:
5018         * text2.C: anchor row on setCursor
5019
5020 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5021
5022         * lyxtext.h: remove almost all mutable keywords
5023         * text.C:
5024         * text2.C:
5025         * text3.C: remove const keywords accordingly
5026
5027 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5028
5029         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5030         anon namespace
5031         (TeXEnvironment): ditto
5032         (TeXOnePar): ditto
5033
5034 2003-03-17  John Levon  <levon@movementarian.org>
5035
5036         * text.C (rowBreakPoint): remove attempt to fix displayed
5037         math insets inside a manual label
5038
5039 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5040
5041         * lyxtext.h: remove BufferView* as first arg from almost all class
5042         functions.
5043         * other files: adjust.
5044
5045 2003-03-17  John Levon  <levon@movementarian.org>
5046
5047         * lyxtext.h:
5048         * undo_funcs.C:
5049         * text2.C: more paint cleanups
5050
5051         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5052
5053         * rowpainter.h:
5054         * rowpainter.C: remove "smart" background painting code
5055
5056 2003-03-16  John Levon  <levon@movementarian.org>
5057
5058         * lyxtext.h:
5059         * text.C:
5060         * text2.C:
5061         * text3.C: add helper functions for setting refresh_row/y
5062
5063 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5064
5065         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5066         newline inset which *can* get inserted in the pass_thru layouts.
5067         This is primarily for literate documents.
5068
5069 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5070
5071         * buffer.C: increment LYX_FORMAT to 223
5072
5073 2003-03-14 André Pönitz <poenitz@gmx.net>
5074
5075         * textclass.h: prepare for environment handling, ws changes
5076         * lyxlayout.C: read latexheader and latexfooter tags
5077
5078 2003-03-14  John Levon  <levon@movementarian.org>
5079
5080         * text2.C: rewrite ::status() a bit
5081
5082 2003-03-13  John Levon  <levon@movementarian.org>
5083
5084         * lyxtext.h: add some docs
5085
5086 2003-03-13  John Levon  <levon@movementarian.org>
5087
5088         * lyxtext.h:
5089         * text.C:
5090         * text2.C:
5091         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5092
5093 2003-03-13  John Levon  <levon@movementarian.org>
5094
5095         * text3.C: fix appendix redrawing
5096
5097 2003-03-13  John Levon  <levon@movementarian.org>
5098
5099         * text.C (setHeightOfRow):
5100         * rowpainter.h:
5101         * rowpainter.C: make appendix mark have the text
5102           "Appendix" so the user knows what it is
5103
5104         * LColor.h:
5105         * LColor.C: s/appendixline/appendix/ from above
5106
5107 2003-03-13  John Levon  <levon@movementarian.org>
5108
5109         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5110
5111         * text.C: fix a getChar(pos) bug properly
5112
5113 2003-03-13  Angus Leeming  <leeming@lyx.org>
5114
5115         * commandtags.h:
5116         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5117         Probably only temporary. Let's see how things pan out.
5118
5119         * BufferView.C (unlockInset):
5120         * BufferView_pimpl.C (fitCursor):
5121         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5122
5123         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5124         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5125
5126         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5127         new functions that convert ParagraphParameters to and from a string.
5128
5129         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5130         BufferView::Pimpl's dispatch.
5131         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5132
5133 2003-03-13 André Pönitz <poenitz@gmx.net>
5134
5135         * lyxfunc.C:
5136         * text3.C:
5137         * factory.C: make it aware of InsetEnv
5138
5139 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5140
5141         * text2.C (setCursor): never ask for one past last
5142         (setCursor): add some debugging messages.
5143
5144         * text.C (singleWidth): never ask for one past last
5145         (singleWidth): ditto
5146         (leftMargin): ditto
5147         (rightMargin): ditto
5148         (rowBreakPoint): ditto
5149         (setHeightOfRow): ditto
5150         (prepareToPrint): ditto
5151
5152         * rowpainter.C (paintBackground): never ask for one past last
5153         (paintText): never ask for one past last
5154
5155         * paragraph_pimpl.C (getChar): make the assert stricter, never
5156         allow the one past last pos to be taken
5157
5158         * paragraph.C (getChar): ws changes only
5159
5160         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5161         (numberOfSeparators): ditto
5162         (numberOfHfills): ditto
5163
5164 2003-03-12  John Levon  <levon@movementarian.org>
5165
5166         * author.h:
5167         * author.C:
5168         * bufferparams.h:
5169         * bufferparams.C:
5170         * paragraph_funcs.C: fix per-buffer authorlists
5171
5172 2003-03-12  John Levon  <levon@movementarian.org>
5173
5174         * text.C: fix newline in right address
5175
5176 2003-03-12  Angus Leeming  <leeming@lyx.org>
5177
5178         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5179         duplicate those in LyXFunc::dispatch.
5180
5181         * commandtags.h:
5182         * LyXAction.C:
5183         * ToolbarDefaults.C:
5184         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5185         Add LFUN_FONTFREE_UPDATE.
5186
5187         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5188         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5189
5190         * bufferview_func.[Ch]: several new functions to facilliate
5191         transfer of data to and from the character dialog.
5192
5193 2003-03-12  John Levon  <levon@movementarian.org>
5194
5195         * buffer.C:
5196         * paragraph.h:
5197         * paragraph.C:
5198         * paragraph_funcs.C:
5199         * paragraph_pimpl.C:
5200         * sgml.C:
5201         * tabular.C:
5202         * text.C:
5203         * text3.C: remove META_NEWLINE in favour of an inset
5204
5205         * rowpainter.h:
5206         * rowpainter.C: remove paintNewline (done by inset)
5207
5208 2003-03-12  John Levon  <levon@movementarian.org>
5209
5210         * paragraph_pimpl.C: complain about bad getChar()s
5211         for a while at least
5212
5213 2003-03-12  John Levon  <levon@movementarian.org>
5214
5215         * buffer.h:
5216         * buffer.C: move paragraph read into a separate function,
5217         a little renaming to reflect that.
5218
5219         * bufferparams.h:
5220         * bufferparams.C: remove the author_ids map, not necessary now
5221
5222         * factory.h:
5223         * factory.C: moved Buffer::readInset to here
5224
5225         * paragraph_funcs.h:
5226         * paragraph_funcs.C: readParagraph free function moved from
5227         buffer.C
5228
5229         * tabular.C: name change
5230
5231 2003-03-12  John Levon  <levon@movementarian.org>
5232
5233         * buffer.C:
5234         * ParagraphParameters.C: move par params input to
5235         a read() method
5236
5237         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5238         behave like a normal read from the stream wrt reading
5239         a line vs. a \\token
5240
5241 2003-03-12  John Levon  <levon@movementarian.org>
5242
5243         * paragraph.C:
5244         * ParagraphParameters.h:
5245         * ParagraphParameters.C: move output code to a
5246         ::write() method
5247
5248 2003-03-12  John Levon  <levon@movementarian.org>
5249
5250         * BufferView.C (insertLyXFile):
5251         * buffer.h:
5252         * buffer.C:
5253         * tabular.C: use a parlist iterator for creating the
5254           document.
5255
5256 2003-03-12  John Levon  <levon@movementarian.org>
5257
5258         * buffer.C: make current_change static local not
5259           static file-scope
5260
5261 2003-03-12  John Levon  <levon@movementarian.org>
5262
5263         * buffer.C: fix insertStringAsLines for change tracking
5264
5265 2003-03-12  John Levon  <levon@movementarian.org>
5266
5267         * BufferView.C:
5268         * tabular.C:
5269         * buffer.h:
5270         * buffer.C:
5271         * bufferparams.h:
5272         * bufferparams.C: move author list into params. Rename some
5273           functions. Move the header reading into a separate token
5274           loop. Move the header token reading into BufferParams.
5275
5276 2003-03-12  John Levon  <levon@movementarian.org>
5277
5278         * changes.C: put debug inside lyxerr.debugging() checks
5279
5280 2003-03-11 André Pönitz <poenitz@gmx.net>
5281
5282         * factory.C: make it aware of InsetHFill
5283
5284 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5285
5286         * buffer.C (latexParagraphs): move function from here...
5287         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5288         args.
5289
5290 2003-03-10  Angus Leeming  <leeming@lyx.org>
5291
5292         * LyXAction.C (init): fix bug in poplating array with multiple entries
5293         with the same LFUN (spotted by JMarc).
5294
5295 2003-03-10  John Levon  <levon@movementarian.org>
5296
5297         * text.C:
5298         * text2.C: move getColumnNearX() near its
5299         only call site
5300
5301 2003-03-10  John Levon  <levon@movementarian.org>
5302
5303         * text.C: fix break before a minipage
5304
5305 2003-03-10  John Levon  <levon@movementarian.org>
5306
5307         * text.C: fix the last commit
5308
5309 2003-03-09  John Levon  <levon@movementarian.org>
5310
5311         * lyxtext.h:
5312         * text.C:
5313         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5314         bug 365 (don't break before insets unless needed). Don't
5315         return a value > last under any circumstances.
5316
5317 2003-03-09  Angus Leeming  <leeming@lyx.org>
5318
5319         * BufferView_pimpl.C (trackChanges, dispatch): call
5320         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5321
5322 2003-03-09  Angus Leeming  <leeming@lyx.org>
5323
5324         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5325         than Dialogs::showAboutlyx().
5326
5327 2003-03-09  Angus Leeming  <leeming@lyx.org>
5328
5329         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5330         than Dialogs::showTabularCreate().
5331
5332 2003-03-09  John Levon  <levon@movementarian.org>
5333
5334         * lyxtext.h:
5335         * text.C:
5336         * text2.C: 3rd arg to nextBreakPoint was always the same.
5337           Use references.
5338
5339 2003-03-08  John Levon  <levon@movementarian.org>
5340
5341         * lyxrow.C:
5342         * paragraph.C:
5343         * paragraph.h:
5344         * rowpainter.C:
5345         * text.C:
5346         * text2.C: Remove the "main" bit from the "main body"
5347           notion.
5348
5349 2003-03-08  John Levon  <levon@movementarian.org>
5350
5351         * text.C (leftMargin): The left margin of an empty
5352         manual label paragraph should not include the label width
5353         string length.
5354
5355         * text.C (prepareToPrint): don't attempt to measure hfills
5356         for empty manual label paragraphs - the answer should be 0
5357
5358 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5359
5360         * CutAndPaste.C: remove commented code and reindent.
5361
5362 2003-03-08  John Levon  <levon@movementarian.org>
5363
5364         * lyxfunc.h:
5365         * lyxfunc.C: move reloadBuffer()
5366
5367         * BufferView.h:
5368         * BufferView.C: to here
5369
5370         * lyxvc.C: add comment
5371
5372         * vc-backend.h:
5373         * vc-backend.C: call bv->reload() to avoid
5374           getStatus() check on MENURELOAD
5375
5376 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5377
5378         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5379         to an old format .dep file.
5380
5381 2003-03-07  Angus Leeming  <leeming@lyx.org>
5382
5383         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5384         when the LFUN_MOUSE_RELEASE should have been handled by
5385         inset->localDispatch.
5386
5387 2003-03-07  Angus Leeming  <leeming@lyx.org>
5388
5389         * BufferView_pimpl.C (dispatch):
5390         * LyXAction.C (init):
5391         * ToolbarDefaults.C (init):
5392         * commandtags.h:
5393         * lyxfunc.C (getStatus):
5394         remove LFUN_INSET_GRAPHICS.
5395
5396         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5397
5398 2003-03-07  Angus Leeming  <leeming@lyx.org>
5399
5400         * commandtags.h:
5401         * LyXAction.C (init):
5402         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5403
5404         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5405
5406         * commandtags.h:
5407         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5408
5409         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5410         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5411
5412 2003-03-07  Angus Leeming  <leeming@lyx.org>
5413
5414         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5415         remove "ert".
5416
5417 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5418
5419         * ParagraphList.C (front): new function
5420         (back): implement
5421
5422 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5423
5424         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5425         and top_row_offset_. removed var first_y.
5426         * text.C (top_y):
5427         * text2.C (LyXText, removeRow):
5428         * text3.C:
5429         * BufferView_pimpl.C:
5430         use these methods instead of using first_y
5431
5432 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5433
5434         * text2.C (pasteSelection): adjust for checkPastePossible
5435
5436         * CutAndPaste.C: remove Paragraph * buf and replace with
5437         ParagraphList paragraphs.
5438         (DeleteBuffer): delete
5439         (cutSelection): change the tc type to textclass_type
5440         (copySelection): change the tc type to textclass_type
5441         (copySelection): adjust for ParagraphList
5442         (pasteSelection): change the tc type to textclass_type
5443         (pasteSelection): adjust for Paragraphlist
5444         (nrOfParagraphs): simplify for ParagraphList
5445         (checkPastePossible): simplify for ParagraphList
5446         (checkPastePossible): remove unused arg
5447
5448         * ParagraphList.C (insert): handle the case where there are no
5449         paragraphs yet.
5450
5451         * CutAndPaste.h: make CutAndPaste a namespace.
5452
5453         * text3.C (dispatch): adjust
5454
5455         * text.C (breakParagraph): add a ParagraphList as arg
5456
5457         * paragraph_funcs.C (breakParagraph): change to take a
5458         BufferParams and a ParagraphList as args.
5459         (breakParagraphConservative): ditto
5460         (mergeParagraph): ditto
5461         (TeXDeeper): add a ParagraphList arg
5462         (TeXEnvironment): ditto
5463         (TeXOnePar): ditto
5464
5465         * buffer.C (readLyXformat2): adjust
5466         (insertStringAsLines): adjust
5467         (latexParagraphs): adjust
5468
5469         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5470         (cutSelection): adjust
5471         (pasteSelection): adjust
5472
5473         * BufferView_pimpl.C (insertInset): adjust
5474
5475 2003-03-05  Angus Leeming  <leeming@lyx.org>
5476
5477         * commandtags.h:
5478         * LyXAction.C (init):
5479         * BufferView_pimpl.C (dispatch):
5480         * lyxfunc.C (getStatus):
5481         remove LFUN_CHILD_INSERT.
5482
5483         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5484
5485 2003-03-05  Angus Leeming  <leeming@lyx.org>
5486
5487         * commandtags.h:
5488         * LyXAction.C (init):
5489         * src/factory.C (createInset):
5490         * lyxfunc.C (getStatus):
5491         * text3.C (dispatch):
5492         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5493
5494         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5495
5496 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5497
5498         * ParagraphList.C (insert): handle insert right before end()
5499         (erase): fix cases where it can be first or last paragraph.
5500
5501 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5502
5503         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5504         Paragraph::next and Paragraph::previous
5505         (TeXOnePar): ditto
5506
5507         * text.C (breakParagraph): adjust
5508
5509         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5510         BufferParams& as arg.
5511         (breakParagraph): use ParagraphList::insert
5512         (breakParagraphConservative): take a Buffer* instead of a
5513         BufferParams& as arg.
5514         (breakParagraphConservative): use ParagraphList::insert.
5515
5516         * buffer.C (insertStringAsLines): un-const it
5517         (insertStringAsLines): adjust
5518
5519         * ParagraphList.C (insert): new function
5520
5521         * CutAndPaste.C (pasteSelection): adjust
5522
5523         * text.C (backspace): adjust
5524
5525         * tabular.C (SetMultiColumn): adjust
5526
5527         * CutAndPaste.C (cutSelection): adjust
5528         (pasteSelection): adjust
5529
5530         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5531         Buffer const * as arg
5532
5533         * ParagraphList.C (erase): new function
5534         * paragraph_funcs.C (mergeParagraph): use it
5535         (mergeParagraph): make it take a Buffer* instead of a
5536         BufferParams* as arg
5537
5538         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5539         as arg
5540         (breakParagraphConservative): ditto
5541
5542         * paragraph.h: remove the breakParagraph friend
5543
5544         * paragraph.C (eraseIntern): new function
5545         (setChange): new function
5546
5547         * paragraph_funcs.C (mergeParagraph): make it take a
5548         ParagraphList::iterator instead of a Paragraph *, adjust
5549         accordingly.
5550
5551         * paragraph.h: move an #endif so that the change tracking stuff
5552         also works in the NO_NEXT case.
5553
5554 2003-03-04  Angus Leeming  <leeming@lyx.org>
5555
5556         * commandtags.h:
5557         * LyXAction.C: new LFUN_INSET_MODIFY.
5558
5559         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5560         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5561
5562 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5563
5564         * several files: ws changes only
5565
5566         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5567         (TeXEnvironment): ditto
5568         (TeXDeeper): ditto
5569
5570         * buffer.C (makeLaTeXFile): adjust
5571         (latexParagraphs): make it take ParagraphList::iterator as args
5572
5573 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5574
5575         * buffer.C (latexParagraphs): adjust
5576
5577         * paragraph.C (TeXOnePar): move function...
5578         (optArgInset): move function...
5579         (TeXEnvironment): move function...
5580         * paragraph_pimpl.C (TeXDeeper): move function...
5581         * paragraph_funcs.C: ...here
5582
5583         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5584
5585 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5586
5587         * buffer.C (readInset): remove compability code for old Figure and
5588         InsetInfo insets
5589
5590 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5591
5592         * buffer.C: ws changes
5593         (readInset):
5594
5595         * BufferView_pimpl.C: ditto
5596         * author.C: ditto
5597         * buffer.h: ditto
5598         * bufferlist.h: ditto
5599         * changes.h: ditto
5600         * lyxfunc.C: ditto
5601
5602 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5603
5604         * converter.[Ch]: split into itself +
5605         * graph.[Ch]
5606         * format.[Ch]
5607         * Makefile.am: += graph.[Ch] + format.[Ch]
5608         * MenuBackend.C
5609         * buffer.C
5610         * exporter.C
5611         * importer.C
5612         * lyx_main.C
5613         * lyxfunc.C
5614         * lyxrc.C: added #include "format.h"
5615
5616 2003-02-27  Angus Leeming  <leeming@lyx.org>
5617
5618         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5619           a label.
5620
5621         * factory.C (createInset): add "label" to the factory.
5622
5623         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5624           string and do no more.
5625
5626 2003-02-27  Angus Leeming  <leeming@lyx.org>
5627
5628         * commandtags.h:
5629         * LyXAction.C (init):
5630         * factory.C (createInset):
5631         * BufferView_pimpl.C (dispatch):
5632           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5633
5634         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5635
5636         * lyxfunc.C (dispatch):
5637         * text3.C (dispatch): pass name to params2string.
5638
5639 2003-02-26  Angus Leeming  <leeming@lyx.org>
5640
5641         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5642           blocks together.
5643           Rearrange the ~includes. Strip out the unnecessary ones.
5644
5645         * factory.C (createInset): reformat.
5646           create new insets for the various LFUN_XYZ_APPLY lfuns.
5647
5648 2003-02-26  John Levon  <levon@movementarian.org>
5649
5650         * lyxrow.h:
5651         * lyxrow.C: add isParStart,isParEnd helpers
5652
5653         * paragraph.h: make isInserted/DeletedText take refs
5654
5655         * paragraph_funcs.h:
5656         * paragraph_funcs.C: remove #if 0'd code
5657
5658         * lyxtext.h:
5659         * text3.C:
5660         * text2.C:
5661         * text.C: use lyxrow helpers above.
5662           Move draw and paint routines to RowPainter.
5663           Make several methods use refs not pointers.
5664           Make backgroundColor() const.
5665           Add markChangeInDraw(), isInInset().
5666           Merge changeRegionCase into changeCase.
5667           Make workWidth() shouldn't-happen code into an Assert.
5668
5669         * rowpainter.h:
5670         * rowpainter.C: new class for painting a row.
5671
5672         * vspace.h:
5673         * vspace.C: make inPixels take a ref
5674
5675 2003-02-26  Angus Leeming  <leeming@lyx.org>
5676
5677         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5678         LFUN_REF_APPLY.
5679
5680 2003-02-25  John Levon  <levon@movementarian.org>
5681
5682         * ispell.C: give the forked command a more accurate name
5683
5684 2003-02-22  John Levon  <levon@movementarian.org>
5685
5686         * toc.h:
5687         * toc.C: make TocItem store an id not a Paragraph *
5688           (bug #913)
5689
5690 2003-02-21  Angus Leeming  <leeming@lyx.org>
5691
5692         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5693           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5694           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5695           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5696           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5697           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5698
5699         * BufferView_pimpl.C (dispatch):
5700         * LyXAction.C (init):
5701         * factory.C (createInset):
5702         * lyxfunc.C (getStatus, dispatch):
5703         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5704
5705 2003-02-21  Angus Leeming  <leeming@lyx.org>
5706
5707         * BufferView_pimpl.C (MenuInsertLyXFile):
5708         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5709         * lyxfunc.C (menuNew, open, doImport):
5710           no longer pass a LyXView & to fileDlg.
5711
5712 2003-02-21  Angus Leeming  <leeming@lyx.org>
5713
5714         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5715         * LyXAction.C: change, BIBKEY to BIBITEM.
5716         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5717         Change InsetBibKey to InsetBibitem.
5718         Change BIBKEY_CODE to BIBITEM_CODE.
5719         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5720         * factory.C: replace insetbib.h with insetbibitem.h.
5721         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5722         * paragraph.C: replace insetbib.h with insetbibitem.h.
5723         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5724         Change bibkey() to bibitem().
5725         * text.C: remove insetbib.h.
5726         * text2.C: replace insetbib.h with insetbibitem.h.
5727         change bibkey() to bibitem().
5728         * text3.C: remove insetbib.h.
5729         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5730
5731 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5732
5733         * lyxrc.C (output): enclose user email in quotes (in case there are
5734         several words)
5735
5736 2003-02-18  John Levon  <levon@movementarian.org>
5737
5738         * buffer.h: add std::
5739
5740 2003-02-17  John Levon  <levon@movementarian.org>
5741
5742         * SpellBase.h:
5743         * ispell.h:
5744         * ispell.C:
5745         * pspell.h:
5746         * pspell.C: reworking. Especially in ispell, a large
5747           number of clean ups and bug fixes.
5748
5749         * lyxfunc.C: fix revert to behave sensibly
5750
5751 2003-02-17 André Pönitz <poenitz@gmx.net>
5752
5753         * LyXAction.C:
5754         * commandtags.h: new LFUN_INSERT_BIBKEY
5755
5756         * layout.h:
5757         * lyxlayout.C:
5758         * buffer.C:
5759         * factory.C:
5760         * text.C:
5761         * text2.C:
5762         * text3.C:
5763         * paragraph.[Ch]:
5764         * paragraph_func.C: remove special bibkey handling
5765
5766 2003-02-17  John Levon  <levon@movementarian.org>
5767
5768         * text.C (Delete): fix case where delete at the end of
5769           the very first paragraph would not merge the pars
5770
5771 2003-02-17  John Levon  <levon@movementarian.org>
5772
5773         * lyxrow.C: fix lastPrintablePos()
5774
5775 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5776
5777         * bufferparams.C (writeLaTeX): add a std:here
5778
5779         * buffer.C: and remove a using directive there
5780
5781 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5782
5783         * buffer.C (makeLaTeXFile): move the code that generates the
5784           preamble...
5785
5786         * bufferparams.C (writeLaTeX): ... in this new method
5787
5788         * LaTeXFeatures.C (getEncodingSet): make const
5789           (getLanguages): make const
5790
5791         * MenuBackend.C (binding): returns the binding associated to this
5792           action
5793           (add): sets the status of each item by calling getStatus. Adds
5794           some intelligence.
5795           (read): add support for OptSubMenu
5796           (expand): remove extra separator at the end of expanded menu
5797
5798 2003-02-15  John Levon  <levon@movementarian.org>
5799
5800         * BufferView.C:
5801         * BufferView_pimpl.C:
5802         * bufferlist.h:
5803         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5804           inset code that had no actual effect. Remove unneeded status
5805           code.
5806
5807 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5808
5809         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5810           in preamble
5811
5812 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5813
5814         * text.C (drawLengthMarker): also draw an arrow marker for
5815           symbolic lengths (medskip...)
5816
5817 2003-02-14  John Levon  <levon@movementarian.org>
5818
5819         * tabular.h:
5820         * tabular.C: better method names
5821
5822 2003-02-14  John Levon  <levon@movementarian.org>
5823
5824         * BufferView_pimpl.C:
5825         * bufferlist.C:
5826         * buffer.C:
5827         * converter.C:
5828         * lyx_cb.C:
5829         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5830           it's a more accurate name. Remove some pointless uses.
5831
5832 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5833
5834         * text2.C (LyXText): change order of initilizers to shut off
5835           warnings
5836
5837 2003-02-14  John Levon  <levon@movementarian.org>
5838
5839         * buffer.C: use ParIterator for getParFromID()
5840
5841         * paragraph.h:
5842         * paragraph.C:
5843         * paragraph_pimpl.h:
5844         * paragraph_pimpl.C: remove unused getParFromID()
5845
5846 2003-02-14  John Levon  <levon@movementarian.org>
5847
5848         * buffer.C: remove some very old #if 0'd parse code
5849
5850 2003-02-13  John Levon  <levon@movementarian.org>
5851
5852         * text.h:
5853         * text.C:
5854         * text2.C: move hfillExpansion(), numberOfSeparators(),
5855           rowLast(), rowLastPrintable(), numberofHfills(),
5856           numberOfLabelHfills() ...
5857
5858         * lyxrow.h:
5859         * lyxrow.C: ... to member functions here.
5860
5861         * paragraph.h:
5862         * paragraph.C:
5863         * lyxtext.h:
5864         * text.C: remove LyXText::beginningOfMainBody(), and call
5865           p->beginningOfMainBody() directly. Move the check for
5866           LABEL_MANUAL into the latter.
5867
5868         * text.h:
5869         * text.C:
5870         * text2.C:
5871         * vspace.C:
5872         * BufferView.h:
5873         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5874
5875         * text.h:
5876         * text.C:
5877         * text2.C:
5878         * text3.C:
5879         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5880           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5881
5882 2003-02-13  John Levon  <levon@movementarian.org>
5883
5884         * CutAndPaste.C: remove debug
5885
5886 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5887
5888         * paragraph.C (asString): remove two unused variables
5889
5890         * lyxtextclass.C (readTitleType):
5891           (Read):
5892           (LyXTextClass): handle new members titletype_ and titlename_
5893
5894         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5895
5896 2003-02-09  John Levon  <levon@movementarian.org>
5897
5898         * buffer.h:
5899         * buffer.C: replace hand-coded list with a map for the dep clean
5900
5901 2003-02-08  John Levon  <levon@movementarian.org>
5902
5903         * LaTeX.C: consolidate code into showRunMessage() helper
5904
5905 2003-02-08  John Levon  <levon@movementarian.org>
5906
5907         * lyxfind.C:
5908         * lyxtext.h:
5909         * text2.C:
5910         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5911           and pass the size in explicitly
5912
5913         * BufferView_pimpl.h:
5914         * BufferView_pimpl.C:
5915         * BufferView.h:
5916         * BufferView.C: add getCurrentChange()
5917
5918         * BufferView_pimpl.h:
5919         * BufferView_pimpl.C: handle change lfuns
5920
5921         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5922           for changes. Mark pasted paragraphs as new.
5923
5924         * support/lyxtime.h:
5925         * support/lyxtime.C:
5926         * DepTable.C: abstract time_t as lyx::time_type
5927
5928         * LColor.h:
5929         * LColor.C: add colours for new text, deleted text, changebars
5930
5931         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5932           package use "usenames" option.
5933
5934         * commandtags.h:
5935         * lyxfunc.C:
5936         * LyXAction.C: add change lfuns
5937
5938         * Makefile.am:
5939         * author.h:
5940         * author.C: author handling
5941
5942         * buffer.h:
5943         * buffer.C: add a per-buffer author list, with first entry as
5944           current author. Handle new .lyx tokens for change tracking. Output
5945           author list to .lyx file. Output dvipost stuff to .tex preamble.
5946           Bump lyx format to 222.
5947
5948         * bufferlist.h:
5949         * bufferlist.C: add setCurrentAuthor() to reset current author details
5950           in all buffers.
5951
5952         * bufferparams.h:
5953         * bufferparams.C: add param for tracking
5954
5955         * bufferview_funcs.C: output change info in minibuffer
5956
5957         * Makefile.am:
5958         * changes.h:
5959         * changes.C: add change-tracking structure
5960
5961         * debug.h:
5962         * debug.C: add CHANGES debug flag
5963
5964         * lyxfind.h:
5965         * lyxfind.C: add code for finding the next change piece
5966
5967         * lyxrc.h:
5968         * lyxrc.C: add user_name and user_email
5969
5970         * lyxrow.h:
5971         * lyxrow.C: add a metric for the top of the text line
5972
5973         * lyxtext.h:
5974         * text.C: implement accept/rejectChange()
5975
5976         * lyxtext.h:
5977         * text.C: paint changebars. Paint new/deleted text in the chosen
5978         colours. Strike through deleted text.
5979
5980         * paragraph.h:
5981         * paragraph.C:
5982         * paragraph_pimpl.h:
5983         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5984           in the current change to the insert functions. Rework erase to
5985           mark text as deleted, adding an eraseIntern() and a range-based
5986           erase(). Implement per-paragraph change lookup and
5987           accept/reject.
5988
5989         * paragraph_funcs.C: Fixup paste for change tracking.
5990
5991         * tabular.C: mark added row/columns as new.
5992
5993         * text.C: fix rowLast() to never return -1. Don't allow
5994           spellchecking of deleted text. Track transpose changes. Don't
5995           allow paragraph break or merge where appropriate.
5996
5997         * text2.C: leave cursor at end of selection after a cut.
5998
5999 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6000
6001         * text.C (getLengthMarkerHeight):
6002         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6003         visible on screen too.
6004
6005 2003-02-07  John Levon  <levon@movementarian.org>
6006
6007         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6008
6009 2003-02-05  Angus Leeming  <leeming@lyx.org>
6010
6011         * lyxserver.C (read_ready): revert my patch of 11 September last year
6012         as it sends PC cpu through the roof. Presumably this means that
6013         the lyxserver will no longer run on an Alpha...
6014
6015 2003-01-30  Angus Leeming  <leeming@lyx.org>
6016
6017         * factory.C (createInset): create an InsetCommandParam of type "index"
6018         and use it to 'do the right thing'.
6019
6020         * text2.C (getStringToIndex): ensure that cursor position is always
6021         reset to the reset_cursor position.
6022
6023 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6024
6025         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6026         disabled.
6027
6028 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6029
6030         * bufferview.C:
6031         * lyxcb.C:
6032         * lyxfunc.C: Output messages with identical spelling, punctuation,
6033         and spaces
6034
6035 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6036
6037         * MenuBackend.C (expandFormats): List only viewable export formats
6038         in "View" menu
6039
6040         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6041         message
6042
6043         * lyxfunc.C (getStatus): Make sure that formats other than
6044         "fax" can also be disabled
6045
6046 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6047
6048         * text3.C (dispatch): put the lfuns that insert insets in 3
6049         groups, and call doInsertInset with appropriate arguments.
6050         (doInsertInset): new function, that creates an inset and inserts
6051         it according to some boolean parameters.
6052
6053 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6054
6055         * buffer.C (readFile): remember to pass on 'par' when calling
6056         readFile recursively.
6057
6058 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6059
6060         * MenuBackend.C (expandFormats): add "..." to import formats.
6061
6062 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6063
6064         * paragraph.C (asString): Remove XForms RTL hacks.
6065
6066 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6067         * buffer.C: fix typo
6068
6069 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6070
6071         * Makefile.am (LIBS): delete var
6072         (lyx_LDADD): add @LIBS@ here instead.
6073
6074 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6075
6076         * Clarify the meaning of "wheel mouse jump"
6077
6078 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6079
6080         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6081         tabular in a float
6082
6083 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6084
6085         * importer.C (Loaders): do not preallocate 3 elements in the
6086         vector, since one ends up with 6 elements otherwise
6087
6088 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6089
6090         * DepTable.C (write): write the file name as last element of the
6091         .dep file (because it may contain spaces)
6092         (read): read info in the right order
6093
6094 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6095
6096         * paragraph_pimpl.C (simpleTeXBlanks):
6097         (simpleTeXSpecialChars):
6098         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6099
6100         * tabular.C (latex): add some missing case statements. Reindent.
6101
6102         * MenuBackend.C (expandToc): remove unused variable.
6103
6104 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6105
6106         * LColor.C:
6107         * LaTeX.C:
6108         * LyXAction.C:
6109         * MenuBackend.C:
6110         * buffer.C:
6111         * exporter.C:
6112         * lyxfunc.C:
6113         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6114         and the like.
6115
6116 2003-01-05  John Levon  <levon@movementarian.org>
6117
6118         * BufferView.h:
6119         * BufferView.C: add getEncoding()
6120
6121         * kbsequence.h:
6122         * kbsequence.C: do not store last keypress
6123
6124         * lyxfunc.h:
6125         * lyxfunc.C: store last keypress here instead. Pass encoding
6126           to getISOEncoded()
6127
6128 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6129
6130         * lyx_main.C (init): remove annoying error message when following
6131         symbolic links (bug #780)
6132
6133 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6134
6135         * text.C (insertChar):
6136         * lyxrc.C (getDescription): remove extra spaces
6137
6138 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6139
6140         * lyxrc.C (getDescription): remove extra spaces
6141
6142 2002-12-20  John Levon  <levon@movementarian.org>
6143
6144         * text3.C: hack fix for page up/down across tall rows
6145
6146 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6147
6148         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6149         not been invoked
6150
6151 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6152
6153         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6154         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6155         thesaurus is not compiled in
6156
6157 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6158
6159         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6160
6161 2002-12-16  Angus Leeming  <leeming@lyx.org>
6162
6163         * lyxrc.[Ch]:
6164         * lyx_main.C (init): remove override_x_deadkeys stuff.
6165
6166 2002-12-12  John Levon  <levon@movementarian.org>
6167
6168         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6169           insert. Only remove shift modifier under strict
6170           circumstances.
6171
6172 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6173
6174         * MenuBackend.C (expandToc): fix crash.
6175
6176 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6177
6178         * MenuBackend.C (expandToc): gettext on float names.
6179
6180 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6181
6182         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6183         implement bool empty() [bug 490]
6184
6185 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6186
6187         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6188
6189 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6190
6191         * several files: ws changes
6192
6193 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6194
6195         * text2.C (setCounter): clean up a bit, use boost.format.
6196         (updateCounters): initialize par upon declaration.
6197
6198         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6199         if the layout exists. We do not just store the layout any more.
6200         (SwitchLayoutsBetweenClasses): use boost.format
6201
6202 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6203
6204         * converter.C (convert): if from and to files are the same, use a
6205         temporary files as intermediary
6206
6207 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6208
6209         * commandtags.h:
6210         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6211
6212 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6213
6214         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6215
6216 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6217
6218         * tabular.C (asciiPrintCell): use string(size, char) instead of
6219         explicit loop.
6220
6221         * sgml.C (openTag): fix order of arguments to string constructor
6222         (closeTag): ditto
6223
6224         * lyxfunc.C (dispatch): use boost.format
6225
6226         * lots of files: change "c" -> 'c'
6227
6228 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6229
6230         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6231
6232 2002-11-25  Angus Leeming  <leeming@lyx.org>
6233
6234         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6235
6236         * lyx_main.C (init): compile fix.
6237
6238 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6239
6240         * lyx_cb.C (start): boost.formatify
6241         do not include <iostream>
6242
6243         * lengthcommon.C: ws only
6244
6245         * boost-inst.C,BoostFormat.h: add more explict instantations
6246
6247 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6248
6249         * lots of files: handle USE_BOOST_FORMAT
6250
6251 2002-11-21  John Levon  <levon@movementarian.org>
6252
6253         * pspell.C: fix compile
6254
6255 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6256
6257         * lyxfunc.C (dispatch): use boost::format
6258         (open): ditto
6259         (doImport): ditto
6260
6261         * lyxfont.C (stateText): use boost::format
6262
6263         * lyx_main.C (LyX): use boost::format
6264         (init): ditto
6265         (queryUserLyXDir): ditto
6266         (readRcFile): ditto
6267         (parse_dbg): ditto
6268         (typedef boost::function): use the recommened syntax.
6269
6270         * importer.C (Import): use boost::format
6271
6272         * debug.C (showLevel): use boost::format
6273
6274         * converter.C (view): use boost::format
6275         (convert): ditto
6276         (move): ditto
6277         (scanLog): ditto
6278
6279         * bufferview_funcs.C (currentState): use boost::format
6280
6281         * bufferlist.C (emergencyWrite): use boost::format
6282
6283         * buffer.C (readLyXformat2): use boost::format
6284         (parseSingleLyXformat2Token): ditto
6285
6286         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6287
6288         * LaTeX.C (run): use boost::format
6289
6290         * Chktex.C (scanLogFile): use boost::format
6291
6292         * BufferView_pimpl.C (savePosition): use boost::format
6293         (restorePosition): ditto
6294         (MenuInsertLyXFile): ditto
6295
6296         * BoostFormat.h: help file for explicit instation.
6297
6298 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6299
6300         * tabular.C (latex): Support for block alignment in fixed width
6301         columns.
6302
6303 2002-11-17  John Levon  <levon@movementarian.org>
6304
6305         * BufferView_pimpl.C:
6306         * lyx_cb.C:
6307         * lyxfunc.C: split filedialog into open/save
6308
6309 2002-11-08  Juergen Vigna  <jug@sad.it>
6310
6311         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6312         by my last patch (hopefully).
6313
6314 2002-11-08  John Levon  <levon@movementarian.org>
6315
6316         * iterators.h:
6317         * iterators.C:
6318         * buffer.h:
6319         * buffer.C:
6320         * paragraph.h:
6321         * paragraph.C:
6322         * toc.h:
6323         * toc.C: ParConstIterator, and use it (from Lars)
6324
6325 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6326
6327         * lyxtextclass.[Ch]: revise and add doxygen comments
6328
6329 2002-11-07  John Levon  <levon@movementarian.org>
6330
6331         * text.C: fix progress value for spellchecker
6332
6333         * toc.C: fix navigate menu for insetwrap inside minipage
6334
6335         * paragraph_funcs.C: added FIXME for suspect code
6336
6337 2002-11-07  John Levon  <levon@movementarian.org>
6338
6339         * BufferView_pimpl.C: fix redrawing of insets
6340           on buffer switch
6341
6342 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6343
6344         * text2.C (updateCounters): fix bug 668
6345
6346 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6347
6348         * text3.C (dispatch): Do not make the buffer dirty when moving the
6349         cursor.
6350
6351 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6352
6353         * vc-backend.C: STRCONV
6354         (scanMaster): ditto
6355
6356         * text2.C (setCounter): STRCONV
6357
6358         * paragraph.C (asString): STRCONV
6359
6360         * lyxlength.C (asString): STRCONV
6361         (asLatexString): ditto
6362
6363         * lyxgluelength.C (asString): STRCONV
6364         (asLatexString): ditto
6365
6366         * lyxfunc.C (dispatch): STRCONV
6367         (open): ditto
6368
6369         * lyxfont.C (stateText): STRCONV
6370
6371         * importer.C (Import): STRCONV
6372
6373         * counters.C (labelItem): STRCONV
6374         (numberLabel): ditto
6375         (numberLabel): remove unused ostringstream o
6376
6377         * chset.C: STRCONV
6378         (loadFile): ditto
6379
6380         * bufferview_funcs.C (currentState): STRCONV
6381
6382         * buffer.C (readFile): STRCONV
6383         (asciiParagraph): ditto
6384         (makeLaTeXFile): ditto
6385
6386         * Spacing.C (writeEnvirBegin): STRCONV
6387
6388         * LaTeXFeatures.C (getLanguages): STRCONV
6389         (getPackages): ditto
6390         (getMacros): ditto
6391         (getBabelOptions): ditto
6392         (getTClassPreamble): ditto
6393         (getLyXSGMLEntities): ditto
6394         (getIncludedFiles): ditto
6395
6396         * LaTeX.C: STRCONV
6397         (run): ditto
6398         (scanAuxFile): ditto
6399         (deplog): ditto
6400
6401         * LString.h: add the STRCONV macros
6402
6403         * BufferView_pimpl.C (savePosition): STRCONV
6404         (restorePosition): ditto
6405         (MenuInsertLyXFile): ditto
6406
6407         * vc-backend.C (scanMaster): change from submatch[...] to
6408         submatch.str(...)
6409
6410         * funcrequest.C: include config.h
6411
6412         * factory.C: include config.h
6413
6414         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6415
6416         * box.C: include config.h
6417
6418         * LaTeX.C (scanAuxFile): change from submatch[...] to
6419         submatch.str(...)
6420         (deplog): ditto
6421
6422 2002-10-25  Angus Leeming  <leeming@lyx.org>
6423
6424         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6425
6426         * ispell.[Ch] (setError): new method.
6427         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6428         Use setError() insetead of goto END.
6429
6430         * lyx_cb.C (AutoSave): move out child process into new class
6431         AutoSaveBuffer.
6432
6433 2002-10-30  John Levon  <levon@movementarian.org>
6434
6435         * text3.C: make start appendix undoable
6436
6437 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6438
6439         * lyxlength.C (inPixels): Fix returned value.
6440
6441         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6442         environment.
6443
6444 2002-10-24  Angus Leeming  <leeming@lyx.org>
6445
6446         * lyxgluelength.h: no need to forward declare BufferParams
6447         or BufferView, so don't.
6448
6449 2002-10-21  John Levon  <levon@movementarian.org>
6450
6451         * BufferView.C: menuUndo ->undo, redo
6452
6453         * BufferView.h: document, remove dead, make some methods private
6454
6455         * paragraph_funcs.h:
6456         * paragraph_funcs.C:
6457         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6458
6459         * buffer.h:
6460         * buffer.C:
6461         * sgml.h:
6462         * sgml.C: move sgml open/close tag into sgml.C
6463
6464         * bufferview_funcs.h: unused prototype
6465
6466         * lyxfunc.h:
6467         * lyxfunc.C: remove unused
6468
6469         * lyxtext.h:
6470         * text.C: remove unused
6471
6472 2002-10-21  John Levon  <levon@movementarian.org>
6473
6474         * BufferView.h:
6475         * BufferView.C:
6476         * BufferView_pimpl.h:
6477         * BufferView_pimpl.C: fix mouse wheel handling based on
6478           patch from Darren Freeman
6479
6480 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6481
6482         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6483
6484 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6485
6486         * lyxlength.C (inPixels): Fix hanfling of negative length.
6487         Fix LyXLength::MU case.
6488
6489 2002-10-16  John Levon  <levon@movementarian.org>
6490
6491         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6492
6493 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6494
6495         * converter.C (view): add support for $$i (file name) and $$p
6496         (file path) for the viewer command. If $$i is not specified, then
6497         it is appended to the command (for compatibility with old syntax)
6498
6499 2002-10-14  Juergen Vigna  <jug@sad.it>
6500
6501         * undo_funcs.C (textHandleUndo): alter the order in which the
6502         new undopar is added to the LyXText, as we have to set first
6503         the right prev/next and then add it as otherwise the rebuild of
6504         LyXText is not correct. Also reset the cursor to the right paragraph,
6505         with this IMO we could remove the hack in "redoParagraphs()".
6506
6507 2002-10-09  Angus Leeming  <leeming@lyx.org>
6508
6509         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6510         to turn off an optimisation if a new inset is to be inserted.
6511
6512 2002-10-11 André Pönitz <poenitz@gmx.net>
6513
6514         * lyxtext.h: make some functions public to allow access
6515         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6516
6517 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6518
6519         * text3.C (dispatch): when changing layout, avoid an infinite loop
6520         [bug #652]
6521
6522 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6523
6524         * lyxrc.C (read): treat a viewer or converter command of "none" as
6525         if it were empty.
6526
6527         * MenuBackend.C (expandFormats): for an update, also allow the
6528         formats that are not viewable
6529
6530         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6531         script if it is newer than the lyxrc.defaults in user directory
6532
6533 2002-10-07 André Pönitz <poenitz@gmx.net>
6534
6535         * text.C: Vitaly Lipatov's small i18n fix
6536
6537 2002-09-25  Angus Leeming  <leeming@lyx.org>
6538
6539         * ispell.h: doxygen fix.
6540
6541 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6542
6543         * buffer.h (readFile): Add a new argument to the method, to allow
6544         reading of old-format templates.
6545
6546 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6547
6548         * toc.C (getTocList): Get TOC from InsetWrap.
6549
6550 2002-09-16  John Levon  <levon@movementarian.org>
6551
6552         * lyxfunc.C: check tabular for cut/copy too
6553
6554 2002-09-12  John Levon  <levon@movementarian.org>
6555
6556         * LyXAction.C: tidy
6557
6558         * factory.h:
6559         * factory.C: add header
6560
6561         * paragraph_funcs.h:
6562         * paragraph_funcs.C: cleanup
6563
6564 2002-09-11  John Levon  <levon@movementarian.org>
6565
6566         * PrinterParams.h: odd/even default to true
6567
6568 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6569
6570         * PrinterParams.h: update printer parameters for new xforms dialog
6571
6572 2002-09-11  Angus Leeming  <leeming@lyx.org>
6573
6574         * lyxserver.C (read_ready): re-write to make it more transparent
6575         and to make it work in coherent fashion under Tru64 Unix.
6576
6577 2002-09-11  André Pönitz <poenitz@gmx.net>
6578
6579         * commandtags.h:
6580         * LyXAction.C:
6581         * text3.C: implement LFUN_WORDSEL
6582
6583 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6584
6585         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6586         make floatlist_ a boost::shared_ptr<FloatList>
6587
6588         * lyxtextclass.C: include FloatList.h
6589         (LyXTextClass): initialize floatlist_
6590         (TextClassTags): add TC_NOFLOAT
6591         (Read): match "nofloat" to TC_NOFLOAT and use it.
6592         (readFloat): modify call to floatlist_
6593         (floats): ditto
6594         (floats): ditto
6595
6596         * FloatList.[Ch] (FloatList): remove commented out float
6597         initialization.
6598         (erase): new function
6599
6600 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6601
6602         * MenuBackend.C (expandToc): fix crash when there is no document
6603         open
6604
6605 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6606
6607         * many files: Add insetwrap.
6608
6609 2002-09-09  John Levon  <levon@movementarian.org>
6610
6611         * text2.C: remove confusing and awkward depth wraparound
6612
6613 2002-09-09  John Levon  <levon@movementarian.org>
6614
6615         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6616
6617         * buffer.h:
6618         * buffer.C: remove getIncludeonlyList()
6619
6620         * paragraph.C:
6621         * lyxfunc.C: remove headers
6622
6623 2002-09-09  Juergen Vigna  <jug@sad.it>
6624
6625         * text.C (getColumnNearX): fix form Michael this is most
6626         probably a cut&paste bug.
6627
6628 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6629
6630         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6631
6632         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6633         references, ws changes.
6634
6635         * text2.C (init): update counters after init
6636         (insertParagraph): no need to set counter on idividual paragraphs.
6637         (setCounter): access the counters object in the textclass object
6638         on in the buffer object.
6639         (updateCounters): ditto
6640
6641         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6642         shared_ptr<Counters> to avoid loading counters.h in all
6643         compilation units.
6644         (LyXTextClass): initialize ctrs_
6645         (TextClassTags): add TC_COUNTER, and ...
6646         (Read): use it here.
6647         (CounterTags): new tags
6648         (readCounter): new function
6649         (counters): new funtion
6650         (defaultLayoutName): return a const reference
6651
6652         * counters.C (Counters): remove contructor
6653         (newCounter): remove a couple of unneeded statements.
6654         (newCounter): simplify a bit.
6655         (numberLabel): some small formatting changes.
6656
6657         * buffer.[Ch]: remove all traces of counters, move the Counters
6658         object to the LyXTextClass.
6659
6660 2002-09-06  Alain Castera  <castera@in2p3.fr>
6661
6662         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6663         package to set the horizontal alignment on fixed width columns.
6664
6665         * lyx_sty.C:
6666         * lyx_sty.h: added tabularnewline macro def.
6667
6668         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6669
6670 2002-09-06  John Levon  <levon@movementarian.org>
6671
6672         * LyXAction.C: tooltips for sub/superscript
6673
6674         * MenuBackend.C: a bit more verbose
6675
6676         * lyxfunc.C: tiny clean
6677
6678         * undo_funcs.C: document undo_frozen
6679
6680 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6681
6682         * counters.C (Counters): add missing algorithm counter.
6683
6684         * text2.C (setCounter): lookup the counter with layouts latexname
6685         instead of by section number.
6686         (setCounter): use a hackish way to lookup the correct enum
6687         counter.
6688         a float name->type change
6689         reset enum couners with counter name directly instead of depth value.
6690
6691         * counters.C (Counters): remove the push_backs, change to use the
6692         float type not the float name.
6693         (labelItem): remove unused string, float name->type change
6694
6695         * counters.h: don't include vector, loose the enums and sects vectors
6696
6697 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6698
6699         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6700         (Read): add float->TC_FLOAT to textclassTags
6701         (Read): and handle it in the switch
6702         (readFloat): new function
6703
6704         * FloatList.C (FloatList): comment out the hardcoded float
6705         definitions.
6706
6707         * lyxlayout.h: ws change.
6708
6709 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6710
6711         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6712
6713 2002-09-03  Angus Leeming  <leeming@lyx.org>
6714
6715         * BufferView_pimpl.h: qualified name is not allowed in member
6716         declaration: WorkArea & Pimpl::workarea() const;
6717
6718         * factory.C: added using std::endl directive.
6719
6720         * text3.C: added using std::find and std::vector directives.
6721
6722 2002-08-29  André Pönitz <poenitz@gmx.net>
6723
6724         * lyxtext.h:
6725         * text2.C: remove unused member number_of_rows
6726
6727         * Makefile.am:
6728         * BufferView2.C: remove file, move contents to...
6729         * BufferView.C: ... here
6730
6731         * BufferView_pimpl.C:
6732         * factory.C: move more inset creation to factory
6733
6734         * vspace.C: avoid direct usage of LyXText, ws changes
6735
6736         * BufferView.[Ch]:
6737                 don't provide direct access to WorkArea, use two simple
6738                 acessors haveSelction() and workHeight() instead
6739
6740
6741 2002-08-29  John Levon  <levon@movementarian.org>
6742
6743         * BufferView_pimpl.C (dispatch): do not continue when
6744           no buffer
6745
6746 2002-08-28  André Pönitz <poenitz@gmx.net>
6747
6748         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6749
6750         * BufferView.h:
6751         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6752
6753 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6754
6755         * buffer.C: increment LYX_FORMAT to 221
6756
6757         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6758         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6759
6760         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6761
6762         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6763
6764 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6765
6766         * factory.C (createInset): use LyXTextClass::floats
6767
6768         * MenuBackend.C (expandFloatListInsert):
6769         (expandFloatInsert):
6770         (expandToc):
6771
6772         * text2.C (setCounter):
6773
6774         * LaTeXFeatures.C (useFloat):
6775         (getFloatDefinitions):
6776
6777         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6778
6779         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6780         floatlist_, with accessor floats().
6781
6782         * FloatList.h: remove global FloatList
6783
6784 2002-08-26  André Pönitz <poenitz@gmx.net>
6785
6786         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6787
6788         * BufferView.h:
6789         * BufferView2.C:
6790         * BufferView_pimpl.C:
6791         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6792
6793 2002-08-25  John Levon  <levon@movementarian.org>
6794
6795         * LyXAction.C: fix margin note description
6796
6797 2002-08-24  John Levon  <levon@movementarian.org>
6798
6799         * buffer.C:
6800         * bufferlist.C:
6801         * bufferview_funcs.C:
6802         * lyxfont.C:
6803         * undo_funcs.C: cleanups
6804
6805         * lyxfunc.C: disable CUT/COPY when no selection
6806
6807 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6808
6809         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6810         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6811
6812         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6813         Add backward compatibility to "mono", "gray" and "no".
6814
6815 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6816
6817         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6818         (and file_format >= 200).
6819
6820 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6821
6822         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6823
6824 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6825
6826         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6827
6828 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6829
6830         * BufferView_pimpl.C:
6831         * LyXAction.C:
6832         * buffer.C:
6833         * commandtags.h:
6834         * lyxfunc.C:
6835         * paragraph.[Ch]:
6836         * text2.C:
6837         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6838         inset and code to make it  work with the paragraph code. The inset
6839         can be anywhere in the paragraph, but will only do the expected
6840         thing in LaTeX if the layout file contains the parameter line
6841                         OptionalArgs    1
6842         (or more generally, a nonzero value) for that layout.
6843
6844 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6845
6846         * paragraph.h: remove the declaration of undefined counters class
6847         function.
6848
6849 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6850
6851         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6852         Dr. Richard Hawkins.
6853
6854 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6855
6856         * paragraph_funcs.h: remove some unneeded includes
6857
6858         * text.C (backspace): pasteParagraph now in global scipe
6859
6860         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6861         (pasteSelection): ditto
6862
6863         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6864         * paragraph_funcs.C (pasteParagraph): ... here
6865
6866 2002-08-20  André Pönitz <poenitz@gmx.net>
6867
6868         * commandtags.h: new LFUNs for swapping/copying table row/colums
6869
6870         * LyXAction.C:
6871         * lyxfunc.C: support for new lfuns
6872
6873 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6874
6875         * tabular.C:
6876         * buffer.[Ch]: remove NO_COMPABILITY stuff
6877
6878 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6879
6880         * boost.C (throw_exception): new file, with helper function for
6881         boost compiled without exceptions.
6882
6883         * paragraph.h:
6884         * lyxlength.C:
6885         * buffer.C:
6886         * ParameterStruct.h:
6887         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6888
6889         * bufferlist.C (emergencyWriteAll): use boost bind
6890
6891         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6892
6893         * text.C: include paragraph_funcs.h
6894         (breakParagraph): breakParagraph is now in global scope
6895
6896         * paragraph_funcs.[Ch]: new files
6897
6898         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6899         global scope
6900
6901         * buffer.C: include paragraph_funcs.h
6902         (insertStringAsLines): breakParagraph is now in global scope
6903
6904         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6905         paragraph_funcs.C
6906
6907         * CutAndPaste.C: include paragraph_funcs.h
6908         (cutSelection): breakParagraphConservative is now in global scope
6909         (pasteSelection): ditto
6910
6911         * buffer.h: declare oprator== and operator!= for
6912         Buffer::inset_iterator
6913
6914         * bufferlist.C (emergencyWrite): don't use fmt(...)
6915
6916         * text3.C: add using std::endl
6917
6918         * BufferView.C (moveCursorUpdate): remove default arg
6919
6920 2002-08-20  André Pönitz <poenitz@gmx.net>
6921
6922         * buffer.[Ch]: move inline functions to .C
6923
6924         * BufferView2.C:
6925         * BufferView_pimpl.C:
6926         * text.C:
6927         * buffer.[Ch]: use improved inset_iterator
6928
6929         * buffer.C:
6930         * paragraph.[Ch]: write one paragraph at a time
6931
6932 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6933
6934         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6935         style if style is not specified.
6936
6937 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6938
6939         * text2.C (setCounter): when searching for right label for a
6940         caption, make sure to recurse to parent insets (so that a caption
6941         in a minipage in a figure float works) (bug #568)
6942
6943 2002-08-20  André Pönitz <poenitz@gmx.net>
6944
6945         * text3.C: new file for LyXText::dispatch() and helpers
6946
6947         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6948
6949         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6950
6951 2002-08-19  André Pönitz <poenitz@gmx.net>
6952
6953         * lyxtext.h:
6954         * text.C: new LyXText::dispatch()
6955
6956         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6957
6958 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6959
6960         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6961
6962         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6963         Hebrew text.
6964
6965 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6966
6967         * Makefile.am: use $(variables) instead of @substitutions@
6968
6969 2002-08-15  André Pönitz <poenitz@gmx.net>
6970
6971         * lyxfunc.C:
6972         * BufferView_pimpl.C: streamlining mathed <-> outer world
6973         interaction
6974
6975         * commandtags.h:
6976         * LyXAction.C: remove unused LFUN_MATH
6977
6978 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6979
6980         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6981
6982 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6983
6984         * paragraph.C (Paragraph): reformat a bit
6985         (cutIntoMinibuffer): use builtin InsetList function instad of
6986         doing it manually.
6987         (getInset): ditto
6988
6989         * buffer.C: include boost/bind.hpp, add using std::for_each
6990         (writeFileAscii): use ParagraphList iterators
6991         (validate): use for_each for validate traversal of paragraphs
6992         (getBibkeyList): use ParagraphList iterators
6993         (resizeInsets): use for_each to resizeInsetsLyXText for all
6994         paragraphs.
6995         (getParFromID): use ParagraphList iterators
6996
6997         * BufferView2.C (lockInset): use paragraph list and iterators
6998
6999 2002-08-14  John Levon  <levon@movementarian.org>
7000
7001         * lyxserver.C: remove spurious xforms include
7002
7003 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7004
7005         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7006
7007 2002-08-13  André Pönitz <poenitz@gmx.net>
7008
7009         * LyXAction.[Ch]:
7010         * lyxfunc.C: further cleaning
7011
7012 2002-08-13  André Pönitz <poenitz@gmx.net>
7013
7014         * funcrequest.h: new constructor
7015
7016         * funcrequest.C: move stuff here from .h
7017
7018         * Makefile.am:
7019         * BufferView_pimpl.C:
7020         * LyXAction.C:
7021         * toc.C:
7022         * lyxfunc.C: subsequent changes
7023
7024         * lyxfunc.h: new view() member function
7025
7026         * lyxfunc.C: subsequent changes
7027
7028 2002-08-13  Angus Leeming  <leeming@lyx.org>
7029
7030         * BufferView2.C:
7031         * BufferView_pimpl.C:
7032         * buffer.C:
7033         * converter.C:
7034         * importer.C:
7035         * lyxfunc.C:
7036         * lyxvc.C:
7037         * toc.C:
7038         * vc-backend.C:
7039         changes due to the changed LyXView interface that now returns references
7040         to member variables not pointers.
7041
7042 2002-08-13  Angus Leeming  <leeming@lyx.org>
7043
7044         * WordLangTuple (word, lang_code): return references to strings,
7045         not strings.
7046
7047         * BufferView.h:
7048         * SpellBase.h:
7049         * lyxtext.h: forward-declare WordLangTuple.
7050
7051         * BufferView2.C:
7052         * ispell.C:
7053         * pspell.C:
7054         * text.C: #include "WordLangTuple.h".
7055
7056         * lyxtext.h:
7057         * text.C: (selectNextWordToSpellcheck): constify return type.
7058
7059 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7060
7061         * buffer.C:
7062         * buffer.h:
7063         * lyxtext.h:
7064         * paragraph.C:
7065         * paragraph_pimpl.h:
7066         * text.C:
7067         * text2.C:
7068         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7069         suggested by Angus.
7070         Made updateCounter always count from start of buffer, and removed
7071         second argument (par).
7072         Reverted floats number display to '#'. Perhaps I'll try again when the
7073         code base is sanitized a bit.
7074
7075 2002-08-12  Angus Leeming  <leeming@lyx.org>
7076
7077         * buffer.[Ch] (getLabelList): constify.
7078
7079 2002-08-07  André Pönitz <poenitz@gmx.net>
7080
7081         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7082
7083         * funcrequest.h: extension to keep mouse (x,y) position
7084
7085 2002-08-12  Juergen Vigna  <jug@sad.it>
7086
7087         * BufferView2.C (insertErrors): forbid undo when inserting error
7088         insets.
7089
7090         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7091
7092 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7093
7094         * ParagraphList.[Ch]: new files
7095
7096         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7097
7098         * BufferView2.C (lockInset): ParagraphList changes
7099         * toc.C: ditto
7100         * text2.C: ditto
7101         * bufferlist.C: ditto
7102         * buffer.h: ditto
7103         * buffer.C: ditto
7104
7105 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7106
7107         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7108         unused class variable counter_,
7109
7110         * paragraph.[Ch] (getFirstCounter): delete unused function
7111
7112         * counters.C: include LAssert.h
7113         (reset): add a new function with no arg, change other version to
7114         not have def. arg and to not allow empty arg.
7115
7116         * text2.C (setCounter): remove empty arg from call to Counters::reset
7117
7118 2002-08-11  John Levon  <levon@movementarian.org>
7119
7120         * Makefile.am: add WordLangTuple.h
7121
7122 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7123
7124         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7125         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7126
7127         * insets/insettext.C: InsetList changes
7128
7129         * graphics/GraphicsSupport.C (operator()): InsetList changes
7130
7131         * toc.C (getTocList): InsetList changes
7132
7133         * paragraph_pimpl.[Ch]: InsetList changes
7134
7135         * paragraph.[Ch]: InsetList changes
7136
7137         * buffer.C (inset_iterator): InsetList changes
7138         (setParagraph): ditto
7139         * buffer.h (inset_iterator): ditto
7140         * iterators.C (operator++): ditto
7141         * iterators.h: ditto
7142
7143         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7144
7145         * InsetList.[Ch]: new files, most InsetList handling moved out of
7146         paragraph.C.
7147
7148         * BufferView2.C (removeAutoInsets): InsetList changes
7149         (lockInset): ditto
7150         (ChangeInsets): ditto
7151
7152 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7153
7154         * paragraph_pimpl.h (empty): new function
7155
7156         * paragraph.[Ch] (empty): new function
7157
7158         * other files: use the new Paragraph::empty function
7159
7160 2002-08-09  John Levon  <levon@movementarian.org>
7161
7162         * lyxtext.h: remove unused refresh_height
7163
7164 2002-08-09  John Levon  <levon@movementarian.org>
7165
7166         * Makefile.am:
7167         * sgml.h:
7168         * sgml.C:
7169         * buffer.C:
7170         * paragraph.h:
7171         * paragraph.C: move sgml char escaping out of paragraph
7172
7173         * paragraph.h:
7174         * paragraph.C: remove id setter
7175
7176         * buffer.C:
7177         * paragraph.C:
7178         * paragraph_pimpl.C: remove dead tex_code_break_column
7179
7180         * bufferview_funcs.C: small cleanup
7181
7182         * lyxfunc.C: remove dead proto
7183
7184         * lyxtext.h: make some stuff private. Remove some dead stuff.
7185
7186         * lyxgluelength.C: make as[LyX]String() readable
7187
7188 2002-08-08  John Levon  <levon@movementarian.org>
7189
7190         * LyXAction.h:
7191         * LyXAction.C:
7192         * MenuBackend.C:
7193         * ToolbarDefaults.C:
7194         * lyxfunc.C:
7195         * lyxrc.C:
7196         * toc.C: lyxaction cleanup
7197
7198 2002-08-08  John Levon  <levon@movementarian.org>
7199
7200         * BufferView2.C: small cleanup
7201
7202         * lyxfind.h:
7203         * lyxfind.C: move unnecessary header into the .C
7204
7205 2002-08-08  John Levon  <levon@movementarian.org>
7206
7207         * funcrequest.h: just tedious nonsense
7208
7209         * lyx_main.h:
7210         * lyx_main.C: cleanups
7211
7212         * buffer.C:
7213         * vspace.C: remove dead header lyx_main.h
7214
7215 2002-08-07  Angus Leeming  <leeming@lyx.org>
7216
7217         * Paragraph.[Ch]:
7218         * paragraph_pimpl.h:
7219         Forward declare class Counters in paragraph.h by moving the ctrs member
7220         variable into Paragraph::Pimpl.
7221         (counters): new method, returning a reference to pimpl_->ctrs.
7222
7223         * text2.C: ensuing changes.
7224
7225 2002-08-07  John Levon  <levon@movementarian.org>
7226
7227         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7228
7229         * BufferView_pimpl.C: announce X selection on double/triple
7230           click
7231
7232         * lyx_main.C: use correct bool in batch dispatch
7233
7234         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7235
7236 2002-08-07  André Pönitz <poenitz@gmx.net>
7237
7238         * funcrequest.h: new class to wrap a kb_action and its argument
7239
7240         * BufferView.[Ch]:
7241         * BufferView_pimpl[Ch]:
7242         * LaTeX.C:
7243         * LyXAction.[Ch]:
7244         * lyxfunc.[Ch]:
7245         * lyxrc.C: subsequent changes
7246
7247
7248 2002-08-07  John Levon  <levon@movementarian.org>
7249
7250         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7251           document options change.
7252
7253 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7254
7255         * counters.[Ch]
7256         * text2.C
7257         * paragraph.[Ch]
7258         * makefile.am: move counters functionality over from
7259         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7260
7261 2002-08-06  John Levon  <levon@movementarian.org>
7262
7263         * WordLangTuple.h: new file for word + language code tuple
7264
7265         * SpellBase.h:
7266         * pspell.h:
7267         * pspell.C:
7268         * ispell.h:
7269         * ispell.C:
7270         * lyxtext.h:
7271         * text.C:
7272         * text2.C:
7273         * BufferView.h:
7274         * BufferView2.C: use WordLangTuple
7275
7276         * layout.h:
7277         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7278
7279 2002-08-06  John Levon  <levon@movementarian.org>
7280
7281         * lyx_main.C: fix cmdline batch handling
7282
7283 2002-08-06  André Pönitz <poenitz@gmx.net>
7284
7285         * lyxrc.C: set default for show_banner to true
7286
7287 2002-08-06  John Levon  <levon@movementarian.org>
7288
7289         * pspell.C: fix a crash, and allow new aspell to work
7290
7291 2002-08-06  John Levon  <levon@movementarian.org>
7292
7293         * lyxfunc.C:
7294         * kbmap.C: small cleanup
7295
7296         * vspace.h:
7297         * vspace.C: add const
7298
7299 2002-08-05  John Levon  <levon@movementarian.org>
7300
7301         * LyXAction.C: back to tabular-insert
7302
7303 2002-08-04  John Levon  <levon@movementarian.org>
7304
7305         * BufferView.h:
7306         * BufferView.C: cosmetic change
7307
7308         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7309
7310         * bufferlist.C:
7311         * buffer.h:
7312         * buffer.C:
7313         * lyxcb.h:
7314         * lyxcb.C:
7315         * lyxserver.C:
7316         * lyxvc.C:
7317         * vc-backend.C:
7318         * BufferView2.C: purge all "Lyx" not "LyX" strings
7319
7320         * lyxcursor.h:
7321         * lyxcursor.C: attempt to add some documentation
7322
7323         * lyxfunc.C:
7324         * commandtags.h:
7325         * LyXAction.C:
7326         * ToolbarDefaults.C:
7327         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7328           merge with LFUN_TABULAR_INSERT
7329
7330         * Makefile.am:
7331         * SpellBase.h:
7332         * ispell.h:
7333         * ispell.C:
7334         * pspell.h:
7335         * pspell.C: split up i/pspell implementations into separate
7336           files, many cleanups
7337
7338         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7339
7340         * text2.C: some cleanup
7341
7342         * lyxfunc.C: don't check for isp_command == "none" any more, it
7343           didn't make any sense
7344
7345 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7346
7347         * counters.[Ch]
7348         * text2.C
7349         * paragraph.[Ch]
7350         * makefile.am: move counters functionality over
7351         from text2.C/paragraph.[Ch] to counters.[Ch], and
7352         make proper C++.
7353 2002-08-02  John Levon  <levon@movementarian.org>
7354
7355         * buffer.C: s/lyxconvert/lyx2lyx/
7356
7357 2002-08-02  Angus Leeming  <leeming@lyx.org>
7358
7359         * lyxlex.C: revert John's change as it breaks reading of the user
7360         preamble.
7361
7362 2002-08-02  Angus Leeming  <leeming@lyx.org>
7363
7364         * importer.C (Import):
7365         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7366         changes due to LyXView::view() now returning a boost::shared_ptr.
7367
7368 2002-08-02  John Levon  <levon@movementarian.org>
7369
7370         * lyxlex.C: small cleanup
7371
7372 2002-08-02  John Levon  <levon@movementarian.org>
7373
7374         * text2.C (status): small cleanup, no logic change
7375
7376 2002-08-01  John Levon  <levon@movementarian.org>
7377
7378         * buffer.h:
7379         * buffer.C (writeFile): don't output alerts, caller
7380           handles this
7381
7382         * bufferlist.C:
7383         * lyx_cb.C: from above
7384
7385         * lyxfunc.C: allow to open non-existent files
7386
7387 2002-07-31  John Levon  <levon@movementarian.org>
7388
7389         * lyxserver.C: don't let incidental errors get
7390           in the way (errno)
7391
7392 2002-07-30  John Levon  <levon@movementarian.org>
7393
7394         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7395
7396 2002-07-30  John Levon  <levon@movementarian.org>
7397
7398         * lyxserver.h:
7399         * lyxserver.C: remove I/O callback too
7400
7401 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7402
7403         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7404         log.
7405
7406 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7407
7408         * many files: strip,frontStrip -> trim,ltrim,rtrim
7409
7410 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7411
7412         * PrinterParams.h: remove extern containsOnly, and include
7413         support/lstrings.h instead.
7414
7415         * LaTeX.C (scanAuxFile): modify because of strip changes
7416         (deplog): ditto
7417         * buffer.C (makeLaTeXFile): ditto
7418         * bufferparams.C (writeFile): ditt
7419         * lyxfont.C (stateText): ditto
7420         * lyxserver.C (read_ready): ditto
7421         * vc-backend.C (scanMaster): ditto
7422
7423         * BufferView_pimpl.h: ws changes
7424
7425         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7426
7427 2002-07-26  André Pönitz <poenitz@gmx.net>
7428
7429         * kb_sequence.C: remove unnedred usings
7430
7431 2002-07-26  Juergen Vigna  <jug@sad.it>
7432
7433         * lyxfind.C (LyXReplace): we have to check better if the returned
7434         text is not of theLockingInset()->getLockingInset().
7435
7436 2002-07-25  Juergen Vigna  <jug@sad.it>
7437
7438         * lyxfind.C (LyXReplace): don't replace if we don't get the
7439         right LyXText.
7440
7441         * undo_funcs.C (createUndo): remove debugging code.
7442
7443 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7444
7445         * buffer.C (parseSingleLyXformat2Token): Use default placement
7446         when reading old floats.
7447
7448         * FloatList.C (FloatList): Change the default placement of figure
7449         and tables to "tbp".
7450
7451 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7452
7453         * MenuBackend.C: using std::max
7454
7455 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7456
7457         * MenuBackend.C (expandToc):
7458         (expandToc2): code moved from xforms menu frontend. It is now
7459         generic and TOCs are transparent to menu frontends.
7460
7461 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7462
7463         * toc.C (getTocList): protect against buf=0
7464
7465         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7466         Menu as first parameter. Now, this calls itself recursively to
7467         expand a whole tree (this will be useful for TOC handling)
7468         (expandFloatInsert): remove 'wide' version of floats
7469
7470         * MenuBackend.h (submenuname): returns the name of the submenu.
7471         (submenu): returns the submenu itself, provided it has been
7472         created by MenuBackend::expand
7473
7474 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7475
7476         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7477         insets which have noFontChange == true. (bug #172)
7478
7479 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7480
7481         * BufferView_pimpl.C: add connection objects and use them...
7482         (Pimpl): here.
7483
7484 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7485
7486         * MenuBackend.C (expandLastfiles):
7487         (expandDocuments):
7488         (expandFormats):
7489         (expandFloatListInsert):
7490         (expandFloatInsert):
7491         (expand): split expand in parts
7492
7493 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7494
7495         * lyx_gui.C: use lyx_gui::exit()
7496
7497 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7498
7499         * LyXAction.C: show the failing pseudo action
7500
7501 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7502
7503         * buffer.C (readFile): Run the lyxconvert script in order to read
7504         old files.
7505
7506 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7507
7508         * LyXAction.C:
7509         * commandtags.h:
7510         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7511
7512 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7513
7514         * LyXAction.C:
7515         * commandtags.h:
7516         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7517
7518 2002-07-22  Herbert Voss  <voss@lyx.org>
7519
7520         * lengthcommon.C:
7521         * lyxlength.[Ch]: add support for the vertical lengths
7522
7523 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7524
7525         * toc.[Ch]: std:: fixes
7526
7527 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7528
7529         * lyxrc.C: do not include lyx_main.h
7530
7531         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7532         for layouts
7533
7534         * lyxrc.C:
7535         * encoding.C:
7536         * bufferlist.C:
7537         * BufferView2.C: include "lyxlex.h"
7538
7539         * tabular.h:
7540         * bufferparams.h: do not #include "lyxlex.h"
7541
7542         * lyxtextclasslist.C (Add): remove method
7543         (classlist): renamed to classlist_
7544
7545         * paragraph_pimpl.C:
7546         * paragraph.C:
7547         * text2.C:
7548         * CutAndPaste.C:
7549         * bufferview_funcs.C:
7550         * bufferlist.C:
7551         * text.C:
7552         * LaTeXFeatures.C:
7553         * buffer.C:
7554         * toc.C (getTocList): use BufferParams::getLyXTextClass
7555
7556         * toc.C (getTocList): use InsetFloat::addToToc
7557
7558         * toc.[Ch]: new files, containing helper functions to handle table
7559         of contents
7560
7561         * lyxfunc.C (dispatch): no need to remove spaces around command
7562         given as a string
7563         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7564         first command of the sequence; it is not very clever, but I do not
7565         have a better idea, actually
7566
7567         * LyXAction.C (LookupFunc): make sure to remove space at the
7568         beginning and end of the command
7569
7570 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7571
7572         * MenuBackend.C (getMenubar): new method: return the menubar of
7573         this menu set
7574         (read): treat differently reading of menu and menubar (in
7575         particular, the menubar has no name now)
7576         (Menu::menubar): remove
7577
7578         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7579         saving is finished
7580
7581 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7582
7583         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7584         a bibitem inset in a RTL paragraph.
7585
7586 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7587
7588         * paragraph_pimpl.C: constify
7589
7590         * BufferView_pimpl.C:
7591         * LaTeX.C:
7592         * lyxfunc.C: fix dispatch in a nicer way
7593
7594 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7595
7596         * lyxfunc.C (dispatch):
7597         * BufferView_pimpl.C:
7598         * BufferView_pimpl.h:
7599         * BufferView.C:
7600         * BufferView.h: rename Dispatch() to dispatch()
7601
7602         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7603
7604         * lyxlayout.C (Read): honor DependsOn tag
7605
7606         * lyxlayout.[Ch] (depends_on): new method
7607
7608         * version.C.in: update lyx_docversion
7609
7610         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7611
7612         * paragraph.C (validate): remove from here...
7613         * paragraph_pimpl.C (validate): ... and move here
7614         (isTextAt): make it const
7615
7616         * buffer.C (getLists): ws cleanup
7617
7618 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7619
7620         * language.C (read): Use iso8859-1 encoding in latex_lang
7621         (this prevents LyX from crashing when using iso10646-1 encoding).
7622
7623 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7624
7625         * text2.C (toggleInset): if cursor is inside an inset, close the
7626         inset and leave cursor _after_ it
7627
7628 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7629
7630         * lyxfunc.C: move minibuffer completion handling out of here
7631
7632 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7633
7634         * BufferView_pimpl.C:
7635         * LaTeX.C: fix dispatch calls
7636
7637 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7638
7639         * text.C (drawChars): Fix Arabic text rendering.
7640
7641 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7642
7643         * LyXAction.C:
7644         * commandtags.h:
7645         * lyxfunc.C: remove message-push/pop
7646
7647         * lyxserver.C:
7648         * lyxfunc.h:
7649         * lyxfunc.C: rationalise some code by removing verboseDispatch
7650           in favour of a bool argument to dispatch()
7651
7652 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7653
7654         * lyx_main.C (init): make sure to read symlinks as absolute paths
7655
7656 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7657
7658         * lyxfunc.h:
7659         * lyxfunc.C: no need for commandshortcut to be a member
7660
7661 2002-07-15  André Pönitz <poenitz@gmx.net>
7662
7663         * converter.C: add support for $$s (scripts from lib/scripts dir)
7664         * lyx_main.C: white space
7665
7666 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7667
7668         * bufferlist.C:
7669         * lyxrc.h:
7670         * lyxrc.C: remove second exit confirmation
7671
7672 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7673
7674         * BufferView.h:
7675         * BufferView.C:
7676         * BufferView2.C:
7677         * BufferView_pimpl.h:
7678         * BufferView_pimpl.C:
7679         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7680
7681 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7682
7683         * MenuBackend.C (expand): add numeric shortcuts to document menu
7684
7685         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7686
7687 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7688
7689         * lyxfont.C (setLyXFamily):
7690         (setLyXSeries):
7691         (setLyXShape):
7692         (setLyXSize):
7693         (setLyXMisc):
7694         (lyxRead):
7695         * debug.C (value):
7696         * buffer.C (asciiParagraph): use ascii_lowercase
7697
7698 2002-07-15  Mike Fabian  <mfabian@suse.de>
7699
7700         * lyxlex_pimpl.C (search_kw):
7701         * lyxlex.C (getLongString):
7702         * converter.h (operator<):
7703         * converter.C (operator<):
7704         * buffer.C (parseSingleLyXformat2Token):
7705         (asciiParagraph):
7706         * ToolbarDefaults.C (read):
7707         * MenuBackend.C (checkShortcuts):
7708         (read):
7709         * LColor.C (getFromGUIName):
7710         (getFromLyXName): use the compare_ascii_no_case instead of
7711         compare_no_case, because in turkish, 'i' is not the lowercase
7712         version of 'I', and thus turkish locale breaks parsing of tags.
7713
7714 2002-07-16  Angus Leeming  <leeming@lyx.org>
7715
7716         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7717         now takes a Buffer const & argument.
7718
7719 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7720
7721         * BufferView.C (resize): check there's a buffer to resize
7722
7723 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7724
7725         * lyxfunc.C: remove dead code
7726
7727         * lyxserver.h:
7728         * lyxserver.C: use lyx_guii::set_read_callback
7729
7730 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7731
7732         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7733         an inset in a RTL paragraph.
7734
7735 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7736
7737         * lyxfunc.C: repaint after a font size update
7738
7739 2002-07-15  André Pönitz <poenitz@gmx.net>
7740
7741         * lyxlength.C: inBP should be able to return negative values
7742
7743 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7744
7745         * lyxfunc.C: use lyx_gui::update_fonts()
7746
7747 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7748
7749         * lyxfunc.C: use lyx_gui::update_color()
7750
7751 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7752
7753         * bufferlist.C:
7754         * lyxfunc.h:
7755         * lyxfunc.C:
7756         * lyxrc.h:
7757         * lyxrc.C: remove file->new asks for name option, and let
7758           buffer-new take an argument
7759
7760 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7761
7762         * BufferView_pimpl.C: remove unneeded extra repaint()
7763
7764 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7765
7766         * LyXAction.C: allow command-sequence with NoBuffer
7767
7768         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7769
7770 2002-07-10  Angus Leeming  <leeming@lyx.org>
7771
7772         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7773
7774 2002-07-09  Angus Leeming  <leeming@lyx.org>
7775
7776         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7777
7778 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7779
7780         * lengthcommon.h: whitespace
7781
7782         * lyxfunc.C: update scrollbar after goto paragraph
7783
7784         * lyxtext.h: factor out page break drawing, and fix it so
7785           page break/added space paints as selected nicely
7786
7787 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7788
7789         * BufferView_pimpl.C: add FIXMEs, clean up a little
7790
7791 2002-07-09  André Pönitz <poenitz@gmx.net>
7792
7793         * lyxfont.[Ch]: support for wasy symbols
7794
7795 2002-07-08  André Pönitz <poenitz@gmx.net>
7796
7797         * BufferView_pimpl.C: apply John's patch for #93.
7798
7799 2002-07-05  Angus Leeming  <leeming@lyx.org>
7800
7801         * BufferView_pimpl.C (buffer): generate previews if desired.
7802
7803         * LColor.h: add "preview" to the color enum.
7804
7805         * LColor.C (LColor): add a corresponding entry to the items array.
7806
7807         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7808         with this buffer.
7809
7810 2002-07-05  Angus Leeming  <leeming@lyx.org>
7811
7812         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7813         The body of the code is now in the method that is passed an ostream &
7814         rather than a file name.
7815         Pass an additional only_preamble parameter, useful for the forthcoming
7816         preview stuff.
7817
7818 2002-07-03  André Pönitz <poenitz@gmx.net>
7819
7820         * lyxfunc.C: simplify getStatus() a bit for math stuff
7821
7822 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7823
7824         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7825
7826 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7827
7828         * text.C (changeRegionCase): do not change case of all the
7829         document when region ends at paragraph end (bug #461)
7830
7831 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7832
7833         * paragraph.C (startTeXParParams):
7834         (endTeXParParams): add \protect when necessary
7835
7836 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7837
7838         * BufferView_pimpl.C (workAreaExpose): remove warning
7839
7840 2002-06-27  Angus Leeming  <leeming@lyx.org>
7841
7842         * Makefile.am: add lyxlayout_ptr_fwd.h.
7843
7844 2002-06-26  André Pönitz <poenitz@gmx.net>
7845
7846         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7847
7848 2002-06-25  Angus Leeming  <leeming@lyx.org>
7849
7850         * lyxfunc.C (dispatch): Comment out the call to
7851         grfx::GCache::changeDisplay. The method no longer exists now that the
7852         pixmap generation part of the graphics loader has been moved into
7853         InsetGraphics.
7854
7855 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7856
7857         * text2.C: layout as layout
7858
7859         * text.C: layout as layout
7860
7861         * tabular.C (OldFormatRead): layout as layout
7862
7863         * paragraph_pimpl.C (TeXDeeper): layout as layout
7864         (realizeFont): layout as layout
7865
7866         * paragraph.C (writeFile): layout as layout
7867         (validate): layout as layout
7868         (getFont): layout as layout
7869         (getLabelFont): layout as layout
7870         (getLayoutFont): layout as layout
7871         (breakParagraph): layout as layout
7872         (stripLeadingSpaces): layout as layout
7873         (getEndLabel): layout as layout
7874         (getMaxDepthAfter): layout as layout
7875         (applyLayout): layout as layout
7876         (TeXOnePar): layout as layout
7877         (simpleTeXOnePar): layout as layout
7878         (TeXEnvironment): layout as layout
7879         (layout): layout as layout
7880         (layout): layout as layout
7881
7882         * lyxtextclass.C (compare_name): new functor to work with
7883         shared_ptr, layout as layout
7884         (Read): layout as layout
7885         (hasLayout): layout as layout
7886         (operator): layout as layout
7887         (delete_layout): layout as layout
7888         (defaultLayout): layout as layout
7889
7890         * lyxlayout_ptr_fwd.h: new file
7891
7892         * lyxlayout.C (Read): layout as layout
7893
7894         * lyx_cb.C (MenuInsertLabel): layout as layout
7895
7896         * bufferlist.C (newFile): layout as layout
7897
7898         * buffer.C (readLyXformat2): layout as layout
7899         (parseSingleLyXformat2Token): layout as layout
7900         (insertStringAsLines): layout as layout
7901         (asciiParagraph): layout as layout
7902         (latexParagraphs): layout as layout
7903         (makeLinuxDocFile): layout as layout
7904         (simpleLinuxDocOnePar): layout as layout
7905         (makeDocBookFile): layout as layout
7906         (simpleDocBookOnePar): layout as layout
7907         (getLists): layout as layout
7908
7909         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7910
7911         * CutAndPaste.C (cutSelection): layout as layout
7912         (pasteSelection): layout as layout
7913         (SwitchLayoutsBetweenClasses): layout as layout
7914
7915         * BufferView_pimpl.C (Dispatch): layout as layout
7916         (smartQuote): layout as layout
7917
7918         * BufferView2.C (unlockInset): layout as layout
7919
7920 2002-06-24  André Pönitz <poenitz@gmx.net>
7921
7922         * lyxfunc.C: fix #487
7923
7924 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7925
7926         * lyxrc.h:
7927         * lyxrc.C:
7928         * lyxfunc.C: remove display_shortcuts, show_banner
7929
7930 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7931
7932         * Buffer_pimpl.C: oops, update on resize
7933
7934 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7935
7936         * buffer.C:
7937         * converter.C:
7938         * exporter.C:
7939         * lyxfunc.C:
7940         * BufferView.h:
7941         * BufferView.C: use repaint()
7942
7943         * BufferView_pimpl.h:
7944         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7945           as it's a clearer description. Remove superfluous
7946           redraws.
7947
7948 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7949
7950         * text.C: fix bug 488. Not ideal, but getting
7951           getWord() to work properly for the insets that
7952           matter is more difficult ...
7953
7954 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7955
7956         * BufferView_pimpl.C:
7957         * LyXAction.C:
7958         * commandtags.h:
7959         * lyxfunc.C: remove the six million index lyxfuncs to just
7960           one, and DTRT (bug 458)
7961
7962 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7963
7964         * BufferView.h:
7965         * BufferView.C:
7966         * BufferView_pimpl.h:
7967         * BufferView_pimpl.C: clean up resize() stuff,
7968           and unnecessary updateScreen()s
7969
7970 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7971
7972         * BufferView.h:
7973         * BufferView.C:
7974         * BufferView_pimpl.h:
7975         * BufferView_pimpl.C:
7976         * lyxfind.h:
7977         * lyxfind.C:
7978         * minibuffer.C: remove focus management of workarea,
7979           not needed. Use screen's greyOut()
7980
7981 2002-06-17  Herbert Voss  <voss@lyx.org>
7982
7983         * converter.C: (convert) do not post a message, when converting
7984         fails, let the calling function decide what to do in this case
7985
7986 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7987
7988         * lyxfunc.C: tidy up a little
7989
7990 2002-06-16    <alstrup@diku.dk>
7991
7992         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7993         Got rid of FORMS_H_LOCATION include. Now we are
7994         GUII.
7995
7996 2002-06-15  LyX Development team  <lyx@rilke>
7997
7998         * buffer.[Ch] (sgmlOpenTag):
7999         (sgmlCloseTag): Added support for avoiding pernicious mixed
8000         content. Return number of lines written.
8001
8002         (makeLinuxDocFile):
8003         (makeDocBookFile): Fixed calls to sgml*Tag.
8004         Simple white space clean.
8005
8006         (simpleDocBookOnePar): Simple white space clean.
8007
8008         * tabular.[Ch] (docBook): Renamed to docbook and got another
8009         argument to related with the pernicious mixed content.
8010
8011         (docbookRow): Fixed calls for docbook inset method.
8012
8013 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8014
8015         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8016         so it's X11 independent.
8017
8018         * kb*.[Ch]: ditto.
8019
8020         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8021
8022 2002-06-15  Lyx Development team  <lyx@electronia>
8023
8024         * intl.h: Renamed getTrans to getTransManager.
8025
8026 2002-06-14  Angus Leeming  <leeming@lyx.org>
8027
8028         * Makefile.am: nuke forgotten stl_string_fwd.h.
8029
8030 2002-06-12  Angus Leeming  <leeming@lyx.org>
8031
8032         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8033
8034 2002-06-13  Angus Leeming  <leeming@lyx.org>
8035
8036         * LaTeX.C:
8037         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8038
8039 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8040
8041         * kbmap.C (getiso): add support for cyrillic and greek
8042
8043 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8044
8045         * BufferView.h:
8046         * BufferView.C:
8047         * BufferView_pimpl.h:
8048         * BufferView_pimpl.C: move bogus scrolling logic
8049           to xforms
8050
8051 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8052
8053         * lyxfunc.C:
8054         * BufferView_pimpl.C: view->resize() change
8055
8056 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8057
8058         * BufferView_pimpl.C: topCursorVisible
8059           prototype change
8060
8061 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8062
8063         * Makefile.am:
8064         * lyx_gui.h:
8065         * lyx_gui.C: move to frontends/
8066
8067         * main.C:
8068         * lyx_main.h:
8069         * lyx_main.C: changes from above
8070
8071 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8072
8073         * intl.C:
8074         * intl.h:
8075         * kbmap.C:
8076         * kbsequence.C:
8077         * lyx_cb.C:
8078         * lyx_main.C: minor tidy
8079
8080 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8081
8082         * BufferView_pimpl.h:
8083         * BufferView_pimpl.C:
8084         * BufferView.h:
8085         * BufferView.C: make painter() const,
8086           remove dead code
8087
8088         * BufferView2.C: use screen() accessor
8089
8090         * lyx_main.h:
8091         * lyx_main.C: some minor cleanup
8092
8093 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8094
8095         * BufferView_pimpl.h:
8096         * BufferView_pimpl.C: remove enter/leaveView,
8097           use workHeight()
8098
8099 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8100
8101         * BufferView.h:
8102         * BufferView.C:
8103         * BufferView2.C:
8104         * BufferView_pimpl.h:
8105         * BufferView_pimpl.C: only construct screen once,
8106           rename
8107
8108         * lyxrc.C: remove pointless comment
8109
8110 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8111
8112         * BufferView.h:
8113         * BufferView.C: remove active() and belowMouse()
8114
8115         * BufferView_pimpl.h:
8116         * BufferView_pimpl.C: use workarea() not workarea_,
8117           and make it use a scoped_ptr instead
8118
8119 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8120
8121         * lyx_gui.C: add debug message on BadWindow
8122
8123 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8124
8125         * sp_spell.C: fdopen is not part of the C++ standard.
8126
8127         * paragraph.C (InsetIterator): use >= instead of ==
8128
8129 2002-06-07  Angus Leeming  <leeming@lyx.org>
8130
8131         Fixes needed to compile with Compaq cxx 6.5.
8132         * BufferView_pimpl.C:
8133         * DepTable.C:
8134         * buffer.C:
8135         * converter.C:
8136         * encoding.C:
8137         * lyx_gui.C:
8138         * lyx_main.C:
8139         * lyxtextclasslist.C:
8140         * minibuffer.C:
8141         * sp_spell.C:
8142         * tabular_funcs.C:
8143         * vc-backend.C:
8144         all c-library variables have been moved into namespace std. Wrap
8145         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8146
8147         * lyxlength.C:
8148         * tabular-old.C:
8149         * tabular.C:
8150         Add a using std::abs declaration.
8151
8152         * kbmap.h (modifier_pair):
8153         * paragraph.h (InsetTable, InsetList):
8154         * lyxfont.h (FontBits):
8155         type definition made public.
8156
8157         * bufferlist.C (emergencyWriteAll): the compiler complains that
8158         there is more than one possible lyx::class_fun template to choose from.
8159         I re-named the void specialisation as lyx::void_class_fun.
8160
8161         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8162
8163         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8164         the compiler is is unable to find tostr in write_attribute.
8165
8166 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8167
8168         * buffer.C (sgmlError): hide #warning
8169
8170 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8171
8172         * xtl/*: get rid of xtl, which is not in use anyway
8173
8174         * LyXAction.C (init):
8175         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8176         were unimplemented xtl experimentation
8177
8178 2002-06-04  André Pönitz <poenitz@gmx.net>
8179
8180         * lyxfunc.C: disable array operation on simple formulae
8181
8182 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8183
8184         * converter.C: constify a bit
8185
8186 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8187
8188         * lyx_gui.C: check xforms version correctly
8189
8190 2002-04-30  Herbert Voss  <voss@lyx.org>
8191
8192         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8193         "keep" option
8194
8195 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8196
8197         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8198           attempt to register it with a VCS)
8199
8200 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8201
8202         * lyx_main.C (init): honor variables LYX_DIR_13x and
8203         LYX_USERDIR_13x
8204
8205 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8206
8207         * buffer.h:
8208         * buffer.C:
8209         * lyx_main.C: fix a crash on bad command line,
8210           and give a useful exit status on error
8211
8212         * lyxfunc.C (doImport): allow -i lyx to work
8213
8214 2002-03-30  André Pönitz <poenitz@gmx.net>
8215
8216         * lyxfunc.C: mathed font changes
8217
8218 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8219
8220         * LaTeX.C:
8221         * importer.h:
8222         * importer.C:
8223         * lyx_sty.h:
8224         * lyx_sty.C:
8225         * lyxlex.C:
8226         * lyxrow.h:
8227         * lyxtext.h:
8228         * paragraph.h:
8229         * paragraph.C:
8230         * texrow.h:
8231         * texrow.C:
8232         * text.C:
8233         * trans_mgr.h: srcdocs, and some minor cleanups
8234
8235 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8236
8237         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8238         call getFont all the time)
8239
8240 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8241
8242         * switch from SigC signals to boost::signals
8243
8244 2002-05-29  André Pönitz <poenitz@gmx.net>
8245
8246         * paragraph_pimpl.C (getChar): don't call size() too often...
8247
8248 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8249
8250         * paragraph_pimpl.C (insertChar): do not try to update tables when
8251         appending (pos == size())
8252
8253         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8254         in order to reduce drastically the number of comparisons needed to
8255         parse a large document
8256
8257 2002-05-29  André Pönitz <poenitz@gmx.net>
8258
8259         * text.C:
8260         * text2.C:
8261         * lyxtextclass.C:
8262         * sp_pspell.h:
8263         * textclasslist.[Ch]:
8264         * sp_ispell.h: whitespace change
8265
8266 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8267
8268         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8269         lyxaction directly now.
8270
8271 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8272
8273         * trans.C:
8274         * lyxfont.C:
8275         * lyxvc.C: remove unused headers
8276
8277 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8278
8279         * Makefile.am:
8280         * buffer.h:
8281         * undostack.h:
8282         * undostack.C:
8283         * undo_funcs.h:
8284         * undo_funcs.C: some cleanups. Use shared_ptr
8285           and a template for the undo stacks.
8286
8287 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8288
8289         * BufferView_pimpl.h:
8290         * BufferView_pimpl.C:
8291         * kbmap.h:
8292         * kbmap.C:
8293         * kbsequence.h:
8294         * kbsequence.C:
8295         * lyxfunc.h:
8296         * lyxfunc.C:
8297         * text2.C: use key_state/mouse_state
8298
8299 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8300
8301         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8302         and LSubstring
8303
8304         * chset.C: change include order
8305         (loadFile): use boost regex and get rid of LRegex and LSubstring
8306
8307         * Makefile.am (BOOST_LIBS): new variable
8308         (lyx_LDADD): use it
8309
8310         * LaTeX.C: change include order.
8311         (scanAuxFile): use boost regex and get rid of LRegex and
8312         LSubstring
8313         (deplog): ditto
8314
8315 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8316
8317         * ColorHandler.h:
8318         * ColorHandler.C:
8319         * FontInfo.h:
8320         * FontInfo.C: moved to frontends/xforms/
8321
8322         * FontLoader.h:
8323         * FontLoader.C: moved into frontends for GUIIzation
8324
8325         * Makefile.am:
8326         * lyx_gui.C:
8327         * lyxfont.C:
8328         * lyxfunc.C: changes from above
8329
8330 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8331
8332         * LColor.C: remove spurious X include
8333
8334         * BufferView_pimpl.C:
8335         * Makefile.am:
8336         * font.h:
8337         * font.C:
8338         * text.C:
8339         * text2.C: move font metrics to frontends/
8340
8341 2002-05-24  Juergen Vigna  <jug@sad.it>
8342
8343         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8344         setting the undo_cursor.
8345
8346         * ParagraphParameters.h: include local includes first.
8347
8348 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8349
8350         * BufferView_pimpl.C:
8351         * BufferView_pimpl.h:
8352         * Makefile.am:
8353         * WorkArea.h:
8354         * WorkArea.C:
8355         * screen.C: move WorkArea into frontends/
8356
8357         * lyxscreen.h:
8358         * screen.C:
8359         * text.C:
8360         * BufferView.C:
8361         * BufferView2.C: move LyXScreen into frontends/
8362
8363         * lyxlookup.h:
8364         * lyxlookup.C:
8365         * lyx_gui.C: move lyxlookup into frontends/xforms/
8366
8367 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8368
8369         * BufferView2.C:
8370         * BufferView_pimpl.C:
8371         * FontLoader.C:
8372         * LyXView.h:
8373         * LyXView.C:
8374         * Makefile.am:
8375         * WorkArea.C:
8376         * XFormsView.h:
8377         * XFormsView.C:
8378         * buffer.C:
8379         * bufferlist.C:
8380         * bufferview_funcs.C:
8381         * converter.C:
8382         * importer.C:
8383         * lyx_cb.C:
8384         * lyx_gui.C:
8385         * lyx_main.C:
8386         * lyx_find.C:
8387         * lyxfunc.C:
8388         * lyxvc.C:
8389         * minibuffer.C:
8390         * text.C:
8391         * text2.C:
8392         * trans.C:
8393         * vc-backend.C: move LyX/XFormsView into frontends/
8394
8395 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8396
8397         * Makefile.am:
8398         * PainterBase.C:
8399         * PainterBase.h:
8400         * Painter.C:
8401         * Painter.h:
8402         * WorkArea.C:
8403         * WorkArea.h:
8404         * screen.C:
8405         * tabular.C:
8406         * text.C:
8407         * text2.C: move Painter to frontends/
8408
8409 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8410
8411         * buffer.C: comment out some some code that depend upon lyx_format
8412         < 220
8413
8414         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8415         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8416
8417         * buffer.h (NO_COMPABILITY): turn off compability
8418
8419         * ColorHandler.C: include scoped_array.hpp
8420
8421         * font.C: Use more specific smart_ptr header.
8422         * Painter.C: ditto
8423         * gettext.C: ditto
8424         * ShareContainer.h: ditto
8425         * lyx_main.h: ditto
8426         * kbmap.h: ditto
8427         * FontInfo.h: ditto
8428         * BufferView_pimpl.h: ditto
8429         * ColorHandler.h: ditto
8430
8431         * kbmap.C (defkey): change call to shared_ptr::reset
8432
8433 2002-05-21  Juergen Vigna  <jug@sad.it>
8434
8435         * buffer.C (insertErtContents): fix to insert ert asis if it is
8436         non empty. Skip it completely if it contains only whitespaces.
8437
8438 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8439
8440         * BufferView_pimpl.C:
8441         * BufferView2.C: clear selection on paste (bug 393)
8442
8443 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8444
8445         * DepTable.C: include ctime
8446
8447 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8448
8449         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8450
8451 2002-05-14  Juergen Vigna  <jug@sad.it>
8452
8453         * text.C (breakParagraph): fixed function to honor the keepempty
8454         layout in the right maner and also to permit the right breaking
8455         algorithm on empty or non empyt keepempty paragraphs.
8456
8457         * paragraph.C (breakParagraph): we have to check also if the par
8458         is really empty (!size()) for isempty otherwise we do the wrong
8459         paragraph break.
8460
8461 2002-05-10  Juergen Vigna  <jug@sad.it>
8462
8463         * buffer.[Ch] : The following are only changes to the ert
8464         compatibility read reading old LaTeX layout and font stuff and
8465         convert it to ERTInsets.
8466
8467         * buffer.h: added isErtInset().
8468
8469         * buffer.C (struct ErtComp): add a fromlayout bool to check
8470         if we're inside a LaTeX layout.
8471         (isErtInset): new helper function.
8472         (insertErtContents): look for other ert insets before this one
8473         and insert the contents there, so that we don't have subsequent
8474         ERT insets with nothing between them. This way we create only one
8475         inset with multiple paragraphs. Also check if we don't insert only
8476         spaces ' ' as they are ignored anyway afterwards in the .tex file
8477         so if we have only spaces we will ignore this latex part in the
8478         new file.
8479         (parseSingleLyXformat2Token \\layout): better compatibility when
8480         reading layout-latex stuff.
8481         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8482         language tag.
8483         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8484         stuff after reading the inset only get the information back from
8485         the stack.
8486
8487 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8488
8489         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8490
8491         * LaTeXFeatures.C (getBabelOptions): New method.
8492
8493 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8494
8495         * BufferView_pimpl.C (Dispatch): work around missing argument for
8496         'layout'
8497
8498 2002-05-08  Juergen Vigna  <jug@sad.it>
8499
8500         * text.C (leftMargin): handle paragraph leftindent.
8501
8502         * paragraph.C (writeFile): write the new \\leftindent tag.
8503         (validate): handle leftindent code.
8504         (TeXEnvironment): handle paragraphleftindent code again.
8505
8506         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8507
8508         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8509         for paragrap_extra indent code and new token \\leftindent.
8510         (latexParagraphs): handle the leftindent as environment.
8511
8512         * ParameterStruct.h: added leftindent support.
8513
8514         * ParagraphParameters.C (leftIndent): added support functions for
8515         the paragraph left indent.
8516
8517         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8518         more appropriate.
8519
8520 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8521
8522         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8523         inside insetERT.
8524
8525         * text.C (computeBidiTables): No bidi in insetERT.
8526
8527         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8528         in RTL documents.
8529
8530 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8531
8532         * version.C.in: pre 5
8533
8534 2002-05-02  José Matos  <jamatos@fep.up.pt>
8535         * buffer.C (makeDocBookFile): white space changes, add newline to
8536         command styles.
8537         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8538
8539         * tabular.C (docBook): fix typo.
8540
8541 2002-05-03  Juergen Vigna  <jug@sad.it>
8542
8543         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8544         change in LyXText as we can not be sure it was not freed.
8545         (drawOneRow): remove unused code.
8546
8547         * text.C (drawInset): redo the calculation of the need_break_row as
8548         it could have a row which was already freed.
8549         (draw): look at the return value of drawInset and return false if
8550         it also returned false.
8551         (paintRowText): look at the return value of draw and return false if
8552         it also returned false.
8553
8554         * lyxtext.h: added bool return type to drawInset() and draw() so that
8555         if we have a change in the row so that the rowbreak has to be redone
8556         we abort drawing as it will be called again.
8557
8558 2002-05-02  Juergen Vigna  <jug@sad.it>
8559
8560         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8561         a change in the maintext also if we're inside an inset.
8562         (Dispatch): set the cursor again after a break line and after the
8563         screen has been updated as it could be we're in a different row.
8564
8565         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8566         to set the cursor behind the pargraph with > size().
8567         (setCursor): check also for the same paragraph when checking where
8568         to put the cursor if we have a NFR inset.
8569
8570         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8571         parts of layout read further up as it still was in the wrong
8572         position.
8573
8574 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8575
8576         * screen.C (drawFromTo): change sine fullRebreak always return
8577         true.
8578
8579         * buffer.C (parseSingleLyXformat2Token): reindent some
8580
8581         * BufferView_pimpl.C (update): change since fullRebreak always
8582         return true.
8583         (Dispatch): git rid of the last hardcoded "Standard"s.
8584
8585 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8586
8587         * text2.[Ch] (fullRebreak): make it return void now that we always
8588         returned true.
8589
8590 2002-04-30  Juergen Vigna  <jug@sad.it>
8591
8592         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8593         ert compatibility check for "latex" layout.
8594
8595 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8596
8597         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8598         minipages: use col% instead of p%, and also use the current font.
8599         (makeLaTeXFile): Fix use babel condition.
8600         (parseSingleLyXformat2Token): Correct font when reading old floats.
8601
8602 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8603
8604         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8605         inserting list of floats.
8606
8607 2002-04-25  Herbert Voss  <voss@lyx.org>
8608
8609         * MenuBackend.C (expand): don't add the graphics extensions to the
8610         export menu
8611
8612 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8613
8614         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8615         non-existing layout, do not complain if it was the default layout
8616         of the original class (bug #342)
8617
8618 2002-04-24  Juergen Vigna  <jug@sad.it>
8619
8620         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8621         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8622
8623 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8624
8625         * buffer.C (getBibkeyList): If using \bibliography, return the
8626         option field with the reference itself. Enables us to provide natbib
8627         support when using \bibliography.
8628
8629 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8630
8631         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8632
8633         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8634         natbib is provided by the LaTeX class.
8635
8636 2002-04-23  Juergen Vigna  <jug@sad.it>
8637
8638         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8639         Wakeup functions.
8640
8641         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8642
8643 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8644
8645         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8646
8647         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8648         ensuremath around textordmasculine, textordfeminine and
8649         textdegree.
8650
8651 2002-04-19  Juergen Vigna  <jug@sad.it>
8652
8653         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8654         reinitializing the buffer otherwise row-dimensions may be wrong.
8655         (update): reset also the selection cursors if they do exits otherwise
8656         their x/y positions may be wrong.
8657
8658         * text2.C (cursorDown): don't enter the inset if we came from a row
8659         above and are one row over the inset.
8660
8661         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8662         really leaving an inset.
8663
8664 2002-04-18  Juergen Vigna  <jug@sad.it>
8665
8666         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8667         of the selected paragraph does not have the selected layout also if
8668         the last one had!
8669
8670         * text2.C (setLayout): fixed bug which did not change last selected
8671         paragraph.
8672
8673         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8674         changed the read and substituted \\end_float with \\end_inset!
8675
8676         * BufferView_pimpl.C (cursorPrevious):
8677         (cursorNext): fixed to make it work with rows heigher than the work
8678         area without moving the cursor only the draw of the row.
8679         (workAreaMotionNotify): fix jumping over high rows.
8680
8681 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8682
8683         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8684         Ressler.
8685
8686 2002-04-16  Juergen Vigna  <jug@sad.it>
8687
8688         * text2.C (setCursor): set also the irow().
8689         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8690         (cursorUp):
8691         (cursorDown): support for locking an inset if the x_fix value goes
8692         inside it. That way I can transverse insets too with cursor up/down.
8693
8694         * lyxrow.h: added irow helper function same as other (i) functions.
8695
8696         * BufferView_pimpl.C (cursorPrevious):
8697         (cursorNext): fixed for insets!
8698
8699 2002-04-15  Juergen Vigna  <jug@sad.it>
8700
8701         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8702         position otherwise it is wrong in some cases.
8703
8704         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8705         inside the inset before the call.
8706
8707 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8708
8709         * buffer.[Ch] (getBibkeyList): make it const.
8710
8711 2002-04-12  Juergen Vigna  <jug@sad.it>
8712
8713         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8714
8715         * text2.C (getCursorX): new helper function
8716         (setCursor): compute also ix_
8717         (setCursorFromCoordinates): set also ix.
8718
8719         * lyxcursor.h: added ix_ and helper functions.
8720
8721         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8722
8723         * buffer.C (insertStringAsLines): dont break paragraph if the this
8724         paragraph is inside an inset which does not permit it!
8725
8726         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8727         also with no chars on this paragraph.
8728         (paintRowText): only paint stuff if it's inside the workarea!
8729
8730         * paragraph.C (breakParagraph): honor keepempty flag and break the
8731         paragraph always below not above.
8732
8733         * BufferView2.C (unlockInset): update the paragraph layout on inset
8734         unlock as we changed paragraph in such a case.
8735
8736         * lyxfind.C (LyXFind): clear the former selection if not found!
8737
8738         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8739         again called in insertChar().
8740
8741         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8742         an inset which uses the whole row!
8743         (rightMargin): ditto.
8744         (insertChar): force a rebreak if we inserted an inset!
8745
8746 2002-03-28  Herbert Voss  <voss@lyx.org>
8747
8748         * lyxlength.[Ch]: add inBP() to get the right PS-point
8749         units (BigPoint). With inPixels we have rounding errors
8750
8751 2002-04-11  Juergen Vigna  <jug@sad.it>
8752
8753         * text2.C (setCursorFromCoordinates): set iy to the right value.
8754         (setCursor): add check if row->previous exists!
8755
8756         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8757         an old float_type as this was the case in the old code!
8758
8759         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8760
8761         * BufferView2.C (showLockedInsetCursor): use iy
8762         (fitLockedInsetCursor): ditto
8763
8764         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8765         locked insets as there we have the right value now.
8766
8767         * lyxcursor.C: added iy_ variable and iy functions to set to the
8768         baseline of cursor-y of the locked inset.
8769
8770         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8771         (setCursor): fixed for insets which need a full row.
8772
8773         * text.C (rowLastPrintable): don't ignore the last space when before
8774         an inset which needs a full row.
8775         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8776         as last character of a row when before a inset which needs a full row.
8777
8778 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8779
8780         * version.C.in: update date
8781
8782         * text2.C (fullRebreak): try to always return true and see what
8783         happens...
8784
8785 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8786
8787         * MenuBackend.C (expand): use Floating::listName
8788
8789         * FloatList.C (FloatList): add listName argument to the built-in
8790         floats
8791
8792         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8793         text associated with the float.
8794
8795 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8796
8797         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8798
8799 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8800
8801         * ShareContainer.h: add a couple of missing typenames.
8802
8803 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8804
8805         * lyxrc.C (getDescription): use _() correctly rather than N_().
8806
8807 2002-03-28  Herbert Voss  <voss@lyx.org>
8808
8809         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8810         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8811
8812 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8813
8814         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8815         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8816
8817 2002-03-29  Juergen Vigna  <jug@sad.it>
8818
8819         * lyxfunc.C (dispatch): add a missing fitCursor call.
8820
8821         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8822         it was scrolled by a cursor move, so return the bool status.
8823
8824         * BufferView.C (fitCursor): return the bool flag also to the outside
8825         world as this is needed.
8826
8827         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8828
8829         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8830         call the edit() as it is not needed (and wrong) IMO.
8831         (workAreaButtonPress): set the screen_first variable before evt.
8832         unlock the inset as this may change screen_first and then we have
8833         a wrong y position for the click!
8834
8835 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8836
8837         * MenuBackend.C (expand): another translation that I missed
8838
8839 2002-03-28  Juergen Vigna  <jug@sad.it>
8840
8841         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8842
8843         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8844
8845 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8846
8847         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8848
8849         * MenuBackend.C (expand): fix export/view/update when there is no
8850         document open.
8851
8852 2002-03-27  Herbert Voss  <voss@lyx.org>
8853
8854         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8855         and text%
8856
8857 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8858
8859         * bufferview_funcs.C (currentState): only show paragraph number
8860         for is DEVEL_VERSION is set.
8861
8862         * lyxfunc.C (dispatch): put warning in INFO channel
8863
8864         * MenuBackend.C (expand): translate the name of floats
8865
8866         * FloatList.C (FloatList): mark the float names for translation
8867
8868         * converter.C (convert): use LibScriptSearch
8869
8870 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8871
8872         * MenuBackend.C (defaults): fix default menu (we might as well get
8873         rid of it...)
8874
8875 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8876
8877         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8878         directory.
8879
8880 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8881
8882         * lyxvc.C: reorder includes.
8883
8884 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8885
8886         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8887           properly
8888
8889 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8890
8891         * CutAndPaste.C: change layouts earlier on paste
8892           to avoid crashing when calling getFont()
8893
8894 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8895
8896         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8897         irritating #error.
8898
8899 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8900
8901         * WorkArea.C: remove 'Pending' debug message.
8902
8903         * most files: ws cleanup
8904
8905         * buffer.[Ch]: ws changes
8906
8907         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8908
8909 2002-03-21  Juergen Vigna  <jug@sad.it>
8910
8911         * tabular.C (SetMultiColumn): collapse also the contents of the
8912         cells and set the last border right. Added a Buffer const * param.
8913
8914 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8915
8916         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8917         linking or not.
8918
8919 2002-03-19  Juergen Vigna  <jug@sad.it>
8920
8921         * text2.C (clearSelection): reset also xsel_cache.
8922
8923         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8924         where it needs to be called (John tells us to do so too :)
8925         (selectionLost): reset sel_cache.
8926
8927         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8928
8929 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8930
8931         * text2.C (setCursorIntern): put debuging code in INSETS channel
8932
8933 2002-03-19  André Pönitz <poenitz@gmx.net>
8934
8935         * lyxfunc.C: tiny whitespace change
8936
8937 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8938
8939         * ToolbarDefaults.C (init):
8940         * LyXAction.C (init):
8941         * commandtags.h:
8942         * BufferView_pimpl.C (Dispatch):
8943         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8944
8945 2002-03-19  Allan Rae  <rae@lyx.org>
8946
8947         * exporter.C (Export): removeAutoInsets before doing anything else.
8948         While I've just introduced a dependency on BufferView this really is
8949         the best place to clean the buffer otherwise you need to cleanup in
8950         a dozen places before calling export or cleanup in a dozen functions
8951         that export calls.
8952
8953         * converter.C (runLaTeX):
8954         (scanLog): Better handling of removeAutoInsets and screen updates.
8955
8956         * lyxfunc.C (dispatch): small whitespace changes
8957
8958 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8959
8960         * WorkArea.C (C_WorkAreaEvent): return a value.
8961         (event_cb): return 1 if we handled the event, 0 otherwise.
8962
8963         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8964
8965 2002-03-18  Juergen Vigna  <jug@sad.it>
8966
8967         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8968         (GetAdditionalWidth): ditto.
8969         (RightLine): ditto.
8970         (LeftLine): ditto.
8971
8972         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8973         inset if we're there actually (probably not used right now but this
8974         is the direction to go for unifying code).
8975         (paste): disable code to clear the selection.
8976
8977         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8978         inside an InsetText and move the check further up as it is in the
8979         wrong place.
8980
8981         * text2.C (pasteSelection): set a selection over the pasted text.
8982
8983 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8984
8985         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8986         and libgraphics to build on Cygwin.
8987
8988 2002-03-15  Juergen Vigna  <jug@sad.it>
8989
8990         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8991         inserting an Inset into the paragraph. I know this is not the best
8992         fix but we already use current_view in CutAndPaste so we will remove
8993         all of it's using at the same time.
8994
8995         * buffer.C (sgmlError): deactivated function till it is rewritten in
8996         the right mode, now it can create problems.
8997
8998         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8999         before accessing it.
9000
9001 2002-03-14  Juergen Vigna  <jug@sad.it>
9002
9003         * undo_funcs.C (textHandleUndo): do the right thing when updating
9004         the inset after the undo/redo.
9005
9006         * text2.C (setCursor): just some testcode for #44 not ready yet.
9007
9008         * undo_funcs.C (textHandleUndo): set the next() and previous()
9009         pointers of the paragraph to 0 before deleting otherwise we have
9010         problems with the Paragraph::[destructor].
9011
9012         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9013         on a paragraph insertion.
9014
9015 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9016
9017         * buffer.C (asciiParagraph): use += operator for char append to
9018         string.
9019
9020         * paragraph.C (getFontSettings): compare >= not just >
9021         (highestFontInRange): ditto
9022         (setFont): ditto
9023
9024 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9025
9026         * paragraph.C: change several algorithm to be more appripriate for
9027         the problem domain. This is lookip in FontList and in the InsetList.
9028
9029 2002-03-13  André Pönitz <poenitz@gmx.net>
9030
9031         * commandtags.h:
9032         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9033
9034 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9035
9036         * commandtags.h:
9037         * LyXAction.C:
9038         * lyxfunc.C:
9039         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9040
9041 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9042
9043         * Painter.C (display): anon helper function, adjust code for this
9044         change.
9045         (pixmap): remove function.
9046
9047         * Painter.h: remove private display variable.
9048
9049         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9050
9051 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9052
9053         * WorkArea.[Ch]: remove figinset_canvas cruft.
9054
9055 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9056
9057         * lyxtextclass.C (operator): add one item cache optimization.
9058
9059         * bufferlist.h: doxy changes
9060
9061         * bufferlist.C: ws changes
9062
9063         * DepTable.[Ch] (ext_exist): place const in the right spot.
9064
9065         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9066         call resizeInsets.
9067         (workAreaExpose): call resizeInsets when the with BufferView changes.
9068         (Dispatch): adjust for protectedBlank removal
9069         (specialChar): call updateInset if the insert went ok.
9070
9071         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9072         specialChar instead.
9073
9074         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9075
9076         * BufferView.h: doxy change
9077
9078         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9079
9080         * lyxtextclass.C (operator[]): remove non-const version
9081         (defaultLayout): remove non-const version
9082
9083 2002-03-12  Juergen Vigna  <jug@sad.it>
9084
9085         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9086         did resize the LyXText too.
9087
9088         * buffer.C (readLyXformat2): set layout information on newly allocated
9089         paragraphs.
9090
9091         * tabular.C (OldFormatRead): set layout information on the paragraph.
9092
9093 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9094
9095         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9096
9097 2002-03-11  Juergen Vigna  <jug@sad.it>
9098
9099         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9100         plainly wrong.
9101         (resizeCurrentBuffer): force also the insets to resize themselfes.
9102         (moveCursorUpdate): fixed up for InsetText.
9103
9104 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9105
9106         * commandtags.h:
9107         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9108         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9109         value of Dialogs::tooltipsEnabled().
9110         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9111
9112 2002-03-08  Juergen Vigna  <jug@sad.it>
9113
9114         * BufferView_pimpl.C (updateInset): update inset inside inset also
9115         if it isn't inside theLockingInset().
9116
9117 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9118
9119         * buffer.C (asciiParagraph): redo some of the word and line length
9120         handling.
9121         (getLists): look for Caption instead of caption.
9122
9123 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9124
9125         * buffer.C (Buffer): initialize niceFile to true
9126         (makeLaTeXFile):
9127         (makeLinuxDocFile):
9128         (makeDocBookFile): make sure niceFile is true on exit
9129
9130 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9131
9132         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9133
9134 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9135
9136         * LyXSendto.C: remove.
9137         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9138         * lyx_gui.C: remove now-redundant comment.
9139         * ColorHandler.h: remove forward declaration of class WorkArea.
9140         * lyxfunc.C: remove #include "WorkArea.h".
9141
9142 2002-03-07  Juergen Vigna  <jug@sad.it>
9143
9144         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9145         got moved away with the DEPM and also set the inset_owner always
9146         right which before could have been omitted.
9147
9148 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9149
9150         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9151         wanted layout is not found.
9152
9153 2002-03-07  Juergen Vigna  <jug@sad.it>
9154
9155         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9156
9157 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9158
9159         * paragraph.C (breakParagraph): use default layout not layout of
9160         prev paragraph.
9161         (Paragraph): clear ParagraphParameters.
9162
9163 2002-03-06  Juergen Vigna  <jug@sad.it>
9164
9165         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9166         otherwise it would not be a valid lenght. Fixed a special case in
9167         the minipage compatibility read where we end the document with a
9168         minipage.
9169
9170         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9171         was set as it could be 0 for InsetTexts first entry.
9172
9173 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9174
9175         * paragraph.C (writeFile): if layout is empty write out
9176         defaultLayoutName().
9177
9178         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9179         file without named layout we set layout to defaultLayoutName().
9180
9181 2002-03-06  Juergen Vigna  <jug@sad.it>
9182
9183         * CutAndPaste.C (copySelection): set layout for new paragraph.
9184
9185         * text.C (prepareToPrint): leave ERT inset left aligned
9186         (leftMargin): don't indent paragraphs inside ERT insets
9187
9188 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9189
9190         * paragraph.C (breakParagraph): dont call clear do the work manually
9191
9192         * paragraph.[Ch] (clear): remove function
9193
9194 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9195
9196         * paragraph.C (Paragraph): dont call clear, the work has already
9197         been done.
9198
9199         * lyxtextclass.C (operator): assert if n is empty
9200
9201         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9202         work manually instead.
9203
9204 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9205
9206         * BufferView_pimpl.C: protect selectionLost against text == 0
9207
9208 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9209
9210         * text.C (breakParagraph): fix a setting layout to '0' problem.
9211
9212 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9213
9214         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9215         final location of file, for the included files, and graphics.
9216
9217 2002-03-05  Juergen Vigna  <jug@sad.it>
9218
9219         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9220
9221 2002-03-04  Juergen Vigna  <jug@sad.it>
9222
9223         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9224
9225         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9226         last column of multicolumn cells.
9227         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9228
9229 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9230
9231         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9232         file if it doesn't go to a temporary file.
9233
9234         * buffer.C (sgmlOpenTag):
9235         (sgmlCloseTag):  remove extra newline insertion.
9236
9237 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9238
9239         * text.C (getRowNearY): comment out debug msg
9240
9241 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9242
9243         * text2.C: first -> first_y
9244
9245         * text.C (getRowNearY): add some attemts at a possible
9246         optimization, not working.
9247
9248         * tabular.[Ch]: add BufferParams to several function so that newly
9249         created paragraph can be initialized to he default layotu for the
9250         buffers textclass.
9251
9252         * tabular-old.C (ReadOld): add buf->params to call of Init
9253
9254         * screen.C: rename text->first to text->first_y
9255
9256         * paragraph.C (breakParagraph): always set layout in the broken
9257         paragraph
9258
9259         * lyxtextclass.C (Read): remove lowercase
9260         (hasLayout): ditto
9261         (operator): ditto
9262         (delete_layout): ditto
9263
9264         * lyxtext.h: rename first -> first_y
9265
9266         * lyxlayout.C (Read): remove lowercase
9267         (name): ditto
9268         (setName): ditto
9269         (obsoleted_by): ditto
9270
9271         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9272
9273         * buffer.C (insertErtContents): add params are to InsetERT
9274         (parseSingleLyXformat2Token): add code to check if a paragraphs
9275         layout really exist.
9276         (parseSingleLyXformat2Token): add params to several inset
9277         constructors
9278         (asciiParagraph): remove lowercase, do the layout comparisons with
9279         no_case
9280
9281         * BufferView_pimpl.C (cursorNext): first -> first_y
9282         (resizeCurrentBuffer): first -> first_y
9283         (updateScrollbar): first -> first_y
9284         (scrollCB): first -> first_y
9285         (workAreaMotionNotify): first -> first_y
9286         (workAreaButtonPress): first -> first_y
9287         (checkInsetHit): first -> first_y
9288         (cursorPrevious): first -> first_y
9289         (cursorNext): first -> first_y
9290         (Dispatch): add buffer_->params to severl inset contructors
9291
9292 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9293
9294         * lyxlayout.C (Read): remove some debug info that I forgot.
9295
9296         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9297         clean up the code slightly.
9298         (makeLinuxDocFile): ditto
9299         (makeDocBookFile): ditto
9300
9301         * text2.C: layout as string
9302
9303         * text.C: layout as string
9304
9305         * paragraph_pimpl.C: layout as string
9306
9307         * paragraph.[Ch]: layout as string
9308
9309         * lyxtextclasslist.[Ch]: layout as string
9310
9311         * lyxtextclass.[Ch]: layout as string
9312
9313         * lyxtext.h: layout as string
9314
9315         * lyxlayout.[Ch]: layout as string
9316
9317         * lyx_cb.C: layout as string
9318
9319         * bufferview_funcs.C: layout as string
9320
9321         * bufferparams.C: layout as string
9322
9323         * buffer.C: layout as string
9324
9325         * LyXView.[Ch]: layout as string
9326
9327         * LaTeXFeatures.[Ch]: layout as string
9328
9329         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9330
9331         * BufferView_pimpl.C: change current_layout to string, remove
9332         lyx::layout_type.
9333         (Dispatch):
9334         (smartQuote):
9335         (insertInset):
9336         (workAreaButtonRelease): layout as string
9337
9338         * BufferView2.C (unlockInset): adjust
9339
9340         * vspace.C (asLatexCommand): use an explict temp variable.
9341
9342 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9343
9344         * Makefile.am: use FRONTEND_*
9345
9346 2002-03-01  Juergen Vigna  <jug@sad.it>
9347
9348         * tabular.C (SetWidthOfMulticolCell): changed to something better
9349         I hope but still work in progress.
9350         (recalculateMulticolumnsOfColumn): renamed function from
9351         recalculateMulticolCells as it is more appropriate now.
9352         (SetWidthOfCell): calculate multicols better.
9353
9354 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9355
9356         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9357
9358         * lyxfunc.C (processKeySym): print sequence also if it is
9359         `deleted' (complete)
9360
9361         * kbsequence.C (print): print sequence even if it is deleted
9362         (complete would be a better word, actually).
9363
9364         * lyxfunc.C (dispatch): print complete options after a prefix key
9365
9366         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9367
9368 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9369
9370         * text2.C (setCharFont): eliminate setCharFont code duplication.
9371
9372 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9373
9374         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9375         LFUN_TABULAR_FEATURE (bug #177)
9376
9377 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9378
9379         * Makefile.am: remove figure.h
9380
9381 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9382
9383         * Bufferview_pimpl.C:
9384         * CutAndPasteC:
9385         * LaTeX.C:
9386         * LyXSendto.C:
9387         * buffer.C:
9388         * bufferlist.C:
9389         * converter.C:
9390         * language.C:
9391         * lyxfunc.C:
9392         * lyxvc.C:
9393         * paragraph.C:
9394         * text.C:
9395         * text2.C: remove #include "lyx_gui_misc.h".
9396
9397         * LaTeX.C: added #include <cstdio>
9398
9399 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9400
9401         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9402         that the paragraph following this one can have.
9403
9404         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9405
9406         * vspace.C (asLatexCommand): fix bogus gcc warning
9407
9408         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9409
9410 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9411
9412         * text2.C (setLayout): get rid of redundant code
9413
9414 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9415
9416         * text2.C (incDepth): make sure depth cannot be increased beyond
9417         reasonable values.
9418
9419 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9420
9421         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9422         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9423
9424         * PainterBase.h (image):
9425         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9426         a LyXImage const *.
9427
9428 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9429
9430         * BufferView.C:
9431         * BufferView.h:
9432         * BufferView_pimpl.C:
9433         * BufferView_pimpl.h:
9434         * LaTeXFeatures.C:
9435         * LyXAction.C:
9436         * LyXView.C:
9437         * Makefile.am:
9438         * UpdateList.h:
9439         * UpdateList.C:
9440         * buffer.C:
9441         * figure.h:
9442         * figureForm.C:
9443         * figureForm.h:
9444         * figure_form.C:
9445         * figure_form.h:
9446         * lyx_cb.C:
9447         * lyx_gui.C:
9448         * lyx_gui_misc.C:
9449         * lyxfunc.C:
9450         * sp_base.h:
9451         * sp_ispell.h:
9452         * sp_pspell.h:
9453         * sp_spell.C: remove fig inset, and the crap house of
9454           cards that follows it
9455
9456 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9457
9458         * Makefile.am:
9459         * lyxserver.C:
9460         * os2_defines.h:
9461         * os2_errortable.h:
9462         * nt_defines.h: move .h into support/
9463
9464         * vms_defines.h: remove
9465
9466         * WorkArea.C: add space in debug output
9467
9468         * text2.C:
9469         * paragraph.C:
9470         * buffer.C: add WITH_WARNINGS
9471
9472         * vc-backend.h:
9473         * vc-backend.C:
9474         * bufferlist.C: s/retrive/retrieve/, add docs
9475
9476         * vspace.h:
9477         * vspace.C:
9478         * kbmap.h:
9479         * lyxlength.h:
9480         * lyxgluelength.h:
9481         * length_common.h:
9482         * chset.h:
9483         * chset.C: add docs
9484
9485         * lyxgui.C: add ID to X error handler
9486
9487         * lyxtestclass.c: fix typo
9488
9489 2002-02-26  Juergen Vigna  <jug@sad.it>
9490
9491         * tabular_funcs.C (write_attribute): changed so that some default
9492         attributes are not written at all.
9493         (getTokenValue): set default values before trying to read the
9494         value so we have the return value always set as default if we don't
9495         find the token we search for.
9496
9497         * tabular.C (Write): write bools as bools not as strings!
9498
9499 2002-02-22  Juergen Vigna  <jug@sad.it>
9500
9501         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9502         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9503
9504         * text.C (leftMargin): don't add an indent for paragraphs inside
9505         tabular cells (fix #208).
9506
9507 2002-02-21  José Matos  <jamatos@fep.up.pt>
9508
9509         * tabular.C (docBook): fixed support for long tables.
9510
9511 2002-02-20  Juergen Vigna  <jug@sad.it>
9512
9513         * text2.C (getFont): get the drawing font of the Inset if this
9514         paragraph is inside an inset (only important for InsetERT for now).
9515
9516         * buffer.C (insertErtContents): use new lanugage params in ERT
9517         constructor.
9518
9519         * CutAndPaste.C: commenting out seemingly uneeded code.
9520
9521 2002-02-19  Allan Rae  <rae@lyx.org>
9522
9523         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9524         Iterators might be simple to use but they also get invalidated.
9525         (removeAutoInsets): renamed saved cursor tracking variables and added
9526         some comments to clarify what everything does.
9527
9528 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9529
9530         * Chktex.C:
9531         * LaTeX.C:
9532         * LyXSendto.C:
9533         * converter.C:
9534         * lyx_cb.C:
9535         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9536         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9537
9538         * lyxfunc.C:
9539         * vc-backend.h: remove #include "support/syscall.h"
9540
9541         * LaTeX.C:
9542         * LyXSendto.C:
9543         * converter.C: rearrange #includes in Lars' approved fashion.
9544
9545         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9546         forward declare class Timeout in the header file.
9547
9548         * XFormsView.C: changes due to the above.
9549
9550         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9551         similar to LyXView.
9552
9553         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9554         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9555
9556 2002-02-18  José Matos  <jamatos@fep.up.pt>
9557
9558         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9559         insets contents.
9560
9561 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9562
9563         * a lot of small ws changes
9564         * add a lot of using std::XXX
9565         * use std construcs some places where approp.
9566         * use some exisint stuff from lyxfunctional where approp.
9567         * Make file changes to use partial linking (lets test this now...)
9568
9569 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9570
9571         * Chktex.C:
9572         * buffer.C:
9573         remove #include "support/syscontr.h" as it's redundant. Always has been.
9574
9575         * Chktex.C:
9576         * LaTeX.C:
9577         * LyXSendto.C:
9578         * converter.C:
9579         * lyx_cb.C:
9580         * vc-backend.C:
9581         change Systemcalls::System to Systemcalls::Wait and
9582         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9583         No change of functionality, just reflects the stripped down Systemcalls
9584         class.
9585
9586 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9587
9588         * debug.[Ch]: add a GRAPHICS type to the enum.
9589
9590 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9591
9592         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9593
9594         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9595         there is an inset.
9596
9597 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9598
9599         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9600         match the changes below.
9601
9602         * text2.C (toggleInset): if there is not editable inset at cursor
9603         position, try to see if cursor is _inside_ a collapsable inset
9604         and close it.
9605
9606 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9607
9608         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9609         document menu has a nice checkbox
9610
9611 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9612
9613         * lyxlength.C (asLatexString): change PW to output as percent of
9614         \textwidth.
9615
9616         * lengthcommon.C: change '%' to 't%'
9617
9618         * lyxfunc.C (dispatch): a few comments from Martin
9619
9620 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9621
9622         * WorkArea.h:
9623         * WorkArea.C:
9624         * BufferView_pimpl.h:
9625         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9626           the X selection.
9627
9628 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9629
9630         * vspace.C (inPixels): fix compiler warning
9631
9632 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9633
9634         * lyxfunc.C (getStatus): fix status message for disabled commands.
9635
9636 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9637
9638         * BufferView_pimpl.C: fix crash on close buffer
9639         during selection (#227)
9640
9641 2002-01-27  Herbert Voss  <voss@lyx.org>
9642
9643         * buffer.C: link old Figure to new graphic inset
9644
9645 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9646
9647         * FontLoader.C (getFontinfo): Change the latex font names in order
9648         to match the names of type1inst.
9649
9650 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9651
9652         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9653
9654         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9655         (extchanged): ditto
9656         (ext_exist): ditto
9657         (remove_files_with_extension): ditto
9658         (remove_file): ditto
9659         (write): ditto
9660
9661         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9662         document is smaller than the work area height. Do not initialize
9663         static variables to 0.
9664
9665 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9666
9667         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9668
9669         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9670         LFUN_LAYOUT_PARAGRAPHS.
9671
9672         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9673         tabular. It is possible to provide a possible cell, which will
9674         typically be the actcell from the corresponding insettabular
9675
9676         * lyxfunc.C (getStatus): small cleanup; disable
9677         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9678         true
9679
9680 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9681
9682         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9683
9684         * paragraph.C (startTeXParParams):
9685         (endTeXParParams): new methods. The LaTeX code to
9686         start/end paragraph formatting
9687         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9688         empty (fixes bug #200)
9689
9690         * vspace.C (inPixels): adapt to the change below
9691         (inPixels): [later] more cleanups (remove unused variables)
9692
9693         * lyxlength.C (inPixels): change to use a width and a height as
9694         parameter.
9695
9696 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9697
9698         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9699         Replaced with \paperwidth
9700
9701         * DepTable.C (insert): add std:: qualifier
9702
9703 2002-01-18  Allan Rae  <rae@lyx.org>
9704
9705         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9706         updated also?
9707
9708         * text.C (drawInset): Turned out I didn't know enough about how
9709         rebreaking worked.  This fixes most of the redraw problems.  I see
9710         an occasional cursor trail when a line is broken now and the cursor
9711         placement can seem out by a few pixels also after a rebreak.
9712
9713 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9714
9715         * buffer.C (parseSingleLyXformat2Token): update because minipage
9716         width is now a LyXLength
9717
9718         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9719
9720         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9721         math insets
9722
9723 2002-01-17  Juergen Vigna  <jug@sad.it>
9724
9725         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9726
9727         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9728         is set correctly and the inset is updated correctly.
9729
9730 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9731
9732         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9733         the beginning of the loop.
9734
9735 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9736
9737         * lyxrc.C: improve help for use_scalable_fonts
9738
9739 2002-01-17  Allan Rae  <rae@lyx.org>
9740
9741         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9742
9743 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9744
9745         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9746         make sure to set their inset_owner to the right value (bug #171)
9747
9748 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9749
9750         * DepTable.h
9751         * DepTable.C: Implement mtime checking to reduce time spent doing
9752         CRCs.
9753
9754 2002-01-16  Juergen Vigna  <jug@sad.it>
9755
9756         * tabular.C (GetAdditionalHeight): one of error fixed.
9757
9758         * lyxrc.C (output): small fix in writing use_pspell.
9759
9760 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9761
9762         * sp_base.h: #include LString.h
9763
9764 2002-01-16  Allan Rae  <rae@lyx.org>
9765
9766         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9767         Can someone check this please?
9768
9769         * text.C (drawInset): It was possible that p.row would be removed by
9770         breakAgainOneRow upsetting a few other settings.  There may be another
9771         small tweak possible by setting need_break_row = 0 when p.row has been
9772         removed but I don't know enough about the logic here.
9773
9774 2002-01-15  Allan Rae  <rae@lyx.org>
9775
9776         * text.C (insertChar): removed conditional truism.
9777
9778         * BufferView2.C (removeAutoInsets): More tweaks.
9779         cur_par_prev could be a stray pointer.  Check for trailing empty line
9780         in case last line was cur_par and only had an error inset on it.
9781
9782 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9783
9784         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9785         absolute
9786
9787         * vc-backend.C (most methods):
9788         * exporter.C (Export):
9789         * converter.C (convert):
9790         (runLaTeX):
9791         * LyXSendto.C (SendtoApplyCB):
9792         * lyxfunc.C (dispatch):
9793         (menuNew):
9794         (open):
9795         (doImport):
9796         * lyx_cb.C (AutoSave):
9797         (InsertAsciiFile):
9798         * BufferView_pimpl.C (MenuInsertLyXFile):
9799         * buffer.C (runChktex): use Buffer::filePath().
9800
9801         * buffer.h: rename filename to filename_; rename filepath to
9802         filepath_ and make it private
9803         (filePath): new method
9804
9805         * buffer.C (writeFile): use fileName()
9806         (getLatexName):
9807
9808         * lyx_main.C (init): fix starting  of LyX when the binary is a
9809         link from so,ewhere else.
9810
9811         * minibuffer.C: include <cctype> for isprint
9812
9813 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9814
9815         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9816         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9817         name clash with InsetCollapsable's width function.
9818
9819 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9820
9821         * lastfiles.C: include <iterator>
9822
9823 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9824
9825         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9826         std::count.
9827
9828         * buffer.C (makeLaTeXFile): ditto.
9829         Also make loop operation more transparent.
9830
9831 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9832
9833         * ToolbarDefaults.C: remove trailing comma closing namespace.
9834
9835         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9836
9837         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9838         as in WorkArea.
9839
9840         * trans.C (Load): comment out unused variable, allowed.
9841
9842 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9843
9844         * minibuffer.[Ch] (append_char): new method to recieve input from the
9845         drop-down completion browser. If a key was pressed, then recieve this
9846         char and append it to the existing string.
9847         (peek_event): modify the positioning data passed to the completion
9848         browser so that it can be placed above the minibuffer rather than below.
9849 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9850
9851         * LyXAction.C (init): alloe error-next for readonly documents.
9852
9853         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9854         count.
9855
9856 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9857
9858         * bufferlist.C (readFile): create the buffer _after_ checking that
9859         the file exists.
9860
9861         * lyxfunc.C (verboseDispatch): fix handling of arguments
9862
9863         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9864
9865         * lyxrc.C: use string::erase() instead of initializing to "".
9866
9867
9868 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9869
9870         * BufferView_pimpl.h:
9871         * BufferView_pimpl.C:
9872         * WorkArea.h:
9873         * WorkArea.C:
9874         * text2.C: tell X when we have made a selection for copying
9875
9876 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9877
9878         * BufferView_pimpl.C (MenuInsertLyXFile):
9879         * lyxfunc.C (menuNew):
9880         (open):
9881         (doImport): add shortcuts to directory buttons
9882
9883         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9884         open a float)
9885
9886         * lyxfunc.C (setStatusMessage):
9887         (getStatusMessage): new methods
9888         (getStatus):use setStatusMessage instead of setErrorMessage
9889         (dispatch): when function is disabled, set error message here
9890         [instead of in getStatus previously]
9891
9892         * BufferView_pimpl.C (workAreaButtonRelease): update
9893         toolbar/menubar here too.
9894
9895 2002-01-13  Allan Rae  <rae@lyx.org>
9896
9897         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9898         Now seems indestructible.  Remaining task is to audit all other
9899         code affected by deleteEmptyParagraphMechanism.  One small quirk
9900         left is that an empty document with an error in the preamble can
9901         be made to report an error but no error box appears.  I don't know
9902         where it goes.
9903         (removeAutoInsets): Improved comments.
9904
9905 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9906
9907         * Thesaurus.h:
9908         * Thesaurus.C: update for Aiksaurus 0.14
9909
9910 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9911
9912         * text2.C (firstParagraph): removed member function, all uses
9913         replaces with ownerParagraph
9914         (redoParagraphs): here
9915         (updateInset): here
9916         (toggleAppendix): here
9917         * BufferView2.C (insertErrors): here
9918         (setCursorFromRow): here
9919
9920 2002-01-13  Allan Rae  <rae@lyx.org>
9921
9922         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9923         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9924         There is still a way to segfault this although you may have to do this
9925         multiple times: Have an InsetERT with an unknown command in it.
9926         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9927         <down-arrow>, <Enter> again, View->DVI, BANG!
9928
9929         * text2.C (setCursor):
9930         (deleteEmptyParagraphMechanism):
9931         * lyxtext.h (setCursor):
9932         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9933         Making use of the return value may help fix other bugs.
9934
9935 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9936
9937         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9938
9939         * LyXView.C (updateMenubar): call MenuBar::update here
9940         (updateToolbar): but not here
9941         (showState): do not update toolbar/menubar
9942
9943         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9944         should need to care about that.
9945
9946         * lyxfunc.C (verboseDispatch): simplify a bit
9947         (getStatus): have a version which takes a pseudoaction, and
9948         another which requires a (kb_action,string).
9949
9950         * LyXAction.C (retrieveActionArg): make it work also when action
9951         is not a pseudo-action.
9952         (getActionName): simplify a bit
9953         (helpText):
9954
9955 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9956
9957         * lyxfunc.C (verboseDispatch): new families of methods with
9958         several ways to specify a command and a bool to indicate whether
9959         the command name and shortcut should be displayed in minibuffer
9960         (eventually, we could extend that to a finer bitmask like
9961         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9962         (dispatch): the pristine dispatch command which just, well,
9963         dispatchs! Note it still sets its result to minibuffer; I'm not
9964         sure we want that.
9965
9966         * lyxfunc.h: remove setHintMessage
9967
9968         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9969
9970 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9971
9972         * BufferView_pimpl.C (specialChar): delete new inset if we have
9973         not been able to insert it.
9974
9975         * kbmap.C: revert to using int instead of kb_action, since all we
9976         are dealing with is pseudo-actions.
9977
9978         * LyXAction.C (searchActionArg): change to return int instead of
9979         kb_action, since the result is a pseudoaction.
9980
9981 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9982
9983         * buffer.C (insertErtContents): Fix (partially) the font bug.
9984
9985 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9986
9987         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9988         as the other one is broken on my machine!
9989
9990 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9991
9992         * commandtags.h:
9993         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9994
9995 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9996
9997         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9998         reflect their actual use. Provide compatibility code for older lyxrc
9999         files.
10000
10001         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10002         FL_NORMAL_STYLE.
10003         change names of popup font variables in line with the changes to lyxrc.C
10004
10005 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10006
10007         * buffer.C (asciiParagraph): avoid outputing a word twice after
10008         an inset.
10009
10010         * lyxrc.C (getDescription): document that document_path and
10011         template_path can be empty.
10012
10013 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10014
10015         * LaTeXFeatures.C (getMacros):
10016         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10017
10018         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10019
10020         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10021         getPackages.
10022         (getPackages): rename feature "floats" to "float". Use an array to
10023         iterate over 'simple' features (i.e. just a \usepackage). Add
10024         handling of "amsmath" (renamed from "amsstyle").
10025
10026 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10027
10028         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10029         features list.
10030
10031 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10032
10033         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10034         FuncStaus::FuncStatus & FuncStaus::some_method().
10035
10036 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10037
10038         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10039         of the func_satus stuff. Edited and massaged in various ways by
10040         JMarc.
10041
10042         * lyxfunc.C (getStatus): use FuncStatus
10043
10044 2002-01-08  Juergen Vigna  <jug@sad.it>
10045
10046         * text.C (nextBreakPoint): use function Inset::isChar().
10047
10048         * paragraph.C (TeXOnePar): use function
10049         Inset::forceDefaultParagraphs.
10050
10051         * buffer.C (latexParagraphs): use function
10052         Inset::forceDefaultParagraphs.
10053
10054 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10055
10056         * lyx_gui.C (init): set the style of the menu popups to
10057         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10058
10059 2002-01-07  Juergen Vigna  <jug@sad.it>
10060
10061         * text.C (setHeightOfRow): small fix
10062         (prepareToPrint): don't look at alignment if we don't have the place
10063         for doing it.
10064
10065 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10066
10067         * box.C: New file. Move the Box methods and functions out of box.h,
10068         following Lars' suggestion.
10069
10070 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10071
10072         * box.h: #include "support/LOstream.h", needed for inlined function.
10073
10074         * lyxtextclass.C:
10075         * lyxtextclasslist.C: added some using std declarations.
10076
10077 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10078
10079         * box.h: make signed dimensions to allow insets wider than
10080           the screen (bug #162)
10081
10082         * BufferView_pimpl.C: add some insetHit debug
10083
10084 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10085
10086         * vc-backend.C: add FIXME
10087
10088 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10089
10090         * lyxfunc.C (getStatus): enable code for showing math font status
10091         in toolbar/menu.
10092
10093 2002-01-07  Juergen Vigna  <jug@sad.it>
10094
10095         * text.C (nextBreakPoint): removed debug output not needed anymore.
10096
10097 2002-01-06  Juergen Vigna  <jug@sad.it>
10098
10099         * text.C (nextBreakPoint): fixed up this function we had this bug
10100         since ever but now hopefully we break row better.
10101         (insertChar): we have to check if an inset is the next char as it
10102         could now happen that a large inset is causing a break.
10103
10104 2002-01-05  Juergen Vigna  <jug@sad.it>
10105
10106         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10107         if it doesn't like to be drawed.
10108
10109 2002-01-04  Juergen Vigna  <jug@sad.it>
10110
10111         * BufferView2.C (lockInset): forgot to set a cursor.
10112
10113         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10114
10115 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10116
10117         * FormMathsPanel.C:
10118         * FormMathsPanel.h
10119         * MathsSymbols.C:
10120         * form_maths_panel.C:
10121         * form_maths_panel.h:
10122         * form_maths_panel.fd: implemented sub- and super- buttons in math
10123         panel.
10124
10125         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10126         (or ^ space) to be used as in TeX (req'd by André).
10127
10128         * lyxfunc.C: Allow ^ and _ again to be used both as
10129         super/subscript (mathed) and as themselves (in text).
10130
10131 2002-01-03  Allan Rae  <rae@lyx.org>
10132
10133         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10134         "LyX" or the filename of the current buffer if it has one.  This is a
10135         modified form of John Levon's patch.
10136
10137         * XFormsView.C (setWindowTitle): also set icon title.
10138
10139         * LyXView.h (setWindowTitle): signature changed.
10140         * XFormsView.h (setWindowTitle): ditto.
10141
10142 2002-01-02  Juergen Vigna  <jug@sad.it>
10143
10144         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10145
10146 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10147
10148         * screen.C (topCursorVisible): introduce a temp var for
10149         text->cursor.row(), handle the case where this row is null. (kindo
10150         hachish)
10151
10152         * text2.C (setCursor): add a couple of asserts.
10153
10154         * paragraph.h (inset_iterator): add -> operator
10155
10156         * paragraph.[Ch] (autoDeleteInsets): remove member function
10157
10158         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10159         cursor pos correctly and handle inset deletion by itself.
10160         (insertErrors): move iterator declaration out of for expression
10161
10162         * lyxtextclass.C: add <algorithm>
10163
10164         * Makefile.am: added the new files to sources, removed layout.C
10165
10166         * layout.C: removed file
10167
10168         * layout.h: remove LYX_DUMMY_LAYOUT
10169
10170         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10171         layout.
10172
10173         * lyxlayout.[Ch]:
10174         * lyxtextclass.[Ch]:
10175         * lyxtextclasslist.[Ch]: new files
10176
10177         * include order changes to a lot of files, also changes because of
10178         the six new files.
10179
10180 2001-12-27  Juergen Vigna  <jug@sad.it>
10181
10182         * buffer.C (asciiParagraph): more fixes.
10183
10184         * tabular.C (ascii): make ascii export support export of only the
10185         data separated by a column-delimiter.
10186         (ascii): better support for ascii export.
10187
10188         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10189
10190 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10191
10192         * tabular_funcs.C: use a "using std::getline" instead of the
10193         previous fix from Angus (necessary for cxx + lyxstring)
10194
10195 2001-12-24  Juergen Vigna  <jug@sad.it>
10196
10197         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10198
10199         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10200         problems. First check a minipage also if we have some ert-contents
10201         (not only on par->size(), second set the right depth of the paragraph
10202         on the relink to the root-paragraph-list!
10203
10204         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10205         which then did not anymore update the main paragraphs on undo/redo!
10206
10207 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10208
10209         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10210         code. Support all font-changing funcs (even those which are not in
10211         menu currently). Support for reporting font settings in
10212         mathed (disabled until Andre provides a function on mathed's side).
10213
10214         * func_status.h (toggle): small helper function to set toggle
10215         state on a flag.
10216
10217 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10218
10219         * tabular_funcs.C: getline -> std::getline
10220
10221 2001-12-21  Juergen Vigna  <jug@sad.it>
10222
10223         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10224         accessed and could be 0 (I couldn't generate this but it seems
10225         Michael could!).
10226
10227 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10228
10229         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10230         * tabular_funcs.h: here and include iosfwd
10231
10232 2001-12-20  Juergen Vigna  <jug@sad.it>
10233
10234         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10235         inside inset but undo_par was.
10236
10237 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10238
10239         * Thesaurus.C: always include <config.h> in sources.
10240
10241         * Painter.h:
10242         * lyxlookup.h:
10243         * box.h: do not include <config.h> in header files
10244
10245         * text.C (paintLastRow): remove unused variable
10246
10247         * text.C (transformChar):
10248         (insertChar):
10249         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10250
10251         * Painter.C (text):
10252         * font.C (width): rewrite to use uppercase() instead of
10253         islower/toupper.
10254
10255         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10256
10257 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10258
10259         * lyxfind.C: clean up of find failure position change
10260
10261 2001-12-20  Juergen Vigna  <jug@sad.it>
10262
10263         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10264
10265         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10266         (TeXRow): added to LaTeX a single tabular row.
10267         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10268         (Latex): simplified and finally good LT-h/f support.
10269         (various_functions): just small adaptions for LT-h/f support.
10270
10271         * tabular_funcs.[hC]: added and moved here all not classfunctions
10272         of LyXTabular.
10273
10274 2001-12-19  Juergen Vigna  <jug@sad.it>
10275
10276         * tabular.[Ch]: better support for longtabular options (not finished
10277         yet!)
10278
10279 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10280
10281         * text.C (paintLastRow): use the label font instead of the font of
10282         the last character to compute the size of *_BOX. This makes more
10283         sense and avoids a crash with empty paragraphs.
10284         Use Painter::rectangle to draw EMPTY_BOX.
10285
10286 2001-12-19  Juergen Vigna  <jug@sad.it>
10287
10288         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10289         the paragraphs if the replaced paragraph is not the first one!
10290         Tried to delete not used paragraphs but does not work yet so for
10291         now it's inside #ifdef's and by default off!
10292
10293 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10294
10295         * MenuBackend.C: include "lyx_main.h" instead of declaring
10296         lastfiles (actually was declared as LastFiles* instead of a
10297         scoped_ptr).
10298
10299 2001-12-17  Juergen Vigna  <jug@sad.it>
10300
10301         * tabular.C (AppendColumn): applied John's fix
10302
10303 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10304
10305         * BufferView.h:
10306         * BufferView.C:
10307         * BufferView_pimpl.h:
10308         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10309
10310         * Makefile.am:
10311         * box.h: new start of class for above
10312
10313         * lyxfunc.C: ignore space-only minibuffer dispatches.
10314           Show the command name when it doesn't exist
10315
10316         * minibuffer.C: don't add empty lines to the history
10317
10318         * minibuffer.C: add a space on dropdown completion
10319
10320 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10321
10322         * text.C: fix line above/below drawing in insets
10323
10324 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10325
10326         * lyxlength.C (LyXLength): Initialize private variables.
10327
10328 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10329
10330         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10331         when inserting error insets.
10332
10333 2001-12-13  Juergen Vigna  <jug@sad.it>
10334
10335         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10336         actually sometimes the before-paragraph.
10337         (setUndo): don't clear the redostack if we're not actually undoing!
10338
10339 2001-12-06  Juergen Vigna  <jug@sad.it>
10340
10341         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10342         and fixed redoing of main paragraph, so we can use it now ;)
10343
10344         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10345
10346 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10347
10348         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10349         Juergen's request
10350
10351 2001-12-13  André Pönitz <poenitz@gmx.net>
10352
10353         * undostack.[Ch]:
10354         * undo_func.C: minor cleanup
10355
10356 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10357
10358         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10359         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10360         font in urw-fonts package which is marked as -urw-fontspecific and
10361         does not work (incidentally, changing the encoding in the
10362         fonts.dir of this package to -adobe-fontspecific fixes the
10363         problem).
10364
10365         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10366         is a crash when undoing first paragraph (Juergen, please take a
10367         look). THis does not mean the undo fix is wrong, just that it
10368         uncovers problems.
10369
10370         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10371         the (Paragraph*) version when needed instead of duplicating the
10372         code.
10373
10374         * text.C (workWidth): use Inset::parOwner to find out where the
10375         inset has been inserted. This is a huge performance gain for large
10376         documents with lots of insets. If Inset::parOwner is not set, fall
10377         back on the brute force method
10378
10379         * paragraph_pimpl.C (insertInset):
10380         * paragraph.C (Paragraph):
10381         (cutIntoMinibuffer): set parOwner of insets when
10382         inserting/removing them
10383
10384         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10385
10386 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10387
10388         * commandtags.h:
10389         * LyXAction.C:
10390         * lyx_main.C:
10391         * lyxfunc.C:
10392         * mathed/formulabase.C:
10393         * mathed/math_cursor.[Ch]:
10394         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10395
10396
10397 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10398
10399         * lyxlength.[Ch] (operator!=): new function
10400
10401 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10402
10403         * text.C (workWidth): use Inset::parOwner to find out where the
10404         inset has been inserted. This is a huge performance gain for large
10405         documents with lots of insets. If Inset::parOwner is not set, fall
10406         back on the brute force method
10407
10408         * paragraph_pimpl.C (insertInset):
10409         * paragraph.C (Paragraph):
10410         (cutIntoMinibuffer): set parOwner of insets when
10411         inserting/removing them
10412
10413         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10414
10415 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10416
10417         * tabular-old.C (getTokenValue):
10418         * tabular.C (getTokenValue):
10419         (write_attribute): new versions for LyXLength
10420         (everywhere): adjust the use of widths
10421
10422         * tabular.h: change the type of widths from string to LyXLength
10423
10424 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10425
10426         * paragraph.C: fixed missing line number count when exporting
10427         Environments to LaTeX file
10428
10429         * buffer.C: added informational message for checking line numbers.
10430
10431 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10432
10433         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10434         paragraph, do the 'double space' part, but not the 'empty
10435         paragraph' one.
10436
10437         * text.C (workWidth): small optimization
10438         (getLengthMarkerHeight): use minimal size for negative lengths.
10439
10440 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10441
10442         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10443
10444         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10445
10446 2001-12-11  André Pönitz <poenitz@gmx.net>
10447
10448         * FontLoader.C:
10449         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10450
10451 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10452
10453         * text2.C: keep selection on a setFont()
10454
10455 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10456
10457         * lyx_cb.C: another bv->text misuse, from insert label
10458
10459 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10460
10461         * kbsequence.h:
10462         * kbsequence.C: re-instate nmodifier mask
10463
10464 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10465
10466         * lyx_main.h: make lyxGUI private.
10467
10468 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10469
10470         * lyxfind.C: place the cursor correctly on failed search
10471
10472 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10473
10474         * text.C (getLengthMarkerHeight): for small heights, the arrows
10475         are not always on top/bottom of the text
10476         (drawLengthMarker): smaller arrows; take the left margin in
10477         account; draw also vfills.
10478         (paintFirstRow):
10479         (paintLastRow): remove special code for vfill and standard spaces,
10480         since everything is handled in drawLengthMarker now.
10481
10482 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10483
10484         * buffer.C (insertErtContents): try to handle font and language
10485         interaction a bit better.g
10486
10487         * ColorHandler.C (updateColor): change the hash to cover the whole
10488         LColor enum, ws cleanup
10489         (getGCLinepars): ditto
10490         (getGCLinepars): only lookup in the linecache once.
10491
10492 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10493
10494         * iterators.C (operator++): Make the iterator more robust
10495
10496         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10497         (John's patch)
10498         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10499
10500 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10501
10502         * lyxtext.h:
10503         * text.C: better added space drawing
10504
10505 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10506
10507         * LyXView.C:
10508         * BufferView2.C: fix layout combo update on inset unlock
10509
10510 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10511
10512         * Makefile.am: don't compile unused files
10513
10514 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10515
10516         * lyxfunc.C:
10517         * commandtags.h:
10518         * LyXAction.C: remove old LFUN_LAYOUTNO
10519
10520 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10521
10522         * paragraph_pimpl.h:
10523         * paragraph_pimpl.C: isTextAt() doesn't need font param
10524
10525 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10526
10527         * lyxlex.h:
10528         * lyxlex.C: little cleanup
10529
10530 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10531
10532         * BufferView_pimpl.C: fix insertAscii for insets
10533
10534 2001-12-05  Juergen Vigna  <jug@sad.it>
10535
10536         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10537         set the right font on the "multi" paragraph paste!
10538
10539 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10540
10541         * trans_decl.h:
10542         * trans_mgr.[Ch]:
10543         * trans.[Ch]:
10544         * lyxgluelength.C:
10545         * lyxlength.C: remove out-commented code.
10546
10547         * BufferView_pimpl:
10548         * CutAndPaste.C:
10549         * DepTable.C:
10550         * buffer.C:
10551         * chset.C:
10552         * lastfiles.C:
10553         * lyxlex.C:
10554         * lyxlex_pimpl.C:
10555         * lyxserver.C:
10556         * screen.C:
10557         * tabular-old.C:
10558         * tabular.C:
10559         * text.C:
10560         * trans_mgr.C:
10561         * vc-backend.C: change "while(" to "while ("
10562
10563         * lyxlength.[Ch]: add zero function to check if length is zero or
10564         not
10565         * lyxgluelength.C: use it
10566
10567 2001-12-05  Allan Rae  <rae@lyx.org>
10568
10569         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10570         Works for 2.95.3, from what I understand of Garst's reports this should
10571         work for other g++ versions.  We're screwed if the abs(int) definition
10572         changed between bugfix releases of gcc.
10573
10574 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10575
10576         * text.C: fix chapter label offset !
10577
10578 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10579
10580         * lyxtext.h:
10581         * text.C: fix hfill at end of line, clean up
10582
10583 2001-12-04  Juergen Vigna  <jug@sad.it>
10584
10585         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10586         that we force an update of the inset and it's owners if neccessary.
10587
10588 2001-12-03  Juergen Vigna  <jug@sad.it>
10589
10590         * text.C (rowLast): simplified code
10591
10592 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10593
10594         * lyxfunc.C: fix show options on timeout
10595
10596 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10597
10598         * screen.C (topCursorVisible): scroll half a page when the cursor
10599         reached top of bottom of screen
10600
10601 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10602
10603         * minibuffer.C: deactivate on loss of focus
10604
10605 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10606
10607         * vspace.[Ch] (operator!=): add operator.
10608
10609 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10610
10611         * BufferView_pimpl.C: refuse to open an inset when
10612         there's a selection.
10613
10614 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10615
10616         * BufferView_pimpl.C: allow to click on RHS of full row insets
10617
10618 2001-11-30  Juergen Vigna  <jug@sad.it>
10619
10620         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10621         insets for undo reasons.
10622
10623 2001-11-28  André Pönitz <poenitz@gmx.net>
10624
10625         * vspace.[Ch]: cosmetical changes
10626
10627 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10628
10629         * LyXAction.h:
10630         * LyXAction.C:
10631         * lyxfunc.h:
10632         * lyxfunc.C:
10633         * kbmap.h:
10634         * kbmap.C:
10635         * lyxrc.C:
10636         * kbsequence.h:
10637         * kbsequence.C: part re-write of old kb code
10638
10639         * Painter.C:
10640         * WorkArea.C: remove Lgb_bug_find_hack
10641
10642 2001-11-30  José Matos <jamatos@fep.up.pt>
10643
10644         * buffer.C (makeDocBookFile): add a comment to point a hack.
10645         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10646         Fixed a double write of labels.
10647
10648 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10649
10650         * LaTeX.C:
10651         * LaTeX.h Fixed bug in LaTeX class where it would not
10652         re-run latex if no depfiles were changed, but the .dvi was removed.
10653
10654 2001-11-28  André Pönitz <poenitz@gmx.net>
10655
10656         * all the files from the change on 2001/11/26:
10657         use lyx::layout_type instead of LyXTextClass::size_type
10658         use lyx::textclass_type instead of LyXTextClassList::size_type
10659
10660 2001-11-29  Juergen Vigna  <jug@sad.it>
10661
10662         * text.C: added support for paragraph::isFreeSpacing()
10663
10664         * buffer.C: same as above
10665
10666         * paragraph.h: inserted isFreeSpacing() function to enable
10667         FreeSpacing inside InsetERT.
10668
10669         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10670         of the paragraph's in the cut/copy buffer to 0!
10671
10672         * text2.C (removeRow): remove the assert as it can!
10673
10674         * lyxtext.h: added helper function firstRow returning firstrow and
10675         made firstrow private again.
10676
10677         * BufferView2.C (lockInset): don't relock if we're already locked!
10678
10679         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10680         the only paragraph.
10681         (removeRow): added Assert::(firstrow)
10682
10683         * debug.C: forgot to add INSETTEXT here.
10684
10685 2001-11-28  Juergen Vigna  <jug@sad.it>
10686
10687         * sp_spell.C (initialize): changed error text to more general
10688         spellchecker command use (not only ispell!)
10689
10690         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10691
10692         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10693
10694 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10695
10696         * vspace.C: initialise lyxgluelength on failure
10697
10698 2001-11-28  Allan Rae  <rae@lyx.org>
10699
10700         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10701         declaration & definition that looks like a function declaration.
10702
10703 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10704
10705         * BufferView2.C (copy):
10706         (copyEnvironment): do not clear the selection when doing a copy.
10707
10708         * text.C (paintFirstRow): compilation fix
10709
10710 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10711
10712         * tabular.C (Latex): correct line count when writing latex.
10713
10714 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10715
10716         * paragraph_pimpl.h:
10717         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10718           bug a bit
10719
10720 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10721
10722         * text.C:
10723         * LColor.h:
10724         * LColor.C: change vfillline->added_space
10725
10726         * text.C: add markers and text for added space
10727
10728         * vspace.C: fix comment
10729
10730 2001-11-28  André Pönitz <poenitz@gmx.net>
10731
10732         * paragraph.C: whitespace changes
10733         * all the other files from the change on 2001/11/26:
10734         change *::pos_type into lyx::pos_type
10735
10736 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10737
10738         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10739         language of the document when inserting error insets.
10740
10741 2001-11-26  André Pönitz <poenitz@gmx.net>
10742
10743         * BufferView_pimpl.[Ch]:
10744         *       CutAndPaste.C:
10745         * buffer.[Ch]:
10746         * lyxcursor.[Ch]:
10747         * lyxfind.C:
10748         * lyxfunc.C:
10749         * lyxrow.[Ch]:
10750         * paragraph.[Ch]:
10751         * paragraph_pimpl.[Ch]:
10752         * sp_spell.C:
10753         * text.C:
10754         * text2.C: reduce header dependencies, introduce type for positions
10755
10756 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10757
10758         * <various>: change to use Alert.h
10759
10760 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10761
10762         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10763         when encountering an unknown token.
10764         (readLyXformat2): Show an error message if there were unknown tokens.
10765
10766 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10767
10768         * BufferView2.C:
10769         * BufferView_pimpl.C:
10770         * buffer.C:
10771         * paragraph.h:
10772         * text.C:
10773         * text2.C: use par->isInset()
10774
10775 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10776
10777         * paragraph_pimpl.h:
10778         * paragraph_pimpl.C: cleanup
10779
10780 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10781
10782         * text2.C (removeRow):
10783         * text.C (setHeightOfRow): remove useless (and costly) call to
10784         getRow.
10785
10786 2001-11-20  Allan Rae  <rae@lyx.org>
10787
10788         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10789         Now need Inset*::checkInsertChar() to return true for appropriate
10790         cases so that the characters in the minibuffer will actually be
10791         inserted.
10792
10793 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10794
10795         * text.C: change the order of the includes.
10796         (workWidth): initialize it at once.
10797         (workWidth): make maxw unsigned
10798         (setHeightOfRow): remove unused variable (inset)
10799         (selectSelectedWord): remove unused variable (inset)
10800         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10801
10802 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10803
10804         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10805         server is not running.
10806         (openConnection):
10807         (closeConnection): add debug info when server is disabled.
10808
10809         * ColorHandler.C (getGCForeground): send debug message to GUI
10810         channel.
10811
10812         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10813
10814         * kbmap.C (bind): modify because return conventions of
10815         kb_sequence::parse have changed.
10816
10817         * kbsequence.C (parse): only ignore spaces and not any stupid
10818         control character. This avoids tests like s[i] <= ' ', which are
10819         guaranteed to fail with 8bit characters and signed chars.
10820         Change return code to string::npos when there have been no error
10821         (0 was a bad idea when error is at first character)
10822
10823 2001-11-14  José Matos  <jamatos@fep.up.pt>
10824
10825         * buffer.h:
10826         * buffer.C (simpleDocBookOnePar): removed unused argument.
10827
10828 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10829
10830         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10831         insets which are part of a word. Paragraph::isLetter takes care of
10832         that now. Use Paragraph::isInset to identify insets.
10833         (selectSelectedWord): do not test for hyphenation break.
10834
10835         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10836         that protected spaces are considered as spaces.
10837
10838         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10839         Inset::isLetter.
10840
10841 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10842
10843         * lyxserver.h:
10844         * lyxserver.C: fix it. and small cleanup.
10845
10846 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10847
10848         * BufferView_pimpl.C: use inline helpers
10849
10850         * LaTeXFeatures.h:
10851         * LaTeXFeatures.C: fix typos
10852
10853         * Spacing.h:
10854         * Spacing.C: move spacing_string into class
10855
10856         * ToolbarDefaults.C: move stuff into namespace anon
10857
10858         * layout.h: update enum
10859
10860         * lyxfunc.C: use better debug
10861
10862         * minibuffer.h: fix typo
10863
10864         * debug.h:
10865         * debug.C:
10866         * WorkArea.C: add and use Debug::WORKAREA
10867
10868         * lyxtext.h:
10869         * text.C:
10870         * text2.C: code re-organisation, inline helpers
10871
10872 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10873
10874         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10875         std::vector.empty().
10876
10877 2001-11-09  Allan Rae  <rae@lyx.org>
10878
10879         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10880         '\n's after tables.  Tabular and ERT inset work now makes this no
10881         longer necessary.
10882
10883 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10884
10885         * minibuffer.h:
10886         * minibuffer.C: fix crash, improve drop-down completion
10887
10888 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10889
10890         * lyxserver.h:
10891         * lyxserver.C: invalidate fd's when doing endPipe()
10892
10893 2001-11-08  José Matos  <jamatos@fep.up.pt>
10894
10895         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10896         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10897
10898         * paragraph.h:
10899         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10900
10901 2001-11-07  José Matos  <jamatos@fep.up.pt>
10902
10903         * buffer.h:
10904         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10905         const qualifier.
10906
10907         * buffer.C (sgmlOpenTag):
10908         * buffer.C (sgmlCloseTag): removed debug info.
10909
10910         * buffer.h (sgmlOpenTag):
10911         * buffer.h (sgmlCloseTag): made public.
10912
10913 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10914
10915         * buffer.C (saveParamsAsDefaults):
10916         * lyx_cb.C (MenuLayoutSave): remove
10917
10918         * LyXAction.C (init):
10919         * commandtags.h:
10920         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10921
10922 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10923
10924         * buffer.C (setPaperStuff): removed from here...
10925
10926         * bufferparams.C (setPaperStuff): ... and moved there.
10927
10928 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10929
10930         * minibuffer.h:
10931         * minibuffer.C:
10932         * XFormsView.C: add support for drop-down completion
10933
10934 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10935
10936         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10937         commands.
10938
10939 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10940
10941         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10942         disabled.
10943
10944 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10945
10946         * lyx_main.C: change ref to known bugs
10947
10948 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10949
10950         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10951         to work around older babel problems.
10952
10953 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10954
10955         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10956
10957 2001-10-24  Juergen Vigna  <jug@sad.it>
10958
10959         * tabular-old.C (ReadOld): below variable changes reflected.
10960
10961         * tabular.[Ch]: added ltType struct for longtable header/footer
10962         defines and changed all instances where they are used. Added
10963         future support for double top/bottom rows.
10964
10965 2001-10-24  José Matos  <jamatos@fep.up.pt>
10966
10967         * buffer.h (docbookHandleCaption):
10968         * buffer.C (docbookHandleCaption): removed unused function.
10969         (makeDocBookFile): moved docbook supported version to v4.1.
10970
10971 2001-10-24  José Matos  <jamatos@fep.up.pt>
10972
10973         * tabular.h:
10974         * tabular.C (docbookRow): new function to export docbook code of a row.
10975         (DocBook): now honors the longtable flags.
10976
10977 2001-10-23  José Matos  <jamatos@fep.up.pt>
10978
10979         * LaTeXFeatures.h:
10980         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10981         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10982
10983         * buffer.C (makeLinuxDocFile):
10984         (makeDocBookFile): reworked the preamble, more clean, and with
10985         support for lyx defined entities. Changed the document declaration
10986         to be more XML friendly.
10987
10988         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10989         if we need to output XML that should be done with a filter.
10990
10991 2001-10-22  Juergen Vigna  <jug@sad.it>
10992
10993         * sp_pspell.h (class PSpell): add alive function needed in the
10994         controller to see if the spellchecker could be started.
10995
10996 2001-10-22  Juergen Vigna  <jug@sad.it>
10997
10998         * buffer.C (insertStringAsLines): modify the font for inserting
10999         chars in certain conditions by calling checkInsertChar(font).
11000
11001 2001-10-19  Juergen Vigna  <jug@sad.it>
11002
11003         * text.C (workWidth): use getRow instead of wrong algorithm.
11004         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11005
11006 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11007
11008         * lyxserver.h:
11009         * lyxserver.C:
11010         * lyx_main.h:
11011         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11012
11013 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11014
11015         * text.C (workWidth): do not search for the exact row when
11016         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11017         optimization for big documents.
11018
11019 2001-10-18  Juergen Vigna  <jug@sad.it>
11020
11021         * text.C (workWidth): new function with added Inset * parameter.
11022
11023 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11024
11025         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11026
11027         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11028         change return type of getColumnNearX.
11029
11030
11031         * text.C (changeRegionCase): use uppercase/lowercase instead of
11032         toupper/tolower.
11033         (leftMargin):
11034         (rightMargin): simplify code by factoring out the uses of
11035         textclasslist.
11036         (labelFill):
11037         (numberOfHfills):
11038         (setHeightOfRow):
11039         (appendParagraph): use Paragraph::size_type
11040
11041 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11042
11043         * vspace.C (asLatexString): add a missing break
11044
11045 2001-10-15  Herbert Voss  <voss@perce.de>
11046
11047         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11048
11049 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11050
11051         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11052         is not available.
11053
11054 2001-10-10  André Pönitz <poenitz@gmx.net>
11055
11056         * lyxfunc.C: removed greek_kb_flag.
11057
11058 2001-10-10  Herbert Voss  <voss@perce.de>
11059
11060         * lyx_main.C: delete global string help_lyxdir.
11061
11062 2001-10-09  Herbert Voss  <voss@perce.de>
11063
11064         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11065
11066         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11067
11068         * lyx_main.C: added global string help_lyxdir.
11069
11070         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11071
11072 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11073
11074         * lyxrc.C (set_font_norm_type): support iso8859-4
11075
11076 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11077
11078         * LaTeX.C (deplog): add another regex for MikTeX
11079
11080 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11081
11082         * lyxrc.C (set_font_norm_type): support iso8859-3
11083
11084 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11085
11086         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11087
11088         * LaTeXFeatures.C: remove special case of french and index
11089
11090         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11091         before \begin{document}). This solves several incompatibilities.
11092
11093 2001-10-03  Garst Reese  <reese@isn.net>
11094
11095         * lyx_cb.C: change CheckTex error msg.
11096
11097 2001-10-03  José Matos  <jamatos@fep.up.pt>
11098
11099         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11100
11101 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11102
11103         * .cvsignore: update
11104
11105         * lyx_main.C (commandLineVersionInfo): use new style version info.
11106
11107         * buffer.C (writeFile):
11108         (makeLaTeXFile):
11109         (makeLinuxDocFile):
11110         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11111
11112         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11113
11114         * version.h: update to use stuff in version.C
11115
11116         * version.C.in: new file. Contains version information determined
11117         at compile time. This is a merging of version.h and
11118         version_info.h.in.
11119
11120 2001-10-03  Juergen Vigna  <jug@sad.it>
11121
11122         * BufferView_pimpl.C (update): don't change "dirty" status in
11123         updateInset call.
11124
11125 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11126
11127         * WorkArea.C (c-tor): re-position version string slightly.
11128
11129 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11130
11131         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11132         revert to previous code.
11133
11134         WorkArea.[Ch]: (show, destroySplash): methods removed.
11135
11136         WorkArea.C: rework code so that it's an amalgam of the codes before and
11137         after the splash screen was moved to WorkArea.
11138
11139 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11140
11141         * lyxrc.C (read):
11142         * vspace.C (inPixels):
11143         (lyx_advance):
11144         * kbmap.C (bind):
11145         * buffer.C (insertStringAsLines):
11146         (asciiParagraph): fix types to be large enough
11147
11148         * lyxlex_pimpl.h: change member status from short to int
11149
11150         * layout.h: fix type of endlabeltype
11151
11152         * kbmap.C (bind):
11153         * kbsequence.C (parse): change return type to string::size_type
11154
11155         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11156         variable
11157
11158         * Bullet.C (bulletSize):
11159         (bulletEntry): do not use short ints as parameters
11160
11161         * BufferView2.C (insertLyXFile): change a char to an int.
11162
11163         * WorkArea.C (WorkArea): remove unneeded floats in computation
11164
11165 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11166
11167         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11168
11169         * paragraph.C (asString): Do not ignore newline/hfill chars when
11170         copying to the clipboard.
11171
11172 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11173
11174         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11175         after a multi-line inset.
11176
11177 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11178
11179         * paragraph.C (validate): Set NeedLyXFootnoteCode
11180
11181 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11182
11183         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11184         and decrease-error to decrease.
11185
11186 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11187
11188         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11189         it more readable (should be equivalent)
11190
11191 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11192
11193         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11194
11195 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11196
11197         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11198         of a cursor (row, etc.) after a character has been deleted
11199         (deleteEmptyParagraphMechanism): call the method above on _all_
11200         cursors held by the LyXText when a double space has been
11201         detected/deleted.
11202
11203 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11204
11205         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11206         pixmap.
11207         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11208
11209         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11210         background. Use greyOut() and the new show() methods to toggle between
11211         the foreground and background. Add code to remove the splash after
11212         its initial showing.
11213
11214         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11215         (create_forms): no longer call Dialogs::showSplash.
11216
11217 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11218
11219         * .cvsignore: add version_info.h
11220
11221 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11222
11223         * version_info.h.in: new file
11224
11225         * Makefile.am: add version_info.h.in
11226
11227         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11228         version_info.h instead of VERSION_INFO
11229
11230 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11231
11232         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11233         The ERT inset now returns string().
11234
11235 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11236
11237         * lyxtext.h, text.C (selectNextWord): renamed as
11238         selectNextWordToSpellcheck.
11239
11240         * text.C (selectNextWordToSpellcheck): Modified to not select
11241         words inside an ERT inset.
11242
11243 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11244
11245         * lyx_cb.C (MenuLayoutSave): change a bit the question
11246
11247         * sp_base.h: include <sys/types.h>
11248
11249 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11250
11251         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11252
11253 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11254
11255         * several files: fix typos in user-visible strings
11256
11257 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11258
11259         * text2.C (pasteSelection): do not set the selection, since it
11260         will be cleared later. Actually, the intent was to fix the way the
11261         selection was set, but I figured rmoving the code was just as good.
11262
11263 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11264
11265         * FontLoader.C (available): Check if font is available without
11266         loading the font.
11267
11268 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11269
11270         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11271
11272 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11273
11274         * lyxrc.[Ch]: added display_graphics variable and associated code.
11275
11276 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11277
11278         * bufferparams.C (hasClassDefaults): new method. Returns true if
11279         the buffer parameters correspond to known class defaults
11280
11281 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11282
11283         * XFormsView.C (show): set minimum size to the main window.
11284
11285 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11286
11287         * text2.C (copySelection):
11288         (cutSelection):
11289         * lyxfind.C (LyXReplace):
11290         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11291         LyXText::selectionAsString.
11292
11293         * paragraph.C (asString): add "label" argument to the second form
11294
11295         * text2.C (selectionAsString): add "label" argument and pass it to
11296         Paragraph::asString.
11297
11298 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11299
11300         * lyx_main.C (commandLineHelp): remove version information
11301
11302 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11303
11304         * lyx_main.C: add -version commandline option
11305
11306 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11307
11308         * paragraph.h: make the optional constructor arg required instead.
11309         some modifications to other files because of this.
11310
11311         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11312
11313         * lyxserver.C (C_LyXComm_callback): make it static
11314
11315         * lyx_main.C (error_handler): make it static
11316
11317         * lyx_gui.C (LyX_XErrHandler): make it static
11318
11319         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11320
11321         * WorkArea.C: make the extern "C" methods static.
11322
11323         * Makefile.am (lyx_LDADD): simplify
11324
11325 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11326
11327         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11328         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11329
11330         * LyXAction.C (init):
11331         * lyxfunc.C (dispatch): associated code removal.
11332
11333 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11334
11335         * lyxfont.h (isSymbolFont): shut off warning
11336
11337         * text.C (setHeightOfRow):
11338         (getVisibleRow): fix crash with empty paragraphs which have a
11339         bottom line
11340
11341 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11342
11343         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11344         code.
11345
11346 2001-09-04  José Matos  <jamatos@fep.up.pt>
11347         * buffer.C
11348         * buffer.h
11349         * tabular.C (docbook): rename docBook method to docbook.
11350
11351 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11352
11353         * Makefile.am: add dependencies to main.o.
11354
11355 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11356
11357         * FontLoader.C (available): Return false if !lyxrc.use_gui
11358
11359 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11360
11361         * FontInfo.C (query):
11362         * converter.C (view):
11363         * importer.C (Import):
11364         * exporter.C (Export): Can not -> cannot.
11365
11366 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11367
11368         * BufferView_pimpl.C: allow to create index inset even if
11369           string is empty
11370
11371 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11372
11373         * buffer.C (getLists): replace boost::tie code with an explicit pair
11374         as boost::tie can break some compilers.
11375
11376         * iterators.h: Added a std:: declaration to the return type of
11377         ParIterator::size.
11378
11379 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11380
11381         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11382           case.
11383
11384 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11385
11386         * iterators.[Ch]: New files. Provide paragraph iterators.
11387
11388         * buffer.C (changeLanguage): Use paragraph iterators.
11389         (isMultiLingual): ditto
11390
11391         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11392
11393 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11394
11395         * FontLoader.C: Support for cmr font.
11396
11397 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11398
11399         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11400         (available): New method.
11401
11402         * FontInfo.C (getFontname): Use scalable fonts even when
11403         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11404         found.
11405
11406 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11407
11408         * converter.C (Formats::view): reverted! Incorrect fix.
11409
11410 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11411
11412         * converter.C (Formats::view): only output the -paper option
11413         if the dvi viewer is xdvi, thereby fixing bug #233429.
11414
11415 2001-08-23  Herbert Voss  <voss@perce>
11416
11417         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11418
11419 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11420
11421         * Spacing.h (Spacing): Set space to Default on in the default
11422         constructor.
11423
11424 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11425
11426         * vc-backend.h (RCS::versionString): add RCS to version
11427         (CVS::versionString): add CVS to version
11428
11429         * vc-backend.C (scanMaster): do not add CVS to version.
11430         (scanMaster): do not add RCS to version
11431
11432         * lyxvc.C (versionString): new method
11433
11434         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11435
11436 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11437
11438         * Spacing.C (set): initialize fval
11439
11440 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11441
11442         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11443         " or \.
11444
11445 2001-08-16  Juergen Vigna  <jug@sad.it>
11446
11447         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11448
11449 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11450
11451         * BufferView_pimpl.C:
11452         * figureForm.C:
11453         * lyxtext.h:
11454         * text2.C: setParagraph takes linespacing now
11455
11456 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11457
11458         * LyxAction.C: add internal LFUN_CITATION_INSERT
11459
11460         * LyXView.C: actually apply fix
11461
11462         * bufferlist.C: fix open non-existent file
11463
11464         * lyxfind.C: fix indentation
11465
11466         * lyxfunc.C: remove unneeded assert, fix typo
11467
11468 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11469
11470         * MenuBackend.C: use "Floatname List"
11471
11472 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11473
11474         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11475         when converting LaTeX layout to insetERT.
11476         Generate a non-collapsed float when reading old float
11477
11478 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11479
11480         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11481         ERT insets.
11482
11483 2001-08-13  Juergen Vigna  <jug@sad.it>
11484
11485         * text.C (fill): return 0 instead of 20 as this seems to be the more
11486         correct value.
11487
11488 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11489
11490         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11491         lyxrc.font_norm.
11492
11493 2001-08-13  Juergen Vigna  <jug@sad.it>
11494
11495         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11496         casesensitive off.
11497         (SearchBackward): comment out the unlocking of the inset_owner this
11498         should not be needed!
11499
11500 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11501
11502         * Many files: Remove inherit_language, and add latex_language
11503
11504         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11505         collapsible insets.
11506
11507 2001-08-10  Juergen Vigna  <jug@sad.it>
11508
11509         * text.C (prepareToPrint): fixed hfill-width in draw!
11510
11511         * BufferView2.C (selectLastWord): save the selection cursor as this
11512         now is cleared in the function LyXText::clearSelection!
11513
11514 2001-08-08  Juergen Vigna  <jug@sad.it>
11515
11516         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11517         BACKSPACE type functions.
11518
11519         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11520         is only cutted from the document but not put in the cut-buffer, where
11521         still the old stuff should be.
11522
11523         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11524
11525         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11526
11527         * tabular.C (SetWidthOfCell): fixed special case where the width
11528         was not updated!
11529         (LeftLine): handle '|' in align_special.
11530         (RightLine): ditto
11531         (LeftAlreadyDrawed): ditto
11532         (SetWidthOfCell): ditto
11533
11534 2001-08-07  Juergen Vigna  <jug@sad.it>
11535
11536         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11537
11538 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11539
11540         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11541         * lyxlex.[hC]: ditto
11542
11543 2001-08-06  Juergen Vigna  <jug@sad.it>
11544
11545         * text.C (getVisibleRow): fix up row clearing a bit.
11546
11547 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11548
11549         * minibuffer.C: make sure the X server sees the changes in the input.
11550
11551 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11552
11553         * paragraph.C (getFont): split into...
11554         (getLabelFont): this
11555         (getLayoutFont): and this
11556         * paragraph_pimpl.C (realizeFont): calling this
11557
11558         * text2.C (getFont): split into...
11559         (getLayoutFont): this
11560         (getLabelFont): and this
11561         (realizeFont): all three calling this
11562
11563         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11564         files where used.
11565
11566 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11567
11568         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11569
11570 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11571
11572         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11573         layouts from the Quote inset insertion.
11574
11575 2001-08-03  Juergen Vigna  <jug@sad.it>
11576
11577         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11578
11579         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11580         only if status not is already CHANGED_IN_DRAW (second level).
11581
11582         * text.C (draw): don't set the need_break_row when inside an
11583         InsetText LyXText.
11584
11585 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11586
11587         * buffer.C (parseSingleLyXformat2Token): handle more latex
11588         conversion cases.
11589
11590         * bufferview_funcs.[hC]: change function names to
11591         begin with small char, adjust other files.
11592
11593 2001-08-02  André Pönitz <poenitz@gmx.net>
11594
11595         * lyxfunc.C:
11596         BufferView_pimpl.C: remove broken special code for math-greek
11597
11598 2001-08-02  Juergen Vigna  <jug@sad.it>
11599
11600         * BufferView_pimpl.C (update): redone this function so that we
11601         update the text again if there was a CHANGE_IN_DRAW.
11602
11603         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11604         (drawFromTo): added a new internal bool which is used by draw() and
11605         redraw() function.
11606         (general): some cursor drawing problems fixed.
11607
11608 2001-08-01  Juergen Vigna  <jug@sad.it>
11609
11610         * lyxfind.C (LyXFind): fixed
11611         (SearchForward): ditto
11612         (SearchBackward): ditto
11613
11614         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11615         spurius drawing of the cursor in the main area.
11616
11617         * text2.C (status): small fix which could lead to a segfault!
11618         (clearSelection): remove unneeded BufferView param.
11619
11620 2001-08-01  André Pönitz <poenitz@gmx.net>
11621
11622         * lyxfunc.C: small change due to changed mathed interface
11623
11624 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11625
11626         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11627
11628 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11629
11630         * lyxfunc.c: fail gracefully if file doesn't exist
11631
11632         * LyXSendto.C:
11633         * buffer.C:
11634         * lyxfunc.C:
11635         * BufferView_pimpl.C: IsDirWriteable() proto changed
11636
11637         * LyXView.C: fix updateWindowTitle() to store the last title
11638
11639 2001-07-31  Juergen Vigna  <jug@sad.it>
11640
11641         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11642         the font (wrong since using of Paragraph::highestFontInRange).
11643
11644         * paragraph.C (highestFontInRange): added a default_size parameter.
11645
11646         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11647         (setHeightOfRow): reformat
11648
11649 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11650
11651         * converter.[hC] + affected files: move to (inital-char)lowercase
11652         function names.
11653
11654         * ParagraphParameters.C (ParagraphParameters): remove commented code
11655
11656         * PainterBase.[Ch]: remove commented code
11657
11658         * LaTeXFeatures.h: add "bool floats" for float.sty
11659
11660         * LaTeXFeatures.C (LaTeXFeatures): init floats
11661         (require): handle float
11662         (getPackages): do it with floats
11663
11664 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11665
11666         * BufferView_pimpl.C (Dispatch): improve handling of
11667         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11668
11669         * commandtags.h: #include lyxfont.h here temporarily to avoid
11670         keybinding bug.
11671
11672         * bufferlist.h: include LString.h here.
11673
11674 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11675
11676         * text2.C (getStringToIndex): new method.
11677
11678 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11679
11680         * *: Reduced header file dependencies all over.
11681
11682 2001-07-30  Baruch Even  <baruch@lyx.org>
11683
11684         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11685
11686 2001-07-29  Baruch Even  <baruch@lyx.org>
11687
11688         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11689
11690 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11691
11692         * ParameterStruct.h (endif): add a default constructor to make
11693         sure that all variables is initialized.
11694
11695         * ParagraphParameters.C (ParagraphParameters): adjust
11696
11697 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11698
11699         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11700         index; also, check that there is something to index, and that it
11701         does not span over several paragraphs.
11702         (doubleClick): use WHOLE_WORD_STRICT for double click.
11703
11704         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11705
11706         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11707         scheme.
11708
11709 2001-07-26  Baruch Even  <baruch@lyx.org>
11710
11711         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11712         an InsetFig figure, backwards compatible reading of old figure code.
11713
11714 2001-07-27  Juergen Vigna  <jug@sad.it>
11715
11716         * text2.C: font.realize function adaption.
11717
11718         * text.C (draw): add a warnings lyxerr text if needed.
11719
11720         * layout.C: font.realize function adaption.
11721
11722         * language.C: add inherit_language and implement it's handlings
11723
11724         * bufferview_funcs.C (StyleReset): remove language parameter from
11725         font creation (should be language_inherit now).
11726
11727         * bufferparams.C (writeFile): handle ignore_language.
11728
11729         * paragraph.C (getFontSettings): the language has to be resolved
11730         otherwise we have problems in LyXFont!
11731
11732         * lyxfont.C (lyxWriteChanges): added document_language parameter
11733         (update): removed unneeded language parameter
11734
11735         * paragraph.C (validate): fixed wrong output of color-package when
11736         using interface colors for certain fonts in certain environments,
11737         which should not seen as that on the final output.
11738
11739 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11740
11741         * BufferView_pimpl.C:
11742         * Thesaurus.h:
11743         * Thesaurus.C:
11744         * Makefile.am:
11745         * commandtags.h:
11746         * LyXAction.C: add thesaurus support
11747
11748         * lyxfind.h:
11749         * lyxfind.C: add "once" parameter, for thesaurus, to not
11750           move to the next match
11751
11752 2001-07-26  Juergen Vigna  <jug@sad.it>
11753
11754         * lyxfont.C (realize): honor ignore_language too!
11755         (resolved): ditto.
11756
11757         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11758
11759         * text.C (draw): one place more for ignore_language to not draw
11760         itself!
11761
11762 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11763
11764         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11765
11766 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11767
11768         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11769         the minipage conversion problem.
11770
11771 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11772
11773         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11774         insert an inset.
11775
11776 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11777
11778         * BufferView.h: don't forward declare WorkArea
11779
11780         * BufferView.C: don't include WorkArea.h
11781
11782 2001-07-25  André Pönitz <poenitz@gmx.net>
11783
11784         * commandtags.h:
11785         * LyXAction.C:
11786         * lyxfunc.C:  new LFUN 'math-space'
11787
11788         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11789
11790 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11791
11792         * text2.C (toggleInset): call open/close
11793
11794 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11795
11796         * lyxfunc.C (dispatch): add debug for the disabled case
11797
11798         * font.C (buttonText): make similar to rectText
11799
11800         * buffer.C (readInset): comment out parsing of insetlist and
11801         insttheorem
11802
11803         * PainterBase.C (rectText): small correction
11804
11805         * BufferView_pimpl.C: comment out insettheorem and insetlist
11806         * LyXAction.C: ditto
11807         * commandtags.h: ditto
11808
11809 2001-07-24  Juergen Vigna  <jug@sad.it>
11810
11811         * text.C (draw): honor the ignore_language.
11812
11813         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11814
11815 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11816
11817         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11818         char inset.
11819
11820 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11821
11822         * lyxtext.h: remove unused (and unimplemented) methods
11823
11824 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11825
11826         * text.C (getVisibleRow): honor background color
11827
11828         * PainterBase.h:
11829         * Painter.h: remove default color argument for fillRectangle
11830
11831         * text.C (backgroundColor): new method
11832
11833 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11834
11835         * text.C (getVisibleRow): adjust
11836
11837         * font.[Ch] (rectText): new method, metrics
11838         (buttonText): new method, metrics
11839
11840         * PainterBase.[hC]: make rectText and buttonText always draw and take
11841         fewer paramteres.
11842
11843 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11844
11845         * ToolbarDefaults.C (read):
11846         * MenuBackend.C (read): allow escaping in all strings
11847
11848         * BufferView_pimpl.C (insertAndEditInset): new method.
11849         (Dispatch): use insertAndEditInset whenever appropriate.
11850
11851         * BufferView_pimpl.C (insertNote): removed
11852
11853         * BufferView_pimpl.C (smartQuote): new method, moved from
11854         BufferView; if an insetquote cannot be inserted, insert a '"'
11855         character instead.
11856
11857         * BufferView2.C: remove insertCorrectQuote();
11858
11859         * lyxfunc.C (getStatus): Add support for all remaingin
11860         inset-insert lfuns.
11861
11862         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11863
11864         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11865         command (necessary to pass " as parameter of self-insert.
11866
11867         * text.C (selectWordWhenUnderCursor):
11868         (selectWord): add word_location parameter
11869         (selectWordWhenUnderCursor): same + remove special code for word
11870         boundary.
11871         (selectNextWord): use kind() to guess type of insetspecialchar,
11872         not latex().
11873
11874         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11875         (insertErtContents): create ert insets as collapsed.
11876         (readInset): better compatibility code for Info inset.
11877
11878 2001-07-20  Juergen Vigna  <jug@sad.it>
11879
11880         * lyxfunc.C (dispatch): use always LyXFind now!
11881
11882         * text2.C (init): add a reinit flag so that the LyXText can be
11883         reinited instead of deleted and reallocated (used in InsetText).
11884
11885         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11886
11887         * text.C: ditto
11888
11889         * text2.C: ditto
11890
11891 2001-07-18  Juergen Vigna  <jug@sad.it>
11892
11893         * text.C (selectNextWord): handle insets inside inset by calling
11894         always the bv->text functions so that we can go up the_locking_inset!
11895
11896         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11897         in strange locations when inside an inset!
11898
11899         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11900         handling to include insets.
11901
11902         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11903
11904 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11905
11906         * LyXAction.C (init):
11907         * commandtags.h:
11908         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11909         LIGATURE_BREAK, since the name is so stupid.
11910
11911 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11912
11913         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11914         InsetInfos.
11915
11916         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11917
11918         * sp_form.[Ch]: remove.
11919
11920         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11921
11922         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11923         InsetInfo.
11924
11925         * src/buffer.C (readInset): ditto.
11926
11927 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11928
11929         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11930         menuSeparator(), endOfSentenceDot(), ldots() and
11931         hyphenationPoint(), which are therefore removed.
11932         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11933
11934         * LyXAction.C (init):
11935         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11936
11937         * paragraph.C (getWord): removed.
11938
11939         * BufferView_pimpl.C (Dispatch): use last word or selection for
11940         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11941
11942         * lyx_main.C (queryUserLyXDir): do not ask before creating
11943         user_dir, except if it has been named explicitely.
11944
11945 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11946
11947         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11948         a document of zero size.
11949
11950 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11951
11952         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11953         approriately in the c-tor and in require().
11954         (getPackages): output the appropriate LaTeX for natbib support.
11955
11956         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11957         variables "use_natbib" and "use_numerical_citations" when reading the
11958         LyX file.
11959         (readInset): read the various natbib cite commands.
11960         (validate): white-space change.
11961
11962         * bufferparams.[Ch]: new variables "bool use_natbib" and
11963         "bool use_numerical_citations".
11964         (writeFile): output them in the LyX file.
11965
11966 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11967
11968         * lyxfunc.C (getStatus): add support for all the inset insertion
11969         commands.
11970
11971         * text2.C (insertInset):
11972         * paragraph.C (insetAllowed):
11973         * BufferView_pimpl.C (insertInset): update to take in account the
11974         renaming of insertInsetAllowed
11975
11976         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11977
11978         * text2.C (getInset): new method. returns inset at cursor position.
11979
11980         * BufferView_pimpl.C (Dispatch): changes because of this.
11981
11982         * LyXAction.C (init): rename open-stuff to inset-toggle.
11983
11984         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11985
11986         * text2.C (toggleInset): renamed from openStuff; use
11987         Inset::open().
11988
11989 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11990
11991         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11992
11993         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11994
11995 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11996
11997         * buffer.C (readLyXformat2): Add filename to the error dialog
11998
11999 2001-07-18  Juergen Vigna  <jug@sad.it>
12000
12001         * tabular.C (GetCellNumber): put an assert here instead of the check!
12002
12003 2001-07-17  Juergen Vigna  <jug@sad.it>
12004
12005         * BufferView_pimpl.C (toggleSelection): adapted too.
12006
12007         * text.C (selectNextWord): adapted for use with insets.
12008         (selectSelectedWord): ditto
12009
12010 2001-07-17  Juergen Vigna  <jug@sad.it>
12011
12012         * sp_spell.C (PSpell): fix initialitation order.
12013
12014 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12015
12016         * paragraph.C: spacing
12017
12018 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12019
12020         * sp_spell.C: repair language selection for pspell
12021
12022 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12023
12024         * lyxfunc.h: change more methods to begin with lower char.
12025
12026 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12027
12028         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12029         for unknown layouts.
12030
12031 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12032
12033         * buffer.C (readLyXformat2): Generate an error dialog if there are
12034         unknown layouts.
12035
12036 2001-07-16  Juergen Vigna  <jug@sad.it>
12037
12038         * sp_spell.C: always compile ISpell part.
12039
12040         * lyxrc.C: added use_pspell entry and it's handling.
12041
12042 2001-07-13  Juergen Vigna  <jug@sad.it>
12043
12044         * sp_spell.C: removed double includes.
12045
12046 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12047
12048         Consistent use of Lsstream.h:
12049         * Lsstream.h: added using std::stringstream for consistencies sake.
12050
12051         * buffer.C: removed using std::stringstream
12052
12053         * lyxfont.C (stateText):
12054         * paragraph.C (asString):
12055         * text.C (selectNextWord, selectSelectedWord):
12056         * text2.C (setCounter):
12057         * vspace.C (asString, asLatexString):
12058         std::ostringstream -> ostringstream.
12059
12060 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12061
12062         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12063         * commandtags.h: add LFUN_HELP_ABOUTLYX
12064         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12065
12066 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12067
12068         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12069         cursorToggle()
12070         * lyx_gui_misc.C: remove spellchecker
12071         * lyxfunc.C: showSpellchecker
12072         * sp_base.h: added
12073         * sp_ispell.h: added
12074         * sp_pspell.h: added
12075         * sp_spell.C: added
12076         * sp_form.[Ch]: removed
12077         * spellchecker.[Ch]: removed
12078
12079 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12080
12081         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12082         is set.
12083         (simpleTeXSpecialChars): Simply print the input character without
12084         any special translation if pass_thru is set.
12085
12086         * layout.h: Added bool pass_thru to layout class for being able to
12087         implement pass through of a paragraph for Literate Programming.
12088
12089         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12090         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12091         * layout.C (Read): add "passthru" to list of layout tags and add
12092         code to set the pass_thru boolean when it is read.
12093
12094 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12095
12096         * trans_decl.h: remove allowed from KmodInfo
12097
12098         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12099         remove allowed code
12100         (Load): adjust
12101
12102         * paragraph_pimpl.C (erase): use boost::prior
12103
12104         * Painter.C (text): use data() instead of c_str() when length is
12105         also provided.
12106         * WorkArea.C (putClipboard): ditto
12107         * font.h (width): ditto
12108
12109         * BufferView2.C: use it-> instead of (*it). for iterators
12110         * texrow.C: ditto
12111         * paragraph_pimpl.C: ditto
12112         * paragraph.C: ditto
12113         * minibuffer.C: ditto
12114         * language.C: ditto
12115         * kbmap.C: ditto
12116         * encoding.C: ditto
12117         * counters.C: ditto
12118         * converter.C: ditto
12119         * chset.C: ditto
12120         * Variables.C: ditto
12121         * TextCache.C: ditto
12122         * MenuBackend.C: ditto
12123         * LyXAction.C: ditto
12124         * LColor.C: ditto
12125         * FloatList.C: ditto
12126         * DepTable.C: ditto
12127         * ColorHandler.C (LyXColorHandler): ditto
12128
12129 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12130
12131         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12132
12133         * text2.C (openStuff): reintroduce this method (which had been
12134         nuked in NEW_INSETS frenzy).
12135
12136         * lyxfunc.C (Dispatch): when an action has not been handled, use
12137         its name in the error message, not its number.
12138
12139         * paragraph.C (inInset): change method name to begin with lowercase.
12140
12141         * undo_funcs.C:
12142         * text2.C: updates because of this.
12143
12144 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12145
12146         * ToolbarDefaults.C (add): add spaces in error message
12147
12148 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12149
12150         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12151         (readLyXformat2): rename return_par to first_par, use lyxlex's
12152         pushToken and remove the manual push handling.
12153         (parseSingleLyXformat2Token): add another ert comp. variable:
12154         in_tabular, rename return_par to first_par. handle newlines better
12155
12156 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12157
12158         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12159
12160 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12161
12162         * text2.C (getParFromID): removed
12163
12164         * buffer.C (getParFromID): new method moved form lyxtext.
12165         * BufferView2.C (insertErrors): adjust
12166         (setCursorFromRow): adjust
12167         * BufferView_pimpl.C (restorePosition): adjust
12168         * lyxfunc.C (Dispatch): adjust
12169         * undo_funcs.C (textUndo): adjust
12170         (textRedo): adjust
12171         (textHandleUndo): adjust
12172         (textHandleUndo): adjust
12173
12174 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12175
12176         * buffer.C: up' the LYX_FORMAT
12177
12178         * lyxfont.h: turn NO_LATEX on as default
12179
12180         * buffer.C (insertErtContents): new methods of tex style compability.
12181         (parseSingleLyXformat2Token): use it several places.
12182         * tabular.C (OldFormatRead): and here
12183
12184 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12185
12186         * text2.C: remove some commented code.
12187         reindent file.
12188
12189         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12190         * trans.C: changes because of the above.
12191
12192 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12193
12194         * text2.C (setCounter): Fix counters bug with bibliography layout.
12195
12196 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12197
12198         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12199         own member functions
12200         (simpleTeXSpecialChars): ditto
12201
12202 2001-07-06  Juergen Vigna  <jug@sad.it>
12203
12204         * a lot of files: changed the access to LyXText::status and the
12205         call of undo-functions.
12206
12207         * undo.[Ch]: added a inset_id to the undo informations.
12208
12209         * undo_funcs.[Ch]: added and moved here all undo functions.
12210
12211         * lyxtext.h: give the status enum a weight, made status_ a private
12212         variable and made accessor functions for it, removed the whole bunch
12213         of undo-functions as they are now in their own file, make some
12214         functions publically available. Added function ownerParagraph with
12215         int parameter.
12216
12217         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12218         made InInset() a const function, added getParFromID() function.
12219
12220         * buffer.[Ch]: added const version for inset_iterator functions,
12221         added getInsetFromID() function.
12222
12223         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12224         changed undo functions for new version.
12225
12226 2001-07-05  Juergen Vigna  <jug@sad.it>
12227
12228         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12229         unknow mechanism does not call the proper constructor but only this
12230         one also if I request the other!?
12231
12232 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12233
12234         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12235
12236         * text2.C (LyXText): use initialization lists.
12237
12238         * lyxtext.h (Selection): initialize set_ and mark_
12239         (init): remove method
12240
12241 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12242
12243         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12244
12245 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12246
12247         * screen.[Ch]: change method names to begin with lowercase
12248
12249         * BufferView_pimpl.C (updateScrollbar): simplify further and
12250         hopefully make it a bit faster.
12251
12252 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12253
12254         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12255         calling directly xforms functions.
12256
12257         * Painter.C (Painter):
12258         * lyx_cb.C (MenuWrite):
12259         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12260         fl_display.
12261
12262         * lyx_gui.C: remove bogus guiruntime extern declaration.
12263
12264 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12265
12266         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12267         in NEW_INSETS
12268         (redoDrawingOfParagraph): ditto
12269         (redoParagraphs): ditto
12270         (cutSelection): don't create a object for CutAndPaste use the
12271         static method directly
12272         (pasteSelection): ditto
12273
12274         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12275         LyXview (+ rename)
12276
12277 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12278
12279         * modifications to some other files because of this.
12280
12281         * Makefile.am (lyx_SOURCES): add XFormsView
12282
12283         * XFormsView.[Ch]: new files
12284
12285         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12286         the main window. Move the gui dependent stuff to XFormsView
12287
12288 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12289
12290         * tabular.C (GetCellInset): update cur_cell also in the row/col
12291         version of this function.
12292
12293         * lyxfunc.C: no need to include figure_form.h here.
12294
12295         * FontLoader.h:
12296         * lyxfunc.h:
12297         * lyxscreen.h:
12298         * text2.C:
12299         * lyxvc.C: no need to include forms.h here.
12300
12301 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12302
12303         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12304
12305         * lyxfunc.C (Dispatch):
12306         * Spacing.C (set):
12307         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12308         constructor argument.
12309
12310 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12311
12312         * paragraph.C (Paragraph): dont't clear, and just set layout.
12313         (makeSameLayout): use params's copy contructor.
12314
12315         * ParagraphParameters.[Ch] (makeSame): delete method
12316
12317 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12318
12319         * Variables.[Ch]: fix indentation, rename set to isSet
12320
12321 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12322
12323         * lyxfunc.C (Dispatch): fix typo
12324
12325 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12326
12327         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12328         upper_bound.
12329
12330         * bufferlist.C: include assert.h for emergencyWrite().
12331
12332 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12333
12334         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12335           give up at last (bug #425202) !
12336
12337 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12338
12339         * lyx_gui_misc.C:
12340         * sp_form.h:
12341         * sp_form.C:
12342         * spellchecker.h:
12343         * spellchecker.C: strip spellchecker options and bring up
12344           preferences tab instead
12345
12346 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12347
12348         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12349         the istringstream constructor
12350
12351 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12352
12353         * paragraph.C (getLayout): fix return value
12354
12355         * paragraph.h: do not declare getLayout as inline.
12356
12357         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12358
12359 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12360
12361         * lyxcursor.h (operator<): new func
12362         (operator>): new func
12363         (operator>=): new func
12364         (operator<=): new func
12365
12366         * text.C (changeCase): use selection.start and selection.end
12367         (changeRegionCase): require from to be <= to. Require par to be a
12368         valid paragraph.
12369
12370         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12371
12372 2001-06-27  Juergen Vigna  <jug@sad.it>
12373
12374         * text.C (cursorLeftOneWord): changed to return the cursor and added
12375         overlay with BufferView * parameter which calls this one.
12376         (getWord): added
12377         (selectWord): use new getWord function.
12378         (changeCase): renamed from changeWordCase as and extended to work
12379         also on selections.
12380
12381         * lyxtext.h: added enum word_location
12382
12383         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12384         changeCase as this operates now also on selections.
12385
12386 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12387
12388         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12389
12390         * many files: send debug output to Debug::INFO instead of
12391         Debug::ANY.
12392
12393         * converter.C (View):
12394         (Convert):
12395         (Move): send debug output to Debug::FILES instead of console.
12396
12397 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12398
12399         * lyxfunc.C (getStatus): use func_status
12400
12401         * func_status.h: new header, describing the results of
12402         LyXFunc::getStatus;
12403
12404         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12405         LFUN_MATH_HALIGN.
12406
12407 2001-06-25  The LyX Project  <jug@sad.it>
12408
12409         * buffer.C (sgmlOpenTag):
12410         (sgmlCloseTag):
12411         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12412
12413 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12414
12415         * text2.C: remove some dead code
12416
12417         * tabular.C (GetCellInset): store the last cell checked (gotten)
12418
12419         * tabular.h: add the helper for the speedup
12420
12421         * lyxtext.h: remove some dead code
12422
12423 2001-06-26  The LyX Project  <Asger>
12424
12425         * paragraph.C: Change export to LaTeX of alignment to
12426         \begin{center} and family for better roundtrip work with reLyX.
12427
12428         * Tune the math drawing a bit.
12429
12430 2001-06-25  The LyX Project  <Asger>
12431
12432         * LColor.C (LColor): New color for math background. New color
12433         for buttons.
12434
12435 2001-06-25  The LyX Project  <jug@sad.it>
12436
12437         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12438
12439         * lyxfunc.C (Open):
12440         * bufferlist.C (newFile): do not restrict to files ending with
12441         .lyx
12442
12443         * BufferView_pimpl.C (MenuInsertLyXFile):
12444
12445 2001-06-24  The LyX Project  <jug@sad.it>
12446
12447         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12448         of compare_no_case
12449
12450 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12451
12452         * lyxtext.h: rename most methods to begin with a small char.
12453         Lots of changes because of this.
12454
12455         * paragraph.C (Paragraph): do not call fitToSize
12456         (erase): call Pimpl::erase
12457         (insertChar): call Pimpl::insertChar
12458         (insertInset): call Pipl::insertInset
12459         (breakParagraph): do not call fitToSize
12460         (breakParagraphConservative): do not call fitToSize
12461         (fitToSize): remove method
12462
12463         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12464
12465 2001-06-24  The LyX Project  <Asger>
12466
12467         * Fix Qt compilation^2
12468
12469 2001-06-24  The LyX Project  <jug@sad.it>
12470
12471         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12472         depthHook(getDepth()-1).
12473
12474         * paragraph.h:
12475         * ParagraphParameters.h:
12476         * ParameterStruct.h: change type of depth to unsigned int ==
12477         depth_type. Many adaptations to other files before of that.
12478
12479 2001-06-24  The LyX Project  <Asger>
12480
12481         * Fix Qt compilation.
12482
12483 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12484
12485         * paragraph.h: renamed several methods to begin with small letter.
12486         several changes to many parts of the code because of this.
12487
12488 2001-06-23  The LyX Project  <jug@sad.it>
12489
12490         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12491         rewritten to discard all double spaces when KeepEmpty is off
12492         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12493         to only handle newlines but not fiddle with spaces and friends.
12494
12495         * lyxfunc.C (MenuNew): when doing 'new from template', use
12496         template_path as default directory
12497
12498 2001-06-23  The LyX Project  <Asger>
12499
12500         * Clean-up of header file includes all over
12501         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12502
12503 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12504
12505         * paragraph.h: renamed from lyxparagraph.h
12506
12507 2001-06-23  Asger  <lyx@violet.home.sad.it>
12508
12509         * Buffer.h: Removed Buffer::resize
12510         * BufferList.h: Removed BufferList::resize
12511         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12512         the document lazily when we change the width, or the font settings.
12513
12514 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12515
12516         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12517
12518 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12519
12520         * buffer.h: remove out of date comment
12521
12522 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12523
12524         * lyxscreen.h:
12525         * screen.C: fix "theoretical" GC leak
12526
12527 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12528
12529         * LaTeX.C (scanAuxFile):
12530         (deplog): remove trailing \r when reading stream (useful under
12531         win32)
12532
12533 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12534
12535         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12536         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12537         and BufferView::theLockingInset(Inset*), so should use them and not
12538         access bv_->text->the_locking_inset directly.
12539
12540         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12541
12542 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12543
12544         * Makefile.am:
12545         * tex-defs.h: remove old unused file
12546
12547 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12548
12549         * BufferView_pimpl.C: fix typo, remove minibuffer message
12550           when buffer has loaded
12551
12552 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12553
12554         * lyxfunc.C (Dispatch): use stringstream
12555         (MenuNew): use stringstream
12556         (Open): use stringstream
12557
12558         * importer.C (Import): use stringstream
12559
12560         * bufferview_funcs.C (CurrentState): use stringstream
12561
12562         * LaTeX.C (run): use stringstream
12563
12564         * BufferView_pimpl.C (savePosition): use stringstream
12565         (restorePosition): use stringstream
12566         (MenuInsertLyXFile): use stringstream
12567
12568 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12569
12570         * BufferView.C:
12571         * Bullet.C:
12572         * ColorHandler.C:
12573         * FontInfo.C:
12574         * FontLoader.C:
12575         * LColor.C:
12576         * LaTeXFeatures.C:
12577         * Painter.C:
12578         * gettext.C:
12579         * lyx_gui_misc.C:
12580         * lyxserver.C:
12581         * vspace.C: removed // -*- C++ -*- as first line.
12582
12583         * lyxfind.h:
12584         * version.h: added // -*- C++ -*- as first line.
12585
12586 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12587
12588         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12589
12590         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12591         of string
12592
12593 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12594
12595         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12596         of floats.
12597
12598 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12599
12600         * gettext.C: include LString.h even when --disable-nls is on.
12601
12602 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12603
12604         * converter.h (Get): changed argument type from int to
12605         FormatList::size_type to avoid unnecessary conversion.
12606
12607         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12608         before using it.
12609
12610 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12611
12612         * gettext.h: include LString.h even when --disable-nls is on.
12613
12614 2001-06-07  Juergen Vigna  <jug@sad.it>
12615
12616         * text.C (BreakAgain): subst spaces with tabs.
12617
12618         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12619         (resizeInsetsLyXText): set force on resizeLyXText.
12620
12621 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12622
12623         * gettext.h (gettext_init):
12624         (locale_init): use a real definition instead of a macro
12625
12626 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12627
12628         * Bufferview_pimpl.C:
12629         * LColor.h:
12630         * LColor.C: further lcolor tidies
12631
12632 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12633
12634         * BufferView_pimpl.C (updateScrollbar): simplify.
12635
12636         * BufferView2.C: don't include insets/insetinfo.h, change
12637         prototype for insertInset and call the Pimpl version. let
12638         updateInset call Pimpl version.
12639
12640         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12641         gotoInset to BufferView::Pimpl
12642
12643 2001-06-01  Juergen Vigna  <jug@sad.it>
12644
12645         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12646         inside a LockingInset (is the update needed at all?).
12647
12648 2001-05-31  Juergen Vigna  <jug@sad.it>
12649
12650         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12651         here not the old one otherwise how should we compare it afterwards
12652         if it's the same!
12653
12654 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12655
12656         * lyxfont.C:
12657         * tabular.C:
12658         * tabular-old.C:
12659         * FontInfo.C: bring C functions into global namespace when
12660         necessary
12661
12662 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12663
12664         * LString.h: make sure config.h has been loaded before LString.h.
12665
12666         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12667         (one for each char read by EatLine!).
12668
12669         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12670         variables.
12671
12672 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12673
12674         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12675         to the same as the par we break from
12676
12677 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12678
12679         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12680
12681         * MenuBackend.C (expand): also create menu entries for wide
12682         versions of the floats.
12683
12684         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12685
12686         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12687
12688         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12689         frontends/Makefile.am
12690
12691         * text2.C: adjust
12692         * text.C: adjust
12693
12694
12695         * tabular.C (getTokenValue): add std::
12696
12697         * tabular-old.C (getTokenValue): add std::
12698         (getTokenValue): ditto
12699         (getTokenValue): ditto
12700
12701         * screen.C (ToggleSelection): adjust
12702
12703         * lyxtext.h: put selection cursors inside a Selection struct.
12704
12705         * lyxfunc.C (moveCursorUpdate): adjust
12706
12707         * lyxfont.C (latexWriteStartChanges): add std::
12708
12709         * lyxfind.C: adjust
12710
12711         * font.h: delete with(char const *, LyXFont const &)
12712
12713         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12714
12715         * FontInfo.C (getFontname): add std::
12716
12717         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12718         (workAreaButtonPress): adjust
12719         (tripleClick): adjust
12720         (update): adjust
12721         (moveCursorUpdate): adjust
12722         (Dispatch): adjust
12723
12724         * BufferView2.C (gotoInset): adjust
12725
12726 2001-05-30  Juergen Vigna  <jug@sad.it>
12727
12728         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12729         to check pspell I add this as default as I now have new pspell
12730         libraries and they seem to use this.
12731
12732 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12733
12734         * text2.C (CutSelection): make the cursor valid before the call to
12735         ClearSelection.
12736
12737 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12738
12739         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12740         relied on 0 terminated strings and other horrors. Bug found due to
12741         the new assert in lyxstring!
12742
12743         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12744         KP_ keys.
12745
12746 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12747
12748         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12749         to latinkeys.bind.
12750
12751         * lyxfunc.C (processKeySym): change method of getting to the
12752         self-insert char.
12753
12754         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12755         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12756         * BufferView_pimpl.[Ch]: here as private methods.
12757
12758 2001-05-28  Juergen Vigna  <jug@sad.it>
12759
12760         * text.C (SetHeightOfRow): added the update() call again as it is
12761         needed to initialize inset dimensions!
12762
12763 2001-05-16  Juergen Vigna  <jug@sad.it>
12764
12765         * text2.C (SetCharFont): Add new function with BufferView * and
12766         bool toggleall parameters for setting insets internal fonts.
12767         (SetFont): Freeze the undo as we may change fonts in Insets and
12768         all this change should be inside only one Undo!
12769
12770         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12771         setting font's in insets as for them we have the SetFont function!
12772
12773 2001-05-15  Juergen Vigna  <jug@sad.it>
12774
12775         * text2.C (ClearSelection): to be sure we REALLY don't have any
12776         selection anymore!
12777
12778         * tabular.C (TeXCellPreamble): fixed the left border problem for
12779         multicolumn cells.
12780
12781 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12782
12783         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12784         dependancy file
12785
12786 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12787
12788         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12789         LFUN_BREAKPARAGRAPH.
12790
12791         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12792         help test to "internal only", similar for LFUN_INSERT_URL
12793
12794         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12795         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12796         auto_region_delete and deadkeys.
12797
12798 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12799
12800         * LColor.h:
12801         * LColor.C: remove some dead entries, tidy a little
12802
12803 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12804
12805         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12806         commented code.
12807         (Dispatch): implement LFUN_ESCAPE
12808
12809         * commandtags.h: add LFUN_ESCAPE
12810
12811         * LyXAction.C (init): add entry for LFUN_ESCAPE
12812
12813         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12814         Remove commented code.
12815         (insertNote): moved here
12816         (open_new_inset): moved here
12817
12818         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12819         BufferView_pimpl
12820
12821 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12822
12823         * kbmap.C (findbinding): clean it up and make it work correctly.
12824
12825         * lyx_main.C (init): do not pass argc and argv as parameters
12826
12827 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12828
12829         * buffer.C: fix path for OS/2 & Win32
12830
12831         * lyx_gui.C:
12832         * lyx_main:
12833         * lyx_main.C: Added os:: class.
12834
12835         * os2_defines.h: update
12836
12837 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12838
12839         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12840         better by trying again with reduced state.
12841
12842 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12843
12844         * lyxrc.C (read): print error about invalid key sequence only when
12845         debugging (because not all latinX keysyms are known to some X
12846         servers)
12847
12848         * kbsequence.C (getiso): add a few std:: qualifiers
12849         (getiso): comment out extra return statement.
12850
12851 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12852
12853         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12854         handling.
12855         (Dispatch): enhance the accent inset a bit. (not perfect)
12856
12857 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12858
12859         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12860
12861 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12862
12863         * bufferlist.C (emergencyWrite): fix assert() call
12864
12865 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12866
12867         * text.C (InsertChar): Added trivial patch to only send the "you
12868         can not do multiple spaces this way" message once during a
12869         session.
12870
12871 2001-05-08  Baruch Even  <baruch@lyx.org>
12872
12873         * Makefile.am: Changed order of libraries to get LyX to link properly
12874         with the gnome frontend.
12875
12876 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12877
12878         * LaTeXFeatures.h: add a std:: qualifier
12879
12880 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12881
12882         * paragraph.C (String): use stringstream
12883
12884 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12885
12886         * paragraph.C (writeFile): remove footflag arg
12887
12888         * buffer.C (makeLaTeXFile): use stringstream
12889         (latexParagraphs): remove footnot gurba
12890
12891         * LaTeXFeatures.C (getPackages): use stringstream
12892         (getMacros): likewise
12893         (getTClassPreamble): likewise
12894         (getFloatDefinitions): new method
12895
12896         * paragraph.C (writeFile): reindent
12897         (Erase): reindent
12898
12899         * WorkArea.h: revert the xpos + etc changes.
12900
12901         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12902
12903         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12904
12905         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12906         (pasteSelection): likewise
12907         * text2.C (CreateUndo): likewise
12908
12909 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12910
12911         * minibuffer.C (peek_event): temporarily reduce the functionality
12912         of the minibuffer (to allow args on lfuns)
12913
12914         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12915         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12916
12917         * buffer.C (readInset): add compability reading of old float
12918         lists, add reading of new style float list.
12919         (readInset): avoid reevaluation of inscmd.getCmdName()
12920         (getLists): reindent
12921
12922         * MenuBackend.C (MenuItem): implement parsing of
12923         md_floatlistinsert and md_floatinsert.
12924         (expand::LastFiles): move initalizaton of iterators out of loop,
12925         avoid reevaluation.
12926         (expand::Documents): introduce typdedef vector<string> Strings,
12927         and use it.
12928         (expand::ExportFormats): introduce typedef vector<Format const *>
12929         Formats, and use it.
12930         (expand): implement FloatListInsert and FloatInsert.
12931
12932         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12933         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12934         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12935
12936         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12937         handling.
12938         (Dispatch::LFUN_FLOAT_LIST): implement
12939
12940 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12941
12942         * LaTeX.C (run): Fix problem with --export code.
12943
12944 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12945
12946         * BufferView.[Ch] (workarea): removed.
12947         (getClipboard) new method; wrapper for workarea()->getClipboard()
12948
12949         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12950         bug.
12951
12952         * WorkArea.h (width, height, xpos, ypos): These methods all
12953         returned the dimensions of the work_area sub-area of WorkArea,
12954         resulting in a position error if the WorkArea were resized. Now
12955         return the dimensions of the entire WorkArea.
12956
12957         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12958
12959 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12960
12961         * LaTeX.C (deplog): correct the syntax of regex reg1
12962
12963 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12964
12965         * undo.C: remove !NEW_INSETS cruft
12966
12967 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12968
12969         * text2.C: remove !NEW_INSETS cruft
12970
12971         * text.C: remove !NEW_INSETS cruft
12972
12973         * tabular.C: remove !NEW_INSETS cruft
12974
12975         * spellchecker.C: remove !NEW_INSETS cruft
12976
12977         * lyxtext.h: remove !NEW_INSETS cruft
12978
12979         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12980
12981         * lyxfunc.C: remove !NEW_INSETS cruft
12982
12983         * lyxfind.C: remove !NEW_INSETS cruft
12984
12985         * lyx_cb.C: remove !NEW_INSETS cruft
12986
12987         * figureForm.C: remove  !NEW_INSETS cruft
12988
12989         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12990
12991         * buffer.[Ch]: remove !NEW_INSETS cruft
12992
12993         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12994
12995         * CutAndPaste.C: remove !NEW_INSETS cruft
12996
12997         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12998
12999         * BufferView2.C: remove !NEW_INSETS cruft
13000
13001         * BufferView.h: remove !NEW_INSETS cruft
13002
13003 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13004
13005         * Lsstream.h: include LString.h before the sstream headers to
13006         fix problem with gcc 2.95.3 and lyxstring
13007
13008 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13009
13010         * lyx_main.C: add using directives when needed for C functions
13011         declared in std:: namespace.
13012
13013 2001-04-27  Juergen Vigna  <jug@sad.it>
13014
13015         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13016         (SetHeightOfRow): comment out the update call should not be needed!
13017
13018 2001-04-13  Juergen Vigna  <jug@sad.it>
13019
13020         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13021         (LyXTabular): tried to minimize operator= operations (and realized
13022         hopfully Lars wish).
13023
13024 2001-04-27  Juergen Vigna  <jug@sad.it>
13025
13026         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13027
13028 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13029
13030         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13031
13032         * buffer.C (readInset): hack to make listof algorithm work
13033
13034         * BufferView_pimpl.C: hack to make listof algorithm work
13035
13036 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13037
13038         * LyXAction.C: removed all !NEW_INSETS cruft
13039         (init): moved lfun_item in method
13040
13041         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13042
13043 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13044
13045         * BufferView2.C (theLockingInset): white space.
13046
13047 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13048
13049         * minibuffer.C: include <iostream>
13050
13051         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13052
13053         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13054
13055         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13056
13057         * text.[Ch] (TransposeChars): new method
13058
13059 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13060
13061         * call message directly through LyXView instead of through LyXFunc
13062         * BufferView2.C: adjust
13063         * BufferView_pimpl.C: adjust
13064         * FontLoader.C: adjust
13065         * buffer.C: adjust
13066         * bufferview_funcs.C: adjust
13067         * converter.C: adjust
13068         * figureForm.C: adjust
13069         * importer.C: adjust
13070         * lyx_cb.C: adjust
13071         * lyx_gui_misc.C: adjust
13072         * lyxfunc.C: adjust
13073         * lyxvc.C: adjust
13074         * text2.C: adjust
13075         + more files in subdirs
13076
13077         * lyxparagraph.h (size): move up int file
13078         (GetLayout): ditto
13079
13080         * adjust all uses of Assert to lyx::Assert.
13081
13082         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13083         lyxfunctional in namespace lyx
13084         * layout.C (hasLayout): ditto
13085         (GetLayout): ditto
13086         (GetLayout): ditto
13087         (delete_layout): ditto
13088         (NumberOfClass): ditto
13089         * converter.C (GetFormat): ditto
13090         (GetNumber): ditto
13091         (Add): ditto
13092         (Delete): ditto
13093         (SetViewer): ditto
13094         * bufferlist.C (getFileNames): ditto
13095         (emergencyWriteAll): ditto
13096         (exists): ditto
13097         (getBuffer): ditto
13098         * MenuBackend.C (hasSubmenu): ditto
13099         (hasMenu): ditto
13100         (getMenu): ditto
13101         * BufferView_pimpl.C (getInsetByCode): ditto
13102
13103 2001-04-18  Juergen Vigna  <jug@sad.it>
13104
13105         * vspace.C (asLatexString): fixed the 100% problem.
13106
13107 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13108
13109         * lyxfunc.C (Dispatch):
13110         * minibuffer.C:
13111         * minibuffer.h: add a few std:: qualifiers
13112
13113 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13114
13115         * minibuffer.[Ch]: reimplement so that commands is initiated and
13116         run from lyxfunc, simplified som handling, and made the completion
13117         and history code for complete. wip.
13118
13119         * lyxfunc.C (processKeySym): call message
13120         (miniDispatch): new temporary method
13121         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13122         (LFUN_MESSAGE): implement
13123         (LFUN_MESSAGE_PUSH): implement
13124         (LFUN_MESSAGE_POP): implement
13125         (initMiniBuffer): the initial/defualt minibuffer message.
13126
13127         * lyxfont.[Ch]: inline some more getters
13128
13129         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13130
13131         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13132
13133         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13134         (AutoSave): use LFUN_MESSAGE
13135         (Reconfigure): ditto
13136
13137         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13138
13139         * figureForm.C: use LFUN_MESSAGE
13140
13141         * converter.C (runLaTeX): use LFUN_MESSAGE
13142
13143         * bufferview_funcs.C: use LFUN_MESSAGE
13144         (Melt): ditto
13145         (changeDepth): ditto
13146
13147         * bufferparams.h: use boost::
13148
13149         * bufferlist.h: inherit privately from noncopyable
13150
13151         * bufferlist.C (loadLyXFile): remove some commented code.
13152
13153         * buffer.C (runChktex): use LFUN_MESSAGE
13154
13155         * ShareContainer.h: inherit privately from noncopyable
13156
13157         * ParagraphParameters.[hC] (depth): inline it.
13158
13159         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13160         methods.
13161         (message): new method
13162         (messagePush): ditto
13163         (messagePop): ditto
13164         (show): init minibuffer
13165         (showState): direct call
13166
13167         * LaTeX.[Ch]: inherit privately from noncopyable
13168         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13169         instead of WriteStatus.
13170
13171         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13172
13173         * BufferView_pimpl.C (buffer): don't init minibuffer
13174         (workAreaButtonPress): use LFUN_MESSAGE
13175         (workAreaButtonRelease): ditto
13176         (savePosition): ditto
13177         (restorePosition): ditto
13178         (MenuInsertLyXFile): ditto
13179         (workAreaExpose): don't init minibuffer
13180         (update): remove commented code, simplify
13181
13182         * BufferView2.C (openStuff): use LFUN_MESSAGE
13183         (toggleFloat): ditto
13184         (menuUndo): ditto
13185         (menuRedo): ditto
13186         (copyEnvironment): ditto
13187         (pasteEnvironment): ditto
13188         (copy): ditto
13189         (cut): ditto
13190         (paste): ditto
13191         (gotoInset): ditto
13192         (updateInset): remove some commented code
13193
13194         * lastfiles.h: inherit privately from noncopyable
13195         * layout.h: ditto
13196         * lyx_gui.h: ditto
13197         * lyx_main.h: ditto
13198         * lyxlex.h: ditto
13199         * lyxlex_pimpl.h: ditto
13200
13201         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13202         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13203         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13204
13205         * LyXAction.h: inherit privately from noncopyable, add methods
13206         func_begin, func_end, returning iterators to the func map.
13207
13208         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13209         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13210         (func_begin): new method
13211         (func_end): new method
13212
13213         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13214         and not)
13215         (copySelection): ditto
13216         (pasteSelection): ditto
13217
13218         * BufferView.C: whitespace change
13219         * BufferView.h: inherit privately from noncopyable
13220
13221 2001-04-16  Allan Rae  <rae@lyx.org>
13222
13223         * tabular-old.C (l_getline):
13224         * spellchecker.C (sc_check_word):
13225         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13226         an unrecognised preprocessor directive.  So ensure they're wrapped.
13227
13228 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13229
13230         * src/exporter.C (Export): Give an error message when path to file
13231         contains spaces.
13232
13233 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13234
13235         * LaTeX.C (deplog): Always check that foundfile exists.
13236
13237 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13238
13239         * lyx_main.h:
13240         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13241
13242 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13243
13244         * tabular.[Ch] (getLabelList): implement new method
13245
13246         * minibuffer.h: comment ouf setTiimer
13247
13248         * minibuffer.C (ExecutingCB): constify res
13249         (peek_event): constify s
13250         (Set): constify ntext
13251         (Init): constify nicename
13252
13253         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13254
13255         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13256         (savePosition): use two params to Minibuffer::Set
13257         (restorePosition): ditto
13258
13259 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13260
13261         * lyx_main.C: include language.h
13262
13263         * Makefile.am (lyx_main.o): add language.h
13264
13265 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13266
13267         * exporter.C:
13268         * paragraph.C:
13269         * screen.C:
13270         * tabular.C:
13271         * CutAndPaste.C: include gettext.h
13272
13273         * lyxfont.h: remove old hack with ON and OFF.
13274
13275         * lyxparagraph.h:
13276         * lyxfont.h: do not include language.h...
13277
13278         * BufferView2.C:
13279         * LaTeXFeatures.C:
13280         * Painter.C:
13281         * bufferview_funcs.C:
13282         * font.C:
13283         * lyxfont.C:
13284         * text.C:
13285         * text2.C:
13286         * trans_mgr.C:
13287         * paragraph.C: ... but do it here instead
13288
13289 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13290
13291         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13292
13293         * tabular.C: small reformat
13294
13295         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13296         NEW_INSETS version
13297         (GetChar): ditto
13298         (BreakParagraph): ditto
13299         (SetOnlyLayout): ditto
13300         (SetLayout): ditto
13301
13302         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13303         with one arg less.
13304
13305         * lastfiles.C: removed most using decl, add std:: where needed
13306
13307         * buffer.C: ws changes
13308
13309         * MenuBackend.C (class compare_format): put into anon namespace
13310         (expand): constify label, names, action, action2
13311         (expand):
13312
13313         * text.C (SingleWidth): constify font
13314         (IsBoundary): constify rtl2
13315         (GetVisibleRow): constify ww
13316
13317         * LaTeX.C (deplog): constify logfile
13318
13319         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13320         start_x, end_x
13321         (workAreaExpose): constify widthChange, heightChange
13322
13323         * lyxrow.C (par): moved
13324         (height): moved
13325         (next): moved
13326         * lyxrow.h: as inlines here
13327
13328         * lyxfont.h (shape): moved from lyxfont.C
13329         (emph): moved from lyxfont.C
13330
13331         * lyxfont.C (LyXFont): use initialization list for all
13332         constructors
13333         (shape): move to lyxfont.h as inline
13334         (emph): move to lyxfont.h as inline
13335
13336
13337 2001-04-04  Juergen Vigna  <jug@sad.it>
13338
13339         * vspace.C: had to include stdio.h for use of sscanf
13340
13341 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13342
13343         * BufferView.h:
13344         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13345         independent of xforms.
13346
13347 2001-04-02  Juergen Vigna  <jug@sad.it>
13348
13349         * spellchecker.C: fixed namespace placing!
13350
13351 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13352
13353         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13354         the LyXParagraph * is 0.
13355
13356 2001-03-29  Juergen Vigna  <jug@sad.it>
13357
13358         * vspace.C: added support for %, c%, p%, l%.
13359         (stringFromUnit): added helper function.
13360         (asLatexString): changed to give right results for the %-values.
13361
13362         * buffer.C: convert the widthp in a width%.
13363
13364 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13365
13366         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13367         figureForm.[Ch].
13368
13369         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13370         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13371
13372         * lyx_cb.[Ch]: see above.
13373
13374         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13375         form1.[Ch].
13376
13377         * form1.[Ch]:
13378         * lyx.[Ch]: replaced by figure_form.[Ch].
13379
13380         * lyx_gui.C:
13381         * lyx_gui_misc.C:
13382         * lyxfunc.C: changed headers associated with above changes.
13383
13384 2001-03-27  Juergen Vigna  <jug@sad.it>
13385
13386         * BufferView_pimpl.C: set the temporary cursor right!
13387
13388 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13389
13390         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13391
13392 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13393
13394         * LString.h: removed "using std::getline"!
13395
13396         * BufferView_pimpl.C (Dispatch): changes due to changes in
13397         InsetInclude::Params.
13398
13399         * buffer.C (tag_name): removed redundant break statements as they were
13400         producing lots of warnings with my compiler.
13401
13402 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13403
13404         * LString.h: add "using std::getline" when using the real <string>.
13405
13406 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13407
13408         * buffer.C: removed bitset usage.
13409         PAR_TAG moved to an anonymous name space.
13410         (tag_name): new funtion, also in the anonymous namespace.
13411         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13412         (makeDocBookFile): clean code. Completed transition from string arrays
13413         to string vectors.
13414         (SimpleDocBookOnePar): code clean.
13415
13416 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13417
13418         * tabular.C: add some comments.
13419
13420 2001-03-22  Juergen Vigna  <jug@sad.it>
13421
13422         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13423         compatibility read a bit and fixed bug with minipage in different
13424         depth.
13425
13426 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13427
13428         * buffer.C (pop_tag): removed.
13429         (push_tag): removed.
13430         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13431         array replaced with vector. Added support for CDATA sections.
13432         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13433         at any nest level.
13434         (makeDocBookFile): XML conformant declaration of CDATA section,
13435         fixed bug related to <emphasis> in the first paragraph char.
13436         (sgmlOpenTag): exclude empty tags.
13437         (sgmlCloseTag): ditto.
13438
13439         * buffer.h (pop_tag): removed.
13440         (push_tag): removed.
13441
13442 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13443
13444         * language.h (Languages): added size_type and size().
13445
13446 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13447
13448         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13449         response on compability reading of minipages. One probliem is that
13450         the old usage of minipages was «flertydig»
13451
13452         * several files here and in subdirs: don't use static at file
13453         scope use anon namespaces instead.
13454
13455 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13456
13457         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13458         LaTeX output. This is necessary for Literate document
13459         processing.
13460
13461 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13462
13463         * buffer.C: insert hfill when needed.
13464
13465         * tabular.C (l_getline): use string::erase, small whitespace change.
13466
13467         * BufferView_pimpl.C: try the anon namespace.
13468         * WorkArea.C: ditto
13469
13470 2001-03-16  Juergen Vigna  <jug@sad.it>
13471
13472         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13473         otherwise it won't open options-dialogs.
13474
13475         * buffer.C: honor pextraWidth(p) on converting minipages.
13476
13477         * tabular.C (l_getline): changed the functions to strip trailing \r.
13478
13479 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13480
13481         * BufferView_pimpl.C:
13482         * minibuffer..C: added "using SigC::slot" declaration.
13483
13484 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13485
13486         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13487
13488         * text2.C: ditto
13489
13490         * text.C: ditto
13491
13492         * paragraph.C: ditto
13493
13494         * lyxtext.h: NO_PEXTRA
13495
13496         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13497
13498         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13499         * ParameterStruct.h: ditto
13500         * ParagraphParameters.h: ditto
13501         * lyxparagraph.h: ditto
13502
13503 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13504
13505         * buffer.C: add compability for minipage alignment.
13506         (latexParagraphs): remove unwanted pextra check.
13507
13508         * several files: remove CXX_WORKING_NAMESPACES
13509
13510         * buffer.C (pop_tag): tie is in namespace boost
13511
13512         * BufferView.h: noncopyable is in namespace boost
13513         * lyxlex.h: ditto
13514         * lyx_main.h: ditto
13515         * lyx_gui.h: ditto
13516         * layout.h: ditto
13517         * lastfiles.h: ditto
13518         * bufferlist.h: ditto
13519         * ShareContainer.h: ditto
13520         * LyXView.h: ditto
13521         * LyXAction.h: ditto
13522         * LaTeX.h: ditto
13523
13524 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13525
13526         * Merging changes from BRANCH_MVC back into HEAD.
13527
13528         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13529
13530 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13531
13532         * BufferView_pimpl.C: change from intl.C
13533
13534         * combox.h:
13535         * combox.C:
13536         * Makefile.am: move combox.*
13537
13538         * form1.h:
13539         * form1.C:
13540         * lyx_gui.C:
13541         * intl.h:
13542         * intl.C: remove dialog (covered by prefs)
13543
13544 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13545
13546         * lyxfunc.C (Dispatch): removed redundant break statement.
13547
13548 2001-03-14  Juergen Vigna  <jug@sad.it>
13549
13550         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13551
13552 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13553
13554         * buffer.C: add hack to fix compability reading of minipages.
13555
13556 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13557
13558         * buffer.C (getLists): Cleanup.
13559
13560 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13561
13562         * lyxfont.C (update): don't honor toggleall on font size.
13563
13564 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13565
13566         * bmtable.c:
13567         * bmtable.h:
13568         * Makefile.am: moved to frontends/xforms/
13569
13570         * lyx_gui_misc.C:
13571         * lyxfunc.C:
13572         * BufferView_pimpl.C: changes for moved mathpanel
13573
13574 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13575
13576         * gettext.h: fix gettext_init() in --disable-nls
13577
13578 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13579
13580         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13581
13582 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13583
13584         * lyx.C:
13585         * lyx.h: strip external form
13586
13587 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13588
13589         * BufferView_pimpl.C: add comment, destroySplash()
13590
13591 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13592
13593         * BufferView_pimpl.C:
13594         * LyXAction.C:
13595         * buffer.C:
13596         * commandtags.h:
13597         * lyxfunc.C: use re-worked insetinclude
13598
13599 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13600
13601         * buffer.C: add using std::stringstream.
13602
13603         * lyx_cb.C: readd using std::ios.
13604
13605         * buffer.C: add using std::map.
13606
13607         * BufferView_pimpl.C: add using std::vector.
13608
13609         * ShareContainer.h: add std:: to swap.
13610
13611         * buffer.h: add some typedefs
13612         * buffer.C (getLists): use them
13613         (getLists): renamed from getTocList.
13614         add a counter for the different float types and use it in the
13615         generated string.
13616         (getLists): use the same counter for the NEW_INSETS and the "non"
13617         NEW_INSETS
13618
13619         * lyx_cb.h: remove unused items, includes, using etc.
13620
13621         * ShareContainer.h: remove some commented code, add more comments
13622         and "documentation".
13623
13624 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13625
13626         * buffer.C (getTocList): make the list also when NEW_INSETS is
13627         defined.
13628
13629         * buffer.h: remove TocType
13630
13631         * buffer.C (getTocList): change to return a map<string,
13632         vector<TocItem> >, implement for dynamic number of list.
13633
13634         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13635         * text2.C (PasteSelection): adjust
13636         * CutAndPaste.C (pasteSelection): adjust
13637
13638         * FloatList.C (FloatList): update from the new_insets branch.
13639         * Floating.[Ch]: ditto
13640         * LaTeXFeatures.C: ditto
13641         * buffer.C: ditto
13642         * lyxlex_pimpl.C: ditto
13643
13644         * paragraph.C (Last): remove when NEW_INSETS is defined.
13645
13646         * other file: changes because of the above.
13647
13648 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13649
13650         * lyxparagraph.h: rename next to next_, previous to previous_,
13651         make them private for NEW_INSETS. Rename Next() to next(),
13652         Previous() to previous().
13653
13654         * other files: changes because of the above.
13655
13656 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13657
13658         * BufferView.h:
13659         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13660         problem.
13661
13662 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13663
13664         * main.C (main): pass lyx_localedir to gettext_init().
13665
13666         * gettext.h: remove locale_init and gettext_init macros
13667
13668         * gettext.C (locale_init): new function
13669         (gettext_init): new function
13670
13671         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13672         setlocale().
13673
13674 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13675
13676         * Moved credits to frontends:
13677         * credits.[Ch]: removed
13678         * credits_form.[Ch]: removed
13679         * lyx_gui_misc.C: remove credits stuff
13680         * Makefile.am:
13681
13682 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13683
13684         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13685
13686         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13687         unneeded destructor.
13688
13689         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13690         a standalone pointer again.
13691
13692         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13693
13694 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13695
13696         * Makefile.am:
13697         * filedlg.h:
13698         * filedlg.C:
13699         * LyXAction.C:
13700         * ToolbarDefaults.C:
13701         * bufferlist.C:
13702         * commandtags.h:
13703         * form1.C:
13704         * form1.h:
13705         * lyx_cb.C:
13706         * lyx_cb.h:
13707         * lyxfunc.h:
13708         * lyxfunc.C:
13709         * BufferView_pimpl.C: use new file dialog in GUII
13710
13711         * lyx_cb.h:
13712         * lyx_cb.C: remove LayoutsCB to Toolbar
13713
13714 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13715
13716         * ShareContainer.h (get): add std:: qualifier
13717
13718 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13719
13720         * ShareContainer.h: define a proper ShareContainer::value_type
13721         type (and use typename to please compaq cxx)
13722
13723 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13724
13725         * lyxparagraph.h: move serveral local vars to
13726         ParameterStruct/ParagraphParameters., use ShareContainer in
13727         FontTable., make vars in FontTable private and add getter and
13728         setter.
13729
13730         * paragraph.C: changes because of the above.
13731
13732         * lyxfont.h: remove copy constructor and copy assignment. (the
13733         default ones is ok), move number inside FontBits. move inlines to
13734         lyxfont.C
13735
13736         * lyxfont.C: add number to initializaton of statics, move several
13737         inlines here. constify several local vars. some whitespace
13738         cleanup. Dont hide outerscope variables.
13739
13740         * Spacing.h: add two new constructors to match the set methods.
13741
13742         * ShareContainer.h: new file, will perhaps be moved to support
13743
13744         * ParameterStruct.h: new file
13745
13746         * ParagraphParameters.h: new file
13747
13748         * ParagraphParameters.C: new file
13749
13750         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13751         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13752
13753         * BufferView_pimpl.C: ParagraphParameter changes.
13754         * buffer.C: Likewise.
13755         * bufferview_funcs.C: Likewise.
13756         * text.C: Likewise.
13757         * text2.C: Likewise.
13758
13759 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13760
13761         * lyxfind.C (LyXReplace): do not redefine default argument in
13762         implementation.
13763         (IsStringInText): ditto
13764         (SearchForward): ditto
13765         (SearchBackward): ditto
13766
13767 2001-03-06  Juergen Vigna  <jug@sad.it>
13768
13769         * lyxfind.C (IsStringInText): put parentes around expressions.
13770
13771 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13772
13773         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13774
13775 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13776
13777         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13778
13779         * stl_string_fwd.h: add comment
13780
13781         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13782
13783         * tabular.h:
13784         * tabular.C: remove unused DocBook methods
13785
13786         * intl.C:
13787         * language.C:
13788         * paragraph.C:
13789         * buffer.C:
13790         killed DO_USE_DEFAULT_LANGUAGE
13791
13792 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13793
13794         * lyx_gui.C: do not include language.h.
13795
13796         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13797         arguments in function implementation.
13798
13799 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13800
13801         * BufferView_pimpl.C: add <ctime>
13802
13803 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13804
13805         * BufferView_pimpl.C: add using std::find_if
13806
13807 2001-02-27  José Matos  <jamatos@fep.up.pt>
13808
13809         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13810         by OnlyPath.
13811
13812 2001-02-11  José Matos  <jamatos@fep.up.pt>
13813
13814         * buffer.C (makeDocBookFile): command styles now have a parameter as
13815         "title" by default.
13816
13817 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13818
13819         * layout_forms.[Ch]: removed
13820         * lyx_cb.[Ch]: out character
13821         * lyx_gui.C: out character
13822         * lyx_gui_misc.C: out character
13823         * bufferview_funcs.C: : out character,
13824         added toggleall as parameter in ToggleAndShow
13825
13826 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13827
13828         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13829
13830         * text2.C (SetCurrentFont): Disable number property at boundary.
13831
13832 2001-02-26  Juergen Vigna  <jug@sad.it>
13833
13834         * lyxfunc.C (getStatus): added a string argument override function so
13835         that this is correctly called from LyXFunc::Dispatch if it contains a
13836         do_not_use_argument which is used!
13837         (Dispatch): added check for "custom" export and call appropriate func.
13838
13839 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13840
13841         * lyxrc.C: Add language_command_local, language_use_babel and
13842         language_global_options.
13843
13844         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13845
13846         * buffer.C (makeLaTeXFile): Use language_use_babel and
13847         language_global_options.
13848
13849 2001-02-23  Juergen Vigna  <jug@sad.it>
13850
13851         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13852         which works with LyXText and putted it inside BufferView. Here now we
13853         only call for that part the BufferView::Dispatch() function.
13854
13855         * BufferView.C (Dispatch): added.
13856
13857         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13858         functions which needs to use a LyXText over from LyXFunc.
13859         (MenuInsertLyXFile): added
13860         (getInsetByCode): added
13861         (moveCursorUpdate): added
13862         (static TEXT): added
13863
13864 2001-02-22  Juergen Vigna  <jug@sad.it>
13865
13866         * BufferView_pimpl.C (update): call a status update to see if LyXText
13867         needs it.
13868
13869 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13870
13871         * vc-backend.C (revert): implement for CVS
13872         (getLog): implement for CVS
13873
13874 2001-02-20  Juergen Vigna  <jug@sad.it>
13875
13876         * text2.C (ClearSelection): added BufferView param for inset_owner call
13877
13878         * lyxfunc.C (TEXT): added this function and use it instead of
13879         directly owner->view()-text of getLyXText().
13880
13881 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13882
13883         * src/layout_forms.C: out preamble
13884         * src/layout_forms.h: out preamble
13885         * src/lyx_cb.C: out preamble
13886         * src/lyx_cb.h: out preamble
13887         * src/lyx_gui.C: out preamble
13888         * src/lyx_gui_misc.C: out preamble
13889         * src/lyxfunc.C: connect with guii preamble
13890
13891 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13892
13893         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13894
13895 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13896
13897         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13898         whether to run bibtex.
13899
13900 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13901
13902         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13903
13904 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13905
13906         * Makefile.am (lyx_SOURCES): removed bibforms.h
13907
13908         * vspace.h: doxygen
13909
13910         * text.C (GetVisibleRow): make several local vars const
13911
13912         * tabular.C: small cleanup.
13913
13914         * lyxserver.C (callback): use compare instead of strncmp
13915
13916         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13917         inlines to after class or to paragraph.C
13918
13919         * lyxfont.h: remove friend operator!=
13920
13921         * converter.h: move friend bool operator< to non friend and after
13922         class def.
13923
13924         * combox.h: small cleanup
13925
13926         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13927         to inlines after class def.
13928
13929         * buffer.C (pop_tag): use string operations instead of strcmp
13930
13931         * bmtable.c: doxygen, small cleanup
13932
13933         * LaTeX.h: remove friend operator==
13934
13935 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13936
13937         * screen.C:
13938         * lyxrc.[Ch]:
13939         * lyxfunc.C:
13940         * lyxfont.[Ch]:
13941         * lyx_cb.C:
13942         * intl.[Ch]:
13943         * commandtags.h:
13944         * buffer.C:
13945         * WorkArea.[Ch]:
13946         * LyXAction.C:
13947         * BufferView_pimpl.C:
13948         * BufferView.[Ch]: remove cruft
13949
13950 2001-02-14  Juergen Vigna  <jug@sad.it>
13951
13952         * lyxfunc.C: removed #if 0 unused code
13953
13954         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13955
13956         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13957
13958         * text2.C (SetSelection): added a BufferView * parameter
13959
13960 2001-02-13  Juergen Vigna  <jug@sad.it>
13961
13962         * lyxfunc.C (Dispatch): fixed protected blank problem.
13963         * BufferView2.C (protectedBlank): added LyxText * parameter.
13964
13965         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13966         (AppendColumn): same as above for column_info.
13967
13968         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13969         (moveCursorUpdate): use a LyXText param for support of InsetText.
13970
13971         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13972         (tripleClick): ditto
13973
13974         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13975
13976         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13977
13978         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13979
13980         * text2.C (SetSelection): set correct update status if inset_owner
13981         (ToggleFree): ditto
13982
13983 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13984
13985         * tabular.C: remove some commented code.
13986
13987 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13988
13989         * BufferView_pimpl.C: call hideSplash()
13990
13991         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13992
13993         * include_form.h:
13994         * bibforms.h: remove
13995
13996         * lyxfunc.C:
13997         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13998           add LFUN_CHILD_CREATE
13999
14000         * counters.h: fix tiny typo
14001
14002         * lyx_cb.C:
14003         * lyx.h:
14004         * lyx_gui.C:
14005         * lyx.C: move splash to frontends/xforms/
14006
14007         * lyx_gui_misc.C: move Include and Bibform to frontends
14008
14009         * lyxvc.h: clarify comment
14010
14011         * vspace.C: tiny housekeeping
14012
14013 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14014
14015         * text.C (PrepareToPrint): RTL Fix.
14016
14017         * paragraph.C (GetUChar): New method.
14018         (String):  Use GetUChar.
14019
14020         * buffer.C (asciiParagraph): Use GetUChar.
14021
14022 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14023
14024         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14025
14026 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14027
14028         * buffer.h:
14029         * buffer.C: rename to getLogName(), handle
14030           build log / latex log nicely
14031
14032 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14033
14034         * MenuBackend.C:
14035         * MenuBackend.h: remove support for reference menuitem type.
14036
14037 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14038
14039         * BufferView_pimpl.C: housekeeping
14040         * BufferView_pimpl.h:
14041         * LyXView.h:
14042         * Makefile.am:
14043         * Timeout.C:
14044         * Timeout.h:
14045         * minibuffer.h: move Timeout GUI-I
14046
14047 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14048
14049         * lyxrc.C (read): Update converters data-structures.
14050
14051 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14052
14053         * LaTeX.h (operator!=): add operator != for Aux_Info
14054
14055 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14056
14057         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14058
14059         * LaTeXLog.C: deleted, useful code moved to Buffer
14060
14061         * buffer.h:
14062         * buffer.C: new function getLatexLogName()
14063
14064         * lyx_gui_misc.C:
14065         * lyx_gui.C:
14066         * lyxvc.C:
14067         * lyxvc.h:
14068         * lyxfunc.C: use frontends for LaTeX and VC logs
14069
14070 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14071
14072         * LaTeX.h: yet another std:: that Allan forgot.
14073
14074         * Variables.C (set): renamed from isset(), because this clashes
14075         with some HP-UX macros (grr).
14076
14077 2001-02-06  Allan Rae  <rae@lyx.org>
14078
14079         * LaTeX.h: Another bug fix.  Missing std:: this time.
14080
14081 2001-02-04  Allan Rae  <rae@lyx.org>
14082
14083         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14084         floats problem. I've left it commented out because it's not quite
14085         correct.  It should also test that the current object is a table or
14086         figure inset.  But I haven't gotten around to figuring out how to do
14087         that.  I *think* it'll be something like: "table" == inset.type()
14088
14089         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14090         bool.
14091
14092 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14093
14094         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14095         all the citation/databases/styles in the auxilary file.
14096         (run): Rerun latex if there was a babel language error.
14097
14098 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14099
14100         * text.C (Backspace): Preserve the font when changing newline char
14101         with a space.
14102         (BreakParagraph): If the cursor is before a space, delete the space.
14103
14104         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14105
14106 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14107
14108         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14109         new argument (code).
14110         (ChangeCitationsIfUnique): New method.
14111
14112         * paragraph.C (GetPositionOfInset): Handle bibkey.
14113
14114 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14115
14116         * BufferView_pimpl.h: change type of Position::par_pos to
14117         LyXParagraph::size_type.
14118
14119 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14120
14121         * BufferView_pimpl.C (savePosition, restorePosition): Write
14122         messages to minibuffer.
14123
14124 2001-01-28  José Matos  <jamatos@fep.up.pt>
14125
14126         * buffer.C (makeDocBookFile): adds support for document language.
14127         A silly restriction on the name of LatexCommand types where removed.
14128         Added support for CDATA sections, allows to chars unescaped, used
14129         among others in code, to avoid escape < and >.
14130
14131 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14132
14133         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14134         saved positions instrad of a stack. Furthermore, a position is
14135         stored using paragraph id/paragraph position.
14136
14137         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14138         Remove LFUN_REF_BACK.
14139
14140 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14141
14142         * converter.C (dvipdfm_options): New method.
14143
14144 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14145
14146         * vspace.C (isValidLength): Fix for empty input string.
14147
14148 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14149
14150         * LyXAction.C (init): change description of LFUN_FIGURE to
14151         "Insert Graphics"
14152
14153 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14154
14155         * LaTeX.C: add using directive
14156
14157 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14158
14159         * MenuBackend.C (expand): Fix the sorting of the formats.
14160
14161 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14162
14163         * lyx_main.C: tiny error message fix
14164
14165 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14166
14167         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14168         calling fl_initialize(). This fixes the problem with ',' as
14169         decimal separator in text files.
14170
14171 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14172
14173         * trans.C (process): Fix the keymap bug.
14174
14175 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14176
14177         * LaTeX.C (scanAuxFiles): New method. Provides support for
14178         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14179         (scanLogFile) Scan for "run BibTeX" messages.
14180
14181         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14182         OT1 font encoding. Also, load the aecompl package if the ae
14183         package is loaded.
14184
14185         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14186
14187 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14188
14189         * texrow.C (increasePos): turn two error messages into debug
14190         messages.
14191
14192 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14193
14194         * LaTeX.C (scanAux): Handle the \@input macro.
14195         (runBibTeX): Use scanAux().
14196
14197         * language.C (latex_options_): New field.
14198
14199         * LaTeXFeatures.C (getMacros): Add language macros.
14200
14201         * buffer.C (makeLaTeXFile): Small fix.
14202
14203 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14204
14205         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14206
14207         * text2.C: add a using directive.
14208
14209 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14210
14211         * BufferView2.C:
14212         * lyx_gui_misc.h:
14213         * lyxfr1.C:
14214         * lyxfunc.C: kill LyXBell.
14215
14216 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14217
14218         * text.C (IsBoundary): Remove the error message
14219
14220         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14221
14222         * lyxrc.C (setDefaults): Correct initialization value for
14223         font_norm_type.
14224
14225 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14226
14227         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14228         gotoError().
14229
14230         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14231         and GotoNextNote().
14232
14233         * src/LyXAction.C: Added reference-next.
14234
14235         * text.C (InsertChar): Use contains instead of strchr.
14236
14237         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14238
14239 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14240
14241         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14242         alignment commands (when needed).
14243
14244         * text.C (InsertChar): Add ':' to number separator chars.